From 63022dee8d9f9e88100e0395fcc5524a1cbb1b7e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 10:45:34 -0800 Subject: [PATCH 01/93] Convert input files to json --- inputfiles/browser.webidl.xml.json | 53729 +++++++++++++++++++++++ inputfiles/webworkers.specidl.xml.json | 1022 + 2 files changed, 54751 insertions(+) create mode 100644 inputfiles/browser.webidl.xml.json create mode 100644 inputfiles/webworkers.specidl.xml.json diff --git a/inputfiles/browser.webidl.xml.json b/inputfiles/browser.webidl.xml.json new file mode 100644 index 000000000..d2f8a1cd2 --- /dev/null +++ b/inputfiles/browser.webidl.xml.json @@ -0,0 +1,53729 @@ +{ + "callback-functions": { + "callback-function": [ + { + "name": "DecodeErrorCallback", + "callback": "1", + "type": "void" + }, + { + "name": "DecodeSuccessCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "decodedData", + "type": "AudioBuffer" + } + ] + }, + { + "name": "ErrorEventHandler", + "callback": "1", + "type": "void", + "param": [ + { + "name": "columnNumber", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "event", + "type": "(Event or DOMString)" + }, + { + "name": "fileno", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "source", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "ForEachCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "keyId", + "type": "BufferSource" + }, + { + "name": "status", + "type": "MediaKeyStatus" + } + ] + }, + { + "name": "FrameRequestCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "time", + "type": "DOMHighResTimeStamp" + } + ] + }, + { + "name": "FunctionStringCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "data", + "type": "DOMString" + } + ] + }, + { + "name": "IntersectionObserverCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "entries", + "type": "sequence" + }, + { + "name": "observer", + "type": "IntersectionObserver" + } + ] + }, + { + "name": "MediaQueryListListener", + "callback": "1", + "type": "void", + "param": [ + { + "name": "mql", + "type": "MediaQueryList" + } + ] + }, + { + "name": "MSExecAtPriorityFunctionCallback", + "callback": "1", + "tags": "MSAppOnly", + "type": "any", + "param": [ + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "MSLaunchUriCallback", + "callback": "1", + "type": "void" + }, + { + "name": "MSUnsafeFunctionCallback", + "callback": "1", + "tags": "MSAppOnly", + "type": "any" + }, + { + "name": "MutationCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "mutations", + "type": "sequence" + }, + { + "name": "observer", + "type": "MutationObserver" + } + ] + }, + { + "name": "NavigatorUserMediaErrorCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "error", + "type": "MediaStreamError" + } + ] + }, + { + "name": "NavigatorUserMediaSuccessCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream" + } + ] + }, + { + "name": "NotificationPermissionCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "permission", + "type": "NotificationPermission" + } + ] + }, + { + "name": "PositionCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "position", + "type": "Position" + } + ] + }, + { + "name": "PositionErrorCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "error", + "type": "PositionError" + } + ] + }, + { + "name": "RTCPeerConnectionErrorCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMError" + } + ] + }, + { + "name": "RTCSessionDescriptionCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "sdp", + "type": "RTCSessionDescription" + } + ] + }, + { + "name": "RTCStatsCallback", + "callback": "1", + "type": "void", + "param": [ + { + "name": "report", + "type": "RTCStatsReport" + } + ] + }, + { + "name": "VoidFunction", + "callback": "1", + "type": "void" + } + ] + }, + "callback-interfaces": { + "interface": [ + { + "name": "EventListener", + "extends": "Object", + "methods": { + "method": [ + { + "name": "handleEvent", + "type": "void", + "param": [ + { + "name": "evt", + "type": "Event" + } + ] + } + ] + } + }, + { + "name": "WebKitEntriesCallback", + "extends": "Object", + "methods": { + "method": [ + { + "name": "handleEvent", + "type": "void", + "param": [ + { + "name": "entries", + "type": "WebKitEntry[]" + } + ] + } + ] + } + }, + { + "name": "WebKitErrorCallback", + "extends": "Object", + "methods": { + "method": [ + { + "name": "handleEvent", + "type": "void", + "param": [ + { + "name": "err", + "type": "DOMError" + } + ] + } + ] + } + }, + { + "name": "WebKitFileCallback", + "extends": "Object", + "methods": { + "method": [ + { + "name": "handleEvent", + "type": "void", + "param": [ + { + "name": "file", + "type": "File" + } + ] + } + ] + } + } + ] + }, + "dictionaries": { + "dictionary": [ + { + "name": "Account", + "extends": "Object", + "members": { + "member": [ + { + "name": "displayName", + "required": "1", + "type": "DOMString" + }, + { + "name": "id", + "required": "1", + "type": "DOMString" + }, + { + "name": "imageURL", + "type": "DOMString" + }, + { + "name": "name", + "type": "DOMString" + }, + { + "name": "rpDisplayName", + "required": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Algorithm", + "extends": "Object", + "members": { + "member": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + }, + { + "name": "AnimationEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "animationName", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "elapsedTime", + "default": "0.0", + "type": "float" + } + ] + } + }, + { + "name": "AssertionOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "allowList", + "type": "sequence" + }, + { + "name": "extensions", + "type": "WebAuthnExtensions" + }, + { + "name": "rpId", + "type": "USVString" + }, + { + "name": "timeoutSeconds", + "type": "unsigned long" + } + ] + } + }, + { + "name": "CacheQueryOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "cacheName", + "type": "DOMString" + }, + { + "name": "ignoreMethod", + "default": "false", + "type": "boolean" + }, + { + "name": "ignoreSearch", + "default": "false", + "type": "boolean" + }, + { + "name": "ignoreVary", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "ClientData", + "extends": "Object", + "members": { + "member": [ + { + "name": "challenge", + "required": "1", + "type": "DOMString" + }, + { + "name": "extensions", + "type": "WebAuthnExtensions" + }, + { + "name": "hashAlg", + "required": "1", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "origin", + "required": "1", + "type": "DOMString" + }, + { + "name": "rpId", + "required": "1", + "type": "DOMString" + }, + { + "name": "tokenBinding", + "type": "DOMString" + } + ] + } + }, + { + "name": "CloseEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "code", + "default": "0", + "type": "unsigned short" + }, + { + "name": "reason", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "wasClean", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "CompositionEventInit", + "extends": "UIEventInit", + "members": { + "member": [ + { + "name": "data", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "ConfirmSiteSpecificExceptionsInformation", + "extends": "ExceptionInformation", + "members": { + "member": [ + { + "name": "arrayOfDomainStrings", + "type": "sequence" + } + ] + } + }, + { + "name": "ConstrainBooleanParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "exact", + "type": "boolean" + }, + { + "name": "ideal", + "type": "boolean" + } + ] + } + }, + { + "name": "ConstrainDOMStringParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "exact", + "type": "(DOMString or sequence)" + }, + { + "name": "ideal", + "type": "(DOMString or sequence)" + } + ] + } + }, + { + "name": "ConstrainDoubleRange", + "extends": "DoubleRange", + "members": { + "member": [ + { + "name": "exact", + "type": "double" + }, + { + "name": "ideal", + "type": "double" + } + ] + } + }, + { + "name": "ConstrainLongRange", + "extends": "LongRange", + "members": { + "member": [ + { + "name": "exact", + "type": "long" + }, + { + "name": "ideal", + "type": "long" + } + ] + } + }, + { + "name": "ConstrainVideoFacingModeParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "exact", + "type": "(VideoFacingModeEnum or sequence)" + }, + { + "name": "ideal", + "type": "(VideoFacingModeEnum or sequence)" + } + ] + } + }, + { + "name": "CustomEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "detail", + "default": "null", + "type": "any" + } + ] + } + }, + { + "name": "DeviceAccelerationDict", + "extends": "Object", + "members": { + "member": [ + { + "name": "x", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "y", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "z", + "default": "null", + "nullable": "1", + "type": "double" + } + ] + } + }, + { + "name": "DeviceLightEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "value", + "default": "Infinity", + "type": "UnrestrictedDouble" + } + ] + } + }, + { + "name": "DeviceMotionEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "acceleration", + "default": "null", + "nullable": "1", + "type": "DeviceAccelerationDict" + }, + { + "name": "accelerationIncludingGravity", + "default": "null", + "nullable": "1", + "type": "DeviceAccelerationDict" + }, + { + "name": "interval", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "rotationRate", + "default": "null", + "nullable": "1", + "type": "DeviceRotationRateDict" + } + ] + } + }, + { + "name": "DeviceOrientationEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "absolute", + "default": "false", + "type": "boolean" + }, + { + "name": "alpha", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "beta", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "gamma", + "default": "null", + "nullable": "1", + "type": "double" + } + ] + } + }, + { + "name": "DeviceRotationRateDict", + "extends": "Object", + "members": { + "member": [ + { + "name": "alpha", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "beta", + "default": "null", + "nullable": "1", + "type": "double" + }, + { + "name": "gamma", + "default": "null", + "nullable": "1", + "type": "double" + } + ] + } + }, + { + "name": "DOMRectInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "height", + "default": "0", + "type": "unrestricted double" + }, + { + "name": "width", + "default": "0", + "type": "unrestricted double" + }, + { + "name": "x", + "default": "0", + "type": "unrestricted double" + }, + { + "name": "y", + "default": "0", + "type": "unrestricted double" + } + ] + } + }, + { + "name": "DoubleRange", + "extends": "Object", + "members": { + "member": [ + { + "name": "max", + "type": "double" + }, + { + "name": "min", + "type": "double" + } + ] + } + }, + { + "name": "ErrorEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "colno", + "default": "0", + "type": "unsigned long" + }, + { + "name": "error", + "default": "null", + "type": "any" + }, + { + "name": "filename", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "lineno", + "default": "0", + "type": "unsigned long" + }, + { + "name": "message", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "EventInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "bubbles", + "default": "false", + "type": "boolean" + }, + { + "name": "cancelable", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "EventModifierInit", + "extends": "UIEventInit", + "members": { + "member": [ + { + "name": "altKey", + "default": "false", + "type": "boolean" + }, + { + "name": "ctrlKey", + "default": "false", + "type": "boolean" + }, + { + "name": "metaKey", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierAltGraph", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierCapsLock", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierFn", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierFnLock", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierHyper", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierNumLock", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierOS", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierScrollLock", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierSuper", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierSymbol", + "default": "false", + "type": "boolean" + }, + { + "name": "modifierSymbolLock", + "default": "false", + "type": "boolean" + }, + { + "name": "shiftKey", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "ExceptionInformation", + "extends": "Object", + "members": { + "member": [ + { + "name": "domain", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "FocusEventInit", + "extends": "UIEventInit", + "members": { + "member": [ + { + "name": "relatedTarget", + "default": "null", + "nullable": "1", + "type": "EventTarget" + } + ] + } + }, + { + "name": "FocusNavigationEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "navigationReason", + "default": "null", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "originHeight", + "default": "0", + "type": "float" + }, + { + "name": "originLeft", + "default": "0", + "type": "float" + }, + { + "name": "originTop", + "default": "0", + "type": "float" + }, + { + "name": "originWidth", + "default": "0", + "type": "float" + } + ] + } + }, + { + "name": "FocusNavigationOrigin", + "extends": "Object", + "members": { + "member": [ + { + "name": "originHeight", + "type": "float" + }, + { + "name": "originLeft", + "type": "float" + }, + { + "name": "originTop", + "type": "float" + }, + { + "name": "originWidth", + "type": "float" + } + ] + } + }, + { + "name": "GamepadEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "gamepad", + "default": "null", + "nullable": "1", + "type": "Gamepad" + } + ] + } + }, + { + "name": "GetNotificationOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "tag", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "HashChangeEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "newURL", + "default": "null", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "oldURL", + "default": "null", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "IDBIndexParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "unique", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "IDBObjectStoreParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "keyPath", + "default": "null", + "nullable": "1", + "type": "IDBKeyPath" + } + ] + } + }, + { + "name": "IntersectionObserverEntryInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "boundingClientRect", + "required": "1", + "type": "DOMRectInit" + }, + { + "name": "intersectionRect", + "required": "1", + "type": "DOMRectInit" + }, + { + "name": "rootBounds", + "required": "1", + "type": "DOMRectInit" + }, + { + "name": "target", + "required": "1", + "type": "Element" + }, + { + "name": "time", + "required": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "IntersectionObserverInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "root", + "default": "null", + "nullable": "1", + "type": "Element" + }, + { + "name": "rootMargin", + "default": "\"0px\"", + "type": "DOMString" + }, + { + "name": "threshold", + "default": "0", + "type": "(double or sequence)" + } + ] + } + }, + { + "name": "KeyAlgorithm", + "extends": "Object", + "members": { + "member": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + }, + { + "name": "KeyboardEventInit", + "extends": "EventModifierInit", + "members": { + "member": [ + { + "name": "key", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "location", + "default": "0", + "type": "unsigned long" + }, + { + "name": "repeat", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "LongRange", + "extends": "Object", + "members": { + "member": [ + { + "name": "max", + "type": "long" + }, + { + "name": "min", + "type": "long" + } + ] + } + }, + { + "name": "MediaEncryptedEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "initData", + "default": "null", + "nullable": "1", + "type": "ArrayBuffer" + }, + { + "name": "initDataType", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaKeyMessageEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "message", + "default": "null", + "nullable": "1", + "type": "ArrayBuffer" + }, + { + "name": "messageType", + "default": "\"license-request\"", + "type": "MediaKeyMessageType" + } + ] + } + }, + { + "name": "MediaKeySystemConfiguration", + "extends": "Object", + "members": { + "member": [ + { + "name": "audioCapabilities", + "type": "sequence" + }, + { + "name": "distinctiveIdentifier", + "default": "\"optional\"", + "type": "MediaKeysRequirement" + }, + { + "name": "initDataTypes", + "type": "sequence" + }, + { + "name": "persistentState", + "default": "\"optional\"", + "type": "MediaKeysRequirement" + }, + { + "name": "videoCapabilities", + "type": "sequence" + } + ] + } + }, + { + "name": "MediaKeySystemMediaCapability", + "extends": "Object", + "members": { + "member": [ + { + "name": "contentType", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "robustness", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaStreamConstraints", + "extends": "Object", + "members": { + "member": [ + { + "name": "audio", + "default": "false", + "type": "(boolean or MediaTrackConstraints)" + }, + { + "name": "video", + "default": "false", + "type": "(boolean or MediaTrackConstraints)" + } + ] + } + }, + { + "name": "MediaStreamErrorEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "error", + "default": "null", + "nullable": "1", + "type": "MediaStreamError" + } + ] + } + }, + { + "name": "MediaStreamEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "stream", + "default": "null", + "type": "MediaStream" + } + ] + } + }, + { + "name": "MediaStreamTrackEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "track", + "default": "null", + "nullable": "1", + "type": "MediaStreamTrack" + } + ] + } + }, + { + "name": "MediaTrackCapabilities", + "extends": "Object", + "members": { + "member": [ + { + "name": "aspectRatio", + "type": "(double or DoubleRange)" + }, + { + "name": "deviceId", + "type": "DOMString" + }, + { + "name": "echoCancellation", + "type": "sequence" + }, + { + "name": "facingMode", + "type": "DOMString" + }, + { + "name": "frameRate", + "type": "(double or DoubleRange)" + }, + { + "name": "groupId", + "type": "DOMString" + }, + { + "name": "height", + "type": "(long or LongRange)" + }, + { + "name": "sampleRate", + "type": "(long or LongRange)" + }, + { + "name": "sampleSize", + "type": "(long or LongRange)" + }, + { + "name": "volume", + "type": "(double or DoubleRange)" + }, + { + "name": "width", + "type": "(long or LongRange)" + } + ] + } + }, + { + "name": "MediaTrackConstraints", + "extends": "MediaTrackConstraintSet", + "members": { + "member": [ + { + "name": "advanced", + "type": "sequence" + } + ] + } + }, + { + "name": "MediaTrackConstraintSet", + "extends": "Object", + "members": { + "member": [ + { + "name": "aspectRatio", + "type": "(double or ConstrainDoubleRange)", + "type-original": "ConstrainDouble" + }, + { + "name": "deviceId", + "type": "(DOMString or sequence or ConstrainDOMStringParameters)", + "type-original": "ConstrainDOMString" + }, + { + "name": "echoCancelation", + "type": "(boolean or ConstrainBooleanParameters)", + "type-original": "ConstrainBoolean" + }, + { + "name": "facingMode", + "type": "(DOMString or sequence or ConstrainDOMStringParameters)", + "type-original": "ConstrainDOMString" + }, + { + "name": "frameRate", + "type": "(double or ConstrainDoubleRange)", + "type-original": "ConstrainDouble" + }, + { + "name": "groupId", + "type": "(DOMString or sequence or ConstrainDOMStringParameters)", + "type-original": "ConstrainDOMString" + }, + { + "name": "height", + "type": "(long or ConstrainLongRange)", + "type-original": "ConstrainLong" + }, + { + "name": "sampleRate", + "type": "(long or ConstrainLongRange)", + "type-original": "ConstrainLong" + }, + { + "name": "sampleSize", + "type": "(long or ConstrainLongRange)", + "type-original": "ConstrainLong" + }, + { + "name": "volume", + "type": "(double or ConstrainDoubleRange)", + "type-original": "ConstrainDouble" + }, + { + "name": "width", + "type": "(long or ConstrainLongRange)", + "type-original": "ConstrainLong" + } + ] + } + }, + { + "name": "MediaTrackSettings", + "extends": "Object", + "members": { + "member": [ + { + "name": "aspectRatio", + "type": "double" + }, + { + "name": "deviceId", + "type": "DOMString" + }, + { + "name": "echoCancellation", + "type": "boolean" + }, + { + "name": "facingMode", + "type": "DOMString" + }, + { + "name": "frameRate", + "type": "double" + }, + { + "name": "groupId", + "type": "DOMString" + }, + { + "name": "height", + "type": "long" + }, + { + "name": "sampleRate", + "type": "long" + }, + { + "name": "sampleSize", + "type": "long" + }, + { + "name": "volume", + "type": "double" + }, + { + "name": "width", + "type": "long" + } + ] + } + }, + { + "name": "MediaTrackSupportedConstraints", + "extends": "Object", + "members": { + "member": [ + { + "name": "aspectRatio", + "type": "boolean" + }, + { + "name": "deviceId", + "type": "boolean" + }, + { + "name": "echoCancellation", + "type": "boolean" + }, + { + "name": "facingMode", + "type": "boolean" + }, + { + "name": "frameRate", + "type": "boolean" + }, + { + "name": "groupId", + "type": "boolean" + }, + { + "name": "height", + "type": "boolean" + }, + { + "name": "sampleRate", + "type": "boolean" + }, + { + "name": "sampleSize", + "type": "boolean" + }, + { + "name": "volume", + "type": "boolean" + }, + { + "name": "width", + "type": "boolean" + } + ] + } + }, + { + "name": "MessageEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "data", + "default": "null", + "type": "any" + }, + { + "name": "origin", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "ports", + "default": "null", + "type": "sequence" + }, + { + "name": "source", + "default": "null", + "type": "Window" + } + ] + } + }, + { + "name": "MouseEventInit", + "extends": "EventModifierInit", + "members": { + "member": [ + { + "name": "button", + "default": "0", + "type": "short" + }, + { + "name": "buttons", + "default": "0", + "type": "unsigned short" + }, + { + "name": "clientX", + "default": "0", + "type": "long" + }, + { + "name": "clientY", + "default": "0", + "type": "long" + }, + { + "name": "relatedTarget", + "default": "null", + "nullable": "1", + "type": "EventTarget" + }, + { + "name": "screenX", + "default": "0", + "type": "long" + }, + { + "name": "screenY", + "default": "0", + "type": "long" + } + ] + } + }, + { + "name": "MSAccountInfo", + "extends": "Object", + "members": { + "member": [ + { + "name": "accountImageUri", + "type": "DOMString" + }, + { + "name": "accountName", + "type": "DOMString" + }, + { + "name": "rpDisplayName", + "required": "1", + "type": "DOMString" + }, + { + "name": "userDisplayName", + "required": "1", + "type": "DOMString" + }, + { + "name": "userId", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSAudioLocalClientEvent", + "extends": "MSLocalClientEventBase", + "members": { + "member": [ + { + "name": "cpuInsufficientEventRatio", + "type": "float" + }, + { + "name": "deviceCaptureNotFunctioningEventRatio", + "type": "float" + }, + { + "name": "deviceClippingEventRatio", + "type": "float" + }, + { + "name": "deviceEchoEventRatio", + "type": "float" + }, + { + "name": "deviceGlitchesEventRatio", + "type": "float" + }, + { + "name": "deviceHalfDuplexAECEventRatio", + "type": "float" + }, + { + "name": "deviceHowlingEventCount", + "type": "unsigned long" + }, + { + "name": "deviceLowSNREventRatio", + "type": "float" + }, + { + "name": "deviceLowSpeechLevelEventRatio", + "type": "float" + }, + { + "name": "deviceMultipleEndpointsEventCount", + "type": "unsigned long" + }, + { + "name": "deviceNearEndToEchoRatioEventRatio", + "type": "float" + }, + { + "name": "deviceRenderMuteEventRatio", + "type": "float" + }, + { + "name": "deviceRenderNotFunctioningEventRatio", + "type": "float" + }, + { + "name": "deviceRenderZeroVolumeEventRatio", + "type": "float" + }, + { + "name": "networkDelayEventRatio", + "type": "float" + }, + { + "name": "networkSendQualityEventRatio", + "type": "float" + } + ] + } + }, + { + "name": "MSAudioRecvPayload", + "extends": "MSPayloadBase", + "members": { + "member": [ + { + "name": "burstLossLength1", + "type": "float" + }, + { + "name": "burstLossLength2", + "type": "float" + }, + { + "name": "burstLossLength3", + "type": "float" + }, + { + "name": "burstLossLength4", + "type": "float" + }, + { + "name": "burstLossLength5", + "type": "float" + }, + { + "name": "burstLossLength6", + "type": "float" + }, + { + "name": "burstLossLength7", + "type": "float" + }, + { + "name": "burstLossLength8OrHigher", + "type": "float" + }, + { + "name": "fecRecvDistance1", + "type": "float" + }, + { + "name": "fecRecvDistance2", + "type": "float" + }, + { + "name": "fecRecvDistance3", + "type": "float" + }, + { + "name": "packetReorderDepthAvg", + "type": "long" + }, + { + "name": "packetReorderDepthMax", + "type": "long" + }, + { + "name": "packetReorderRatio", + "type": "float" + }, + { + "name": "ratioCompressedSamplesAvg", + "type": "float" + }, + { + "name": "ratioConcealedSamplesAvg", + "type": "float" + }, + { + "name": "ratioStretchedSamplesAvg", + "type": "float" + }, + { + "name": "samplingRate", + "type": "unsigned long" + }, + { + "name": "signal", + "type": "MSAudioRecvSignal" + } + ] + } + }, + { + "name": "MSAudioRecvSignal", + "extends": "Object", + "members": { + "member": [ + { + "name": "initialSignalLevelRMS", + "type": "float" + }, + { + "name": "recvNoiseLevelCh1", + "type": "long" + }, + { + "name": "recvSignalLevelCh1", + "type": "long" + }, + { + "name": "renderLoopbackSignalLevel", + "type": "float" + }, + { + "name": "renderNoiseLevel", + "type": "float" + }, + { + "name": "renderSignalLevel", + "type": "float" + } + ] + } + }, + { + "name": "MSAudioSendPayload", + "extends": "MSPayloadBase", + "members": { + "member": [ + { + "name": "audioFECUsed", + "type": "boolean" + }, + { + "name": "samplingRate", + "type": "unsigned long" + }, + { + "name": "sendMutePercent", + "type": "float" + }, + { + "name": "signal", + "type": "MSAudioSendSignal" + } + ] + } + }, + { + "name": "MSAudioSendSignal", + "extends": "Object", + "members": { + "member": [ + { + "name": "noiseLevel", + "type": "long" + }, + { + "name": "sendNoiseLevelCh1", + "type": "long" + }, + { + "name": "sendSignalLevelCh1", + "type": "long" + } + ] + } + }, + { + "name": "MSConnectivity", + "extends": "Object", + "members": { + "member": [ + { + "name": "iceType", + "type": "MSIceType" + }, + { + "name": "iceWarningFlags", + "type": "MSIceWarningFlags" + }, + { + "name": "relayAddress", + "type": "MSRelayAddress" + } + ] + } + }, + { + "name": "MSCredentialFilter", + "extends": "Object", + "members": { + "member": [ + { + "name": "accept", + "type": "sequence" + } + ] + } + }, + { + "name": "MSCredentialParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "type", + "type": "MSCredentialType" + } + ] + } + }, + { + "name": "MSCredentialSpec", + "extends": "Object", + "members": { + "member": [ + { + "name": "id", + "type": "DOMString" + }, + { + "name": "type", + "required": "1", + "type": "MSCredentialType" + } + ] + } + }, + { + "name": "MSDelay", + "extends": "Object", + "members": { + "member": [ + { + "name": "roundTrip", + "type": "unsigned long" + }, + { + "name": "roundTripMax", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSDescription", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "connectivity", + "type": "MSConnectivity" + }, + { + "name": "deviceDevName", + "type": "DOMString" + }, + { + "name": "localAddr", + "type": "MSIPAddressInfo" + }, + { + "name": "networkconnectivity", + "type": "MSNetworkConnectivityInfo" + }, + { + "name": "reflexiveLocalIPAddr", + "type": "MSIPAddressInfo" + }, + { + "name": "remoteAddr", + "type": "MSIPAddressInfo" + }, + { + "name": "transport", + "type": "RTCIceProtocol" + } + ] + } + }, + { + "name": "MSFIDOCredentialParameters", + "extends": "MSCredentialParameters", + "members": { + "member": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "authenticators", + "type": "sequence" + } + ] + } + }, + { + "name": "MSIceWarningFlags", + "extends": "Object", + "members": { + "member": [ + { + "name": "allocationMessageIntegrityFailed", + "type": "boolean" + }, + { + "name": "alternateServerReceived", + "type": "boolean" + }, + { + "name": "connCheckMessageIntegrityFailed", + "type": "boolean" + }, + { + "name": "connCheckOtherError", + "type": "boolean" + }, + { + "name": "fipsAllocationFailure", + "type": "boolean" + }, + { + "name": "multipleRelayServersAttempted", + "type": "boolean" + }, + { + "name": "noRelayServersConfigured", + "type": "boolean" + }, + { + "name": "portRangeExhausted", + "type": "boolean" + }, + { + "name": "pseudoTLSFailure", + "type": "boolean" + }, + { + "name": "tcpNatConnectivityFailed", + "type": "boolean" + }, + { + "name": "tcpRelayConnectivityFailed", + "type": "boolean" + }, + { + "name": "turnAuthUnknownUsernameError", + "type": "boolean" + }, + { + "name": "turnTcpAllocateFailed", + "type": "boolean" + }, + { + "name": "turnTcpSendFailed", + "type": "boolean" + }, + { + "name": "turnTcpTimedOut", + "type": "boolean" + }, + { + "name": "turnTurnTcpConnectivityFailed", + "type": "boolean" + }, + { + "name": "turnUdpAllocateFailed", + "type": "boolean" + }, + { + "name": "turnUdpSendFailed", + "type": "boolean" + }, + { + "name": "udpLocalConnectivityFailed", + "type": "boolean" + }, + { + "name": "udpNatConnectivityFailed", + "type": "boolean" + }, + { + "name": "udpRelayConnectivityFailed", + "type": "boolean" + }, + { + "name": "useCandidateChecksFailed", + "type": "boolean" + } + ] + } + }, + { + "name": "MSIPAddressInfo", + "extends": "Object", + "members": { + "member": [ + { + "name": "ipAddr", + "type": "DOMString" + }, + { + "name": "manufacturerMacAddrMask", + "type": "DOMString" + }, + { + "name": "port", + "type": "unsigned short" + } + ] + } + }, + { + "name": "MSJitter", + "extends": "Object", + "members": { + "member": [ + { + "name": "interArrival", + "type": "unsigned long" + }, + { + "name": "interArrivalMax", + "type": "unsigned long" + }, + { + "name": "interArrivalSD", + "type": "float" + } + ] + } + }, + { + "name": "MSLocalClientEventBase", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "networkBandwidthLowEventRatio", + "type": "float" + }, + { + "name": "networkReceiveQualityEventRatio", + "type": "float" + } + ] + } + }, + { + "name": "MSNetwork", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "delay", + "type": "MSDelay" + }, + { + "name": "jitter", + "type": "MSJitter" + }, + { + "name": "packetLoss", + "type": "MSPacketLoss" + }, + { + "name": "utilization", + "type": "MSUtilization" + } + ] + } + }, + { + "name": "MSNetworkConnectivityInfo", + "extends": "Object", + "members": { + "member": [ + { + "name": "linkspeed", + "type": "unsigned long" + }, + { + "name": "networkConnectionDetails", + "type": "DOMString" + }, + { + "name": "vpn", + "type": "boolean" + } + ] + } + }, + { + "name": "MSNetworkInterfaceType", + "extends": "Object", + "members": { + "member": [ + { + "name": "interfaceTypeEthernet", + "type": "boolean" + }, + { + "name": "interfaceTypePPP", + "type": "boolean" + }, + { + "name": "interfaceTypeTunnel", + "type": "boolean" + }, + { + "name": "interfaceTypeWireless", + "type": "boolean" + }, + { + "name": "interfaceTypeWWAN", + "type": "boolean" + } + ] + } + }, + { + "name": "MSOutboundNetwork", + "extends": "MSNetwork", + "members": { + "member": [ + { + "name": "appliedBandwidthLimit", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSPacketLoss", + "extends": "Object", + "members": { + "member": [ + { + "name": "lossRate", + "type": "float" + }, + { + "name": "lossRateMax", + "type": "float" + } + ] + } + }, + { + "name": "MSPayloadBase", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "payloadDescription", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSPortRange", + "extends": "Object", + "members": { + "member": [ + { + "name": "max", + "type": "unsigned short" + }, + { + "name": "min", + "type": "unsigned short" + } + ] + } + }, + { + "name": "MSRelayAddress", + "extends": "Object", + "members": { + "member": [ + { + "name": "port", + "type": "unsigned short" + }, + { + "name": "relayAddress", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSSignatureParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "userPrompt", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSTransportDiagnosticsStats", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "allocationTimeInMs", + "type": "unsigned long" + }, + { + "name": "baseAddress", + "type": "DOMString" + }, + { + "name": "baseInterface", + "type": "MSNetworkInterfaceType" + }, + { + "name": "iceRole", + "type": "RTCIceRole" + }, + { + "name": "iceWarningFlags", + "type": "MSIceWarningFlags" + }, + { + "name": "interfaces", + "type": "MSNetworkInterfaceType" + }, + { + "name": "localAddress", + "type": "DOMString" + }, + { + "name": "localAddrType", + "type": "MSIceAddrType" + }, + { + "name": "localInterface", + "type": "MSNetworkInterfaceType" + }, + { + "name": "localMR", + "type": "DOMString" + }, + { + "name": "localMRTCPPort", + "type": "unsigned short" + }, + { + "name": "localSite", + "type": "DOMString" + }, + { + "name": "msRtcEngineVersion", + "type": "DOMString" + }, + { + "name": "networkName", + "type": "DOMString" + }, + { + "name": "numConsentReqReceived", + "type": "unsigned long" + }, + { + "name": "numConsentReqSent", + "type": "unsigned long" + }, + { + "name": "numConsentRespReceived", + "type": "unsigned long" + }, + { + "name": "numConsentRespSent", + "type": "unsigned long" + }, + { + "name": "portRangeMax", + "type": "unsigned short" + }, + { + "name": "portRangeMin", + "type": "unsigned short" + }, + { + "name": "protocol", + "type": "RTCIceProtocol" + }, + { + "name": "remoteAddress", + "type": "DOMString" + }, + { + "name": "remoteAddrType", + "type": "MSIceAddrType" + }, + { + "name": "remoteMR", + "type": "DOMString" + }, + { + "name": "remoteMRTCPPort", + "type": "unsigned short" + }, + { + "name": "remoteSite", + "type": "DOMString" + }, + { + "name": "rtpRtcpMux", + "type": "boolean" + }, + { + "name": "stunVer", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSUtilization", + "extends": "Object", + "members": { + "member": [ + { + "name": "bandwidthEstimation", + "type": "unsigned long long" + }, + { + "name": "bandwidthEstimationAvg", + "type": "unsigned long long" + }, + { + "name": "bandwidthEstimationMax", + "type": "unsigned long long" + }, + { + "name": "bandwidthEstimationMin", + "type": "unsigned long long" + }, + { + "name": "bandwidthEstimationStdDev", + "type": "unsigned long long" + }, + { + "name": "packets", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "MSVideoPayload", + "extends": "MSPayloadBase", + "members": { + "member": [ + { + "name": "durationSeconds", + "type": "float" + }, + { + "name": "resolution", + "type": "DOMString" + }, + { + "name": "videoBitRateAvg", + "type": "unsigned long" + }, + { + "name": "videoBitRateMax", + "type": "unsigned long" + }, + { + "name": "videoFrameRateAvg", + "type": "float" + }, + { + "name": "videoPacketLossRate", + "type": "float" + } + ] + } + }, + { + "name": "MSVideoRecvPayload", + "extends": "MSVideoPayload", + "members": { + "member": [ + { + "name": "lowBitRateCallPercent", + "type": "float" + }, + { + "name": "lowFrameRateCallPercent", + "type": "float" + }, + { + "name": "recvBitRateAverage", + "type": "unsigned long" + }, + { + "name": "recvBitRateMaximum", + "type": "unsigned long" + }, + { + "name": "recvCodecType", + "type": "DOMString" + }, + { + "name": "recvFpsHarmonicAverage", + "type": "float" + }, + { + "name": "recvFrameRateAverage", + "type": "float" + }, + { + "name": "recvNumResSwitches", + "type": "float" + }, + { + "name": "recvReorderBufferMaxSuccessfullyOrderedExtent", + "type": "unsigned long" + }, + { + "name": "recvReorderBufferMaxSuccessfullyOrderedLateTime", + "type": "unsigned long" + }, + { + "name": "recvReorderBufferPacketsDroppedDueToBufferExhaustion", + "type": "unsigned long" + }, + { + "name": "recvReorderBufferPacketsDroppedDueToTimeout", + "type": "unsigned long" + }, + { + "name": "recvReorderBufferReorderedPackets", + "type": "unsigned long" + }, + { + "name": "recvResolutionHeight", + "type": "unsigned long" + }, + { + "name": "recvResolutionWidth", + "type": "unsigned long" + }, + { + "name": "recvVideoStreamsMax", + "type": "unsigned long" + }, + { + "name": "recvVideoStreamsMin", + "type": "unsigned long" + }, + { + "name": "recvVideoStreamsMode", + "type": "long" + }, + { + "name": "reorderBufferTotalPackets", + "type": "unsigned long" + }, + { + "name": "videoFrameLossRate", + "type": "float" + }, + { + "name": "videoPostFECPLR", + "type": "float" + }, + { + "name": "videoResolutions", + "type": "MSVideoResolutionDistribution" + } + ] + } + }, + { + "name": "MSVideoResolutionDistribution", + "extends": "Object", + "members": { + "member": [ + { + "name": "cifQuality", + "type": "unsigned long" + }, + { + "name": "h1080Quality", + "type": "unsigned long" + }, + { + "name": "h1440Quality", + "type": "unsigned long" + }, + { + "name": "h2160Quality", + "type": "unsigned long" + }, + { + "name": "h720Quality", + "type": "unsigned long" + }, + { + "name": "vgaQuality", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSVideoSendPayload", + "extends": "MSVideoPayload", + "members": { + "member": [ + { + "name": "sendBitRateAverage", + "type": "unsigned long long" + }, + { + "name": "sendBitRateMaximum", + "type": "unsigned long long" + }, + { + "name": "sendFrameRateAverage", + "type": "float" + }, + { + "name": "sendResolutionHeight", + "type": "unsigned long" + }, + { + "name": "sendResolutionWidth", + "type": "unsigned long" + }, + { + "name": "sendVideoStreamsMax", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MsZoomToOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "animate", + "type": "DOMString" + }, + { + "name": "contentX", + "type": "long" + }, + { + "name": "contentY", + "type": "long" + }, + { + "name": "scaleFactor", + "type": "float" + }, + { + "name": "viewportX", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "viewportY", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MutationObserverInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "attributeFilter", + "type": "sequence" + }, + { + "name": "attributeOldValue", + "default": "false", + "type": "boolean" + }, + { + "name": "attributes", + "default": "false", + "type": "boolean" + }, + { + "name": "characterData", + "default": "false", + "type": "boolean" + }, + { + "name": "characterDataOldValue", + "default": "false", + "type": "boolean" + }, + { + "name": "childList", + "default": "false", + "type": "boolean" + }, + { + "name": "subtree", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "NotificationOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "body", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "dir", + "default": "\"auto\"", + "type": "NotificationDirection" + }, + { + "name": "icon", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "lang", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "tag", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "ObjectURLOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "oneTimeOnly", + "type": "boolean" + } + ] + } + }, + { + "name": "PaymentCurrencyAmount", + "extends": "Object", + "members": { + "member": [ + { + "name": "currency", + "required": "1", + "type": "DOMString" + }, + { + "name": "currencySystem", + "default": "\"urn:iso:std:iso:4217\"", + "type": "DOMString" + }, + { + "name": "value", + "required": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "PaymentDetails", + "extends": "Object", + "members": { + "member": [ + { + "name": "displayItems", + "type": "sequence" + }, + { + "name": "error", + "type": "DOMString" + }, + { + "name": "modifiers", + "type": "sequence" + }, + { + "name": "shippingOptions", + "type": "sequence" + }, + { + "name": "total", + "type": "PaymentItem" + } + ] + } + }, + { + "name": "PaymentDetailsModifier", + "extends": "Object", + "members": { + "member": [ + { + "name": "additionalDisplayItems", + "type": "sequence" + }, + { + "name": "data", + "type": "object" + }, + { + "name": "supportedMethods", + "required": "1", + "type": "sequence" + }, + { + "name": "total", + "type": "PaymentItem" + } + ] + } + }, + { + "name": "PaymentItem", + "extends": "Object", + "members": { + "member": [ + { + "name": "amount", + "required": "1", + "type": "PaymentCurrencyAmount" + }, + { + "name": "label", + "required": "1", + "type": "DOMString" + }, + { + "name": "pending", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "PaymentMethodData", + "extends": "Object", + "members": { + "member": [ + { + "name": "data", + "type": "object" + }, + { + "name": "supportedMethods", + "required": "1", + "type": "sequence" + } + ] + } + }, + { + "name": "PaymentOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "requestPayerEmail", + "default": "false", + "type": "boolean" + }, + { + "name": "requestPayerName", + "default": "false", + "type": "boolean" + }, + { + "name": "requestPayerPhone", + "default": "false", + "type": "boolean" + }, + { + "name": "requestShipping", + "default": "false", + "type": "boolean" + }, + { + "name": "shippingType", + "default": "\"shipping\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "PaymentRequestUpdateEventInit", + "extends": "EventInit" + }, + { + "name": "PaymentShippingOption", + "extends": "Object", + "members": { + "member": [ + { + "name": "amount", + "required": "1", + "type": "PaymentCurrencyAmount" + }, + { + "name": "id", + "required": "1", + "type": "DOMString" + }, + { + "name": "label", + "required": "1", + "type": "DOMString" + }, + { + "name": "selected", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "PeriodicWaveConstraints", + "extends": "Object", + "members": { + "member": [ + { + "name": "disableNormalization", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "PointerEventInit", + "extends": "MouseEventInit", + "members": { + "member": [ + { + "name": "height", + "default": "0", + "type": "long" + }, + { + "name": "isPrimary", + "default": "false", + "type": "boolean" + }, + { + "name": "pointerId", + "default": "0", + "type": "long" + }, + { + "name": "pointerType", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "pressure", + "default": "0", + "type": "float" + }, + { + "name": "tiltX", + "default": "0", + "type": "long" + }, + { + "name": "tiltY", + "default": "0", + "type": "long" + }, + { + "name": "width", + "default": "0", + "type": "long" + } + ] + } + }, + { + "name": "PopStateEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "state", + "default": "null", + "type": "any" + } + ] + } + }, + { + "name": "PositionOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "enableHighAccuracy", + "default": "false", + "type": "boolean" + }, + { + "name": "maximumAge", + "default": "0", + "type": "long" + }, + { + "name": "timeout", + "type": "long" + } + ] + } + }, + { + "name": "ProgressEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "lengthComputable", + "default": "false", + "type": "boolean" + }, + { + "name": "loaded", + "default": "0", + "type": "unsigned long long" + }, + { + "name": "total", + "default": "0", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "PushSubscriptionOptionsInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "applicationServerKey", + "default": "null", + "nullable": "1", + "type": "BufferSource" + }, + { + "name": "userVisibleOnly", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "RegistrationOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "scope", + "type": "DOMString" + } + ] + } + }, + { + "name": "RequestInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "body", + "nullable": "1", + "type": "(Blob or BufferSource or FormData or DOMString)", + "type-original": "BodyInit" + }, + { + "name": "cache", + "type": "RequestCache" + }, + { + "name": "credentials", + "type": "RequestCredentials" + }, + { + "name": "headers", + "type": "(Headers or sequence>)", + "type-original": "HeadersInit" + }, + { + "name": "integrity", + "type": "DOMString" + }, + { + "name": "keepalive", + "type": "boolean" + }, + { + "name": "method", + "type": "DOMString", + "type-original": "ByteString" + }, + { + "name": "mode", + "type": "RequestMode" + }, + { + "name": "redirect", + "type": "RequestRedirect" + }, + { + "name": "referrer", + "type": "DOMString", + "type-original": "USVString" + }, + { + "name": "referrerPolicy", + "type": "ReferrerPolicy" + }, + { + "name": "window", + "type": "any" + } + ] + } + }, + { + "name": "ResponseInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "headers", + "type": "(Headers or sequence>)", + "type-original": "HeadersInit" + }, + { + "name": "status", + "default": "200", + "type": "unsigned short" + }, + { + "name": "statusText", + "default": "\"OK\"", + "type": "DOMString", + "type-original": "ByteString" + } + ] + } + }, + { + "name": "RTCConfiguration", + "extends": "Object", + "members": { + "member": [ + { + "name": "bundlePolicy", + "default": "\"balanced\"", + "type": "RTCBundlePolicy" + }, + { + "name": "iceServers", + "type": "sequence" + }, + { + "name": "iceTransportPolicy", + "default": "\"all\"", + "type": "RTCIceTransportPolicy" + }, + { + "name": "peerIdentity", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCDtlsFingerprint", + "extends": "Object", + "members": { + "member": [ + { + "name": "algorithm", + "type": "DOMString" + }, + { + "name": "value", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCDtlsParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "fingerprints", + "type": "sequence" + }, + { + "name": "role", + "default": "\"auto\"", + "type": "RTCDtlsRole" + } + ] + } + }, + { + "name": "RTCDTMFToneChangeEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "tone", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCIceCandidateAttributes", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "addressSourceUrl", + "type": "DOMString" + }, + { + "name": "candidateType", + "type": "RTCStatsIceCandidateType" + }, + { + "name": "ipAddress", + "type": "DOMString" + }, + { + "name": "portNumber", + "type": "long" + }, + { + "name": "priority", + "type": "long" + }, + { + "name": "transport", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCIceCandidateComplete", + "extends": "Object" + }, + { + "name": "RTCIceCandidateDictionary", + "extends": "Object", + "members": { + "member": [ + { + "name": "foundation", + "type": "DOMString" + }, + { + "name": "ip", + "type": "DOMString" + }, + { + "name": "msMTurnSessionId", + "type": "DOMString" + }, + { + "name": "port", + "type": "unsigned short" + }, + { + "name": "priority", + "type": "unsigned long" + }, + { + "name": "protocol", + "type": "RTCIceProtocol" + }, + { + "name": "relatedAddress", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "relatedPort", + "type": "unsigned short" + }, + { + "name": "tcpType", + "type": "RTCIceTcpCandidateType" + }, + { + "name": "type", + "type": "RTCIceCandidateType" + } + ] + } + }, + { + "name": "RTCIceCandidateInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "candidate", + "type": "DOMString" + }, + { + "name": "sdpMid", + "type": "DOMString" + }, + { + "name": "sdpMLineIndex", + "type": "unsigned short" + } + ] + } + }, + { + "name": "RTCIceCandidatePair", + "extends": "Object", + "members": { + "member": [ + { + "name": "local", + "type": "RTCIceCandidateDictionary" + }, + { + "name": "remote", + "type": "RTCIceCandidateDictionary" + } + ] + } + }, + { + "name": "RTCIceCandidatePairStats", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "availableIncomingBitrate", + "type": "double" + }, + { + "name": "availableOutgoingBitrate", + "type": "double" + }, + { + "name": "bytesReceived", + "type": "unsigned long long" + }, + { + "name": "bytesSent", + "type": "unsigned long long" + }, + { + "name": "localCandidateId", + "type": "DOMString" + }, + { + "name": "nominated", + "type": "boolean" + }, + { + "name": "priority", + "type": "unsigned long long" + }, + { + "name": "readable", + "type": "boolean" + }, + { + "name": "remoteCandidateId", + "type": "DOMString" + }, + { + "name": "roundTripTime", + "type": "double" + }, + { + "name": "state", + "type": "RTCStatsIceCandidatePairState" + }, + { + "name": "transportId", + "type": "DOMString" + }, + { + "name": "writable", + "type": "boolean" + } + ] + } + }, + { + "name": "RTCIceGatherOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "gatherPolicy", + "type": "RTCIceGatherPolicy" + }, + { + "name": "iceservers", + "type": "sequence" + }, + { + "name": "portRange", + "type": "MSPortRange" + } + ] + } + }, + { + "name": "RTCIceParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "iceLite", + "nullable": "1", + "type": "boolean" + }, + { + "name": "password", + "type": "DOMString" + }, + { + "name": "usernameFragment", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCIceServer", + "extends": "Object", + "members": { + "member": [ + { + "name": "credential", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "urls", + "type": "any" + }, + { + "name": "username", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCInboundRTPStreamStats", + "extends": "RTCRTPStreamStats", + "members": { + "member": [ + { + "name": "bytesReceived", + "type": "unsigned long long" + }, + { + "name": "fractionLost", + "type": "double" + }, + { + "name": "jitter", + "type": "double" + }, + { + "name": "packetsLost", + "type": "unsigned long" + }, + { + "name": "packetsReceived", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCMediaStreamTrackStats", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "audioLevel", + "type": "double" + }, + { + "name": "echoReturnLoss", + "type": "double" + }, + { + "name": "echoReturnLossEnhancement", + "type": "double" + }, + { + "name": "frameHeight", + "type": "unsigned long" + }, + { + "name": "framesCorrupted", + "type": "unsigned long" + }, + { + "name": "framesDecoded", + "type": "unsigned long" + }, + { + "name": "framesDropped", + "type": "unsigned long" + }, + { + "name": "framesPerSecond", + "type": "double" + }, + { + "name": "framesReceived", + "type": "unsigned long" + }, + { + "name": "framesSent", + "type": "unsigned long" + }, + { + "name": "frameWidth", + "type": "unsigned long" + }, + { + "name": "remoteSource", + "type": "boolean" + }, + { + "name": "ssrcIds", + "type": "sequence" + }, + { + "name": "trackIdentifier", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCOfferOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "iceRestart", + "default": "false", + "type": "boolean" + }, + { + "name": "offerToReceiveAudio", + "type": "long" + }, + { + "name": "offerToReceiveVideo", + "type": "long" + }, + { + "name": "voiceActivityDetection", + "default": "true", + "type": "boolean" + } + ] + } + }, + { + "name": "RTCOutboundRTPStreamStats", + "extends": "RTCRTPStreamStats", + "members": { + "member": [ + { + "name": "bytesSent", + "type": "unsigned long long" + }, + { + "name": "packetsSent", + "type": "unsigned long" + }, + { + "name": "roundTripTime", + "type": "double" + }, + { + "name": "targetBitrate", + "type": "double" + } + ] + } + }, + { + "name": "RTCPeerConnectionIceEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "candidate", + "default": "null", + "type": "RTCIceCandidate" + } + ] + } + }, + { + "name": "RTCRtcpFeedback", + "extends": "Object", + "members": { + "member": [ + { + "name": "parameter", + "type": "DOMString" + }, + { + "name": "type", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCRtcpParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "cname", + "type": "DOMString" + }, + { + "name": "mux", + "default": "true", + "type": "boolean" + }, + { + "name": "reducedSize", + "default": "false", + "type": "boolean" + }, + { + "name": "ssrc", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCRtpCapabilities", + "extends": "Object", + "members": { + "member": [ + { + "name": "codecs", + "type": "sequence" + }, + { + "name": "fecMechanisms", + "type": "sequence" + }, + { + "name": "headerExtensions", + "type": "sequence" + } + ] + } + }, + { + "name": "RTCRtpCodecCapability", + "extends": "Object", + "members": { + "member": [ + { + "name": "clockRate", + "type": "unsigned long" + }, + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "maxptime", + "type": "unsigned long" + }, + { + "name": "maxSpatialLayers", + "default": "0", + "type": "unsigned short" + }, + { + "name": "maxTemporalLayers", + "default": "0", + "type": "unsigned short" + }, + { + "name": "name", + "type": "DOMString" + }, + { + "name": "numChannels", + "type": "unsigned long" + }, + { + "name": "options", + "type": "Dictionary" + }, + { + "name": "parameters", + "type": "Dictionary" + }, + { + "name": "preferredPayloadType", + "type": "octet", + "type-original": "payloadtype" + }, + { + "name": "ptime", + "type": "unsigned long" + }, + { + "name": "rtcpFeedback", + "type": "sequence" + }, + { + "name": "svcMultiStreamSupport", + "type": "boolean" + } + ] + } + }, + { + "name": "RTCRtpCodecParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "clockRate", + "type": "unsigned long" + }, + { + "name": "maxptime", + "type": "unsigned long" + }, + { + "name": "name", + "type": "DOMString" + }, + { + "name": "numChannels", + "type": "unsigned long" + }, + { + "name": "parameters", + "type": "Dictionary" + }, + { + "name": "payloadType", + "type": "payloadType" + }, + { + "name": "ptime", + "type": "unsigned long" + }, + { + "name": "rtcpFeedback", + "type": "sequence" + } + ] + } + }, + { + "name": "RTCRtpContributingSource", + "extends": "Object", + "members": { + "member": [ + { + "name": "audioLevel", + "type": "byte" + }, + { + "name": "csrc", + "type": "unsigned long" + }, + { + "name": "timestamp", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "RTCRtpEncodingParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "active", + "default": "true", + "type": "boolean" + }, + { + "name": "codecPayloadType", + "type": "octet", + "type-original": "payloadtype" + }, + { + "name": "dependencyEncodingIds", + "type": "sequence" + }, + { + "name": "encodingId", + "type": "DOMString" + }, + { + "name": "fec", + "type": "RTCRtpFecParameters" + }, + { + "name": "framerateScale", + "type": "double" + }, + { + "name": "maxBitrate", + "type": "double" + }, + { + "name": "maxFramerate", + "type": "unsigned long" + }, + { + "name": "minQuality", + "default": "0", + "type": "double" + }, + { + "name": "priority", + "default": "1.0", + "type": "double" + }, + { + "name": "resolutionScale", + "type": "double" + }, + { + "name": "rtx", + "type": "RTCRtpRtxParameters" + }, + { + "name": "ssrc", + "type": "unsigned long" + }, + { + "name": "ssrcRange", + "type": "RTCSsrcRange" + } + ] + } + }, + { + "name": "RTCRtpFecParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "mechanism", + "type": "DOMString" + }, + { + "name": "ssrc", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCRtpHeaderExtension", + "extends": "Object", + "members": { + "member": [ + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "preferredEncrypt", + "default": "false", + "type": "boolean" + }, + { + "name": "preferredId", + "type": "unsigned short" + }, + { + "name": "uri", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCRtpHeaderExtensionParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "encrypt", + "default": "false", + "type": "boolean" + }, + { + "name": "id", + "type": "unsigned short" + }, + { + "name": "uri", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCRtpParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "codecs", + "type": "sequence" + }, + { + "name": "degradationPreference", + "default": "\"balanced\"", + "type": "RTCDegradationPreference" + }, + { + "name": "encodings", + "type": "sequence" + }, + { + "name": "headerExtensions", + "type": "sequence" + }, + { + "name": "muxId", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "rtcp", + "type": "RTCRtcpParameters" + } + ] + } + }, + { + "name": "RTCRtpRtxParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "ssrc", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCRTPStreamStats", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "associateStatsId", + "type": "DOMString" + }, + { + "name": "codecId", + "type": "DOMString" + }, + { + "name": "firCount", + "type": "unsigned long" + }, + { + "name": "isRemote", + "default": "false", + "type": "boolean" + }, + { + "name": "mediaTrackId", + "type": "DOMString" + }, + { + "name": "nackCount", + "type": "unsigned long" + }, + { + "name": "pliCount", + "type": "unsigned long" + }, + { + "name": "sliCount", + "type": "unsigned long" + }, + { + "name": "ssrc", + "type": "DOMString" + }, + { + "name": "transportId", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCRtpUnhandled", + "extends": "Object", + "members": { + "member": [ + { + "name": "muxId", + "type": "DOMString" + }, + { + "name": "payloadType", + "type": "octet", + "type-original": "payloadtype" + }, + { + "name": "ssrc", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCSessionDescriptionInit", + "extends": "Object", + "members": { + "member": [ + { + "name": "sdp", + "type": "DOMString" + }, + { + "name": "type", + "type": "RTCSdpType" + } + ] + } + }, + { + "name": "RTCSrtpKeyParam", + "extends": "Object", + "members": { + "member": [ + { + "name": "keyMethod", + "type": "DOMString" + }, + { + "name": "keySalt", + "type": "DOMString" + }, + { + "name": "lifetime", + "type": "DOMString" + }, + { + "name": "mkiLength", + "type": "unsigned short" + }, + { + "name": "mkiValue", + "type": "unsigned short" + } + ] + } + }, + { + "name": "RTCSrtpSdesParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "cryptoSuite", + "type": "DOMString" + }, + { + "name": "keyParams", + "type": "sequence" + }, + { + "name": "sessionParams", + "type": "sequence" + }, + { + "name": "tag", + "type": "unsigned short" + } + ] + } + }, + { + "name": "RTCSsrcRange", + "extends": "Object", + "members": { + "member": [ + { + "name": "max", + "type": "unsigned long" + }, + { + "name": "min", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCStats", + "extends": "Object", + "members": { + "member": [ + { + "name": "id", + "type": "DOMString" + }, + { + "name": "msType", + "type": "MSStatsType" + }, + { + "name": "timestamp", + "type": "DOMHighResTimeStamp" + }, + { + "name": "type", + "type": "RTCStatsType" + } + ] + } + }, + { + "name": "RTCStatsReport", + "extends": "Object" + }, + { + "name": "RTCTransportStats", + "extends": "RTCStats", + "members": { + "member": [ + { + "name": "activeConnection", + "type": "boolean" + }, + { + "name": "bytesReceived", + "type": "unsigned long long" + }, + { + "name": "bytesSent", + "type": "unsigned long long" + }, + { + "name": "localCertificateId", + "type": "DOMString" + }, + { + "name": "remoteCertificateId", + "type": "DOMString" + }, + { + "name": "rtcpTransportStatsId", + "type": "DOMString" + }, + { + "name": "selectedCandidatePairId", + "type": "DOMString" + } + ] + } + }, + { + "name": "ScopedCredentialDescriptor", + "extends": "Object", + "members": { + "member": [ + { + "name": "id", + "required": "1", + "type": "BufferSource" + }, + { + "name": "transports", + "type": "sequence" + }, + { + "name": "type", + "required": "1", + "type": "ScopedCredentialType" + } + ] + } + }, + { + "name": "ScopedCredentialOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "excludeList", + "type": "sequence" + }, + { + "name": "extensions", + "type": "WebAuthnExtensions" + }, + { + "name": "rpId", + "type": "USVString" + }, + { + "name": "timeoutSeconds", + "type": "unsigned long" + } + ] + } + }, + { + "name": "ScopedCredentialParameters", + "extends": "Object", + "members": { + "member": [ + { + "name": "algorithm", + "required": "1", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "type", + "required": "1", + "type": "ScopedCredentialType" + } + ] + } + }, + { + "name": "ServiceWorkerMessageEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "data", + "type": "any" + }, + { + "name": "lastEventId", + "type": "DOMString" + }, + { + "name": "origin", + "type": "DOMString" + }, + { + "name": "ports", + "nullable": "1", + "type": "sequence" + }, + { + "name": "source", + "nullable": "1", + "type": "(ServiceWorker or MessagePort)" + } + ] + } + }, + { + "name": "SpeechSynthesisEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "charIndex", + "default": "0", + "type": "unsigned long" + }, + { + "name": "elapsedTime", + "default": "0", + "type": "float" + }, + { + "name": "name", + "default": "\"\"", + "type": "DOMString" + }, + { + "name": "utterance", + "default": "null", + "nullable": "1", + "type": "SpeechSynthesisUtterance" + } + ] + } + }, + { + "name": "StoreExceptionsInformation", + "extends": "ExceptionInformation", + "members": { + "member": [ + { + "name": "detailURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "explanationString", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "siteName", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "StoreSiteSpecificExceptionsInformation", + "extends": "StoreExceptionsInformation", + "members": { + "member": [ + { + "name": "arrayOfDomainStrings", + "type": "sequence" + } + ] + } + }, + { + "name": "TrackEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "track", + "default": "null", + "nullable": "1", + "type": "(VideoTrack or AudioTrack or TextTrack)" + } + ] + } + }, + { + "name": "TransitionEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "elapsedTime", + "default": "0.0", + "type": "float" + }, + { + "name": "propertyName", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "UIEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "detail", + "default": "0", + "type": "long" + }, + { + "name": "view", + "default": "null", + "nullable": "1", + "type": "Window" + } + ] + } + }, + { + "name": "WebAuthnExtensions", + "extends": "Object" + }, + { + "name": "WebGLContextAttributes", + "extends": "Object", + "members": { + "member": [ + { + "name": "alpha", + "default": "true", + "type": "boolean" + }, + { + "name": "antialias", + "default": "true", + "type": "boolean" + }, + { + "name": "depth", + "default": "true", + "type": "boolean" + }, + { + "name": "premultipliedAlpha", + "default": "true", + "type": "boolean" + }, + { + "name": "preserveDrawingBuffer", + "default": "false", + "type": "boolean" + }, + { + "name": "stencil", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "WebGLContextEventInit", + "extends": "EventInit", + "members": { + "member": [ + { + "name": "statusMessage", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "WheelEventInit", + "extends": "MouseEventInit", + "members": { + "member": [ + { + "name": "deltaMode", + "default": "0", + "type": "unsigned long" + }, + { + "name": "deltaX", + "default": "0.0", + "type": "double" + }, + { + "name": "deltaY", + "default": "0.0", + "type": "double" + }, + { + "name": "deltaZ", + "default": "0.0", + "type": "double" + } + ] + } + } + ] + }, + "enums": { + "enum": [ + { + "name": "AppendMode", + "value": [ + "segments", + "sequence" + ] + }, + { + "name": "AudioContextState", + "value": [ + "suspended", + "running", + "closed" + ] + }, + { + "name": "BiquadFilterType", + "value": [ + "lowpass", + "highpass", + "bandpass", + "lowshelf", + "highshelf", + "peaking", + "notch", + "allpass" + ] + }, + { + "name": "CanvasFillRule", + "value": [ + "nonzero", + "evenodd" + ] + }, + { + "name": "ChannelCountMode", + "value": [ + "max", + "clamped-max", + "explicit" + ] + }, + { + "name": "ChannelInterpretation", + "value": [ + "speakers", + "discrete" + ] + }, + { + "name": "DistanceModelType", + "value": [ + "linear", + "inverse", + "exponential" + ] + }, + { + "name": "ExpandGranularity", + "value": [ + "character", + "word", + "sentence", + "textedit" + ] + }, + { + "name": "GamepadInputEmulationType", + "value": [ + "mouse", + "keyboard", + "gamepad" + ] + }, + { + "name": "IDBCursorDirection", + "value": [ + "next", + "nextunique", + "prev", + "prevunique" + ] + }, + { + "name": "IDBRequestReadyState", + "value": [ + "pending", + "done" + ] + }, + { + "name": "IDBTransactionMode", + "value": [ + "readonly", + "readwrite", + "versionchange" + ] + }, + { + "name": "ListeningState", + "value": [ + "inactive", + "active", + "disambiguation" + ] + }, + { + "name": "MediaDeviceKind", + "value": [ + "audioinput", + "audiooutput", + "videoinput" + ] + }, + { + "name": "MediaKeyMessageType", + "value": [ + "license-request", + "license-renewal", + "license-release", + "individualization-request" + ] + }, + { + "name": "MediaKeySessionType", + "value": [ + "temporary", + "persistent-license", + "persistent-release-message" + ] + }, + { + "name": "MediaKeysRequirement", + "value": [ + "required", + "optional", + "not-allowed" + ] + }, + { + "name": "MediaKeyStatus", + "value": [ + "usable", + "expired", + "output-downscaled", + "output-not-allowed", + "status-pending", + "internal-error" + ] + }, + { + "name": "MediaStreamTrackState", + "value": [ + "live", + "ended" + ] + }, + { + "name": "MSCredentialType", + "value": "FIDO_2_0" + }, + { + "name": "MSIceAddrType", + "value": [ + "os", + "stun", + "turn", + "peer-derived" + ] + }, + { + "name": "MSIceType", + "value": [ + "failed", + "direct", + "relay" + ] + }, + { + "name": "MSStatsType", + "value": [ + "description", + "localclientevent", + "inbound-network", + "outbound-network", + "inbound-payload", + "outbound-payload", + "transportdiagnostics" + ] + }, + { + "name": "MSTransportType", + "value": [ + "Embedded", + "USB", + "NFC", + "BT" + ] + }, + { + "name": "MSWebViewPermissionState", + "value": [ + "unknown", + "defer", + "allow", + "deny" + ] + }, + { + "name": "MSWebViewPermissionType", + "value": [ + "geolocation", + "unlimitedIndexedDBQuota", + "media", + "pointerlock", + "webnotifications" + ] + }, + { + "name": "NavigationReason", + "value": [ + "up", + "down", + "left", + "right" + ] + }, + { + "name": "NavigationType", + "value": [ + "navigate", + "reload", + "back_forward", + "prerender" + ] + }, + { + "name": "NotificationDirection", + "value": [ + "auto", + "ltr", + "rtl" + ] + }, + { + "name": "NotificationPermission", + "value": [ + "default", + "denied", + "granted" + ] + }, + { + "name": "OscillatorType", + "value": [ + "sine", + "square", + "sawtooth", + "triangle", + "custom" + ] + }, + { + "name": "OverSampleType", + "value": [ + "none", + "2x", + "4x" + ] + }, + { + "name": "PanningModelType", + "value": "equalpower" + }, + { + "name": "PaymentComplete", + "value": [ + "success", + "fail", + "" + ] + }, + { + "name": "PaymentShippingType", + "value": [ + "shipping", + "delivery", + "pickup" + ] + }, + { + "name": "PushEncryptionKeyName", + "value": [ + "p256dh", + "auth" + ] + }, + { + "name": "PushPermissionState", + "value": [ + "granted", + "denied", + "prompt" + ] + }, + { + "name": "ReferrerPolicy", + "value": [ + "", + "no-referrer", + "no-referrer-when-downgrade", + "origin-only", + "origin-when-cross-origin", + "unsafe-url" + ] + }, + { + "name": "RequestCache", + "value": [ + "default", + "no-store", + "reload", + "no-cache", + "force-cache" + ] + }, + { + "name": "RequestCredentials", + "value": [ + "omit", + "same-origin", + "include" + ] + }, + { + "name": "RequestDestination", + "value": [ + "", + "document", + "sharedworker", + "subresource", + "unknown", + "worker" + ] + }, + { + "name": "RequestMode", + "value": [ + "navigate", + "same-origin", + "no-cors", + "cors" + ] + }, + { + "name": "RequestRedirect", + "value": [ + "follow", + "error", + "manual" + ] + }, + { + "name": "RequestType", + "value": [ + "", + "audio", + "font", + "image", + "script", + "style", + "track", + "video" + ] + }, + { + "name": "ResponseType", + "value": [ + "basic", + "cors", + "default", + "error", + "opaque", + "opaqueredirect" + ] + }, + { + "name": "RTCBundlePolicy", + "value": [ + "balanced", + "max-compat", + "max-bundle" + ] + }, + { + "name": "RTCDegradationPreference", + "value": [ + "maintain-framerate", + "maintain-resolution", + "balanced" + ] + }, + { + "name": "RTCDtlsRole", + "value": [ + "auto", + "client", + "server" + ] + }, + { + "name": "RTCDtlsTransportState", + "value": [ + "new", + "connecting", + "connected", + "closed" + ] + }, + { + "name": "RTCIceCandidateType", + "value": [ + "host", + "srflx", + "prflx", + "relay" + ] + }, + { + "name": "RTCIceComponent", + "value": [ + "RTP", + "RTCP" + ] + }, + { + "name": "RTCIceConnectionState", + "value": [ + "new", + "checking", + "connected", + "completed", + "failed", + "disconnected", + "closed" + ] + }, + { + "name": "RTCIceGathererState", + "value": [ + "new", + "gathering", + "complete" + ] + }, + { + "name": "RTCIceGatheringState", + "value": [ + "new", + "gathering", + "complete" + ] + }, + { + "name": "RTCIceGatherPolicy", + "value": [ + "all", + "nohost", + "relay" + ] + }, + { + "name": "RTCIceProtocol", + "value": [ + "udp", + "tcp" + ] + }, + { + "name": "RTCIceRole", + "value": [ + "controlling", + "controlled" + ] + }, + { + "name": "RTCIceTcpCandidateType", + "value": [ + "active", + "passive", + "so" + ] + }, + { + "name": "RTCIceTransportPolicy", + "value": [ + "none", + "relay", + "all" + ] + }, + { + "name": "RTCIceTransportState", + "value": [ + "new", + "checking", + "connected", + "completed", + "disconnected", + "closed" + ] + }, + { + "name": "RTCSdpType", + "value": [ + "offer", + "pranswer", + "answer" + ] + }, + { + "name": "RTCSignalingState", + "value": [ + "stable", + "have-local-offer", + "have-remote-offer", + "have-local-pranswer", + "have-remote-pranswer", + "closed" + ] + }, + { + "name": "RTCStatsIceCandidatePairState", + "value": [ + "frozen", + "waiting", + "inprogress", + "failed", + "succeeded", + "cancelled" + ] + }, + { + "name": "RTCStatsIceCandidateType", + "value": [ + "host", + "serverreflexive", + "peerreflexive", + "relayed" + ] + }, + { + "name": "RTCStatsType", + "value": [ + "inboundrtp", + "outboundrtp", + "session", + "datachannel", + "track", + "transport", + "candidatepair", + "localcandidate", + "remotecandidate" + ] + }, + { + "name": "ScopedCredentialType", + "value": "ScopedCred" + }, + { + "name": "ServiceWorkerState", + "value": [ + "installing", + "installed", + "activating", + "activated", + "redundant" + ] + }, + { + "name": "Transport", + "value": [ + "usb", + "nfc", + "ble" + ] + }, + { + "name": "VideoFacingModeEnum", + "value": [ + "user", + "environment", + "left", + "right" + ] + }, + { + "name": "VisibilityState", + "value": [ + "hidden", + "visible", + "prerender", + "unloaded" + ] + }, + { + "name": "XMLHttpRequestResponseType", + "value": [ + "", + "arraybuffer", + "blob", + "document", + "json", + "text" + ] + } + ] + }, + "interfaces": { + "interface": [ + { + "name": "AnalyserNode", + "extends": "AudioNode", + "methods": { + "method": [ + { + "name": "getByteFrequencyData", + "type": "void", + "param": [ + { + "name": "array", + "type": "Uint8Array" + } + ] + }, + { + "name": "getByteTimeDomainData", + "type": "void", + "param": [ + { + "name": "array", + "type": "Uint8Array" + } + ] + }, + { + "name": "getFloatFrequencyData", + "type": "void", + "param": [ + { + "name": "array", + "type": "Float32Array" + } + ] + }, + { + "name": "getFloatTimeDomainData", + "type": "void", + "param": [ + { + "name": "array", + "type": "Float32Array" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "fftSize", + "type": "unsigned long" + }, + { + "name": "frequencyBinCount", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "maxDecibels", + "type": "double" + }, + { + "name": "minDecibels", + "type": "double" + }, + { + "name": "smoothingTimeConstant", + "type": "double" + } + ] + } + }, + { + "name": "ANGLE_instanced_arrays", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x88FE" + } + ] + }, + "methods": { + "method": [ + { + "name": "drawArraysInstancedANGLE", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "first", + "type": "long", + "type-original": "GLint" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "primcount", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "drawElementsInstancedANGLE", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + }, + { + "name": "primcount", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "vertexAttribDivisorANGLE", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "divisor", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + } + ] + } + }, + { + "name": "AnimationEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "AnimationEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initAnimationEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "animationNameArg", + "type": "DOMString" + }, + { + "name": "elapsedTimeArg", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "animationName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "elapsedTime", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "ApplicationCache", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "CHECKING", + "type": "unsigned short", + "value": "2" + }, + { + "name": "DOWNLOADING", + "type": "unsigned short", + "value": "3" + }, + { + "name": "IDLE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "OBSOLETE", + "type": "unsigned short", + "value": "5" + }, + { + "name": "UNCACHED", + "type": "unsigned short", + "value": "0" + }, + { + "name": "UPDATEREADY", + "type": "unsigned short", + "value": "4" + } + ] + }, + "events": { + "event": [ + { + "name": "progress", + "dispatch": "sync", + "follows": "downloading", + "precedes": "updateready", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "obsolete", + "dispatch": "sync", + "follows": "downloading", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "follows": "downloading", + "skips-window": "1", + "type": "Event" + }, + { + "name": "cached", + "dispatch": "sync", + "follows": "downloading", + "skips-window": "1", + "type": "Event" + }, + { + "name": "updateready", + "dispatch": "sync", + "follows": "progress", + "skips-window": "1", + "type": "Event" + }, + { + "name": "downloading", + "dispatch": "sync", + "follows": "checking", + "precedes": "noupdate progress obsolete cached", + "skips-window": "1", + "type": "Event" + }, + { + "name": "noupdate", + "dispatch": "sync", + "follows": "downloading", + "skips-window": "1", + "type": "Event" + }, + { + "name": "checking", + "dispatch": "sync", + "precedes": "downloading", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "type": "void" + }, + { + "name": "swapCache", + "type": "void" + }, + { + "name": "update", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "oncached", + "event-handler": "cached", + "type": "EventHandler" + }, + { + "name": "onchecking", + "event-handler": "checking", + "type": "EventHandler" + }, + { + "name": "ondownloading", + "event-handler": "downloading", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onnoupdate", + "event-handler": "noupdate", + "type": "EventHandler" + }, + { + "name": "onobsolete", + "event-handler": "obsolete", + "type": "EventHandler" + }, + { + "name": "onprogress", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "onupdateready", + "event-handler": "updateready", + "type": "EventHandler" + }, + { + "name": "status", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "Attr", + "extends": "Node", + "properties": { + "property": [ + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "ownerElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "prefix", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "specified", + "read-only": "1", + "type": "boolean" + }, + { + "name": "value", + "type": "DOMString" + } + ] + } + }, + { + "name": "AudioBuffer", + "extends": "Object", + "methods": { + "method": [ + { + "name": "copyFromChannel", + "type": "void", + "param": [ + { + "name": "destination", + "type": "Float32Array" + }, + { + "name": "channelNumber", + "type": "long" + }, + { + "name": "startInChannel", + "default": "0", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "copyToChannel", + "type": "void", + "param": [ + { + "name": "source", + "type": "Float32Array" + }, + { + "name": "channelNumber", + "type": "long" + }, + { + "name": "startInChannel", + "default": "0", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "getChannelData", + "type": "Float32Array", + "param": [ + { + "name": "channel", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "duration", + "read-only": "1", + "type": "double" + }, + { + "name": "length", + "read-only": "1", + "type": "long" + }, + { + "name": "numberOfChannels", + "read-only": "1", + "type": "long" + }, + { + "name": "sampleRate", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "AudioBufferSourceNode", + "extends": "AudioNode", + "events": { + "event": [ + { + "name": "end", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "start", + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "optional": "1", + "type": "double" + }, + { + "name": "offset", + "default": "0", + "optional": "1", + "type": "double" + }, + { + "name": "duration", + "optional": "1", + "type": "double" + } + ] + }, + { + "name": "stop", + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "optional": "1", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "buffer", + "nullable": "1", + "type": "AudioBuffer" + }, + { + "name": "detune", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "loop", + "type": "boolean" + }, + { + "name": "loopEnd", + "type": "double" + }, + { + "name": "loopStart", + "type": "double" + }, + { + "name": "onended", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "playbackRate", + "read-only": "1", + "type": "AudioParam" + } + ] + } + }, + { + "name": "AudioContext", + "extends": "EventTarget", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "close", + "type": "Promise" + }, + { + "name": "createAnalyser", + "type": "AnalyserNode" + }, + { + "name": "createBiquadFilter", + "type": "BiquadFilterNode" + }, + { + "name": "createBuffer", + "type": "AudioBuffer", + "param": [ + { + "name": "numberOfChannels", + "type": "unsigned long" + }, + { + "name": "length", + "type": "unsigned long" + }, + { + "name": "sampleRate", + "type": "float" + } + ] + }, + { + "name": "createBufferSource", + "type": "AudioBufferSourceNode" + }, + { + "name": "createChannelMerger", + "type": "ChannelMergerNode", + "param": [ + { + "name": "numberOfInputs", + "default": "6", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "createChannelSplitter", + "type": "ChannelSplitterNode", + "param": [ + { + "name": "numberOfOutputs", + "default": "6", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "createConvolver", + "type": "ConvolverNode" + }, + { + "name": "createDelay", + "type": "DelayNode", + "param": [ + { + "name": "maxDelayTime", + "default": "1.0", + "optional": "1", + "type": "double" + } + ] + }, + { + "name": "createDynamicsCompressor", + "type": "DynamicsCompressorNode" + }, + { + "name": "createGain", + "type": "GainNode" + }, + { + "name": "createIIRFilter", + "type": "IIRFilterNode", + "param": [ + { + "name": "feedforward", + "type": "sequence" + }, + { + "name": "feedback", + "type": "sequence" + } + ] + }, + { + "name": "createMediaElementSource", + "type": "MediaElementAudioSourceNode", + "param": [ + { + "name": "mediaElement", + "type": "HTMLMediaElement" + } + ] + }, + { + "name": "createMediaStreamSource", + "type": "MediaStreamAudioSourceNode", + "param": [ + { + "name": "mediaStream", + "type": "MediaStream" + } + ] + }, + { + "name": "createOscillator", + "type": "OscillatorNode" + }, + { + "name": "createPanner", + "type": "PannerNode" + }, + { + "name": "createPeriodicWave", + "type": "PeriodicWave", + "param": [ + { + "name": "real", + "type": "Float32Array" + }, + { + "name": "imag", + "type": "Float32Array" + }, + { + "name": "constraints", + "optional": "1", + "type": "PeriodicWaveConstraints" + } + ] + }, + { + "name": "createScriptProcessor", + "type": "ScriptProcessorNode", + "param": [ + { + "name": "bufferSize", + "default": "0", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "numberOfInputChannels", + "default": "2", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "numberOfOutputChannels", + "default": "2", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "createStereoPanner", + "type": "StereoPannerNode" + }, + { + "name": "createWaveShaper", + "type": "WaveShaperNode" + }, + { + "name": "decodeAudioData", + "type": "Promise", + "param": [ + { + "name": "audioData", + "type": "ArrayBuffer" + }, + { + "name": "successCallback", + "optional": "1", + "type": "DecodeSuccessCallback" + }, + { + "name": "errorCallback", + "optional": "1", + "type": "DecodeErrorCallback" + } + ] + }, + { + "name": "resume", + "type": "Promise" + }, + { + "name": "suspend", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "currentTime", + "read-only": "1", + "type": "double" + }, + { + "name": "destination", + "read-only": "1", + "type": "AudioDestinationNode" + }, + { + "name": "listener", + "read-only": "1", + "type": "AudioListener" + }, + { + "name": "onstatechange", + "event-handler": "statechange", + "type": "EventHandler" + }, + { + "name": "sampleRate", + "read-only": "1", + "type": "float" + }, + { + "name": "state", + "read-only": "1", + "type": "AudioContextState" + } + ] + } + }, + { + "name": "AudioDestinationNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "maxChannelCount", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "AudioListener", + "extends": "Object", + "methods": { + "method": [ + { + "name": "setOrientation", + "type": "void", + "param": [ + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + }, + { + "name": "z", + "type": "double" + }, + { + "name": "xUp", + "type": "double" + }, + { + "name": "yUp", + "type": "double" + }, + { + "name": "zUp", + "type": "double" + } + ] + }, + { + "name": "setPosition", + "type": "void", + "param": [ + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + }, + { + "name": "z", + "type": "double" + } + ] + }, + { + "name": "setVelocity", + "type": "void", + "param": [ + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + }, + { + "name": "z", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "dopplerFactor", + "type": "double" + }, + { + "name": "speedOfSound", + "type": "double" + } + ] + } + }, + { + "name": "AudioNode", + "extends": "EventTarget", + "methods": { + "method": [ + { + "name": "connect", + "type": "AudioNode", + "param": [ + { + "name": "destination", + "type": "AudioNode" + }, + { + "name": "output", + "default": "0", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "input", + "default": "0", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "disconnect", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "channelCount", + "type": "unsigned long" + }, + { + "name": "channelCountMode", + "type": "ChannelCountMode" + }, + { + "name": "channelInterpretation", + "type": "ChannelInterpretation" + }, + { + "name": "context", + "read-only": "1", + "type": "AudioContext" + }, + { + "name": "numberOfInputs", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "numberOfOutputs", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "AudioParam", + "extends": "Object", + "methods": { + "method": [ + { + "name": "cancelScheduledValues", + "type": "AudioParam", + "param": [ + { + "name": "startTime", + "type": "double" + } + ] + }, + { + "name": "exponentialRampToValueAtTime", + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float" + }, + { + "name": "endTime", + "type": "double" + } + ] + }, + { + "name": "linearRampToValueAtTime", + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float" + }, + { + "name": "endTime", + "type": "double" + } + ] + }, + { + "name": "setTargetAtTime", + "type": "AudioParam", + "param": [ + { + "name": "target", + "type": "float" + }, + { + "name": "startTime", + "type": "double" + }, + { + "name": "timeConstant", + "type": "double" + } + ] + }, + { + "name": "setValueAtTime", + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float" + }, + { + "name": "startTime", + "type": "double" + } + ] + }, + { + "name": "setValueCurveAtTime", + "type": "AudioParam", + "param": [ + { + "name": "values", + "type": "Float32Array" + }, + { + "name": "startTime", + "type": "double" + }, + { + "name": "duration", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "defaultValue", + "read-only": "1", + "type": "float" + }, + { + "name": "value", + "type": "float" + } + ] + } + }, + { + "name": "AudioProcessingEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "inputBuffer", + "read-only": "1", + "type": "AudioBuffer" + }, + { + "name": "outputBuffer", + "read-only": "1", + "type": "AudioBuffer" + }, + { + "name": "playbackTime", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "AudioTrack", + "extends": "Object", + "properties": { + "property": [ + { + "name": "enabled", + "type": "boolean" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "label", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "language", + "type": "DOMString" + }, + { + "name": "sourceBuffer", + "read-only": "1", + "type": "SourceBuffer" + } + ] + } + }, + { + "name": "AudioTrackList", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "addtrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + }, + { + "name": "removetrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + }, + { + "name": "change", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getTrackById", + "nullable": "1", + "type": "AudioTrack", + "param": [ + { + "name": "id", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "AudioTrack", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "onaddtrack", + "event-handler": "addtrack", + "type": "EventHandler" + }, + { + "name": "onchange", + "event-handler": "change", + "type": "EventHandler" + }, + { + "name": "onremovetrack", + "event-handler": "removetrack", + "type": "EventHandler" + } + ] + } + }, + { + "name": "BarProp", + "extends": "Object", + "properties": { + "property": [ + { + "name": "visible", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "BeforeUnloadEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "returnValue", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "BiquadFilterNode", + "extends": "AudioNode", + "methods": { + "method": [ + { + "name": "getFrequencyResponse", + "type": "void", + "param": [ + { + "name": "frequencyHz", + "type": "Float32Array" + }, + { + "name": "magResponse", + "type": "Float32Array" + }, + { + "name": "phaseResponse", + "type": "Float32Array" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "detune", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "frequency", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "gain", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "Q", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "type", + "type": "BiquadFilterType" + } + ] + } + }, + { + "name": "Blob", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "msClose", + "type": "void" + }, + { + "name": "msDetachStream", + "type": "any" + }, + { + "name": "slice", + "type": "Blob", + "param": [ + { + "name": "start", + "default": "0", + "optional": "1", + "type": "long long" + }, + { + "name": "end", + "default": "0", + "optional": "1", + "type": "long long" + }, + { + "name": "contentType", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "size", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Cache", + "extends": "Object", + "methods": { + "method": [ + { + "name": "add", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "request", + "type": "RequestInfo" + } + ] + }, + { + "name": "addAll", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "requests", + "type": "sequence" + } + ] + }, + { + "name": "delete", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "request", + "type": "RequestInfo" + }, + { + "name": "options", + "optional": "1", + "type": "CacheQueryOptions" + } + ] + }, + { + "name": "keys", + "new-object": "1", + "type": "Promise>", + "param": [ + { + "name": "request", + "optional": "1", + "type": "RequestInfo" + }, + { + "name": "options", + "optional": "1", + "type": "CacheQueryOptions" + } + ] + }, + { + "name": "match", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "request", + "type": "RequestInfo" + }, + { + "name": "options", + "optional": "1", + "type": "CacheQueryOptions" + } + ] + }, + { + "name": "matchAll", + "new-object": "1", + "type": "Promise>", + "param": [ + { + "name": "request", + "optional": "1", + "type": "RequestInfo" + }, + { + "name": "options", + "optional": "1", + "type": "CacheQueryOptions" + } + ] + }, + { + "name": "put", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "request", + "type": "RequestInfo" + }, + { + "name": "response", + "type": "Response" + } + ] + } + ] + } + }, + { + "name": "CacheStorage", + "extends": "Object", + "secure-context": "1", + "methods": { + "method": [ + { + "name": "delete", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString" + } + ] + }, + { + "name": "has", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString" + } + ] + }, + { + "name": "keys", + "new-object": "1", + "type": "Promise>" + }, + { + "name": "match", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "request", + "type": "RequestInfo" + }, + { + "name": "options", + "optional": "1", + "type": "CacheQueryOptions" + } + ] + }, + { + "name": "open", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "CanvasGradient", + "extends": "Object", + "methods": { + "method": [ + { + "name": "addColorStop", + "type": "void", + "param": [ + { + "name": "offset", + "type": "float" + }, + { + "name": "color", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "CanvasPattern", + "extends": "Object" + }, + { + "name": "CanvasRenderingContext2D", + "extends": "Object", + "implements": "CanvasPathMethods", + "methods": { + "method": [ + { + "name": "beginPath", + "type": "void" + }, + { + "name": "clearRect", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "w", + "type": "float" + }, + { + "name": "h", + "type": "float" + } + ] + }, + { + "name": "clip", + "type": "void", + "param": [ + { + "name": "fillRule", + "default": "\"nonzero\"", + "optional": "1", + "type": "CanvasFillRule" + } + ] + }, + { + "name": "createImageData", + "type": "ImageData", + "param": [ + { + "name": "imageDataOrSw", + "type": "(float or ImageData)" + }, + { + "name": "sh", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "createLinearGradient", + "type": "CanvasGradient", + "param": [ + { + "name": "x0", + "type": "float" + }, + { + "name": "y0", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + } + ] + }, + { + "name": "createPattern", + "type": "CanvasPattern", + "param": [ + { + "name": "image", + "type": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" + }, + { + "name": "repetition", + "type": "DOMString" + } + ] + }, + { + "name": "createRadialGradient", + "type": "CanvasGradient", + "param": [ + { + "name": "x0", + "type": "float" + }, + { + "name": "y0", + "type": "float" + }, + { + "name": "r0", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "r1", + "type": "float" + } + ] + }, + { + "name": "drawFocusIfNeeded", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "drawImage", + "type": "void", + "param": [ + { + "name": "image", + "type": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" + }, + { + "name": "offsetX", + "type": "float" + }, + { + "name": "offsetY", + "type": "float" + }, + { + "name": "width", + "optional": "1", + "type": "float" + }, + { + "name": "height", + "optional": "1", + "type": "float" + }, + { + "name": "canvasOffsetX", + "optional": "1", + "type": "float" + }, + { + "name": "canvasOffsetY", + "optional": "1", + "type": "float" + }, + { + "name": "canvasImageWidth", + "optional": "1", + "type": "float" + }, + { + "name": "canvasImageHeight", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "fill", + "type": "void", + "param": [ + { + "name": "fillRule", + "default": "\"nonzero\"", + "optional": "1", + "type": "CanvasFillRule" + } + ] + }, + { + "name": "fillRect", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "w", + "type": "float" + }, + { + "name": "h", + "type": "float" + } + ] + }, + { + "name": "fillText", + "type": "void", + "param": [ + { + "name": "text", + "type": "DOMString" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "maxWidth", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "getImageData", + "type": "ImageData", + "param": [ + { + "name": "sx", + "type": "float" + }, + { + "name": "sy", + "type": "float" + }, + { + "name": "sw", + "type": "float" + }, + { + "name": "sh", + "type": "float" + } + ] + }, + { + "name": "getLineDash", + "type": "sequence" + }, + { + "name": "isPointInPath", + "type": "boolean", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "fillRule", + "default": "\"nonzero\"", + "optional": "1", + "type": "CanvasFillRule" + } + ] + }, + { + "name": "measureText", + "type": "TextMetrics", + "param": [ + { + "name": "text", + "type": "DOMString" + } + ] + }, + { + "name": "putImageData", + "type": "void", + "param": [ + { + "name": "imagedata", + "type": "ImageData" + }, + { + "name": "dx", + "type": "float" + }, + { + "name": "dy", + "type": "float" + }, + { + "name": "dirtyX", + "optional": "1", + "type": "float" + }, + { + "name": "dirtyY", + "optional": "1", + "type": "float" + }, + { + "name": "dirtyWidth", + "optional": "1", + "type": "float" + }, + { + "name": "dirtyHeight", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "restore", + "type": "void" + }, + { + "name": "rotate", + "type": "void", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "save", + "type": "void" + }, + { + "name": "scale", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "setLineDash", + "type": "void", + "param": [ + { + "name": "segments", + "type": "sequence" + } + ] + }, + { + "name": "setTransform", + "type": "void", + "param": [ + { + "name": "m11", + "type": "float" + }, + { + "name": "m12", + "type": "float" + }, + { + "name": "m21", + "type": "float" + }, + { + "name": "m22", + "type": "float" + }, + { + "name": "dx", + "type": "float" + }, + { + "name": "dy", + "type": "float" + } + ] + }, + { + "name": "stroke", + "type": "void", + "param": [ + { + "name": "path", + "optional": "1", + "type": "Path2D" + } + ] + }, + { + "name": "strokeRect", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "w", + "type": "float" + }, + { + "name": "h", + "type": "float" + } + ] + }, + { + "name": "strokeText", + "type": "void", + "param": [ + { + "name": "text", + "type": "DOMString" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "maxWidth", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "transform", + "type": "void", + "param": [ + { + "name": "m11", + "type": "float" + }, + { + "name": "m12", + "type": "float" + }, + { + "name": "m21", + "type": "float" + }, + { + "name": "m22", + "type": "float" + }, + { + "name": "dx", + "type": "float" + }, + { + "name": "dy", + "type": "float" + } + ] + }, + { + "name": "translate", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "canvas", + "read-only": "1", + "type": "HTMLCanvasElement" + }, + { + "name": "fillStyle", + "type": "any" + }, + { + "name": "font", + "type": "DOMString" + }, + { + "name": "globalAlpha", + "type": "float" + }, + { + "name": "globalCompositeOperation", + "type": "DOMString" + }, + { + "name": "imageSmoothingEnabled", + "type": "bool" + }, + { + "name": "lineCap", + "type": "DOMString" + }, + { + "name": "lineDashOffset", + "type": "UnrestrictedDouble" + }, + { + "name": "lineJoin", + "type": "DOMString" + }, + { + "name": "lineWidth", + "type": "float" + }, + { + "name": "miterLimit", + "type": "float" + }, + { + "name": "msFillRule", + "type": "CanvasFillRule" + }, + { + "name": "shadowBlur", + "type": "float" + }, + { + "name": "shadowColor", + "type": "DOMString" + }, + { + "name": "shadowOffsetX", + "type": "float" + }, + { + "name": "shadowOffsetY", + "type": "float" + }, + { + "name": "strokeStyle", + "type": "any" + }, + { + "name": "textAlign", + "type": "DOMString" + }, + { + "name": "textBaseline", + "type": "DOMString" + } + ] + } + }, + { + "name": "CDATASection", + "extends": "Text" + }, + { + "name": "ChannelMergerNode", + "extends": "AudioNode" + }, + { + "name": "ChannelSplitterNode", + "extends": "AudioNode" + }, + { + "name": "CharacterData", + "extends": "Node", + "events": { + "event": [ + { + "name": "DOMCharacterDataModified", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + }, + { + "name": "DOMSubtreeModified", + "bubbles": "1", + "dispatch": "async-and-combine", + "type": "MutationEvent" + } + ] + }, + "implements": "ChildNode", + "methods": { + "method": [ + { + "name": "appendData", + "type": "void", + "param": [ + { + "name": "arg", + "type": "DOMString" + } + ] + }, + { + "name": "deleteData", + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long" + } + ] + }, + { + "name": "insertData", + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long" + }, + { + "name": "arg", + "type": "DOMString" + } + ] + }, + { + "name": "replaceData", + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long" + }, + { + "name": "arg", + "type": "DOMString" + } + ] + }, + { + "name": "substringData", + "type": "DOMString", + "param": [ + { + "name": "offset", + "type": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "data", + "type": "DOMString" + }, + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "ClientRect", + "extends": "Object", + "properties": { + "property": [ + { + "name": "bottom", + "type": "long" + }, + { + "name": "height", + "read-only": "1", + "type": "float" + }, + { + "name": "left", + "type": "long" + }, + { + "name": "right", + "type": "long" + }, + { + "name": "top", + "type": "long" + }, + { + "name": "width", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "ClientRectList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "ClientRect", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "ClipboardEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "clipboardData", + "read-only": "1", + "type": "DataTransfer" + } + ] + } + }, + { + "name": "CloseEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CloseEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initCloseEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "wasCleanArg", + "type": "boolean" + }, + { + "name": "codeArg", + "type": "unsigned short" + }, + { + "name": "reasonArg", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "code", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "reason", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "wasClean", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "Comment", + "extends": "CharacterData", + "properties": { + "property": [ + { + "name": "text", + "type": "DOMString" + } + ] + } + }, + { + "name": "CompositionEvent", + "extends": "UIEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CompositionEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initCompositionEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "dataArg", + "type": "DOMString" + }, + { + "name": "locale", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "locale", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Console", + "extends": "Object", + "methods": { + "method": [ + { + "name": "assert", + "type": "void", + "param": [ + { + "name": "test", + "optional": "1", + "type": "boolean" + }, + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "count", + "type": "void", + "param": [ + { + "name": "countTitle", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "debug", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "dir", + "type": "void", + "param": [ + { + "name": "value", + "optional": "1", + "type": "any" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "dirxml", + "type": "void", + "param": [ + { + "name": "value", + "type": "any" + } + ] + }, + { + "name": "error", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "exception", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "group", + "type": "void", + "param": [ + { + "name": "groupTitle", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "groupCollapsed", + "type": "void", + "param": [ + { + "name": "groupTitle", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "groupEnd", + "type": "void" + }, + { + "name": "info", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "log", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "msIsIndependentlyComposed", + "type": "boolean", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "profile", + "type": "void", + "param": [ + { + "name": "reportName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "profileEnd", + "type": "void" + }, + { + "name": "select", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "table", + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "time", + "type": "void", + "param": [ + { + "name": "timerName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "timeEnd", + "type": "void", + "param": [ + { + "name": "timerName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "trace", + "type": "void" + }, + { + "name": "warn", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "DOMString" + }, + { + "name": "optionalParams", + "type": "any", + "variadic": "1" + } + ] + } + ] + } + }, + { + "name": "ConvolverNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "buffer", + "nullable": "1", + "type": "AudioBuffer" + }, + { + "name": "normalize", + "type": "boolean" + } + ] + } + }, + { + "name": "Coordinates", + "extends": "Object", + "properties": { + "property": [ + { + "name": "accuracy", + "read-only": "1", + "type": "double" + }, + { + "name": "altitude", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "altitudeAccuracy", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "heading", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "latitude", + "read-only": "1", + "type": "double" + }, + { + "name": "longitude", + "read-only": "1", + "type": "double" + }, + { + "name": "speed", + "nullable": "1", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "Crypto", + "extends": "Object", + "implements": "RandomSource", + "properties": { + "property": [ + { + "name": "subtle", + "read-only": "1", + "type": "SubtleCrypto" + } + ] + } + }, + { + "name": "CryptoKey", + "extends": "Object", + "properties": { + "property": [ + { + "name": "algorithm", + "read-only": "1", + "type": "KeyAlgorithm" + }, + { + "name": "extractable", + "read-only": "1", + "type": "boolean" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString", + "type-original": "KeyType" + }, + { + "name": "usages", + "read-only": "1", + "type": "sequence" + } + ] + } + }, + { + "name": "CryptoKeyPair", + "extends": "Object", + "properties": { + "property": [ + { + "name": "privateKey", + "type": "CryptoKey" + }, + { + "name": "publicKey", + "type": "CryptoKey" + } + ] + } + }, + { + "name": "CSS", + "extends": "Object", + "static": "1", + "methods": { + "method": [ + { + "name": "supports", + "static": "1", + "type": "boolean", + "param": [ + { + "name": "property", + "type": "DOMString" + }, + { + "name": "value", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "CSSConditionRule", + "extends": "CSSGroupingRule", + "properties": { + "property": [ + { + "name": "conditionText", + "type": "DOMString" + } + ] + } + }, + { + "name": "CSSFontFaceRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "style", + "read-only": "1", + "type": "CSSStyleDeclaration" + } + ] + } + }, + { + "name": "CSSGroupingRule", + "extends": "CSSRule", + "methods": { + "method": [ + { + "name": "deleteRule", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "insertRule", + "type": "unsigned long", + "param": [ + { + "name": "rule", + "type": "DOMString" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "cssRules", + "read-only": "1", + "type": "CSSRuleList" + } + ] + } + }, + { + "name": "CSSImportRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "href", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "media", + "put-forwards": "mediaText", + "read-only": "1", + "type": "MediaList" + }, + { + "name": "styleSheet", + "read-only": "1", + "type": "CSSStyleSheet" + } + ] + } + }, + { + "name": "CSSKeyframeRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "keyText", + "type": "DOMString" + }, + { + "name": "style", + "read-only": "1", + "type": "CSSStyleDeclaration" + } + ] + } + }, + { + "name": "CSSKeyframesRule", + "extends": "CSSRule", + "methods": { + "method": [ + { + "name": "appendRule", + "type": "void", + "param": [ + { + "name": "rule", + "type": "DOMString" + } + ] + }, + { + "name": "deleteRule", + "type": "void", + "param": [ + { + "name": "rule", + "type": "DOMString" + } + ] + }, + { + "name": "findRule", + "type": "CSSKeyframeRule", + "param": [ + { + "name": "rule", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "cssRules", + "read-only": "1", + "type": "CSSRuleList" + }, + { + "name": "name", + "type": "DOMString" + } + ] + } + }, + { + "name": "CSSMediaRule", + "extends": "CSSConditionRule", + "properties": { + "property": [ + { + "name": "media", + "put-forwards": "mediaText", + "read-only": "1", + "type": "MediaList" + } + ] + } + }, + { + "name": "CSSNamespaceRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "namespaceURI", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "prefix", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "CSSPageRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "pseudoClass", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "selector", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "selectorText", + "type": "DOMString" + }, + { + "name": "style", + "read-only": "1", + "type": "CSSStyleDeclaration" + } + ] + } + }, + { + "name": "CSSRule", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "CHARSET_RULE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "FONT_FACE_RULE", + "type": "unsigned short", + "value": "5" + }, + { + "name": "IMPORT_RULE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "KEYFRAME_RULE", + "type": "unsigned short", + "value": "8" + }, + { + "name": "KEYFRAMES_RULE", + "type": "unsigned short", + "value": "7" + }, + { + "name": "MEDIA_RULE", + "type": "unsigned short", + "value": "4" + }, + { + "name": "NAMESPACE_RULE", + "type": "unsigned short", + "value": "10" + }, + { + "name": "PAGE_RULE", + "type": "unsigned short", + "value": "6" + }, + { + "name": "STYLE_RULE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SUPPORTS_RULE", + "type": "unsigned short", + "value": "12" + }, + { + "name": "UNKNOWN_RULE", + "type": "unsigned short", + "value": "0" + }, + { + "name": "VIEWPORT_RULE", + "type": "unsigned short", + "value": "15" + } + ] + }, + "properties": { + "property": [ + { + "name": "cssText", + "type": "DOMString" + }, + { + "name": "parentRule", + "read-only": "1", + "type": "CSSRule" + }, + { + "name": "parentStyleSheet", + "read-only": "1", + "type": "CSSStyleSheet" + }, + { + "name": "type", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "CSSRuleList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "CSSRule", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "CSSStyleDeclaration", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getPropertyPriority", + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString" + } + ] + }, + { + "name": "getPropertyValue", + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeProperty", + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString" + } + ] + }, + { + "name": "setProperty", + "type": "void", + "param": [ + { + "name": "propertyName", + "type": "DOMString" + }, + { + "name": "value", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "priority", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "alignContent", + "css-property": "align-content", + "css-property-enum-values": "stretch flex-start flex-end center space-between space-around inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "alignItems", + "css-property": "align-items", + "css-property-enum-values": "stretch flex-start flex-end center baseline inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "alignmentBaseline", + "css-property": "alignment-baseline", + "css-property-enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "alignSelf", + "css-property": "align-self", + "css-property-enum-values": "auto flex-start flex-end center baseline stretch inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animation", + "css-property": "animation", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state animation-name", + "css-property-value-syntax": "css_animation", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationDelay", + "css-property": "animation-delay", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationDirection", + "css-property": "animation-direction", + "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationDuration", + "css-property": "animation-duration", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationFillMode", + "css-property": "animation-fill-mode", + "css-property-enum-values": "none forwards backwards both inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationIterationCount", + "css-property": "animation-iteration-count", + "css-property-enum-values": "infinite inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "comma_separated_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationName", + "css-property": "animation-name", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_keyframes_refs", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationPlayState", + "css-property": "animation-play-state", + "css-property-enum-values": "running paused inherit initial", + "css-property-initial": "running", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "animationTimingFunction", + "css-property": "animation-timing-function", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "css-property-initial": "ease", + "css-property-value-syntax": "comma_separated_css_timing_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backfaceVisibility", + "css-property": "backface-visibility", + "css-property-enum-values": "visible hidden inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "background", + "css-property": "background", + "css-property-animatable": "1", + "css-property-enum-values": "none left center right top bottom scroll fixed local repeat-x repeat-y repeat space round no-repeat inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size", + "css-property-value-syntax": "css_background", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundAttachment", + "css-property": "background-attachment", + "css-property-enum-values": "scroll fixed local inherit initial", + "css-property-initial": "scroll", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundClip", + "css-property": "background-clip", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "css-property-initial": "border-box", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundColor", + "css-property": "background-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "transparent", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundImage", + "css-property": "background-image", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_css_urls", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundOrigin", + "css-property": "background-origin", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "css-property-initial": "padding-box", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundPosition", + "css-property": "background-position", + "css-property-animatable": "1", + "css-property-enum-values": "left center right top bottom inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "background-position-x background-position-y", + "css-property-value-syntax": "comma_separated_0_to_2_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundPositionX", + "css-property": "background-position-x", + "css-property-animatable": "1", + "css-property-enum-values": "left center right inherit initial", + "css-property-initial": "0%", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundPositionY", + "css-property": "background-position-y", + "css-property-animatable": "1", + "css-property-enum-values": "top center bottom inherit initial", + "css-property-initial": "0%", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundRepeat", + "css-property": "background-repeat", + "css-property-enum-values": "repeat-x repeat-y repeat space round no-repeat initial", + "css-property-initial": "repeat", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "backgroundSize", + "css-property": "background-size", + "css-property-animatable": "1", + "css-property-enum-values": "auto cover contain inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "baselineShift", + "css-property": "baseline-shift", + "css-property-enum-values": "baseline sub super inherit initial", + "css-property-initial": "baseline", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "border", + "css-property": "border", + "css-property-animatable": "1", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top border-right border-bottom border-left", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottom", + "css-property": "border-bottom", + "css-property-animatable": "1", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-bottom-width border-bottom-style border-bottom-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottomColor", + "css-property": "border-bottom-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottomLeftRadius", + "css-property": "border-bottom-left-radius", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottomRightRadius", + "css-property": "border-bottom-right-radius", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottomStyle", + "css-property": "border-bottom-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderBottomWidth", + "css-property": "border-bottom-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderCollapse", + "css-property": "border-collapse", + "css-property-enum-values": "separate collapse inherit initial", + "css-property-initial": "separate", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderColor", + "css-property": "border-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top-color border-right-color border-bottom-color border-left-color", + "css-property-value-syntax": "1_to_4_space_separated_css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImage", + "css-property": "border-image", + "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", + "css-property-value-syntax": "css_border_image", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImageOutset", + "css-property": "border-image-outset", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_to_4_space_separated_css_length_or_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImageRepeat", + "css-property": "border-image-repeat", + "css-property-enum-values": "stretch repeat round space inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "1_or_2_space_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImageSlice", + "css-property": "border-image-slice", + "css-property-enum-values": "fill inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImageSource", + "css-property": "border-image-source", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderImageWidth", + "css-property": "border-image-width", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "1px", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length_or_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderLeft", + "css-property": "border-left", + "css-property-animatable": "1", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-left-width border-left-style border-left-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderLeftColor", + "css-property": "border-left-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderLeftStyle", + "css-property": "border-left-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderLeftWidth", + "css-property": "border-left-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderRadius", + "css-property": "border-radius", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top-left-radius border-top-right-radius border-bottom-right-radius border-bottom-left-radius", + "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderRight", + "css-property": "border-right", + "css-property-animatable": "1", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-right-width border-right-style border-right-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderRightColor", + "css-property": "border-right-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderRightStyle", + "css-property": "border-right-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderRightWidth", + "css-property": "border-right-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderSpacing", + "css-property": "border-spacing", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderStyle", + "css-property": "border-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top-style border-right-style border-bottom-style border-left-style", + "css-property-value-syntax": "1_to_4_space_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTop", + "css-property": "border-top", + "css-property-animatable": "1", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top-width border-top-style border-top-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTopColor", + "css-property": "border-top-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTopLeftRadius", + "css-property": "border-top-left-radius", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTopRightRadius", + "css-property": "border-top-right-radius", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTopStyle", + "css-property": "border-top-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderTopWidth", + "css-property": "border-top-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "borderWidth", + "css-property": "border-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-top-width border-right-width border-bottom-width border-left-width", + "css-property-value-syntax": "1_to_4_space_separated_css_lengths", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "bottom", + "css-property": "bottom", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "boxShadow", + "css-property": "box-shadow", + "css-property-animatable": "1", + "css-property-enum-values": "none inset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_2_or_4_css_lengths_with_optional_css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "boxSizing", + "css-property": "box-sizing", + "css-property-enum-values": "content-box border-box inherit initial", + "css-property-initial": "content-box", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "breakAfter", + "css-property": "break-after", + "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "breakBefore", + "css-property": "break-before", + "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "breakInside", + "css-property": "break-inside", + "css-property-enum-values": "auto avoid avoid-page avoid-column inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "captionSide", + "css-property": "caption-side", + "css-property-enum-values": "top bottom left right inherit initial", + "css-property-initial": "top", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "clear", + "css-property": "clear", + "css-property-enum-values": "none left right both inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "clip", + "css-property": "clip", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_shape_rect", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "clipPath", + "css-property": "clip-path", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "clipRule", + "css-property": "clip-rule", + "css-property-enum-values": "nonzero evenodd inherit initial", + "css-property-initial": "nonzero", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "color", + "css-property": "color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "colorInterpolationFilters", + "css-property": "color-interpolation-filters", + "css-property-enum-values": "linearRGB auto sRGB inherit initial", + "css-property-initial": "linearRGB", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnCount", + "css-property": "column-count", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "columnFill", + "css-property": "column-fill", + "css-property-enum-values": "auto balance inherit initial", + "css-property-initial": "balance", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnGap", + "css-property": "column-gap", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "columnRule", + "css-property": "column-rule", + "css-property-enum-values": "transparent thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "column-rule-width column-rule-style column-rule-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnRuleColor", + "css-property": "column-rule-color", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "type": "any" + }, + { + "name": "columnRuleStyle", + "css-property": "column-rule-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnRuleWidth", + "css-property": "column-rule-width", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "columns", + "css-property": "columns", + "css-property-enum-values": "auto inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "column-width column-count", + "css-property-value-syntax": "1_or_2_space_separated_css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnSpan", + "css-property": "column-span", + "css-property-enum-values": "none all inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "columnWidth", + "css-property": "column-width", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "content", + "css-property": "content", + "css-property-enum-values": "normal none inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_content", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "counterIncrement", + "css-property": "counter-increment", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "space_separated_token_and_optional_signed_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "counterReset", + "css-property": "counter-reset", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "space_separated_token_and_optional_signed_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "cssFloat", + "css-property": "float", + "css-property-enum-values": "left right none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "cssText", + "type": "DOMString" + }, + { + "name": "cursor", + "css-property": "cursor", + "css-property-enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "direction", + "css-property": "direction", + "css-property-enum-values": "ltr rtl inherit initial", + "css-property-initial": "ltr", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "display", + "css-property": "display", + "css-property-enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "css-property-initial": "inline", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "dominantBaseline", + "css-property": "dominant-baseline", + "css-property-enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "emptyCells", + "css-property": "empty-cells", + "css-property-enum-values": "show hide inherit initial", + "css-property-initial": "show", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "enableBackground", + "css-property": "enable-background", + "css-property-enum-values": "accumulate inherit initial", + "css-property-initial": "accumulate", + "css-property-value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fill", + "css-property": "fill", + "css-property-animatable": "1", + "css-property-enum-values": "none currentColor inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "svg_paint_or_css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fillOpacity", + "css-property": "fill-opacity", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "0_to_1_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fillRule", + "css-property": "fill-rule", + "css-property-enum-values": "nonzero evenodd inherit initial", + "css-property-initial": "nonzero", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "filter", + "css-property": "filter", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "space_separated_filter_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flex", + "css-property": "flex", + "css-property-animatable": "1", + "css-property-enum-values": "auto content none inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "flex-grow flex-shrink flex-basis", + "css-property-value-syntax": "css_flex", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexBasis", + "css-property": "flex-basis", + "css-property-animatable": "1", + "css-property-enum-values": "auto content inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexDirection", + "css-property": "flex-direction", + "css-property-enum-values": "row row-reverse column column-reverse inherit initial", + "css-property-initial": "row", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexFlow", + "css-property": "flex-flow", + "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "flex-direction flex-wrap", + "css-property-value-syntax": "1_or_2_space_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexGrow", + "css-property": "flex-grow", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexShrink", + "css-property": "flex-shrink", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "flexWrap", + "css-property": "flex-wrap", + "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", + "css-property-initial": "nowrap", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "floodColor", + "css-property": "flood-color", + "css-property-animatable": "1", + "css-property-enum-values": "currentColor inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "floodOpacity", + "css-property": "flood-opacity", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "0_to_1_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "font", + "css-property": "font", + "css-property-animatable": "1", + "css-property-enum-values": "caption icon menu message-box small-caption status-bar inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "font-style font-variant font-weight font-stretch font-size line-height font-family", + "css-property-value-syntax": "css_font", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontFamily", + "css-property": "font-family", + "css-property-enum-values": "inherit initial", + "css-property-initial": "serif", + "css-property-value-syntax": "comma_separated_css_font_family_followed_by_generic_family", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontFeatureSettings", + "css-property": "font-feature-settings", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "comma_separated_font_feature_tag", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontSize", + "css-property": "font-size", + "css-property-animatable": "1", + "css-property-enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontSizeAdjust", + "css-property": "font-size-adjust", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontStretch", + "css-property": "font-stretch", + "css-property-enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontStyle", + "css-property": "font-style", + "css-property-enum-values": "normal italic oblique inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontVariant", + "css-property": "font-variant", + "css-property-enum-values": "normal small-caps inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "fontWeight", + "css-property": "font-weight", + "css-property-animatable": "1", + "css-property-enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "glyphOrientationHorizontal", + "css-property": "glyph-orientation-horizontal", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_angle", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "glyphOrientationVertical", + "css-property": "glyph-orientation-vertical", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_angle", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "height", + "css-property": "height", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "imeMode", + "css-property": "ime-mode", + "css-property-enum-values": "auto active inactive disabled initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "justifyContent", + "css-property": "justify-content", + "css-property-enum-values": "flex-start flex-end center space-between space-around inherit initial", + "css-property-initial": "flex-start", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "kerning", + "css-property": "kerning", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "layoutGrid", + "css-property": "layout-grid", + "css-property-enum-values": "none auto line char both loose strict fixed inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "layout-grid-mode layout-grid-type layout-grid-line layout-grid-char", + "css-property-value-syntax": "css_layout_grid", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "layoutGridChar", + "css-property": "layout-grid-char", + "css-property-enum-values": "none auto inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "layoutGridLine", + "css-property": "layout-grid-line", + "css-property-enum-values": "none auto inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "layoutGridMode", + "css-property": "layout-grid-mode", + "css-property-enum-values": "none line char both inherit initial", + "css-property-initial": "both", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "layoutGridType", + "css-property": "layout-grid-type", + "css-property-enum-values": "loose strict fixed inherit initial", + "css-property-initial": "loose", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "left", + "css-property": "left", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "letterSpacing", + "css-property": "letter-spacing", + "css-property-animatable": "1", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "lightingColor", + "css-property": "lighting-color", + "css-property-animatable": "1", + "css-property-enum-values": "currentColor inherit initial", + "css-property-initial": "white", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "lineBreak", + "css-property": "line-break", + "css-property-enum-values": "normal strict inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "lineHeight", + "css-property": "line-height", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_percentage_or_length_or_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "listStyle", + "css-property": "list-style", + "css-property-enum-values": "none inside outside disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "list-style-type list-style-position list-style-image", + "css-property-value-syntax": "css_list_style", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "listStyleImage", + "css-property": "list-style-image", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "listStylePosition", + "css-property": "list-style-position", + "css-property-enum-values": "inside outside inherit initial", + "css-property-initial": "outside", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "listStyleType", + "css-property": "list-style-type", + "css-property-enum-values": "disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", + "css-property-initial": "disc", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "margin", + "css-property": "margin", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "margin-top margin-right margin-bottom margin-left", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "marginBottom", + "css-property": "margin-bottom", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "marginLeft", + "css-property": "margin-left", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "marginRight", + "css-property": "margin-right", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "marginTop", + "css-property": "margin-top", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "marker", + "css-property": "marker", + "css-property-enum-values": "none inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "marker-start marker-mid marker-end", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "markerEnd", + "css-property": "marker-end", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "markerMid", + "css-property": "marker-mid", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "markerStart", + "css-property": "marker-start", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "mask", + "css-property": "mask", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_url_of_local_id_ref", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "maxHeight", + "css-property": "max-height", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "maxWidth", + "css-property": "max-width", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "minHeight", + "css-property": "min-height", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "minWidth", + "css-property": "min-width", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZoomChaining", + "css-property": "-ms-content-zoom-chaining", + "css-property-enum-values": "none chained inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZooming", + "css-property": "-ms-content-zooming", + "css-property-enum-values": "none zoom inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZoomLimit", + "css-property": "-ms-content-zoom-limit", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-ms-content-zoom-limit-min -ms-content-zoom-limit-max", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZoomLimitMax", + "css-property": "-ms-content-zoom-limit-max", + "css-property-enum-values": "inherit initial", + "css-property-initial": "400%", + "css-property-value-syntax": "css_percentage", + "type": "any" + }, + { + "name": "msContentZoomLimitMin", + "css-property": "-ms-content-zoom-limit-min", + "css-property-enum-values": "inherit initial", + "css-property-initial": "100%", + "css-property-value-syntax": "css_percentage", + "type": "any" + }, + { + "name": "msContentZoomSnap", + "css-property": "-ms-content-zoom-snap", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-ms-content-zoom-snap-type -ms-content-zoom-snap-points", + "css-property-value-syntax": "css_snap_type_and_points", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZoomSnapPoints", + "css-property": "-ms-content-zoom-snap-points", + "css-property-enum-values": "inherit initial", + "css-property-initial": "snapInterval(0%, 100%)", + "css-property-value-syntax": "snap_interval_or_snap_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msContentZoomSnapType", + "css-property": "-ms-content-zoom-snap-type", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msFlowFrom", + "css-property": "-ms-flow-from", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_tokens", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msFlowInto", + "css-property": "-ms-flow-into", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_tokens", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msFontFeatureSettings", + "css-property": "-ms-font-feature-settings", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "comma_separated_font_feature_tag", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msGridColumn", + "css-property": "-ms-grid-column", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "1_or_greater_integer", + "type": "any" + }, + { + "name": "msGridColumnAlign", + "css-property": "-ms-grid-column-align", + "css-property-enum-values": "stretch start end center inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msGridColumns", + "css-property": "-ms-grid-columns", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_grid_dimension_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msGridColumnSpan", + "css-property": "-ms-grid-column-span", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "msGridRow", + "css-property": "-ms-grid-row", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "1_or_greater_integer", + "type": "any" + }, + { + "name": "msGridRowAlign", + "css-property": "-ms-grid-row-align", + "css-property-enum-values": "stretch start end center inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msGridRows", + "css-property": "-ms-grid-rows", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_grid_dimension_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msGridRowSpan", + "css-property": "-ms-grid-row-span", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "msHighContrastAdjust", + "css-property": "-ms-high-contrast-adjust", + "css-property-enum-values": "auto none inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msHyphenateLimitChars", + "css-property": "-ms-hyphenate-limit-chars", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "1_to_3_space_separated_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msHyphenateLimitLines", + "css-property": "-ms-hyphenate-limit-lines", + "css-property-enum-values": "no-limit inherit initial", + "css-property-initial": "no-limit", + "css-property-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "msHyphenateLimitZone", + "css-property": "-ms-hyphenate-limit-zone", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "type": "any" + }, + { + "name": "msHyphens", + "css-property": "-ms-hyphens", + "css-property-enum-values": "none manual auto inherit initial", + "css-property-initial": "manual", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msImeAlign", + "css-property": "-ms-ime-align", + "css-property-enum-values": "auto after inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msOverflowStyle", + "css-property": "-ms-overflow-style", + "css-property-enum-values": "auto none scrollbar -ms-autohiding-scrollbar inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollChaining", + "css-property": "-ms-scroll-chaining", + "css-property-enum-values": "chained none inherit initial", + "css-property-initial": "chained", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollLimit", + "css-property": "-ms-scroll-limit", + "css-property-enum-values": "auto inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-ms-scroll-limit-x-min -ms-scroll-limit-y-min -ms-scroll-limit-x-max -ms-scroll-limit-y-max", + "css-property-value-syntax": "1_to_4_space_separated_css_lengths", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollLimitXMax", + "css-property": "-ms-scroll-limit-x-max", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "msScrollLimitXMin", + "css-property": "-ms-scroll-limit-x-min", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "msScrollLimitYMax", + "css-property": "-ms-scroll-limit-y-max", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "msScrollLimitYMin", + "css-property": "-ms-scroll-limit-y-min", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "msScrollRails", + "css-property": "-ms-scroll-rails", + "css-property-enum-values": "railed none inherit initial", + "css-property-initial": "railed", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollSnapPointsX", + "css-property": "-ms-scroll-snap-points-x", + "css-property-enum-values": "inherit initial", + "css-property-initial": "snapInterval(0, 100%)", + "css-property-value-syntax": "snap_interval_or_snap_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollSnapPointsY", + "css-property": "-ms-scroll-snap-points-y", + "css-property-enum-values": "inherit initial", + "css-property-initial": "snapInterval(0, 100%)", + "css-property-value-syntax": "snap_interval_or_snap_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollSnapType", + "css-property": "-ms-scroll-snap-type", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollSnapX", + "css-property": "-ms-scroll-snap-x", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-x", + "css-property-value-syntax": "css_snap_type_and_points", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollSnapY", + "css-property": "-ms-scroll-snap-y", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-y", + "css-property-value-syntax": "css_snap_type_and_points", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msScrollTranslation", + "css-property": "-ms-scroll-translation", + "css-property-enum-values": "inherit none vertical-to-horizontal", + "css-property-initial": "inherit", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msTextCombineHorizontal", + "css-property": "-ms-text-combine-horizontal", + "css-property-enum-values": "none all digits inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_text_combine_enum_and_digit", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msTextSizeAdjust", + "css-property": "-ms-text-size-adjust", + "css-property-enum-values": "auto none inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage", + "type": "any" + }, + { + "name": "msTouchAction", + "css-property": "-ms-touch-action", + "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msTouchSelect", + "css-property": "-ms-touch-select", + "css-property-enum-values": "grippers none inherit initial", + "css-property-initial": "grippers", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msUserSelect", + "css-property": "-ms-user-select", + "css-property-enum-values": "text none element all inherit initial", + "css-property-initial": "text", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "msWrapFlow", + "css-property": "-ms-wrap-flow", + "css-property-enum-values": "auto both start end maximum clear inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "msWrapMargin", + "css-property": "-ms-wrap-margin", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "msWrapThrough", + "css-property": "-ms-wrap-through", + "css-property-enum-values": "wrap none inherit initial", + "css-property-initial": "wrap", + "css-property-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "opacity", + "css-property": "opacity", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "0_to_1_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "order", + "css-property": "order", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "signed_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "orphans", + "css-property": "orphans", + "css-property-enum-values": "inherit initial", + "css-property-initial": "2", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "outline", + "css-property": "outline", + "css-property-animatable": "1", + "css-property-enum-values": "invert thin medium thick none dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "outline-width outline-style outline-color", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "outlineColor", + "css-property": "outline-color", + "css-property-animatable": "1", + "css-property-enum-values": "invert inherit initial", + "css-property-initial": "invert", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "outlineOffset", + "css-property": "outline-offset", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "outlineStyle", + "css-property": "outline-style", + "css-property-enum-values": "auto none dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "outlineWidth", + "css-property": "outline-width", + "css-property-animatable": "1", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "overflow", + "css-property": "overflow", + "css-property-enum-values": "visible hidden scroll auto inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "overflowX", + "css-property": "overflow-x", + "css-property-enum-values": "visible scroll hidden auto inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "overflowY", + "css-property": "overflow-y", + "css-property-enum-values": "visible scroll hidden auto inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "padding", + "css-property": "padding", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "padding-top padding-right padding-bottom padding-left", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "paddingBottom", + "css-property": "padding-bottom", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "paddingLeft", + "css-property": "padding-left", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "paddingRight", + "css-property": "padding-right", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "paddingTop", + "css-property": "padding-top", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "pageBreakAfter", + "css-property": "page-break-after", + "css-property-enum-values": "auto always avoid left right inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "pageBreakBefore", + "css-property": "page-break-before", + "css-property-enum-values": "auto always avoid left right inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "pageBreakInside", + "css-property": "page-break-inside", + "css-property-enum-values": "auto avoid inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "parentRule", + "read-only": "1", + "type": "CSSRule" + }, + { + "name": "perspective", + "css-property": "perspective", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "perspectiveOrigin", + "css-property": "perspective-origin", + "css-property-animatable": "1", + "css-property-enum-values": "left right center top bottom inherit initial", + "css-property-initial": "50% 50%", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "pointerEvents", + "css-property": "pointer-events", + "css-property-enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "position", + "css-property": "position", + "css-property-enum-values": "static relative absolute fixed inherit initial", + "css-property-initial": "static", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "quotes", + "css-property": "quotes", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "space_separated_strings", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "right", + "css-property": "right", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "rotate", + "css-property": "rotate", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0deg 0 0 1", + "css-property-value-syntax": "1_css_angle_followed_by_optional_3_space_separated_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "rubyAlign", + "css-property": "ruby-align", + "css-property-enum-values": "auto left center right distribute-letter distribute-space line-edge inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "rubyOverhang", + "css-property": "ruby-overhang", + "css-property-enum-values": "auto whitespace none inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "rubyPosition", + "css-property": "ruby-position", + "css-property-enum-values": "above inline inherit initial", + "css-property-initial": "above", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "scale", + "css-property": "scale", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0 0 0", + "css-property-value-syntax": "1_to_3_space_separated_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "stopColor", + "css-property": "stop-color", + "css-property-animatable": "1", + "css-property-enum-values": "currentColor inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "stopOpacity", + "css-property": "stop-opacity", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "0_to_1_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "stroke", + "css-property": "stroke", + "css-property-animatable": "1", + "css-property-enum-values": "none currentColor inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "svg_paint_or_css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeDasharray", + "css-property": "stroke-dasharray", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_or_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeDashoffset", + "css-property": "stroke-dashoffset", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeLinecap", + "css-property": "stroke-linecap", + "css-property-enum-values": "butt round square inherit initial", + "css-property-initial": "butt", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeLinejoin", + "css-property": "stroke-linejoin", + "css-property-enum-values": "miter round bevel inherit initial", + "css-property-initial": "miter", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeMiterlimit", + "css-property": "stroke-miterlimit", + "css-property-enum-values": "inherit initial", + "css-property-initial": "4", + "css-property-value-syntax": "1_or_greater_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeOpacity", + "css-property": "stroke-opacity", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "0_to_1_floating_point_number", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "strokeWidth", + "css-property": "stroke-width", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "tableLayout", + "css-property": "table-layout", + "css-property-enum-values": "auto fixed inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textAlign", + "css-property": "text-align", + "css-property-enum-values": "left right center justify inherit initial", + "css-property-initial": "left", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textAlignLast", + "css-property": "text-align-last", + "css-property-enum-values": "auto center inherit justify left right inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textAnchor", + "css-property": "text-anchor", + "css-property-enum-values": "start middle end inherit initial", + "css-property-initial": "start", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textDecoration", + "css-property": "text-decoration", + "css-property-enum-values": "none underline overline line-through blink inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textIndent", + "css-property": "text-indent", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textJustify", + "css-property": "text-justify", + "css-property-enum-values": "auto distribute distribute-all-lines distribute-center-last inter-cluster inter-ideograph inter-word kashida newspaper inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textKashida", + "css-property": "text-kashida", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textKashidaSpace", + "css-property": "text-kashida-space", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "css_percentage", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textOverflow", + "css-property": "text-overflow", + "css-property-enum-values": "clip ellipsis inherit initial", + "css-property-initial": "clip", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textShadow", + "css-property": "text-shadow", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_text_shadow_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textTransform", + "css-property": "text-transform", + "css-property-enum-values": "none capitalize uppercase lowercase inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "textUnderlinePosition", + "css-property": "text-underline-position", + "css-property-enum-values": "auto above below auto-pos inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "top", + "css-property": "top", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "touchAction", + "css-property": "touch-action", + "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transform", + "css-property": "transform", + "css-property-aliases": "-ms-transform", + "css-property-animatable": "1", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_transform_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transformOrigin", + "css-property": "transform-origin", + "css-property-aliases": "-ms-transform-origin", + "css-property-animatable": "1", + "css-property-enum-values": "left center right top bottom inherit initial", + "css-property-initial": "50% 50%", + "css-property-value-syntax": "css_transform_origin", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transformStyle", + "css-property": "transform-style", + "css-property-enum-values": "flat preserve-3d inherit initial", + "css-property-initial": "flat", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transition", + "css-property": "transition", + "css-property-aliases": "-ms-transition", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "transition-property transition-duration transition-timing-function transition-delay", + "css-property-value-syntax": "css_transition", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transitionDelay", + "css-property": "transition-delay", + "css-property-aliases": "-ms-transition-delay", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transitionDuration", + "css-property": "transition-duration", + "css-property-aliases": "-ms-transition-duration", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transitionProperty", + "css-property": "transition-property", + "css-property-aliases": "-ms-transition-property", + "css-property-enum-values": "none all inherit initial", + "css-property-initial": "all", + "css-property-value-syntax": "comma_separated_tokens", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "transitionTimingFunction", + "css-property": "transition-timing-function", + "css-property-aliases": "-ms-transition-timing-function", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "css-property-initial": "ease", + "css-property-value-syntax": "comma_separated_css_timing_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "translate", + "css-property": "translate", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0px 0px 0px", + "css-property-value-syntax": "1_to_3_space_separated_css_length_and_first_two_optionally_percentage", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "unicodeBidi", + "css-property": "unicode-bidi", + "css-property-enum-values": "normal embed bidi-override inherit", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "verticalAlign", + "css-property": "vertical-align", + "css-property-animatable": "1", + "css-property-enum-values": "baseline auto sub super top middle bottom text-top text-bottom inherit initial", + "css-property-initial": "baseline", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "visibility", + "css-property": "visibility", + "css-property-animatable": "1", + "css-property-enum-values": "visible hidden collapse inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAlignContent", + "css-property": "-webkit-align-content", + "css-property-enum-values": "stretch flex-start flex-end center space-between space-around inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAlignItems", + "css-property": "-webkit-align-items", + "css-property-enum-values": "stretch flex-start flex-end center baseline inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAlignSelf", + "css-property": "-webkit-align-self", + "css-property-enum-values": "auto flex-start flex-end center baseline stretch inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimation", + "css-property": "-webkit-animation", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-animation-duration -webkit-animation-timing-function -webkit-animation-delay -webkit-animation-iteration-count -webkit-animation-direction -webkit-animation-fill-mode -webkit-animation-play-state -webkit-animation-name", + "css-property-value-syntax": "css_animation", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationDelay", + "css-property": "-webkit-animation-delay", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationDirection", + "css-property": "-webkit-animation-direction", + "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationDuration", + "css-property": "-webkit-animation-duration", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationFillMode", + "css-property": "-webkit-animation-fill-mode", + "css-property-enum-values": "none forwards backwards both inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationIterationCount", + "css-property": "-webkit-animation-iteration-count", + "css-property-enum-values": "infinite inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "comma_separated_non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationName", + "css-property": "-webkit-animation-name", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "comma_separated_keyframes_refs", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationPlayState", + "css-property": "-webkit-animation-play-state", + "css-property-enum-values": "running paused inherit initial", + "css-property-initial": "running", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAnimationTimingFunction", + "css-property": "-webkit-animation-timing-function", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "css-property-initial": "ease", + "css-property-value-syntax": "comma_separated_css_timing_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitAppearance", + "css-property": "-webkit-appearance", + "css-property-enum-values": "none button textfield inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBackfaceVisibility", + "css-property": "-webkit-backface-visibility", + "css-property-enum-values": "visible hidden inherit initial", + "css-property-initial": "visible", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBackgroundClip", + "css-property": "-webkit-background-clip", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "css-property-initial": "border-box", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBackgroundOrigin", + "css-property": "-webkit-background-origin", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "css-property-initial": "padding-box", + "css-property-value-syntax": "comma_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBackgroundSize", + "css-property": "-webkit-background-size", + "css-property-enum-values": "auto cover contain inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderBottomLeftRadius", + "css-property": "-webkit-border-bottom-left-radius", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderBottomRightRadius", + "css-property": "-webkit-border-bottom-right-radius", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderImage", + "css-property": "-webkit-border-image", + "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", + "css-property-value-syntax": "css_border_image", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderRadius", + "css-property": "-webkit-border-radius", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-right-radius -webkit-border-bottom-left-radius", + "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderTopLeftRadius", + "css-property": "-webkit-border-top-left-radius", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBorderTopRightRadius", + "css-property": "-webkit-border-top-right-radius", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxAlign", + "css-property": "-webkit-box-align", + "css-property-enum-values": "start center end baseline stretch inherit initial", + "css-property-initial": "stretch", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxDirection", + "css-property": "-webkit-box-direction", + "css-property-initial": "normal", + "css-property-value-syntax": "normal reverse inherit initial", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxFlex", + "css-property": "-webkit-box-flex", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "non_negative_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxOrdinalGroup", + "css-property": "-webkit-box-ordinal-group", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxOrient", + "css-property": "-webkit-box-orient", + "css-property-initial": "inline-axis", + "css-property-value-syntax": "horizontal vertical inline-axis block-axis inherit initial", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxPack", + "css-property": "-webkit-box-pack", + "css-property-enum-values": "start center end justify inherit initial", + "css-property-initial": "start", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitBoxSizing", + "css-property": "-webkit-box-sizing", + "css-property-enum-values": "content-box border-box inherit initial", + "css-property-initial": "content-box", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnBreakAfter", + "css-property": "-webkit-column-break-after", + "css-property-enum-values": "auto always avoid inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnBreakBefore", + "css-property": "-webkit-column-break-before", + "css-property-enum-values": "auto always avoid inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnBreakInside", + "css-property": "-webkit-column-break-inside", + "css-property-enum-values": "auto always avoid inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnCount", + "css-property": "-webkit-column-count", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "webkitColumnGap", + "css-property": "-webkit-column-gap", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "webkitColumnRule", + "css-property": "-webkit-column-rule", + "css-property-enum-values": "transparent thin medium thick inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-column-rule-color -webkit-column-rule-style -webkit-column-rule-width", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnRuleColor", + "css-property": "-webkit-column-rule-color", + "css-property-enum-values": "inherit initial", + "css-property-initial": "currentColor", + "css-property-value-syntax": "css_color", + "type": "any" + }, + { + "name": "webkitColumnRuleStyle", + "css-property": "-webkit-column-rule-style", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnRuleWidth", + "css-property": "-webkit-column-rule-width", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "webkitColumns", + "css-property": "-webkit-columns", + "css-property-enum-values": "auto inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-column-width -webkit-column-count", + "css-property-value-syntax": "1_or_2_space_separated_css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnSpan", + "css-property": "-webkit-column-span", + "css-property-enum-values": "none all inherit initial", + "css-property-initial": "medium", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitColumnWidth", + "css-property": "-webkit-column-width", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_length", + "type": "any" + }, + { + "name": "webkitFilter", + "css-property": "-webkit-filter", + "css-property-enum-values": "inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "space_separated_filter_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlex", + "css-property": "-webkit-flex", + "css-property-enum-values": "auto content none inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-flex-grow -webkit-flex-shrink -webkit-flex-basis", + "css-property-value-syntax": "css_flex", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexBasis", + "css-property": "-webkit-flex-basis", + "css-property-enum-values": "auto content inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexDirection", + "css-property": "-webkit-flex-direction", + "css-property-enum-values": "row row-reverse column column-reverse inherit initial", + "css-property-initial": "row", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexFlow", + "css-property": "-webkit-flex-flow", + "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-flex-direction -webkit-flex-wrap", + "css-property-value-syntax": "1_or_2_space_separated_enums", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexGrow", + "css-property": "-webkit-flex-grow", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexShrink", + "css-property": "-webkit-flex-shrink", + "css-property-enum-values": "inherit initial", + "css-property-initial": "1", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitFlexWrap", + "css-property": "-webkit-flex-wrap", + "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", + "css-property-initial": "nowrap", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitJustifyContent", + "css-property": "-webkit-justify-content", + "css-property-enum-values": "flex-start flex-end center space-between space-around inherit initial", + "css-property-initial": "flex-start", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitOrder", + "css-property": "-webkit-order", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "signed_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitPerspective", + "css-property": "-webkit-perspective", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitPerspectiveOrigin", + "css-property": "-webkit-perspective-origin", + "css-property-enum-values": "left right center top bottom inherit initial", + "css-property-initial": "50% 50%", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTapHighlightColor", + "css-property": "-webkit-tap-highlight-color", + "css-property-enum-values": "inherit initial", + "css-property-initial": "rgba(0,0,0,0.180392)", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTextFillColor", + "css-property": "-webkit-text-fill-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTextSizeAdjust", + "css-property": "-webkit-text-size-adjust", + "css-property-enum-values": "auto none inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage", + "type": "any" + }, + { + "name": "webkitTextStroke", + "css-property": "-webkit-text-stroke", + "css-property-enum-values": "thin medium thick unset inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-text-stroke-width -webkit-text-stroke-color", + "css-property-value-syntax": "1_or_2_space_separated_of_css_length_css_color_and_enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTextStrokeColor", + "css-property": "-webkit-text-stroke-color", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial", + "css-property-initial": "black", + "css-property-value-syntax": "css_color", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTextStrokeWidth", + "css-property": "-webkit-text-stroke-width", + "css-property-animatable": "1", + "css-property-enum-values": "inherit initial unset thin medium thick", + "css-property-initial": "0", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransform", + "css-property": "-webkit-transform", + "css-property-enum-values": "none inherit initial", + "css-property-initial": "none", + "css-property-value-syntax": "css_transform_list", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransformOrigin", + "css-property": "-webkit-transform-origin", + "css-property-enum-values": "left center right top bottom inherit initial", + "css-property-initial": "50% 50%", + "css-property-value-syntax": "css_transform_origin", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransformStyle", + "css-property": "-webkit-transform-style", + "css-property-enum-values": "flat preserve-3d inherit initial", + "css-property-initial": "flat", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransition", + "css-property": "-webkit-transition", + "css-property-enum-values": "inherit initial", + "css-property-shorthand": "1", + "css-property-subproperties": "-webkit-transition-property -webkit-transition-duration -webkit-transition-timing-function -webkit-transition-delay", + "css-property-value-syntax": "css_transition", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransitionDelay", + "css-property": "-webkit-transition-delay", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransitionDuration", + "css-property": "-webkit-transition-duration", + "css-property-enum-values": "inherit initial", + "css-property-initial": "0", + "css-property-value-syntax": "comma_separated_css_times", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransitionProperty", + "css-property": "-webkit-transition-property", + "css-property-enum-values": "none all inherit initial", + "css-property-initial": "all", + "css-property-value-syntax": "comma_separated_tokens", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitTransitionTimingFunction", + "css-property": "-webkit-transition-timing-function", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "css-property-initial": "ease", + "css-property-value-syntax": "comma_separated_css_timing_functions", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitUserModify", + "css-property": "-webkit-user-modify", + "css-property-enum-values": "read-only read-write read-write-plaintext-only inherit initial", + "css-property-initial": "read-only", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitUserSelect", + "css-property": "-webkit-user-select", + "css-property-enum-values": "text none element all inherit initial", + "css-property-initial": "text", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "webkitWritingMode", + "css-property": "-webkit-writing-mode", + "css-property-enum-values": "horizontal-tb vertical-lr vertical-rl inherit initial", + "css-property-initial": "horizontal-tb", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "whiteSpace", + "css-property": "white-space", + "css-property-enum-values": "normal pre nowrap pre-wrap pre-line inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "widows", + "css-property": "widows", + "css-property-enum-values": "inherit initial", + "css-property-initial": "2", + "css-property-value-syntax": "1_or_greater_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "width", + "css-property": "width", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "css_percentage_or_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "wordBreak", + "css-property": "word-break", + "css-property-enum-values": "normal break-all keep-all inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "wordSpacing", + "css-property": "word-spacing", + "css-property-animatable": "1", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_length", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "wordWrap", + "css-property": "word-wrap", + "css-property-enum-values": "normal break-word inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "writingMode", + "css-property": "writing-mode", + "css-property-enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit initial", + "css-property-initial": "horizontal-tb", + "css-property-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "zIndex", + "css-property": "z-index", + "css-property-animatable": "1", + "css-property-enum-values": "auto inherit initial", + "css-property-initial": "auto", + "css-property-value-syntax": "signed_integer", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "zoom", + "css-property": "zoom", + "css-property-aliases": "-ms-zoom", + "css-property-animatable": "1", + "css-property-enum-values": "normal inherit initial", + "css-property-initial": "normal", + "css-property-value-syntax": "css_percentage_or_non_negative_floating_point_number", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "CSSStyleRule", + "extends": "CSSRule", + "properties": { + "property": [ + { + "name": "readOnly", + "read-only": "1", + "type": "boolean" + }, + { + "name": "selectorText", + "type": "DOMString" + }, + { + "name": "style", + "read-only": "1", + "type": "CSSStyleDeclaration" + } + ] + } + }, + { + "name": "CSSStyleSheet", + "extends": "StyleSheet", + "methods": { + "method": [ + { + "name": "addImport", + "type": "long", + "param": [ + { + "name": "bstrURL", + "type": "DOMString" + }, + { + "name": "lIndex", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "addPageRule", + "type": "long", + "param": [ + { + "name": "bstrSelector", + "type": "DOMString" + }, + { + "name": "bstrStyle", + "type": "DOMString" + }, + { + "name": "lIndex", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "addRule", + "type": "long", + "param": [ + { + "name": "bstrSelector", + "type": "DOMString" + }, + { + "name": "bstrStyle", + "optional": "1", + "type": "DOMString" + }, + { + "name": "lIndex", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "deleteRule", + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "insertRule", + "type": "unsigned long", + "param": [ + { + "name": "rule", + "type": "DOMString" + }, + { + "name": "index", + "default": "0", + "optional": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "removeImport", + "type": "void", + "param": [ + { + "name": "lIndex", + "type": "long" + } + ] + }, + { + "name": "removeRule", + "type": "void", + "param": [ + { + "name": "lIndex", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "cssRules", + "read-only": "1", + "type": "CSSRuleList" + }, + { + "name": "cssText", + "type": "DOMString" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "imports", + "read-only": "1", + "type": "StyleSheetList" + }, + { + "name": "isAlternate", + "read-only": "1", + "type": "boolean" + }, + { + "name": "isPrefAlternate", + "read-only": "1", + "type": "boolean" + }, + { + "name": "ownerRule", + "read-only": "1", + "type": "CSSRule" + }, + { + "name": "owningElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "pages", + "read-only": "1", + "type": "StyleSheetPageList" + }, + { + "name": "readOnly", + "read-only": "1", + "type": "boolean" + }, + { + "name": "rules", + "read-only": "1", + "type": "CSSRuleList" + } + ] + } + }, + { + "name": "CSSSupportsRule", + "extends": "CSSConditionRule" + }, + { + "name": "CustomEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CustomEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initCustomEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "detailArg", + "type": "object" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "detail", + "read-only": "1", + "type": "object" + } + ] + } + }, + { + "name": "DataCue", + "extends": "TextTrackCue", + "properties": { + "property": [ + { + "name": "data", + "type": "ArrayBuffer" + } + ] + } + }, + { + "name": "DataTransfer", + "extends": "Object", + "methods": { + "method": [ + { + "name": "clearData", + "type": "boolean", + "param": [ + { + "name": "format", + "default": "\"null\"", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getData", + "type": "DOMString", + "param": [ + { + "name": "format", + "type": "DOMString" + } + ] + }, + { + "name": "setData", + "type": "boolean", + "param": [ + { + "name": "format", + "type": "DOMString" + }, + { + "name": "data", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "dropEffect", + "type": "DOMString" + }, + { + "name": "effectAllowed", + "type": "DOMString" + }, + { + "name": "files", + "read-only": "1", + "same-object": "1", + "type": "FileList" + }, + { + "name": "items", + "read-only": "1", + "type": "DataTransferItemList" + }, + { + "name": "types", + "read-only": "1", + "same-object": "1", + "type": "DOMStringList" + } + ] + } + }, + { + "name": "DataTransferItem", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getAsFile", + "nullable": "1", + "type": "File" + }, + { + "name": "getAsString", + "type": "void", + "param": [ + { + "name": "_callback", + "nullable": "1", + "type": "FunctionStringCallback" + } + ] + }, + { + "name": "webkitGetAsEntry", + "nullable": "1", + "type": "Entry" + } + ] + }, + "properties": { + "property": [ + { + "name": "kind", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DataTransferItemList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "add", + "nullable": "1", + "type": "DataTransferItem", + "param": [ + { + "name": "data", + "type": "File" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "item", + "getter": "1", + "type": "File", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "remove", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "DeferredPermissionRequest", + "extends": "Object", + "methods": { + "method": [ + { + "name": "allow", + "type": "void" + }, + { + "name": "deny", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "id", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "type", + "read-only": "1", + "type": "MSWebViewPermissionType" + }, + { + "name": "uri", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DelayNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "delayTime", + "read-only": "1", + "type": "AudioParam" + } + ] + } + }, + { + "name": "DeviceAcceleration", + "extends": "Object", + "properties": { + "property": [ + { + "name": "x", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "y", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "z", + "nullable": "1", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "DeviceLightEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceLightEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "value", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "DeviceMotionEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceMotionEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initDeviceMotionEvent", + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "bubbles", + "type": "boolean" + }, + { + "name": "cancelable", + "type": "boolean" + }, + { + "name": "acceleration", + "nullable": "1", + "type": "DeviceAccelerationDict" + }, + { + "name": "accelerationIncludingGravity", + "nullable": "1", + "type": "DeviceAccelerationDict" + }, + { + "name": "rotationRate", + "nullable": "1", + "type": "DeviceRotationRateDict" + }, + { + "name": "interval", + "nullable": "1", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "acceleration", + "nullable": "1", + "read-only": "1", + "type": "DeviceAcceleration" + }, + { + "name": "accelerationIncludingGravity", + "nullable": "1", + "read-only": "1", + "type": "DeviceAcceleration" + }, + { + "name": "interval", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "rotationRate", + "nullable": "1", + "read-only": "1", + "type": "DeviceRotationRate" + } + ] + } + }, + { + "name": "DeviceOrientationEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceOrientationEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initDeviceOrientationEvent", + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "bubbles", + "type": "boolean" + }, + { + "name": "cancelable", + "type": "boolean" + }, + { + "name": "alpha", + "nullable": "1", + "type": "double" + }, + { + "name": "beta", + "nullable": "1", + "type": "double" + }, + { + "name": "gamma", + "nullable": "1", + "type": "double" + }, + { + "name": "absolute", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "absolute", + "read-only": "1", + "type": "boolean" + }, + { + "name": "alpha", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "beta", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "gamma", + "nullable": "1", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "DeviceRotationRate", + "extends": "Object", + "properties": { + "property": [ + { + "name": "alpha", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "beta", + "nullable": "1", + "read-only": "1", + "type": "double" + }, + { + "name": "gamma", + "nullable": "1", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "Document", + "extends": "Node", + "anonymous-methods": { + "method": [ + { + "getter": "1", + "type": "(Window or Element or HTMLCollection)", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + }, + "events": { + "event": [ + { + "name": "DOMContentLoaded", + "bubbles": "1", + "dispatch": "sync", + "follows": "readystatechange", + "precedes": "load", + "type": "Event" + }, + { + "name": "readystatechange", + "dispatch": "sync", + "precedes": "load DOMContentLoaded", + "type": "Event" + }, + { + "name": "stop", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "visibilitychanged", + "dispatch": "async", + "type": "Event" + }, + { + "name": "MSManipulationStateChanged", + "dispatch": "async", + "type": "MSManipulationEvent" + }, + { + "name": "MSContentZoom", + "dispatch": "sync", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "selectionchange", + "dispatch": "async", + "follows": "selectstart", + "precedes": "select", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "fullscreenchange", + "aliases": "webkitfullscreenchange", + "bubbles": "1", + "dispatch": "async", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "fullscreenerror", + "aliases": "webkitfullscreenerror", + "bubbles": "1", + "dispatch": "async", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "mssitepinned", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "mssitemodejumplistitemremoved", + "dispatch": "sync", + "type": "MSSiteModeEvent" + }, + { + "name": "msthumbnailclick", + "dispatch": "sync", + "type": "MSSiteModeEvent" + } + ] + }, + "implements": [ + "GlobalEventHandlers", + "NodeSelector", + "DocumentEvent" + ], + "methods": { + "method": [ + { + "name": "adoptNode", + "type": "Node", + "param": [ + { + "name": "source", + "type": "Node" + } + ] + }, + { + "name": "captureEvents", + "type": "void" + }, + { + "name": "caretRangeFromPoint", + "type": "Range", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "close", + "type": "void" + }, + { + "name": "createAttribute", + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "createAttributeNS", + "type": "Attr", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "qualifiedName", + "type": "DOMString" + } + ] + }, + { + "name": "createCDATASection", + "type": "CDATASection", + "param": [ + { + "name": "data", + "type": "DOMString" + } + ] + }, + { + "name": "createComment", + "type": "Comment", + "param": [ + { + "name": "data", + "type": "DOMString" + } + ] + }, + { + "name": "createDocumentFragment", + "type": "DocumentFragment" + }, + { + "name": "createElement", + "type": "Element", + "param": [ + { + "name": "tagName", + "type": "DOMString" + } + ] + }, + { + "name": "createElementNS", + "type": "Element", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "qualifiedName", + "type": "DOMString" + } + ] + }, + { + "name": "createExpression", + "type": "XPathExpression", + "param": [ + { + "name": "expression", + "type": "DOMString" + }, + { + "name": "resolver", + "type": "XPathNSResolver" + } + ] + }, + { + "name": "createNodeIterator", + "type": "NodeIterator", + "param": [ + { + "name": "root", + "type": "Node" + }, + { + "name": "whatToShow", + "default": "0xFFFFFFFF", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "filter", + "default": "null", + "optional": "1", + "type": "NodeFilter" + }, + { + "name": "entityReferenceExpansion", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "createNSResolver", + "type": "XPathNSResolver", + "param": [ + { + "name": "nodeResolver", + "type": "Node" + } + ] + }, + { + "name": "createProcessingInstruction", + "type": "ProcessingInstruction", + "param": [ + { + "name": "target", + "type": "DOMString" + }, + { + "name": "data", + "type": "DOMString" + } + ] + }, + { + "name": "createRange", + "type": "Range" + }, + { + "name": "createTextNode", + "type": "Text", + "param": [ + { + "name": "data", + "type": "DOMString" + } + ] + }, + { + "name": "createTouch", + "type": "Touch", + "param": [ + { + "name": "view", + "type": "Window" + }, + { + "name": "target", + "type": "EventTarget" + }, + { + "name": "identifier", + "type": "long" + }, + { + "name": "pageX", + "type": "long" + }, + { + "name": "pageY", + "type": "long" + }, + { + "name": "screenX", + "type": "long" + }, + { + "name": "screenY", + "type": "long" + } + ] + }, + { + "name": "createTouchList", + "type": "TouchList", + "param": [ + { + "name": "touches", + "type": "Touch", + "variadic": "1" + } + ] + }, + { + "name": "createTreeWalker", + "type": "TreeWalker", + "param": [ + { + "name": "root", + "type": "Node" + }, + { + "name": "whatToShow", + "default": "0xFFFFFFFF", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "filter", + "default": "null", + "optional": "1", + "type": "NodeFilter" + }, + { + "name": "entityReferenceExpansion", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "elementFromPoint", + "type": "Element", + "param": [ + { + "name": "x", + "type": "long" + }, + { + "name": "y", + "type": "long" + } + ] + }, + { + "name": "evaluate", + "type": "XPathResult", + "param": [ + { + "name": "expression", + "type": "DOMString" + }, + { + "name": "contextNode", + "type": "Node" + }, + { + "name": "resolver", + "type": "XPathNSResolver" + }, + { + "name": "type", + "type": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult" + } + ] + }, + { + "name": "execCommand", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + }, + { + "name": "showUI", + "default": "false", + "optional": "1", + "type": "boolean" + }, + { + "name": "value", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "execCommandShowHelp", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "exitFullscreen", + "type": "void" + }, + { + "name": "exitPointerLock", + "type": "void" + }, + { + "name": "focus", + "type": "void" + }, + { + "name": "getElementById", + "type": "Element", + "param": [ + { + "name": "elementId", + "type": "DOMString" + } + ] + }, + { + "name": "getElementsByClassName", + "type": "NodeList", + "param": [ + { + "name": "classNames", + "type": "DOMString" + } + ] + }, + { + "name": "getElementsByName", + "type": "NodeList", + "param": [ + { + "name": "elementName", + "type": "DOMString" + } + ] + }, + { + "name": "getElementsByTagName", + "type": "NodeList", + "param": [ + { + "name": "tagname", + "type": "DOMString" + } + ] + }, + { + "name": "getElementsByTagNameNS", + "type": "NodeList", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "getSelection", + "type": "Selection" + }, + { + "name": "hasFocus", + "type": "boolean" + }, + { + "name": "importNode", + "type": "Node", + "param": [ + { + "name": "importedNode", + "type": "Node" + }, + { + "name": "deep", + "type": "boolean" + } + ] + }, + { + "name": "msElementsFromPoint", + "type": "NodeList", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "msElementsFromRect", + "type": "NodeList", + "param": [ + { + "name": "left", + "type": "float" + }, + { + "name": "top", + "type": "float" + }, + { + "name": "width", + "type": "float" + }, + { + "name": "height", + "type": "float" + } + ] + }, + { + "name": "open", + "type": "(Document or Window)", + "param": [ + { + "name": "url", + "default": "\"text/html\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "name", + "optional": "1", + "type": "DOMString" + }, + { + "name": "features", + "optional": "1", + "type": "DOMString" + }, + { + "name": "replace", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "queryCommandEnabled", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "queryCommandIndeterm", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "queryCommandState", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "queryCommandSupported", + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "queryCommandText", + "type": "DOMString", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "queryCommandValue", + "type": "DOMString", + "param": [ + { + "name": "commandId", + "type": "DOMString" + } + ] + }, + { + "name": "releaseEvents", + "type": "void" + }, + { + "name": "updateSettings", + "type": "void" + }, + { + "name": "webkitCancelFullScreen", + "type": "void" + }, + { + "name": "webkitExitFullscreen", + "type": "void" + }, + { + "name": "write", + "type": "void", + "param": [ + { + "name": "content", + "type": "DOMString", + "variadic": "1" + } + ] + }, + { + "name": "writeln", + "type": "void", + "param": [ + { + "name": "content", + "type": "DOMString", + "variadic": "1" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "activeElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "alinkColor", + "type": "DOMString" + }, + { + "name": "all", + "read-only": "1", + "type": "HTMLAllCollection" + }, + { + "name": "anchors", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "applets", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "bgColor", + "type": "DOMString" + }, + { + "name": "body", + "type": "HTMLElement" + }, + { + "name": "characterSet", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "charset", + "type": "DOMString" + }, + { + "name": "compatMode", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "cookie", + "type": "DOMString" + }, + { + "name": "currentScript", + "read-only": "1", + "type": "(HTMLScriptElement? or SVGScriptElement?)" + }, + { + "name": "defaultView", + "read-only": "1", + "type": "Window" + }, + { + "name": "designMode", + "type": "DOMString" + }, + { + "name": "dir", + "type": "DOMString" + }, + { + "name": "doctype", + "read-only": "1", + "type": "DocumentType" + }, + { + "name": "documentElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "domain", + "property-descriptor-not-configurable": "1", + "type": "DOMString" + }, + { + "name": "embeds", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "fgColor", + "type": "DOMString" + }, + { + "name": "forms", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "fullscreenElement", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "fullscreenEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "head", + "read-only": "1", + "type": "HTMLHeadElement" + }, + { + "name": "hidden", + "read-only": "1", + "type": "boolean" + }, + { + "name": "images", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "implementation", + "read-only": "1", + "type": "DOMImplementation" + }, + { + "name": "inputEncoding", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "lastModified", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "linkColor", + "type": "DOMString" + }, + { + "name": "links", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "location", + "put-forwards": "href", + "read-only": "1", + "type": "Location" + }, + { + "name": "msCapsLockWarningOff", + "type": "boolean" + }, + { + "name": "msCSSOMElementFloatMetrics", + "type": "boolean" + }, + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onactivate", + "event-handler": "activate", + "type": "EventHandler" + }, + { + "name": "onbeforeactivate", + "event-handler": "beforeactivate", + "type": "EventHandler" + }, + { + "name": "onbeforedeactivate", + "event-handler": "beforedeactivate", + "type": "EventHandler" + }, + { + "name": "onblur", + "event-handler": "blur", + "type": "EventHandler" + }, + { + "name": "oncanplay", + "event-handler": "canplay", + "type": "EventHandler" + }, + { + "name": "oncanplaythrough", + "event-handler": "canplaythrough", + "type": "EventHandler" + }, + { + "name": "onchange", + "event-handler": "change", + "type": "EventHandler" + }, + { + "name": "onclick", + "event-handler": "click", + "type": "EventHandler" + }, + { + "name": "oncontextmenu", + "event-handler": "contextmenu", + "type": "EventHandler" + }, + { + "name": "ondblclick", + "event-handler": "dblclick", + "type": "EventHandler" + }, + { + "name": "ondeactivate", + "event-handler": "deactivate", + "type": "EventHandler" + }, + { + "name": "ondrag", + "event-handler": "drag", + "type": "EventHandler" + }, + { + "name": "ondragend", + "event-handler": "dragend", + "type": "EventHandler" + }, + { + "name": "ondragenter", + "event-handler": "dragenter", + "type": "EventHandler" + }, + { + "name": "ondragleave", + "event-handler": "dragleave", + "type": "EventHandler" + }, + { + "name": "ondragover", + "event-handler": "dragover", + "type": "EventHandler" + }, + { + "name": "ondragstart", + "event-handler": "dragstart", + "type": "EventHandler" + }, + { + "name": "ondrop", + "event-handler": "drop", + "type": "EventHandler" + }, + { + "name": "ondurationchange", + "event-handler": "durationchange", + "type": "EventHandler" + }, + { + "name": "onemptied", + "event-handler": "emptied", + "type": "EventHandler" + }, + { + "name": "onended", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onfocus", + "event-handler": "focus", + "type": "EventHandler" + }, + { + "name": "onfullscreenchange", + "event-handler": "fullscreenchange", + "type": "EventHandler" + }, + { + "name": "onfullscreenerror", + "event-handler": "fullscreenerror", + "type": "EventHandler" + }, + { + "name": "oninput", + "event-handler": "input", + "type": "EventHandler" + }, + { + "name": "oninvalid", + "event-handler": "invalid", + "type": "EventHandler" + }, + { + "name": "onkeydown", + "event-handler": "keydown", + "type": "EventHandler" + }, + { + "name": "onkeypress", + "event-handler": "keypress", + "type": "EventHandler" + }, + { + "name": "onkeyup", + "event-handler": "keyup", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onloadeddata", + "event-handler": "loadeddata", + "type": "EventHandler" + }, + { + "name": "onloadedmetadata", + "event-handler": "loadedmetadata", + "type": "EventHandler" + }, + { + "name": "onloadstart", + "event-handler": "loadstart", + "type": "EventHandler" + }, + { + "name": "onmousedown", + "event-handler": "mousedown", + "type": "EventHandler" + }, + { + "name": "onmousemove", + "event-handler": "mousemove", + "type": "EventHandler" + }, + { + "name": "onmouseout", + "event-handler": "mouseout", + "type": "EventHandler" + }, + { + "name": "onmouseover", + "event-handler": "mouseover", + "type": "EventHandler" + }, + { + "name": "onmouseup", + "event-handler": "mouseup", + "type": "EventHandler" + }, + { + "name": "onmousewheel", + "event-handler": "mousewheel", + "type": "EventHandler" + }, + { + "name": "onmscontentzoom", + "event-handler": "MSContentZoom", + "type": "EventHandler" + }, + { + "name": "onmsgesturechange", + "event-handler": "MSGestureChange", + "type": "EventHandler" + }, + { + "name": "onmsgesturedoubletap", + "event-handler": "MSGestureDoubleTap", + "type": "EventHandler" + }, + { + "name": "onmsgestureend", + "event-handler": "MSGestureEnd", + "type": "EventHandler" + }, + { + "name": "onmsgesturehold", + "event-handler": "MSGestureHold", + "type": "EventHandler" + }, + { + "name": "onmsgesturestart", + "event-handler": "MSGestureStart", + "type": "EventHandler" + }, + { + "name": "onmsgesturetap", + "event-handler": "MSGestureTap", + "type": "EventHandler" + }, + { + "name": "onmsinertiastart", + "event-handler": "MSInertiaStart", + "type": "EventHandler" + }, + { + "name": "onmsmanipulationstatechanged", + "event-handler": "MSManipulationStateChanged", + "type": "EventHandler" + }, + { + "name": "onmspointercancel", + "event-handler": "MSPointerCancel", + "type": "EventHandler" + }, + { + "name": "onmspointerdown", + "event-handler": "MSPointerDown", + "type": "EventHandler" + }, + { + "name": "onmspointerenter", + "content-attribute": "onmspointerenter", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerEnter", + "type": "EventHandler" + }, + { + "name": "onmspointerleave", + "content-attribute": "onmspointerleave", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerLeave", + "type": "EventHandler" + }, + { + "name": "onmspointermove", + "event-handler": "MSPointerMove", + "type": "EventHandler" + }, + { + "name": "onmspointerout", + "event-handler": "MSPointerOut", + "type": "EventHandler" + }, + { + "name": "onmspointerover", + "event-handler": "MSPointerOver", + "type": "EventHandler" + }, + { + "name": "onmspointerup", + "event-handler": "MSPointerUp", + "type": "EventHandler" + }, + { + "name": "onmssitemodejumplistitemremoved", + "event-handler": "mssitemodejumplistitemremoved", + "type": "EventHandler" + }, + { + "name": "onmsthumbnailclick", + "event-handler": "msthumbnailclick", + "type": "EventHandler" + }, + { + "name": "onpause", + "event-handler": "pause", + "type": "EventHandler" + }, + { + "name": "onplay", + "event-handler": "play", + "type": "EventHandler" + }, + { + "name": "onplaying", + "event-handler": "playing", + "type": "EventHandler" + }, + { + "name": "onpointerlockchange", + "event-handler": "pointerlockchange", + "type": "EventHandler" + }, + { + "name": "onpointerlockerror", + "event-handler": "pointerlockerror", + "type": "EventHandler" + }, + { + "name": "onprogress", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "onratechange", + "event-handler": "ratechange", + "type": "EventHandler" + }, + { + "name": "onreadystatechange", + "event-handler": "readystatechange", + "lenient-this": "1", + "type": "EventHandler" + }, + { + "name": "onreset", + "event-handler": "reset", + "type": "EventHandler" + }, + { + "name": "onscroll", + "event-handler": "scroll", + "type": "EventHandler" + }, + { + "name": "onseeked", + "event-handler": "seeked", + "type": "EventHandler" + }, + { + "name": "onseeking", + "event-handler": "seeking", + "type": "EventHandler" + }, + { + "name": "onselect", + "event-handler": "select", + "type": "EventHandler" + }, + { + "name": "onselectionchange", + "event-handler": "selectionchange", + "type": "EventHandler" + }, + { + "name": "onselectstart", + "event-handler": "selectstart", + "type": "EventHandler" + }, + { + "name": "onstalled", + "event-handler": "stalled", + "type": "EventHandler" + }, + { + "name": "onstop", + "event-handler": "stop", + "type": "EventHandler" + }, + { + "name": "onsubmit", + "event-handler": "submit", + "type": "EventHandler" + }, + { + "name": "onsuspend", + "event-handler": "suspend", + "type": "EventHandler" + }, + { + "name": "ontimeupdate", + "event-handler": "timeupdate", + "type": "EventHandler" + }, + { + "name": "ontouchcancel", + "event-handler": "touchcancel", + "type": "EventHandler" + }, + { + "name": "ontouchend", + "event-handler": "touchend", + "type": "EventHandler" + }, + { + "name": "ontouchmove", + "event-handler": "touchmove", + "type": "EventHandler" + }, + { + "name": "ontouchstart", + "event-handler": "touchstart", + "type": "EventHandler" + }, + { + "name": "onvolumechange", + "event-handler": "volumechange", + "type": "EventHandler" + }, + { + "name": "onwaiting", + "event-handler": "waiting", + "type": "EventHandler" + }, + { + "name": "onwebkitfullscreenchange", + "event-handler": "webkitfullscreenchange", + "type": "EventHandler" + }, + { + "name": "onwebkitfullscreenerror", + "event-handler": "webkitfullscreenerror", + "type": "EventHandler" + }, + { + "name": "plugins", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "pointerLockElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "readyState", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "referrer", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "rootElement", + "read-only": "1", + "type": "SVGSVGElement" + }, + { + "name": "scripts", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "scrollingElement", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "styleSheets", + "read-only": "1", + "type": "StyleSheetList" + }, + { + "name": "title", + "type": "DOMString" + }, + { + "name": "URL", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "URLUnencoded", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "visibilityState", + "read-only": "1", + "type": "VisibilityState" + }, + { + "name": "vlinkColor", + "type": "DOMString" + }, + { + "name": "webkitCurrentFullScreenElement", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "webkitFullscreenElement", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "webkitFullscreenEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "webkitIsFullScreen", + "read-only": "1", + "type": "boolean" + }, + { + "name": "xmlEncoding", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "xmlStandalone", + "type": "boolean" + }, + { + "name": "xmlVersion", + "nullable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DocumentFragment", + "extends": "Node", + "implements": "NodeSelector" + }, + { + "name": "DocumentType", + "extends": "Node", + "implements": "ChildNode", + "properties": { + "property": [ + { + "name": "entities", + "read-only": "1", + "type": "NamedNodeMap" + }, + { + "name": "internalSubset", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "notations", + "read-only": "1", + "type": "NamedNodeMap" + }, + { + "name": "publicId", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "systemId", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DOMError", + "extends": "Object", + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "name", + "read-only": "1", + "stringifier": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DOMException", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "ABORT_ERR", + "type": "unsigned short", + "value": "20" + }, + { + "name": "DATA_CLONE_ERR", + "type": "unsigned short", + "value": "25" + }, + { + "name": "DOMSTRING_SIZE_ERR", + "type": "unsigned short", + "value": "2" + }, + { + "name": "HIERARCHY_REQUEST_ERR", + "type": "unsigned short", + "value": "3" + }, + { + "name": "INDEX_SIZE_ERR", + "type": "unsigned short", + "value": "1" + }, + { + "name": "INUSE_ATTRIBUTE_ERR", + "type": "unsigned short", + "value": "10" + }, + { + "name": "INVALID_ACCESS_ERR", + "type": "unsigned short", + "value": "15" + }, + { + "name": "INVALID_CHARACTER_ERR", + "type": "unsigned short", + "value": "5" + }, + { + "name": "INVALID_MODIFICATION_ERR", + "type": "unsigned short", + "value": "13" + }, + { + "name": "INVALID_NODE_TYPE_ERR", + "type": "unsigned short", + "value": "24" + }, + { + "name": "INVALID_STATE_ERR", + "type": "unsigned short", + "value": "11" + }, + { + "name": "NAMESPACE_ERR", + "type": "unsigned short", + "value": "14" + }, + { + "name": "NETWORK_ERR", + "type": "unsigned short", + "value": "19" + }, + { + "name": "NO_DATA_ALLOWED_ERR", + "type": "unsigned short", + "value": "6" + }, + { + "name": "NO_MODIFICATION_ALLOWED_ERR", + "type": "unsigned short", + "value": "7" + }, + { + "name": "NOT_FOUND_ERR", + "type": "unsigned short", + "value": "8" + }, + { + "name": "NOT_SUPPORTED_ERR", + "type": "unsigned short", + "value": "9" + }, + { + "name": "PARSE_ERR", + "type": "unsigned short", + "value": "81" + }, + { + "name": "QUOTA_EXCEEDED_ERR", + "type": "unsigned short", + "value": "22" + }, + { + "name": "SECURITY_ERR", + "type": "unsigned short", + "value": "18" + }, + { + "name": "SERIALIZE_ERR", + "type": "unsigned short", + "value": "82" + }, + { + "name": "SYNTAX_ERR", + "type": "unsigned short", + "value": "12" + }, + { + "name": "TIMEOUT_ERR", + "type": "unsigned short", + "value": "23" + }, + { + "name": "TYPE_MISMATCH_ERR", + "type": "unsigned short", + "value": "17" + }, + { + "name": "URL_MISMATCH_ERR", + "type": "unsigned short", + "value": "21" + }, + { + "name": "VALIDATION_ERR", + "type": "unsigned short", + "value": "16" + }, + { + "name": "WRONG_DOCUMENT_ERR", + "type": "unsigned short", + "value": "4" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "code", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "message", + "read-only": "1", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "DOMImplementation", + "extends": "Object", + "methods": { + "method": [ + { + "name": "createDocument", + "type": "Document", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "qualifiedName", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "doctype", + "type": "DocumentType" + } + ] + }, + { + "name": "createDocumentType", + "type": "DocumentType", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString" + }, + { + "name": "publicId", + "type": "DOMString" + }, + { + "name": "systemId", + "type": "DOMString" + } + ] + }, + { + "name": "createHTMLDocument", + "type": "Document", + "param": [ + { + "name": "title", + "type": "DOMString" + } + ] + }, + { + "name": "hasFeature", + "type": "boolean" + } + ] + } + }, + { + "name": "DOMParser", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "parseFromString", + "type": "Document", + "param": [ + { + "name": "source", + "type": "DOMString" + }, + { + "name": "mimeType", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "DOMSettableTokenList", + "extends": "DOMTokenList", + "properties": { + "property": [ + { + "name": "value", + "type": "DOMString" + } + ] + } + }, + { + "name": "DOMStringList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "contains", + "type": "boolean", + "param": [ + { + "name": "str", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "DOMStringMap", + "extends": "Object", + "anonymous-methods": { + "method": [ + { + "getter": "1", + "type": "DOMString", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "creator": "1", + "setter": "1", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "value", + "type": "DOMString" + } + ] + }, + { + "deleter": "1", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "DOMTokenList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "add", + "type": "void", + "param": [ + { + "name": "token", + "type": "DOMString", + "variadic": "1" + } + ] + }, + { + "name": "contains", + "type": "boolean", + "param": [ + { + "name": "token", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "remove", + "type": "void", + "param": [ + { + "name": "token", + "type": "DOMString", + "variadic": "1" + } + ] + }, + { + "name": "toggle", + "type": "boolean", + "param": [ + { + "name": "token", + "type": "DOMString" + }, + { + "name": "force", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "DragEvent", + "extends": "MouseEvent", + "methods": { + "method": [ + { + "name": "initDragEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "long" + }, + { + "name": "clientYArg", + "type": "long" + }, + { + "name": "ctrlKeyArg", + "type": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + }, + { + "name": "dataTransferArg", + "type": "DataTransfer" + } + ] + }, + { + "name": "msConvertURL", + "type": "void", + "param": [ + { + "name": "file", + "type": "File" + }, + { + "name": "targetType", + "type": "DOMString" + }, + { + "name": "targetURL", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "dataTransfer", + "read-only": "1", + "type": "DataTransfer" + } + ] + } + }, + { + "name": "DynamicsCompressorNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "attack", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "knee", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "ratio", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "reduction", + "read-only": "1", + "type": "float" + }, + { + "name": "release", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "threshold", + "read-only": "1", + "type": "AudioParam" + } + ] + } + }, + { + "name": "Element", + "extends": "Node", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "title" + }, + { + "name": "xml:id" + }, + { + "name": "xml:base", + "value-syntax": "url" + }, + { + "name": "xml:lang" + }, + { + "name": "aria-activedescendant", + "value-syntax": "id_ref" + }, + { + "enum-values": "false true", + "name": "aria-atomic", + "value-syntax": "enum" + }, + { + "enum-values": "none inline list both", + "name": "aria-autocomplete", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-busy", + "value-syntax": "enum" + }, + { + "enum-values": "true false mixed", + "name": "aria-checked", + "value-syntax": "enum" + }, + { + "name": "aria-controls", + "value-syntax": "space_separated_id_refs" + }, + { + "name": "aria-describedby", + "value-syntax": "space_separated_id_refs" + }, + { + "enum-values": "false true", + "name": "aria-disabled", + "value-syntax": "enum" + }, + { + "enum-values": "none copy move link execute popup", + "name": "aria-dropeffect", + "value-syntax": "space_separated_enums" + }, + { + "enum-values": "undefined true false", + "name": "aria-expanded", + "value-syntax": "enum" + }, + { + "name": "aria-flowto", + "value-syntax": "space_separated_id_refs" + }, + { + "enum-values": "undefined true false", + "name": "aria-grabbed", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-haspopup", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-hidden", + "value-syntax": "enum" + }, + { + "enum-values": "false grammar spelling true", + "name": "aria-invalid", + "value-syntax": "enum" + }, + { + "name": "aria-label" + }, + { + "name": "aria-labelledby", + "value-syntax": "space_separated_id_refs" + }, + { + "name": "aria-level", + "value-syntax": "non_negative_integer" + }, + { + "enum-values": "off polite assertive", + "name": "aria-live", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-multiline", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-multiselectable", + "value-syntax": "enum" + }, + { + "enum-values": "horizontal vertical", + "name": "aria-orientation", + "value-syntax": "enum" + }, + { + "name": "aria-owns", + "value-syntax": "space_separated_id_refs" + }, + { + "name": "aria-posinset", + "value-syntax": "non_negative_integer" + }, + { + "enum-values": "true false mixed", + "name": "aria-pressed", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "aria-readonly", + "value-syntax": "enum" + }, + { + "enum-values": "additions removals text all", + "name": "aria-relevant", + "value-syntax": "space_separated_enums" + }, + { + "enum-values": "false true", + "name": "aria-required", + "value-syntax": "enum" + }, + { + "enum-values": "undefined true false", + "name": "aria-selected", + "value-syntax": "enum" + }, + { + "name": "aria-setsize", + "value-syntax": "non_negative_integer" + }, + { + "enum-values": "none ascending descending other", + "name": "aria-sort", + "value-syntax": "enum" + }, + { + "name": "aria-valuemax", + "value-syntax": "floating_point_number" + }, + { + "name": "aria-valuemin", + "value-syntax": "floating_point_number" + }, + { + "name": "aria-valuenow", + "value-syntax": "floating_point_number" + }, + { + "name": "x-ms-aria-flowfrom", + "value-syntax": "space_separated_id_refs" + }, + { + "enum-values": "alert alertdialog application article banner button checkbox columnheader combobox complementary contentinfo definition dialog directory document form grid gridcell group heading img link list listbox listitem log main marquee math menu menubar menuitem menuitemcheckbox menuitemradio navigation note option presentation progressbar radio radiogroup region row rowgroup rowheader scrollbar search separator slider spinbutton status tab tablist tabpanel textbox timer toolbar tooltip tree treegrid treeitem", + "name": "role", + "value-syntax": "enum" + } + ] + }, + "events": { + "event": [ + { + "name": "click", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "mouseup pointerup MSPointerUp", + "precedes": "dblclick", + "type": "MouseEvent" + }, + { + "name": "dblclick", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "click", + "type": "MouseEvent" + }, + { + "name": "mousemove", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "MouseEvent" + }, + { + "name": "mouseover", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "mouseout", + "type": "MouseEvent" + }, + { + "name": "mouseout", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "mouseover", + "type": "MouseEvent" + }, + { + "name": "mousedown", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "mouseup", + "type": "MouseEvent" + }, + { + "name": "mouseup", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "mousedown", + "precedes": "click", + "type": "MouseEvent" + }, + { + "name": "mouseenter", + "dispatch": "sync", + "precedes": "mouseleave", + "type": "MouseEvent" + }, + { + "name": "mouseleave", + "dispatch": "sync", + "follows": "mouseenter", + "type": "MouseEvent" + }, + { + "name": "MSHoldVisual", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "tags": "IEOnly", + "type": "MouseEvent" + }, + { + "name": "wheel", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "WheelEvent" + }, + { + "name": "mousewheel", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "WheelEvent" + }, + { + "name": "MSPointerDown", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "MSPointerMove", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerMove", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSPointerDown", + "precedes": "MSPointerUp MSPointerCancel", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerUp", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSPointerMove", + "precedes": "click", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerOver", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "MSPointerOut", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerOut", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSPointerOver", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerCancel", + "bubbles": "1", + "dispatch": "sync", + "follows": "MSPointerMove", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerHover", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSGotPointerCapture", + "bubbles": "1", + "dispatch": "sync", + "precedes": "MSLostPointerCapture", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSLostPointerCapture", + "bubbles": "1", + "dispatch": "sync", + "follows": "MSGotPointerCapture", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerEnter", + "dispatch": "sync", + "precedes": "MSPointerLeave", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSPointerLeave", + "dispatch": "sync", + "follows": "MSPointerEnter", + "tags": "IEOnly", + "type": "MSPointerEvent" + }, + { + "name": "MSGestureStart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "MSGestureChange", + "type": "MSGestureEvent" + }, + { + "name": "MSGestureChange", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSGestureStart", + "precedes": "MSInertiaStart MSGestureEnd", + "type": "MSGestureEvent" + }, + { + "name": "MSGestureEnd", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSGestureChange", + "type": "MSGestureEvent" + }, + { + "name": "MSGestureHold", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "MSGestureEvent" + }, + { + "name": "MSGestureTap", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "MSGestureEvent" + }, + { + "name": "MSGestureDoubleTap", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "MSGestureEvent" + }, + { + "name": "MSInertiaStart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "MSGestureChange", + "type": "MSGestureEvent" + }, + { + "name": "pointerenter", + "aliases": "MSPointerEnter", + "dispatch": "sync", + "precedes": "pointerleave", + "type": "PointerEvent" + }, + { + "name": "pointerleave", + "aliases": "MSPointerLeave", + "dispatch": "sync", + "follows": "pointerenter", + "type": "PointerEvent" + }, + { + "name": "pointerdown", + "aliases": "MSPointerDown", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "pointermove", + "type": "PointerEvent" + }, + { + "name": "pointermove", + "aliases": "MSPointerMove", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "pointerdown", + "precedes": "pointerup pointercancel", + "type": "PointerEvent" + }, + { + "name": "pointerup", + "aliases": "MSPointerUp", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "pointermove", + "precedes": "click", + "type": "PointerEvent" + }, + { + "name": "pointerover", + "aliases": "MSPointerOver", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "pointerout", + "type": "PointerEvent" + }, + { + "name": "pointerout", + "aliases": "MSPointerOut", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "pointerover", + "type": "PointerEvent" + }, + { + "name": "pointercancel", + "aliases": "MSPointerCancel", + "bubbles": "1", + "dispatch": "sync", + "follows": "pointermove", + "type": "PointerEvent" + }, + { + "name": "gotpointercapture", + "aliases": "MSGotPointerCapture", + "bubbles": "1", + "dispatch": "sync", + "precedes": "lostpointercapture", + "type": "PointerEvent" + }, + { + "name": "lostpointercapture", + "aliases": "MSLostPointerCapture", + "bubbles": "1", + "dispatch": "sync", + "follows": "gotpointercapture", + "type": "PointerEvent" + }, + { + "name": "contextmenu", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "PointerEvent" + }, + { + "name": "touchstart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "touchmove", + "tags": "WinPhoneOnly", + "type": "TouchEvent" + }, + { + "name": "touchend", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "touchmove", + "tags": "WinPhoneOnly", + "type": "TouchEvent" + }, + { + "name": "touchmove", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "touchstart", + "precedes": "touchend touchcancel", + "tags": "WinPhoneOnly", + "type": "TouchEvent" + }, + { + "name": "touchcancel", + "bubbles": "1", + "dispatch": "sync", + "follows": "touchmove", + "tags": "WinPhoneOnly", + "type": "TouchEvent" + }, + { + "name": "selectstart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "select selectionchange", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "select", + "bubbles": "1", + "dispatch": "sync", + "follows": "selectstart selectionchange", + "type": "UIEvent" + }, + { + "name": "mscontrolselect", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "mscontrolresizestart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "mscontrolresizeend", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "mscontrolresizeend", + "bubbles": "1", + "dispatch": "sync", + "follows": "mscontrolresizestart", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "msbeforeeditfocus", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "keyup", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "keydown keypress", + "type": "KeyboardEvent" + }, + { + "name": "keydown", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "keyup keypress", + "type": "KeyboardEvent" + }, + { + "name": "keypress", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "keydown", + "precedes": "keyup", + "type": "KeyboardEvent" + }, + { + "name": "textInput", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "TextEvent" + }, + { + "name": "compositionstart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "compositionupdate compositionend", + "type": "CompositionEvent" + }, + { + "name": "compositionupdate", + "bubbles": "1", + "dispatch": "sync", + "follows": "compositionstart", + "precedes": "compositionend", + "type": "CompositionEvent" + }, + { + "name": "compositionend", + "bubbles": "1", + "dispatch": "sync", + "follows": "compositionstart compositionupdate", + "type": "CompositionEvent" + }, + { + "name": "drag", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "dragstart", + "precedes": "dragend", + "type": "DragEvent" + }, + { + "name": "dragstart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "drag", + "type": "DragEvent" + }, + { + "name": "dragenter", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "drag", + "precedes": "dragover drop", + "type": "DragEvent" + }, + { + "name": "dragover", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "dragenter", + "precedes": "dragleave drop", + "type": "DragEvent" + }, + { + "name": "dragleave", + "bubbles": "1", + "dispatch": "sync", + "follows": "dragover", + "precedes": "drag", + "type": "DragEvent" + }, + { + "name": "dragend", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "drag", + "type": "DragEvent" + }, + { + "name": "drop", + "bubbles": "1", + "dispatch": "sync", + "follows": "dragenter dragover", + "type": "DragEvent" + }, + { + "name": "copy", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "beforecopy", + "type": "ClipboardEvent" + }, + { + "name": "cut", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "beforecut", + "type": "ClipboardEvent" + }, + { + "name": "paste", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "beforepaste", + "type": "ClipboardEvent" + }, + { + "name": "beforecopy", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "copy", + "tags": "IEOnly", + "type": "ClipboardEvent" + }, + { + "name": "beforecut", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "cut", + "tags": "IEOnly", + "type": "ClipboardEvent" + }, + { + "name": "beforepaste", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "paste", + "tags": "IEOnly", + "type": "ClipboardEvent" + }, + { + "name": "focus", + "dispatch": "sync", + "precedes": "blur", + "type": "FocusEvent" + }, + { + "name": "blur", + "dispatch": "sync", + "follows": "focus", + "type": "FocusEvent" + }, + { + "name": "focusin", + "aliases": "DOMFocusIn", + "bubbles": "1", + "dispatch": "sync", + "precedes": "focusout", + "type": "FocusEvent" + }, + { + "name": "focusout", + "aliases": "DOMFocusOut", + "bubbles": "1", + "dispatch": "sync", + "follows": "focusin", + "type": "FocusEvent" + }, + { + "name": "activate", + "bubbles": "1", + "dispatch": "sync", + "follows": "beforeactivate", + "precedes": "beforedeactivate", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "deactivate", + "bubbles": "1", + "dispatch": "sync", + "follows": "beforedeactivate", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "beforeactivate", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "precedes": "activate", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "beforedeactivate", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "follows": "activate", + "precedes": "deactivate", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "mselementresize", + "dispatch": "sync", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "scroll", + "dispatch": "async", + "type": "UIEvent" + }, + { + "name": "MSManipulationStateChanged", + "dispatch": "async", + "tags": "IEOnly", + "type": "MSManipulationEvent" + }, + { + "name": "MSContentZoom", + "dispatch": "async", + "tags": "IEOnly", + "type": "UIEvent" + }, + { + "name": "MSRegionUpdate", + "bubbles": "1", + "dispatch": "async", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "transitionstart", + "aliases": "MSTransitionStart webkitTransitionStart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "async", + "precedes": "transitionend", + "type": "TransitionEvent" + }, + { + "name": "transitionend", + "aliases": "MSTransitionEnd webkitTransitionEnd", + "bubbles": "1", + "cancelable": "1", + "dispatch": "async", + "follows": "transitionstart", + "type": "TransitionEvent" + }, + { + "name": "animationstart", + "aliases": "MSAnimationStart webkitAnimationStart", + "bubbles": "1", + "cancelable": "1", + "dispatch": "async", + "precedes": "animationend animationiteration", + "type": "AnimationEvent" + }, + { + "name": "animationend", + "aliases": "MSAnimationEnd webkitAnimationEnd", + "bubbles": "1", + "cancelable": "1", + "dispatch": "async", + "follows": "animationstart animationiteration", + "type": "AnimationEvent" + }, + { + "name": "animationiteration", + "aliases": "MSAnimationIteration webkitAnimationIteration", + "bubbles": "1", + "cancelable": "1", + "dispatch": "async", + "follows": "animationstart", + "precedes": "animationend", + "type": "AnimationEvent" + }, + { + "name": "DOMAttrModified", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + }, + { + "name": "DOMNodeInserted", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + }, + { + "name": "DOMNodeRemoved", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + }, + { + "name": "DOMSubtreeModified", + "bubbles": "1", + "dispatch": "async-and-combine", + "type": "MutationEvent" + }, + { + "name": "overflowchanged", + "dispatch": "async", + "type": "OverflowEvent" + } + ] + }, + "implements": [ + "GlobalEventHandlers", + "ElementTraversal", + "NodeSelector", + "ChildNode" + ], + "methods": { + "method": [ + { + "name": "getAttribute", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString" + } + ] + }, + { + "name": "getAttributeNode", + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getAttributeNodeNS", + "type": "Attr", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "getAttributeNS", + "type": "DOMString", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "getBoundingClientRect", + "type": "ClientRect" + }, + { + "name": "getClientRects", + "type": "ClientRectList" + }, + { + "name": "getElementsByTagName", + "type": "NodeList", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getElementsByTagNameNS", + "type": "NodeList", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "hasAttribute", + "type": "boolean", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "hasAttributeNS", + "type": "boolean", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "msGetRegionContent", + "type": "MSRangeCollection" + }, + { + "name": "msGetUntransformedBounds", + "type": "ClientRect" + }, + { + "name": "msMatchesSelector", + "type": "boolean", + "param": [ + { + "name": "selectors", + "type": "DOMString" + } + ] + }, + { + "name": "msReleasePointerCapture", + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long" + } + ] + }, + { + "name": "msSetPointerCapture", + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long" + } + ] + }, + { + "name": "msZoomTo", + "type": "void", + "param": [ + { + "name": "args", + "type": "MsZoomToOptions" + } + ] + }, + { + "name": "releasePointerCapture", + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long" + } + ] + }, + { + "name": "removeAttribute", + "type": "void", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString" + } + ] + }, + { + "name": "removeAttributeNode", + "type": "Attr", + "param": [ + { + "name": "oldAttr", + "type": "Attr" + } + ] + }, + { + "name": "removeAttributeNS", + "type": "void", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "requestFullscreen", + "type": "void" + }, + { + "name": "requestPointerLock", + "type": "void" + }, + { + "name": "setAttribute", + "type": "void", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString" + }, + { + "name": "value", + "type": "DOMString" + } + ] + }, + { + "name": "setAttributeNode", + "type": "Attr", + "param": [ + { + "name": "newAttr", + "type": "Attr" + } + ] + }, + { + "name": "setAttributeNodeNS", + "type": "Attr", + "param": [ + { + "name": "newAttr", + "type": "Attr" + } + ] + }, + { + "name": "setAttributeNS", + "type": "void", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "qualifiedName", + "type": "DOMString" + }, + { + "name": "value", + "treat-null-as": "EmptyString", + "type": "DOMString" + } + ] + }, + { + "name": "setPointerCapture", + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long" + } + ] + }, + { + "name": "webkitMatchesSelector", + "type": "boolean", + "param": [ + { + "name": "selectors", + "type": "DOMString" + } + ] + }, + { + "name": "webkitRequestFullscreen", + "type": "void" + }, + { + "name": "webkitRequestFullScreen", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "classList", + "content-attribute": "class", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "read-only": "1", + "type": "DOMTokenList" + }, + { + "name": "className", + "content-attribute": "class", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString" + }, + { + "name": "clientHeight", + "read-only": "1", + "type": "long" + }, + { + "name": "clientLeft", + "read-only": "1", + "type": "long" + }, + { + "name": "clientTop", + "read-only": "1", + "type": "long" + }, + { + "name": "clientWidth", + "read-only": "1", + "type": "long" + }, + { + "name": "id", + "content-attribute": "id", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "innerHTML", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "msContentZoomFactor", + "type": "float" + }, + { + "name": "msRegionOverflow", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "onariarequest", + "event-handler": "ariarequest", + "type": "EventHandler" + }, + { + "name": "oncommand", + "event-handler": "command", + "type": "EventHandler" + }, + { + "name": "ongotpointercapture", + "content-attribute": "ongotpointercapture", + "content-attribute-value-syntax": "javascript", + "event-handler": "gotpointercapture", + "type": "EventHandler" + }, + { + "name": "onlostpointercapture", + "content-attribute": "onlostpointercapture", + "content-attribute-value-syntax": "javascript", + "event-handler": "lostpointercapture", + "type": "EventHandler" + }, + { + "name": "onmsgesturechange", + "content-attribute": "onmsgesturechange", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureChange", + "type": "EventHandler" + }, + { + "name": "onmsgesturedoubletap", + "content-attribute": "onmsgesturedoubletap", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureDoubleTap", + "type": "EventHandler" + }, + { + "name": "onmsgestureend", + "content-attribute": "onmsgestureend", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureEnd", + "type": "EventHandler" + }, + { + "name": "onmsgesturehold", + "content-attribute": "onmsgesturehold", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureHold", + "type": "EventHandler" + }, + { + "name": "onmsgesturestart", + "content-attribute": "onmsgesturestart", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureStart", + "type": "EventHandler" + }, + { + "name": "onmsgesturetap", + "content-attribute": "onmsgesturetap", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGestureTap", + "type": "EventHandler" + }, + { + "name": "onmsgotpointercapture", + "content-attribute": "onmsgotpointercapture", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSGotPointerCapture", + "type": "EventHandler" + }, + { + "name": "onmsinertiastart", + "content-attribute": "onmsinertiastart", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSInertiaStart", + "type": "EventHandler" + }, + { + "name": "onmslostpointercapture", + "content-attribute": "onmslostpointercapture", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSLostPointerCapture", + "type": "EventHandler" + }, + { + "name": "onmspointercancel", + "content-attribute": "onmspointercancel", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerCancel", + "type": "EventHandler" + }, + { + "name": "onmspointerdown", + "content-attribute": "onmspointerdown", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerDown", + "type": "EventHandler" + }, + { + "name": "onmspointerenter", + "content-attribute": "onmspointerenter", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerEnter", + "type": "EventHandler" + }, + { + "name": "onmspointerleave", + "content-attribute": "onmspointerleave", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerLeave", + "type": "EventHandler" + }, + { + "name": "onmspointermove", + "content-attribute": "onmspointermove", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerMove", + "type": "EventHandler" + }, + { + "name": "onmspointerout", + "content-attribute": "onmspointerout", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerOut", + "type": "EventHandler" + }, + { + "name": "onmspointerover", + "content-attribute": "onmspointerover", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerOver", + "type": "EventHandler" + }, + { + "name": "onmspointerup", + "content-attribute": "onmspointerup", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSPointerUp", + "type": "EventHandler" + }, + { + "name": "ontouchcancel", + "content-attribute": "ontouchcancel", + "content-attribute-value-syntax": "javascript", + "event-handler": "touchcancel", + "type": "EventHandler" + }, + { + "name": "ontouchend", + "content-attribute": "ontouchend", + "content-attribute-value-syntax": "javascript", + "event-handler": "touchend", + "type": "EventHandler" + }, + { + "name": "ontouchmove", + "content-attribute": "ontouchmove", + "content-attribute-value-syntax": "javascript", + "event-handler": "touchmove", + "type": "EventHandler" + }, + { + "name": "ontouchstart", + "content-attribute": "ontouchstart", + "content-attribute-value-syntax": "javascript", + "event-handler": "touchstart", + "type": "EventHandler" + }, + { + "name": "onwebkitfullscreenchange", + "event-handler": "webkitfullscreenchange", + "type": "EventHandler" + }, + { + "name": "onwebkitfullscreenerror", + "event-handler": "webkitfullscreenerror", + "type": "EventHandler" + }, + { + "name": "outerHTML", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "prefix", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "scrollHeight", + "read-only": "1", + "type": "long" + }, + { + "name": "scrollLeft", + "type": "long" + }, + { + "name": "scrollTop", + "type": "long" + }, + { + "name": "scrollWidth", + "read-only": "1", + "type": "long" + }, + { + "name": "tagName", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "ErrorEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ErrorEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initErrorEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "messageArg", + "type": "DOMString" + }, + { + "name": "filenameArg", + "type": "DOMString" + }, + { + "name": "linenoArg", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "colno", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "error", + "nullable": "1", + "read-only": "1", + "type": "any" + }, + { + "name": "filename", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "lineno", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "message", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Event", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "AT_TARGET", + "type": "unsigned short", + "value": "2" + }, + { + "name": "BUBBLING_PHASE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "CAPTURING_PHASE", + "type": "unsigned short", + "value": "1" + } + ] + }, + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "EventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initEvent", + "type": "void", + "param": [ + { + "name": "eventTypeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + } + ] + }, + { + "name": "preventDefault", + "type": "void" + }, + { + "name": "stopImmediatePropagation", + "type": "void" + }, + { + "name": "stopPropagation", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "bubbles", + "read-only": "1", + "type": "boolean" + }, + { + "name": "cancelable", + "read-only": "1", + "type": "boolean" + }, + { + "name": "cancelBubble", + "type": "boolean" + }, + { + "name": "currentTarget", + "read-only": "1", + "type": "EventTarget" + }, + { + "name": "defaultPrevented", + "read-only": "1", + "type": "boolean" + }, + { + "name": "eventPhase", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "isTrusted", + "read-only": "1", + "type": "boolean" + }, + { + "name": "returnValue", + "type": "boolean" + }, + { + "name": "srcElement", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "target", + "read-only": "1", + "type": "EventTarget" + }, + { + "name": "timeStamp", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "EventTarget", + "extends": "Object", + "methods": { + "method": [ + { + "name": "addEventListener", + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "listener", + "nullable": "1", + "optional": "1", + "type": "EventListener" + }, + { + "name": "useCapture", + "default": "FALSE", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "dispatchEvent", + "type": "boolean", + "param": [ + { + "name": "evt", + "type": "Event" + } + ] + }, + { + "name": "removeEventListener", + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "listener", + "nullable": "1", + "optional": "1", + "type": "EventListener" + }, + { + "name": "useCapture", + "default": "FALSE", + "optional": "1", + "type": "boolean" + } + ] + } + ] + } + }, + { + "name": "EXT_frag_depth", + "extends": "Object" + }, + { + "name": "EXT_texture_filter_anisotropic", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "MAX_TEXTURE_MAX_ANISOTROPY_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84FF" + }, + { + "name": "TEXTURE_MAX_ANISOTROPY_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84FE" + } + ] + } + }, + { + "name": "ExtensionScriptApis", + "extends": "Object", + "methods": { + "method": [ + { + "name": "extensionIdToShortId", + "type": "long", + "param": [ + { + "name": "extensionId", + "type": "DOMString" + } + ] + }, + { + "name": "fireExtensionApiTelemetry", + "type": "void", + "param": [ + { + "name": "functionName", + "type": "DOMString" + }, + { + "name": "isSucceeded", + "type": "boolean" + }, + { + "name": "isSupported", + "type": "boolean" + } + ] + }, + { + "name": "genericFunction", + "type": "void", + "param": [ + { + "name": "routerAddress", + "type": "object" + }, + { + "name": "parameters", + "optional": "1", + "type": "DOMString" + }, + { + "name": "callbackId", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "genericSynchronousFunction", + "type": "DOMString", + "param": [ + { + "name": "functionId", + "type": "long" + }, + { + "name": "parameters", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getExtensionId", + "type": "DOMString" + }, + { + "name": "registerGenericFunctionCallbackHandler", + "type": "void", + "param": [ + { + "name": "callbackHandler", + "type": "function" + } + ] + }, + { + "name": "registerGenericPersistentCallbackHandler", + "type": "void", + "param": [ + { + "name": "callbackHandler", + "type": "function" + } + ] + } + ] + } + }, + { + "name": "External", + "extends": "Object" + }, + { + "name": "File", + "extends": "Blob", + "properties": { + "property": [ + { + "name": "lastModifiedDate", + "read-only": "1", + "type": "any" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "webkitRelativePath", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "FileList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "File", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "FileReader", + "extends": "EventTarget", + "constructor": [ + null, + "" + ], + "events": { + "event": [ + { + "name": "load", + "dispatch": "sync", + "follows": "progress", + "precedes": "loadend", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "loadstart", + "dispatch": "sync", + "precedes": "progress", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "loadend", + "dispatch": "sync", + "follows": "load", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "progress", + "dispatch": "sync", + "follows": "loadstart", + "precedes": "load", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "abort", + "dispatch": "sync", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "ProgressEvent" + } + ] + }, + "implements": "MSBaseReader", + "methods": { + "method": [ + { + "name": "readAsArrayBuffer", + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsBinaryString", + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsDataURL", + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsText", + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob" + }, + { + "name": "encoding", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "type": "DOMError" + } + ] + } + }, + { + "name": "FocusEvent", + "extends": "UIEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "FocusEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initFocusEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "relatedTarget", + "read-only": "1", + "type": "EventTarget" + } + ] + } + }, + { + "name": "FocusNavigationEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "FocusNavigationEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "requestFocus", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "navigationReason", + "read-only": "1", + "type": "NavigationReason" + }, + { + "name": "originHeight", + "read-only": "1", + "type": "float" + }, + { + "name": "originLeft", + "read-only": "1", + "type": "float" + }, + { + "name": "originTop", + "read-only": "1", + "type": "float" + }, + { + "name": "originWidth", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "FormData", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "append", + "type": "void", + "param": [ + { + "name": "name", + "type": "any" + }, + { + "name": "value", + "type": "any" + }, + { + "name": "blobName", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "GainNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "gain", + "read-only": "1", + "type": "AudioParam" + } + ] + } + }, + { + "name": "Gamepad", + "extends": "Object", + "properties": { + "property": [ + { + "name": "axes", + "read-only": "1", + "type": "sequence" + }, + { + "name": "buttons", + "read-only": "1", + "type": "sequence" + }, + { + "name": "connected", + "read-only": "1", + "type": "boolean" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "index", + "read-only": "1", + "type": "long" + }, + { + "name": "mapping", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "timestamp", + "read-only": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "GamepadButton", + "extends": "Object", + "properties": { + "property": [ + { + "name": "pressed", + "read-only": "1", + "type": "boolean" + }, + { + "name": "value", + "read-only": "1", + "type": "double" + } + ] + } + }, + { + "name": "GamepadEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "GamepadEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "gamepad", + "read-only": "1", + "type": "Gamepad" + } + ] + } + }, + { + "name": "Geolocation", + "extends": "Object", + "methods": { + "method": [ + { + "name": "clearWatch", + "type": "void", + "param": [ + { + "name": "watchId", + "type": "long" + } + ] + }, + { + "name": "getCurrentPosition", + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "PositionCallback" + }, + { + "name": "errorCallback", + "default": "0", + "optional": "1", + "type": "PositionErrorCallback" + }, + { + "name": "options", + "default": "0", + "optional": "1", + "type": "PositionOptions" + } + ] + }, + { + "name": "watchPosition", + "type": "long", + "param": [ + { + "name": "successCallback", + "type": "PositionCallback" + }, + { + "name": "errorCallback", + "default": "0", + "optional": "1", + "type": "PositionErrorCallback" + }, + { + "name": "options", + "default": "0", + "optional": "1", + "type": "PositionOptions" + } + ] + } + ] + } + }, + { + "name": "HashChangeEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "HashChangeEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "newURL", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "oldURL", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Headers", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "init", + "optional": "1", + "type": "(Headers or sequence>)", + "type-original": "HeadersInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "append", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "ByteString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "ByteString" + } + ] + }, + { + "name": "delete", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "ByteString" + } + ] + }, + { + "name": "forEach", + "type": "void", + "param": [ + { + "name": "callback", + "type": "ForEachCallback" + } + ] + }, + { + "name": "get", + "nullable": "1", + "type": "DOMString", + "type-original": "ByteString", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "ByteString" + } + ] + }, + { + "name": "has", + "type": "boolean", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "ByteString" + } + ] + }, + { + "name": "set", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "ByteString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "ByteString" + } + ] + } + ] + } + }, + { + "name": "History", + "extends": "Object", + "methods": { + "method": [ + { + "name": "back", + "type": "void", + "param": [ + { + "name": "distance", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "forward", + "type": "void", + "param": [ + { + "name": "distance", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "go", + "type": "void", + "param": [ + { + "name": "delta", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "pushState", + "type": "void", + "param": [ + { + "name": "statedata", + "type": "any" + }, + { + "name": "title", + "optional": "1", + "type": "DOMString" + }, + { + "name": "url", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "replaceState", + "type": "void", + "param": [ + { + "name": "statedata", + "type": "any" + }, + { + "name": "title", + "optional": "1", + "type": "DOMString" + }, + { + "name": "url", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "long" + }, + { + "name": "state", + "read-only": "1", + "type": "any" + } + ] + } + }, + { + "name": "HTMLAllCollection", + "extends": "Object", + "anonymous-methods": { + "method": [ + { + "getter": "1", + "nullable": "1", + "type": "Element", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "legacy-caller": "1", + "nullable": "1", + "type": "(HTMLCollection or Element)", + "param": [ + { + "name": "nameOrIndex", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "nullable": "1", + "type": "(HTMLCollection or Element)", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "HTMLAnchorElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "a", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "charset", + "content-attribute": "charset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "character_encoding", + "type": "DOMString" + }, + { + "name": "coords", + "content-attribute": "coords", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_separated_signed_integers", + "type": "DOMString" + }, + { + "name": "download", + "content-attribute": "download", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "hash", + "type": "DOMString" + }, + { + "name": "host", + "type": "DOMString" + }, + { + "name": "hostname", + "type": "DOMString" + }, + { + "name": "href", + "content-attribute": "href", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "hreflang", + "content-attribute": "hreflang", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString" + }, + { + "name": "Methods", + "type": "DOMString" + }, + { + "name": "mimeType", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "nameProp", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "pathname", + "type": "DOMString" + }, + { + "name": "port", + "type": "DOMString" + }, + { + "name": "protocol", + "type": "DOMString" + }, + { + "name": "protocolLong", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "rel", + "content-attribute": "rel", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString" + }, + { + "name": "rev", + "content-attribute": "rev", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString" + }, + { + "name": "search", + "type": "DOMString" + }, + { + "name": "shape", + "content-attribute": "shape", + "content-attribute-enum-values": "circ circle poly polygon rect rectangle", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "text", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "urn", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLAppletElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "applet", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "alt", + "content-attribute": "alt", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "altHtml", + "type": "DOMString" + }, + { + "name": "archive", + "content-attribute": "archive", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "BaseHref", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "code", + "content-attribute": "code", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "codeBase", + "content-attribute": "codebase", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "codeType", + "type": "DOMString" + }, + { + "name": "contentDocument", + "read-only": "1", + "type": "Document" + }, + { + "name": "data", + "type": "DOMString" + }, + { + "name": "declare", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "object", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "standby", + "type": "DOMString" + }, + { + "name": "type", + "type": "DOMString" + }, + { + "name": "useMap", + "type": "DOMString" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + } + ] + } + }, + { + "name": "HTMLAreaElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "area", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "alt", + "content-attribute": "alt", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "coords", + "content-attribute": "coords", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_separated_signed_integers", + "type": "DOMString" + }, + { + "name": "download", + "content-attribute": "download", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "hash", + "type": "DOMString" + }, + { + "name": "host", + "type": "DOMString" + }, + { + "name": "hostname", + "type": "DOMString" + }, + { + "name": "href", + "content-attribute": "href", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "noHref", + "content-attribute": "nohref", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "pathname", + "type": "DOMString" + }, + { + "name": "port", + "type": "DOMString" + }, + { + "name": "protocol", + "type": "DOMString" + }, + { + "name": "rel", + "content-attribute": "rel", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString" + }, + { + "name": "search", + "type": "DOMString" + }, + { + "name": "shape", + "content-attribute": "shape", + "content-attribute-enum-values": "circ circle poly polygon rect rectangle", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLAreasCollection", + "extends": "HTMLCollection" + }, + { + "name": "HTMLAudioElement", + "extends": "HTMLMediaElement", + "element": [ + { + "name": "audio", + "namespace": "HTML" + } + ], + "named-constructor": { + "name": "Audio", + "param": [ + { + "name": "src", + "optional": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLBaseElement", + "extends": "HTMLElement", + "element": [ + { + "name": "base", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "href", + "content-attribute": "href", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLBaseFontElement", + "extends": "HTMLElement", + "element": [ + { + "name": "basefont", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "implements": "DOML2DeprecatedColorProperty", + "properties": { + "property": [ + { + "name": "face", + "content-attribute": "face", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "font_family", + "type": "DOMString" + }, + { + "name": "size", + "content-attribute": "size", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "long" + } + ] + } + }, + { + "name": "HTMLBodyElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "body", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "offline", + "bubbles": "1", + "dispatch": "async", + "type": "Event" + }, + { + "name": "online", + "bubbles": "1", + "dispatch": "async", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "aLink", + "content-attribute": "alink", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "background", + "content-attribute": "background", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "DOMString" + }, + { + "name": "bgColor", + "content-attribute": "bgcolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "bgProperties", + "type": "DOMString" + }, + { + "name": "link", + "content-attribute": "link", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "noWrap", + "content-attribute": "nowrap", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "onafterprint", + "content-attribute": "onafterprint", + "content-attribute-value-syntax": "javascript", + "event-handler": "afterprint", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onbeforeprint", + "content-attribute": "onbeforeprint", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforeprint", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onbeforeunload", + "content-attribute": "onbeforeunload", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforeunload", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onblur", + "event-handler": "blur", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onfocus", + "event-handler": "focus", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onhashchange", + "content-attribute": "onhashchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "hashchange", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onmessage", + "content-attribute": "onmessage", + "content-attribute-value-syntax": "javascript", + "event-handler": "message", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onoffline", + "content-attribute": "onoffline", + "content-attribute-value-syntax": "javascript", + "event-handler": "offline", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "ononline", + "content-attribute": "ononline", + "content-attribute-value-syntax": "javascript", + "event-handler": "online", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onorientationchange", + "content-attribute": "onorientationchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "orientationchange", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpagehide", + "content-attribute": "onpagehide", + "content-attribute-value-syntax": "javascript", + "event-handler": "pagehide", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpageshow", + "content-attribute": "onpageshow", + "content-attribute-value-syntax": "javascript", + "event-handler": "pageshow", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpopstate", + "content-attribute": "onpopstate", + "content-attribute-value-syntax": "javascript", + "event-handler": "popstate", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onresize", + "event-handler": "resize", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onscroll", + "event-handler": "scroll", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onstorage", + "content-attribute": "onstorage", + "content-attribute-value-syntax": "javascript", + "event-handler": "storage", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onunload", + "content-attribute": "onunload", + "content-attribute-value-syntax": "javascript", + "event-handler": "unload", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "text", + "content-attribute": "text", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "vLink", + "content-attribute": "vlink", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + } + ] + } + }, + { + "name": "HTMLBRElement", + "extends": "HTMLElement", + "element": [ + { + "name": "br", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "clear", + "content-attribute": "clear", + "content-attribute-enum-values": "all both left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLButtonElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "button", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "autofocus", + "content-attribute": "autofocus", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "formAction", + "content-attribute": "formaction", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "formEnctype", + "content-attribute": "formenctype", + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "formMethod", + "content-attribute": "formmethod", + "content-attribute-enum-values": "GET POST", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "formNoValidate", + "content-attribute": "formnovalidate", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "formTarget", + "content-attribute": "formtarget", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "status", + "type": "any" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "button submit reset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLCanvasElement", + "extends": "HTMLElement", + "element": [ + { + "name": "canvas", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "webglcontextlost", + "dispatch": "async", + "precedes": "webglcontextrestored", + "type": "WebGLContextEvent" + }, + { + "name": "webglcontextrestored", + "dispatch": "async", + "follows": "webglcontextlost", + "type": "WebGLContextEvent" + }, + { + "name": "webglcontextcreationerror", + "dispatch": "async", + "type": "WebGLContextEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "getContext", + "type": "(CanvasRenderingContext2D or WebGLRenderingContext)", + "param": [ + { + "name": "contextId", + "type": "DOMString" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "msToBlob", + "type": "Blob" + }, + { + "name": "toDataURL", + "type": "DOMString", + "param": [ + { + "name": "type", + "default": "\"image/png\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + } + ] + } + }, + { + "name": "HTMLCollection", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "nullable": "1", + "type": "Element", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "nullable": "1", + "type": "Element", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "HTMLDataElement", + "extends": "HTMLElement", + "element": [ + { + "name": "data", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLDataListElement", + "extends": "HTMLElement", + "element": [ + { + "name": "datalist", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "options", + "read-only": "1", + "type": "HTMLCollection" + } + ] + } + }, + { + "name": "HTMLDirectoryElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "dir", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "compact", + "content-attribute": "compact", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLDivElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "div", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "noWrap", + "content-attribute": "nowrap", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLDListElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "dl", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "compact", + "content-attribute": "compact", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLDocument", + "extends": "Document" + }, + { + "name": "HTMLElement", + "extends": "Element", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "x-ms-acceleratorkey" + }, + { + "enum-values": "all none phone", + "name": "x-ms-format-detection", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "noframes", + "namespace": "HTML" + }, + { + "name": "noscript", + "namespace": "HTML" + }, + { + "name": "wbr", + "html-self-closing": "1", + "namespace": "HTML" + }, + { + "name": "section", + "namespace": "HTML" + }, + { + "name": "nav", + "namespace": "HTML" + }, + { + "name": "article", + "namespace": "HTML" + }, + { + "name": "aside", + "namespace": "HTML" + }, + { + "name": "hgroup", + "namespace": "HTML" + }, + { + "name": "header", + "namespace": "HTML" + }, + { + "name": "footer", + "namespace": "HTML" + }, + { + "name": "figure", + "namespace": "HTML" + }, + { + "name": "figcaption", + "namespace": "HTML" + }, + { + "name": "mark", + "namespace": "HTML" + }, + { + "name": "dd", + "namespace": "HTML" + }, + { + "name": "dt", + "namespace": "HTML" + }, + { + "name": "abbr", + "namespace": "HTML" + }, + { + "name": "acronym", + "namespace": "HTML" + }, + { + "name": "b", + "namespace": "HTML" + }, + { + "name": "bdo", + "namespace": "HTML" + }, + { + "name": "big", + "namespace": "HTML" + }, + { + "name": "cite", + "namespace": "HTML" + }, + { + "name": "code", + "namespace": "HTML" + }, + { + "name": "dfn", + "namespace": "HTML" + }, + { + "name": "em", + "namespace": "HTML" + }, + { + "name": "i", + "namespace": "HTML" + }, + { + "name": "kbd", + "namespace": "HTML" + }, + { + "name": "nobr", + "namespace": "HTML" + }, + { + "name": "rt", + "namespace": "HTML" + }, + { + "name": "ruby", + "namespace": "HTML" + }, + { + "name": "s", + "namespace": "HTML" + }, + { + "name": "samp", + "namespace": "HTML" + }, + { + "name": "small", + "namespace": "HTML" + }, + { + "name": "strike", + "namespace": "HTML" + }, + { + "name": "strong", + "namespace": "HTML" + }, + { + "name": "sub", + "namespace": "HTML" + }, + { + "name": "sup", + "namespace": "HTML" + }, + { + "name": "tt", + "namespace": "HTML" + }, + { + "name": "u", + "namespace": "HTML" + }, + { + "name": "var", + "namespace": "HTML" + }, + { + "name": "address", + "namespace": "HTML" + }, + { + "name": "center", + "namespace": "HTML" + }, + { + "name": "keygen", + "html-self-closing": "1", + "namespace": "HTML" + }, + { + "name": "plaintext", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "blur", + "type": "void" + }, + { + "name": "click", + "type": "void" + }, + { + "name": "dragDrop", + "type": "boolean" + }, + { + "name": "focus", + "type": "void" + }, + { + "name": "getElementsByClassName", + "type": "NodeList", + "param": [ + { + "name": "classNames", + "type": "DOMString" + } + ] + }, + { + "name": "insertAdjacentElement", + "type": "Element", + "param": [ + { + "name": "position", + "type": "DOMString" + }, + { + "name": "insertedElement", + "type": "Element" + } + ] + }, + { + "name": "insertAdjacentHTML", + "type": "void", + "param": [ + { + "name": "where", + "type": "DOMString" + }, + { + "name": "html", + "type": "DOMString" + } + ] + }, + { + "name": "insertAdjacentText", + "type": "void", + "param": [ + { + "name": "where", + "type": "DOMString" + }, + { + "name": "text", + "type": "DOMString" + } + ] + }, + { + "name": "msGetInputContext", + "type": "MSInputMethodContext" + }, + { + "name": "scrollIntoView", + "type": "void", + "param": [ + { + "name": "top", + "default": "VARIANT_TRUE", + "optional": "1", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "accessKey", + "content-attribute": "accesskey", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString" + }, + { + "name": "children", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "contentEditable", + "content-attribute": "contenteditable", + "content-attribute-enum-values": "true false", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "dataset", + "content-attribute": "data-", + "content-attribute-reflects": "1", + "read-only": "1", + "type": "DOMStringMap" + }, + { + "name": "dir", + "content-attribute": "dir", + "content-attribute-enum-values": "ltr rtl auto", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "draggable", + "content-attribute": "draggable", + "content-attribute-enum-values": "true false", + "content-attribute-value-syntax": "enum", + "type": "boolean" + }, + { + "name": "hidden", + "type": "boolean" + }, + { + "name": "hideFocus", + "content-attribute": "hidefocus", + "content-attribute-enum-values": "false true", + "content-attribute-value-syntax": "enum", + "type": "boolean" + }, + { + "name": "innerText", + "type": "DOMString" + }, + { + "name": "isContentEditable", + "read-only": "1", + "type": "boolean" + }, + { + "name": "lang", + "content-attribute": "lang", + "content-attribute-aliases": "language", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString" + }, + { + "name": "offsetHeight", + "read-only": "1", + "type": "long" + }, + { + "name": "offsetLeft", + "read-only": "1", + "type": "long" + }, + { + "name": "offsetParent", + "read-only": "1", + "type": "Element" + }, + { + "name": "offsetTop", + "read-only": "1", + "type": "long" + }, + { + "name": "offsetWidth", + "read-only": "1", + "type": "long" + }, + { + "name": "onabort", + "content-attribute": "onabort", + "content-attribute-value-syntax": "javascript", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onactivate", + "content-attribute": "onactivate", + "content-attribute-value-syntax": "javascript", + "event-handler": "activate", + "type": "EventHandler" + }, + { + "name": "onbeforeactivate", + "content-attribute": "onbeforeactivate", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforeactivate", + "type": "EventHandler" + }, + { + "name": "onbeforecopy", + "content-attribute": "onbeforecopy", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforecopy", + "type": "EventHandler" + }, + { + "name": "onbeforecut", + "content-attribute": "onbeforecut", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforecut", + "type": "EventHandler" + }, + { + "name": "onbeforedeactivate", + "content-attribute": "onbeforedeactivate", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforedeactivate", + "type": "EventHandler" + }, + { + "name": "onbeforepaste", + "content-attribute": "onbeforepaste", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforepaste", + "type": "EventHandler" + }, + { + "name": "onblur", + "content-attribute": "onblur", + "content-attribute-value-syntax": "javascript", + "event-handler": "blur", + "type": "EventHandler" + }, + { + "name": "oncanplay", + "content-attribute": "oncanplay", + "content-attribute-value-syntax": "javascript", + "event-handler": "canplay", + "type": "EventHandler" + }, + { + "name": "oncanplaythrough", + "content-attribute": "oncanplaythrough", + "content-attribute-value-syntax": "javascript", + "event-handler": "canplaythrough", + "type": "EventHandler" + }, + { + "name": "onchange", + "content-attribute": "onchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "change", + "type": "EventHandler" + }, + { + "name": "onclick", + "content-attribute": "onclick", + "content-attribute-value-syntax": "javascript", + "event-handler": "click", + "type": "EventHandler" + }, + { + "name": "oncontextmenu", + "content-attribute": "oncontextmenu", + "content-attribute-value-syntax": "javascript", + "event-handler": "contextmenu", + "type": "EventHandler" + }, + { + "name": "oncopy", + "content-attribute": "oncopy", + "content-attribute-value-syntax": "javascript", + "event-handler": "copy", + "type": "EventHandler" + }, + { + "name": "oncuechange", + "event-handler": "cuechange", + "type": "EventHandler" + }, + { + "name": "oncut", + "content-attribute": "oncut", + "content-attribute-value-syntax": "javascript", + "event-handler": "cut", + "type": "EventHandler" + }, + { + "name": "ondblclick", + "content-attribute": "ondblclick", + "content-attribute-value-syntax": "javascript", + "event-handler": "dblclick", + "type": "EventHandler" + }, + { + "name": "ondeactivate", + "content-attribute": "ondeactivate", + "content-attribute-value-syntax": "javascript", + "event-handler": "deactivate", + "type": "EventHandler" + }, + { + "name": "ondrag", + "content-attribute": "ondrag", + "content-attribute-value-syntax": "javascript", + "event-handler": "drag", + "type": "EventHandler" + }, + { + "name": "ondragend", + "content-attribute": "ondragend", + "content-attribute-value-syntax": "javascript", + "event-handler": "dragend", + "type": "EventHandler" + }, + { + "name": "ondragenter", + "content-attribute": "ondragenter", + "content-attribute-value-syntax": "javascript", + "event-handler": "dragenter", + "type": "EventHandler" + }, + { + "name": "ondragleave", + "content-attribute": "ondragleave", + "content-attribute-value-syntax": "javascript", + "event-handler": "dragleave", + "type": "EventHandler" + }, + { + "name": "ondragover", + "content-attribute": "ondragover", + "content-attribute-value-syntax": "javascript", + "event-handler": "dragover", + "type": "EventHandler" + }, + { + "name": "ondragstart", + "content-attribute": "ondragstart", + "content-attribute-value-syntax": "javascript", + "event-handler": "dragstart", + "type": "EventHandler" + }, + { + "name": "ondrop", + "content-attribute": "ondrop", + "content-attribute-value-syntax": "javascript", + "event-handler": "drop", + "type": "EventHandler" + }, + { + "name": "ondurationchange", + "content-attribute": "ondurationchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "durationchange", + "type": "EventHandler" + }, + { + "name": "onemptied", + "content-attribute": "onemptied", + "content-attribute-value-syntax": "javascript", + "event-handler": "emptied", + "type": "EventHandler" + }, + { + "name": "onended", + "content-attribute": "onended", + "content-attribute-value-syntax": "javascript", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "onerror", + "content-attribute": "onerror", + "content-attribute-value-syntax": "javascript", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onfocus", + "content-attribute": "onfocus", + "content-attribute-value-syntax": "javascript", + "event-handler": "focus", + "type": "EventHandler" + }, + { + "name": "oninput", + "content-attribute": "oninput", + "content-attribute-value-syntax": "javascript", + "event-handler": "input", + "type": "EventHandler" + }, + { + "name": "oninvalid", + "event-handler": "invalid", + "type": "EventHandler" + }, + { + "name": "onkeydown", + "content-attribute": "onkeydown", + "content-attribute-value-syntax": "javascript", + "event-handler": "keydown", + "type": "EventHandler" + }, + { + "name": "onkeypress", + "content-attribute": "onkeypress", + "content-attribute-value-syntax": "javascript", + "event-handler": "keypress", + "type": "EventHandler" + }, + { + "name": "onkeyup", + "content-attribute": "onkeyup", + "content-attribute-value-syntax": "javascript", + "event-handler": "keyup", + "type": "EventHandler" + }, + { + "name": "onload", + "content-attribute": "onload", + "content-attribute-value-syntax": "javascript", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onloadeddata", + "content-attribute": "onloadeddata", + "content-attribute-value-syntax": "javascript", + "event-handler": "loadeddata", + "type": "EventHandler" + }, + { + "name": "onloadedmetadata", + "content-attribute": "onloadedmetadata", + "content-attribute-value-syntax": "javascript", + "event-handler": "loadedmetadata", + "type": "EventHandler" + }, + { + "name": "onloadstart", + "content-attribute": "onloadstart", + "content-attribute-value-syntax": "javascript", + "event-handler": "loadstart", + "type": "EventHandler" + }, + { + "name": "onmousedown", + "content-attribute": "onmousedown", + "content-attribute-value-syntax": "javascript", + "event-handler": "mousedown", + "type": "EventHandler" + }, + { + "name": "onmouseenter", + "content-attribute": "onmouseenter", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseenter", + "type": "EventHandler" + }, + { + "name": "onmouseleave", + "content-attribute": "onmouseleave", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseleave", + "type": "EventHandler" + }, + { + "name": "onmousemove", + "content-attribute": "onmousemove", + "content-attribute-value-syntax": "javascript", + "event-handler": "mousemove", + "type": "EventHandler" + }, + { + "name": "onmouseout", + "content-attribute": "onmouseout", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseout", + "type": "EventHandler" + }, + { + "name": "onmouseover", + "content-attribute": "onmouseover", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseover", + "type": "EventHandler" + }, + { + "name": "onmouseup", + "content-attribute": "onmouseup", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseup", + "type": "EventHandler" + }, + { + "name": "onmousewheel", + "content-attribute": "onmousewheel", + "content-attribute-value-syntax": "javascript", + "event-handler": "mousewheel", + "type": "EventHandler" + }, + { + "name": "onmscontentzoom", + "content-attribute": "onmscontentzoom", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSContentZoom", + "type": "EventHandler" + }, + { + "name": "onmsmanipulationstatechanged", + "content-attribute": "onmsmanipulationstatechanged", + "content-attribute-value-syntax": "javascript", + "event-handler": "MSManipulationStateChanged", + "type": "EventHandler" + }, + { + "name": "onpaste", + "content-attribute": "onpaste", + "content-attribute-value-syntax": "javascript", + "event-handler": "paste", + "type": "EventHandler" + }, + { + "name": "onpause", + "content-attribute": "onpause", + "content-attribute-value-syntax": "javascript", + "event-handler": "pause", + "type": "EventHandler" + }, + { + "name": "onplay", + "content-attribute": "onplay", + "content-attribute-value-syntax": "javascript", + "event-handler": "play", + "type": "EventHandler" + }, + { + "name": "onplaying", + "content-attribute": "onplaying", + "content-attribute-value-syntax": "javascript", + "event-handler": "playing", + "type": "EventHandler" + }, + { + "name": "onprogress", + "content-attribute": "onprogress", + "content-attribute-value-syntax": "javascript", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "onratechange", + "content-attribute": "onratechange", + "content-attribute-value-syntax": "javascript", + "event-handler": "ratechange", + "type": "EventHandler" + }, + { + "name": "onreset", + "content-attribute": "onreset", + "content-attribute-value-syntax": "javascript", + "event-handler": "reset", + "type": "EventHandler" + }, + { + "name": "onscroll", + "content-attribute": "onscroll", + "content-attribute-value-syntax": "javascript", + "event-handler": "scroll", + "type": "EventHandler" + }, + { + "name": "onseeked", + "content-attribute": "onseeked", + "content-attribute-value-syntax": "javascript", + "event-handler": "seeked", + "type": "EventHandler" + }, + { + "name": "onseeking", + "content-attribute": "onseeking", + "content-attribute-value-syntax": "javascript", + "event-handler": "seeking", + "type": "EventHandler" + }, + { + "name": "onselect", + "content-attribute": "onselect", + "content-attribute-value-syntax": "javascript", + "event-handler": "select", + "type": "EventHandler" + }, + { + "name": "onselectstart", + "content-attribute": "onselectstart", + "content-attribute-value-syntax": "javascript", + "event-handler": "selectstart", + "type": "EventHandler" + }, + { + "name": "onstalled", + "content-attribute": "onstalled", + "content-attribute-value-syntax": "javascript", + "event-handler": "stalled", + "type": "EventHandler" + }, + { + "name": "onsubmit", + "content-attribute": "onsubmit", + "content-attribute-value-syntax": "javascript", + "event-handler": "submit", + "type": "EventHandler" + }, + { + "name": "onsuspend", + "content-attribute": "onsuspend", + "content-attribute-value-syntax": "javascript", + "event-handler": "suspend", + "type": "EventHandler" + }, + { + "name": "ontimeupdate", + "content-attribute": "ontimeupdate", + "content-attribute-value-syntax": "javascript", + "event-handler": "timeupdate", + "type": "EventHandler" + }, + { + "name": "onvolumechange", + "content-attribute": "onvolumechange", + "content-attribute-value-syntax": "javascript", + "event-handler": "volumechange", + "type": "EventHandler" + }, + { + "name": "onwaiting", + "content-attribute": "onwaiting", + "content-attribute-value-syntax": "javascript", + "event-handler": "waiting", + "type": "EventHandler" + }, + { + "name": "outerText", + "type": "DOMString" + }, + { + "name": "spellcheck", + "content-attribute": "spellcheck", + "content-attribute-enum-values": "true false", + "content-attribute-value-syntax": "enum", + "type": "boolean" + }, + { + "name": "style", + "content-attribute": "style", + "content-attribute-value-syntax": "css", + "read-only": "1", + "type": "CSSStyleDeclaration" + }, + { + "name": "tabIndex", + "content-attribute": "tabindex", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "short" + }, + { + "name": "title", + "content-attribute": "title", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLEmbedElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "embed", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "implements": "GetSVGDocument", + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hidden", + "content-attribute": "hidden", + "content-attribute-enum-values": "false true", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "msPlayToDisabled", + "content-attribute": "x-ms-playtodisabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToPreferredSourceUri", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "msPlayToPrimary", + "content-attribute": "x-ms-playtoprimary", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToSource", + "read-only": "1", + "type": "any" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "palette", + "content-attribute": "palette", + "content-attribute-reflects": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "pluginspage", + "content-attribute": "pluginspage", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "readyState", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "units", + "content-attribute": "units", + "content-attribute-enum-values": "px em", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLFieldSetElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "fieldset", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLFontElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "font", + "namespace": "HTML" + } + ], + "implements": [ + "DOML2DeprecatedColorProperty", + "DOML2DeprecatedSizeProperty" + ], + "properties": { + "property": [ + { + "name": "face", + "content-attribute": "face", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "font_family", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLFormControlsCollection", + "extends": "HTMLCollection", + "methods": { + "method": [ + { + "name": "namedItem", + "getter": "1", + "nullable": "1", + "type": "(HTMLCollection or Element)", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "HTMLFormElement", + "extends": "HTMLElement", + "override-builtins": "1", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "form", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "reset", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "submit", + "bubbles": "1", + "cancelable": "1", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "item", + "getter": "1", + "type": "any", + "param": [ + { + "name": "name", + "optional": "1", + "type": "any" + }, + { + "name": "index", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "reset", + "type": "void" + }, + { + "name": "submit", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "acceptCharset", + "content-attribute": "accept-charset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString" + }, + { + "name": "action", + "content-attribute": "action", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "autocomplete", + "content-attribute": "autocomplete", + "content-attribute-enum-values": "on off", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "elements", + "read-only": "1", + "type": "HTMLFormControlsCollection" + }, + { + "name": "encoding", + "content-attribute": "enctype", + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "enctype", + "content-attribute": "enctype", + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "length", + "read-only": "1", + "type": "long" + }, + { + "name": "method", + "content-attribute": "method", + "content-attribute-enum-values": "GET POST", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "noValidate", + "content-attribute": "novalidate", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLFrameElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "frame", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "load", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "implements": "GetSVGDocument", + "properties": { + "property": [ + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "borderColor", + "content-attribute": "bordercolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "contentDocument", + "read-only": "1", + "type": "Document" + }, + { + "name": "contentWindow", + "read-only": "1", + "type": "Window" + }, + { + "name": "frameBorder", + "content-attribute": "frameborder", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "frameSpacing", + "content-attribute": "framespacing", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "any" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "(DOMString or unsigned long)" + }, + { + "name": "longDesc", + "content-attribute": "longdesc", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "marginHeight", + "content-attribute": "marginheight", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "DOMString" + }, + { + "name": "marginWidth", + "content-attribute": "marginwidth", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "noResize", + "content-attribute": "noresize", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "scrolling", + "content-attribute": "scrolling", + "content-attribute-enum-values": "auto no yes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "(DOMString or unsigned long)" + } + ] + } + }, + { + "name": "HTMLFrameSetElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "frameset", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "borderColor", + "content-attribute": "bordercolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "cols", + "content-attribute": "cols", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "DOMString" + }, + { + "name": "frameBorder", + "content-attribute": "frameborder", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "frameSpacing", + "content-attribute": "framespacing", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "any" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "onafterprint", + "content-attribute": "onafterprint", + "content-attribute-value-syntax": "javascript", + "event-handler": "afterprint", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onbeforeprint", + "content-attribute": "onbeforeprint", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforeprint", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onbeforeunload", + "content-attribute": "onbeforeunload", + "content-attribute-value-syntax": "javascript", + "event-handler": "beforeunload", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onblur", + "event-handler": "blur", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onfocus", + "event-handler": "focus", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onhashchange", + "content-attribute": "onhashchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "hashchange", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onmessage", + "content-attribute": "onmessage", + "content-attribute-value-syntax": "javascript", + "event-handler": "message", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onoffline", + "content-attribute": "onoffline", + "content-attribute-value-syntax": "javascript", + "event-handler": "offline", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "ononline", + "content-attribute": "ononline", + "content-attribute-value-syntax": "javascript", + "event-handler": "online", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onorientationchange", + "content-attribute": "onorientationchange", + "content-attribute-value-syntax": "javascript", + "event-handler": "orientationchange", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpagehide", + "content-attribute": "onpagehide", + "content-attribute-value-syntax": "javascript", + "event-handler": "pagehide", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpageshow", + "content-attribute": "onpageshow", + "content-attribute-value-syntax": "javascript", + "event-handler": "pageshow", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onpopstate", + "content-attribute": "onpopstate", + "content-attribute-value-syntax": "javascript", + "event-handler": "popstate", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onresize", + "event-handler": "resize", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onscroll", + "event-handler": "scroll", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onstorage", + "content-attribute": "onstorage", + "content-attribute-value-syntax": "javascript", + "event-handler": "storage", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "onunload", + "content-attribute": "onunload", + "content-attribute-value-syntax": "javascript", + "event-handler": "unload", + "event-handler-map-to-window": "1", + "type": "EventHandler" + }, + { + "name": "rows", + "content-attribute": "rows", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLHeadElement", + "extends": "HTMLElement", + "element": [ + { + "name": "head", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "profile", + "content-attribute": "profile", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLHeadingElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "h1", + "namespace": "HTML" + }, + { + "name": "h2", + "namespace": "HTML" + }, + { + "name": "h3", + "namespace": "HTML" + }, + { + "name": "h4", + "namespace": "HTML" + }, + { + "name": "h5", + "namespace": "HTML" + }, + { + "name": "h6", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLHRElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "hr", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "implements": [ + "DOML2DeprecatedColorProperty", + "DOML2DeprecatedSizeProperty" + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "noShade", + "content-attribute": "noshade", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + } + ] + } + }, + { + "name": "HTMLHtmlElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "manifest", + "value-syntax": "url" + } + ] + }, + "element": [ + { + "name": "html", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "version", + "content-attribute": "version", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLIFrameElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "iframe", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "load", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "implements": "GetSVGDocument", + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "allowFullscreen", + "content-attribute": "allowfullscreen", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "allowPaymentRequest", + "content-attribute": "allowPaymentRequest", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "contentDocument", + "read-only": "1", + "type": "Document" + }, + { + "name": "contentWindow", + "read-only": "1", + "type": "Window" + }, + { + "name": "frameBorder", + "content-attribute": "frameborder", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "frameSpacing", + "content-attribute": "framespacing", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "any" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "longDesc", + "content-attribute": "longdesc", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "marginHeight", + "content-attribute": "marginheight", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "DOMString" + }, + { + "name": "marginWidth", + "content-attribute": "marginwidth", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "noResize", + "content-attribute": "noresize", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "sandbox", + "content-attribute": "sandbox", + "content-attribute-enum-values": "allow-scripts allow-forms allow-same-origin allow-top-navigation allow-popups allow-pointer-lock", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "put-forwards": "value", + "read-only": "1", + "type": "DOMSettableTokenList" + }, + { + "name": "scrolling", + "content-attribute": "scrolling", + "content-attribute-enum-values": "auto no yes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLImageElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "img", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "msGetAsCastingSource", + "type": "any" + } + ] + }, + "named-constructor": { + "name": "Image", + "param": [ + { + "name": "width", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "height", + "optional": "1", + "type": "unsigned long" + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "alt", + "content-attribute": "alt", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "complete", + "read-only": "1", + "type": "boolean" + }, + { + "name": "crossOrigin", + "content-attribute": "crossorigin", + "content-attribute-enum-values": "anonymous use-credentials", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "currentSrc", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "isMap", + "content-attribute": "ismap", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "longDesc", + "content-attribute": "longdesc", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "lowsrc", + "content-attribute": "lowsrc", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "msPlayToDisabled", + "content-attribute": "x-ms-playtodisabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToPreferredSourceUri", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "msPlayToPrimary", + "content-attribute": "x-ms-playtoprimary", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToSource", + "read-only": "1", + "type": "any" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "naturalHeight", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "naturalWidth", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "sizes", + "content-attribute": "sizes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "image_sizes", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "srcset", + "content-attribute": "srcset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "image_candidates", + "type": "DOMString" + }, + { + "name": "useMap", + "content-attribute": "usemap", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "hash_name_ref", + "type": "DOMString" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "x", + "read-only": "1", + "type": "long" + }, + { + "name": "y", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "HTMLInputElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "input", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "change", + "bubbles": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "input", + "bubbles": "1", + "dispatch": "async", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "invalid", + "cancelable": "1", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "select", + "type": "void" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + }, + { + "name": "setSelectionRange", + "type": "void", + "param": [ + { + "name": "start", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "end", + "optional": "1", + "type": "unsigned long" + }, + { + "name": "direction", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "stepDown", + "type": "void", + "param": [ + { + "name": "n", + "default": "1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "stepUp", + "type": "void", + "param": [ + { + "name": "n", + "default": "1", + "optional": "1", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "accept", + "content-attribute": "accept", + "content-attribute-enum-values": "audio/* video/* image/*", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_separated_mime_types", + "type": "DOMString" + }, + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "alt", + "content-attribute": "alt", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "autocomplete", + "content-attribute": "autocomplete", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString" + }, + { + "name": "autofocus", + "content-attribute": "autofocus", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "checked", + "type": "boolean" + }, + { + "name": "complete", + "read-only": "1", + "type": "boolean" + }, + { + "name": "defaultChecked", + "content-attribute": "checked", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "defaultValue", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "files", + "read-only": "1", + "type": "FileList" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "formAction", + "content-attribute": "formaction", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "formEnctype", + "content-attribute": "formenctype", + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "formMethod", + "content-attribute": "formmethod", + "content-attribute-enum-values": "GET POST", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "formNoValidate", + "content-attribute": "formnovalidate", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "formTarget", + "content-attribute": "formtarget", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "indeterminate", + "type": "boolean" + }, + { + "name": "list", + "content-attribute": "list", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "id_ref", + "read-only": "1", + "type": "HTMLElement" + }, + { + "name": "max", + "content-attribute": "max", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "maxLength", + "content-attribute": "maxlength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "min", + "content-attribute": "min", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "multiple", + "content-attribute": "multiple", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "pattern", + "content-attribute": "pattern", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "regular_expression", + "type": "DOMString" + }, + { + "name": "placeholder", + "content-attribute": "placeholder", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "readOnly", + "content-attribute": "readonly", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "required", + "content-attribute": "required", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "selectionDirection", + "type": "DOMString" + }, + { + "name": "selectionEnd", + "type": "unsigned long" + }, + { + "name": "selectionStart", + "type": "unsigned long" + }, + { + "name": "size", + "content-attribute": "size", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "status", + "type": "boolean" + }, + { + "name": "step", + "content-attribute": "step", + "content-attribute-enum-values": "any", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "text hidden search tel url email password month week number range checkbox radio file submit image reset button", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "useMap", + "content-attribute": "usemap", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "hash_name_ref", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "value", + "type": "DOMString" + }, + { + "name": "valueAsDate", + "type": "Date" + }, + { + "name": "valueAsNumber", + "type": "double" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "webkitdirectory", + "content-attribute": "webkitdirectory", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLLabelElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "label", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "htmlFor", + "content-attribute": "for", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "id_ref", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLLegendElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "legend", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "bottom center left right top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + } + ] + } + }, + { + "name": "HTMLLIElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "li", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "1 a A i I disc circle square", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "long" + } + ] + } + }, + { + "name": "HTMLLinkElement", + "extends": "HTMLElement", + "element": [ + { + "name": "link", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "async", + "type": "Event" + }, + { + "name": "load", + "dispatch": "async", + "follows": "readystatechange", + "skips-window": "1", + "type": "Event" + }, + { + "name": "readystatechange", + "dispatch": "async", + "precedes": "load", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "implements": "LinkStyle", + "properties": { + "property": [ + { + "name": "charset", + "content-attribute": "charset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "character_encoding", + "type": "DOMString" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "href", + "content-attribute": "href", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "hreflang", + "content-attribute": "hreflang", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString" + }, + { + "name": "media", + "content-attribute": "media", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "media_query", + "type": "DOMString" + }, + { + "name": "rel", + "content-attribute": "rel", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next offline prefetch preload prev search section start stylesheet subsection shortcut_icon", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString" + }, + { + "name": "rev", + "content-attribute": "rev", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString" + }, + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLMapElement", + "extends": "HTMLElement", + "element": [ + { + "name": "map", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "areas", + "read-only": "1", + "type": "HTMLAreasCollection" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLMarqueeElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "marquee", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "bounce", + "dispatch": "sync", + "follows": "start", + "precedes": "finish", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "start", + "dispatch": "sync", + "precedes": "bounce finish", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "finish", + "dispatch": "sync", + "follows": "start bounce", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "start", + "type": "void" + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "behavior", + "content-attribute": "behavior", + "content-attribute-enum-values": "scroll slide alternate", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "bgColor", + "content-attribute": "bgcolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "direction", + "content-attribute": "direction", + "content-attribute-enum-values": "left right up down", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "loop", + "content-attribute": "loop", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "long" + }, + { + "name": "onbounce", + "content-attribute": "onbounce", + "content-attribute-value-syntax": "javascript", + "event-handler": "bounce", + "type": "EventHandler" + }, + { + "name": "onfinish", + "content-attribute": "onfinish", + "content-attribute-value-syntax": "javascript", + "event-handler": "finish", + "type": "EventHandler" + }, + { + "name": "onstart", + "content-attribute": "onstart", + "content-attribute-value-syntax": "javascript", + "event-handler": "start", + "type": "EventHandler" + }, + { + "name": "scrollAmount", + "content-attribute": "scrollamount", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "scrollDelay", + "content-attribute": "scrolldelay", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "trueSpeed", + "content-attribute": "truespeed", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLMediaElement", + "extends": "HTMLElement", + "constants": { + "constant": [ + { + "name": "HAVE_CURRENT_DATA", + "type": "unsigned short", + "value": "2" + }, + { + "name": "HAVE_ENOUGH_DATA", + "type": "unsigned short", + "value": "4" + }, + { + "name": "HAVE_FUTURE_DATA", + "type": "unsigned short", + "value": "3" + }, + { + "name": "HAVE_METADATA", + "type": "unsigned short", + "value": "1" + }, + { + "name": "HAVE_NOTHING", + "type": "unsigned short", + "value": "0" + }, + { + "name": "NETWORK_EMPTY", + "type": "unsigned short", + "value": "0" + }, + { + "name": "NETWORK_IDLE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "NETWORK_LOADING", + "type": "unsigned short", + "value": "2" + }, + { + "name": "NETWORK_NO_SOURCE", + "type": "unsigned short", + "value": "3" + } + ] + }, + "events": { + "event": [ + { + "name": "loadstart", + "dispatch": "sync", + "precedes": "progress", + "type": "Event" + }, + { + "name": "progress", + "dispatch": "sync", + "follows": "loadstart", + "precedes": "loadedmetadata", + "type": "Event" + }, + { + "name": "suspend", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "abort", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "emptied", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "stalled", + "dispatch": "sync", + "follows": "playing", + "type": "Event" + }, + { + "name": "play", + "dispatch": "sync", + "follows": "pause", + "type": "Event" + }, + { + "name": "pause", + "dispatch": "sync", + "precedes": "play", + "type": "Event" + }, + { + "name": "loadedmetadata", + "dispatch": "sync", + "follows": "loadstart", + "precedes": "loadeddata waiting seeking", + "type": "Event" + }, + { + "name": "loadeddata", + "dispatch": "sync", + "follows": "loadedmetadata", + "precedes": "canplay", + "type": "Event" + }, + { + "name": "waiting", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "playing", + "dispatch": "sync", + "follows": "canplay", + "precedes": "stalled", + "type": "Event" + }, + { + "name": "canplay", + "dispatch": "sync", + "follows": "loadeddata", + "precedes": "canplaythrough", + "type": "Event" + }, + { + "name": "canplaythrough", + "dispatch": "sync", + "follows": "canplay", + "precedes": "ended", + "type": "Event" + }, + { + "name": "seeking", + "dispatch": "sync", + "follows": "loadedmetadata", + "precedes": "seeked", + "type": "Event" + }, + { + "name": "seeked", + "dispatch": "sync", + "follows": "seeking", + "type": "Event" + }, + { + "name": "timeupdate", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "ended", + "dispatch": "sync", + "follows": "canplaythrough", + "type": "Event" + }, + { + "name": "ratechange", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "durationchange", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "volumechange", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "msneedkey", + "dispatch": "sync", + "tags": "IEOnly", + "type": "MSMediaKeyNeededEvent" + }, + { + "name": "encrypted", + "dispatch": "sync", + "follows": "loadedmetadata", + "type": "MediaEncryptedEvent" + }, + { + "name": "waitingforkey", + "dispatch": "sync", + "follows": "playing", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "addTextTrack", + "type": "TextTrack", + "param": [ + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "label", + "optional": "1", + "type": "DOMString" + }, + { + "name": "language", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "canPlayType", + "type": "DOMString", + "param": [ + { + "name": "type", + "type": "DOMString" + } + ] + }, + { + "name": "load", + "type": "void" + }, + { + "name": "msClearEffects", + "type": "void" + }, + { + "name": "msGetAsCastingSource", + "type": "any" + }, + { + "name": "msInsertAudioEffect", + "type": "void", + "param": [ + { + "name": "activatableClassId", + "type": "DOMString" + }, + { + "name": "effectRequired", + "type": "boolean" + }, + { + "name": "config", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "msSetMediaKeys", + "type": "void", + "param": [ + { + "name": "mediaKeys", + "type": "MSMediaKeys" + } + ] + }, + { + "name": "msSetMediaProtectionManager", + "type": "void", + "param": [ + { + "name": "mediaProtectionManager", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "pause", + "type": "void" + }, + { + "name": "play", + "type": "void" + }, + { + "name": "setMediaKeys", + "type": "Promise", + "param": [ + { + "name": "mediaKeys", + "nullable": "1", + "type": "MediaKeys" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "audioTracks", + "read-only": "1", + "type": "AudioTrackList" + }, + { + "name": "autoplay", + "content-attribute": "autoplay", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "buffered", + "read-only": "1", + "type": "TimeRanges" + }, + { + "name": "controls", + "content-attribute": "controls", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "crossOrigin", + "content-attribute": "crossorigin", + "content-attribute-enum-values": "anonymous use-credentials", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "currentSrc", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "currentTime", + "type": "double" + }, + { + "name": "defaultMuted", + "content-attribute": "muted", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "defaultPlaybackRate", + "type": "double" + }, + { + "name": "duration", + "read-only": "1", + "type": "double" + }, + { + "name": "ended", + "read-only": "1", + "type": "boolean" + }, + { + "name": "error", + "read-only": "1", + "type": "MediaError" + }, + { + "name": "loop", + "content-attribute": "loop", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "mediaKeys", + "nullable": "1", + "read-only": "1", + "type": "MediaKeys" + }, + { + "name": "msAudioCategory", + "type": "DOMString" + }, + { + "name": "msAudioDeviceType", + "type": "DOMString" + }, + { + "name": "msGraphicsTrustStatus", + "read-only": "1", + "type": "MSGraphicsTrust" + }, + { + "name": "msKeys", + "read-only": "1", + "type": "MSMediaKeys" + }, + { + "name": "msPlayToDisabled", + "content-attribute": "x-ms-playtodisabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToPreferredSourceUri", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "msPlayToPrimary", + "content-attribute": "x-ms-playtoprimary", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToSource", + "read-only": "1", + "type": "any" + }, + { + "name": "msRealTime", + "type": "boolean" + }, + { + "name": "muted", + "type": "boolean" + }, + { + "name": "networkState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "onencrypted", + "event-handler": "encrypted", + "type": "EventHandler" + }, + { + "name": "onmsneedkey", + "event-handler": "msneedkey", + "type": "EventHandler" + }, + { + "name": "paused", + "read-only": "1", + "type": "boolean" + }, + { + "name": "playbackRate", + "type": "double" + }, + { + "name": "played", + "read-only": "1", + "type": "TimeRanges" + }, + { + "name": "preload", + "content-attribute": "preload", + "content-attribute-enum-values": "none metadata auto", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "readyState", + "read-only": "1", + "type": "any" + }, + { + "name": "seekable", + "read-only": "1", + "type": "TimeRanges" + }, + { + "name": "seeking", + "read-only": "1", + "type": "boolean" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "srcObject", + "nullable": "1", + "type": "MediaStream" + }, + { + "name": "textTracks", + "read-only": "1", + "type": "TextTrackList" + }, + { + "name": "videoTracks", + "read-only": "1", + "type": "VideoTrackList" + }, + { + "name": "volume", + "type": "double" + } + ] + } + }, + { + "name": "HTMLMenuElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "menu", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "compact", + "content-attribute": "compact", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "1 a A i I disc circle square", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLMetaElement", + "extends": "HTMLElement", + "element": [ + { + "name": "meta", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "charset", + "content-attribute": "charset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "character_encoding", + "type": "DOMString" + }, + { + "name": "content", + "content-attribute": "content", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "httpEquiv", + "content-attribute": "http-equiv", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "scheme", + "content-attribute": "scheme", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "url", + "content-attribute": "url", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLMeterElement", + "extends": "HTMLElement", + "element": [ + { + "name": "meter", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "high", + "content-attribute": "high", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + }, + { + "name": "low", + "content-attribute": "low", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + }, + { + "name": "max", + "content-attribute": "max", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + }, + { + "name": "min", + "content-attribute": "min", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + }, + { + "name": "optimum", + "content-attribute": "optimum", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "double" + } + ] + } + }, + { + "name": "HTMLModElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "ins", + "namespace": "HTML" + }, + { + "name": "del", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "cite", + "content-attribute": "cite", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "dateTime", + "content-attribute": "datetime", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "date_time", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLObjectElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "object", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "load", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + }, + { + "name": "abort", + "dispatch": "sync", + "type": "UIEvent" + } + ] + }, + "implements": "GetSVGDocument", + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "alt", + "content-attribute": "alt", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "altHtml", + "type": "DOMString" + }, + { + "name": "archive", + "content-attribute": "archive", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "BaseHref", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "code", + "content-attribute": "code", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "codeBase", + "content-attribute": "codebase", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "codeType", + "content-attribute": "codetype", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "contentDocument", + "read-only": "1", + "type": "Document" + }, + { + "name": "data", + "content-attribute": "data", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "declare", + "content-attribute": "declare", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "hspace", + "content-attribute": "hspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "msPlayToDisabled", + "content-attribute": "x-ms-playtodisabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToPreferredSourceUri", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "msPlayToPrimary", + "content-attribute": "x-ms-playtoprimary", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "msPlayToSource", + "read-only": "1", + "type": "any" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "standby", + "content-attribute": "standby", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "useMap", + "content-attribute": "usemap", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "hash_name_ref", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "vspace", + "content-attribute": "vspace", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLOListElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "ol", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "compact", + "content-attribute": "compact", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "start", + "content-attribute": "start", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "type": "long" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "1 a A i I disc circle square", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLOptGroupElement", + "extends": "HTMLElement", + "element": [ + { + "name": "optgroup", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "defaultSelected", + "content-attribute": "selected", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "index", + "read-only": "1", + "type": "long" + }, + { + "name": "label", + "content-attribute": "label", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "selected", + "type": "boolean" + }, + { + "name": "text", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLOptionElement", + "extends": "HTMLElement", + "element": [ + { + "name": "option", + "namespace": "HTML" + } + ], + "named-constructor": { + "name": "Option", + "param": [ + { + "name": "text", + "optional": "1", + "type": "DOMString" + }, + { + "name": "value", + "optional": "1", + "type": "DOMString" + }, + { + "name": "defaultSelected", + "optional": "1", + "type": "boolean" + }, + { + "name": "selected", + "optional": "1", + "type": "boolean" + } + ] + }, + "properties": { + "property": [ + { + "name": "defaultSelected", + "content-attribute": "selected", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "index", + "read-only": "1", + "type": "long" + }, + { + "name": "label", + "content-attribute": "label", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "selected", + "type": "boolean" + }, + { + "name": "text", + "type": "DOMString" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLOptionsCollection", + "extends": "HTMLCollection", + "anonymous-methods": { + "method": [ + { + "creator": "1", + "setter": "1", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long" + }, + { + "name": "option", + "nullable": "1", + "type": "HTMLOptionElement" + } + ] + } + ] + }, + "methods": { + "method": [ + { + "name": "add", + "type": "void", + "param": [ + { + "name": "element", + "type": "(HTMLOptionElement or HTMLOptGroupElement)" + }, + { + "name": "before", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "(HTMLElement or long)" + } + ] + }, + { + "name": "remove", + "type": "void", + "param": [ + { + "name": "index", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "type": "unsigned long" + }, + { + "name": "selectedIndex", + "type": "long" + } + ] + } + }, + { + "name": "HTMLOutputElement", + "extends": "HTMLElement", + "element": [ + { + "name": "output", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "reportValidity", + "type": "boolean" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "defaultValue", + "type": "DOMString" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "htmlFor", + "content-attribute": "for", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_id_refs", + "put-forwards": "value", + "read-only": "1", + "same-object": "1", + "type": "DOMSettableTokenList" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "value", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLParagraphElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "p", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "clear", + "content-attribute": "clear", + "content-attribute-enum-values": "all left right none", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLParamElement", + "extends": "HTMLElement", + "element": [ + { + "name": "param", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "valueType", + "content-attribute": "valuetype", + "content-attribute-enum-values": "data ref object", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLPictureElement", + "extends": "HTMLElement", + "element": [ + { + "name": "picture", + "namespace": "HTML" + } + ] + }, + { + "name": "HTMLPreElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "pre", + "namespace": "HTML" + }, + { + "name": "listing", + "namespace": "HTML" + }, + { + "name": "xmp", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + } + ] + } + }, + { + "name": "HTMLProgressElement", + "extends": "HTMLElement", + "element": [ + { + "name": "progress", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "max", + "content-attribute": "max", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "float" + }, + { + "name": "position", + "read-only": "1", + "type": "float" + }, + { + "name": "value", + "content-attribute": "value", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "type": "float" + } + ] + } + }, + { + "name": "HTMLQuoteElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "q", + "namespace": "HTML" + }, + { + "name": "blockquote", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "cite", + "content-attribute": "cite", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLScriptElement", + "extends": "HTMLElement", + "element": [ + { + "name": "script", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "load", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "async", + "content-attribute": "async", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "charset", + "content-attribute": "charset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "character_encoding", + "type": "DOMString" + }, + { + "name": "crossOrigin", + "content-attribute": "crossorigin", + "content-attribute-enum-values": "anonymous use-credentials", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "defer", + "content-attribute": "defer", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "event", + "content-attribute": "event", + "content-attribute-enum-values": "onload onload()", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "htmlFor", + "content-attribute": "for", + "content-attribute-enum-values": "window", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "text", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLSelectElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "select", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "change", + "bubbles": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "invalid", + "cancelable": "1", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "add", + "type": "void", + "param": [ + { + "name": "element", + "type": "HTMLElement" + }, + { + "name": "before", + "optional": "1", + "type": "(HTMLElement or long)" + } + ] + }, + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "item", + "getter": "1", + "type": "any", + "param": [ + { + "name": "name", + "optional": "1", + "type": "any" + }, + { + "name": "index", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "remove", + "type": "void", + "param": [ + { + "name": "index", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "autofocus", + "content-attribute": "autofocus", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "length", + "type": "unsigned long" + }, + { + "name": "multiple", + "content-attribute": "multiple", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "options", + "read-only": "1", + "type": "HTMLOptionsCollection" + }, + { + "name": "required", + "content-attribute": "required", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "selectedIndex", + "type": "long" + }, + { + "name": "selectedOptions", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "size", + "content-attribute": "size", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "value", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "HTMLSourceElement", + "extends": "HTMLElement", + "element": [ + { + "name": "source", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "media", + "content-attribute": "media", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "media_query", + "type": "DOMString" + }, + { + "name": "msKeySystem", + "type": "DOMString" + }, + { + "name": "sizes", + "content-attribute": "sizes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "image_sizes", + "type": "DOMString" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "srcset", + "content-attribute": "srcset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "image_candidates", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLSpanElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "span", + "namespace": "HTML" + } + ] + }, + { + "name": "HTMLStyleElement", + "extends": "HTMLElement", + "element": [ + { + "name": "style", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "async", + "type": "Event" + }, + { + "name": "load", + "dispatch": "async", + "follows": "readystatechange", + "skips-window": "1", + "type": "Event" + }, + { + "name": "readystatechange", + "dispatch": "async", + "precedes": "load", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "implements": "LinkStyle", + "properties": { + "property": [ + { + "name": "disabled", + "type": "boolean" + }, + { + "name": "media", + "content-attribute": "media", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "media_query", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTableCaptionElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "caption", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "bottom center left right top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "vAlign", + "content-attribute": "valign", + "content-attribute-enum-values": "top bottom", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTableCellElement", + "extends": "HTMLElement", + "implements": "HTMLTableAlignment", + "properties": { + "property": [ + { + "name": "abbr", + "content-attribute": "abbr", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "axis", + "content-attribute": "axis", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "bgColor", + "content-attribute": "bgcolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "cellIndex", + "read-only": "1", + "type": "long" + }, + { + "name": "colSpan", + "content-attribute": "colspan", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "headers", + "content-attribute": "headers", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_id_refs", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "noWrap", + "content-attribute": "nowrap", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "rowSpan", + "content-attribute": "rowspan", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "scope", + "content-attribute": "scope", + "content-attribute-enum-values": "row col rowgroup colgroup", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTableColElement", + "extends": "HTMLElement", + "element": [ + { + "name": "col", + "html-self-closing": "1", + "namespace": "HTML" + }, + { + "name": "colgroup", + "namespace": "HTML" + } + ], + "implements": "HTMLTableAlignment", + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "span", + "content-attribute": "span", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "any" + } + ] + } + }, + { + "name": "HTMLTableDataCellElement", + "extends": "HTMLTableCellElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "td", + "namespace": "HTML" + } + ] + }, + { + "name": "HTMLTableElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "table", + "namespace": "HTML" + } + ], + "methods": { + "method": [ + { + "name": "createCaption", + "type": "HTMLElement" + }, + { + "name": "createTBody", + "type": "HTMLElement" + }, + { + "name": "createTFoot", + "type": "HTMLElement" + }, + { + "name": "createTHead", + "type": "HTMLElement" + }, + { + "name": "deleteCaption", + "type": "void" + }, + { + "name": "deleteRow", + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "deleteTFoot", + "type": "void" + }, + { + "name": "deleteTHead", + "type": "void" + }, + { + "name": "insertRow", + "type": "HTMLElement", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "bgColor", + "content-attribute": "bgcolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "border", + "content-attribute": "border", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + }, + { + "name": "borderColor", + "content-attribute": "bordercolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "caption", + "type": "HTMLTableCaptionElement" + }, + { + "name": "cellPadding", + "content-attribute": "cellpadding", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "integer_or_percentage", + "type": "DOMString" + }, + { + "name": "cellSpacing", + "content-attribute": "cellspacing", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "integer_or_percentage", + "type": "DOMString" + }, + { + "name": "cols", + "content-attribute": "cols", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "long" + }, + { + "name": "frame", + "content-attribute": "frame", + "content-attribute-enum-values": "void above below border box hsides lhs rhs vsides", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "rows", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "rules", + "content-attribute": "rules", + "content-attribute-enum-values": "all cols groups none rows", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "summary", + "content-attribute": "summary", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "tBodies", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "tFoot", + "type": "HTMLTableSectionElement" + }, + { + "name": "tHead", + "type": "HTMLTableSectionElement" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTableHeaderCellElement", + "extends": "HTMLTableCellElement", + "element": [ + { + "name": "th", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "scope", + "content-attribute": "scope", + "content-attribute-enum-values": "row col rowgroup colgroup", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTableRowElement", + "extends": "HTMLElement", + "element": [ + { + "name": "tr", + "namespace": "HTML" + } + ], + "implements": "HTMLTableAlignment", + "methods": { + "method": [ + { + "name": "deleteCell", + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "insertCell", + "type": "HTMLElement", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "bgColor", + "content-attribute": "bgcolor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "any" + }, + { + "name": "cells", + "read-only": "1", + "type": "HTMLCollection" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "any" + }, + { + "name": "rowIndex", + "read-only": "1", + "type": "long" + }, + { + "name": "sectionRowIndex", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "HTMLTableSectionElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "thead", + "namespace": "HTML" + }, + { + "name": "tbody", + "namespace": "HTML" + }, + { + "name": "tfoot", + "namespace": "HTML" + } + ], + "implements": "HTMLTableAlignment", + "methods": { + "method": [ + { + "name": "deleteRow", + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "insertRow", + "type": "HTMLElement", + "param": [ + { + "name": "index", + "default": "-1", + "optional": "1", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "content-attribute": "align", + "content-attribute-enum-values": "center justify left right", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "rows", + "read-only": "1", + "type": "HTMLCollection" + } + ] + } + }, + { + "name": "HTMLTemplateElement", + "extends": "HTMLElement", + "element": [ + { + "name": "template", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "content", + "read-only": "1", + "type": "DocumentFragment" + } + ] + } + }, + { + "name": "HTMLTextAreaElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "textarea", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "change", + "bubbles": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "input", + "bubbles": "1", + "dispatch": "async", + "type": "Event" + }, + { + "name": "invalid", + "cancelable": "1", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "type": "boolean" + }, + { + "name": "select", + "type": "void" + }, + { + "name": "setCustomValidity", + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString" + } + ] + }, + { + "name": "setSelectionRange", + "type": "void", + "param": [ + { + "name": "start", + "type": "unsigned long" + }, + { + "name": "end", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "autofocus", + "content-attribute": "autofocus", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "cols", + "content-attribute": "cols", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "defaultValue", + "content-attribute": "value", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "disabled", + "content-attribute": "disabled", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "form", + "read-only": "1", + "type": "HTMLFormElement" + }, + { + "name": "maxLength", + "content-attribute": "maxlength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long" + }, + { + "name": "name", + "content-attribute": "name", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "placeholder", + "content-attribute": "placeholder", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "readOnly", + "content-attribute": "readonly", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "required", + "content-attribute": "required", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "rows", + "content-attribute": "rows", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long" + }, + { + "name": "selectionEnd", + "type": "unsigned long" + }, + { + "name": "selectionStart", + "type": "unsigned long" + }, + { + "name": "status", + "type": "any" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validationMessage", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "validity", + "read-only": "1", + "type": "ValidityState" + }, + { + "name": "value", + "type": "DOMString" + }, + { + "name": "willValidate", + "read-only": "1", + "type": "boolean" + }, + { + "name": "wrap", + "content-attribute": "wrap", + "content-attribute-enum-values": "soft hard off", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTimeElement", + "extends": "HTMLElement", + "element": [ + { + "name": "time", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "dateTime", + "content-attribute": "datetime", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "date_time", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTitleElement", + "extends": "HTMLElement", + "element": [ + { + "name": "title", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "text", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLTrackElement", + "extends": "HTMLElement", + "constants": { + "constant": [ + { + "name": "ERROR", + "type": "unsigned short", + "value": "3" + }, + { + "name": "LOADED", + "type": "unsigned short", + "value": "2" + }, + { + "name": "LOADING", + "type": "unsigned short", + "value": "1" + }, + { + "name": "NONE", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "track", + "html-self-closing": "1", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "cuechange", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "default", + "content-attribute": "default", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "kind", + "content-attribute": "kind", + "content-attribute-enum-values": "subtitles captions descriptions chapters metadata", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + { + "name": "label", + "content-attribute": "label", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "src", + "content-attribute": "src", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "srclang", + "content-attribute": "srclang", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString" + }, + { + "name": "track", + "read-only": "1", + "type": "TextTrack" + } + ] + } + }, + { + "name": "HTMLUListElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "ul", + "namespace": "HTML" + } + ], + "properties": { + "property": [ + { + "name": "compact", + "content-attribute": "compact", + "content-attribute-boolean": "1", + "content-attribute-reflects": "1", + "type": "boolean" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "1 a A i I disc circle square", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "HTMLUnknownElement", + "extends": "HTMLElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "name": "unselectable", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "isindex", + "namespace": "HTML" + }, + { + "name": "nextid", + "namespace": "HTML" + } + ] + }, + { + "name": "HTMLVideoElement", + "extends": "HTMLMediaElement", + "element": [ + { + "name": "video", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "MSVideoFrameStepCompleted", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "MSVideoFormatChanged", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "MSVideoOptimalLayoutChanged", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "resize", + "dispatch": "async", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getVideoPlaybackQuality", + "type": "VideoPlaybackQuality" + }, + { + "name": "msFrameStep", + "type": "void", + "param": [ + { + "name": "forward", + "type": "boolean" + } + ] + }, + { + "name": "msInsertVideoEffect", + "type": "void", + "param": [ + { + "name": "activatableClassId", + "type": "DOMString" + }, + { + "name": "effectRequired", + "type": "boolean" + }, + { + "name": "config", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "msSetVideoRectangle", + "type": "void", + "param": [ + { + "name": "left", + "type": "float" + }, + { + "name": "top", + "type": "float" + }, + { + "name": "right", + "type": "float" + }, + { + "name": "bottom", + "type": "float" + } + ] + }, + { + "name": "webkitEnterFullscreen", + "type": "void" + }, + { + "name": "webkitEnterFullScreen", + "type": "void" + }, + { + "name": "webkitExitFullscreen", + "type": "void" + }, + { + "name": "webkitExitFullScreen", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + }, + { + "name": "msHorizontalMirror", + "type": "boolean" + }, + { + "name": "msIsLayoutOptimalForPlayback", + "read-only": "1", + "type": "boolean" + }, + { + "name": "msIsStereo3D", + "read-only": "1", + "type": "boolean" + }, + { + "name": "msStereo3DPackingMode", + "type": "DOMString" + }, + { + "name": "msStereo3DRenderMode", + "type": "DOMString" + }, + { + "name": "msZoom", + "type": "boolean" + }, + { + "name": "onMSVideoFormatChanged", + "event-handler": "MSVideoFormatChanged", + "type": "EventHandler" + }, + { + "name": "onMSVideoFrameStepCompleted", + "event-handler": "MSVideoFrameStepCompleted", + "type": "EventHandler" + }, + { + "name": "onMSVideoOptimalLayoutChanged", + "event-handler": "MSVideoOptimalLayoutChanged", + "type": "EventHandler" + }, + { + "name": "poster", + "content-attribute": "poster", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "type": "DOMString" + }, + { + "name": "videoHeight", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "videoWidth", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "webkitDisplayingFullscreen", + "read-only": "1", + "type": "bool" + }, + { + "name": "webkitSupportsFullscreen", + "read-only": "1", + "type": "bool" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long" + } + ] + } + }, + { + "name": "IDBCursor", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "NEXT", + "type": "DOMString", + "value": "next" + }, + { + "name": "NEXT_NO_DUPLICATE", + "type": "DOMString", + "value": "nextunique" + }, + { + "name": "PREV", + "type": "DOMString", + "value": "prev" + }, + { + "name": "PREV_NO_DUPLICATE", + "type": "DOMString", + "value": "prevunique" + } + ] + }, + "methods": { + "method": [ + { + "name": "advance", + "type": "void", + "param": [ + { + "name": "count", + "enforce-range": "1", + "type": "unsigned long" + } + ] + }, + { + "name": "continue", + "type": "void", + "param": [ + { + "name": "key", + "default": "0", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "delete", + "type": "IDBRequest" + }, + { + "name": "update", + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "direction", + "read-only": "1", + "type": "IDBCursorDirection" + }, + { + "name": "key", + "read-only": "1", + "type": "any" + }, + { + "name": "primaryKey", + "read-only": "1", + "type": "any" + }, + { + "name": "source", + "read-only": "1", + "type": "(IDBObjectStore or IDBIndex)" + } + ] + } + }, + { + "name": "IDBCursorWithValue", + "extends": "IDBCursor", + "properties": { + "property": [ + { + "name": "value", + "read-only": "1", + "type": "any" + } + ] + } + }, + { + "name": "IDBDatabase", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "abort", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "void" + }, + { + "name": "createObjectStore", + "type": "IDBObjectStore", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "optionalParameters", + "default": "0", + "optional": "1", + "type": "IDBObjectStoreParameters" + } + ] + }, + { + "name": "deleteObjectStore", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "transaction", + "type": "IDBTransaction", + "param": [ + { + "name": "storeNames", + "type": "(DOMString or sequence)" + }, + { + "name": "mode", + "default": "\"readonly\"", + "optional": "1", + "type": "IDBTransactionMode" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "objectStoreNames", + "read-only": "1", + "type": "DOMStringList" + }, + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "version", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "IDBFactory", + "extends": "Object", + "methods": { + "method": [ + { + "name": "cmp", + "type": "short", + "param": [ + { + "name": "first", + "type": "any" + }, + { + "name": "second", + "type": "any" + } + ] + }, + { + "name": "deleteDatabase", + "type": "IDBOpenDBRequest", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "open", + "type": "IDBOpenDBRequest", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "version", + "enforce-range": "1", + "optional": "1", + "type": "unsigned long long" + } + ] + } + ] + } + }, + { + "name": "IDBIndex", + "extends": "Object", + "methods": { + "method": [ + { + "name": "count", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "get", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any" + } + ] + }, + { + "name": "getKey", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any" + } + ] + }, + { + "name": "openCursor", + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "optional": "1", + "type": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "optional": "1", + "type": "IDBCursorDirection" + } + ] + }, + { + "name": "openKeyCursor", + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "optional": "1", + "type": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "optional": "1", + "type": "IDBCursorDirection" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "keyPath", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "objectStore", + "read-only": "1", + "type": "IDBObjectStore" + }, + { + "name": "unique", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "IDBKeyRange", + "extends": "Object", + "methods": { + "method": [ + { + "name": "bound", + "static": "1", + "type": "IDBKeyRange", + "param": [ + { + "name": "lower", + "type": "any" + }, + { + "name": "upper", + "type": "any" + }, + { + "name": "lowerOpen", + "default": "false", + "optional": "1", + "type": "boolean" + }, + { + "name": "upperOpen", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "lowerBound", + "static": "1", + "type": "IDBKeyRange", + "param": [ + { + "name": "lower", + "type": "any" + }, + { + "name": "open", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "only", + "static": "1", + "type": "IDBKeyRange", + "param": [ + { + "name": "value", + "type": "any" + } + ] + }, + { + "name": "upperBound", + "static": "1", + "type": "IDBKeyRange", + "param": [ + { + "name": "upper", + "type": "any" + }, + { + "name": "open", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "lower", + "read-only": "1", + "type": "any" + }, + { + "name": "lowerOpen", + "read-only": "1", + "type": "boolean" + }, + { + "name": "upper", + "read-only": "1", + "type": "any" + }, + { + "name": "upperOpen", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "IDBObjectStore", + "extends": "Object", + "methods": { + "method": [ + { + "name": "add", + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any" + }, + { + "name": "key", + "default": "0", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "clear", + "type": "IDBRequest" + }, + { + "name": "count", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "optional": "1", + "type": "any" + } + ] + }, + { + "name": "createIndex", + "type": "IDBIndex", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "keyPath", + "type": "DOMString", + "type-original": "IDBKeyPath" + }, + { + "name": "optionalParameters", + "default": "0", + "optional": "1", + "type": "IDBIndexParameters" + } + ] + }, + { + "name": "delete", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any" + } + ] + }, + { + "name": "deleteIndex", + "type": "void", + "param": [ + { + "name": "indexName", + "type": "DOMString" + } + ] + }, + { + "name": "get", + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any" + } + ] + }, + { + "name": "index", + "type": "IDBIndex", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "openCursor", + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "optional": "1", + "type": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "optional": "1", + "type": "IDBCursorDirection" + } + ] + }, + { + "name": "put", + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any" + }, + { + "name": "key", + "default": "0", + "optional": "1", + "type": "any" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "indexNames", + "read-only": "1", + "type": "DOMStringList" + }, + { + "name": "keyPath", + "nullable": "1", + "read-only": "1", + "type": "DOMString", + "type-original": "IDBKeyPath" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "transaction", + "read-only": "1", + "type": "IDBTransaction" + } + ] + } + }, + { + "name": "IDBOpenDBRequest", + "extends": "IDBRequest", + "events": { + "event": [ + { + "name": "blocked", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "upgradeneeded", + "dispatch": "sync", + "skips-window": "1", + "type": "IDBVersionChangeEvent" + } + ] + }, + "properties": { + "property": [ + { + "name": "onblocked", + "event-handler": "blocked", + "type": "EventHandler" + }, + { + "name": "onupgradeneeded", + "event-handler": "upgradeneeded", + "type": "EventHandler" + } + ] + } + }, + { + "name": "IDBRequest", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "error", + "bubbles": "1", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "success", + "bubbles": "1", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "type": "DOMError" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onsuccess", + "event-handler": "success", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "type": "IDBRequestReadyState" + }, + { + "name": "result", + "read-only": "1", + "type": "any" + }, + { + "name": "source", + "nullable": "1", + "read-only": "1", + "type": "(IDBObjectStore or IDBIndex or IDBCursor)" + }, + { + "name": "transaction", + "read-only": "1", + "type": "IDBTransaction" + } + ] + } + }, + { + "name": "IDBTransaction", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "READ_ONLY", + "type": "DOMString", + "value": "readonly" + }, + { + "name": "READ_WRITE", + "type": "DOMString", + "value": "readwrite" + }, + { + "name": "VERSION_CHANGE", + "type": "DOMString", + "value": "versionchange" + } + ] + }, + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "abort", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "complete", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "type": "void" + }, + { + "name": "objectStore", + "type": "IDBObjectStore", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "db", + "read-only": "1", + "type": "IDBDatabase" + }, + { + "name": "error", + "read-only": "1", + "type": "DOMError" + }, + { + "name": "mode", + "read-only": "1", + "type": "IDBTransactionMode" + }, + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "oncomplete", + "event-handler": "complete", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + } + ] + } + }, + { + "name": "IDBVersionChangeEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "newVersion", + "nullable": "1", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "oldVersion", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "IIRFilterNode", + "extends": "AudioNode", + "methods": { + "method": [ + { + "name": "getFrequencyResponse", + "type": "void", + "param": [ + { + "name": "frequencyHz", + "type": "Float32Array" + }, + { + "name": "magResponse", + "type": "Float32Array" + }, + { + "name": "phaseResponse", + "type": "Float32Array" + } + ] + } + ] + } + }, + { + "name": "ImageData", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "width", + "type": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "Uint8ClampedArray" + }, + { + "name": "height", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "width", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "IntersectionObserver", + "exposed": "Window", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "callback", + "type": "IntersectionObserverCallback" + }, + { + "name": "options", + "optional": "1", + "type": "IntersectionObserverInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "disconnect", + "type": "void" + }, + { + "name": "observe", + "type": "void", + "param": [ + { + "name": "target", + "type": "Element" + } + ] + }, + { + "name": "takeRecords", + "type": "sequence" + }, + { + "name": "unobserve", + "type": "void", + "param": [ + { + "name": "target", + "type": "Element" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "root", + "nullable": "1", + "read-only": "1", + "type": "Element" + }, + { + "name": "rootMargin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "thresholds", + "read-only": "1", + "type": "sequence" + } + ] + } + }, + { + "name": "IntersectionObserverEntry", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "intersectionObserverEntryInit", + "type": "IntersectionObserverEntryInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "boundingClientRect", + "read-only": "1", + "type": "ClientRect" + }, + { + "name": "intersectionRatio", + "read-only": "1", + "type": "double" + }, + { + "name": "intersectionRect", + "read-only": "1", + "type": "ClientRect" + }, + { + "name": "rootBounds", + "read-only": "1", + "type": "ClientRect" + }, + { + "name": "target", + "read-only": "1", + "type": "Element" + }, + { + "name": "time", + "read-only": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "KeyboardEvent", + "extends": "UIEvent", + "constants": { + "constant": [ + { + "name": "DOM_KEY_LOCATION_JOYSTICK", + "type": "unsigned long", + "value": "0x05" + }, + { + "name": "DOM_KEY_LOCATION_LEFT", + "type": "unsigned long", + "value": "0x01" + }, + { + "name": "DOM_KEY_LOCATION_MOBILE", + "type": "unsigned long", + "value": "0x04" + }, + { + "name": "DOM_KEY_LOCATION_NUMPAD", + "type": "unsigned long", + "value": "0x03" + }, + { + "name": "DOM_KEY_LOCATION_RIGHT", + "type": "unsigned long", + "value": "0x02" + }, + { + "name": "DOM_KEY_LOCATION_STANDARD", + "type": "unsigned long", + "value": "0x00" + } + ] + }, + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "KeyboardEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "getModifierState", + "type": "boolean", + "param": [ + { + "name": "keyArg", + "type": "DOMString" + } + ] + }, + { + "name": "initKeyboardEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "keyArg", + "type": "DOMString" + }, + { + "name": "locationArg", + "type": "unsigned long" + }, + { + "name": "modifiersListArg", + "type": "DOMString" + }, + { + "name": "repeat", + "type": "boolean" + }, + { + "name": "locale", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "altKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "char", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "charCode", + "read-only": "1", + "type": "short" + }, + { + "name": "ctrlKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "key", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "keyCode", + "read-only": "1", + "type": "short" + }, + { + "name": "locale", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "location", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "metaKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "repeat", + "read-only": "1", + "type": "boolean" + }, + { + "name": "shiftKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "which", + "read-only": "1", + "type": "short" + } + ] + } + }, + { + "name": "ListeningStateChangedEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "label", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "state", + "read-only": "1", + "type": "ListeningState" + } + ] + } + }, + { + "name": "Location", + "extends": "Object", + "methods": { + "method": [ + { + "name": "assign", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "type": "void", + "param": [ + { + "name": "url", + "type": "DOMString" + } + ] + }, + { + "name": "reload", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "type": "void", + "param": [ + { + "name": "forcedReload", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "replace", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "type": "void", + "param": [ + { + "name": "url", + "type": "DOMString" + } + ] + }, + { + "name": "toString", + "property-descriptor-not-configurable": "1", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "hash", + "property-descriptor-not-configurable": "1", + "type": "DOMString" + }, + { + "name": "host", + "property-descriptor-not-configurable": "1", + "type": "DOMString" + }, + { + "name": "hostname", + "property-descriptor-not-configurable": "1", + "type": "DOMString" + }, + { + "name": "href", + "property-descriptor-not-configurable": "1", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "pathname", + "type": "DOMString" + }, + { + "name": "port", + "type": "DOMString" + }, + { + "name": "protocol", + "type": "DOMString" + }, + { + "name": "search", + "property-descriptor-not-configurable": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "LongRunningScriptDetectedEvent", + "extends": "Event", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "executionTime", + "read-only": "1", + "tags": "MSAppOnly", + "type": "long" + }, + { + "name": "stopPageScriptExecution", + "tags": "MSAppOnly", + "type": "boolean" + } + ] + } + }, + { + "name": "MediaDeviceInfo", + "extends": "Object", + "properties": { + "property": [ + { + "name": "deviceId", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "groupId", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "kind", + "read-only": "1", + "type": "MediaDeviceKind" + }, + { + "name": "label", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaDevices", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "devicechange", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "enumerateDevices", + "type": "Promise>" + }, + { + "name": "getSupportedConstraints", + "type": "MediaTrackSupportedConstraints" + }, + { + "name": "getUserMedia", + "type": "Promise", + "param": [ + { + "name": "constraints", + "type": "MediaStreamConstraints" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "ondevicechange", + "event-handler": "devicechange", + "type": "EventHandler" + } + ] + } + }, + { + "name": "MediaElementAudioSourceNode", + "extends": "AudioNode" + }, + { + "name": "MediaEncryptedEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaEncryptedEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "initData", + "nullable": "1", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "initDataType", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaError", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "MEDIA_ERR_ABORTED", + "type": "unsigned short", + "value": "1" + }, + { + "name": "MEDIA_ERR_DECODE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "MEDIA_ERR_NETWORK", + "type": "unsigned short", + "value": "2" + }, + { + "name": "MEDIA_ERR_SRC_NOT_SUPPORTED", + "type": "unsigned short", + "value": "4" + }, + { + "name": "MS_MEDIA_ERR_ENCRYPTED", + "type": "unsigned short", + "value": "5" + } + ] + }, + "properties": { + "property": [ + { + "name": "code", + "read-only": "1", + "type": "short" + }, + { + "name": "msExtendedCode", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "MediaKeyMessageEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaKeyMessageEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "message", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "messageType", + "read-only": "1", + "type": "MediaKeyMessageType" + } + ] + } + }, + { + "name": "MediaKeys", + "extends": "Object", + "methods": { + "method": [ + { + "name": "createSession", + "type": "MediaKeySession", + "param": [ + { + "name": "sessionType", + "default": "\"temporary\"", + "optional": "1", + "type": "MediaKeySessionType" + } + ] + }, + { + "name": "setServerCertificate", + "type": "Promise", + "param": [ + { + "name": "serverCertificate", + "type": "BufferSource" + } + ] + } + ] + } + }, + { + "name": "MediaKeySession", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "keystatuseschange", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "message", + "dispatch": "sync", + "type": "MediaKeyMessageEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "Promise" + }, + { + "name": "generateRequest", + "type": "Promise", + "param": [ + { + "name": "initDataType", + "type": "DOMString" + }, + { + "name": "initData", + "type": "BufferSource" + } + ] + }, + { + "name": "load", + "type": "Promise", + "param": [ + { + "name": "sessionId", + "type": "DOMString" + } + ] + }, + { + "name": "remove", + "type": "Promise" + }, + { + "name": "update", + "type": "Promise", + "param": [ + { + "name": "response", + "type": "BufferSource" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "closed", + "read-only": "1", + "type": "Promise" + }, + { + "name": "expiration", + "read-only": "1", + "type": "UnrestrictedDouble" + }, + { + "name": "keyStatuses", + "read-only": "1", + "type": "MediaKeyStatusMap" + }, + { + "name": "sessionId", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaKeyStatusMap", + "extends": "Object", + "methods": { + "method": [ + { + "name": "forEach", + "type": "void", + "param": [ + { + "name": "callback", + "type": "ForEachCallback" + } + ] + }, + { + "name": "get", + "type": "MediaKeyStatus", + "param": [ + { + "name": "keyId", + "type": "BufferSource" + } + ] + }, + { + "name": "has", + "type": "boolean", + "param": [ + { + "name": "keyId", + "type": "BufferSource" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "size", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MediaKeySystemAccess", + "extends": "Object", + "methods": { + "method": [ + { + "name": "createMediaKeys", + "type": "Promise" + }, + { + "name": "getConfiguration", + "type": "MediaKeySystemConfiguration" + } + ] + }, + "properties": { + "property": [ + { + "name": "keySystem", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendMedium", + "type": "void", + "param": [ + { + "name": "newMedium", + "type": "DOMString" + } + ] + }, + { + "name": "deleteMedium", + "type": "void", + "param": [ + { + "name": "oldMedium", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "mediaText", + "stringifier": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaQueryList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "addListener", + "type": "void", + "param": [ + { + "name": "listener", + "type": "MediaQueryListListener" + } + ] + }, + { + "name": "removeListener", + "type": "void", + "param": [ + { + "name": "listener", + "type": "MediaQueryListListener" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "matches", + "read-only": "1", + "type": "boolean" + }, + { + "name": "media", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaSource", + "extends": "EventTarget", + "constructor": [ + null, + "" + ], + "events": { + "event": [ + { + "name": "sourceopen", + "dispatch": "sync", + "precedes": "sourceended sourceclose", + "skips-window": "1", + "type": "Event" + }, + { + "name": "sourceended", + "dispatch": "sync", + "follows": "sourceopen", + "precedes": "sourceclose", + "skips-window": "1", + "type": "Event" + }, + { + "name": "sourceclose", + "dispatch": "sync", + "follows": "sourceended sourceopen", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "addSourceBuffer", + "type": "SourceBuffer", + "param": [ + { + "name": "type", + "type": "DOMString" + } + ] + }, + { + "name": "endOfStream", + "type": "void", + "param": [ + { + "name": "error", + "optional": "1", + "type": "EndOfStreamError" + } + ] + }, + { + "name": "isTypeSupported", + "static": "1", + "type": "boolean", + "param": [ + { + "name": "type", + "type": "DOMString" + } + ] + }, + { + "name": "removeSourceBuffer", + "type": "void", + "param": [ + { + "name": "sourceBuffer", + "type": "SourceBuffer" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "activeSourceBuffers", + "read-only": "1", + "type": "SourceBufferList" + }, + { + "name": "duration", + "type": "double" + }, + { + "name": "readyState", + "read-only": "1", + "type": "ReadyState" + }, + { + "name": "sourceBuffers", + "read-only": "1", + "type": "SourceBufferList" + } + ] + } + }, + { + "name": "MediaStream", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "streamOrTracks", + "optional": "1", + "type": "(MediaStream or sequence)" + } + ] + } + ], + "events": { + "event": [ + { + "name": "active", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "inactive", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "addtrack", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamTrackEvent" + }, + { + "name": "removetrack", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamTrackEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "addTrack", + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack" + } + ] + }, + { + "name": "clone", + "type": "MediaStream" + }, + { + "name": "getAudioTracks", + "type": "sequence" + }, + { + "name": "getTrackById", + "nullable": "1", + "type": "MediaStreamTrack", + "param": [ + { + "name": "trackId", + "type": "DOMString" + } + ] + }, + { + "name": "getTracks", + "type": "sequence" + }, + { + "name": "getVideoTracks", + "type": "sequence" + }, + { + "name": "removeTrack", + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "active", + "read-only": "1", + "type": "boolean" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "onactive", + "event-handler": "active", + "type": "EventHandler" + }, + { + "name": "onaddtrack", + "event-handler": "addtrack", + "type": "EventHandler" + }, + { + "name": "oninactive", + "event-handler": "inactive", + "type": "EventHandler" + }, + { + "name": "onremovetrack", + "event-handler": "removetrack", + "type": "EventHandler" + } + ] + } + }, + { + "name": "MediaStreamAudioSourceNode", + "extends": "AudioNode" + }, + { + "name": "MediaStreamError", + "extends": "Object", + "properties": { + "property": [ + { + "name": "constraintName", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "message", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MediaStreamErrorEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaStreamErrorEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "error", + "nullable": "1", + "read-only": "1", + "type": "MediaStreamError" + } + ] + } + }, + { + "name": "MediaStreamEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaStreamEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "stream", + "nullable": "1", + "read-only": "1", + "type": "MediaStream" + } + ] + } + }, + { + "name": "MediaStreamTrack", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "mute", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "unmute", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "ended", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamErrorEvent" + }, + { + "name": "overconstrained", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamErrorEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "applyConstraints", + "type": "Promise", + "param": [ + { + "name": "constraints", + "type": "MediaTrackConstraints" + } + ] + }, + { + "name": "clone", + "type": "MediaStreamTrack" + }, + { + "name": "getCapabilities", + "type": "MediaTrackCapabilities" + }, + { + "name": "getConstraints", + "type": "MediaTrackConstraints" + }, + { + "name": "getSettings", + "type": "MediaTrackSettings" + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "enabled", + "type": "boolean" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "kind", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "label", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "muted", + "read-only": "1", + "type": "boolean" + }, + { + "name": "onended", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "onmute", + "event-handler": "mute", + "type": "EventHandler" + }, + { + "name": "onoverconstrained", + "event-handler": "overconstrained", + "type": "EventHandler" + }, + { + "name": "onunmute", + "event-handler": "unmute", + "type": "EventHandler" + }, + { + "name": "readonly", + "read-only": "1", + "type": "boolean" + }, + { + "name": "readyState", + "read-only": "1", + "type": "MediaStreamTrackState" + }, + { + "name": "remote", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "MediaStreamTrackEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaStreamTrackEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "track", + "read-only": "1", + "type": "MediaStreamTrack" + } + ] + } + }, + { + "name": "MessageChannel", + "extends": "Object", + "constructor": [ + null, + "" + ], + "properties": { + "property": [ + { + "name": "port1", + "read-only": "1", + "type": "MessagePort" + }, + { + "name": "port2", + "read-only": "1", + "type": "MessagePort" + } + ] + } + }, + { + "name": "MessageEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MessageEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initMessageEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "dataArg", + "type": "any" + }, + { + "name": "originArg", + "type": "DOMString" + }, + { + "name": "lastEventIdArg", + "type": "DOMString" + }, + { + "name": "sourceArg", + "type": "Window" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "any" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "ports", + "read-only": "1", + "type": "any" + }, + { + "name": "source", + "read-only": "1", + "type": "Window" + } + ] + } + }, + { + "name": "MessagePort", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "message", + "dispatch": "async", + "skips-window": "1", + "type": "MessageEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "void" + }, + { + "name": "postMessage", + "type": "void", + "param": [ + { + "name": "message", + "optional": "1", + "type": "any" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + }, + { + "name": "start", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + } + ] + } + }, + { + "name": "MimeType", + "extends": "Object", + "properties": { + "property": [ + { + "name": "description", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "enabledPlugin", + "read-only": "1", + "type": "Plugin" + }, + { + "name": "suffixes", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MimeTypeArray", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "Plugin", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "type": "Plugin", + "param": [ + { + "name": "type", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MouseEvent", + "extends": "UIEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MouseEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "getModifierState", + "type": "boolean", + "param": [ + { + "name": "keyArg", + "type": "DOMString" + } + ] + }, + { + "name": "initMouseEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "long" + }, + { + "name": "clientYArg", + "type": "long" + }, + { + "name": "ctrlKeyArg", + "type": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "altKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "button", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "buttons", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "clientX", + "read-only": "1", + "type": "long" + }, + { + "name": "clientY", + "read-only": "1", + "type": "long" + }, + { + "name": "ctrlKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "fromElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "layerX", + "read-only": "1", + "type": "long" + }, + { + "name": "layerY", + "read-only": "1", + "type": "long" + }, + { + "name": "metaKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "movementX", + "read-only": "1", + "type": "long" + }, + { + "name": "movementY", + "read-only": "1", + "type": "long" + }, + { + "name": "offsetX", + "read-only": "1", + "type": "long" + }, + { + "name": "offsetY", + "read-only": "1", + "type": "long" + }, + { + "name": "pageX", + "read-only": "1", + "type": "long" + }, + { + "name": "pageY", + "read-only": "1", + "type": "long" + }, + { + "name": "relatedTarget", + "read-only": "1", + "type": "EventTarget" + }, + { + "name": "screenX", + "read-only": "1", + "type": "long" + }, + { + "name": "screenY", + "read-only": "1", + "type": "long" + }, + { + "name": "shiftKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "toElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "which", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "x", + "read-only": "1", + "type": "long" + }, + { + "name": "y", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "MSApp", + "extends": "Object", + "static": "1", + "tags": "MSAppOnly", + "constants": { + "constant": [ + { + "name": "CURRENT", + "type": "DOMString", + "value": "current" + }, + { + "name": "HIGH", + "type": "DOMString", + "value": "high" + }, + { + "name": "IDLE", + "type": "DOMString", + "value": "idle" + }, + { + "name": "NORMAL", + "type": "DOMString", + "value": "normal" + } + ] + }, + "methods": { + "method": [ + { + "name": "clearTemporaryWebDataAsync", + "static": "1", + "tags": "MSAppOnly", + "type": "MSAppAsyncOperation" + }, + { + "name": "createBlobFromRandomAccessStream", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "Blob", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "seeker", + "type": "any" + } + ] + }, + { + "name": "createDataPackage", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "any", + "param": [ + { + "name": "object", + "type": "any" + } + ] + }, + { + "name": "createDataPackageFromSelection", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "any" + }, + { + "name": "createFileFromStorageFile", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "File", + "param": [ + { + "name": "storageFile", + "type": "any" + } + ] + }, + { + "name": "createStreamFromInputStream", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "MSStream", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "inputStream", + "type": "any" + } + ] + }, + { + "name": "execAsyncAtPriority", + "static": "1", + "type": "void", + "param": [ + { + "name": "asynchronousCallback", + "type": "MSExecAtPriorityFunctionCallback" + }, + { + "name": "priority", + "type": "DOMString" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "execAtPriority", + "static": "1", + "type": "any", + "param": [ + { + "name": "synchronousCallback", + "type": "MSExecAtPriorityFunctionCallback" + }, + { + "name": "priority", + "type": "DOMString" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "getCurrentPriority", + "static": "1", + "type": "DOMString" + }, + { + "name": "getHtmlPrintDocumentSourceAsync", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "Promise", + "param": [ + { + "name": "htmlDoc", + "type": "any" + } + ] + }, + { + "name": "getViewId", + "static": "1", + "tags": "MSAppOnly", + "type": "any", + "param": [ + { + "name": "view", + "type": "any" + } + ] + }, + { + "name": "isTaskScheduledAtPriorityOrHigher", + "static": "1", + "type": "boolean", + "param": [ + { + "name": "priority", + "type": "DOMString" + } + ] + }, + { + "name": "pageHandlesAllApplicationActivations", + "static": "1", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "enabled", + "type": "boolean" + } + ] + }, + { + "name": "suppressSubdownloadCredentialPrompts", + "static": "1", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "suppress", + "type": "boolean" + } + ] + }, + { + "name": "terminateApp", + "property-descriptor-not-configurable": "1", + "property-descriptor-not-writable": "1", + "static": "1", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "exceptionObject", + "type": "any" + } + ] + } + ] + } + }, + { + "name": "MSAppAsyncOperation", + "extends": "EventTarget", + "tags": "MSAppOnly", + "constants": { + "constant": [ + { + "name": "COMPLETED", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "1" + }, + { + "name": "ERROR", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "2" + }, + { + "name": "STARTED", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "0" + } + ] + }, + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "complete", + "dispatch": "sync", + "skips-window": "1", + "tags": "MSAppOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "start", + "tags": "MSAppOnly", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMError" + }, + { + "name": "oncomplete", + "event-handler": "complete", + "tags": "MSAppOnly", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "tags": "MSAppOnly", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "tags": "MSAppOnly", + "type": "unsigned short" + }, + { + "name": "result", + "read-only": "1", + "tags": "MSAppOnly", + "type": "any" + } + ] + } + }, + { + "name": "MSAssertion", + "extends": "Object", + "properties": { + "property": [ + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "type", + "read-only": "1", + "type": "MSCredentialType" + } + ] + } + }, + { + "name": "MSBlobBuilder", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "append", + "type": "void", + "param": [ + { + "name": "data", + "type": "any" + }, + { + "name": "endings", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getBlob", + "type": "Blob", + "param": [ + { + "name": "contentType", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "MSCredentials", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getAssertion", + "type": "Promise", + "param": [ + { + "name": "challenge", + "type": "DOMString" + }, + { + "name": "filter", + "optional": "1", + "type": "MSCredentialFilter" + }, + { + "name": "params", + "optional": "1", + "type": "MSSignatureParameters" + } + ] + }, + { + "name": "makeCredential", + "type": "Promise", + "param": [ + { + "name": "accountInfo", + "type": "MSAccountInfo" + }, + { + "name": "params", + "type": "sequence" + }, + { + "name": "challenge", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "MSFIDOCredentialAssertion", + "extends": "MSAssertion", + "properties": { + "property": [ + { + "name": "algorithm", + "read-only": "1", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "attestation", + "nullable": "1", + "read-only": "1", + "type": "MSAttestationStatement" + }, + { + "name": "publicKey", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "transportHints", + "read-only": "1", + "type": "sequence" + } + ] + } + }, + { + "name": "MSFIDOSignature", + "extends": "Object", + "properties": { + "property": [ + { + "name": "authnrData", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "clientData", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "signature", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSFIDOSignatureAssertion", + "extends": "MSAssertion", + "properties": { + "property": [ + { + "name": "signature", + "read-only": "1", + "type": "MSFIDOSignature" + } + ] + } + }, + { + "name": "MSGesture", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "addPointer", + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "target", + "type": "Element" + } + ] + } + }, + { + "name": "MSGestureEvent", + "extends": "UIEvent", + "constants": { + "constant": [ + { + "name": "MSGESTURE_FLAG_BEGIN", + "type": "unsigned long", + "value": "0x00000001" + }, + { + "name": "MSGESTURE_FLAG_CANCEL", + "type": "unsigned long", + "value": "0x00000004" + }, + { + "name": "MSGESTURE_FLAG_END", + "type": "unsigned long", + "value": "0x00000002" + }, + { + "name": "MSGESTURE_FLAG_INERTIA", + "type": "unsigned long", + "value": "0x00000008" + }, + { + "name": "MSGESTURE_FLAG_NONE", + "type": "unsigned long", + "value": "0x00000000" + } + ] + }, + "methods": { + "method": [ + { + "name": "initGestureEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "float" + }, + { + "name": "clientYArg", + "type": "float" + }, + { + "name": "offsetXArg", + "type": "float" + }, + { + "name": "offsetYArg", + "type": "float" + }, + { + "name": "translationXArg", + "type": "float" + }, + { + "name": "translationYArg", + "type": "float" + }, + { + "name": "scaleArg", + "type": "float" + }, + { + "name": "expansionArg", + "type": "float" + }, + { + "name": "rotationArg", + "type": "float" + }, + { + "name": "velocityXArg", + "type": "float" + }, + { + "name": "velocityYArg", + "type": "float" + }, + { + "name": "velocityExpansionArg", + "type": "float" + }, + { + "name": "velocityAngularArg", + "type": "float" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "clientX", + "read-only": "1", + "type": "float" + }, + { + "name": "clientY", + "read-only": "1", + "type": "float" + }, + { + "name": "expansion", + "read-only": "1", + "type": "float" + }, + { + "name": "gestureObject", + "read-only": "1", + "type": "any" + }, + { + "name": "hwTimestamp", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "offsetX", + "read-only": "1", + "type": "float" + }, + { + "name": "offsetY", + "read-only": "1", + "type": "float" + }, + { + "name": "rotation", + "read-only": "1", + "type": "float" + }, + { + "name": "scale", + "read-only": "1", + "type": "float" + }, + { + "name": "screenX", + "read-only": "1", + "type": "long" + }, + { + "name": "screenY", + "read-only": "1", + "type": "long" + }, + { + "name": "translationX", + "read-only": "1", + "type": "float" + }, + { + "name": "translationY", + "read-only": "1", + "type": "float" + }, + { + "name": "velocityAngular", + "read-only": "1", + "type": "float" + }, + { + "name": "velocityExpansion", + "read-only": "1", + "type": "float" + }, + { + "name": "velocityX", + "read-only": "1", + "type": "float" + }, + { + "name": "velocityY", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "MSGraphicsTrust", + "extends": "Object", + "properties": { + "property": [ + { + "name": "constrictionActive", + "read-only": "1", + "type": "boolean" + }, + { + "name": "status", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSHTMLWebViewElement", + "extends": "HTMLElement", + "tags": "MSAppOnly", + "element": [ + { + "name": "x-ms-webview", + "namespace": "HTML" + } + ], + "events": { + "event": [ + { + "name": "MSWebViewNavigationStarting", + "cancelable": "1", + "dispatch": "sync", + "precedes": "MSWebViewContentLoading", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewContentLoading", + "dispatch": "sync", + "follows": "MSWebViewNavigationStarting", + "precedes": "MSWebViewDOMContentLoaded", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewDOMContentLoaded", + "dispatch": "sync", + "follows": "MSWebViewContentLoading", + "precedes": "MSWebViewNavigationCompleted", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewNavigationCompleted", + "dispatch": "sync", + "follows": "MSWebViewDOMContentLoaded", + "tags": "MSAppOnly", + "type": "NavigationCompletedEvent" + }, + { + "name": "MSWebViewScriptNotify", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "ScriptNotifyEvent" + }, + { + "name": "MSWebViewUnsafeContentWarningDisplaying", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "MSWebViewContainsFullScreenElementChanged", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "MSWebViewLongRunningScriptDetected", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "LongRunningScriptDetectedEvent" + }, + { + "name": "MSWebViewUnviewableContentIdentified", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "UnviewableContentIdentifiedEvent" + }, + { + "name": "MSWebViewPermissionRequested", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "PermissionRequestedEvent" + }, + { + "name": "MSWebViewUnsupportedUriSchemeIdentified", + "cancelable": "1", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewNewWindowRequested", + "dispatch": "sync", + "tags": "MSAppOnly", + "type": "NavigationEventWithReferrer" + }, + { + "name": "MSWebViewFrameNavigationStarting", + "cancelable": "1", + "dispatch": "sync", + "precedes": "MSWebViewFrameContentLoading", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewFrameNavigationCompleted", + "dispatch": "sync", + "follows": "MSWebViewFrameDOMContentLoaded", + "tags": "MSAppOnly", + "type": "NavigationCompletedEvent" + }, + { + "name": "MSWebViewFrameDOMContentLoaded", + "dispatch": "sync", + "follows": "MSWebViewFrameContentLoading", + "precedes": "MSWebViewFrameNavigationCompleted", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "MSWebViewFrameContentLoading", + "dispatch": "sync", + "follows": "MSWebViewFrameNavigationStarting", + "precedes": "MSWebViewFrameDOMContentLoaded", + "tags": "MSAppOnly", + "type": "NavigationEvent" + }, + { + "name": "departingfocus", + "bubbles": "1", + "dispatch": "sync", + "type": "FocusNavigationEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "addWebAllowedObject", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "applicationObject", + "type": "any" + } + ] + }, + { + "name": "buildLocalStreamUri", + "tags": "MSAppOnly", + "type": "DOMString", + "param": [ + { + "name": "contentIdentifier", + "type": "DOMString" + }, + { + "name": "relativePath", + "type": "DOMString" + } + ] + }, + { + "name": "capturePreviewToBlobAsync", + "tags": "MSAppOnly", + "type": "MSWebViewAsyncOperation" + }, + { + "name": "captureSelectedContentToDataPackageAsync", + "tags": "MSAppOnly", + "type": "MSWebViewAsyncOperation" + }, + { + "name": "getDeferredPermissionRequestById", + "tags": "MSAppOnly", + "type": "DeferredPermissionRequest", + "param": [ + { + "name": "id", + "type": "unsigned long" + } + ] + }, + { + "name": "getDeferredPermissionRequests", + "tags": "MSAppOnly", + "type": "sequence" + }, + { + "name": "goBack", + "tags": "MSAppOnly", + "type": "void" + }, + { + "name": "goForward", + "tags": "MSAppOnly", + "type": "void" + }, + { + "name": "invokeScriptAsync", + "tags": "MSAppOnly", + "type": "MSWebViewAsyncOperation", + "param": [ + { + "name": "scriptName", + "type": "DOMString" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "navigate", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "uri", + "type": "DOMString" + } + ] + }, + { + "name": "navigateFocus", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "navigationReason", + "type": "NavigationReason" + }, + { + "name": "origin", + "type": "FocusNavigationOrigin" + } + ] + }, + { + "name": "navigateToLocalStreamUri", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "source", + "type": "DOMString" + }, + { + "name": "streamResolver", + "type": "any" + } + ] + }, + { + "name": "navigateToString", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "contents", + "type": "DOMString" + } + ] + }, + { + "name": "navigateWithHttpRequestMessage", + "tags": "MSAppOnly", + "type": "void", + "param": [ + { + "name": "requestMessage", + "type": "any" + } + ] + }, + { + "name": "refresh", + "tags": "MSAppOnly", + "type": "void" + }, + { + "name": "stop", + "tags": "MSAppOnly", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "canGoBack", + "read-only": "1", + "tags": "MSAppOnly", + "type": "bool" + }, + { + "name": "canGoForward", + "read-only": "1", + "tags": "MSAppOnly", + "type": "bool" + }, + { + "name": "containsFullScreenElement", + "read-only": "1", + "tags": "MSAppOnly", + "type": "bool" + }, + { + "name": "documentTitle", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "tags": "MSAppOnly", + "type": "unsigned long" + }, + { + "name": "settings", + "read-only": "1", + "tags": "MSAppOnly", + "type": "MSWebViewSettings" + }, + { + "name": "src", + "tags": "MSAppOnly", + "type": "DOMString" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "non_negative_integer", + "tags": "MSAppOnly", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSInputMethodContext", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "MSCandidateWindowShow", + "dispatch": "sync", + "precedes": "MSCandidateWindowUpdate MSCandidateWindowHide", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "MSCandidateWindowUpdate", + "dispatch": "sync", + "follows": "MSCandidateWindowShow", + "precedes": "MSCandidateWindowHide", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "MSCandidateWindowHide", + "dispatch": "sync", + "follows": "MSCandidateWindowShow MSCandidateWindowUpdate", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getCandidateWindowClientRect", + "type": "ClientRect" + }, + { + "name": "getCompositionAlternatives", + "type": "sequence" + }, + { + "name": "hasComposition", + "type": "boolean" + }, + { + "name": "isCandidateWindowVisible", + "type": "boolean" + } + ] + }, + "properties": { + "property": [ + { + "name": "compositionEndOffset", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "compositionStartOffset", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "oncandidatewindowhide", + "event-handler": "MSCandidateWindowHide", + "type": "EventHandler" + }, + { + "name": "oncandidatewindowshow", + "event-handler": "MSCandidateWindowShow", + "type": "EventHandler" + }, + { + "name": "oncandidatewindowupdate", + "event-handler": "MSCandidateWindowUpdate", + "type": "EventHandler" + }, + { + "name": "target", + "read-only": "1", + "type": "HTMLElement" + } + ] + } + }, + { + "name": "MSManipulationEvent", + "extends": "UIEvent", + "tags": "IEOnly", + "constants": { + "constant": [ + { + "name": "MS_MANIPULATION_STATE_ACTIVE", + "tags": "IEOnly", + "type": "unsigned short", + "value": "1" + }, + { + "name": "MS_MANIPULATION_STATE_CANCELLED", + "tags": "IEOnly", + "type": "unsigned short", + "value": "6" + }, + { + "name": "MS_MANIPULATION_STATE_COMMITTED", + "tags": "IEOnly", + "type": "unsigned short", + "value": "7" + }, + { + "name": "MS_MANIPULATION_STATE_DRAGGING", + "tags": "IEOnly", + "type": "unsigned short", + "value": "5" + }, + { + "name": "MS_MANIPULATION_STATE_INERTIA", + "tags": "IEOnly", + "type": "unsigned short", + "value": "2" + }, + { + "name": "MS_MANIPULATION_STATE_PRESELECT", + "tags": "IEOnly", + "type": "unsigned short", + "value": "3" + }, + { + "name": "MS_MANIPULATION_STATE_SELECTING", + "tags": "IEOnly", + "type": "unsigned short", + "value": "4" + }, + { + "name": "MS_MANIPULATION_STATE_STOPPED", + "tags": "IEOnly", + "type": "unsigned short", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "initMSManipulationEvent", + "tags": "IEOnly", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "lastState", + "type": "long" + }, + { + "name": "currentState", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "currentState", + "read-only": "1", + "tags": "IEOnly", + "type": "long" + }, + { + "name": "inertiaDestinationX", + "read-only": "1", + "tags": "IEOnly", + "type": "long" + }, + { + "name": "inertiaDestinationY", + "read-only": "1", + "tags": "IEOnly", + "type": "long" + }, + { + "name": "lastState", + "read-only": "1", + "tags": "IEOnly", + "type": "long" + } + ] + } + }, + { + "name": "MSMediaKeyError", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "MS_MEDIA_KEYERR_CLIENT", + "type": "unsigned short", + "value": "2" + }, + { + "name": "MS_MEDIA_KEYERR_DOMAIN", + "type": "unsigned short", + "value": "6" + }, + { + "name": "MS_MEDIA_KEYERR_HARDWARECHANGE", + "type": "unsigned short", + "value": "5" + }, + { + "name": "MS_MEDIA_KEYERR_OUTPUT", + "type": "unsigned short", + "value": "4" + }, + { + "name": "MS_MEDIA_KEYERR_SERVICE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "MS_MEDIA_KEYERR_UNKNOWN", + "type": "unsigned short", + "value": "1" + } + ] + }, + "properties": { + "property": [ + { + "name": "code", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "systemCode", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSMediaKeyMessageEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "destinationURL", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "message", + "read-only": "1", + "type": "Uint8Array" + } + ] + } + }, + { + "name": "MSMediaKeyNeededEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "initData", + "nullable": "1", + "read-only": "1", + "type": "Uint8Array" + } + ] + } + }, + { + "name": "MSMediaKeys", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "keySystem", + "type": "DOMString" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "createSession", + "type": "MSMediaKeySession", + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "initData", + "type": "Uint8Array" + }, + { + "name": "cdmData", + "nullable": "1", + "optional": "1", + "type": "Uint8Array" + } + ] + }, + { + "name": "isTypeSupported", + "static": "1", + "type": "bool", + "param": [ + { + "name": "keySystem", + "type": "DOMString" + }, + { + "name": "type", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "isTypeSupportedWithFeatures", + "static": "1", + "type": "DOMString", + "param": [ + { + "name": "keySystem", + "type": "DOMString" + }, + { + "name": "type", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "keySystem", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSMediaKeySession", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "mskeymessage", + "dispatch": "sync", + "skips-window": "1", + "tags": "IEOnly", + "type": "MSMediaKeyMessageEvent" + }, + { + "name": "mskeyadded", + "dispatch": "sync", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + }, + { + "name": "mskeyerror", + "dispatch": "sync", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "void" + }, + { + "name": "update", + "type": "void", + "param": [ + { + "name": "key", + "type": "Uint8Array" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "nullable": "1", + "read-only": "1", + "type": "MSMediaKeyError" + }, + { + "name": "keySystem", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "sessionId", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSPointerEvent", + "extends": "MouseEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PointerEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "getCurrentPoint", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "getIntermediatePoints", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "initPointerEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "float" + }, + { + "name": "clientYArg", + "type": "float" + }, + { + "name": "ctrlKeyArg", + "type": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + }, + { + "name": "offsetXArg", + "type": "float" + }, + { + "name": "offsetYArg", + "type": "float" + }, + { + "name": "widthArg", + "type": "long" + }, + { + "name": "heightArg", + "type": "long" + }, + { + "name": "pressure", + "type": "float" + }, + { + "name": "rotation", + "type": "long" + }, + { + "name": "tiltX", + "type": "long" + }, + { + "name": "tiltY", + "type": "long" + }, + { + "name": "pointerIdArg", + "type": "long" + }, + { + "name": "pointerType", + "type": "any" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long" + }, + { + "name": "isPrimary", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "currentPoint", + "read-only": "1", + "type": "any" + }, + { + "name": "height", + "read-only": "1", + "type": "long" + }, + { + "name": "hwTimestamp", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "intermediatePoints", + "read-only": "1", + "type": "any" + }, + { + "name": "isPrimary", + "read-only": "1", + "type": "boolean" + }, + { + "name": "pointerId", + "read-only": "1", + "type": "long" + }, + { + "name": "pointerType", + "read-only": "1", + "type": "any" + }, + { + "name": "pressure", + "read-only": "1", + "type": "float" + }, + { + "name": "rotation", + "read-only": "1", + "type": "long" + }, + { + "name": "tiltX", + "read-only": "1", + "type": "long" + }, + { + "name": "tiltY", + "read-only": "1", + "type": "long" + }, + { + "name": "width", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "MSRangeCollection", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "Range", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "MSSiteModeEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "actionURL", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "buttonID", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "MSStream", + "extends": "Object", + "methods": { + "method": [ + { + "name": "msClose", + "type": "void" + }, + { + "name": "msDetachStream", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "MSStreamReader", + "extends": "EventTarget", + "constructor": [ + null, + "" + ], + "events": { + "event": [ + { + "name": "load", + "dispatch": "sync", + "follows": "progress", + "precedes": "loadend", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + }, + { + "name": "loadstart", + "dispatch": "sync", + "precedes": "progress", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + }, + { + "name": "loadend", + "dispatch": "sync", + "follows": "load", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + }, + { + "name": "progress", + "dispatch": "sync", + "follows": "loadstart", + "precedes": "load", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + }, + { + "name": "abort", + "dispatch": "sync", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "tags": "IEOnly", + "type": "ProgressEvent" + } + ] + }, + "implements": "MSBaseReader", + "methods": { + "method": [ + { + "name": "readAsArrayBuffer", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "size", + "default": "-1", + "optional": "1", + "type": "long long" + } + ] + }, + { + "name": "readAsBinaryString", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "size", + "default": "-1", + "optional": "1", + "type": "long long" + } + ] + }, + { + "name": "readAsBlob", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "size", + "default": "-1", + "optional": "1", + "type": "long long" + } + ] + }, + { + "name": "readAsDataURL", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "size", + "default": "-1", + "optional": "1", + "type": "long long" + } + ] + }, + { + "name": "readAsText", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "encoding", + "optional": "1", + "type": "DOMString" + }, + { + "name": "size", + "default": "-1", + "optional": "1", + "type": "long long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "type": "DOMError" + } + ] + } + }, + { + "name": "MSWebViewAsyncOperation", + "extends": "EventTarget", + "tags": "MSAppOnly", + "constants": { + "constant": [ + { + "name": "COMPLETED", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "1" + }, + { + "name": "ERROR", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "2" + }, + { + "name": "STARTED", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "0" + }, + { + "name": "TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "0" + }, + { + "name": "TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "2" + }, + { + "name": "TYPE_INVOKE_SCRIPT", + "tags": "MSAppOnly", + "type": "unsigned short", + "value": "1" + } + ] + }, + "events": { + "event": [ + { + "name": "complete", + "dispatch": "sync", + "skips-window": "1", + "tags": "MSAppOnly", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "tags": "MSAppOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "start", + "tags": "MSAppOnly", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMError" + }, + { + "name": "oncomplete", + "event-handler": "complete", + "tags": "MSAppOnly", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "tags": "MSAppOnly", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "tags": "MSAppOnly", + "type": "unsigned short" + }, + { + "name": "result", + "read-only": "1", + "tags": "MSAppOnly", + "type": "any" + }, + { + "name": "target", + "read-only": "1", + "tags": "MSAppOnly", + "type": "MSHTMLWebViewElement" + }, + { + "name": "type", + "read-only": "1", + "tags": "MSAppOnly", + "type": "unsigned short" + } + ] + } + }, + { + "name": "MSWebViewSettings", + "extends": "Object", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "isIndexedDBEnabled", + "tags": "MSAppOnly", + "type": "bool" + }, + { + "name": "isJavaScriptEnabled", + "tags": "MSAppOnly", + "type": "bool" + } + ] + } + }, + { + "name": "MutationEvent", + "extends": "Event", + "constants": { + "constant": [ + { + "name": "ADDITION", + "type": "unsigned short", + "value": "2" + }, + { + "name": "MODIFICATION", + "type": "unsigned short", + "value": "1" + }, + { + "name": "REMOVAL", + "type": "unsigned short", + "value": "3" + } + ] + }, + "methods": { + "method": [ + { + "name": "initMutationEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "relatedNodeArg", + "type": "Node" + }, + { + "name": "prevValueArg", + "type": "DOMString" + }, + { + "name": "newValueArg", + "type": "DOMString" + }, + { + "name": "attrNameArg", + "type": "DOMString" + }, + { + "name": "attrChangeArg", + "type": "unsigned short" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "attrChange", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "attrName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "newValue", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "prevValue", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "relatedNode", + "read-only": "1", + "type": "Node" + } + ] + } + }, + { + "name": "MutationObserver", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "callback", + "type": "MutationCallback" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "disconnect", + "type": "void" + }, + { + "name": "observe", + "type": "void", + "param": [ + { + "name": "target", + "type": "Node" + }, + { + "name": "options", + "type": "MutationObserverInit" + } + ] + }, + { + "name": "takeRecords", + "type": "sequence" + } + ] + } + }, + { + "name": "MutationRecord", + "extends": "Object", + "properties": { + "property": [ + { + "name": "addedNodes", + "read-only": "1", + "type": "NodeList" + }, + { + "name": "attributeName", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "attributeNamespace", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "nextSibling", + "nullable": "1", + "read-only": "1", + "type": "Node" + }, + { + "name": "oldValue", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "previousSibling", + "nullable": "1", + "read-only": "1", + "type": "Node" + }, + { + "name": "removedNodes", + "read-only": "1", + "type": "NodeList" + }, + { + "name": "target", + "read-only": "1", + "type": "Node" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "NamedNodeMap", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getNamedItem", + "getter": "1", + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getNamedItemNS", + "type": "Attr", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "localName", + "nullable": "1", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "Attr", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeNamedItem", + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "removeNamedItemNS", + "type": "Attr", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "localName", + "nullable": "1", + "type": "DOMString" + } + ] + }, + { + "name": "setNamedItem", + "type": "Attr", + "param": [ + { + "name": "arg", + "type": "Attr" + } + ] + }, + { + "name": "setNamedItemNS", + "type": "Attr", + "param": [ + { + "name": "arg", + "type": "Attr" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "NavigationCompletedEvent", + "extends": "NavigationEvent", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "isSuccess", + "read-only": "1", + "tags": "MSAppOnly", + "type": "boolean" + }, + { + "name": "webErrorStatus", + "read-only": "1", + "tags": "MSAppOnly", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "NavigationEvent", + "extends": "Event", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "uri", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + } + ] + } + }, + { + "name": "NavigationEventWithReferrer", + "extends": "NavigationEvent", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "referer", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + } + ] + } + }, + { + "name": "Navigator", + "extends": "Object", + "implements": [ + "NavigatorID", + "NavigatorOnLine", + "NavigatorContentUtils", + "NavigatorStorageUtils", + "NavigatorGeolocation", + "MSNavigatorDoNotTrack", + "MSFileSaver", + "NavigatorBeacon", + "NavigatorConcurrentHardware", + "NavigatorUserMedia" + ], + "methods": { + "method": [ + { + "name": "getGamepads", + "type": "sequence" + }, + { + "name": "javaEnabled", + "type": "boolean" + }, + { + "name": "msLaunchUri", + "type": "void", + "param": [ + { + "name": "uri", + "type": "DOMString" + }, + { + "name": "successCallback", + "default": "0", + "optional": "1", + "type": "MSLaunchUriCallback" + }, + { + "name": "noHandlerCallback", + "default": "0", + "optional": "1", + "type": "MSLaunchUriCallback" + } + ] + }, + { + "name": "requestMediaKeySystemAccess", + "type": "Promise", + "param": [ + { + "name": "keySystem", + "type": "DOMString" + }, + { + "name": "supportedConfigurations", + "type": "sequence" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "authentication", + "read-only": "1", + "type": "WebAuthentication" + }, + { + "name": "cookieEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "gamepadInputEmulation", + "type": "GamepadInputEmulationType" + }, + { + "name": "language", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "maxTouchPoints", + "read-only": "1", + "type": "long" + }, + { + "name": "mimeTypes", + "read-only": "1", + "type": "MimeTypeArray" + }, + { + "name": "msManipulationViewsEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "msMaxTouchPoints", + "read-only": "1", + "type": "long" + }, + { + "name": "msPointerEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "plugins", + "read-only": "1", + "type": "PluginArray" + }, + { + "name": "pointerEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "serviceWorker", + "read-only": "1", + "same-object": "1", + "secure-context": "1", + "type": "ServiceWorkerContainer" + }, + { + "name": "webdriver", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "Node", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "ATTRIBUTE_NODE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "CDATA_SECTION_NODE", + "type": "unsigned short", + "value": "4" + }, + { + "name": "COMMENT_NODE", + "type": "unsigned short", + "value": "8" + }, + { + "name": "DOCUMENT_FRAGMENT_NODE", + "type": "unsigned short", + "value": "11" + }, + { + "name": "DOCUMENT_NODE", + "type": "unsigned short", + "value": "9" + }, + { + "name": "DOCUMENT_POSITION_CONTAINED_BY", + "type": "unsigned short", + "value": "0x10" + }, + { + "name": "DOCUMENT_POSITION_CONTAINS", + "type": "unsigned short", + "value": "0x08" + }, + { + "name": "DOCUMENT_POSITION_DISCONNECTED", + "type": "unsigned short", + "value": "0x01" + }, + { + "name": "DOCUMENT_POSITION_FOLLOWING", + "type": "unsigned short", + "value": "0x04" + }, + { + "name": "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", + "type": "unsigned short", + "value": "0x20" + }, + { + "name": "DOCUMENT_POSITION_PRECEDING", + "type": "unsigned short", + "value": "0x02" + }, + { + "name": "DOCUMENT_TYPE_NODE", + "type": "unsigned short", + "value": "10" + }, + { + "name": "ELEMENT_NODE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "ENTITY_NODE", + "type": "unsigned short", + "value": "6" + }, + { + "name": "ENTITY_REFERENCE_NODE", + "type": "unsigned short", + "value": "5" + }, + { + "name": "NOTATION_NODE", + "type": "unsigned short", + "value": "12" + }, + { + "name": "PROCESSING_INSTRUCTION_NODE", + "type": "unsigned short", + "value": "7" + }, + { + "name": "TEXT_NODE", + "type": "unsigned short", + "value": "3" + } + ] + }, + "methods": { + "method": [ + { + "name": "appendChild", + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node" + } + ] + }, + { + "name": "cloneNode", + "type": "Node", + "param": [ + { + "name": "deep", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "compareDocumentPosition", + "type": "unsigned short", + "param": [ + { + "name": "other", + "type": "Node" + } + ] + }, + { + "name": "contains", + "type": "boolean", + "param": [ + { + "name": "child", + "type": "Node" + } + ] + }, + { + "name": "hasAttributes", + "type": "boolean" + }, + { + "name": "hasChildNodes", + "type": "boolean" + }, + { + "name": "insertBefore", + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node" + }, + { + "name": "refChild", + "default": "null", + "optional": "1", + "type": "Node" + } + ] + }, + { + "name": "isDefaultNamespace", + "type": "boolean", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + } + ] + }, + { + "name": "isEqualNode", + "type": "boolean", + "param": [ + { + "name": "arg", + "type": "Node" + } + ] + }, + { + "name": "isSameNode", + "type": "boolean", + "param": [ + { + "name": "other", + "type": "Node" + } + ] + }, + { + "name": "lookupNamespaceURI", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "prefix", + "nullable": "1", + "type": "DOMString" + } + ] + }, + { + "name": "lookupPrefix", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "namespaceURI", + "nullable": "1", + "type": "DOMString" + } + ] + }, + { + "name": "normalize", + "type": "void" + }, + { + "name": "removeChild", + "type": "Node", + "param": [ + { + "name": "oldChild", + "type": "Node" + } + ] + }, + { + "name": "replaceChild", + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node" + }, + { + "name": "oldChild", + "type": "Node" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "attributes", + "read-only": "1", + "type": "NamedNodeMap" + }, + { + "name": "baseURI", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "childNodes", + "read-only": "1", + "type": "NodeList" + }, + { + "name": "firstChild", + "read-only": "1", + "type": "Node" + }, + { + "name": "lastChild", + "read-only": "1", + "type": "Node" + }, + { + "name": "localName", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "namespaceURI", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "nextSibling", + "read-only": "1", + "type": "Node" + }, + { + "name": "nodeName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "nodeType", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "nodeValue", + "nullable": "1", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "ownerDocument", + "read-only": "1", + "type": "Document" + }, + { + "name": "parentElement", + "read-only": "1", + "type": "HTMLElement" + }, + { + "name": "parentNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "previousSibling", + "read-only": "1", + "type": "Node" + }, + { + "name": "textContent", + "nullable": "1", + "treat-null-as": "EmptyString", + "type": "DOMString" + } + ] + } + }, + { + "name": "NodeFilter", + "extends": "Object", + "static": "1", + "constants": { + "constant": [ + { + "name": "FILTER_ACCEPT", + "type": "short", + "value": "1" + }, + { + "name": "FILTER_REJECT", + "type": "short", + "value": "2" + }, + { + "name": "FILTER_SKIP", + "type": "short", + "value": "3" + }, + { + "name": "SHOW_ALL", + "type": "unsigned long", + "value": "0xFFFFFFFF" + }, + { + "name": "SHOW_ATTRIBUTE", + "type": "unsigned long", + "value": "0x00000002" + }, + { + "name": "SHOW_CDATA_SECTION", + "type": "unsigned long", + "value": "0x00000008" + }, + { + "name": "SHOW_COMMENT", + "type": "unsigned long", + "value": "0x00000080" + }, + { + "name": "SHOW_DOCUMENT", + "type": "unsigned long", + "value": "0x00000100" + }, + { + "name": "SHOW_DOCUMENT_FRAGMENT", + "type": "unsigned long", + "value": "0x00000400" + }, + { + "name": "SHOW_DOCUMENT_TYPE", + "type": "unsigned long", + "value": "0x00000200" + }, + { + "name": "SHOW_ELEMENT", + "type": "unsigned long", + "value": "0x00000001" + }, + { + "name": "SHOW_ENTITY", + "type": "unsigned long", + "value": "0x00000020" + }, + { + "name": "SHOW_ENTITY_REFERENCE", + "type": "unsigned long", + "value": "0x00000010" + }, + { + "name": "SHOW_NOTATION", + "type": "unsigned long", + "value": "0x00000800" + }, + { + "name": "SHOW_PROCESSING_INSTRUCTION", + "type": "unsigned long", + "value": "0x00000040" + }, + { + "name": "SHOW_TEXT", + "type": "unsigned long", + "value": "0x00000004" + } + ] + }, + "methods": { + "method": [ + { + "name": "acceptNode", + "type": "short", + "param": [ + { + "name": "n", + "type": "Node" + } + ] + } + ] + } + }, + { + "name": "NodeIterator", + "extends": "Object", + "methods": { + "method": [ + { + "name": "detach", + "type": "void" + }, + { + "name": "nextNode", + "type": "Node" + }, + { + "name": "previousNode", + "type": "Node" + } + ] + }, + "properties": { + "property": [ + { + "name": "expandEntityReferences", + "read-only": "1", + "type": "boolean" + }, + { + "name": "filter", + "read-only": "1", + "type": "NodeFilter" + }, + { + "name": "root", + "read-only": "1", + "type": "Node" + }, + { + "name": "whatToShow", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "NodeList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "Node", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "Notification", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "title", + "type": "DOMString" + }, + { + "name": "options", + "optional": "1", + "type": "NotificationOptions" + } + ] + } + ], + "events": { + "event": [ + { + "name": "click", + "dispatch": "sync", + "follows": "show", + "skips-window": "1", + "type": "Event" + }, + { + "name": "show", + "dispatch": "sync", + "precedes": "click", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "close", + "dispatch": "sync", + "follows": "show", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "void" + }, + { + "name": "requestPermission", + "static": "1", + "type": "Promise", + "param": [ + { + "name": "callback", + "optional": "1", + "type": "NotificationPermissionCallback" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "body", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "dir", + "read-only": "1", + "type": "NotificationDirection" + }, + { + "name": "icon", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "lang", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "onclick", + "event-handler": "click", + "type": "EventHandler" + }, + { + "name": "onclose", + "event-handler": "close", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onshow", + "event-handler": "show", + "type": "EventHandler" + }, + { + "name": "permission", + "read-only": "1", + "static": "1", + "type": "NotificationPermission" + }, + { + "name": "tag", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "title", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "OES_element_index_uint", + "extends": "Object" + }, + { + "name": "OES_standard_derivatives", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B8B" + } + ] + } + }, + { + "name": "OES_texture_float", + "extends": "Object" + }, + { + "name": "OES_texture_float_linear", + "extends": "Object" + }, + { + "name": "OES_texture_half_float", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "HALF_FLOAT_OES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D61" + } + ] + } + }, + { + "name": "OES_texture_half_float_linear", + "extends": "Object" + }, + { + "name": "OfflineAudioCompletionEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "renderedBuffer", + "read-only": "1", + "type": "AudioBuffer" + } + ] + } + }, + { + "name": "OfflineAudioContext", + "extends": "AudioContext", + "constructor": [ + null, + { + "param": [ + { + "name": "numberOfChannels", + "type": "unsigned long" + }, + { + "name": "length", + "type": "unsigned long" + }, + { + "name": "sampleRate", + "type": "float" + } + ] + } + ], + "events": { + "event": [ + { + "name": "complete", + "dispatch": "sync", + "skips-window": "1", + "type": "OfflineAudioCompletionEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "startRendering", + "type": "Promise" + }, + { + "name": "suspend", + "type": "Promise", + "param": [ + { + "name": "suspendTime", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "oncomplete", + "event-handler": "complete", + "type": "EventHandler" + } + ] + } + }, + { + "name": "OscillatorNode", + "extends": "AudioNode", + "events": { + "event": [ + { + "name": "end", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "setPeriodicWave", + "type": "void", + "param": [ + { + "name": "periodicWave", + "type": "PeriodicWave" + } + ] + }, + { + "name": "start", + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "optional": "1", + "type": "double" + } + ] + }, + { + "name": "stop", + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "optional": "1", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "detune", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "frequency", + "read-only": "1", + "type": "AudioParam" + }, + { + "name": "onended", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "type", + "type": "OscillatorType" + } + ] + } + }, + { + "name": "OverflowEvent", + "extends": "UIEvent", + "anonymous-methods": { + "method": [ + { + "type": "initOverflowEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "orient", + "type": "long" + }, + { + "name": "horizontalOverflow", + "type": "boolean" + }, + { + "name": "verticalOverflow", + "type": "boolean" + } + ] + } + ] + }, + "constants": { + "constant": [ + { + "name": "BOTH", + "type": "unsigned short", + "value": "2" + }, + { + "name": "HORIZONTAL", + "type": "unsigned short", + "value": "0" + }, + { + "name": "VERTICAL", + "type": "unsigned short", + "value": "1" + } + ] + }, + "properties": { + "property": [ + { + "name": "horizontalOverflow", + "read-only": "1", + "type": "boolean" + }, + { + "name": "orient", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "verticalOverflow", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "PageTransitionEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "persisted", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "PannerNode", + "extends": "AudioNode", + "methods": { + "method": [ + { + "name": "setOrientation", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ] + }, + { + "name": "setPosition", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ] + }, + { + "name": "setVelocity", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "coneInnerAngle", + "type": "float" + }, + { + "name": "coneOuterAngle", + "type": "float" + }, + { + "name": "coneOuterGain", + "type": "float" + }, + { + "name": "distanceModel", + "type": "DistanceModelType" + }, + { + "name": "maxDistance", + "type": "float" + }, + { + "name": "panningModel", + "type": "PanningModelType" + }, + { + "name": "refDistance", + "type": "float" + }, + { + "name": "rolloffFactor", + "type": "float" + } + ] + } + }, + { + "name": "Path2D", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "path", + "optional": "1", + "type": "Path2D" + } + ] + } + ], + "implements": "CanvasPathMethods" + }, + { + "name": "PaymentAddress", + "extends": "Object", + "secure-context": "1", + "methods": { + "method": [ + { + "name": "toJSON", + "serializer": "1", + "serializer-info": "attribute", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "addressLine", + "read-only": "1", + "type": "sequence" + }, + { + "name": "city", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "country", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "dependentLocality", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "languageCode", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "organization", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "phone", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "postalCode", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "recipient", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "region", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "sortingCode", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "PaymentRequest", + "extends": "EventTarget", + "secure-context": "1", + "constructor": [ + null, + { + "param": [ + { + "name": "methodData", + "type": "sequence" + }, + { + "name": "details", + "type": "PaymentDetails" + }, + { + "name": "options", + "optional": "1", + "type": "PaymentOptions" + } + ] + } + ], + "events": { + "event": [ + { + "name": "shippingaddresschange", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "shippingoptionchange", + "dispatch": "sync", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "type": "Promise" + }, + { + "name": "show", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "onshippingaddresschange", + "event-handler": "shippingaddresschange", + "type": "EventHandler" + }, + { + "name": "onshippingoptionchange", + "event-handler": "shippingoptionchange", + "type": "EventHandler" + }, + { + "name": "shippingAddress", + "nullable": "1", + "read-only": "1", + "type": "PaymentAddress" + }, + { + "name": "shippingOption", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "shippingType", + "nullable": "1", + "read-only": "1", + "type": "PaymentShippingType" + } + ] + } + }, + { + "name": "PaymentRequestUpdateEvent", + "extends": "Event", + "secure-context": "1", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PaymentRequestUpdateEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "updateWith", + "type": "void", + "param": [ + { + "name": "d", + "type": "Promise" + } + ] + } + ] + } + }, + { + "name": "PaymentResponse", + "extends": "Object", + "secure-context": "1", + "methods": { + "method": [ + { + "name": "complete", + "type": "Promise", + "param": [ + { + "name": "result", + "default": "\"\"", + "optional": "1", + "type": "PaymentComplete" + } + ] + }, + { + "name": "toJSON", + "serializer": "1", + "serializer-info": "attribute", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "details", + "read-only": "1", + "type": "object" + }, + { + "name": "methodName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "payerEmail", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "payerName", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "payerPhone", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "shippingAddress", + "nullable": "1", + "read-only": "1", + "type": "PaymentAddress" + }, + { + "name": "shippingOption", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "Performance", + "extends": "Object", + "methods": { + "method": [ + { + "name": "clearMarks", + "type": "void", + "param": [ + { + "name": "markName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "clearMeasures", + "type": "void", + "param": [ + { + "name": "measureName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "clearResourceTimings", + "type": "void" + }, + { + "name": "getEntries", + "type": "any" + }, + { + "name": "getEntriesByName", + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString" + }, + { + "name": "entryType", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getEntriesByType", + "type": "any", + "param": [ + { + "name": "entryType", + "type": "DOMString" + } + ] + }, + { + "name": "getMarks", + "type": "any", + "param": [ + { + "name": "markName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getMeasures", + "type": "any", + "param": [ + { + "name": "measureName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "mark", + "type": "void", + "param": [ + { + "name": "markName", + "type": "DOMString" + } + ] + }, + { + "name": "measure", + "type": "void", + "param": [ + { + "name": "measureName", + "type": "DOMString" + }, + { + "name": "startMarkName", + "optional": "1", + "type": "DOMString" + }, + { + "name": "endMarkName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "now", + "type": "DOMHighResTimeStamp" + }, + { + "name": "setResourceTimingBufferSize", + "type": "void", + "param": [ + { + "name": "maxSize", + "type": "unsigned long" + } + ] + }, + { + "name": "toJSON", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "navigation", + "read-only": "1", + "type": "PerformanceNavigation" + }, + { + "name": "timing", + "read-only": "1", + "type": "PerformanceTiming" + } + ] + } + }, + { + "name": "PerformanceEntry", + "extends": "Object", + "properties": { + "property": [ + { + "name": "duration", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "entryType", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "startTime", + "read-only": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "PerformanceMark", + "extends": "PerformanceEntry" + }, + { + "name": "PerformanceMeasure", + "extends": "PerformanceEntry" + }, + { + "name": "PerformanceNavigation", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "TYPE_BACK_FORWARD", + "type": "unsigned short", + "value": "2" + }, + { + "name": "TYPE_NAVIGATE", + "type": "unsigned short", + "value": "0" + }, + { + "name": "TYPE_RELOAD", + "type": "unsigned short", + "value": "1" + }, + { + "name": "TYPE_RESERVED", + "type": "unsigned short", + "value": "255" + } + ] + }, + "methods": { + "method": [ + { + "name": "toJSON", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "redirectCount", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "type", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "PerformanceNavigationTiming", + "extends": "PerformanceEntry", + "properties": { + "property": [ + { + "name": "connectEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "connectStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domainLookupEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domainLookupStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domComplete", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domContentLoadedEventEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domContentLoadedEventStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domInteractive", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domLoading", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "fetchStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "loadEventEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "loadEventStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "navigationStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "redirectCount", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "redirectEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "redirectStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "requestStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "responseEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "responseStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "type", + "read-only": "1", + "type": "NavigationType" + }, + { + "name": "unloadEventEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "unloadEventStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "PerformanceResourceTiming", + "extends": "PerformanceEntry", + "properties": { + "property": [ + { + "name": "connectEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "connectStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domainLookupEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "domainLookupStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "fetchStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "initiatorType", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "redirectEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "redirectStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "requestStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "responseEnd", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "responseStart", + "read-only": "1", + "type": "DOMHighResTimeStamp" + } + ] + } + }, + { + "name": "PerformanceTiming", + "extends": "Object", + "methods": { + "method": [ + { + "name": "toJSON", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "connectEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "connectStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domainLookupEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domainLookupStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domComplete", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domContentLoadedEventEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domContentLoadedEventStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domInteractive", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "domLoading", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "fetchStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "loadEventEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "loadEventStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "msFirstPaint", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "navigationStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "redirectEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "redirectStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "requestStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "responseEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "responseStart", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "unloadEventEnd", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "unloadEventStart", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "PerfWidgetExternal", + "extends": "Object", + "methods": { + "method": [ + { + "name": "addEventListener", + "type": "void", + "param": [ + { + "name": "eventType", + "type": "DOMString" + }, + { + "name": "callback", + "type": "Function" + } + ] + }, + { + "name": "getMemoryUsage", + "type": "unsigned long" + }, + { + "name": "getProcessCpuUsage", + "type": "unsigned long" + }, + { + "name": "getRecentCpuUsage", + "type": "any", + "param": [ + { + "name": "last", + "nullable": "1", + "type": "unsigned long long" + } + ] + }, + { + "name": "getRecentFrames", + "type": "any", + "param": [ + { + "name": "last", + "nullable": "1", + "type": "unsigned long long" + } + ] + }, + { + "name": "getRecentMemoryUsage", + "type": "any", + "param": [ + { + "name": "last", + "nullable": "1", + "type": "unsigned long long" + } + ] + }, + { + "name": "getRecentPaintRequests", + "type": "any", + "param": [ + { + "name": "last", + "nullable": "1", + "type": "unsigned long long" + } + ] + }, + { + "name": "removeEventListener", + "type": "void", + "param": [ + { + "name": "eventType", + "type": "DOMString" + }, + { + "name": "callback", + "type": "Function" + } + ] + }, + { + "name": "repositionWindow", + "type": "void", + "param": [ + { + "name": "x", + "type": "long" + }, + { + "name": "y", + "type": "long" + } + ] + }, + { + "name": "resizeWindow", + "type": "void", + "param": [ + { + "name": "width", + "type": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "activeNetworkRequestCount", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "averageFrameTime", + "read-only": "1", + "type": "double" + }, + { + "name": "averagePaintTime", + "read-only": "1", + "type": "double" + }, + { + "name": "extraInformationEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "independentRenderingEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "irDisablingContentString", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "irStatusAvailable", + "read-only": "1", + "type": "boolean" + }, + { + "name": "maxCpuSpeed", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "paintRequestsPerSecond", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "performanceCounter", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "performanceCounterFrequency", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "PeriodicWave", + "extends": "Object" + }, + { + "name": "PermissionRequest", + "extends": "DeferredPermissionRequest", + "methods": { + "method": [ + { + "name": "defer", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "state", + "read-only": "1", + "type": "MSWebViewPermissionState" + } + ] + } + }, + { + "name": "PermissionRequestedEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "permissionRequest", + "read-only": "1", + "type": "PermissionRequest" + } + ] + } + }, + { + "name": "Plugin", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "MimeType", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "type": "MimeType", + "param": [ + { + "name": "type", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "description", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "filename", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "version", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "PluginArray", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "Plugin", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "namedItem", + "getter": "1", + "type": "Plugin", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "refresh", + "type": "void", + "param": [ + { + "name": "reload", + "optional": "1", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "PointerEvent", + "extends": "MouseEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PointerEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "getCurrentPoint", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "getIntermediatePoints", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "initPointerEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "float" + }, + { + "name": "clientYArg", + "type": "float" + }, + { + "name": "ctrlKeyArg", + "type": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + }, + { + "name": "offsetXArg", + "type": "float" + }, + { + "name": "offsetYArg", + "type": "float" + }, + { + "name": "widthArg", + "type": "long" + }, + { + "name": "heightArg", + "type": "long" + }, + { + "name": "pressure", + "type": "float" + }, + { + "name": "rotation", + "type": "long" + }, + { + "name": "tiltX", + "type": "long" + }, + { + "name": "tiltY", + "type": "long" + }, + { + "name": "pointerIdArg", + "type": "long" + }, + { + "name": "pointerType", + "type": "any" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long" + }, + { + "name": "isPrimary", + "type": "boolean" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "currentPoint", + "read-only": "1", + "type": "any" + }, + { + "name": "height", + "read-only": "1", + "type": "long" + }, + { + "name": "hwTimestamp", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "intermediatePoints", + "read-only": "1", + "type": "any" + }, + { + "name": "isPrimary", + "read-only": "1", + "type": "boolean" + }, + { + "name": "pointerId", + "read-only": "1", + "type": "long" + }, + { + "name": "pointerType", + "read-only": "1", + "type": "any" + }, + { + "name": "pressure", + "read-only": "1", + "type": "float" + }, + { + "name": "rotation", + "read-only": "1", + "type": "long" + }, + { + "name": "tiltX", + "read-only": "1", + "type": "long" + }, + { + "name": "tiltY", + "read-only": "1", + "type": "long" + }, + { + "name": "width", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "PopStateEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PopStateEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initPopStateEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "stateArg", + "type": "any" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "state", + "read-only": "1", + "type": "any" + } + ] + } + }, + { + "name": "Position", + "extends": "Object", + "properties": { + "property": [ + { + "name": "coords", + "read-only": "1", + "type": "Coordinates" + }, + { + "name": "timestamp", + "read-only": "1", + "type": "DOMTimeStamp" + } + ] + } + }, + { + "name": "PositionError", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "PERMISSION_DENIED", + "type": "unsigned short", + "value": "1" + }, + { + "name": "POSITION_UNAVAILABLE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "TIMEOUT", + "type": "unsigned short", + "value": "3" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "code", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "message", + "read-only": "1", + "stringifier": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "ProcessingInstruction", + "extends": "CharacterData", + "events": { + "event": [ + { + "name": "DOMCharacterDataModified", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + } + ] + }, + "properties": { + "property": [ + { + "name": "target", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "ProgressEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ProgressEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initProgressEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "lengthComputableArg", + "type": "boolean" + }, + { + "name": "loadedArg", + "type": "unsigned long long" + }, + { + "name": "totalArg", + "type": "unsigned long long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "lengthComputable", + "read-only": "1", + "type": "boolean" + }, + { + "name": "loaded", + "read-only": "1", + "type": "unsigned long long" + }, + { + "name": "total", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "PushManager", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getSubscription", + "type": "Promise" + }, + { + "name": "permissionState", + "type": "Promise", + "param": [ + { + "name": "options", + "optional": "1", + "type": "PushSubscriptionOptionsInit" + } + ] + }, + { + "name": "subscribe", + "type": "Promise", + "param": [ + { + "name": "options", + "optional": "1", + "type": "PushSubscriptionOptionsInit" + } + ] + } + ] + } + }, + { + "name": "PushSubscription", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getKey", + "nullable": "1", + "type": "ArrayBuffer", + "param": [ + { + "name": "name", + "type": "PushEncryptionKeyName" + } + ] + }, + { + "name": "toJSON", + "serializer": "1", + "type": "any" + }, + { + "name": "unsubscribe", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "endpoint", + "read-only": "1", + "type": "USVString" + }, + { + "name": "options", + "read-only": "1", + "same-object": "1", + "type": "PushSubscriptionOptions" + } + ] + } + }, + { + "name": "PushSubscriptionOptions", + "extends": "Object", + "properties": { + "property": [ + { + "name": "applicationServerKey", + "nullable": "1", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "userVisibleOnly", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "Range", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "END_TO_END", + "type": "unsigned short", + "value": "2" + }, + { + "name": "END_TO_START", + "type": "unsigned short", + "value": "3" + }, + { + "name": "START_TO_END", + "type": "unsigned short", + "value": "1" + }, + { + "name": "START_TO_START", + "type": "unsigned short", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "cloneContents", + "type": "DocumentFragment" + }, + { + "name": "cloneRange", + "type": "Range" + }, + { + "name": "collapse", + "type": "void", + "param": [ + { + "name": "toStart", + "type": "boolean" + } + ] + }, + { + "name": "compareBoundaryPoints", + "type": "short", + "param": [ + { + "name": "how", + "type": "unsigned short" + }, + { + "name": "sourceRange", + "type": "Range" + } + ] + }, + { + "name": "createContextualFragment", + "type": "DocumentFragment", + "param": [ + { + "name": "fragment", + "type": "DOMString" + } + ] + }, + { + "name": "deleteContents", + "type": "void" + }, + { + "name": "detach", + "type": "void" + }, + { + "name": "expand", + "type": "boolean", + "param": [ + { + "name": "Unit", + "type": "ExpandGranularity" + } + ] + }, + { + "name": "extractContents", + "type": "DocumentFragment" + }, + { + "name": "getBoundingClientRect", + "type": "ClientRect" + }, + { + "name": "getClientRects", + "type": "ClientRectList" + }, + { + "name": "insertNode", + "type": "void", + "param": [ + { + "name": "newNode", + "type": "Node" + } + ] + }, + { + "name": "selectNode", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "selectNodeContents", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "setEnd", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + }, + { + "name": "offset", + "type": "long" + } + ] + }, + { + "name": "setEndAfter", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "setEndBefore", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "setStart", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + }, + { + "name": "offset", + "type": "long" + } + ] + }, + { + "name": "setStartAfter", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "setStartBefore", + "type": "void", + "param": [ + { + "name": "refNode", + "type": "Node" + } + ] + }, + { + "name": "surroundContents", + "type": "void", + "param": [ + { + "name": "newParent", + "type": "Node" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "collapsed", + "read-only": "1", + "type": "boolean" + }, + { + "name": "commonAncestorContainer", + "read-only": "1", + "type": "Node" + }, + { + "name": "endContainer", + "read-only": "1", + "type": "Node" + }, + { + "name": "endOffset", + "read-only": "1", + "type": "long" + }, + { + "name": "startContainer", + "read-only": "1", + "type": "Node" + }, + { + "name": "startOffset", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "ReadableStream", + "extends": "Object", + "methods": { + "method": [ + { + "name": "cancel", + "type": "Promise" + }, + { + "name": "getReader", + "type": "ReadableStreamReader" + } + ] + }, + "properties": { + "property": [ + { + "name": "locked", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "ReadableStreamReader", + "extends": "Object", + "methods": { + "method": [ + { + "name": "cancel", + "type": "Promise" + }, + { + "name": "read", + "type": "Promise" + }, + { + "name": "releaseLock", + "type": "void" + } + ] + } + }, + { + "name": "Request", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "input", + "type": "(Request or DOMString)", + "type-original": "RequestInfo" + }, + { + "name": "init", + "optional": "1", + "type": "RequestInit" + } + ] + } + ], + "implements": "Body", + "methods": { + "method": [ + { + "name": "clone", + "type": "Request" + } + ] + }, + "properties": { + "property": [ + { + "name": "cache", + "read-only": "1", + "type": "RequestCache" + }, + { + "name": "credentials", + "read-only": "1", + "type": "RequestCredentials" + }, + { + "name": "destination", + "read-only": "1", + "type": "RequestDestination" + }, + { + "name": "headers", + "read-only": "1", + "type": "Headers" + }, + { + "name": "integrity", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "keepalive", + "read-only": "1", + "type": "boolean" + }, + { + "name": "method", + "read-only": "1", + "type": "DOMString", + "type-original": "ByteString" + }, + { + "name": "mode", + "read-only": "1", + "type": "RequestMode" + }, + { + "name": "redirect", + "read-only": "1", + "type": "RequestRedirect" + }, + { + "name": "referrer", + "read-only": "1", + "type": "DOMString", + "type-original": "USVString" + }, + { + "name": "referrerPolicy", + "read-only": "1", + "type": "ReferrerPolicy" + }, + { + "name": "type", + "read-only": "1", + "type": "RequestType" + }, + { + "name": "url", + "read-only": "1", + "type": "DOMString", + "type-original": "USVString" + } + ] + } + }, + { + "name": "Response", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "body", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "(Blob or BufferSource or FormData or DOMString)", + "type-original": "BodyInit" + }, + { + "name": "init", + "optional": "1", + "type": "ResponseInit" + } + ] + } + ], + "implements": "Body", + "methods": { + "method": [ + { + "name": "clone", + "type": "Response" + } + ] + }, + "properties": { + "property": [ + { + "name": "body", + "nullable": "1", + "read-only": "1", + "type": "ReadableStream" + }, + { + "name": "headers", + "read-only": "1", + "type": "Headers" + }, + { + "name": "ok", + "read-only": "1", + "type": "boolean" + }, + { + "name": "status", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "statusText", + "read-only": "1", + "type": "DOMString", + "type-original": "ByteString" + }, + { + "name": "type", + "read-only": "1", + "type": "ResponseType" + }, + { + "name": "url", + "read-only": "1", + "type": "DOMString", + "type-original": "USVString" + } + ] + } + }, + { + "name": "RTCDtlsTransport", + "extends": "RTCStatsProvider", + "constructor": [ + null, + { + "param": [ + { + "name": "transport", + "type": "RTCIceTransport" + } + ] + } + ], + "events": { + "event": [ + { + "name": "dtlsstatechange", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCDtlsTransportStateChangedEvent" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getLocalParameters", + "type": "RTCDtlsParameters" + }, + { + "name": "getRemoteCertificates", + "type": "sequence" + }, + { + "name": "getRemoteParameters", + "nullable": "1", + "type": "RTCDtlsParameters" + }, + { + "name": "start", + "type": "void", + "param": [ + { + "name": "remoteParameters", + "type": "RTCDtlsParameters" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "ondtlsstatechange", + "event-handler": "dtlsstatechange", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "state", + "read-only": "1", + "type": "RTCDtlsTransportState" + }, + { + "name": "transport", + "read-only": "1", + "type": "RTCIceTransport" + } + ] + } + }, + { + "name": "RTCDtlsTransportStateChangedEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "state", + "read-only": "1", + "type": "RTCDtlsTransportState" + } + ] + } + }, + { + "name": "RTCDtmfSender", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "sender", + "type": "RTCRtpSender" + } + ] + } + ], + "events": { + "event": [ + { + "name": "tonechange", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCDTMFToneChangeEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "insertDTMF", + "type": "void", + "param": [ + { + "name": "tones", + "type": "DOMString" + }, + { + "name": "duration", + "optional": "1", + "type": "long" + }, + { + "name": "interToneGap", + "optional": "1", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "canInsertDTMF", + "read-only": "1", + "type": "boolean" + }, + { + "name": "duration", + "read-only": "1", + "type": "long" + }, + { + "name": "interToneGap", + "read-only": "1", + "type": "long" + }, + { + "name": "ontonechange", + "event-handler": "tonechange", + "type": "EventHandler" + }, + { + "name": "sender", + "read-only": "1", + "type": "RTCRtpSender" + }, + { + "name": "toneBuffer", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCDTMFToneChangeEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCDTMFToneChangeEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "tone", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "RTCIceCandidate", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "candidateInitDict", + "optional": "1", + "type": "RTCIceCandidateInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "toJSON", + "serializer": "1", + "serializer-info": "attribute", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "candidate", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "sdpMid", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "sdpMLineIndex", + "nullable": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "RTCIceCandidatePairChangedEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "pair", + "read-only": "1", + "type": "RTCIceCandidatePair" + } + ] + } + }, + { + "name": "RTCIceGatherer", + "extends": "RTCStatsProvider", + "constructor": [ + null, + { + "param": [ + { + "name": "options", + "type": "RTCIceGatherOptions" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "localcandidate", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCIceGathererEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "createAssociatedGatherer", + "type": "RTCIceGatherer" + }, + { + "name": "getLocalCandidates", + "type": "sequence" + }, + { + "name": "getLocalParameters", + "type": "RTCIceParameters" + } + ] + }, + "properties": { + "property": [ + { + "name": "component", + "read-only": "1", + "type": "RTCIceComponent" + }, + { + "name": "onerror", + "event-handler": "error", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "onlocalcandidate", + "event-handler": "localcandidate", + "nullable": "1", + "type": "EventHandler" + } + ] + } + }, + { + "name": "RTCIceGathererEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "candidate", + "read-only": "1", + "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)", + "type-original": "RTCIceGatherCandidate" + } + ] + } + }, + { + "name": "RTCIceTransport", + "extends": "RTCStatsProvider", + "constructor": [ + null, + "" + ], + "events": { + "event": [ + { + "name": "icestatechange", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCIceTransportStateChangedEvent" + }, + { + "name": "candidatepairchange", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCIceCandidatePairChangedEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "addRemoteCandidate", + "type": "void", + "param": [ + { + "name": "remoteCandidate", + "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)", + "type-original": "RTCIceGatherCandidate" + } + ] + }, + { + "name": "createAssociatedTransport", + "type": "RTCIceTransport" + }, + { + "name": "getNominatedCandidatePair", + "nullable": "1", + "type": "RTCIceCandidatePair" + }, + { + "name": "getRemoteCandidates", + "type": "sequence" + }, + { + "name": "getRemoteParameters", + "nullable": "1", + "type": "RTCIceParameters" + }, + { + "name": "setRemoteCandidates", + "type": "void", + "param": [ + { + "name": "remoteCandidates", + "type": "sequence" + } + ] + }, + { + "name": "start", + "type": "void", + "param": [ + { + "name": "gatherer", + "type": "RTCIceGatherer" + }, + { + "name": "remoteParameters", + "type": "RTCIceParameters" + }, + { + "name": "role", + "optional": "1", + "type": "RTCIceRole" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "component", + "read-only": "1", + "type": "RTCIceComponent" + }, + { + "name": "iceGatherer", + "nullable": "1", + "read-only": "1", + "type": "RTCIceGatherer" + }, + { + "name": "oncandidatepairchange", + "event-handler": "candidatepairchange", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "onicestatechange", + "event-handler": "icestatechange", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "role", + "read-only": "1", + "type": "RTCIceRole" + }, + { + "name": "state", + "read-only": "1", + "type": "RTCIceTransportState" + } + ] + } + }, + { + "name": "RTCIceTransportStateChangedEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "state", + "read-only": "1", + "type": "RTCIceTransportState" + } + ] + } + }, + { + "name": "RTCPeerConnection", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration" + } + ] + } + ], + "events": { + "event": [ + { + "name": "negotiationneeded", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "icecandidate", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCPeerConnectionIceEvent" + }, + { + "name": "signalingstatechange", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "addstream", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamEvent" + }, + { + "name": "removestream", + "dispatch": "sync", + "skips-window": "1", + "type": "MediaStreamEvent" + }, + { + "name": "iceconnectionstatechange", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "icegatheringstatechange", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "addIceCandidate", + "type": "Promise", + "param": [ + { + "name": "candidate", + "type": "RTCIceCandidate" + }, + { + "name": "successCallback", + "optional": "1", + "type": "VoidFunction" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + } + ] + }, + { + "name": "addStream", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream" + } + ] + }, + { + "name": "close", + "type": "void" + }, + { + "name": "createAnswer", + "type": "Promise", + "param": [ + { + "name": "successCallback", + "optional": "1", + "type": "RTCSessionDescriptionCallback" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + } + ] + }, + { + "name": "createOffer", + "type": "Promise", + "param": [ + { + "name": "successCallback", + "optional": "1", + "type": "RTCSessionDescriptionCallback" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + }, + { + "name": "options", + "optional": "1", + "type": "RTCOfferOptions" + } + ] + }, + { + "name": "getConfiguration", + "type": "RTCConfiguration" + }, + { + "name": "getLocalStreams", + "type": "sequence" + }, + { + "name": "getRemoteStreams", + "type": "sequence" + }, + { + "name": "getStats", + "type": "Promise", + "param": [ + { + "name": "selector", + "nullable": "1", + "type": "MediaStreamTrack" + }, + { + "name": "successCallback", + "optional": "1", + "type": "RTCStatsCallback" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + } + ] + }, + { + "name": "getStreamById", + "nullable": "1", + "type": "MediaStream", + "param": [ + { + "name": "streamId", + "type": "DOMString" + } + ] + }, + { + "name": "removeStream", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream" + } + ] + }, + { + "name": "setLocalDescription", + "type": "Promise", + "param": [ + { + "name": "description", + "type": "RTCSessionDescription" + }, + { + "name": "successCallback", + "optional": "1", + "type": "VoidFunction" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + } + ] + }, + { + "name": "setRemoteDescription", + "type": "Promise", + "param": [ + { + "name": "description", + "type": "RTCSessionDescription" + }, + { + "name": "successCallback", + "optional": "1", + "type": "VoidFunction" + }, + { + "name": "failureCallback", + "optional": "1", + "type": "RTCPeerConnectionErrorCallback" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "canTrickleIceCandidates", + "nullable": "1", + "read-only": "1", + "type": "boolean" + }, + { + "name": "iceConnectionState", + "read-only": "1", + "type": "RTCIceConnectionState" + }, + { + "name": "iceGatheringState", + "read-only": "1", + "type": "RTCIceGatheringState" + }, + { + "name": "localDescription", + "nullable": "1", + "read-only": "1", + "type": "RTCSessionDescription" + }, + { + "name": "onaddstream", + "event-handler": "addstream", + "type": "EventHandler" + }, + { + "name": "onicecandidate", + "event-handler": "icecandidate", + "type": "EventHandler" + }, + { + "name": "oniceconnectionstatechange", + "event-handler": "iceconnectionstatechange", + "type": "EventHandler" + }, + { + "name": "onicegatheringstatechange", + "event-handler": "icegatheringstatechange", + "type": "EventHandler" + }, + { + "name": "onnegotiationneeded", + "event-handler": "negotiationneeded", + "type": "EventHandler" + }, + { + "name": "onremovestream", + "event-handler": "removestream", + "type": "EventHandler" + }, + { + "name": "onsignalingstatechange", + "event-handler": "signalingstatechange", + "type": "EventHandler" + }, + { + "name": "remoteDescription", + "nullable": "1", + "read-only": "1", + "type": "RTCSessionDescription" + }, + { + "name": "signalingState", + "read-only": "1", + "type": "RTCSignalingState" + } + ] + } + }, + { + "name": "RTCPeerConnectionIceEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCPeerConnectionIceEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "candidate", + "read-only": "1", + "type": "RTCIceCandidate" + } + ] + } + }, + { + "name": "RTCRtpReceiver", + "extends": "RTCStatsProvider", + "constructor": [ + null, + { + "param": [ + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getCapabilities", + "static": "1", + "type": "RTCRtpCapabilities", + "param": [ + { + "name": "kind", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getContributingSources", + "type": "sequence" + }, + { + "name": "receive", + "type": "void", + "param": [ + { + "name": "parameters", + "type": "RTCRtpParameters" + } + ] + }, + { + "name": "requestSendCSRC", + "type": "void", + "param": [ + { + "name": "csrc", + "type": "unsigned long" + } + ] + }, + { + "name": "setTransport", + "type": "void", + "param": [ + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "onerror", + "event-handler": "error", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "rtcpTransport", + "read-only": "1", + "type": "RTCDtlsTransport" + }, + { + "name": "track", + "nullable": "1", + "read-only": "1", + "type": "MediaStreamTrack" + }, + { + "name": "transport", + "read-only": "1", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + } + ] + } + }, + { + "name": "RTCRtpSender", + "extends": "RTCStatsProvider", + "constructor": [ + null, + { + "param": [ + { + "name": "track", + "type": "MediaStreamTrack" + }, + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "ssrcconflict", + "dispatch": "sync", + "skips-window": "1", + "type": "RTCSsrcConflictEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "getCapabilities", + "static": "1", + "type": "RTCRtpCapabilities", + "param": [ + { + "name": "kind", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "send", + "type": "void", + "param": [ + { + "name": "parameters", + "type": "RTCRtpParameters" + } + ] + }, + { + "name": "setTrack", + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack" + } + ] + }, + { + "name": "setTransport", + "type": "void", + "param": [ + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + }, + { + "name": "stop", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "onerror", + "event-handler": "error", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "onssrcconflict", + "event-handler": "ssrcconflict", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "rtcpTransport", + "read-only": "1", + "type": "RTCDtlsTransport" + }, + { + "name": "track", + "read-only": "1", + "type": "MediaStreamTrack" + }, + { + "name": "transport", + "read-only": "1", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + } + ] + } + }, + { + "name": "RTCSessionDescription", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "descriptionInitDict", + "optional": "1", + "type": "RTCSessionDescriptionInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "toJSON", + "serializer": "1", + "serializer-info": "attribute", + "type": "any" + } + ] + }, + "properties": { + "property": [ + { + "name": "sdp", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "type", + "nullable": "1", + "type": "RTCSdpType" + } + ] + } + }, + { + "name": "RTCSrtpSdesTransport", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "transport", + "type": "RTCIceTransport" + }, + { + "name": "encryptParameters", + "type": "RTCSrtpSdesParameters" + }, + { + "name": "decryptParameters", + "type": "RTCSrtpSdesParameters" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getLocalParameters", + "static": "1", + "type": "sequence" + } + ] + }, + "properties": { + "property": [ + { + "name": "onerror", + "event-handler": "error", + "nullable": "1", + "type": "EventHandler" + }, + { + "name": "transport", + "read-only": "1", + "type": "RTCIceTransport" + } + ] + } + }, + { + "name": "RTCSsrcConflictEvent", + "extends": "Event", + "properties": { + "property": [ + { + "name": "ssrc", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "RTCStatsProvider", + "extends": "EventTarget", + "methods": { + "method": [ + { + "name": "getStats", + "type": "Promise" + }, + { + "name": "msGetStats", + "type": "Promise" + } + ] + } + }, + { + "name": "ScopedCredential", + "extends": "Object", + "secure-context": "1", + "properties": { + "property": [ + { + "name": "id", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "type", + "read-only": "1", + "type": "ScopedCredentialType" + } + ] + } + }, + { + "name": "ScopedCredentialInfo", + "extends": "Object", + "secure-context": "1", + "properties": { + "property": [ + { + "name": "credential", + "read-only": "1", + "type": "ScopedCredential" + }, + { + "name": "publicKey", + "read-only": "1", + "type": "CryptoKey" + } + ] + } + }, + { + "name": "Screen", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "MSOrientationChange", + "dispatch": "async", + "skips-window": "1", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "msLockOrientation", + "type": "boolean", + "param": [ + { + "name": "orientations", + "type": "(DOMString or sequence)" + } + ] + }, + { + "name": "msUnlockOrientation", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "availHeight", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "availWidth", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "bufferDepth", + "type": "long" + }, + { + "name": "colorDepth", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "deviceXDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "deviceYDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "fontSmoothingEnabled", + "read-only": "1", + "type": "boolean" + }, + { + "name": "height", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "logicalXDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "logicalYDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "msOrientation", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "onmsorientationchange", + "event-handler": "MSOrientationChange", + "type": "EventHandler" + }, + { + "name": "pixelDepth", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "systemXDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "systemYDPI", + "read-only": "1", + "type": "long" + }, + { + "name": "width", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "ScriptNotifyEvent", + "extends": "Event", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "callingUri", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + }, + { + "name": "value", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + } + ] + } + }, + { + "name": "ScriptProcessorNode", + "extends": "AudioNode", + "events": { + "event": [ + { + "name": "audioprocess", + "dispatch": "sync", + "skips-window": "1", + "type": "AudioProcessingEvent" + } + ] + }, + "properties": { + "property": [ + { + "name": "bufferSize", + "read-only": "1", + "type": "long" + }, + { + "name": "onaudioprocess", + "event-handler": "audioprocess", + "type": "EventHandler" + } + ] + } + }, + { + "name": "Selection", + "extends": "Object", + "methods": { + "method": [ + { + "name": "addRange", + "type": "void", + "param": [ + { + "name": "range", + "type": "Range" + } + ] + }, + { + "name": "collapse", + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node" + }, + { + "name": "offset", + "type": "long" + } + ] + }, + { + "name": "collapseToEnd", + "type": "void" + }, + { + "name": "collapseToStart", + "type": "void" + }, + { + "name": "containsNode", + "type": "boolean", + "param": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "partlyContained", + "type": "boolean" + } + ] + }, + { + "name": "deleteFromDocument", + "type": "void" + }, + { + "name": "empty", + "type": "void" + }, + { + "name": "extend", + "type": "void", + "param": [ + { + "name": "newNode", + "type": "Node" + }, + { + "name": "offset", + "type": "long" + } + ] + }, + { + "name": "getRangeAt", + "type": "Range", + "param": [ + { + "name": "index", + "type": "long" + } + ] + }, + { + "name": "removeAllRanges", + "type": "void" + }, + { + "name": "removeRange", + "type": "void", + "param": [ + { + "name": "range", + "type": "Range" + } + ] + }, + { + "name": "selectAllChildren", + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node" + } + ] + }, + { + "name": "setBaseAndExtent", + "type": "void", + "param": [ + { + "name": "baseNode", + "type": "Node" + }, + { + "name": "baseOffset", + "type": "long" + }, + { + "name": "extentNode", + "type": "Node" + }, + { + "name": "extentOffset", + "type": "long" + } + ] + }, + { + "name": "setPosition", + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node" + }, + { + "name": "offset", + "type": "long" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "anchorNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "anchorOffset", + "read-only": "1", + "type": "long" + }, + { + "name": "baseNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "baseOffset", + "read-only": "1", + "type": "long" + }, + { + "name": "extentNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "extentOffset", + "read-only": "1", + "type": "long" + }, + { + "name": "focusNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "focusOffset", + "read-only": "1", + "type": "long" + }, + { + "name": "isCollapsed", + "read-only": "1", + "type": "boolean" + }, + { + "name": "rangeCount", + "read-only": "1", + "type": "long" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "ServiceWorker", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "error", + "dispatch": "async", + "skips-window": "1", + "type": "ErrorEvent" + }, + { + "name": "statechange", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "implements": "AbstractWorker", + "methods": { + "method": [ + { + "name": "postMessage", + "type": "void", + "param": [ + { + "name": "message", + "type": "any" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "onstatechange", + "event-handler": "statechange", + "type": "EventHandler" + }, + { + "name": "scriptURL", + "read-only": "1", + "type": "USVString" + }, + { + "name": "state", + "read-only": "1", + "type": "ServiceWorkerState" + } + ] + } + }, + { + "name": "ServiceWorkerContainer", + "extends": "EventTarget", + "secure-context": "1", + "events": { + "event": [ + { + "name": "controllerchange", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "async", + "skips-window": "1", + "type": "ErrorEvent" + }, + { + "name": "message", + "dispatch": "async", + "skips-window": "1", + "type": "ServiceWorkerMessageEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "getRegistration", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "clientURL", + "default": "\"\"", + "optional": "1", + "type": "USVString" + } + ] + }, + { + "name": "getRegistrations", + "new-object": "1", + "type": "Promise>" + }, + { + "name": "register", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "scriptURL", + "type": "USVString" + }, + { + "name": "options", + "optional": "1", + "type": "RegistrationOptions" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "controller", + "nullable": "1", + "read-only": "1", + "type": "ServiceWorker" + }, + { + "name": "oncontrollerchange", + "event-handler": "controllerchange", + "type": "EventHandler" + }, + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + }, + { + "name": "ready", + "read-only": "1", + "same-object": "1", + "type": "Promise" + } + ] + } + }, + { + "name": "ServiceWorkerMessageEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ServiceWorkerMessageEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "any" + }, + { + "name": "lastEventId", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "ports", + "nullable": "1", + "read-only": "1", + "type": "sequence" + }, + { + "name": "source", + "nullable": "1", + "read-only": "1", + "same-object": "1", + "type": "(ServiceWorker or MessagePort)" + } + ] + } + }, + { + "name": "ServiceWorkerRegistration", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "updatefound", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getNotifications", + "type": "Promise>", + "param": [ + { + "name": "filter", + "optional": "1", + "type": "GetNotificationOptions" + } + ] + }, + { + "name": "showNotification", + "type": "Promise", + "param": [ + { + "name": "title", + "type": "DOMString" + }, + { + "name": "options", + "optional": "1", + "type": "NotificationOptions" + } + ] + }, + { + "name": "unregister", + "new-object": "1", + "type": "Promise" + }, + { + "name": "update", + "new-object": "1", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "active", + "nullable": "1", + "read-only": "1", + "type": "ServiceWorker" + }, + { + "name": "installing", + "nullable": "1", + "read-only": "1", + "type": "ServiceWorker" + }, + { + "name": "onupdatefound", + "event-handler": "updatefound", + "type": "EventHandler" + }, + { + "name": "pushManager", + "read-only": "1", + "type": "PushManager" + }, + { + "name": "scope", + "read-only": "1", + "type": "USVString" + }, + { + "name": "sync", + "read-only": "1", + "type": "SyncManager" + }, + { + "name": "waiting", + "nullable": "1", + "read-only": "1", + "type": "ServiceWorker" + } + ] + } + }, + { + "name": "SourceBuffer", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "abort", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "updatestart", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "update", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "updateend", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "type": "void" + }, + { + "name": "appendBuffer", + "type": "void", + "param": [ + { + "name": "data", + "type": "(ArrayBuffer or ArrayBufferView)" + } + ] + }, + { + "name": "appendStream", + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream" + }, + { + "name": "maxSize", + "optional": "1", + "type": "unsigned long long" + } + ] + }, + { + "name": "remove", + "type": "void", + "param": [ + { + "name": "start", + "type": "double" + }, + { + "name": "end", + "type": "double" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "appendWindowEnd", + "type": "double" + }, + { + "name": "appendWindowStart", + "type": "double" + }, + { + "name": "audioTracks", + "read-only": "1", + "type": "AudioTrackList" + }, + { + "name": "buffered", + "read-only": "1", + "type": "TimeRanges" + }, + { + "name": "mode", + "type": "AppendMode" + }, + { + "name": "timestampOffset", + "type": "double" + }, + { + "name": "updating", + "read-only": "1", + "type": "boolean" + }, + { + "name": "videoTracks", + "read-only": "1", + "type": "VideoTrackList" + } + ] + } + }, + { + "name": "SourceBufferList", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "addsourcebuffer", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "removesourcebuffer", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "SourceBuffer", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SpeechSynthesis", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "voiceschanged", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "cancel", + "type": "void" + }, + { + "name": "getVoices", + "type": "sequence" + }, + { + "name": "pause", + "type": "void" + }, + { + "name": "resume", + "type": "void" + }, + { + "name": "speak", + "type": "void", + "param": [ + { + "name": "utterance", + "type": "SpeechSynthesisUtterance" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "onvoiceschanged", + "event-handler": "voiceschanged", + "type": "EventHandler" + }, + { + "name": "paused", + "read-only": "1", + "type": "boolean" + }, + { + "name": "pending", + "read-only": "1", + "type": "boolean" + }, + { + "name": "speaking", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "SpeechSynthesisEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "SpeechSynthesisEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "charIndex", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "elapsedTime", + "read-only": "1", + "type": "float" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "utterance", + "nullable": "1", + "read-only": "1", + "type": "SpeechSynthesisUtterance" + } + ] + } + }, + { + "name": "SpeechSynthesisUtterance", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "text", + "optional": "1", + "type": "DOMString" + } + ] + } + ], + "events": { + "event": [ + { + "name": "start", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "pause", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "resume", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "end", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "mark", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "boundary", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "lang", + "type": "DOMString" + }, + { + "name": "onboundary", + "event-handler": "boundary", + "type": "EventHandler" + }, + { + "name": "onend", + "event-handler": "end", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onmark", + "event-handler": "mark", + "type": "EventHandler" + }, + { + "name": "onpause", + "event-handler": "pause", + "type": "EventHandler" + }, + { + "name": "onresume", + "event-handler": "resume", + "type": "EventHandler" + }, + { + "name": "onstart", + "event-handler": "start", + "type": "EventHandler" + }, + { + "name": "pitch", + "type": "float" + }, + { + "name": "rate", + "type": "float" + }, + { + "name": "text", + "type": "DOMString" + }, + { + "name": "voice", + "type": "SpeechSynthesisVoice" + }, + { + "name": "volume", + "type": "float" + } + ] + } + }, + { + "name": "SpeechSynthesisVoice", + "extends": "Object", + "properties": { + "property": [ + { + "name": "default", + "read-only": "1", + "type": "boolean" + }, + { + "name": "lang", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "localService", + "read-only": "1", + "type": "boolean" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "voiceURI", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "StereoPannerNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "pan", + "read-only": "1", + "type": "AudioParam" + } + ] + } + }, + { + "name": "Storage", + "extends": "Object", + "override-builtins": "1", + "methods": { + "method": [ + { + "name": "clear", + "property-descriptor-not-enumerable": "1", + "type": "void" + }, + { + "name": "getItem", + "getter": "1", + "property-descriptor-not-enumerable": "1", + "type": "any", + "param": [ + { + "name": "key", + "type": "DOMString" + } + ] + }, + { + "name": "key", + "getter": "1", + "property-descriptor-not-enumerable": "1", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "deleter": "1", + "property-descriptor-not-enumerable": "1", + "type": "void", + "param": [ + { + "name": "key", + "type": "DOMString" + } + ] + }, + { + "name": "setItem", + "creator": "1", + "property-descriptor-not-enumerable": "1", + "setter": "1", + "type": "void", + "param": [ + { + "name": "key", + "type": "DOMString" + }, + { + "name": "data", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "property-descriptor-not-enumerable": "1", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "StorageEvent", + "extends": "Event", + "methods": { + "method": [ + { + "name": "initStorageEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "keyArg", + "type": "DOMString" + }, + { + "name": "oldValueArg", + "type": "any" + }, + { + "name": "newValueArg", + "type": "any" + }, + { + "name": "urlArg", + "type": "DOMString" + }, + { + "name": "storageAreaArg", + "type": "Storage" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "key", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "newValue", + "read-only": "1", + "type": "any" + }, + { + "name": "oldValue", + "read-only": "1", + "type": "any" + }, + { + "name": "storageArea", + "read-only": "1", + "type": "Storage" + }, + { + "name": "url", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "StyleMedia", + "extends": "Object", + "methods": { + "method": [ + { + "name": "matchMedium", + "type": "boolean", + "param": [ + { + "name": "mediaquery", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "StyleSheet", + "extends": "Object", + "properties": { + "property": [ + { + "name": "disabled", + "type": "boolean" + }, + { + "name": "href", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "media", + "put-forwards": "mediaText", + "read-only": "1", + "type": "MediaList" + }, + { + "name": "ownerNode", + "read-only": "1", + "type": "Node" + }, + { + "name": "parentStyleSheet", + "read-only": "1", + "type": "StyleSheet" + }, + { + "name": "title", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "type", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "StyleSheetList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "StyleSheet", + "param": [ + { + "name": "index", + "default": "0", + "optional": "1", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "StyleSheetPageList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "CSSPageRule", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "SubtleCrypto", + "extends": "Object", + "methods": { + "method": [ + { + "name": "decrypt", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "data", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + } + ] + }, + { + "name": "deriveBits", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "baseKey", + "type": "CryptoKey" + }, + { + "name": "length", + "type": "unsigned long" + } + ] + }, + { + "name": "deriveKey", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "baseKey", + "type": "CryptoKey" + }, + { + "name": "derivedKeyType", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean" + }, + { + "name": "keyUsages", + "type": "sequence" + } + ] + }, + { + "name": "digest", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "data", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + } + ] + }, + { + "name": "encrypt", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "data", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + } + ] + }, + { + "name": "exportKey", + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "key", + "type": "CryptoKey" + } + ] + }, + { + "name": "generateKey", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean" + }, + { + "name": "keyUsages", + "type": "sequence" + } + ] + }, + { + "name": "importKey", + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "keyData", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + }, + { + "name": "algorithm", + "nullable": "1", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean" + }, + { + "name": "keyUsages", + "type": "sequence" + } + ] + }, + { + "name": "sign", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "data", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + } + ] + }, + { + "name": "unwrapKey", + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "wrappedKey", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + }, + { + "name": "unwrappingKey", + "type": "CryptoKey" + }, + { + "name": "unwrapAlgorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "unwrappedKeyAlgorithm", + "nullable": "1", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean" + }, + { + "name": "keyUsages", + "type": "sequence" + } + ] + }, + { + "name": "verify", + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "signature", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + }, + { + "name": "data", + "type": "ArrayBufferView", + "type-original": "CryptoOperationData" + } + ] + }, + { + "name": "wrapKey", + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "wrappingKey", + "type": "CryptoKey" + }, + { + "name": "wrapAlgorithm", + "type": "(DOMString or Algorithm)", + "type-original": "AlgorithmIdentifier" + } + ] + } + ] + } + }, + { + "name": "SVGAElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "a", + "namespace": "SVG" + } + ], + "implements": "SVGURIReference", + "properties": { + "property": [ + { + "name": "target", + "content-attribute": "target", + "content-attribute-enum-values": "_blank _self _parent _top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "name_ref", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "SVGAngle", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "SVG_ANGLETYPE_DEG", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_ANGLETYPE_GRAD", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_ANGLETYPE_RAD", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_ANGLETYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_ANGLETYPE_UNSPECIFIED", + "type": "unsigned short", + "value": "1" + } + ] + }, + "methods": { + "method": [ + { + "name": "convertToSpecifiedUnits", + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short" + } + ] + }, + { + "name": "newValueSpecifiedUnits", + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "unitType", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "value", + "type": "float" + }, + { + "name": "valueAsString", + "type": "DOMString" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float" + } + ] + } + }, + { + "name": "SVGAnimatedAngle", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGAngle" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGAngle" + } + ] + } + }, + { + "name": "SVGAnimatedBoolean", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "boolean" + }, + { + "name": "baseVal", + "type": "boolean" + } + ] + } + }, + { + "name": "SVGAnimatedEnumeration", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "baseVal", + "type": "unsigned short" + } + ] + } + }, + { + "name": "SVGAnimatedInteger", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "long" + }, + { + "name": "baseVal", + "type": "long" + } + ] + } + }, + { + "name": "SVGAnimatedLength", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGLength" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGLength" + } + ] + } + }, + { + "name": "SVGAnimatedLengthList", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGLengthList" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGLengthList" + } + ] + } + }, + { + "name": "SVGAnimatedNumber", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "float" + }, + { + "name": "baseVal", + "type": "float" + } + ] + } + }, + { + "name": "SVGAnimatedNumberList", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGNumberList" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGNumberList" + } + ] + } + }, + { + "name": "SVGAnimatedPreserveAspectRatio", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGPreserveAspectRatio" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGPreserveAspectRatio" + } + ] + } + }, + { + "name": "SVGAnimatedRect", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGRect" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGRect" + } + ] + } + }, + { + "name": "SVGAnimatedString", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "baseVal", + "type": "DOMString" + } + ] + } + }, + { + "name": "SVGAnimatedTransformList", + "extends": "Object", + "properties": { + "property": [ + { + "name": "animVal", + "read-only": "1", + "type": "SVGTransformList" + }, + { + "name": "baseVal", + "read-only": "1", + "type": "SVGTransformList" + } + ] + } + }, + { + "name": "SVGCircleElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "circle", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "cx", + "content-attribute": "cx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "cy", + "content-attribute": "cy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "r", + "content-attribute": "r", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGClipPathElement", + "extends": "SVGGraphicsElement", + "element": [ + { + "name": "clipPath", + "namespace": "SVG" + } + ], + "implements": "SVGUnitTypes", + "properties": { + "property": [ + { + "name": "clipPathUnits", + "content-attribute": "clipPathUnits", + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGComponentTransferFunctionElement", + "extends": "SVGElement", + "constants": { + "constant": [ + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", + "type": "unsigned short", + "value": "5" + }, + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "properties": { + "property": [ + { + "name": "amplitude", + "content-attribute": "amplitude", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "exponent", + "content-attribute": "exponent", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "intercept", + "content-attribute": "intercept", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "offset", + "content-attribute": "offset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "slope", + "content-attribute": "slope", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "tableValues", + "content-attribute": "tableValues", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "read-only": "1", + "type": "SVGAnimatedNumberList" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "identity table discrete linear gamma", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGDefsElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + } + ] + }, + "element": [ + { + "name": "defs", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGDescElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "desc", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGElement", + "extends": "Element", + "events": { + "event": [ + { + "name": "SVGLoad", + "dispatch": "async", + "type": "Event" + } + ] + }, + "properties": { + "property": [ + { + "name": "className", + "content-attribute": "class", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "onclick", + "content-attribute": "onclick", + "content-attribute-value-syntax": "javascript", + "event-handler": "click", + "type": "EventHandler" + }, + { + "name": "ondblclick", + "content-attribute": "ondblclick", + "content-attribute-value-syntax": "javascript", + "event-handler": "dblclick", + "type": "EventHandler" + }, + { + "name": "onfocusin", + "content-attribute": "onfocusin", + "content-attribute-value-syntax": "javascript", + "event-handler": "focusin", + "type": "EventHandler" + }, + { + "name": "onfocusout", + "content-attribute": "onfocusout", + "content-attribute-value-syntax": "javascript", + "event-handler": "focusout", + "type": "EventHandler" + }, + { + "name": "onload", + "content-attribute": "onload", + "content-attribute-value-syntax": "javascript", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onmousedown", + "content-attribute": "onmousedown", + "content-attribute-value-syntax": "javascript", + "event-handler": "mousedown", + "type": "EventHandler" + }, + { + "name": "onmousemove", + "content-attribute": "onmousemove", + "content-attribute-value-syntax": "javascript", + "event-handler": "mousemove", + "type": "EventHandler" + }, + { + "name": "onmouseout", + "content-attribute": "onmouseout", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseout", + "type": "EventHandler" + }, + { + "name": "onmouseover", + "content-attribute": "onmouseover", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseover", + "type": "EventHandler" + }, + { + "name": "onmouseup", + "content-attribute": "onmouseup", + "content-attribute-value-syntax": "javascript", + "event-handler": "mouseup", + "type": "EventHandler" + }, + { + "name": "ownerSVGElement", + "read-only": "1", + "type": "SVGSVGElement" + }, + { + "name": "style", + "content-attribute": "style", + "content-attribute-value-syntax": "css", + "read-only": "1", + "type": "CSSStyleDeclaration" + }, + { + "name": "viewportElement", + "read-only": "1", + "type": "SVGElement" + }, + { + "name": "xmlbase", + "type": "DOMString" + } + ] + } + }, + { + "name": "SVGElementInstance", + "extends": "EventTarget", + "properties": { + "property": [ + { + "name": "childNodes", + "read-only": "1", + "type": "SVGElementInstanceList" + }, + { + "name": "correspondingElement", + "read-only": "1", + "type": "SVGElement" + }, + { + "name": "correspondingUseElement", + "read-only": "1", + "type": "SVGUseElement" + }, + { + "name": "firstChild", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "lastChild", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "nextSibling", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "parentNode", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "previousSibling", + "read-only": "1", + "type": "SVGElementInstance" + } + ] + } + }, + { + "name": "SVGElementInstanceList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "type": "SVGElementInstance", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGEllipseElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "ellipse", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "cx", + "content-attribute": "cx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "cy", + "content-attribute": "cy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "rx", + "content-attribute": "rx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "ry", + "content-attribute": "ry", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGFEBlendElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_FEBLEND_MODE_COLOR", + "type": "unsigned short", + "value": "15" + }, + { + "name": "SVG_FEBLEND_MODE_COLOR_BURN", + "type": "unsigned short", + "value": "8" + }, + { + "name": "SVG_FEBLEND_MODE_COLOR_DODGE", + "type": "unsigned short", + "value": "7" + }, + { + "name": "SVG_FEBLEND_MODE_DARKEN", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_FEBLEND_MODE_DIFFERENCE", + "type": "unsigned short", + "value": "11" + }, + { + "name": "SVG_FEBLEND_MODE_EXCLUSION", + "type": "unsigned short", + "value": "12" + }, + { + "name": "SVG_FEBLEND_MODE_HARD_LIGHT", + "type": "unsigned short", + "value": "9" + }, + { + "name": "SVG_FEBLEND_MODE_HUE", + "type": "unsigned short", + "value": "13" + }, + { + "name": "SVG_FEBLEND_MODE_LIGHTEN", + "type": "unsigned short", + "value": "5" + }, + { + "name": "SVG_FEBLEND_MODE_LUMINOSITY", + "type": "unsigned short", + "value": "16" + }, + { + "name": "SVG_FEBLEND_MODE_MULTIPLY", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_FEBLEND_MODE_NORMAL", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_FEBLEND_MODE_OVERLAY", + "type": "unsigned short", + "value": "6" + }, + { + "name": "SVG_FEBLEND_MODE_SATURATION", + "type": "unsigned short", + "value": "14" + }, + { + "name": "SVG_FEBLEND_MODE_SCREEN", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_FEBLEND_MODE_SOFT_LIGHT", + "type": "unsigned short", + "value": "10" + }, + { + "name": "SVG_FEBLEND_MODE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "feBlend", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "in2", + "content-attribute": "in2", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "mode", + "content-attribute": "mode", + "content-attribute-enum-values": "normal multiply screen darken lighten", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGFEColorMatrixElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_FECOLORMATRIX_TYPE_HUEROTATE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_FECOLORMATRIX_TYPE_MATRIX", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_FECOLORMATRIX_TYPE_SATURATE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_FECOLORMATRIX_TYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "feColorMatrix", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "matrix saturate hueRotate luminanceToAlpha", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "values", + "content-attribute": "values", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_5x5_matrix_values_or_single_floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumberList" + } + ] + } + }, + { + "name": "SVGFEComponentTransferElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feComponentTransfer", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "SVGFECompositeElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC", + "type": "unsigned short", + "value": "6" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_ATOP", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_IN", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_OUT", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_OVER", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_FECOMPOSITE_OPERATOR_XOR", + "type": "unsigned short", + "value": "5" + } + ] + }, + "element": [ + { + "name": "feComposite", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "in2", + "content-attribute": "in2", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "k1", + "content-attribute": "k1", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "k2", + "content-attribute": "k2", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "k3", + "content-attribute": "k3", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "k4", + "content-attribute": "k4", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "operator", + "content-attribute": "operator", + "content-attribute-enum-values": "over in out atop xor arithmetic", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGFEConvolveMatrixElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_EDGEMODE_DUPLICATE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_EDGEMODE_NONE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_EDGEMODE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_EDGEMODE_WRAP", + "type": "unsigned short", + "value": "2" + } + ] + }, + "element": [ + { + "name": "feConvolveMatrix", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "bias", + "content-attribute": "bias", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "divisor", + "content-attribute": "divisor", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "edgeMode", + "content-attribute": "edgeMode", + "content-attribute-enum-values": "duplicate wrap none", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "kernelMatrix", + "content-attribute": "kernelMatrix", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "read-only": "1", + "type": "SVGAnimatedNumberList" + }, + { + "name": "kernelUnitLengthX", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "kernelUnitLengthY", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "orderX", + "content-attribute": "order", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "orderY", + "content-attribute": "order", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "preserveAlpha", + "content-attribute": "preserveAlpha", + "content-attribute-enum-values": "false true", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedBoolean" + }, + { + "name": "targetX", + "content-attribute": "targetX", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "targetY", + "content-attribute": "targetY", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "read-only": "1", + "type": "SVGAnimatedInteger" + } + ] + } + }, + { + "name": "SVGFEDiffuseLightingElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + }, + { + "enum-values": "currentColor inherit initial", + "name": "lighting-color", + "value-syntax": "css_color" + } + ] + }, + "element": [ + { + "name": "feDiffuseLighting", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "diffuseConstant", + "content-attribute": "diffuseConstant", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "kernelUnitLengthX", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "kernelUnitLengthY", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "surfaceScale", + "content-attribute": "surfaceScale", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFEDisplacementMapElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_CHANNEL_A", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_CHANNEL_B", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_CHANNEL_G", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_CHANNEL_R", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_CHANNEL_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "feDisplacementMap", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "in2", + "content-attribute": "in2", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "scale", + "content-attribute": "scale", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "xChannelSelector", + "content-attribute": "xChannelSelector", + "content-attribute-enum-values": "A R G B", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "yChannelSelector", + "content-attribute": "yChannelSelector", + "content-attribute-enum-values": "A R G B", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGFEDistantLightElement", + "extends": "SVGElement", + "element": [ + { + "name": "feDistantLight", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "azimuth", + "content-attribute": "azimuth", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "elevation", + "content-attribute": "elevation", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFEFloodElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + }, + { + "enum-values": "currentColor inherit initial", + "name": "flood-color", + "value-syntax": "css_color" + }, + { + "enum-values": "inherit", + "name": "flood-opacity", + "value-syntax": "0_to_1_floating_point_number" + } + ] + }, + "element": [ + { + "name": "feFlood", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes" + }, + { + "name": "SVGFEFuncAElement", + "extends": "SVGComponentTransferFunctionElement", + "element": [ + { + "name": "feFuncA", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGFEFuncBElement", + "extends": "SVGComponentTransferFunctionElement", + "element": [ + { + "name": "feFuncB", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGFEFuncGElement", + "extends": "SVGComponentTransferFunctionElement", + "element": [ + { + "name": "feFuncG", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGFEFuncRElement", + "extends": "SVGComponentTransferFunctionElement", + "element": [ + { + "name": "feFuncR", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGFEGaussianBlurElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feGaussianBlur", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "methods": { + "method": [ + { + "name": "setStdDeviation", + "type": "void", + "param": [ + { + "name": "stdDeviationX", + "type": "float" + }, + { + "name": "stdDeviationY", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "stdDeviationX", + "content-attribute": "stdDeviation", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "stdDeviationY", + "content-attribute": "stdDeviation", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFEImageElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feImage", + "namespace": "SVG" + } + ], + "implements": [ + "SVGFilterPrimitiveStandardAttributes", + "SVGURIReference" + ], + "properties": { + "property": [ + { + "name": "preserveAspectRatio", + "read-only": "1", + "type": "SVGAnimatedPreserveAspectRatio" + } + ] + } + }, + { + "name": "SVGFEMergeElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feMerge", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes" + }, + { + "name": "SVGFEMergeNodeElement", + "extends": "SVGElement", + "element": [ + { + "name": "feMergeNode", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "SVGFEMorphologyElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_MORPHOLOGY_OPERATOR_DILATE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_MORPHOLOGY_OPERATOR_ERODE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_MORPHOLOGY_OPERATOR_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "feMorphology", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "operator", + "content-attribute": "operator", + "content-attribute-enum-values": "erode dilate", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "radiusX", + "content-attribute": "radius", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "radiusY", + "content-attribute": "radius", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFEOffsetElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feOffset", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "dx", + "content-attribute": "dx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "dy", + "content-attribute": "dy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "SVGFEPointLightElement", + "extends": "SVGElement", + "element": [ + { + "name": "fePointLight", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "z", + "content-attribute": "z", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFESpecularLightingElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + }, + { + "enum-values": "currentColor inherit initial", + "name": "lighting-color", + "value-syntax": "css_color" + } + ] + }, + "element": [ + { + "name": "feSpecularLighting", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "kernelUnitLengthX", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "kernelUnitLengthY", + "content-attribute": "kernelUnitLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "specularConstant", + "content-attribute": "specularConstant", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "specularExponent", + "content-attribute": "specularExponent", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "surfaceScale", + "content-attribute": "surfaceScale", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFESpotLightElement", + "extends": "SVGElement", + "element": [ + { + "name": "feSpotLight", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "limitingConeAngle", + "content-attribute": "limitingConeAngle", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "pointsAtX", + "content-attribute": "pointsAtX", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "pointsAtY", + "content-attribute": "pointsAtY", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "pointsAtZ", + "content-attribute": "pointsAtZ", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "specularExponent", + "content-attribute": "specularExponent", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "z", + "content-attribute": "z", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGFETileElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "feTile", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "in1", + "content-attribute": "in", + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "filter_result_ref", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "SVGFETurbulenceElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "name": "color-interpolation-filters", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_STITCHTYPE_NOSTITCH", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_STITCHTYPE_STITCH", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_STITCHTYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_TURBULENCE_TYPE_FRACTALNOISE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_TURBULENCE_TYPE_TURBULENCE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_TURBULENCE_TYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "feTurbulence", + "namespace": "SVG" + } + ], + "implements": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": [ + { + "name": "baseFrequencyX", + "content-attribute": "baseFrequency", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "baseFrequencyY", + "content-attribute": "baseFrequency", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "numOctaves", + "content-attribute": "numOctaves", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "signed_integer", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "seed", + "content-attribute": "seed", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + }, + { + "name": "stitchTiles", + "content-attribute": "stitchTiles", + "content-attribute-enum-values": "noStitch stitch", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-enum-values": "turbulence fractalNoise", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGFilterElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "filter", + "namespace": "SVG" + } + ], + "implements": [ + "SVGUnitTypes", + "SVGURIReference" + ], + "methods": { + "method": [ + { + "name": "setFilterRes", + "type": "void", + "param": [ + { + "name": "filterResX", + "type": "unsigned long" + }, + { + "name": "filterResY", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "filterResX", + "content-attribute": "filterRes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "filterResY", + "content-attribute": "filterRes", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_x_y_pair", + "read-only": "1", + "type": "SVGAnimatedInteger" + }, + { + "name": "filterUnits", + "content-attribute": "filterUnits", + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "primitiveUnits", + "content-attribute": "primitiveUnits", + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGForeignObjectElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "foreignObject", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "height", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "width", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGGElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + } + ] + }, + "element": [ + { + "name": "g", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGGradientElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_SPREADMETHOD_PAD", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_SPREADMETHOD_REFLECT", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_SPREADMETHOD_REPEAT", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_SPREADMETHOD_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "implements": [ + "SVGUnitTypes", + "SVGURIReference" + ], + "properties": { + "property": [ + { + "name": "gradientTransform", + "content-attribute": "gradientTransform", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_transform_list", + "read-only": "1", + "type": "SVGAnimatedTransformList" + }, + { + "name": "gradientUnits", + "content-attribute": "gradientUnits", + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "spreadMethod", + "content-attribute": "spreadMethod", + "content-attribute-enum-values": "pad reflect repeat", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + } + ] + } + }, + { + "name": "SVGGraphicsElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + } + ] + }, + "implements": "SVGTests", + "methods": { + "method": [ + { + "name": "getBBox", + "type": "SVGRect" + }, + { + "name": "getCTM", + "type": "SVGMatrix" + }, + { + "name": "getScreenCTM", + "type": "SVGMatrix" + }, + { + "name": "getTransformToElement", + "type": "SVGMatrix", + "param": [ + { + "name": "element", + "type": "SVGElement" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "farthestViewportElement", + "read-only": "1", + "type": "SVGElement" + }, + { + "name": "nearestViewportElement", + "read-only": "1", + "type": "SVGElement" + }, + { + "name": "transform", + "content-attribute": "transform", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_transform_list", + "read-only": "1", + "same-object": "1", + "type": "SVGAnimatedTransformList" + } + ] + } + }, + { + "name": "SVGImageElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + } + ] + }, + "element": [ + { + "name": "image", + "namespace": "SVG" + } + ], + "events": { + "event": [ + { + "name": "SVGAbort", + "bubbles": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "SVGError", + "bubbles": "1", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "error", + "bubbles": "1", + "dispatch": "async", + "tags": "IEOnly", + "type": "Event" + } + ] + }, + "implements": "SVGURIReference", + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "preserveAspectRatio", + "content-attribute": "preserveAspectRatio", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_aspect_ratio", + "read-only": "1", + "type": "SVGAnimatedPreserveAspectRatio" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGLength", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "SVG_LENGTHTYPE_CM", + "type": "unsigned short", + "value": "6" + }, + { + "name": "SVG_LENGTHTYPE_EMS", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_LENGTHTYPE_EXS", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_LENGTHTYPE_IN", + "type": "unsigned short", + "value": "8" + }, + { + "name": "SVG_LENGTHTYPE_MM", + "type": "unsigned short", + "value": "7" + }, + { + "name": "SVG_LENGTHTYPE_NUMBER", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_LENGTHTYPE_PC", + "type": "unsigned short", + "value": "10" + }, + { + "name": "SVG_LENGTHTYPE_PERCENTAGE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_LENGTHTYPE_PT", + "type": "unsigned short", + "value": "9" + }, + { + "name": "SVG_LENGTHTYPE_PX", + "type": "unsigned short", + "value": "5" + }, + { + "name": "SVG_LENGTHTYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "convertToSpecifiedUnits", + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short" + } + ] + }, + { + "name": "newValueSpecifiedUnits", + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "unitType", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "value", + "type": "float" + }, + { + "name": "valueAsString", + "type": "DOMString" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float" + } + ] + } + }, + { + "name": "SVGLengthList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "getItem", + "type": "SVGLength", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength" + } + ] + }, + { + "name": "insertItemBefore", + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "SVGLength", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGLinearGradientElement", + "extends": "SVGGradientElement", + "element": [ + { + "name": "linearGradient", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "x1", + "content-attribute": "x1", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x2", + "content-attribute": "x2", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y1", + "content-attribute": "y1", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y2", + "content-attribute": "y2", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGLineElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-end", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-mid", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-start", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "line", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "x1", + "content-attribute": "x1", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x2", + "content-attribute": "x2", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y1", + "content-attribute": "y1", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y2", + "content-attribute": "y2", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGMarkerElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "constants": { + "constant": [ + { + "name": "SVG_MARKER_ORIENT_ANGLE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_MARKER_ORIENT_AUTO", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_MARKER_ORIENT_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_MARKERUNITS_STROKEWIDTH", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_MARKERUNITS_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_MARKERUNITS_USERSPACEONUSE", + "type": "unsigned short", + "value": "1" + } + ] + }, + "element": [ + { + "name": "marker", + "namespace": "SVG" + } + ], + "implements": "SVGFitToViewBox", + "methods": { + "method": [ + { + "name": "setOrientToAngle", + "type": "void", + "param": [ + { + "name": "angle", + "type": "SVGAngle" + } + ] + }, + { + "name": "setOrientToAuto", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "markerHeight", + "content-attribute": "markerHeight", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "markerUnits", + "content-attribute": "markerUnits", + "content-attribute-enum-values": "strokeWidth userSpaceOnUse", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "markerWidth", + "content-attribute": "markerWidth", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "orientAngle", + "content-attribute": "orient", + "content-attribute-enum-values": "auto", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedAngle" + }, + { + "name": "orientType", + "content-attribute": "orient", + "content-attribute-enum-values": "auto", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "refX", + "content-attribute": "refX", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "refY", + "content-attribute": "refY", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGMaskElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "mask", + "namespace": "SVG" + } + ], + "implements": [ + "SVGTests", + "SVGUnitTypes" + ], + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "maskContentUnits", + "content-attribute": "maskContentUnits", + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "maskUnits", + "content-attribute": "maskUnits", + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGMatrix", + "extends": "Object", + "methods": { + "method": [ + { + "name": "flipX", + "type": "SVGMatrix" + }, + { + "name": "flipY", + "type": "SVGMatrix" + }, + { + "name": "inverse", + "type": "SVGMatrix" + }, + { + "name": "multiply", + "type": "SVGMatrix", + "param": [ + { + "name": "secondMatrix", + "type": "SVGMatrix" + } + ] + }, + { + "name": "rotate", + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "rotateFromVector", + "type": "SVGMatrix", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "scale", + "type": "SVGMatrix", + "param": [ + { + "name": "scaleFactor", + "type": "float" + } + ] + }, + { + "name": "scaleNonUniform", + "type": "SVGMatrix", + "param": [ + { + "name": "scaleFactorX", + "type": "float" + }, + { + "name": "scaleFactorY", + "type": "float" + } + ] + }, + { + "name": "skewX", + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "skewY", + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "translate", + "type": "SVGMatrix", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "c", + "type": "float" + }, + { + "name": "d", + "type": "float" + }, + { + "name": "e", + "type": "float" + }, + { + "name": "f", + "type": "float" + } + ] + } + }, + { + "name": "SVGMetadataElement", + "extends": "SVGElement", + "element": [ + { + "name": "metadata", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGNumber", + "extends": "Object", + "properties": { + "property": [ + { + "name": "value", + "type": "float" + } + ] + } + }, + { + "name": "SVGNumberList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "getItem", + "type": "SVGNumber", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber" + } + ] + }, + { + "name": "insertItemBefore", + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "SVGNumber", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGPathElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "d", + "value-syntax": "svg_path_data" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-end", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-mid", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-start", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "path", + "namespace": "SVG" + } + ], + "methods": { + "method": [ + { + "name": "createSVGPathSegArcAbs", + "type": "SVGPathSegArcAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "r1", + "type": "float" + }, + { + "name": "r2", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean" + }, + { + "name": "sweepFlag", + "type": "boolean" + } + ] + }, + { + "name": "createSVGPathSegArcRel", + "type": "SVGPathSegArcRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "r1", + "type": "float" + }, + { + "name": "r2", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean" + }, + { + "name": "sweepFlag", + "type": "boolean" + } + ] + }, + { + "name": "createSVGPathSegClosePath", + "type": "SVGPathSegClosePath" + }, + { + "name": "createSVGPathSegCurvetoCubicAbs", + "type": "SVGPathSegCurvetoCubicAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoCubicRel", + "type": "SVGPathSegCurvetoCubicRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoCubicSmoothAbs", + "type": "SVGPathSegCurvetoCubicSmoothAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoCubicSmoothRel", + "type": "SVGPathSegCurvetoCubicSmoothRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoQuadraticAbs", + "type": "SVGPathSegCurvetoQuadraticAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoQuadraticRel", + "type": "SVGPathSegCurvetoQuadraticRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoQuadraticSmoothAbs", + "type": "SVGPathSegCurvetoQuadraticSmoothAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegCurvetoQuadraticSmoothRel", + "type": "SVGPathSegCurvetoQuadraticSmoothRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoAbs", + "type": "SVGPathSegLinetoAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoHorizontalAbs", + "type": "SVGPathSegLinetoHorizontalAbs", + "param": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoHorizontalRel", + "type": "SVGPathSegLinetoHorizontalRel", + "param": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoRel", + "type": "SVGPathSegLinetoRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoVerticalAbs", + "type": "SVGPathSegLinetoVerticalAbs", + "param": [ + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegLinetoVerticalRel", + "type": "SVGPathSegLinetoVerticalRel", + "param": [ + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegMovetoAbs", + "type": "SVGPathSegMovetoAbs", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "createSVGPathSegMovetoRel", + "type": "SVGPathSegMovetoRel", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "getPathSegAtLength", + "type": "unsigned long", + "param": [ + { + "name": "distance", + "type": "float" + } + ] + }, + { + "name": "getPointAtLength", + "type": "SVGPoint", + "param": [ + { + "name": "distance", + "type": "float" + } + ] + }, + { + "name": "getTotalLength", + "type": "float" + } + ] + }, + "properties": { + "property": [ + { + "name": "pathSegList", + "read-only": "1", + "type": "SVGPathSegList" + } + ] + } + }, + { + "name": "SVGPathSeg", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "PATHSEG_ARC_ABS", + "type": "unsigned short", + "value": "10" + }, + { + "name": "PATHSEG_ARC_REL", + "type": "unsigned short", + "value": "11" + }, + { + "name": "PATHSEG_CLOSEPATH", + "type": "unsigned short", + "value": "1" + }, + { + "name": "PATHSEG_CURVETO_CUBIC_ABS", + "type": "unsigned short", + "value": "6" + }, + { + "name": "PATHSEG_CURVETO_CUBIC_REL", + "type": "unsigned short", + "value": "7" + }, + { + "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS", + "type": "unsigned short", + "value": "16" + }, + { + "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_REL", + "type": "unsigned short", + "value": "17" + }, + { + "name": "PATHSEG_CURVETO_QUADRATIC_ABS", + "type": "unsigned short", + "value": "8" + }, + { + "name": "PATHSEG_CURVETO_QUADRATIC_REL", + "type": "unsigned short", + "value": "9" + }, + { + "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS", + "type": "unsigned short", + "value": "18" + }, + { + "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL", + "type": "unsigned short", + "value": "19" + }, + { + "name": "PATHSEG_LINETO_ABS", + "type": "unsigned short", + "value": "4" + }, + { + "name": "PATHSEG_LINETO_HORIZONTAL_ABS", + "type": "unsigned short", + "value": "12" + }, + { + "name": "PATHSEG_LINETO_HORIZONTAL_REL", + "type": "unsigned short", + "value": "13" + }, + { + "name": "PATHSEG_LINETO_REL", + "type": "unsigned short", + "value": "5" + }, + { + "name": "PATHSEG_LINETO_VERTICAL_ABS", + "type": "unsigned short", + "value": "14" + }, + { + "name": "PATHSEG_LINETO_VERTICAL_REL", + "type": "unsigned short", + "value": "15" + }, + { + "name": "PATHSEG_MOVETO_ABS", + "type": "unsigned short", + "value": "2" + }, + { + "name": "PATHSEG_MOVETO_REL", + "type": "unsigned short", + "value": "3" + }, + { + "name": "PATHSEG_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "properties": { + "property": [ + { + "name": "pathSegType", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "pathSegTypeAsLetter", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "SVGPathSegArcAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "angle", + "type": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean" + }, + { + "name": "r1", + "type": "float" + }, + { + "name": "r2", + "type": "float" + }, + { + "name": "sweepFlag", + "type": "boolean" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegArcRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "angle", + "type": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean" + }, + { + "name": "r1", + "type": "float" + }, + { + "name": "r2", + "type": "float" + }, + { + "name": "sweepFlag", + "type": "boolean" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegClosePath", + "extends": "SVGPathSeg" + }, + { + "name": "SVGPathSegCurvetoCubicAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoCubicRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoCubicSmoothAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoCubicSmoothRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y2", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoQuadraticAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y1", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoQuadraticRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "x1", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "y1", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoQuadraticSmoothAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegCurvetoQuadraticSmoothRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoHorizontalAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoHorizontalRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoVerticalAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegLinetoVerticalRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "getItem", + "type": "SVGPathSeg", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg" + } + ] + }, + { + "name": "insertItemBefore", + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "SVGPathSeg", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGPathSegMovetoAbs", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPathSegMovetoRel", + "extends": "SVGPathSeg", + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPatternElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "pattern", + "namespace": "SVG" + } + ], + "implements": [ + "SVGTests", + "SVGUnitTypes", + "SVGFitToViewBox", + "SVGURIReference" + ], + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "patternContentUnits", + "content-attribute": "patternContentUnits", + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "patternTransform", + "content-attribute": "patternTransform", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_transform_list", + "read-only": "1", + "type": "SVGAnimatedTransformList" + }, + { + "name": "patternUnits", + "content-attribute": "patternUnits", + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGPoint", + "extends": "Object", + "methods": { + "method": [ + { + "name": "matrixTransform", + "type": "SVGPoint", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGPointList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "getItem", + "type": "SVGPoint", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint" + } + ] + }, + { + "name": "insertItemBefore", + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "SVGPoint", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGPolygonElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-end", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-mid", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-start", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "polygon", + "namespace": "SVG" + } + ], + "implements": "SVGAnimatedPoints" + }, + { + "name": "SVGPolylineElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-end", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-mid", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "marker-start", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "polyline", + "namespace": "SVG" + } + ], + "implements": "SVGAnimatedPoints" + }, + { + "name": "SVGPreserveAspectRatio", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "SVG_MEETORSLICE_MEET", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_MEETORSLICE_SLICE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_MEETORSLICE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_NONE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMAX", + "type": "unsigned short", + "value": "10" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMID", + "type": "unsigned short", + "value": "7" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMIN", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMAX", + "type": "unsigned short", + "value": "9" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMID", + "type": "unsigned short", + "value": "6" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMIN", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMINYMAX", + "type": "unsigned short", + "value": "8" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMINYMID", + "type": "unsigned short", + "value": "5" + }, + { + "name": "SVG_PRESERVEASPECTRATIO_XMINYMIN", + "type": "unsigned short", + "value": "2" + } + ] + }, + "properties": { + "property": [ + { + "name": "align", + "type": "unsigned short" + }, + { + "name": "meetOrSlice", + "type": "unsigned short" + } + ] + } + }, + { + "name": "SVGRadialGradientElement", + "extends": "SVGGradientElement", + "element": [ + { + "name": "radialGradient", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "cx", + "content-attribute": "cx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "cy", + "content-attribute": "cy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "fx", + "content-attribute": "fx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "fy", + "content-attribute": "fy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "r", + "content-attribute": "r", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGRect", + "extends": "Object", + "properties": { + "property": [ + { + "name": "height", + "type": "float" + }, + { + "name": "width", + "type": "float" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "SVGRectElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "rect", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "rx", + "content-attribute": "rx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "ry", + "content-attribute": "ry", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGScriptElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "script", + "namespace": "SVG" + } + ], + "implements": "SVGURIReference", + "properties": { + "property": [ + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "SVGStopElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "currentColor inherit initial", + "name": "stop-color", + "value-syntax": "css_color" + }, + { + "enum-values": "inherit", + "name": "stop-opacity", + "value-syntax": "0_to_1_floating_point_number" + } + ] + }, + "element": [ + { + "name": "stop", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "offset", + "content-attribute": "offset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "floating_point_number", + "read-only": "1", + "type": "SVGAnimatedNumber" + } + ] + } + }, + { + "name": "SVGStringList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "getItem", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString" + } + ] + }, + { + "name": "insertItemBefore", + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGStyleElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "style", + "namespace": "SVG" + } + ], + "properties": { + "property": [ + { + "name": "disabled", + "type": "boolean" + }, + { + "name": "media", + "content-attribute": "media", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "media_query", + "type": "DOMString" + }, + { + "name": "title", + "content-attribute": "title", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "type", + "content-attribute": "type", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + } + ] + } + }, + { + "name": "SVGSVGElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "version", + "value-syntax": "floating_point_number" + }, + { + "name": "baseProfile" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + }, + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + } + ] + }, + "element": [ + { + "name": "svg", + "namespace": "SVG" + } + ], + "events": { + "event": [ + { + "name": "SVGScroll", + "bubbles": "1", + "dispatch": "sync-or-async", + "type": "Event" + }, + { + "name": "SVGZoom", + "bubbles": "1", + "dispatch": "sync", + "type": "SVGZoomEvent" + } + ] + }, + "implements": [ + "DocumentEvent", + "SVGFitToViewBox", + "SVGZoomAndPan" + ], + "methods": { + "method": [ + { + "name": "checkEnclosure", + "type": "boolean", + "param": [ + { + "name": "element", + "type": "SVGElement" + }, + { + "name": "rect", + "type": "SVGRect" + } + ] + }, + { + "name": "checkIntersection", + "type": "boolean", + "param": [ + { + "name": "element", + "type": "SVGElement" + }, + { + "name": "rect", + "type": "SVGRect" + } + ] + }, + { + "name": "createSVGAngle", + "type": "SVGAngle" + }, + { + "name": "createSVGLength", + "type": "SVGLength" + }, + { + "name": "createSVGMatrix", + "type": "SVGMatrix" + }, + { + "name": "createSVGNumber", + "type": "SVGNumber" + }, + { + "name": "createSVGPoint", + "type": "SVGPoint" + }, + { + "name": "createSVGRect", + "type": "SVGRect" + }, + { + "name": "createSVGTransform", + "type": "SVGTransform" + }, + { + "name": "createSVGTransformFromMatrix", + "type": "SVGTransform", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix" + } + ] + }, + { + "name": "deselectAll", + "type": "void" + }, + { + "name": "forceRedraw", + "type": "void" + }, + { + "name": "getComputedStyle", + "type": "CSSStyleDeclaration", + "param": [ + { + "name": "elt", + "type": "Element" + }, + { + "name": "pseudoElt", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getCurrentTime", + "type": "float" + }, + { + "name": "getElementById", + "type": "Element", + "param": [ + { + "name": "elementId", + "type": "DOMString" + } + ] + }, + { + "name": "getEnclosureList", + "type": "NodeList", + "param": [ + { + "name": "rect", + "type": "SVGRect" + }, + { + "name": "referenceElement", + "type": "SVGElement" + } + ] + }, + { + "name": "getIntersectionList", + "type": "NodeList", + "param": [ + { + "name": "rect", + "type": "SVGRect" + }, + { + "name": "referenceElement", + "type": "SVGElement" + } + ] + }, + { + "name": "pauseAnimations", + "type": "void" + }, + { + "name": "setCurrentTime", + "type": "void", + "param": [ + { + "name": "seconds", + "type": "float" + } + ] + }, + { + "name": "suspendRedraw", + "type": "unsigned long", + "param": [ + { + "name": "maxWaitMilliseconds", + "type": "unsigned long" + } + ] + }, + { + "name": "unpauseAnimations", + "type": "void" + }, + { + "name": "unsuspendRedraw", + "type": "void", + "param": [ + { + "name": "suspendHandleID", + "type": "unsigned long" + } + ] + }, + { + "name": "unsuspendRedrawAll", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "contentScriptType", + "content-attribute": "contentScriptType", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "contentStyleType", + "content-attribute": "contentStyleType", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString" + }, + { + "name": "currentScale", + "type": "float" + }, + { + "name": "currentTranslate", + "read-only": "1", + "type": "SVGPoint" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "onabort", + "content-attribute": "onabort", + "content-attribute-value-syntax": "javascript", + "event-handler": "SVGAbort", + "type": "EventHandler" + }, + { + "name": "onerror", + "content-attribute": "onerror", + "content-attribute-value-syntax": "javascript", + "event-handler": "SVGError", + "type": "EventHandler" + }, + { + "name": "onresize", + "content-attribute": "onresize", + "content-attribute-value-syntax": "javascript", + "event-handler": "resize", + "type": "EventHandler" + }, + { + "name": "onscroll", + "content-attribute": "onscroll", + "content-attribute-value-syntax": "javascript", + "event-handler": "scroll", + "type": "EventHandler" + }, + { + "name": "onunload", + "content-attribute": "onunload", + "content-attribute-value-syntax": "javascript", + "event-handler": "SVGUnload", + "type": "EventHandler" + }, + { + "name": "onzoom", + "content-attribute": "onzoom", + "content-attribute-value-syntax": "javascript", + "event-handler": "SVGZoom", + "type": "EventHandler" + }, + { + "name": "pixelUnitToMillimeterX", + "read-only": "1", + "type": "float" + }, + { + "name": "pixelUnitToMillimeterY", + "read-only": "1", + "type": "float" + }, + { + "name": "screenPixelToMillimeterX", + "read-only": "1", + "type": "float" + }, + { + "name": "screenPixelToMillimeterY", + "read-only": "1", + "type": "float" + }, + { + "name": "viewport", + "read-only": "1", + "type": "SVGRect" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGSwitchElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + } + ] + }, + "element": [ + { + "name": "switch", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGSymbolElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "name": "clip", + "value-syntax": "css_shape_rect" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "name": "overflow", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "accumulate inherit", + "name": "enable-background", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "symbol", + "namespace": "SVG" + } + ], + "implements": "SVGFitToViewBox" + }, + { + "name": "SVGTextContentElement", + "extends": "SVGGraphicsElement", + "constants": { + "constant": [ + { + "name": "LENGTHADJUST_SPACING", + "type": "unsigned short", + "value": "1" + }, + { + "name": "LENGTHADJUST_SPACINGANDGLYPHS", + "type": "unsigned short", + "value": "2" + }, + { + "name": "LENGTHADJUST_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "getCharNumAtPosition", + "type": "long", + "param": [ + { + "name": "point", + "type": "SVGPoint" + } + ] + }, + { + "name": "getComputedTextLength", + "type": "float" + }, + { + "name": "getEndPositionOfChar", + "type": "SVGPoint", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + } + ] + }, + { + "name": "getExtentOfChar", + "type": "SVGRect", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + } + ] + }, + { + "name": "getNumberOfChars", + "type": "long" + }, + { + "name": "getRotationOfChar", + "type": "float", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + } + ] + }, + { + "name": "getStartPositionOfChar", + "type": "SVGPoint", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + } + ] + }, + { + "name": "getSubStringLength", + "type": "float", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + }, + { + "name": "nchars", + "type": "unsigned long" + } + ] + }, + { + "name": "selectSubString", + "type": "void", + "param": [ + { + "name": "charnum", + "type": "unsigned long" + }, + { + "name": "nchars", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "lengthAdjust", + "content-attribute": "lengthAdjust", + "content-attribute-enum-values": "spacing spacingAndGlyphs", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "textLength", + "content-attribute": "textLength", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGTextElement", + "extends": "SVGTextPositioningElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "ltr rtl inherit", + "name": "direction", + "value-syntax": "enum" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "name": "dominant-baseline", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "name": "font", + "value-syntax": "css_font" + }, + { + "enum-values": "inherit", + "name": "font-family", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "name": "font-size", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "none inherit", + "name": "font-size-adjust", + "value-syntax": "floating_point_number" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "name": "font-stretch", + "value-syntax": "enum" + }, + { + "enum-values": "normal italic oblique inherit initial", + "name": "font-style", + "value-syntax": "enum" + }, + { + "enum-values": "normal small-caps inherit initial", + "name": "font-variant", + "value-syntax": "enum" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "name": "font-weight", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "glyph-orientation-horizontal", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "glyph-orientation-vertical", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "kerning", + "value-syntax": "css_length" + }, + { + "enum-values": "normal inherit initial", + "name": "letter-spacing", + "value-syntax": "css_length" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "start middle end inherit", + "name": "text-anchor", + "value-syntax": "enum" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "name": "text-decoration", + "value-syntax": "enum" + }, + { + "enum-values": "normal embed bidi-override inherit", + "name": "unicode-bidi", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + }, + { + "enum-values": "normal inherit initial", + "name": "word-spacing", + "value-syntax": "css_length" + }, + { + "enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit", + "name": "writing-mode", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "text", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGTextPathElement", + "extends": "SVGTextContentElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", + "name": "alignment-baseline", + "value-syntax": "enum" + }, + { + "enum-values": "baseline sub super inherit", + "name": "baseline-shift", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "ltr rtl inherit", + "name": "direction", + "value-syntax": "enum" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "name": "dominant-baseline", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "name": "font", + "value-syntax": "css_font" + }, + { + "enum-values": "inherit", + "name": "font-family", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "name": "font-size", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "none inherit", + "name": "font-size-adjust", + "value-syntax": "floating_point_number" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "name": "font-stretch", + "value-syntax": "enum" + }, + { + "enum-values": "normal italic oblique inherit initial", + "name": "font-style", + "value-syntax": "enum" + }, + { + "enum-values": "normal small-caps inherit initial", + "name": "font-variant", + "value-syntax": "enum" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "name": "font-weight", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "glyph-orientation-horizontal", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "glyph-orientation-vertical", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "kerning", + "value-syntax": "css_length" + }, + { + "enum-values": "normal inherit initial", + "name": "letter-spacing", + "value-syntax": "css_length" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "start middle end inherit", + "name": "text-anchor", + "value-syntax": "enum" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "name": "text-decoration", + "value-syntax": "enum" + }, + { + "enum-values": "normal embed bidi-override inherit", + "name": "unicode-bidi", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + }, + { + "enum-values": "normal inherit initial", + "name": "word-spacing", + "value-syntax": "css_length" + } + ] + }, + "constants": { + "constant": [ + { + "name": "TEXTPATH_METHODTYPE_ALIGN", + "type": "unsigned short", + "value": "1" + }, + { + "name": "TEXTPATH_METHODTYPE_STRETCH", + "type": "unsigned short", + "value": "2" + }, + { + "name": "TEXTPATH_METHODTYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "TEXTPATH_SPACINGTYPE_AUTO", + "type": "unsigned short", + "value": "1" + }, + { + "name": "TEXTPATH_SPACINGTYPE_EXACT", + "type": "unsigned short", + "value": "2" + }, + { + "name": "TEXTPATH_SPACINGTYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "element": [ + { + "name": "textPath", + "namespace": "SVG" + } + ], + "implements": "SVGURIReference", + "properties": { + "property": [ + { + "name": "method", + "content-attribute": "method", + "content-attribute-enum-values": "align stretch", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "spacing", + "content-attribute": "spacing", + "content-attribute-enum-values": "auto exact", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "SVGAnimatedEnumeration" + }, + { + "name": "startOffset", + "content-attribute": "startOffset", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGTextPositioningElement", + "extends": "SVGTextContentElement", + "properties": { + "property": [ + { + "name": "dx", + "content-attribute": "dx", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "read-only": "1", + "type": "SVGAnimatedLengthList" + }, + { + "name": "dy", + "content-attribute": "dy", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "read-only": "1", + "type": "SVGAnimatedLengthList" + }, + { + "name": "rotate", + "content-attribute": "rotate", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "read-only": "1", + "type": "SVGAnimatedNumberList" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "read-only": "1", + "type": "SVGAnimatedLengthList" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "read-only": "1", + "type": "SVGAnimatedLengthList" + } + ] + } + }, + { + "name": "SVGTitleElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "name": "xml:space", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "title", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGTransform", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "SVG_TRANSFORM_MATRIX", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_TRANSFORM_ROTATE", + "type": "unsigned short", + "value": "4" + }, + { + "name": "SVG_TRANSFORM_SCALE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "SVG_TRANSFORM_SKEWX", + "type": "unsigned short", + "value": "5" + }, + { + "name": "SVG_TRANSFORM_SKEWY", + "type": "unsigned short", + "value": "6" + }, + { + "name": "SVG_TRANSFORM_TRANSLATE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_TRANSFORM_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "setMatrix", + "type": "void", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix" + } + ] + }, + { + "name": "setRotate", + "type": "void", + "param": [ + { + "name": "angle", + "type": "float" + }, + { + "name": "cx", + "type": "float" + }, + { + "name": "cy", + "type": "float" + } + ] + }, + { + "name": "setScale", + "type": "void", + "param": [ + { + "name": "sx", + "type": "float" + }, + { + "name": "sy", + "type": "float" + } + ] + }, + { + "name": "setSkewX", + "type": "void", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "setSkewY", + "type": "void", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "setTranslate", + "type": "void", + "param": [ + { + "name": "tx", + "type": "float" + }, + { + "name": "ty", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "angle", + "read-only": "1", + "type": "float" + }, + { + "name": "matrix", + "read-only": "1", + "type": "SVGMatrix" + }, + { + "name": "type", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "SVGTransformList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "appendItem", + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform" + } + ] + }, + { + "name": "clear", + "type": "void" + }, + { + "name": "consolidate", + "type": "SVGTransform" + }, + { + "name": "createSVGTransformFromMatrix", + "type": "SVGTransform", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix" + } + ] + }, + { + "name": "getItem", + "type": "SVGTransform", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "initialize", + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform" + } + ] + }, + { + "name": "insertItemBefore", + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "removeItem", + "type": "SVGTransform", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "replaceItem", + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform" + }, + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "numberOfItems", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "SVGTSpanElement", + "extends": "SVGTextPositioningElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", + "name": "alignment-baseline", + "value-syntax": "enum" + }, + { + "enum-values": "baseline sub super inherit", + "name": "baseline-shift", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "inherit initial", + "name": "color", + "value-syntax": "css_color" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "ltr rtl inherit", + "name": "direction", + "value-syntax": "enum" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "name": "dominant-baseline", + "value-syntax": "enum" + }, + { + "enum-values": "none currentColor inherit", + "name": "fill", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "inherit", + "name": "fill-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "fill-rule", + "value-syntax": "enum" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "name": "font", + "value-syntax": "css_font" + }, + { + "enum-values": "inherit", + "name": "font-family", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "name": "font-size", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "none inherit", + "name": "font-size-adjust", + "value-syntax": "floating_point_number" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "name": "font-stretch", + "value-syntax": "enum" + }, + { + "enum-values": "normal italic oblique inherit initial", + "name": "font-style", + "value-syntax": "enum" + }, + { + "enum-values": "normal small-caps inherit initial", + "name": "font-variant", + "value-syntax": "enum" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "name": "font-weight", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "glyph-orientation-horizontal", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "glyph-orientation-vertical", + "value-syntax": "css_angle" + }, + { + "enum-values": "auto inherit", + "name": "kerning", + "value-syntax": "css_length" + }, + { + "enum-values": "normal inherit initial", + "name": "letter-spacing", + "value-syntax": "css_length" + }, + { + "enum-values": "none currentColor inherit", + "name": "stroke", + "value-syntax": "svg_paint_or_css_color" + }, + { + "enum-values": "none inherit", + "name": "stroke-dasharray", + "value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + { + "enum-values": "inherit", + "name": "stroke-dashoffset", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "butt round square inherit", + "name": "stroke-linecap", + "value-syntax": "enum" + }, + { + "enum-values": "miter round bevel inherit", + "name": "stroke-linejoin", + "value-syntax": "enum" + }, + { + "enum-values": "inherit", + "name": "stroke-miterlimit", + "value-syntax": "1_or_greater_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "inherit", + "name": "stroke-width", + "value-syntax": "css_percentage_or_length" + }, + { + "enum-values": "start middle end inherit", + "name": "text-anchor", + "value-syntax": "enum" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "name": "text-decoration", + "value-syntax": "enum" + }, + { + "enum-values": "normal embed bidi-override inherit", + "name": "unicode-bidi", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + }, + { + "enum-values": "normal inherit initial", + "name": "word-spacing", + "value-syntax": "css_length" + } + ] + }, + "element": [ + { + "name": "tspan", + "namespace": "SVG" + } + ] + }, + { + "name": "SVGUnitTypes", + "extends": "Object", + "static": "1", + "constants": { + "constant": [ + { + "name": "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_UNIT_TYPE_UNKNOWN", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SVG_UNIT_TYPE_USERSPACEONUSE", + "type": "unsigned short", + "value": "1" + } + ] + } + }, + { + "name": "SVGUseElement", + "extends": "SVGGraphicsElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "name": "clip-path", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "nonzero evenodd inherit", + "name": "clip-rule", + "value-syntax": "enum" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "name": "cursor", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "name": "display", + "value-syntax": "enum" + }, + { + "enum-values": "none inherit", + "name": "filter", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "none inherit", + "name": "mask", + "value-syntax": "css_url_of_local_id_ref" + }, + { + "enum-values": "inherit initial", + "name": "opacity", + "value-syntax": "0_to_1_floating_point_number" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "name": "pointer-events", + "value-syntax": "enum" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "name": "visibility", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "use", + "namespace": "SVG" + } + ], + "implements": "SVGURIReference", + "properties": { + "property": [ + { + "name": "animatedInstanceRoot", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "instanceRoot", + "read-only": "1", + "type": "SVGElementInstance" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGViewElement", + "extends": "SVGElement", + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "name": "externalResourcesRequired", + "value-syntax": "enum" + } + ] + }, + "element": [ + { + "name": "view", + "namespace": "SVG" + } + ], + "implements": [ + "SVGZoomAndPan", + "SVGFitToViewBox" + ], + "properties": { + "property": [ + { + "name": "viewTarget", + "content-attribute": "viewTarget", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_urls", + "read-only": "1", + "type": "SVGStringList" + } + ] + } + }, + { + "name": "SVGZoomAndPan", + "extends": "Object", + "static": "1", + "constants": { + "constant": [ + { + "name": "SVG_ZOOMANDPAN_DISABLE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "SVG_ZOOMANDPAN_MAGNIFY", + "type": "unsigned short", + "value": "2" + }, + { + "name": "SVG_ZOOMANDPAN_UNKNOWN", + "type": "unsigned short", + "value": "0" + } + ] + }, + "properties": { + "property": [ + { + "name": "zoomAndPan", + "content-attribute": "zoomAndPan", + "content-attribute-enum-values": "disable magnify", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "SVGZoomEvent", + "extends": "UIEvent", + "properties": { + "property": [ + { + "name": "newScale", + "read-only": "1", + "type": "float" + }, + { + "name": "newTranslate", + "read-only": "1", + "type": "SVGPoint" + }, + { + "name": "previousScale", + "read-only": "1", + "type": "float" + }, + { + "name": "previousTranslate", + "read-only": "1", + "type": "SVGPoint" + }, + { + "name": "zoomRectScreen", + "read-only": "1", + "type": "SVGRect" + } + ] + } + }, + { + "name": "SyncManager", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getTags", + "type": "Promise>" + }, + { + "name": "register", + "type": "Promise", + "param": [ + { + "name": "tag", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "Text", + "extends": "CharacterData", + "events": { + "event": [ + { + "name": "DOMNodeInserted", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + }, + { + "name": "DOMNodeRemoved", + "bubbles": "1", + "dispatch": "sync", + "type": "MutationEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "splitText", + "type": "Text", + "param": [ + { + "name": "offset", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "wholeText", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "TextEvent", + "extends": "UIEvent", + "constants": { + "constant": [ + { + "name": "DOM_INPUT_METHOD_DROP", + "type": "unsigned long", + "value": "0x03" + }, + { + "name": "DOM_INPUT_METHOD_HANDWRITING", + "type": "unsigned long", + "value": "0x06" + }, + { + "name": "DOM_INPUT_METHOD_IME", + "type": "unsigned long", + "value": "0x04" + }, + { + "name": "DOM_INPUT_METHOD_KEYBOARD", + "type": "unsigned long", + "value": "0x01" + }, + { + "name": "DOM_INPUT_METHOD_MULTIMODAL", + "type": "unsigned long", + "value": "0x08" + }, + { + "name": "DOM_INPUT_METHOD_OPTION", + "type": "unsigned long", + "value": "0x05" + }, + { + "name": "DOM_INPUT_METHOD_PASTE", + "type": "unsigned long", + "value": "0x02" + }, + { + "name": "DOM_INPUT_METHOD_SCRIPT", + "type": "unsigned long", + "value": "0x09" + }, + { + "name": "DOM_INPUT_METHOD_UNKNOWN", + "type": "unsigned long", + "value": "0x00" + }, + { + "name": "DOM_INPUT_METHOD_VOICE", + "type": "unsigned long", + "value": "0x07" + } + ] + }, + "methods": { + "method": [ + { + "name": "initTextEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "dataArg", + "type": "DOMString" + }, + { + "name": "inputMethod", + "type": "unsigned long" + }, + { + "name": "locale", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "inputMethod", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "locale", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "TextMetrics", + "extends": "Object", + "properties": { + "property": [ + { + "name": "width", + "read-only": "1", + "type": "float" + } + ] + } + }, + { + "name": "TextTrack", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "DISABLED", + "type": "unsigned short", + "value": "0" + }, + { + "name": "ERROR", + "type": "unsigned short", + "value": "3" + }, + { + "name": "HIDDEN", + "type": "unsigned short", + "value": "1" + }, + { + "name": "LOADED", + "type": "unsigned short", + "value": "2" + }, + { + "name": "LOADING", + "type": "unsigned short", + "value": "1" + }, + { + "name": "NONE", + "type": "unsigned short", + "value": "0" + }, + { + "name": "SHOWING", + "type": "unsigned short", + "value": "2" + } + ] + }, + "events": { + "event": [ + { + "name": "cuechange", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "load", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "addCue", + "type": "void", + "param": [ + { + "name": "cue", + "type": "TextTrackCue" + } + ] + }, + { + "name": "removeCue", + "type": "void", + "param": [ + { + "name": "cue", + "type": "TextTrackCue" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "activeCues", + "read-only": "1", + "type": "TextTrackCueList" + }, + { + "name": "cues", + "read-only": "1", + "type": "TextTrackCueList" + }, + { + "name": "inBandMetadataTrackDispatchType", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "kind", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "label", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "language", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "mode", + "type": "(TextTrackMode or unsigned short)" + }, + { + "name": "oncuechange", + "event-handler": "cuechange", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "TextTrackCue", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "startTime", + "type": "double" + }, + { + "name": "endTime", + "type": "double" + }, + { + "name": "text", + "type": "DOMString" + } + ] + } + ], + "events": { + "event": [ + { + "name": "enter", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "exit", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getCueAsHTML", + "type": "DocumentFragment" + } + ] + }, + "properties": { + "property": [ + { + "name": "endTime", + "type": "double" + }, + { + "name": "id", + "type": "DOMString" + }, + { + "name": "onenter", + "event-handler": "enter", + "type": "EventHandler" + }, + { + "name": "onexit", + "event-handler": "exit", + "type": "EventHandler" + }, + { + "name": "pauseOnExit", + "type": "boolean" + }, + { + "name": "startTime", + "type": "double" + }, + { + "name": "text", + "type": "DOMString" + }, + { + "name": "track", + "read-only": "1", + "type": "TextTrack" + } + ] + } + }, + { + "name": "TextTrackCueList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "getCueById", + "type": "TextTrackCue", + "param": [ + { + "name": "id", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "TextTrackCue", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "TextTrackList", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "addtrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + }, + { + "name": "removetrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "type": "TextTrack", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "onaddtrack", + "event-handler": "addtrack", + "nullable": "1", + "type": "EventHandler" + } + ] + } + }, + { + "name": "TimeRanges", + "extends": "Object", + "methods": { + "method": [ + { + "name": "end", + "type": "double", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "name": "start", + "type": "double", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "Touch", + "extends": "Object", + "properties": { + "property": [ + { + "name": "clientX", + "read-only": "1", + "type": "long" + }, + { + "name": "clientY", + "read-only": "1", + "type": "long" + }, + { + "name": "identifier", + "read-only": "1", + "type": "long" + }, + { + "name": "pageX", + "read-only": "1", + "type": "long" + }, + { + "name": "pageY", + "read-only": "1", + "type": "long" + }, + { + "name": "screenX", + "read-only": "1", + "type": "long" + }, + { + "name": "screenY", + "read-only": "1", + "type": "long" + }, + { + "name": "target", + "read-only": "1", + "type": "EventTarget" + } + ] + } + }, + { + "name": "TouchEvent", + "extends": "UIEvent", + "properties": { + "property": [ + { + "name": "altKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "changedTouches", + "read-only": "1", + "type": "TouchList" + }, + { + "name": "charCode", + "read-only": "1", + "type": "short" + }, + { + "name": "ctrlKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "keyCode", + "read-only": "1", + "type": "short" + }, + { + "name": "metaKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "shiftKey", + "read-only": "1", + "type": "boolean" + }, + { + "name": "targetTouches", + "read-only": "1", + "type": "TouchList" + }, + { + "name": "touches", + "read-only": "1", + "type": "TouchList" + }, + { + "name": "which", + "read-only": "1", + "type": "unsigned short" + } + ] + } + }, + { + "name": "TouchList", + "extends": "Object", + "methods": { + "method": [ + { + "name": "item", + "getter": "1", + "nullable": "1", + "type": "Touch", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "TrackEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "TrackEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "track", + "nullable": "1", + "read-only": "1", + "type": "(VideoTrack or AudioTrack or TextTrack)" + } + ] + } + }, + { + "name": "TransitionEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "TransitionEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initTransitionEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "propertyNameArg", + "type": "DOMString" + }, + { + "name": "elapsedTimeArg", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "elapsedTime", + "read-only": "1", + "type": "float" + }, + { + "name": "propertyName", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "TreeWalker", + "extends": "Object", + "methods": { + "method": [ + { + "name": "firstChild", + "type": "Node" + }, + { + "name": "lastChild", + "type": "Node" + }, + { + "name": "nextNode", + "type": "Node" + }, + { + "name": "nextSibling", + "type": "Node" + }, + { + "name": "parentNode", + "type": "Node" + }, + { + "name": "previousNode", + "type": "Node" + }, + { + "name": "previousSibling", + "type": "Node" + } + ] + }, + "properties": { + "property": [ + { + "name": "currentNode", + "type": "Node" + }, + { + "name": "expandEntityReferences", + "read-only": "1", + "type": "boolean" + }, + { + "name": "filter", + "read-only": "1", + "type": "NodeFilter" + }, + { + "name": "root", + "read-only": "1", + "type": "Node" + }, + { + "name": "whatToShow", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "UIEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "UIEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "initUIEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "detail", + "read-only": "1", + "type": "long" + }, + { + "name": "view", + "read-only": "1", + "type": "Window" + } + ] + } + }, + { + "name": "UnviewableContentIdentifiedEvent", + "extends": "NavigationEventWithReferrer", + "tags": "MSAppOnly", + "properties": { + "property": [ + { + "name": "mediaType", + "read-only": "1", + "tags": "MSAppOnly", + "type": "DOMString" + } + ] + } + }, + { + "name": "URL", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "url", + "type": "DOMString" + }, + { + "name": "base", + "optional": "1", + "type": "DOMString" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "createObjectURL", + "static": "1", + "type": "DOMString", + "param": [ + { + "name": "object", + "type": "any" + }, + { + "name": "options", + "default": "0", + "optional": "1", + "type": "ObjectURLOptions" + } + ] + }, + { + "name": "revokeObjectURL", + "static": "1", + "type": "void", + "param": [ + { + "name": "url", + "type": "DOMString" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "hash", + "type": "DOMString" + }, + { + "name": "host", + "type": "DOMString" + }, + { + "name": "hostname", + "type": "DOMString" + }, + { + "name": "href", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "password", + "type": "DOMString" + }, + { + "name": "pathname", + "type": "DOMString" + }, + { + "name": "port", + "type": "DOMString" + }, + { + "name": "protocol", + "type": "DOMString" + }, + { + "name": "search", + "type": "DOMString" + }, + { + "name": "username", + "type": "DOMString" + } + ] + } + }, + { + "name": "ValidityState", + "extends": "Object", + "properties": { + "property": [ + { + "name": "badInput", + "read-only": "1", + "type": "boolean" + }, + { + "name": "customError", + "read-only": "1", + "type": "boolean" + }, + { + "name": "patternMismatch", + "read-only": "1", + "type": "boolean" + }, + { + "name": "rangeOverflow", + "read-only": "1", + "type": "boolean" + }, + { + "name": "rangeUnderflow", + "read-only": "1", + "type": "boolean" + }, + { + "name": "stepMismatch", + "read-only": "1", + "type": "boolean" + }, + { + "name": "tooLong", + "read-only": "1", + "type": "boolean" + }, + { + "name": "typeMismatch", + "read-only": "1", + "type": "boolean" + }, + { + "name": "valid", + "read-only": "1", + "type": "boolean" + }, + { + "name": "valueMissing", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "VideoPlaybackQuality", + "extends": "Object", + "properties": { + "property": [ + { + "name": "corruptedVideoFrames", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "creationTime", + "read-only": "1", + "type": "DOMHighResTimeStamp" + }, + { + "name": "droppedVideoFrames", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "totalFrameDelay", + "read-only": "1", + "type": "double" + }, + { + "name": "totalVideoFrames", + "read-only": "1", + "type": "unsigned long" + } + ] + } + }, + { + "name": "VideoTrack", + "extends": "Object", + "properties": { + "property": [ + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "label", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "language", + "type": "DOMString" + }, + { + "name": "selected", + "type": "boolean" + }, + { + "name": "sourceBuffer", + "read-only": "1", + "type": "SourceBuffer" + } + ] + } + }, + { + "name": "VideoTrackList", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "addtrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + }, + { + "name": "removetrack", + "dispatch": "async", + "skips-window": "1", + "type": "TrackEvent" + }, + { + "name": "change", + "dispatch": "async", + "skips-window": "1", + "type": "Event" + } + ] + }, + "methods": { + "method": [ + { + "name": "getTrackById", + "nullable": "1", + "type": "VideoTrack", + "param": [ + { + "name": "id", + "type": "DOMString" + } + ] + }, + { + "name": "item", + "getter": "1", + "type": "VideoTrack", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "length", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "onaddtrack", + "event-handler": "addtrack", + "type": "EventHandler" + }, + { + "name": "onchange", + "event-handler": "change", + "type": "EventHandler" + }, + { + "name": "onremovetrack", + "event-handler": "removetrack", + "type": "EventHandler" + }, + { + "name": "selectedIndex", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "WaveShaperNode", + "extends": "AudioNode", + "properties": { + "property": [ + { + "name": "curve", + "nullable": "1", + "type": "Float32Array" + }, + { + "name": "oversample", + "type": "OverSampleType" + } + ] + } + }, + { + "name": "WebAuthentication", + "extends": "Object", + "secure-context": "1", + "methods": { + "method": [ + { + "name": "getAssertion", + "type": "Promise", + "param": [ + { + "name": "assertionChallenge", + "type": "BufferSource" + }, + { + "name": "options", + "optional": "1", + "type": "AssertionOptions" + } + ] + }, + { + "name": "makeCredential", + "type": "Promise", + "param": [ + { + "name": "accountInformation", + "type": "Account" + }, + { + "name": "cryptoParameters", + "type": "sequence" + }, + { + "name": "attestationChallenge", + "type": "BufferSource" + }, + { + "name": "options", + "optional": "1", + "type": "ScopedCredentialOptions" + } + ] + } + ] + } + }, + { + "name": "WebAuthnAssertion", + "extends": "Object", + "secure-context": "1", + "properties": { + "property": [ + { + "name": "authenticatorData", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "clientData", + "read-only": "1", + "type": "ArrayBuffer" + }, + { + "name": "credential", + "read-only": "1", + "type": "ScopedCredential" + }, + { + "name": "signature", + "read-only": "1", + "type": "ArrayBuffer" + } + ] + } + }, + { + "name": "WEBGL_compressed_texture_s3tc", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "COMPRESSED_RGB_S3TC_DXT1_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x83F0" + }, + { + "name": "COMPRESSED_RGBA_S3TC_DXT1_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x83F1" + }, + { + "name": "COMPRESSED_RGBA_S3TC_DXT3_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x83F2" + }, + { + "name": "COMPRESSED_RGBA_S3TC_DXT5_EXT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x83F3" + } + ] + } + }, + { + "name": "WEBGL_debug_renderer_info", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "UNMASKED_RENDERER_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9246" + }, + { + "name": "UNMASKED_VENDOR_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9245" + } + ] + } + }, + { + "name": "WEBGL_depth_texture", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "UNSIGNED_INT_24_8_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84FA" + } + ] + } + }, + { + "name": "WebGLActiveInfo", + "extends": "Object", + "properties": { + "property": [ + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "size", + "read-only": "1", + "type": "long", + "type-original": "GLint" + }, + { + "name": "type", + "read-only": "1", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + } + }, + { + "name": "WebGLBuffer", + "extends": "WebGLObject" + }, + { + "name": "WebGLContextEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "WebGLContextEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "statusMessage", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "WebGLFramebuffer", + "extends": "WebGLObject" + }, + { + "name": "WebGLObject", + "extends": "Object" + }, + { + "name": "WebGLProgram", + "extends": "WebGLObject" + }, + { + "name": "WebGLRenderbuffer", + "extends": "WebGLObject" + }, + { + "name": "WebGLRenderingContext", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "ACTIVE_ATTRIBUTES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B89" + }, + { + "name": "ACTIVE_TEXTURE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84E0" + }, + { + "name": "ACTIVE_UNIFORMS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B86" + }, + { + "name": "ALIASED_LINE_WIDTH_RANGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x846E" + }, + { + "name": "ALIASED_POINT_SIZE_RANGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x846D" + }, + { + "name": "ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1906" + }, + { + "name": "ALPHA_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D55" + }, + { + "name": "ALWAYS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0207" + }, + { + "name": "ARRAY_BUFFER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8892" + }, + { + "name": "ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8894" + }, + { + "name": "ATTACHED_SHADERS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B85" + }, + { + "name": "BACK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0405" + }, + { + "name": "BLEND", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0BE2" + }, + { + "name": "BLEND_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8005" + }, + { + "name": "BLEND_DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80CA" + }, + { + "name": "BLEND_DST_RGB", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80C8" + }, + { + "name": "BLEND_EQUATION", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8009" + }, + { + "name": "BLEND_EQUATION_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x883D" + }, + { + "name": "BLEND_EQUATION_RGB", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8009" + }, + { + "name": "BLEND_SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80CB" + }, + { + "name": "BLEND_SRC_RGB", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80C9" + }, + { + "name": "BLUE_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D54" + }, + { + "name": "BOOL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B56" + }, + { + "name": "BOOL_VEC2", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B57" + }, + { + "name": "BOOL_VEC3", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B58" + }, + { + "name": "BOOL_VEC4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B59" + }, + { + "name": "BROWSER_DEFAULT_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9244" + }, + { + "name": "BUFFER_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8764" + }, + { + "name": "BUFFER_USAGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8765" + }, + { + "name": "BYTE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1400" + }, + { + "name": "CCW", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0901" + }, + { + "name": "CLAMP_TO_EDGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x812F" + }, + { + "name": "COLOR_ATTACHMENT0", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CE0" + }, + { + "name": "COLOR_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x00004000" + }, + { + "name": "COLOR_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0C22" + }, + { + "name": "COLOR_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0C23" + }, + { + "name": "COMPILE_STATUS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B81" + }, + { + "name": "COMPRESSED_TEXTURE_FORMATS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x86A3" + }, + { + "name": "CONSTANT_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8003" + }, + { + "name": "CONSTANT_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8001" + }, + { + "name": "CONTEXT_LOST_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9242" + }, + { + "name": "CULL_FACE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B44" + }, + { + "name": "CULL_FACE_MODE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B45" + }, + { + "name": "CURRENT_PROGRAM", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B8D" + }, + { + "name": "CURRENT_VERTEX_ATTRIB", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8626" + }, + { + "name": "CW", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0900" + }, + { + "name": "DECR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1E03" + }, + { + "name": "DECR_WRAP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8508" + }, + { + "name": "DELETE_STATUS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B80" + }, + { + "name": "DEPTH_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D00" + }, + { + "name": "DEPTH_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D56" + }, + { + "name": "DEPTH_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x00000100" + }, + { + "name": "DEPTH_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B73" + }, + { + "name": "DEPTH_COMPONENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1902" + }, + { + "name": "DEPTH_COMPONENT16", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x81A5" + }, + { + "name": "DEPTH_FUNC", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B74" + }, + { + "name": "DEPTH_RANGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B70" + }, + { + "name": "DEPTH_STENCIL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84F9" + }, + { + "name": "DEPTH_STENCIL_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x821A" + }, + { + "name": "DEPTH_TEST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B71" + }, + { + "name": "DEPTH_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B72" + }, + { + "name": "DITHER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0BD0" + }, + { + "name": "DONT_CARE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1100" + }, + { + "name": "DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0304" + }, + { + "name": "DST_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0306" + }, + { + "name": "DYNAMIC_DRAW", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x88E8" + }, + { + "name": "ELEMENT_ARRAY_BUFFER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8893" + }, + { + "name": "ELEMENT_ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8895" + }, + { + "name": "EQUAL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0202" + }, + { + "name": "FASTEST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1101" + }, + { + "name": "FLOAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1406" + }, + { + "name": "FLOAT_MAT2", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B5A" + }, + { + "name": "FLOAT_MAT3", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B5B" + }, + { + "name": "FLOAT_MAT4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B5C" + }, + { + "name": "FLOAT_VEC2", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B50" + }, + { + "name": "FLOAT_VEC3", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B51" + }, + { + "name": "FLOAT_VEC4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B52" + }, + { + "name": "FRAGMENT_SHADER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B30" + }, + { + "name": "FRAMEBUFFER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D40" + }, + { + "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD1" + }, + { + "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD0" + }, + { + "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD3" + }, + { + "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD2" + }, + { + "name": "FRAMEBUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CA6" + }, + { + "name": "FRAMEBUFFER_COMPLETE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD5" + }, + { + "name": "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD6" + }, + { + "name": "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD9" + }, + { + "name": "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CD7" + }, + { + "name": "FRAMEBUFFER_UNSUPPORTED", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CDD" + }, + { + "name": "FRONT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0404" + }, + { + "name": "FRONT_AND_BACK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0408" + }, + { + "name": "FRONT_FACE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B46" + }, + { + "name": "FUNC_ADD", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8006" + }, + { + "name": "FUNC_REVERSE_SUBTRACT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x800B" + }, + { + "name": "FUNC_SUBTRACT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x800A" + }, + { + "name": "GENERATE_MIPMAP_HINT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8192" + }, + { + "name": "GEQUAL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0206" + }, + { + "name": "GREATER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0204" + }, + { + "name": "GREEN_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D53" + }, + { + "name": "HIGH_FLOAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF2" + }, + { + "name": "HIGH_INT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF5" + }, + { + "name": "IMPLEMENTATION_COLOR_READ_FORMAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B9B" + }, + { + "name": "IMPLEMENTATION_COLOR_READ_TYPE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B9A" + }, + { + "name": "INCR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1E02" + }, + { + "name": "INCR_WRAP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8507" + }, + { + "name": "INT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1404" + }, + { + "name": "INT_VEC2", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B53" + }, + { + "name": "INT_VEC3", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B54" + }, + { + "name": "INT_VEC4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B55" + }, + { + "name": "INVALID_ENUM", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0500" + }, + { + "name": "INVALID_FRAMEBUFFER_OPERATION", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0506" + }, + { + "name": "INVALID_OPERATION", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0502" + }, + { + "name": "INVALID_VALUE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0501" + }, + { + "name": "INVERT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x150A" + }, + { + "name": "KEEP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1E00" + }, + { + "name": "LEQUAL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0203" + }, + { + "name": "LESS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0201" + }, + { + "name": "LINE_LOOP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0002" + }, + { + "name": "LINE_STRIP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0003" + }, + { + "name": "LINE_WIDTH", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B21" + }, + { + "name": "LINEAR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2601" + }, + { + "name": "LINEAR_MIPMAP_LINEAR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2703" + }, + { + "name": "LINEAR_MIPMAP_NEAREST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2701" + }, + { + "name": "LINES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0001" + }, + { + "name": "LINK_STATUS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B82" + }, + { + "name": "LOW_FLOAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF0" + }, + { + "name": "LOW_INT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF3" + }, + { + "name": "LUMINANCE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1909" + }, + { + "name": "LUMINANCE_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x190A" + }, + { + "name": "MAX_COMBINED_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B4D" + }, + { + "name": "MAX_CUBE_MAP_TEXTURE_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x851C" + }, + { + "name": "MAX_FRAGMENT_UNIFORM_VECTORS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DFD" + }, + { + "name": "MAX_RENDERBUFFER_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84E8" + }, + { + "name": "MAX_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8872" + }, + { + "name": "MAX_TEXTURE_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D33" + }, + { + "name": "MAX_VARYING_VECTORS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DFC" + }, + { + "name": "MAX_VERTEX_ATTRIBS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8869" + }, + { + "name": "MAX_VERTEX_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B4C" + }, + { + "name": "MAX_VERTEX_UNIFORM_VECTORS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DFB" + }, + { + "name": "MAX_VIEWPORT_DIMS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D3A" + }, + { + "name": "MEDIUM_FLOAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF1" + }, + { + "name": "MEDIUM_INT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8DF4" + }, + { + "name": "MIRRORED_REPEAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8370" + }, + { + "name": "NEAREST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2600" + }, + { + "name": "NEAREST_MIPMAP_LINEAR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2702" + }, + { + "name": "NEAREST_MIPMAP_NEAREST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2700" + }, + { + "name": "NEVER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0200" + }, + { + "name": "NICEST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1102" + }, + { + "name": "NO_ERROR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0" + }, + { + "name": "NONE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0" + }, + { + "name": "NOTEQUAL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0205" + }, + { + "name": "ONE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "1" + }, + { + "name": "ONE_MINUS_CONSTANT_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8004" + }, + { + "name": "ONE_MINUS_CONSTANT_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8002" + }, + { + "name": "ONE_MINUS_DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0305" + }, + { + "name": "ONE_MINUS_DST_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0307" + }, + { + "name": "ONE_MINUS_SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0303" + }, + { + "name": "ONE_MINUS_SRC_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0301" + }, + { + "name": "OUT_OF_MEMORY", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0505" + }, + { + "name": "PACK_ALIGNMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D05" + }, + { + "name": "POINTS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0000" + }, + { + "name": "POLYGON_OFFSET_FACTOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8038" + }, + { + "name": "POLYGON_OFFSET_FILL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8037" + }, + { + "name": "POLYGON_OFFSET_UNITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2A00" + }, + { + "name": "RED_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D52" + }, + { + "name": "RENDERBUFFER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D41" + }, + { + "name": "RENDERBUFFER_ALPHA_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D53" + }, + { + "name": "RENDERBUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CA7" + }, + { + "name": "RENDERBUFFER_BLUE_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D52" + }, + { + "name": "RENDERBUFFER_DEPTH_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D54" + }, + { + "name": "RENDERBUFFER_GREEN_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D51" + }, + { + "name": "RENDERBUFFER_HEIGHT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D43" + }, + { + "name": "RENDERBUFFER_INTERNAL_FORMAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D44" + }, + { + "name": "RENDERBUFFER_RED_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D50" + }, + { + "name": "RENDERBUFFER_STENCIL_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D55" + }, + { + "name": "RENDERBUFFER_WIDTH", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D42" + }, + { + "name": "RENDERER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1F01" + }, + { + "name": "REPEAT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2901" + }, + { + "name": "REPLACE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1E01" + }, + { + "name": "RGB", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1907" + }, + { + "name": "RGB5_A1", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8057" + }, + { + "name": "RGB565", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D62" + }, + { + "name": "RGBA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1908" + }, + { + "name": "RGBA4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8056" + }, + { + "name": "SAMPLE_ALPHA_TO_COVERAGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x809E" + }, + { + "name": "SAMPLE_BUFFERS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80A8" + }, + { + "name": "SAMPLE_COVERAGE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80A0" + }, + { + "name": "SAMPLE_COVERAGE_INVERT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80AB" + }, + { + "name": "SAMPLE_COVERAGE_VALUE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80AA" + }, + { + "name": "SAMPLER_2D", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B5E" + }, + { + "name": "SAMPLER_CUBE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B60" + }, + { + "name": "SAMPLES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x80A9" + }, + { + "name": "SCISSOR_BOX", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0C10" + }, + { + "name": "SCISSOR_TEST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0C11" + }, + { + "name": "SHADER_TYPE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B4F" + }, + { + "name": "SHADING_LANGUAGE_VERSION", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B8C" + }, + { + "name": "SHORT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1402" + }, + { + "name": "SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0302" + }, + { + "name": "SRC_ALPHA_SATURATE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0308" + }, + { + "name": "SRC_COLOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0300" + }, + { + "name": "STATIC_DRAW", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x88E4" + }, + { + "name": "STENCIL_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D20" + }, + { + "name": "STENCIL_BACK_FAIL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8801" + }, + { + "name": "STENCIL_BACK_FUNC", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8800" + }, + { + "name": "STENCIL_BACK_PASS_DEPTH_FAIL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8802" + }, + { + "name": "STENCIL_BACK_PASS_DEPTH_PASS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8803" + }, + { + "name": "STENCIL_BACK_REF", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CA3" + }, + { + "name": "STENCIL_BACK_VALUE_MASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CA4" + }, + { + "name": "STENCIL_BACK_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8CA5" + }, + { + "name": "STENCIL_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D57" + }, + { + "name": "STENCIL_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x00000400" + }, + { + "name": "STENCIL_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B91" + }, + { + "name": "STENCIL_FAIL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B94" + }, + { + "name": "STENCIL_FUNC", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B92" + }, + { + "name": "STENCIL_INDEX", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1901" + }, + { + "name": "STENCIL_INDEX8", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8D48" + }, + { + "name": "STENCIL_PASS_DEPTH_FAIL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B95" + }, + { + "name": "STENCIL_PASS_DEPTH_PASS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B96" + }, + { + "name": "STENCIL_REF", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B97" + }, + { + "name": "STENCIL_TEST", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B90" + }, + { + "name": "STENCIL_VALUE_MASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B93" + }, + { + "name": "STENCIL_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0B98" + }, + { + "name": "STREAM_DRAW", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x88E0" + }, + { + "name": "SUBPIXEL_BITS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0D50" + }, + { + "name": "TEXTURE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1702" + }, + { + "name": "TEXTURE_2D", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0DE1" + }, + { + "name": "TEXTURE_BINDING_2D", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8069" + }, + { + "name": "TEXTURE_BINDING_CUBE_MAP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8514" + }, + { + "name": "TEXTURE_CUBE_MAP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8513" + }, + { + "name": "TEXTURE_CUBE_MAP_NEGATIVE_X", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8516" + }, + { + "name": "TEXTURE_CUBE_MAP_NEGATIVE_Y", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8518" + }, + { + "name": "TEXTURE_CUBE_MAP_NEGATIVE_Z", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x851A" + }, + { + "name": "TEXTURE_CUBE_MAP_POSITIVE_X", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8515" + }, + { + "name": "TEXTURE_CUBE_MAP_POSITIVE_Y", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8517" + }, + { + "name": "TEXTURE_CUBE_MAP_POSITIVE_Z", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8519" + }, + { + "name": "TEXTURE_MAG_FILTER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2800" + }, + { + "name": "TEXTURE_MIN_FILTER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2801" + }, + { + "name": "TEXTURE_WRAP_S", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2802" + }, + { + "name": "TEXTURE_WRAP_T", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x2803" + }, + { + "name": "TEXTURE0", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C0" + }, + { + "name": "TEXTURE1", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C1" + }, + { + "name": "TEXTURE10", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CA" + }, + { + "name": "TEXTURE11", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CB" + }, + { + "name": "TEXTURE12", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CC" + }, + { + "name": "TEXTURE13", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CD" + }, + { + "name": "TEXTURE14", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CE" + }, + { + "name": "TEXTURE15", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84CF" + }, + { + "name": "TEXTURE16", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D0" + }, + { + "name": "TEXTURE17", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D1" + }, + { + "name": "TEXTURE18", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D2" + }, + { + "name": "TEXTURE19", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D3" + }, + { + "name": "TEXTURE2", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C2" + }, + { + "name": "TEXTURE20", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D4" + }, + { + "name": "TEXTURE21", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D5" + }, + { + "name": "TEXTURE22", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D6" + }, + { + "name": "TEXTURE23", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D7" + }, + { + "name": "TEXTURE24", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D8" + }, + { + "name": "TEXTURE25", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84D9" + }, + { + "name": "TEXTURE26", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DA" + }, + { + "name": "TEXTURE27", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DB" + }, + { + "name": "TEXTURE28", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DC" + }, + { + "name": "TEXTURE29", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DD" + }, + { + "name": "TEXTURE3", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C3" + }, + { + "name": "TEXTURE30", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DE" + }, + { + "name": "TEXTURE31", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84DF" + }, + { + "name": "TEXTURE4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C4" + }, + { + "name": "TEXTURE5", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C5" + }, + { + "name": "TEXTURE6", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C6" + }, + { + "name": "TEXTURE7", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C7" + }, + { + "name": "TEXTURE8", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C8" + }, + { + "name": "TEXTURE9", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x84C9" + }, + { + "name": "TRIANGLE_FAN", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0006" + }, + { + "name": "TRIANGLE_STRIP", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0005" + }, + { + "name": "TRIANGLES", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0004" + }, + { + "name": "UNPACK_ALIGNMENT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0CF5" + }, + { + "name": "UNPACK_COLORSPACE_CONVERSION_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9243" + }, + { + "name": "UNPACK_FLIP_Y_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9240" + }, + { + "name": "UNPACK_PREMULTIPLY_ALPHA_WEBGL", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x9241" + }, + { + "name": "UNSIGNED_BYTE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1401" + }, + { + "name": "UNSIGNED_INT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1405" + }, + { + "name": "UNSIGNED_SHORT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1403" + }, + { + "name": "UNSIGNED_SHORT_4_4_4_4", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8033" + }, + { + "name": "UNSIGNED_SHORT_5_5_5_1", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8034" + }, + { + "name": "UNSIGNED_SHORT_5_6_5", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8363" + }, + { + "name": "VALIDATE_STATUS", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B83" + }, + { + "name": "VENDOR", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1F00" + }, + { + "name": "VERSION", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x1F02" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x889F" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_ENABLED", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8622" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_NORMALIZED", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x886A" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_POINTER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8645" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_SIZE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8623" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_STRIDE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8624" + }, + { + "name": "VERTEX_ATTRIB_ARRAY_TYPE", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8625" + }, + { + "name": "VERTEX_SHADER", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x8B31" + }, + { + "name": "VIEWPORT", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0x0BA2" + }, + { + "name": "ZERO", + "type": "unsigned long", + "type-original": "GLenum", + "value": "0" + } + ] + }, + "methods": { + "method": [ + { + "name": "activeTexture", + "type": "void", + "param": [ + { + "name": "texture", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "attachShader", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "bindAttribLocation", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "bindBuffer", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "buffer", + "nullable": "1", + "type": "WebGLBuffer" + } + ] + }, + { + "name": "bindFramebuffer", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "framebuffer", + "nullable": "1", + "type": "WebGLFramebuffer" + } + ] + }, + { + "name": "bindRenderbuffer", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "renderbuffer", + "nullable": "1", + "type": "WebGLRenderbuffer" + } + ] + }, + { + "name": "bindTexture", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "texture", + "nullable": "1", + "type": "WebGLTexture" + } + ] + }, + { + "name": "blendColor", + "type": "void", + "param": [ + { + "name": "red", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "green", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "blue", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "alpha", + "type": "float", + "type-original": "GLclampf" + } + ] + }, + { + "name": "blendEquation", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "blendEquationSeparate", + "type": "void", + "param": [ + { + "name": "modeRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "modeAlpha", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "blendFunc", + "type": "void", + "param": [ + { + "name": "sfactor", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dfactor", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "blendFuncSeparate", + "type": "void", + "param": [ + { + "name": "srcRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dstRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "srcAlpha", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dstAlpha", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "bufferData", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "size", + "type": "(long long or ArrayBufferView or ArrayBuffer?)" + }, + { + "name": "usage", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "bufferSubData", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + }, + { + "name": "data", + "type": "(ArrayBufferView or ArrayBuffer?)" + } + ] + }, + { + "name": "checkFramebufferStatus", + "type": "unsigned long", + "type-original": "GLenum", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "clear", + "type": "void", + "param": [ + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLbitfield" + } + ] + }, + { + "name": "clearColor", + "type": "void", + "param": [ + { + "name": "red", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "green", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "blue", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "alpha", + "type": "float", + "type-original": "GLclampf" + } + ] + }, + { + "name": "clearDepth", + "type": "void", + "param": [ + { + "name": "depth", + "type": "float", + "type-original": "GLclampf" + } + ] + }, + { + "name": "clearStencil", + "type": "void", + "param": [ + { + "name": "s", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "colorMask", + "type": "void", + "param": [ + { + "name": "red", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "green", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "blue", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "alpha", + "type": "boolean", + "type-original": "GLboolean" + } + ] + }, + { + "name": "compileShader", + "type": "void", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "compressedTexImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "border", + "type": "long", + "type-original": "GLint" + }, + { + "name": "data", + "type": "ArrayBufferView" + } + ] + }, + { + "name": "compressedTexSubImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "data", + "type": "ArrayBufferView" + } + ] + }, + { + "name": "copyTexImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "border", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "copyTexSubImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "createBuffer", + "nullable": "1", + "type": "WebGLBuffer" + }, + { + "name": "createFramebuffer", + "nullable": "1", + "type": "WebGLFramebuffer" + }, + { + "name": "createProgram", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "createRenderbuffer", + "nullable": "1", + "type": "WebGLRenderbuffer" + }, + { + "name": "createShader", + "nullable": "1", + "type": "WebGLShader", + "param": [ + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "createTexture", + "nullable": "1", + "type": "WebGLTexture" + }, + { + "name": "cullFace", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "deleteBuffer", + "type": "void", + "param": [ + { + "name": "buffer", + "nullable": "1", + "type": "WebGLBuffer" + } + ] + }, + { + "name": "deleteFramebuffer", + "type": "void", + "param": [ + { + "name": "framebuffer", + "nullable": "1", + "type": "WebGLFramebuffer" + } + ] + }, + { + "name": "deleteProgram", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "deleteRenderbuffer", + "type": "void", + "param": [ + { + "name": "renderbuffer", + "nullable": "1", + "type": "WebGLRenderbuffer" + } + ] + }, + { + "name": "deleteShader", + "type": "void", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "deleteTexture", + "type": "void", + "param": [ + { + "name": "texture", + "nullable": "1", + "type": "WebGLTexture" + } + ] + }, + { + "name": "depthFunc", + "type": "void", + "param": [ + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "depthMask", + "type": "void", + "param": [ + { + "name": "flag", + "type": "boolean", + "type-original": "GLboolean" + } + ] + }, + { + "name": "depthRange", + "type": "void", + "param": [ + { + "name": "zNear", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "zFar", + "type": "float", + "type-original": "GLclampf" + } + ] + }, + { + "name": "detachShader", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "disable", + "type": "void", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "disableVertexAttribArray", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "drawArrays", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "first", + "type": "long", + "type-original": "GLint" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "drawElements", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + } + ] + }, + { + "name": "enable", + "type": "void", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "enableVertexAttribArray", + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "finish", + "type": "void" + }, + { + "name": "flush", + "type": "void" + }, + { + "name": "framebufferRenderbuffer", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "renderbuffertarget", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "renderbuffer", + "nullable": "1", + "type": "WebGLRenderbuffer" + } + ] + }, + { + "name": "framebufferTexture2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "textarget", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "texture", + "nullable": "1", + "type": "WebGLTexture" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "frontFace", + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "generateMipmap", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getActiveAttrib", + "nullable": "1", + "type": "WebGLActiveInfo", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "getActiveUniform", + "nullable": "1", + "type": "WebGLActiveInfo", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "getAttachedShaders", + "nullable": "1", + "type": "sequence", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "getAttribLocation", + "type": "long", + "type-original": "GLint", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getBufferParameter", + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getContextAttributes", + "type": "WebGLContextAttributes" + }, + { + "name": "getError", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "getExtension", + "nullable": "1", + "type": "object", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getFramebufferAttachmentParameter", + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getParameter", + "type": "any", + "param": [ + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getProgramInfoLog", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "getProgramParameter", + "type": "any", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getRenderbufferParameter", + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getShaderInfoLog", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "getShaderParameter", + "type": "any", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getShaderPrecisionFormat", + "nullable": "1", + "type": "WebGLShaderPrecisionFormat", + "param": [ + { + "name": "shadertype", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "precisiontype", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getShaderSource", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "getSupportedExtensions", + "nullable": "1", + "type": "sequence" + }, + { + "name": "getTexParameter", + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getUniform", + "type": "any", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + } + ] + }, + { + "name": "getUniformLocation", + "nullable": "1", + "type": "WebGLUniformLocation", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + }, + { + "name": "name", + "type": "DOMString" + } + ] + }, + { + "name": "getVertexAttrib", + "type": "any", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "getVertexAttribOffset", + "type": "long long", + "type-original": "GLsizeiptr", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "hint", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "isBuffer", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "buffer", + "nullable": "1", + "type": "WebGLBuffer" + } + ] + }, + { + "name": "isContextLost", + "type": "boolean" + }, + { + "name": "isEnabled", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "isFramebuffer", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "framebuffer", + "nullable": "1", + "type": "WebGLFramebuffer" + } + ] + }, + { + "name": "isProgram", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "isRenderbuffer", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "renderbuffer", + "nullable": "1", + "type": "WebGLRenderbuffer" + } + ] + }, + { + "name": "isShader", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + } + ] + }, + { + "name": "isTexture", + "type": "boolean", + "type-original": "GLboolean", + "param": [ + { + "name": "texture", + "nullable": "1", + "type": "WebGLTexture" + } + ] + }, + { + "name": "lineWidth", + "type": "void", + "param": [ + { + "name": "width", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "linkProgram", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "pixelStorei", + "type": "void", + "param": [ + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "polygonOffset", + "type": "void", + "param": [ + { + "name": "factor", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "units", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "readPixels", + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "nullable": "1", + "type": "ArrayBufferView" + } + ] + }, + { + "name": "renderbufferStorage", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "sampleCoverage", + "type": "void", + "param": [ + { + "name": "value", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "invert", + "type": "boolean", + "type-original": "GLboolean" + } + ] + }, + { + "name": "scissor", + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ] + }, + { + "name": "shaderSource", + "type": "void", + "param": [ + { + "name": "shader", + "nullable": "1", + "type": "WebGLShader" + }, + { + "name": "source", + "type": "DOMString" + } + ] + }, + { + "name": "stencilFunc", + "type": "void", + "param": [ + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "ref", + "type": "long", + "type-original": "GLint" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "stencilFuncSeparate", + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "ref", + "type": "long", + "type-original": "GLint" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "stencilMask", + "type": "void", + "param": [ + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "stencilMaskSeparate", + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ] + }, + { + "name": "stencilOp", + "type": "void", + "param": [ + { + "name": "fail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zfail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zpass", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "stencilOpSeparate", + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "fail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zfail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zpass", + "type": "unsigned long", + "type-original": "GLenum" + } + ] + }, + { + "name": "texImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "nullable": "1", + "type": "ImageData" + } + ] + }, + { + "name": "texParameterf", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "texParameteri", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "texSubImage2D", + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "nullable": "1", + "type": "ImageData" + } + ] + }, + { + "name": "uniform1f", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "uniform1fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Float32Array" + } + ] + }, + { + "name": "uniform1i", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "uniform1iv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Int32Array" + } + ] + }, + { + "name": "uniform2f", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "uniform2fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Float32Array" + } + ] + }, + { + "name": "uniform2i", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "uniform2iv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Int32Array" + } + ] + }, + { + "name": "uniform3f", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "uniform3fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Float32Array" + } + ] + }, + { + "name": "uniform3i", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "z", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "uniform3iv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Int32Array" + } + ] + }, + { + "name": "uniform4f", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "w", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "uniform4fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Float32Array" + } + ] + }, + { + "name": "uniform4i", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "z", + "type": "long", + "type-original": "GLint" + }, + { + "name": "w", + "type": "long", + "type-original": "GLint" + } + ] + }, + { + "name": "uniform4iv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "v", + "type": "Int32Array" + } + ] + }, + { + "name": "uniformMatrix2fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array" + } + ] + }, + { + "name": "uniformMatrix3fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array" + } + ] + }, + { + "name": "uniformMatrix4fv", + "type": "void", + "param": [ + { + "name": "location", + "nullable": "1", + "type": "WebGLUniformLocation" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array" + } + ] + }, + { + "name": "useProgram", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "validateProgram", + "type": "void", + "param": [ + { + "name": "program", + "nullable": "1", + "type": "WebGLProgram" + } + ] + }, + { + "name": "vertexAttrib1f", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "vertexAttrib1fv", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array" + } + ] + }, + { + "name": "vertexAttrib2f", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "vertexAttrib2fv", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array" + } + ] + }, + { + "name": "vertexAttrib3f", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "vertexAttrib3fv", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array" + } + ] + }, + { + "name": "vertexAttrib4f", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "w", + "type": "float", + "type-original": "GLfloat" + } + ] + }, + { + "name": "vertexAttrib4fv", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array" + } + ] + }, + { + "name": "vertexAttribPointer", + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "size", + "type": "long", + "type-original": "GLint" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "normalized", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "stride", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + } + ] + }, + { + "name": "viewport", + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "canvas", + "read-only": "1", + "type": "HTMLCanvasElement" + }, + { + "name": "drawingBufferHeight", + "read-only": "1", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "drawingBufferWidth", + "read-only": "1", + "type": "long", + "type-original": "GLsizei" + } + ] + } + }, + { + "name": "WebGLShader", + "extends": "WebGLObject" + }, + { + "name": "WebGLShaderPrecisionFormat", + "extends": "Object", + "properties": { + "property": [ + { + "name": "precision", + "read-only": "1", + "type": "long", + "type-original": "GLint" + }, + { + "name": "rangeMax", + "read-only": "1", + "type": "long", + "type-original": "GLint" + }, + { + "name": "rangeMin", + "read-only": "1", + "type": "long", + "type-original": "GLint" + } + ] + } + }, + { + "name": "WebGLTexture", + "extends": "WebGLObject" + }, + { + "name": "WebGLUniformLocation", + "extends": "Object" + }, + { + "name": "WebKitCSSMatrix", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "text", + "optional": "1", + "type": "DOMString" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "inverse", + "type": "WebKitCSSMatrix" + }, + { + "name": "multiply", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "secondMatrix", + "type": "WebKitCSSMatrix" + } + ] + }, + { + "name": "rotate", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angleX", + "type": "float" + }, + { + "name": "angleY", + "default": "0", + "optional": "1", + "type": "float" + }, + { + "name": "angleZ", + "default": "0", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "rotateAxisAngle", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "scale", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "scaleX", + "type": "float" + }, + { + "name": "scaleY", + "optional": "1", + "type": "float" + }, + { + "name": "scaleZ", + "default": "1", + "optional": "1", + "type": "float" + } + ] + }, + { + "name": "setMatrixValue", + "type": "void", + "param": [ + { + "name": "value", + "type": "DOMString" + } + ] + }, + { + "name": "skewX", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "skewY", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angle", + "type": "float" + } + ] + }, + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "translate", + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "default": "0", + "optional": "1", + "type": "float" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "c", + "type": "float" + }, + { + "name": "d", + "type": "float" + }, + { + "name": "e", + "type": "float" + }, + { + "name": "f", + "type": "float" + }, + { + "name": "m11", + "type": "float" + }, + { + "name": "m12", + "type": "float" + }, + { + "name": "m13", + "type": "float" + }, + { + "name": "m14", + "type": "float" + }, + { + "name": "m21", + "type": "float" + }, + { + "name": "m22", + "type": "float" + }, + { + "name": "m23", + "type": "float" + }, + { + "name": "m24", + "type": "float" + }, + { + "name": "m31", + "type": "float" + }, + { + "name": "m32", + "type": "float" + }, + { + "name": "m33", + "type": "float" + }, + { + "name": "m34", + "type": "float" + }, + { + "name": "m41", + "type": "float" + }, + { + "name": "m42", + "type": "float" + }, + { + "name": "m43", + "type": "float" + }, + { + "name": "m44", + "type": "float" + } + ] + } + }, + { + "name": "WebKitDirectoryEntry", + "extends": "WebKitEntry", + "methods": { + "method": [ + { + "name": "createReader", + "type": "WebKitDirectoryReader" + } + ] + } + }, + { + "name": "WebKitDirectoryReader", + "extends": "Object", + "methods": { + "method": [ + { + "name": "readEntries", + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "WebKitEntriesCallback" + }, + { + "name": "errorCallback", + "optional": "1", + "type": "WebKitErrorCallback" + } + ] + } + ] + } + }, + { + "name": "WebKitEntry", + "extends": "Object", + "properties": { + "property": [ + { + "name": "filesystem", + "read-only": "1", + "type": "WebKitFileSystem" + }, + { + "name": "fullPath", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "isDirectory", + "read-only": "1", + "type": "boolean" + }, + { + "name": "isFile", + "read-only": "1", + "type": "boolean" + }, + { + "name": "name", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "WebKitFileEntry", + "extends": "WebKitEntry", + "methods": { + "method": [ + { + "name": "file", + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "WebKitFileCallback" + }, + { + "name": "errorCallback", + "optional": "1", + "type": "WebKitErrorCallback" + } + ] + } + ] + } + }, + { + "name": "WebKitFileSystem", + "extends": "Object", + "properties": { + "property": [ + { + "name": "name", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "root", + "read-only": "1", + "type": "WebKitDirectoryEntry" + } + ] + } + }, + { + "name": "WebKitPoint", + "extends": "Object", + "constructor": [ + null, + { + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "float" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "float" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + }, + { + "name": "webkitRTCPeerConnection", + "extends": "RTCPeerConnection", + "constructor": [ + null, + { + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration" + } + ] + } + ] + }, + { + "name": "WebSocket", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "CLOSED", + "type": "unsigned short", + "value": "3" + }, + { + "name": "CLOSING", + "type": "unsigned short", + "value": "2" + }, + { + "name": "CONNECTING", + "type": "unsigned short", + "value": "0" + }, + { + "name": "OPEN", + "type": "unsigned short", + "value": "1" + } + ] + }, + "constructor": [ + null, + { + "param": [ + { + "name": "url", + "type": "DOMString" + }, + { + "name": "protocols", + "optional": "1", + "type": "(DOMString or DOMString[])" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "message", + "dispatch": "async", + "skips-window": "1", + "type": "MessageEvent" + }, + { + "name": "open", + "dispatch": "sync", + "skips-window": "1", + "type": "Event" + }, + { + "name": "close", + "dispatch": "sync", + "skips-window": "1", + "type": "CloseEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "type": "void", + "param": [ + { + "name": "code", + "optional": "1", + "type": "unsigned short" + }, + { + "name": "reason", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "send", + "type": "void", + "param": [ + { + "name": "data", + "type": "any" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "binaryType", + "type": "DOMString" + }, + { + "name": "bufferedAmount", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "extensions", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "onclose", + "event-handler": "close", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + }, + { + "name": "onopen", + "event-handler": "open", + "type": "EventHandler" + }, + { + "name": "protocol", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "url", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "WheelEvent", + "extends": "MouseEvent", + "constants": { + "constant": [ + { + "name": "DOM_DELTA_LINE", + "type": "unsigned long", + "value": "0x01" + }, + { + "name": "DOM_DELTA_PAGE", + "type": "unsigned long", + "value": "0x02" + }, + { + "name": "DOM_DELTA_PIXEL", + "type": "unsigned long", + "value": "0x00" + } + ] + }, + "constructor": [ + null, + { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "WheelEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "getCurrentPoint", + "type": "void", + "param": [ + { + "name": "element", + "type": "Element" + } + ] + }, + { + "name": "initWheelEvent", + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean" + }, + { + "name": "viewArg", + "type": "Window" + }, + { + "name": "detailArg", + "type": "long" + }, + { + "name": "screenXArg", + "type": "long" + }, + { + "name": "screenYArg", + "type": "long" + }, + { + "name": "clientXArg", + "type": "long" + }, + { + "name": "clientYArg", + "type": "long" + }, + { + "name": "buttonArg", + "type": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget" + }, + { + "name": "modifiersListArg", + "type": "DOMString" + }, + { + "name": "deltaXArg", + "type": "long" + }, + { + "name": "deltaYArg", + "type": "long" + }, + { + "name": "deltaZArg", + "type": "long" + }, + { + "name": "deltaMode", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "deltaMode", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "deltaX", + "read-only": "1", + "type": "long" + }, + { + "name": "deltaY", + "read-only": "1", + "type": "long" + }, + { + "name": "deltaZ", + "read-only": "1", + "type": "long" + }, + { + "name": "wheelDelta", + "read-only": "1", + "type": "long" + }, + { + "name": "wheelDeltaX", + "read-only": "1", + "type": "long" + }, + { + "name": "wheelDeltaY", + "read-only": "1", + "type": "long" + } + ] + } + }, + { + "name": "Window", + "extends": "EventTarget", + "implicit-this": "1", + "primary-global": "Window", + "anonymous-methods": { + "method": [ + { + "getter": "1", + "type": "Window", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + }, + { + "getter": "1", + "type": "(Window or Element or HTMLCollection)", + "param": [ + { + "name": "name", + "type": "DOMString" + } + ] + } + ] + }, + "events": { + "event": [ + { + "name": "load", + "alternate-target": "Document", + "dispatch": "sync", + "follows": "DOMContentLoaded readystatechange", + "type": "Event" + }, + { + "name": "SVGUnload", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "unload", + "dispatch": "sync", + "follows": "beforeunload", + "type": "Event" + }, + { + "name": "beforeunload", + "cancelable": "1", + "dispatch": "sync", + "precedes": "unload", + "type": "BeforeUnloadEvent" + }, + { + "name": "hashchange", + "dispatch": "async", + "type": "HashChangeEvent" + }, + { + "name": "popstate", + "dispatch": "sync", + "type": "PopStateEvent" + }, + { + "name": "SVGResize", + "dispatch": "sync", + "type": "Event" + }, + { + "name": "resize", + "dispatch": "async", + "type": "UIEvent" + }, + { + "name": "beforeprint", + "dispatch": "sync", + "precedes": "afterprint", + "type": "Event" + }, + { + "name": "afterprint", + "dispatch": "sync", + "follows": "beforeprint", + "type": "Event" + }, + { + "name": "focus", + "dispatch": "sync", + "type": "FocusEvent" + }, + { + "name": "blur", + "dispatch": "sync", + "type": "FocusEvent" + }, + { + "name": "storage", + "dispatch": "sync", + "type": "StorageEvent" + }, + { + "name": "error", + "dispatch": "sync", + "type": "ErrorEvent" + }, + { + "name": "message", + "dispatch": "async", + "type": "MessageEvent" + }, + { + "name": "orientationchange", + "dispatch": "async", + "type": "Event" + }, + { + "name": "deviceorientation", + "dispatch": "sync", + "type": "DeviceOrientationEvent" + }, + { + "name": "devicemotion", + "dispatch": "sync", + "type": "DeviceMotionEvent" + }, + { + "name": "devicelight", + "dispatch": "sync", + "type": "DeviceLightEvent" + }, + { + "name": "compassneedscalibration", + "dispatch": "async", + "type": "Event" + }, + { + "name": "pageshow", + "dispatch": "sync", + "type": "PageTransitionEvent" + }, + { + "name": "pagehide", + "dispatch": "sync", + "type": "PageTransitionEvent" + }, + { + "name": "gamepadconnected", + "dispatch": "sync", + "type": "GamepadEvent" + }, + { + "name": "gamepaddisconnected", + "dispatch": "sync", + "type": "GamepadEvent" + }, + { + "name": "navigatingfocus", + "dispatch": "sync", + "type": "FocusNavigationEvent" + } + ] + }, + "implements": [ + "WindowTimers", + "WindowSessionStorage", + "WindowLocalStorage", + "WindowConsole", + "GlobalEventHandlers", + "IDBEnvironment", + "WindowBase64", + "GlobalFetch" + ], + "methods": { + "method": [ + { + "name": "alert", + "type": "void", + "param": [ + { + "name": "message", + "default": "\"\"", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "blur", + "do-not-check-domain-security": "1", + "type": "void" + }, + { + "name": "cancelAnimationFrame", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "captureEvents", + "type": "void" + }, + { + "name": "close", + "do-not-check-domain-security": "1", + "type": "void" + }, + { + "name": "confirm", + "type": "boolean", + "param": [ + { + "name": "message", + "default": "\"\"", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "departFocus", + "type": "void", + "param": [ + { + "name": "navigationReason", + "type": "NavigationReason" + }, + { + "name": "origin", + "type": "FocusNavigationOrigin" + } + ] + }, + { + "name": "focus", + "do-not-check-domain-security": "1", + "type": "void" + }, + { + "name": "getComputedStyle", + "type": "CSSStyleDeclaration", + "param": [ + { + "name": "elt", + "type": "Element" + }, + { + "name": "pseudoElt", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getMatchedCSSRules", + "type": "CSSRuleList", + "param": [ + { + "name": "elt", + "type": "Element" + }, + { + "name": "pseudoElt", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "getSelection", + "type": "Selection" + }, + { + "name": "matchMedia", + "type": "MediaQueryList", + "param": [ + { + "name": "mediaQuery", + "type": "DOMString" + } + ] + }, + { + "name": "moveBy", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "moveTo", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "msWriteProfilerMark", + "type": "void", + "param": [ + { + "name": "profilerMarkName", + "type": "DOMString" + } + ] + }, + { + "name": "open", + "type": "Window", + "param": [ + { + "name": "url", + "default": "\"about:blank\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "target", + "default": "\"_blank\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "features", + "default": "\"\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "replace", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "postMessage", + "do-not-check-domain-security": "1", + "type": "void", + "param": [ + { + "name": "message", + "type": "any" + }, + { + "name": "targetOrigin", + "type": "DOMString" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + }, + { + "name": "print", + "type": "void" + }, + { + "name": "prompt", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "message", + "default": "\"\"", + "optional": "1", + "type": "DOMString" + }, + { + "name": "default", + "default": "\"\"", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "releaseEvents", + "type": "void" + }, + { + "name": "requestAnimationFrame", + "type": "long", + "param": [ + { + "name": "callback", + "type": "FrameRequestCallback" + } + ] + }, + { + "name": "resizeBy", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "resizeTo", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "scroll", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "scrollBy", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "scrollTo", + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "long" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "long" + } + ] + }, + { + "name": "stop", + "type": "void" + }, + { + "name": "webkitCancelAnimationFrame", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "webkitConvertPointFromNodeToPage", + "type": "WebKitPoint", + "param": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "pt", + "type": "WebKitPoint" + } + ] + }, + { + "name": "webkitConvertPointFromPageToNode", + "type": "WebKitPoint", + "param": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "pt", + "type": "WebKitPoint" + } + ] + }, + { + "name": "webkitRequestAnimationFrame", + "type": "long", + "param": [ + { + "name": "callback", + "type": "FrameRequestCallback" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "applicationCache", + "read-only": "1", + "type": "ApplicationCache" + }, + { + "name": "caches", + "read-only": "1", + "same-object": "1", + "secure-context": "1", + "type": "CacheStorage" + }, + { + "name": "clientInformation", + "read-only": "1", + "type": "Navigator" + }, + { + "name": "closed", + "do-not-check-domain-security": "1", + "read-only": "1", + "type": "boolean" + }, + { + "name": "crypto", + "read-only": "1", + "type": "Crypto" + }, + { + "name": "defaultStatus", + "type": "DOMString" + }, + { + "name": "devicePixelRatio", + "read-only": "1", + "replaceable": "1", + "type": "double" + }, + { + "name": "document", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "Document", + "unforgeable": "1" + }, + { + "name": "doNotTrack", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "event", + "type": "Event" + }, + { + "name": "external", + "read-only": "1", + "replaceable": "1", + "type": "External" + }, + { + "name": "frameElement", + "read-only": "1", + "type": "Element" + }, + { + "name": "frames", + "do-not-check-domain-security": "1", + "read-only": "1", + "replaceable": "1", + "type": "Window" + }, + { + "name": "history", + "read-only": "1", + "type": "History" + }, + { + "name": "innerHeight", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "innerWidth", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "isSecureContext", + "read-only": "1", + "type": "boolean" + }, + { + "name": "length", + "do-not-check-domain-security": "1", + "read-only": "1", + "replaceable": "1", + "type": "unsigned long" + }, + { + "name": "location", + "do-not-check-domain-security": "1", + "property-descriptor-not-configurable": "1", + "put-forwards": "href", + "read-only": "1", + "type": "Location", + "unforgeable": "1" + }, + { + "name": "locationbar", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "menubar", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "msContentScript", + "read-only": "1", + "type": "ExtensionScriptApis" + }, + { + "name": "msCredentials", + "read-only": "1", + "type": "MSCredentials" + }, + { + "name": "name", + "type": "DOMString" + }, + { + "name": "navigator", + "read-only": "1", + "type": "Navigator" + }, + { + "name": "offscreenBuffering", + "type": "(DOMString or boolean)" + }, + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onafterprint", + "event-handler": "afterprint", + "type": "EventHandler" + }, + { + "name": "onbeforeprint", + "event-handler": "beforeprint", + "type": "EventHandler" + }, + { + "name": "onbeforeunload", + "event-handler": "beforeunload", + "type": "EventHandler" + }, + { + "name": "onblur", + "event-handler": "blur", + "type": "EventHandler" + }, + { + "name": "oncanplay", + "event-handler": "canplay", + "type": "EventHandler" + }, + { + "name": "oncanplaythrough", + "event-handler": "canplaythrough", + "type": "EventHandler" + }, + { + "name": "onchange", + "event-handler": "change", + "type": "EventHandler" + }, + { + "name": "onclick", + "event-handler": "click", + "type": "EventHandler" + }, + { + "name": "oncompassneedscalibration", + "event-handler": "compassneedscalibration", + "type": "EventHandler" + }, + { + "name": "oncontextmenu", + "event-handler": "contextmenu", + "type": "EventHandler" + }, + { + "name": "ondblclick", + "event-handler": "dblclick", + "type": "EventHandler" + }, + { + "name": "ondevicelight", + "event-handler": "devicelight", + "type": "EventHandler" + }, + { + "name": "ondevicemotion", + "event-handler": "devicemotion", + "type": "EventHandler" + }, + { + "name": "ondeviceorientation", + "event-handler": "deviceorientation", + "type": "EventHandler" + }, + { + "name": "ondrag", + "event-handler": "drag", + "type": "EventHandler" + }, + { + "name": "ondragend", + "event-handler": "dragend", + "type": "EventHandler" + }, + { + "name": "ondragenter", + "event-handler": "dragenter", + "type": "EventHandler" + }, + { + "name": "ondragleave", + "event-handler": "dragleave", + "type": "EventHandler" + }, + { + "name": "ondragover", + "event-handler": "dragover", + "type": "EventHandler" + }, + { + "name": "ondragstart", + "event-handler": "dragstart", + "type": "EventHandler" + }, + { + "name": "ondrop", + "event-handler": "drop", + "type": "EventHandler" + }, + { + "name": "ondurationchange", + "event-handler": "durationchange", + "type": "EventHandler" + }, + { + "name": "onemptied", + "event-handler": "emptied", + "type": "EventHandler" + }, + { + "name": "onended", + "event-handler": "ended", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "ErrorEventHandler" + }, + { + "name": "onfocus", + "event-handler": "focus", + "type": "EventHandler" + }, + { + "name": "onhashchange", + "event-handler": "hashchange", + "type": "EventHandler" + }, + { + "name": "oninput", + "event-handler": "input", + "type": "EventHandler" + }, + { + "name": "oninvalid", + "event-handler": "invalid", + "type": "EventHandler" + }, + { + "name": "onkeydown", + "event-handler": "keydown", + "type": "EventHandler" + }, + { + "name": "onkeypress", + "event-handler": "keypress", + "type": "EventHandler" + }, + { + "name": "onkeyup", + "event-handler": "keyup", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onloadeddata", + "event-handler": "loadeddata", + "type": "EventHandler" + }, + { + "name": "onloadedmetadata", + "event-handler": "loadedmetadata", + "type": "EventHandler" + }, + { + "name": "onloadstart", + "event-handler": "loadstart", + "type": "EventHandler" + }, + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + }, + { + "name": "onmousedown", + "event-handler": "mousedown", + "type": "EventHandler" + }, + { + "name": "onmouseenter", + "event-handler": "mouseenter", + "type": "EventHandler" + }, + { + "name": "onmouseleave", + "event-handler": "mouseleave", + "type": "EventHandler" + }, + { + "name": "onmousemove", + "event-handler": "mousemove", + "type": "EventHandler" + }, + { + "name": "onmouseout", + "event-handler": "mouseout", + "type": "EventHandler" + }, + { + "name": "onmouseover", + "event-handler": "mouseover", + "type": "EventHandler" + }, + { + "name": "onmouseup", + "event-handler": "mouseup", + "type": "EventHandler" + }, + { + "name": "onmousewheel", + "event-handler": "mousewheel", + "type": "EventHandler" + }, + { + "name": "onmsgesturechange", + "event-handler": "MSGestureChange", + "type": "EventHandler" + }, + { + "name": "onmsgesturedoubletap", + "event-handler": "MSGestureDoubleTap", + "type": "EventHandler" + }, + { + "name": "onmsgestureend", + "event-handler": "MSGestureEnd", + "type": "EventHandler" + }, + { + "name": "onmsgesturehold", + "event-handler": "MSGestureHold", + "type": "EventHandler" + }, + { + "name": "onmsgesturestart", + "event-handler": "MSGestureStart", + "type": "EventHandler" + }, + { + "name": "onmsgesturetap", + "event-handler": "MSGestureTap", + "type": "EventHandler" + }, + { + "name": "onmsinertiastart", + "event-handler": "MSInertiaStart", + "type": "EventHandler" + }, + { + "name": "onmspointercancel", + "event-handler": "MSPointerCancel", + "type": "EventHandler" + }, + { + "name": "onmspointerdown", + "event-handler": "MSPointerDown", + "type": "EventHandler" + }, + { + "name": "onmspointerenter", + "event-handler": "MSPointerEnter", + "type": "EventHandler" + }, + { + "name": "onmspointerleave", + "event-handler": "MSPointerLeave", + "type": "EventHandler" + }, + { + "name": "onmspointermove", + "event-handler": "MSPointerMove", + "type": "EventHandler" + }, + { + "name": "onmspointerout", + "event-handler": "MSPointerOut", + "type": "EventHandler" + }, + { + "name": "onmspointerover", + "event-handler": "MSPointerOver", + "type": "EventHandler" + }, + { + "name": "onmspointerup", + "event-handler": "MSPointerUp", + "type": "EventHandler" + }, + { + "name": "onoffline", + "event-handler": "offline", + "type": "EventHandler" + }, + { + "name": "ononline", + "event-handler": "online", + "type": "EventHandler" + }, + { + "name": "onorientationchange", + "event-handler": "orientationchange", + "type": "EventHandler" + }, + { + "name": "onpagehide", + "event-handler": "pagehide", + "type": "EventHandler" + }, + { + "name": "onpageshow", + "event-handler": "pageshow", + "type": "EventHandler" + }, + { + "name": "onpause", + "event-handler": "pause", + "type": "EventHandler" + }, + { + "name": "onplay", + "event-handler": "play", + "type": "EventHandler" + }, + { + "name": "onplaying", + "event-handler": "playing", + "type": "EventHandler" + }, + { + "name": "onpopstate", + "event-handler": "popstate", + "type": "EventHandler" + }, + { + "name": "onprogress", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "onratechange", + "event-handler": "ratechange", + "type": "EventHandler" + }, + { + "name": "onreadystatechange", + "event-handler": "readystatechange", + "type": "EventHandler" + }, + { + "name": "onreset", + "event-handler": "reset", + "type": "EventHandler" + }, + { + "name": "onresize", + "event-handler": "resize", + "type": "EventHandler" + }, + { + "name": "onscroll", + "event-handler": "scroll", + "type": "EventHandler" + }, + { + "name": "onseeked", + "event-handler": "seeked", + "type": "EventHandler" + }, + { + "name": "onseeking", + "event-handler": "seeking", + "type": "EventHandler" + }, + { + "name": "onselect", + "event-handler": "select", + "type": "EventHandler" + }, + { + "name": "onstalled", + "event-handler": "stalled", + "type": "EventHandler" + }, + { + "name": "onstorage", + "event-handler": "storage", + "type": "EventHandler" + }, + { + "name": "onsubmit", + "event-handler": "submit", + "type": "EventHandler" + }, + { + "name": "onsuspend", + "event-handler": "suspend", + "type": "EventHandler" + }, + { + "name": "ontimeupdate", + "event-handler": "timeupdate", + "type": "EventHandler" + }, + { + "name": "ontouchcancel", + "event-handler": "touchcancel", + "type": "any" + }, + { + "name": "ontouchend", + "event-handler": "touchend", + "type": "any" + }, + { + "name": "ontouchmove", + "event-handler": "touchmove", + "type": "any" + }, + { + "name": "ontouchstart", + "event-handler": "touchstart", + "type": "any" + }, + { + "name": "onunload", + "event-handler": "unload", + "type": "EventHandler" + }, + { + "name": "onvolumechange", + "event-handler": "volumechange", + "type": "EventHandler" + }, + { + "name": "onwaiting", + "event-handler": "waiting", + "type": "EventHandler" + }, + { + "name": "opener", + "do-not-check-domain-security": "1", + "read-only": "1", + "replaceable": "1", + "type": "Window" + }, + { + "name": "orientation", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "outerHeight", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "outerWidth", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "pageXOffset", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "pageYOffset", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "parent", + "do-not-check-domain-security": "1", + "read-only": "1", + "replaceable": "1", + "type": "Window" + }, + { + "name": "performance", + "read-only": "1", + "replaceable": "1", + "type": "Performance" + }, + { + "name": "personalbar", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "screen", + "read-only": "1", + "type": "Screen" + }, + { + "name": "screenLeft", + "read-only": "1", + "type": "long" + }, + { + "name": "screenTop", + "read-only": "1", + "type": "long" + }, + { + "name": "screenX", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "screenY", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "scrollbars", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "scrollX", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "scrollY", + "read-only": "1", + "replaceable": "1", + "type": "long" + }, + { + "name": "self", + "do-not-check-domain-security": "1", + "read-only": "1", + "replaceable": "1", + "type": "Window" + }, + { + "name": "speechSynthesis", + "read-only": "1", + "type": "SpeechSynthesis" + }, + { + "name": "status", + "type": "DOMString" + }, + { + "name": "statusbar", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "styleMedia", + "read-only": "1", + "type": "StyleMedia" + }, + { + "name": "toolbar", + "read-only": "1", + "replaceable": "1", + "type": "BarProp" + }, + { + "name": "top", + "do-not-check-domain-security": "1", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "Window" + }, + { + "name": "window", + "do-not-check-domain-security": "1", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "Window", + "unforgeable": "1" + } + ] + } + }, + { + "name": "Worker", + "extends": "EventTarget", + "constructor": [ + null, + { + "param": [ + { + "name": "stringUrl", + "type": "DOMString" + } + ] + } + ], + "events": { + "event": [ + { + "name": "error", + "dispatch": "async", + "skips-window": "1", + "type": "ErrorEvent" + }, + { + "name": "message", + "dispatch": "async", + "skips-window": "1", + "type": "MessageEvent" + } + ] + }, + "implements": "AbstractWorker", + "methods": { + "method": [ + { + "name": "postMessage", + "type": "void", + "param": [ + { + "name": "message", + "type": "any" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + }, + { + "name": "terminate", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + } + ] + } + }, + { + "name": "XMLDocument", + "extends": "Document" + }, + { + "name": "XMLHttpRequest", + "extends": "EventTarget", + "constants": { + "constant": [ + { + "name": "DONE", + "type": "unsigned short", + "value": "4" + }, + { + "name": "HEADERS_RECEIVED", + "type": "unsigned short", + "value": "2" + }, + { + "name": "LOADING", + "type": "unsigned short", + "value": "3" + }, + { + "name": "OPENED", + "type": "unsigned short", + "value": "1" + }, + { + "name": "UNSENT", + "type": "unsigned short", + "value": "0" + } + ] + }, + "constructor": [ + null, + "" + ], + "events": { + "event": [ + { + "name": "readystatechange", + "dispatch": "sync-or-async", + "precedes": "load", + "skips-window": "1", + "type": "Event" + }, + { + "name": "load", + "dispatch": "sync-or-async", + "follows": "progress readystatechange", + "precedes": "loadend", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "timeout", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "Event" + }, + { + "name": "progress", + "dispatch": "sync-or-async", + "follows": "readystatechange", + "precedes": "load", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "abort", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "Event" + }, + { + "name": "error", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "Event" + }, + { + "name": "loadstart", + "dispatch": "sync-or-async", + "precedes": "readystatechange", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "loadend", + "dispatch": "sync-or-async", + "follows": "load", + "skips-window": "1", + "type": "ProgressEvent" + } + ] + }, + "implements": "XMLHttpRequestEventTarget", + "methods": { + "method": [ + { + "name": "abort", + "type": "void" + }, + { + "name": "getAllResponseHeaders", + "type": "DOMString" + }, + { + "name": "getResponseHeader", + "nullable": "1", + "type": "DOMString", + "param": [ + { + "name": "header", + "type": "DOMString" + } + ] + }, + { + "name": "msCachingEnabled", + "type": "boolean" + }, + { + "name": "open", + "type": "void", + "param": [ + { + "name": "method", + "type": "DOMString" + }, + { + "name": "url", + "type": "DOMString" + }, + { + "name": "async", + "default": "true", + "optional": "1", + "type": "boolean" + }, + { + "name": "user", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "DOMString" + }, + { + "name": "password", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "overrideMimeType", + "type": "void", + "param": [ + { + "name": "mime", + "type": "DOMString" + } + ] + }, + { + "name": "send", + "type": "void", + "param": [ + { + "name": "data", + "optional": "1", + "type": "(Document or DOMString)" + } + ] + }, + { + "name": "setRequestHeader", + "type": "void", + "param": [ + { + "name": "header", + "type": "DOMString" + }, + { + "name": "value", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "msCaching", + "type": "DOMString" + }, + { + "name": "onreadystatechange", + "event-handler": "readystatechange", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "response", + "read-only": "1", + "type": "any" + }, + { + "name": "responseText", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "responseType", + "type": "XMLHttpRequestResponseType" + }, + { + "name": "responseURL", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "responseXML", + "nullable": "1", + "read-only": "1", + "type": "Document" + }, + { + "name": "status", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "statusText", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "timeout", + "type": "unsigned long" + }, + { + "name": "upload", + "read-only": "1", + "type": "XMLHttpRequestUpload" + }, + { + "name": "withCredentials", + "type": "boolean" + } + ] + } + }, + { + "name": "XMLHttpRequestUpload", + "extends": "EventTarget", + "events": { + "event": [ + { + "name": "readystatechange", + "dispatch": "sync-or-async", + "follows": "loadstart", + "precedes": "progress", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "progress", + "dispatch": "sync-or-async", + "follows": "readystatechange", + "precedes": "load", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "abort", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "error", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "load", + "dispatch": "sync-or-async", + "follows": "progress", + "precedes": "loadend", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "loadstart", + "dispatch": "sync-or-async", + "precedes": "readystatechange", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "loadend", + "dispatch": "sync-or-async", + "follows": "load", + "skips-window": "1", + "type": "ProgressEvent" + }, + { + "name": "timeout", + "dispatch": "sync-or-async", + "skips-window": "1", + "type": "ProgressEvent" + } + ] + }, + "implements": "XMLHttpRequestEventTarget" + }, + { + "name": "XMLSerializer", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "serializeToString", + "type": "DOMString", + "param": [ + { + "name": "target", + "type": "Node" + } + ] + } + ] + } + }, + { + "name": "XPathEvaluator", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "createExpression", + "type": "XPathExpression", + "param": [ + { + "name": "expression", + "type": "DOMString" + }, + { + "name": "resolver", + "type": "XPathNSResolver" + } + ] + }, + { + "name": "createNSResolver", + "type": "XPathNSResolver", + "param": [ + { + "name": "nodeResolver", + "optional": "1", + "type": "Node" + } + ] + }, + { + "name": "evaluate", + "type": "XPathResult", + "param": [ + { + "name": "expression", + "type": "DOMString" + }, + { + "name": "contextNode", + "type": "Node" + }, + { + "name": "resolver", + "type": "XPathNSResolver" + }, + { + "name": "type", + "type": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult" + } + ] + } + ] + } + }, + { + "name": "XPathExpression", + "extends": "Object", + "methods": { + "method": [ + { + "name": "evaluate", + "type": "XPathExpression", + "param": [ + { + "name": "contextNode", + "type": "Node" + }, + { + "name": "type", + "type": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult" + } + ] + } + ] + } + }, + { + "name": "XPathNSResolver", + "extends": "Object", + "methods": { + "method": [ + { + "name": "lookupNamespaceURI", + "type": "DOMString", + "param": [ + { + "name": "prefix", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "XPathResult", + "extends": "Object", + "constants": { + "constant": [ + { + "name": "ANY_TYPE", + "type": "unsigned short", + "value": "0" + }, + { + "name": "ANY_UNORDERED_NODE_TYPE", + "type": "unsigned short", + "value": "8" + }, + { + "name": "BOOLEAN_TYPE", + "type": "unsigned short", + "value": "3" + }, + { + "name": "FIRST_ORDERED_NODE_TYPE", + "type": "unsigned short", + "value": "9" + }, + { + "name": "NUMBER_TYPE", + "type": "unsigned short", + "value": "1" + }, + { + "name": "ORDERED_NODE_ITERATOR_TYPE", + "type": "unsigned short", + "value": "5" + }, + { + "name": "ORDERED_NODE_SNAPSHOT_TYPE", + "type": "unsigned short", + "value": "7" + }, + { + "name": "STRING_TYPE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "UNORDERED_NODE_ITERATOR_TYPE", + "type": "unsigned short", + "value": "4" + }, + { + "name": "UNORDERED_NODE_SNAPSHOT_TYPE", + "type": "unsigned short", + "value": "6" + } + ] + }, + "methods": { + "method": [ + { + "name": "iterateNext", + "type": "Node" + }, + { + "name": "snapshotItem", + "type": "Node", + "param": [ + { + "name": "index", + "type": "unsigned long" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "booleanValue", + "read-only": "1", + "type": "boolean" + }, + { + "name": "invalidIteratorState", + "read-only": "1", + "type": "boolean" + }, + { + "name": "numberValue", + "read-only": "1", + "type": "double" + }, + { + "name": "resultType", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "singleNodeValue", + "read-only": "1", + "type": "Node" + }, + { + "name": "snapshotLength", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "stringValue", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "XSLTProcessor", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "clearParameters", + "type": "void" + }, + { + "name": "getParameter", + "type": "any", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "importStylesheet", + "type": "void", + "param": [ + { + "name": "style", + "type": "Node" + } + ] + }, + { + "name": "removeParameter", + "type": "void", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + } + ] + }, + { + "name": "reset", + "type": "void" + }, + { + "name": "setParameter", + "type": "void", + "param": [ + { + "name": "namespaceURI", + "treat-null-as": "EmptyString", + "type": "DOMString" + }, + { + "name": "localName", + "type": "DOMString" + }, + { + "name": "value", + "type": "any" + } + ] + }, + { + "name": "transformToDocument", + "type": "Document", + "param": [ + { + "name": "source", + "type": "Node" + } + ] + }, + { + "name": "transformToFragment", + "type": "DocumentFragment", + "param": [ + { + "name": "source", + "type": "Node" + }, + { + "name": "document", + "type": "Document" + } + ] + } + ] + } + } + ] + }, + "mixin-interfaces": { + "interface": [ + { + "name": "AbstractWorker", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + } + ] + } + }, + { + "name": "Body", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "arrayBuffer", + "type": "Promise" + }, + { + "name": "blob", + "type": "Promise" + }, + { + "name": "json", + "type": "Promise" + }, + { + "name": "text", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "bodyUsed", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "CanvasPathMethods", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "arc", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "startAngle", + "type": "float" + }, + { + "name": "endAngle", + "type": "float" + }, + { + "name": "anticlockwise", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "arcTo", + "type": "void", + "param": [ + { + "name": "x1", + "type": "float" + }, + { + "name": "y1", + "type": "float" + }, + { + "name": "x2", + "type": "float" + }, + { + "name": "y2", + "type": "float" + }, + { + "name": "radius", + "type": "float" + } + ] + }, + { + "name": "bezierCurveTo", + "type": "void", + "param": [ + { + "name": "cp1x", + "type": "float" + }, + { + "name": "cp1y", + "type": "float" + }, + { + "name": "cp2x", + "type": "float" + }, + { + "name": "cp2y", + "type": "float" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "closePath", + "type": "void" + }, + { + "name": "ellipse", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "radiusX", + "type": "float" + }, + { + "name": "radiusY", + "type": "float" + }, + { + "name": "rotation", + "type": "float" + }, + { + "name": "startAngle", + "type": "float" + }, + { + "name": "endAngle", + "type": "float" + }, + { + "name": "anticlockwise", + "default": "false", + "optional": "1", + "type": "boolean" + } + ] + }, + { + "name": "lineTo", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "moveTo", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "quadraticCurveTo", + "type": "void", + "param": [ + { + "name": "cpx", + "type": "float" + }, + { + "name": "cpy", + "type": "float" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "rect", + "type": "void", + "param": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "w", + "type": "float" + }, + { + "name": "h", + "type": "float" + } + ] + } + ] + } + }, + { + "name": "ChildNode", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "remove", + "type": "void" + } + ] + } + }, + { + "name": "DocumentEvent", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "createEvent", + "type": "Event", + "param": [ + { + "name": "eventInterface", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "DOML2DeprecatedColorProperty", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "color", + "content-attribute": "color", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "simple_color", + "type": "DOMString" + } + ] + } + }, + { + "name": "DOML2DeprecatedSizeProperty", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "size", + "content-attribute": "size", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "long" + } + ] + } + }, + { + "name": "ElementTraversal", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "childElementCount", + "read-only": "1", + "type": "unsigned long" + }, + { + "name": "firstElementChild", + "read-only": "1", + "type": "Element" + }, + { + "name": "lastElementChild", + "read-only": "1", + "type": "Element" + }, + { + "name": "nextElementSibling", + "read-only": "1", + "type": "Element" + }, + { + "name": "previousElementSibling", + "read-only": "1", + "type": "Element" + } + ] + } + }, + { + "name": "GetSVGDocument", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "getSVGDocument", + "type": "Document" + } + ] + } + }, + { + "name": "GlobalEventHandlers", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "onpointercancel", + "content-attribute": "onpointercancel", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointercancel", + "type": "EventHandler" + }, + { + "name": "onpointerdown", + "content-attribute": "onpointerdown", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerdown", + "type": "EventHandler" + }, + { + "name": "onpointerenter", + "content-attribute": "onpointerenter", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerenter", + "type": "EventHandler" + }, + { + "name": "onpointerleave", + "content-attribute": "onpointerleave", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerleave", + "type": "EventHandler" + }, + { + "name": "onpointermove", + "content-attribute": "onpointermove", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointermove", + "type": "EventHandler" + }, + { + "name": "onpointerout", + "content-attribute": "onpointerout", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerout", + "type": "EventHandler" + }, + { + "name": "onpointerover", + "content-attribute": "onpointerover", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerover", + "type": "EventHandler" + }, + { + "name": "onpointerup", + "content-attribute": "onpointerup", + "content-attribute-value-syntax": "javascript", + "event-handler": "pointerup", + "type": "EventHandler" + }, + { + "name": "onwheel", + "content-attribute": "onwheel", + "content-attribute-value-syntax": "javascript", + "event-handler": "wheel", + "type": "EventHandler" + } + ] + } + }, + { + "name": "GlobalFetch", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "fetch", + "type": "Promise", + "param": [ + { + "name": "input", + "type": "RequestInfo" + }, + { + "name": "init", + "optional": "1", + "type": "RequestInit" + } + ] + } + ] + } + }, + { + "name": "HTMLTableAlignment", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "ch", + "content-attribute": "char", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "chOff", + "content-attribute": "charoff", + "content-attribute-reflects": "1", + "type": "DOMString" + }, + { + "name": "vAlign", + "content-attribute": "valign", + "content-attribute-enum-values": "middle baseline bottom top", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + } + ] + } + }, + { + "name": "IDBEnvironment", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "indexedDB", + "read-only": "1", + "type": "IDBFactory" + } + ] + } + }, + { + "name": "LinkStyle", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "sheet", + "read-only": "1", + "type": "StyleSheet" + } + ] + } + }, + { + "name": "MSBaseReader", + "extends": "Object", + "no-interface-object": "1", + "constants": { + "constant": [ + { + "name": "DONE", + "type": "unsigned short", + "value": "2" + }, + { + "name": "EMPTY", + "type": "unsigned short", + "value": "0" + }, + { + "name": "LOADING", + "type": "unsigned short", + "value": "1" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "type": "void" + } + ] + }, + "properties": { + "property": [ + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onloadend", + "event-handler": "loadend", + "type": "EventHandler" + }, + { + "name": "onloadstart", + "event-handler": "loadstart", + "type": "EventHandler" + }, + { + "name": "onprogress", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "readyState", + "read-only": "1", + "type": "unsigned short" + }, + { + "name": "result", + "read-only": "1", + "type": "any" + } + ] + } + }, + { + "name": "MSFileSaver", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "msSaveBlob", + "type": "boolean", + "param": [ + { + "name": "blob", + "type": "any" + }, + { + "name": "defaultName", + "optional": "1", + "type": "DOMString" + } + ] + }, + { + "name": "msSaveOrOpenBlob", + "type": "boolean", + "param": [ + { + "name": "blob", + "type": "any" + }, + { + "name": "defaultName", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "MSNavigatorDoNotTrack", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "confirmSiteSpecificTrackingException", + "type": "boolean", + "param": [ + { + "name": "args", + "type": "ConfirmSiteSpecificExceptionsInformation" + } + ] + }, + { + "name": "confirmWebWideTrackingException", + "type": "boolean", + "param": [ + { + "name": "args", + "type": "ExceptionInformation" + } + ] + }, + { + "name": "removeSiteSpecificTrackingException", + "type": "void", + "param": [ + { + "name": "args", + "type": "ExceptionInformation" + } + ] + }, + { + "name": "removeWebWideTrackingException", + "type": "void", + "param": [ + { + "name": "args", + "type": "ExceptionInformation" + } + ] + }, + { + "name": "storeSiteSpecificTrackingException", + "type": "void", + "param": [ + { + "name": "args", + "type": "StoreSiteSpecificExceptionsInformation" + } + ] + }, + { + "name": "storeWebWideTrackingException", + "type": "void", + "param": [ + { + "name": "args", + "type": "StoreExceptionsInformation" + } + ] + } + ] + } + }, + { + "name": "NavigatorBeacon", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "sendBeacon", + "type": "boolean", + "param": [ + { + "name": "url", + "type": "USVString" + }, + { + "name": "data", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "BodyInit" + } + ] + } + ] + } + }, + { + "name": "NavigatorConcurrentHardware", + "exposed": "Window Worker", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "hardwareConcurrency", + "read-only": "1", + "type": "unsigned long long" + } + ] + } + }, + { + "name": "NavigatorContentUtils", + "extends": "Object", + "no-interface-object": "1" + }, + { + "name": "NavigatorGeolocation", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "geolocation", + "read-only": "1", + "type": "Geolocation" + } + ] + } + }, + { + "name": "NavigatorID", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "appCodeName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "appName", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "appVersion", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "platform", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "product", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "productSub", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "userAgent", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "vendor", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "vendorSub", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "NavigatorOnLine", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "onLine", + "read-only": "1", + "type": "boolean" + } + ] + } + }, + { + "name": "NavigatorStorageUtils", + "extends": "Object", + "no-interface-object": "1" + }, + { + "name": "NavigatorUserMedia", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "getUserMedia", + "type": "void", + "param": [ + { + "name": "constraints", + "type": "MediaStreamConstraints" + }, + { + "name": "successCallback", + "type": "NavigatorUserMediaSuccessCallback" + }, + { + "name": "errorCallback", + "type": "NavigatorUserMediaErrorCallback" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "mediaDevices", + "read-only": "1", + "type": "MediaDevices" + } + ] + } + }, + { + "name": "NodeSelector", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "querySelector", + "type": "Element", + "param": [ + { + "name": "selectors", + "type": "DOMString" + } + ] + }, + { + "name": "querySelectorAll", + "type": "NodeList", + "param": [ + { + "name": "selectors", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "RandomSource", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "getRandomValues", + "type": "ArrayBufferView", + "param": [ + { + "name": "array", + "type": "ArrayBufferView" + } + ] + } + ] + } + }, + { + "name": "SVGAnimatedPoints", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "animatedPoints", + "read-only": "1", + "type": "SVGPointList" + }, + { + "name": "points", + "content-attribute": "points", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_coordinate_pair_list", + "read-only": "1", + "type": "SVGPointList" + } + ] + } + }, + { + "name": "SVGFilterPrimitiveStandardAttributes", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "height", + "content-attribute": "height", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "result", + "content-attribute": "result", + "content-attribute-reflects": "1", + "read-only": "1", + "type": "SVGAnimatedString" + }, + { + "name": "width", + "content-attribute": "width", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "x", + "content-attribute": "x", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + }, + { + "name": "y", + "content-attribute": "y", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "read-only": "1", + "type": "SVGAnimatedLength" + } + ] + } + }, + { + "name": "SVGFitToViewBox", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "preserveAspectRatio", + "content-attribute": "preserveAspectRatio", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_aspect_ratio", + "read-only": "1", + "type": "SVGAnimatedPreserveAspectRatio" + }, + { + "name": "viewBox", + "content-attribute": "viewBox", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "svg_viewbox", + "read-only": "1", + "type": "SVGAnimatedRect" + } + ] + } + }, + { + "name": "SVGTests", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "hasExtension", + "type": "boolean", + "param": [ + { + "name": "extension", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "requiredExtensions", + "content-attribute": "requiredExtensions", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_urls", + "read-only": "1", + "type": "SVGStringList" + }, + { + "name": "requiredFeatures", + "content-attribute": "requiredFeatures", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "space_separated_tokens", + "read-only": "1", + "type": "SVGStringList" + }, + { + "name": "systemLanguage", + "content-attribute": "systemLanguage", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "comma_separated_bcp47_langs", + "read-only": "1", + "type": "SVGStringList" + } + ] + } + }, + { + "name": "SVGURIReference", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "href", + "content-attribute": "href", + "content-attribute-aliases": "xlink:href", + "content-attribute-reflects": "1", + "content-attribute-value-syntax": "url", + "read-only": "1", + "type": "SVGAnimatedString" + } + ] + } + }, + { + "name": "WindowBase64", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "atob", + "type": "DOMString", + "param": [ + { + "name": "encodedString", + "type": "DOMString" + } + ] + }, + { + "name": "btoa", + "type": "DOMString", + "param": [ + { + "name": "rawString", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "WindowConsole", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "console", + "read-only": "1", + "replaceable": "1", + "type": "Console" + } + ] + } + }, + { + "name": "WindowLocalStorage", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "localStorage", + "read-only": "1", + "type": "Storage" + } + ] + } + }, + { + "name": "WindowSessionStorage", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "sessionStorage", + "read-only": "1", + "type": "Storage" + } + ] + } + }, + { + "name": "WindowTimers", + "extends": "Object", + "no-interface-object": "1", + "implements": "WindowTimersExtension", + "methods": { + "method": [ + { + "name": "clearInterval", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "clearTimeout", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "setInterval", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "setTimeout", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + } + ] + } + }, + { + "name": "WindowTimersExtension", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": [ + { + "name": "clearImmediate", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "setImmediate", + "type": "long", + "param": [ + { + "name": "expression", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + } + ] + } + }, + { + "name": "XMLHttpRequestEventTarget", + "extends": "Object", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "onabort", + "event-handler": "abort", + "type": "EventHandler" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "onload", + "event-handler": "load", + "type": "EventHandler" + }, + { + "name": "onloadend", + "event-handler": "loadend", + "type": "EventHandler" + }, + { + "name": "onloadstart", + "event-handler": "loadstart", + "type": "EventHandler" + }, + { + "name": "onprogress", + "event-handler": "progress", + "type": "EventHandler" + }, + { + "name": "ontimeout", + "event-handler": "timeout", + "type": "EventHandler" + } + ] + } + } + ] + }, + "typedefs": { + "typedef": [ + { + "new-type": "AAGUID", + "type": "DOMString" + }, + { + "new-type": "AlgorithmIdentifier", + "type": "(DOMString or Algorithm)" + }, + { + "new-type": "BodyInit", + "type": "(Blob or BufferSource or FormData or DOMString)" + }, + { + "new-type": "ByteString", + "type": "DOMString" + }, + { + "new-type": "ConstrainBoolean", + "type": "(boolean or ConstrainBooleanParameters)" + }, + { + "new-type": "ConstrainDOMString", + "type": "(DOMString or sequence or ConstrainDOMStringParameters)" + }, + { + "new-type": "ConstrainDouble", + "type": "(double or ConstrainDoubleRange)" + }, + { + "new-type": "ConstrainLong", + "type": "(long or ConstrainLongRange)" + }, + { + "new-type": "CryptoOperationData", + "type": "ArrayBufferView" + }, + { + "new-type": "GLbitfield", + "type": "unsigned long" + }, + { + "new-type": "GLboolean", + "type": "boolean" + }, + { + "new-type": "GLbyte", + "type": "byte" + }, + { + "new-type": "GLclampf", + "type": "float" + }, + { + "new-type": "GLenum", + "type": "unsigned long" + }, + { + "new-type": "GLfloat", + "type": "float" + }, + { + "new-type": "GLint", + "type": "long" + }, + { + "new-type": "GLintptr", + "type": "long long" + }, + { + "new-type": "GLshort", + "type": "short" + }, + { + "new-type": "GLsizei", + "type": "long" + }, + { + "new-type": "GLsizeiptr", + "type": "long long" + }, + { + "new-type": "GLubyte", + "type": "octet" + }, + { + "new-type": "GLuint", + "type": "unsigned long" + }, + { + "new-type": "GLushort", + "type": "unsigned short" + }, + { + "new-type": "HeadersInit", + "type": "(Headers or sequence>)" + }, + { + "new-type": "IDBKeyPath", + "type": "DOMString" + }, + { + "new-type": "JSON", + "type": "any" + }, + { + "new-type": "KeyFormat", + "type": "DOMString" + }, + { + "new-type": "KeyType", + "type": "DOMString" + }, + { + "new-type": "KeyUsage", + "type": "DOMString" + }, + { + "new-type": "MSInboundPayload", + "type": "(MSVideoRecvPayload or MSAudioRecvPayload)" + }, + { + "new-type": "MSLocalClientEvent", + "type": "(MSLocalClientEventBase or MSAudioLocalClientEvent)" + }, + { + "new-type": "MSOutboundPayload", + "type": "(MSVideoSendPayload or MSAudioSendPayload)" + }, + { + "new-type": "RTCIceGatherCandidate", + "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)" + }, + { + "new-type": "RTCTransport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)" + }, + { + "new-type": "RequestInfo", + "type": "(Request or DOMString)" + }, + { + "new-type": "USVString", + "type": "DOMString" + }, + { + "new-type": "payloadtype", + "type": "octet" + } + ] + } +} \ No newline at end of file diff --git a/inputfiles/webworkers.specidl.xml.json b/inputfiles/webworkers.specidl.xml.json new file mode 100644 index 000000000..b8a1eb8ed --- /dev/null +++ b/inputfiles/webworkers.specidl.xml.json @@ -0,0 +1,1022 @@ +{ + "dictionaries": { + "dictionary": [ + { + "name": "ClientQueryOptions", + "extends": "Object", + "members": { + "member": [ + { + "name": "includeUncontrolled", + "default": "false", + "type": "boolean" + }, + { + "name": "type", + "default": "\"window\"", + "type": "ClientType" + } + ] + } + }, + { + "name": "ExtendableEventInit", + "extends": "EventInit" + }, + { + "name": "ExtendableMessageEventInit", + "extends": "ExtendableEventInit", + "members": { + "member": [ + { + "name": "data", + "type": "any" + }, + { + "name": "origin", + "type": "DOMString" + }, + { + "name": "lastEventId", + "type": "DOMString" + }, + { + "name": "source", + "nullable": "1", + "type": "(Client or ServiceWorker or MessagePort)" + }, + { + "name": "ports", + "nullable": "1", + "type": "sequence" + } + ] + } + }, + { + "name": "FetchEventInit", + "extends": "ExtendableEventInit", + "members": { + "member": [ + { + "name": "request", + "required": "1", + "type": "Request" + }, + { + "name": "clientId", + "default": "null", + "nullable": "1", + "type": "DOMString" + }, + { + "name": "isReload", + "default": "false", + "type": "boolean" + } + ] + } + }, + { + "name": "NotificationEventInit", + "extends": "ExtendableEventInit", + "members": { + "member": [ + { + "name": "notification", + "required": "1", + "type": "Notification" + }, + { + "name": "action", + "default": "\"\"", + "type": "DOMString" + } + ] + } + }, + { + "name": "PushEventInit", + "extends": "ExtendableEventInit", + "members": { + "member": [ + { + "name": "data", + "type": "(BufferSource or USVString)", + "type-original": "PushMessageDataInit" + } + ] + } + }, + { + "name": "SyncEventInit", + "extends": "ExtendableEventInit", + "members": { + "member": [ + { + "name": "tag", + "required": "1", + "type": "DOMString" + }, + { + "name": "lastChance", + "default": "false", + "type": "boolean" + } + ] + } + } + ] + }, + "enums": { + "enum": [ + { + "name": "ClientType", + "value": [ + "window", + "worker", + "sharedworker", + "all" + ] + }, + { + "name": "FrameType", + "value": [ + "auxiliary", + "top-level", + "nested", + "none" + ] + } + ] + }, + "interfaces": { + "interface": [ + { + "name": "Client", + "extends": "Object", + "methods": { + "method": [ + { + "name": "postMessage", + "type": "void", + "param": [ + { + "name": "message", + "type": "any" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "frameType", + "read-only": "1", + "type": "FrameType" + }, + { + "name": "id", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "url", + "read-only": "1", + "type": "USVString" + } + ] + } + }, + { + "name": "Clients", + "extends": "Object", + "methods": { + "method": [ + { + "name": "claim", + "new-object": "1", + "type": "Promise" + }, + { + "name": "get", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "id", + "type": "DOMString" + } + ] + }, + { + "name": "matchAll", + "new-object": "1", + "type": "Promise>", + "param": [ + { + "name": "options", + "optional": "1", + "type": "ClientQueryOptions" + } + ] + }, + { + "name": "openWindow", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "url", + "type": "USVString" + } + ] + } + ] + } + }, + { + "name": "DedicatedWorkerGlobalScope", + "extends": "WorkerGlobalScope", + "global": "Worker", + "methods": { + "method": [ + { + "name": "close", + "type": "void" + }, + { + "name": "postMessage", + "type": "void", + "param": [ + { + "name": "message", + "type": "any" + }, + { + "name": "transfer", + "optional": "1", + "type": "sequence" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + } + ] + } + }, + { + "name": "ExtendableEvent", + "extends": "Event", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ExtendableEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "waitUntil", + "type": "void", + "param": [ + { + "name": "f", + "type": "Promise" + } + ] + } + ] + } + }, + { + "name": "ExtendableMessageEvent", + "extends": "ExtendableEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ExtendableMessageEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "data", + "read-only": "1", + "type": "any" + }, + { + "name": "lastEventId", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "ports", + "nullable": "1", + "read-only": "1", + "type": "sequence" + }, + { + "name": "source", + "nullable": "1", + "read-only": "1", + "same-object": "1", + "type": "(Client or ServiceWorker or MessagePort)" + } + ] + } + }, + { + "name": "FetchEvent", + "extends": "ExtendableEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "FetchEventInit" + } + ] + } + ], + "methods": { + "method": [ + { + "name": "respondWith", + "type": "void", + "param": [ + { + "name": "r", + "type": "Promise" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "clientId", + "nullable": "1", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "isReload", + "read-only": "1", + "type": "boolean" + }, + { + "name": "request", + "read-only": "1", + "same-object": "1", + "type": "Request" + } + ] + } + }, + { + "name": "FileReaderSync", + "extends": "Object", + "constructor": [ + null, + "" + ], + "methods": { + "method": [ + { + "name": "readAsArrayBuffer", + "type": "any", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsBinaryString", + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsDataURL", + "type": "DOMString", + "param": [ + { + "name": "blob", + "type": "Blob" + } + ] + }, + { + "name": "readAsText", + "type": "DOMString", + "param": [ + { + "name": "blob", + "type": "Blob" + }, + { + "name": "encoding", + "optional": "1", + "type": "DOMString" + } + ] + } + ] + } + }, + { + "name": "NotificationEvent", + "extends": "ExtendableEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "NotificationEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "action", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "notification", + "read-only": "1", + "type": "Notification" + } + ] + } + }, + { + "name": "PushEvent", + "extends": "ExtendableEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PushEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "data", + "nullable": "1", + "read-only": "1", + "type": "PushMessageData" + } + ] + } + }, + { + "name": "PushMessageData", + "extends": "Object", + "methods": { + "method": [ + { + "name": "arrayBuffer", + "type": "ArrayBuffer" + }, + { + "name": "blob", + "type": "Blob" + }, + { + "name": "json", + "type": "JSON" + }, + { + "name": "text", + "type": "USVString" + } + ] + } + }, + { + "name": "ServiceWorkerGlobalScope", + "extends": "WorkerGlobalScope", + "events": { + "event": [ + { + "name": "install", + "type": "ExtendableEvent" + }, + { + "name": "activate", + "type": "ExtendableEvent" + }, + { + "name": "fetch", + "type": "FetchEvent" + }, + { + "name": "message", + "type": "ExtendableMessageEvent" + }, + { + "name": "notificationclick", + "type": "NotificationEvent" + }, + { + "name": "notificationclose", + "type": "NotificationEvent" + }, + { + "name": "push", + "type": "PushEvent" + }, + { + "name": "pushsubscriptionchange", + "type": "ExtendableEvent" + }, + { + "name": "sync", + "type": "SyncEvent" + } + ] + }, + "methods": { + "method": [ + { + "name": "skipWaiting", + "new-object": "1", + "type": "Promise" + } + ] + }, + "properties": { + "property": [ + { + "name": "clients", + "read-only": "1", + "same-object": "1", + "type": "Clients" + }, + { + "name": "onactivate", + "event-handler": "activate", + "type": "EventHandler" + }, + { + "name": "onfetch", + "event-handler": "fetch", + "type": "EventHandler" + }, + { + "name": "oninstall", + "event-handler": "install", + "type": "EventHandler" + }, + { + "name": "onmessage", + "event-handler": "message", + "type": "EventHandler" + }, + { + "name": "onnotificationclick", + "event-handler": "notificationclick", + "type": "EventHandler" + }, + { + "name": "onnotificationclose", + "event-handler": "notificationclose", + "type": "EventHandler" + }, + { + "name": "onpush", + "event-handler": "push", + "type": "EventHandler" + }, + { + "name": "onpushsubscriptionchange", + "event-handler": "pushsubscriptionchange", + "type": "EventHandler" + }, + { + "name": "onsync", + "event-handler": "sync", + "type": "EventHandler" + }, + { + "name": "registration", + "read-only": "1", + "same-object": "1", + "type": "ServiceWorkerRegistration" + } + ] + } + }, + { + "name": "SyncEvent", + "extends": "ExtendableEvent", + "constructor": [ + null, + { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "init", + "type": "SyncEventInit" + } + ] + } + ], + "properties": { + "property": [ + { + "name": "lastChance", + "read-only": "1", + "type": "boolean" + }, + { + "name": "tag", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "WindowClient", + "extends": "Client", + "methods": { + "method": [ + { + "name": "focus", + "new-object": "1", + "type": "Promise" + }, + { + "name": "navigate", + "new-object": "1", + "type": "Promise", + "param": [ + { + "name": "url", + "type": "USVString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "focused", + "read-only": "1", + "type": "boolean" + }, + { + "name": "visibilityState", + "read-only": "1", + "type": "VisibilityState" + } + ] + } + }, + { + "name": "WorkerGlobalScope", + "extends": "EventTarget", + "implements": [ + "WorkerUtils", + "WindowConsole", + "GlobalFetch" + ], + "methods": { + "method": [ + { + "name": "msWriteProfilerMark", + "type": "void", + "param": [ + { + "name": "profilerMarkName", + "type": "DOMString" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "caches", + "read-only": "1", + "same-object": "1", + "secure-context": "1", + "type": "CacheStorage" + }, + { + "name": "isSecureContext", + "read-only": "1", + "type": "boolean" + }, + { + "name": "location", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "WorkerLocation" + }, + { + "name": "onerror", + "event-handler": "error", + "type": "EventHandler" + }, + { + "name": "performance", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "Performance" + }, + { + "name": "self", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "WorkerGlobalScope" + } + ] + } + }, + { + "name": "WorkerLocation", + "extends": "Object", + "methods": { + "method": [ + { + "name": "toString", + "stringifier": "1", + "type": "DOMString" + } + ] + }, + "properties": { + "property": [ + { + "name": "hash", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "host", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "hostname", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "href", + "read-only": "1", + "stringifier": "1", + "type": "DOMString" + }, + { + "name": "origin", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "pathname", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "port", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "protocol", + "read-only": "1", + "type": "DOMString" + }, + { + "name": "search", + "read-only": "1", + "type": "DOMString" + } + ] + } + }, + { + "name": "WorkerNavigator", + "extends": "Object", + "implements": [ + "NavigatorID", + "NavigatorOnLine", + "NavigatorBeacon", + "NavigatorConcurrentHardware" + ] + } + ] + }, + "mixin-interfaces": { + "interface": { + "name": "WorkerUtils", + "extends": "Object", + "no-interface-object": "1", + "implements": "WindowBase64", + "methods": { + "method": [ + { + "name": "clearImmediate", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "clearInterval", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "clearTimeout", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "importScripts", + "type": "void", + "param": [ + { + "name": "urls", + "type": "DOMString", + "variadic": "1" + } + ] + }, + { + "name": "setImmediate", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "args", + "optional": "1", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "setInterval", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "setTimeout", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "indexedDB", + "read-only": "1", + "type": "IDBFactory" + }, + { + "name": "msIndexedDB", + "read-only": "1", + "type": "IDBFactory" + }, + { + "name": "navigator", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "WorkerNavigator" + } + ] + } + } + }, + "typedefs": { + "typedef": { + "new-type": "PushMessageDataInit", + "type": "(BufferSource or USVString)" + } + } +} \ No newline at end of file From 317c27a36a49528e86f6f16ab8f01f3239f80ea0 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 10:45:47 -0800 Subject: [PATCH 02/93] Add schema for input --- type.d.ts | 188 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 type.d.ts diff --git a/type.d.ts b/type.d.ts new file mode 100644 index 000000000..bc2337ce7 --- /dev/null +++ b/type.d.ts @@ -0,0 +1,188 @@ +export type Param = { + "name": string; + "type": string; + "optional"?: string; + "variadic"?: string; + "nullable"?: string; +}; +export type Member = { + "name": string; + "type": string; + "default"?: string; + "nullable"?: string; + "type-original"?: string; + "required"?: string; +}; + +export type Property = { + "name": string; + "event-handler"?: string; + "type": string; + "read-only"?: string; + "nullable"?: string; + "replaceable"?: string; + "put-forwards"?: string; + "stringifier"?: string; + "tags"?: string; + "type-original"?: string; + "property-descriptor-not-enumerable"?: string; + "content-attribute"?: string; + "content-attribute-reflects"?: string; + "content-attribute-value-syntax"?: string; + "content-attribute-enum-values"?: string; + "content-attribute-aliases"?: string; + "content-attribute-boolean"?: string; + "css-property"?: string; + "css-property-enum-values"?: string; + "css-property-initial"?: string; + "css-property-value-syntax"?: string; + "css-property-shorthand"?: string; + "css-property-subproperties"?: string; + "css-property-animatable"?: string; + "css-property-aliases"?: string; + "lenient-this"?: string; + "treat-null-as"?: string; + "event-handler-map-to-window"?: string; +}; + +export type Event = { + "name": string; + "dispatch"?: string; + "skips-window"?: string; + "type": string; + "bubbles"?: string; + "cancelable"?: string; + "follows"?: string; + "precedes"?: string; + "tags"?: string; + "aliases"?: string; +}; + +export type Method = { + "name": string; + "type": string; + "tags"?: string; + "getter"?: string; + "static"?: string; + "stringifier"?: string; + "nullable"?: string; + "serializer"?: string; + "serializer-info"?: string; + "param"?: Param[]; +}; + +export type CallbackFunction = { + "name": string; + "callback": string; + "type": string; + "param"?: Param[]; + "tags"?: string; +}; + +export type Constructor = { + "param"?: Param[]; +}; + +export type Constant = { + "name": string; + "type": string; + "type-original"?: string; + "value": string; + "tags"?: string +}; + +export type ParsedAttribute ={ + "enum-values"?: string; + "name": string; + "value-syntax"?: string; +}; + +export type Element = { + "name": string; + "namespace"?: string; + "html-self-closing"?: string; +} + +export type Interface = { + "name": string; + "extends": string; + "constants"?: { + "constant": Constant[]; + }; + "methods": { + "method": Method[]; + }; + "events"?: { + "event": Event[]; + }; + "properties"?: { + "property": Property[] + }; + "constructor"?: (string | null | { + "param": Param[]; + })[]; + "secure-context"?: string; + "implements"?: string[]; + "static"?: undefined; + "anonymous-methods"?: { + "method": Method[]; + }; + "anonymous-content-attributes"?: { + "parsedattribute": ParsedAttribute[] + }; + "element"?: Element[]; + "named-constructor"?: { + "name": string; + "param": Param[]; + }; + "override-builtins"?: string; + "exposed"?: string; + "tags"?: string; + "implicit-this"?: string; + "primary-global"?: string; + "no-interface-object"?: string; + "global"?: string; + "type-parameters"?: string[]; +}; + +export type Enum = { + "name": string; + "value": string[]; +}; + +export type TypeDef = { + "new-type": string; + "type": string; +}; + +export type Dictionary = { + "name": string; + "extends": string; + "members": { + "member": Member[]; + }; +}; + +export type WebIdl = { + "callback-functions"?: { + "callback-function": CallbackFunction[]; + }, + "callback-interfaces"?: { + "interface": Interface[]; + }; + "dictionaries"?: { + "dictionary": Dictionary[]; + }; + "enums"?: { + "enum": Enum[]; + }; + "interfaces"?: { + "interface": Interface[]; + }; + "mixin-interfaces"?: { + "interface": Interface[] + }; + "typedefs"?: { + "typedef": TypeDef[]; + }; +}; From e80f38478b57dcde4c43ecea6860c1e0e17493fd Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 10:48:29 -0800 Subject: [PATCH 03/93] Add config files --- package.json | 24 ++++++++++++++++++++++++ tsconfig.json | 8 ++++++++ 2 files changed, 32 insertions(+) create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/package.json b/package.json new file mode 100644 index 000000000..0ab92da8e --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "TSJS-lib-generator", + "author": "Microsoft Corp.", + "version": "1.0.0", + "description": "AppVeyor Status: [![Build status](https://ci.appveyor.com/api/projects/status/8oj3j7u6nvag1xvu/branch/master?svg=true)](https://ci.appveyor.com/project/zhengbli/tsjs-lib-generator/branch/master)\r Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator)", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/TSJS-lib-generator.git" + }, + "keywords": [], + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/Microsoft/TSJS-lib-generator/issues" + }, + "homepage": "https://github.com/Microsoft/TSJS-lib-generator#readme", + "dependencies": { + "@types/node": "^9.4.6", + "typescript": "next" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..9f5479d22 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "strict": true, + "esModuleInterop": true + } +} \ No newline at end of file From b0bdc006a8bc69c5f81fa396c86e3ffb9db8f0e1 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 10:48:43 -0800 Subject: [PATCH 04/93] Convert script to TS --- index.ts | 1539 +++++++++++++++++++++++++++++++++++++++ tsconfig.json | 9 +- type.d.ts => types.d.ts | 16 +- 3 files changed, 1555 insertions(+), 9 deletions(-) create mode 100644 index.ts rename type.d.ts => types.d.ts (94%) diff --git a/index.ts b/index.ts new file mode 100644 index 000000000..79427b5dd --- /dev/null +++ b/index.ts @@ -0,0 +1,1539 @@ +import * as Browser from "./types"; +import * as fs from "fs"; +import * as path from "path"; + +const __SOURCE_DIRECTORY__ = __dirname; +let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles") +let outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new") + +// Create output folder +if (!fs.existsSync(outputFolder)) { + fs.mkdirSync(outputFolder); +} + +let tsWebOutput = path.join(outputFolder, "dom.generated.d.ts"); +let tsWebES6Output = path.join(outputFolder, "dom.es6.generated.d.ts"); +let tsWorkerOutput = path.join(outputFolder, "webworker.generated.d.ts"); +const defaultEventType = "Event"; + +/// Function overload +type Overload = { ParamCombinations: Browser.Param[]; ReturnTypes: string[]; Nullable: boolean }; + +type Function = + | Browser.Method + | Browser.Constructor + | Browser.CallbackFunction; + +// Note: +// Eventhandler's name and the eventName are not just off by "on". +// For example, handlers named "onabort" may handle "SVGAbort" event in the XML file +type EventHandler = { name: string; eventName: string; eventType: string }; + +/// Decide which members of a function to emit +enum EmitScope { + StaticOnly, + InstanceOnly, + All +} + +enum Flavor { + Web, + Worker, + All +}; + +type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: string[] }; + + +// let overriddenItems = JSON.parse(fs.readFileSync(inputFolder + "/overridingTypes.json").toString()); +// let removedItems = JSON.parse(fs.readFileSync(inputFolder + "/removedTypes.json").toString()); +// let addedItems = JSON.parse(fs.readFileSync(inputFolder + "/addedTypes.json").toString()); +// let comments = JSON.parse(fs.readFileSync(inputFolder + "/comments.json").toString()); + +/// Parse the xml input file +let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.xml.json").toString()); + +let worker: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/webworkers.specidl.xml.json").toString()); + +let knownWorkerInterfaces = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerInterfaces.json").toString())); + +let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerEnums.json").toString())); + +type InterfaceCommentItem = { Property: Record; Method: Record; Constructor: string | undefined } + + +/** + // This is the kind of items in the external json files that are used as a + // correction for the spec. + type ItemKind = + | Property + | Method + | Constant + | Constructor + | Interface + | Callback + | Indexer + | SignatureOverload + | TypeDef + | Extends + override x.ToString() = + match x with + | Property _ -> "property" + | Method _ -> "method" + | Constant _ -> "constant" + | Constructor _ -> "constructor" + | Interface _ -> "interface" + | Callback _ -> "callback" + | Indexer _ -> "indexer" + | SignatureOverload _ -> "signatureoverload" + | TypeDef _ -> "typedef" + | Extends _ -> "extends" + + let getItemByName (allItems: InputJsonType.Root []) (itemName: string) (kind: ItemKind) otherFilter = + let filter (item: InputJsonType.Root) = + (OptionCheckValue itemName item.Name || OptionCheckValue (sprintf "${}?" itemName) item.Name) && + item.Kind.ToLower() = kind.ToString() && + otherFilter item + allItems |> Array.tryFind filter + + let matchInterface iName (item: InputJsonType.Root) = + item.Interface.IsNone || item.Interface.Value = iName + + let getOverriddenItemByName itemName (kind: ItemKind) iName = + getItemByName overriddenItems itemName kind (matchInterface iName) + + let getRemovedItemByName itemName (kind: ItemKind) iName = + getItemByName removedItems itemName kind (matchInterface iName) + + let getAddedItemByName itemName (kind: ItemKind) iName = + getItemByName addedItems itemName kind (matchInterface iName) + + let getItems (allItems: InputJsonType.Root []) (kind: ItemKind) (flavor: Flavor) = + allItems + |> Array.filter (fun t -> + t.Kind.ToLower() = kind.ToString() && + (t.Flavor.IsNone || t.Flavor.Value = flavor.ToString() || t.Flavor.Value = Flavor.All.ToString() || flavor = Flavor.All)) + + let getOverriddenItems = getItems overriddenItems + + let getAddedItems = getItems addedItems + + let getRemovedItems = getItems removedItems + + let getAddedItemsByInterfaceName kind flavor iName = + getAddedItems kind flavor |> Array.filter (matchInterface iName) + + let getOverriddenItemsByInterfaceName kind flavor iName = + getOverriddenItems kind flavor |> Array.filter (matchInterface iName) + + let getRemovedItemsByInterfaceName kind flavor iName = + getRemovedItems kind flavor |> Array.filter (matchInterface iName) +*/ + +// Used to decide if a member should be emitted given its static property and +// the intended scope level. +function matchScope(scope: EmitScope, x: Browser.Method) { + if (scope === EmitScope.All) + return true; + else if (x.static) return scope === EmitScope.StaticOnly; + else return scope === EmitScope.InstanceOnly; +} + +function matchInterface(iName: string, x: Browser.Interface) { + return x && x.name === iName; +} + +/// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. +function AdjustParamName(name: string) { + switch (name) { + case "default": return "_default"; + case "delete": return "_delete"; + case "continue": return "_continue"; + default: return name; + } +} + +/// Check if the given element should be disabled or not +/// reason is that ^a can be an interface, property or method, but they +/// all share a 'tag' property +function ShouldKeep(flavor: Flavor, i: { tags?: string }) { + if (i.tags) { + if (flavor === Flavor.All) return true; + if (flavor === Flavor.Worker) return i.tags !== "IEOnly"; + else return true; + } + else return true; +} + +function concat(a: T[] | undefined, b: T[] | undefined): T[] { + a = a || []; + return b ? a.concat(b) : a; +} + +let allWebNonCallbackInterfaces = concat(browser.interfaces && browser.interfaces.interface, browser["mixin-interfaces"] && browser["mixin-interfaces"]!.interface); + +let allWebInterfaces = concat(concat(browser.interfaces && browser.interfaces.interface, browser["callback-interfaces"] && browser["callback-interfaces"]!.interface), + browser["mixin-interfaces"] && browser["mixin-interfaces"]!.interface); + + +let allWorkerAdditionalInterfaces = concat(worker.interfaces && worker.interfaces.interface, worker["mixin-interfaces"] && worker["mixin-interfaces"]!.interface); + +let allInterfaces = allWebInterfaces.concat(allWorkerAdditionalInterfaces); + +function toNameMap(array: T[]) { + const result: Record = {}; + for (const value of array) { + result[value.name] = value; + } + return result; +} + +function arrayToMap(array: [string, T][]) { + const result: Record = {}; + for (const value of array) { + result[value[0]] = value[1]; + } + return result; +} + +// Global interfacename to interface object map + + +let allInterfacesMap = toNameMap(allInterfaces); + +let allDictionariesMap = toNameMap(concat(browser.dictionaries && browser.dictionaries.dictionary, worker.dictionaries && worker.dictionaries.dictionary)); + +let allEnumsMap = toNameMap(concat(browser.enums && browser.enums.enum, worker.enums && worker.enums.enum)); + +let allCallbackFuncs = toNameMap(concat(browser["callback-functions"] && browser["callback-functions"]!["callback-function"], worker["callback-functions"] && worker["callback-functions"]!["callback-function"])); + +function GetInterfaceByName(name: string) { + return allInterfacesMap[name]; +} + + +function GetAllInterfacesByFlavor(flavor: Flavor) { + switch (flavor) { + case Flavor.Web: return allWebInterfaces.filter(i => ShouldKeep(Flavor.Web, i)); + case Flavor.All: allWebInterfaces.filter(i => ShouldKeep(Flavor.All, i)); + case Flavor.Worker: + let isFromBrowserXml = allWebInterfaces.filter(i => knownWorkerInterfaces.has(i.name)); + return isFromBrowserXml.concat(allWorkerAdditionalInterfaces); + } +} + +function GetNonCallbackInterfacesByFlavor(flavor: Flavor) { + switch (flavor) { + case Flavor.Web: return allWebNonCallbackInterfaces.filter(i => ShouldKeep(Flavor.Web, i)); + case Flavor.All: return allWebNonCallbackInterfaces.filter(i => ShouldKeep(Flavor.All, i)); + case Flavor.Worker: + let isFromBrowserXml = allWebNonCallbackInterfaces.filter(i => knownWorkerInterfaces.has(i.name)); + return isFromBrowserXml.concat(allWorkerAdditionalInterfaces); + } +} + +function GetPublicInterfacesByFlavor(flavor: Flavor) { + switch (flavor) { + case Flavor.Web: + case Flavor.All: return browser.interfaces!.interface.filter(i => ShouldKeep(flavor, i)); + case Flavor.Worker: + let isFromBrowserXml = browser.interfaces!.interface.filter(i => knownWorkerInterfaces.has(i.name)); + return isFromBrowserXml.concat(worker.interfaces!.interface); + } +} + +function GetCallbackFuncsByFlavor(flavor: Flavor) { + return browser["callback-functions"] ? browser["callback-functions"]!["callback-function"].filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; +} + +function GetEnumsByFlavor(flavor: Flavor) { + switch (flavor) { + case Flavor.Web: + case Flavor.All: return browser.enums ? browser.enums.enum : []; + case Flavor.Worker: + let isFromBrowserXml = browser.enums!.enum.filter(i => knownWorkerEnums.has(i.name)); + return isFromBrowserXml.concat(worker.enums!.enum); + } +} + + +/// Event name to event type map +let eNameToEType = (function() { + function eventType(e: Browser.Event) { + switch (e.name) { + case "abort": return "UIEvent"; + case "complete": return "Event"; + case "click": return "MouseEvent"; + case "error": return "ErrorEvent"; + case "load": return "Event"; + case "loadstart": return "Event"; + case "progress": return "ProgressEvent"; + case "readystatechange": return "ProgressEvent"; + case "resize": return "UIEvent"; + case "timeout": return "ProgressEvent"; + default: return e.type; + } + } + const result: Record = {}; + for (const i of allWebNonCallbackInterfaces) { + if (i.events) { + for (const e of i.events.event) { + result[e.name] = eventType(e); + } + } + } + return result; +})(); + + +function tryGetMatchingEventType(eName: string, i: Browser.Interface) { + if (i.events) { + const event = i.events.event.find(e => e.name === eName); + return event && event.type; + } + return undefined; +} + +function getEventTypeInInterface(eName: string, i: Browser.Interface) { + if (eName === "abort" && (i.name === "IDBDatabase" || i.name === "IDBTransaction" || i.name === "MSBaseReader" || i.name === "XMLHttpRequestEventTarget")) return "Event"; + else if (eName === "readystatechange" && i.name === "XMLHttpRequest") return "Event"; + else if (i.name === "XMLHttpRequest") return "ProgressEvent"; + else { + let ownEventType = tryGetMatchingEventType(eName, i); + return ownEventType || eNameToEType[eName] || "Event"; + } +} + + +/// Tag name to element name map +let tagNameToEleName = (function() { + function preferedElementMap(name: string) { + switch (name) { + case "script": return "HTMLScriptElement"; + case "a": return "HTMLAnchorElement"; + case "title": return "HTMLTitleElement"; + case "style": return "HTMLStyleElement"; + default: return ""; + } + } + + function resolveElementConflict(tagName: string, iNames: string[]) { + if (iNames.indexOf(tagName) != -1) return tagName; + // throw new Error("Element conflict occured! Typename: " + tagName); + return tagName; + } + + let nativeTagNamesToInterface = (function() { + const result: Record = {}; + for (const i of GetNonCallbackInterfacesByFlavor(Flavor.All)) { + if (i.element) { + for (const e of i.element) { + result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; + } + } + } + return result; + })(); + + // let addedTagNamesToInterface = + // (function() { + // const result: Record = {}; + // for (const i of getAddedItems(InputJson.ItemKind.Interface, Flavor.All)) + // |> Array.filter (fun i -> Seq.length i.TagNames > 0) do + // yield! [ for e in i.TagNames do + // match i.Name with + // | Some name -> yield (e, name) + // | _ -> () ] ] + + // nativeTagNamesToInterface @ addedTagNamesToInterface + // |> Seq.groupBy fst + // |> Seq.map ((fun (key, group) -> (key, Seq.map snd group)) >> fun (key, group) -> + // key, + // match Seq.length group with + // | 1 -> Seq.head group + // | _ -> resolveElementConflict key group) + // |> Map.ofSeq + + return nativeTagNamesToInterface; +})(); + + +/// Interface name to all its implemented / inherited interfaces name list map +/// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] +let iNameToIDependList = (function() { + function getExtendList(iName: string): string[] { + var i = GetInterfaceByName(iName); + if (!i || !i.extends || i.extends === "Object") return []; + else return getExtendList(i.extends).concat(i.extends); + } + // else { + // match InputJson.getAddedItemByName iName InputJson.ItemKind.Interface iName with + // | Some i -> + // match i.Extends with + // | Some extends -> + // match extends with + // | "Object" -> [] + // | super -> super :: (getExtendList super) + // | _ -> [] + // | _ -> [] + + function getImplementList(iName: string) { + var i = GetInterfaceByName(iName); + return i && i.implements || []; + } + + // let addedINameToIDependList = + // InputJson.getAddedItems InputJson.ItemKind.Interface Flavor.All + // |> Array.ofSeq + // |> Array.filter (fun i -> i.Name.IsSome) + // |> Array.map (fun i -> (Option.get i.Name, List.concat [ (getExtendList (Option.get i.Name)); (getImplementList (Option.get i.Name)) ])) + + let nativeINameToIDependList: Record = {}; + + for (const i of concat( + concat(allWebNonCallbackInterfaces, worker.interfaces && worker.interfaces.interface), worker["mixin-interfaces"] && worker["mixin-interfaces"]!.interface)) { + nativeINameToIDependList[i.name] = concat(getExtendList(i.name), getImplementList(i.name)); + } + return nativeINameToIDependList; +})(); + + +/// Distinct event type list, used in the "createEvent" function +let distinctETypeList = (function() { + let usedEvents; + let usedEventsMap: Record = {}; + + let unUsedEvents; + let unUsedEventsMap: Record = {}; + + for (const i of GetNonCallbackInterfacesByFlavor(Flavor.All)) { + if (i.events) { + for (const e of i.events.event) { + usedEventsMap[e.type] = true; + } + } + + if (i.extends === "Event" && i.name.endsWith("Event") && !usedEventsMap[i.name]) { + unUsedEventsMap[i.name] = true; + } + } + usedEvents = Object.keys(usedEventsMap); + unUsedEvents = Object.keys(unUsedEventsMap); + + return concat(usedEvents, unUsedEvents).sort(); +})(); + +/// Determine if interface1 depends on interface2 +function IsDependsOn(i1Name: string, i2Name: string) { + return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] + ? iNameToIDependList[i1Name].indexOf(i2Name) > -1 + : i2Name === "Object"; +} + +/// Interface name to its related eventhandler name list map +/// Note: +/// In the xml file, each event handler has +/// 1. eventhanlder name: "onready", "onabort" etc. +/// 2. the event name that it handles: "ready", "SVGAbort" etc. +/// And they don't NOT just differ by an "on" prefix! +let iNameToEhList = (function() { + function getEventTypeFromHandler(p: Browser.Property) { + let eType = + // Check the "event-handler" attribute of the event handler property, + // which is the corresponding event name + p["event-handler"] && + // The list is partly obtained from the table at + // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 + eNameToEType[p["event-handler"]!] || defaultEventType; + + return eType === "Event" || IsDependsOn(eType, "Event") + ? eType + : defaultEventType; + } + + // Get all the event handlers from an interface and also from its inherited / implemented interfaces + function getEventHandler(i: Browser.Interface) { + let ownEventHandler = + i.properties + ? i.properties.property.filter(p => p["event-handler"]).map(p => ({ + name: p.name, + eventName: p["event-handler"]!, + eventType: getEventTypeFromHandler(p) + })) + : []; + return ownEventHandler; + } + + return arrayToMap(allInterfaces.map(i => [i.name, getEventHandler(i)] as [string, EventHandler[]])); +})(); + + +// Map of interface.Name -> List of base interfaces with event handlers +let iNameToEhParents = (function() { + function hasHandler(i: Browser.Interface) { + return iNameToEhList[i.name] && iNameToEhList[i.name].length; + } + // Get all the event handlers from an interface and also from its inherited / implemented interfaces + function getParentsWithEventHandler(i: Browser.Interface) { + function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { + return hasHandler(i) ? [i] : getParentsWithEventHandler(i); + } + + let extendedParentWithEventHandler = + GetInterfaceByName(i.extends) && getParentEventHandler(GetInterfaceByName(i.extends)) || []; + + let implementedParentsWithEventHandler = + i.implements + ? i.implements.reduce((acc, i) => { + acc.push(...getParentEventHandler(GetInterfaceByName(i))); + return acc; + }, []) + : []; + + return concat(extendedParentWithEventHandler, implementedParentsWithEventHandler); + } + + return arrayToMap(allInterfaces.map(i => [i.name, getParentsWithEventHandler(i)] as [string, Browser.Interface[]])); +})(); + +function GetGlobalPollutor(flavor: Flavor) { + switch (flavor) { + case Flavor.Web: + case Flavor.All: return browser.interfaces && browser.interfaces.interface.find(i => !!i["primary-global"]); + case Flavor.Worker: return worker.interfaces && worker.interfaces.interface.find(i => !!i.global); + } +} + +function GetGlobalPollutorName(flavor: Flavor) { + const polluter = GetGlobalPollutor(flavor); + return polluter ? polluter.name : "Window"; +} + +enum FunctionKind { + Method, + Constructor, + CallbackFunction +} + +// Some params have the type of "(DOMString or DOMString [] or Number)" +// we need to transform it into [“DOMString", "DOMString []", "Number"] +function decomposeTypes(t: string) { + return t.replace(/[\(\)]/g, "").split(" or "); +} + +/// Return a sequence of returntype * HashSet tuple +function GetOverloads(f: Function, decomposeMultipleTypes: boolean) { + + function getReturnType(f: Function) { + return "type" in f ? f.type : ""; + } + + function isNullable(f: Function) { + return "nullable" in f; + } + + function decomposeParam(p: Browser.Param) { + return decomposeTypes(p.type).map(type => ({ ...p, type })); + } + + let pCombList = (function() { + let pCombs: Browser.Param[][] = []; + if (f.param) { + for (const p of f.param) { + if (p.type.indexOf("or") > -1) { + let pOptions = decomposeParam(p); + } + } + } + + function enumParams(acc: Browser.Param[], rest: Browser.Param[]) { + if (!rest.length) { + pCombs.push(acc); + } + else { + const p = rest[0]; + rest = rest.slice(1); + if (p.type.indexOf("or") > -1) { + let pOptions = decomposeParam(p); + for (const option of pOptions) { + acc.push(option); + enumParams(acc, rest); + acc.pop(); + } + } + } + } + if (f.param) { + enumParams([], f.param); + } + return pCombs; + })(); + + let rTypes = decomposeTypes(getReturnType(f)); + + + if (decomposeMultipleTypes) { + return pCombList.map(pComb => ({ + paramCombinations: pComb, + returnTypes: rTypes, + nullable: isNullable(f) + })); + } + else { + return [{ + paramCombinations: f.param || [], + returnTypes: rTypes, + nullable: isNullable(f) + }]; + } +} + +const typeDefSet = new Set( + browser.typedefs && browser.typedefs.typedef.map(td => td["new-type"]) +); + +const extendConflicts = [ + { baseType: "AudioContext", extendType: ["OfflineContext"], memberNames: ["suspend"] }, + { baseType: "HTMLCollection", extendType: ["HTMLFormControlsCollection"], memberNames: ["namedItem"] }, +]; + +const extendConflictsBaseTypes = + arrayToMap(extendConflicts.map(ec => [ec.baseType, ec] as [string, typeof extendConflicts[0]])); + +namespace Emit { + // function StringPrinter() { + // let indent = 0; + // let content = ""; + // let stack: string[] = []; + // let lineStart: boolean = false; + + // const indentStrings: string[] = ["", " "]; + // function getIndentString(level: number) { + // if (indentStrings[level] === undefined) { + // indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; + // } + // return indentStrings[level]; + // } + + // function getIndentSize() { + // return indentStrings[1].length; + // } + + // return { + // Reset() { content = ""; indent = 0; lineStart = false; }, + + // ResetIndent() { indent = 0; }, + // IncreaseIndent() { indent++; }, + // DecreaseIndent() { indent--; }, + + // Print(c: string) { content += c; }, + // Printl(c: string) { content += getIndentString(indent) + c + "\n"; }, + + // PrintWithAddedIndent(c: string) { return this.Printl(c); }, + + // ClearStack() { stack = []; }, + // StackIsEmpty() { return stack.length === 0; }, + // PrintlToStack(c: string) { stack.push(c); }, + // PrintStackContent() { stack.forEach(e => this.Printl(e)) }, + + // GetResult() { return content; } + // }; + // } + + export function createTextWriter(newLine: string) { + let output: string; + let indent: number; + let lineStart: boolean; + let stack: string[] = []; + + const indentStrings: string[] = ["", " "]; + function getIndentString(level: number) { + if (indentStrings[level] === undefined) { + indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; + } + return indentStrings[level]; + } + + function getIndentSize() { + return indentStrings[1].length; + } + + function write(s: string) { + if (s && s.length) { + if (lineStart) { + output += getIndentString(indent); + lineStart = false; + } + output += s; + } + } + + function reset(): void { + output = ""; + indent = 0; + lineStart = true; + stack = []; + } + + function writeLine() { + if (!lineStart) { + output += newLine; + lineStart = true; + } + } + + reset(); + + return { + + Reset: reset, + + ResetIndent() { indent = 0; }, + IncreaseIndent() { indent++; }, + DecreaseIndent() { indent--; }, + + Print: write, + Printl(c: string) { writeLine(); write(c); }, + + PrintWithAddedIndent(c: string) { this.IncreaseIndent(); this.Printl(c); this.DecreaseIndent(); }, + + ClearStack() { stack = []; }, + StackIsEmpty() { return stack.length === 0; }, + PrintlToStack(c: string) { this.Printl(c); }, + PrintStackContent() { stack.forEach(e => this.Printl(e)) }, + + GetResult() { return output; } + }; + } + + // Global print target + const Pt = createTextWriter("\n"); + + // When emit webworker types the dom types are ignored + let ignoreDOMTypes = false; + + // Extended types used but not defined in the spec + let extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); + + let integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); + + + /// Get typescript type using object dom type, object name, and it's associated interface name + function DomTypeToTsType(objDomType: string): string { + switch (objDomType) { + case "AbortMode": return "String"; + case "bool": + case "boolean": + case "Boolean": return "boolean"; + case "CanvasPixelArray": return "number[]"; + case "DOMHighResTimeStamp": return "number"; + case "DOMString": return "string"; + case "DOMTimeStamp": return "number"; + case "EndOfStreamError": return "number"; + case "EventListener": return "EventListenerOrEventListenerObject"; + case "double": + case "float": return "number"; + case "object": return "any"; + case "ReadyState": return "string"; + case "sequence": return "Array"; + case "UnrestrictedDouble": + case "unrestricted double": return "number"; + case "any": + case "BufferSource": + case "Date": + case "Function": + case "Promise": + case "void": return objDomType; + default: + if (integerTypes.has(objDomType)) return "number"; + if (extendedTypes.has(objDomType)) return objDomType; + if (ignoreDOMTypes && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document")) return "any"; + // Name of an interface / enum / dict. Just return itself + if (allInterfacesMap[objDomType] || + allCallbackFuncs[objDomType] || + allDictionariesMap[objDomType] || + allEnumsMap[objDomType]) + return objDomType; + // Name of a type alias. Just return itself + if (typeDefSet.has(objDomType)) return objDomType; + // Union types + if (objDomType.indexOf(" or ") > -1) { + let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsType(t.replace('?', ' '))); + return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); + } + else { + // Check if is array type, which looks like "sequence" + let unescaped = objDomType; // System.Web.HttpUtility.HtmlDecode(objDomType) + let genericMatch = /^(\w+)<([\w, <>]+)>$/; + let match = genericMatch.exec(unescaped); + if (match) { + let tName: string = DomTypeToTsType(match[1]); + let paramName: string = DomTypeToTsType(match[2]); + return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; + } + if (objDomType.endsWith("[]")) { + return DomTypeToTsType(objDomType.replace("[]", "").trim()) + "[]"; + } + } + } + return "any"; + } + + function makeNullable(originalType: string) { + switch (originalType) { + case "any": return "any"; + case "void": return "void"; + default: + if (originalType.indexOf("| null") > -1) return originalType; + else if (originalType.indexOf("=>") > -1) return "(" + originalType + ") | null"; + else return originalType + " | null"; + } + } + + function DomTypeToNullableTsType(objDomType: string, nullable: boolean) { + let resolvedType = DomTypeToTsType(objDomType); + return nullable ? makeNullable(resolvedType) : resolvedType; + } + + function emitConstant(c: Browser.Constant) { + Pt.Printl(`readonly ${c.name}: ${DomTypeToTsType(c.type)};`); + } + + function EmitConstants(i: Browser.Interface) { + if (i.constants) + i.constants.constant.forEach(emitConstant); + } + + function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { + return expectedMName === m.name && + DomTypeToNullableTsType(m.type, !!m.nullable) === expectedMType && + m.param && m.param.length === 1 && + DomTypeToTsType(m.param[0].type) === expectedParamType; + } + + function processInterfaceType(i: Browser.Interface | Browser.Dictionary) { + return i["type-parameters"] ? i.name + "<" + i["type-parameters"]!.join(", ") + ">" : i.name; + } + + /// Emit overloads for the createElement method + function EmitCreateElementOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { + Pt.Printl("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); + Pt.Printl("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); + } + } + + /// Emit overloads for the getElementsByTagName method + function EmitGetElementsByTagNameOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { + Pt.Printl(`getElementsByTagName(${m.param![0].name}: K): NodeListOf;`); + Pt.Printl(`getElementsByTagName(${m.param![0].name}: K): NodeListOf;`); + Pt.Printl(`getElementsByTagName(${m.param![0].name}: string): NodeListOf;`); + } + } + + /// Emit overloads for the querySelector method + function EmitQuerySelectorOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "querySelector", "Element", "string")) { + Pt.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); + Pt.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); + Pt.Printl("querySelector(selectors: string): E | null;"); + } + } + /// Emit overloads for the querySelectorAll method + function EmitQuerySelectorAllOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { + Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); + Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); + Pt.Printl("querySelectorAll(selectors: string): NodeListOf;"); + } + } + + function EmitHTMLElementTagNameMap() { + Pt.Printl("interface HTMLElementTagNameMap {"); + Pt.IncreaseIndent(); + for (const e in tagNameToEleName) { + const value = tagNameToEleName[e]; + if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") === -1) { + Pt.Printl(`"${e.toLowerCase()}": ${value};`); + } + } + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + } + + + function EmitSVGElementTagNameMap() { + Pt.Printl("interface SVGElementTagNameMap {"); + Pt.IncreaseIndent(); + for (const e in tagNameToEleName) { + const value = tagNameToEleName[e]; + if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") > -1) { + Pt.Printl(`"${e.toLowerCase()}": ${value};`); + } + } + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + } + + function EmitElementTagNameMap() { + Pt.Printl("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); + Pt.Printl("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); + Pt.Printl(""); + } + + /// Emit overloads for the createEvent method + function EmitCreateEventOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "createEvent", "Event", "string")) { + // Emit plurals. For example, "Events", "MutationEvents" + let hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; + for (const x of distinctETypeList) { + Pt.Printl(`createEvent(eventInterface: "${x}"): ${x};`); + if (hasPlurals.indexOf(x) > -1) { + Pt.Printl(`createEvent(eventInterface: "${x}s"): ${x};`); + } + } + Pt.Printl("createEvent(eventInterface: string): Event;"); + } + } + + /// Generate the parameters string for function signatures + function ParamsToString(ps: Browser.Param[]) { + function paramToString(p: Browser.Param) { + let isOptional = !p.variadic && p.optional; + let pType = isOptional ? DomTypeToTsType(p.type) : DomTypeToNullableTsType(p.type, !!p.nullable); + return (p.variadic ? "..." : "") + + AdjustParamName(p.name) + + (isOptional ? "?: " : ": ") + + pType + + (p.variadic ? "[]" : ""); + } + return ps.map(paramToString).join(", "); + } + + function EmitCallBackInterface(flavor: Flavor, i: Browser.Interface) { + if (ShouldKeep(flavor, i)) { + if (i.name === "EventListener") { + Pt.Printl(`interface ${i.name} {`); + Pt.PrintWithAddedIndent("(evt: Event): void;"); + Pt.Printl("}"); + } + else { + let m = i.methods.method[0]; + let overload = GetOverloads(m, false)[0]; + let paramsString = ParamsToString(overload.paramCombinations); + let returnType = DomTypeToTsType(m.type); + Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); + } + Pt.Printl(""); + } + } + + function emitCallBackFunction(cb: Browser.CallbackFunction) { + Pt.Printl(`interface ${cb.name} {`); + let overloads = GetOverloads(cb, false); + for (const { paramCombinations: pCombList } of overloads) { + let paramsString = ParamsToString(pCombList); + Pt.PrintWithAddedIndent(`(${paramsString}): ${DomTypeToTsType(cb.type)};`); + } + Pt.Printl("}"); + } + + function EmitCallBackFunctions(flavor: Flavor) { + GetCallbackFuncsByFlavor(flavor).forEach(emitCallBackFunction); + } + + function emitEnum(e: Browser.Enum) { + Pt.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); + } + + function EmitEnums(flavor: Flavor) { + GetEnumsByFlavor(flavor).forEach(emitEnum); + } + + function EmitEventHandlerThis(flavor: Flavor, prefix: string, i: Browser.Interface) { + if (prefix === "") { + return `this: ${i.name} , `; + } + else { + const pollutor = GetGlobalPollutor(flavor); + return pollutor ? `this: ${pollutor.name}, ` : ""; + } + } + + // A covariant EventHandler is one that is defined in a parent interface as then redefined in current interface with a more specific argument types + // These patterns are unsafe, and flagged as error under --strictFunctionTypes. + // Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined + function isCovariantEventHandler(i: Browser.Interface, p: Browser.Property) { + return p.type === "EventHandler" && + iNameToEhParents[i.name] && iNameToEhParents[i.name].length > 0 && + !!iNameToEhParents[i.name].find( + i => iNameToEhList[i.name] && iNameToEhList[i.name].length > 0 && + !!iNameToEhList[i.name].find(e => e.name === p.name)); + } + + + function emitProperty(flavor: Flavor, prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { + function emitCommentForProperty(printLine: (c: string) => void, pName: string) { + // match CommentJson.GetCommentForProperty i.Name pName with + // | Some comment -> printLine "${}" comment + // | _ -> () + } + + function printLine(content: string) { + if (conflictedMembers.has(p.name)) + Pt.PrintlToStack(content); + else + Pt.Printl(content); + } + + emitCommentForProperty(printLine, p.name); + + // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 + if (p.name === "name" && i.name === "Window" && emitScope === EmitScope.All) { + printLine("declare const name: never;"); + } + else { + + let pType: string; + if (p.type === "EventHandler") { + // Sometimes event handlers with the same name may actually handle different + // events in different interfaces. For example, "onerror" handles "ErrorEvent" + // normally, but in "SVGSVGElement" it handles "SVGError" event instead. + let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; + pType = `(${EmitEventHandlerThis(flavor, prefix, i)}ev: ${eType}) => any`; + } + else { + pType = DomTypeToTsType(p.type); + } + let pTypeAndNull = p.nullable ? makeNullable(pType) : pType; + let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; + printLine(`${prefix}${readOnlyModifier}${p.name}: ${pTypeAndNull};`); + } + } + + function EmitProperties(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + // Note: the schema file shows the property doesn't have "static" attribute, + // therefore all properties are emited for the instance type. + if (emitScope !== EmitScope.StaticOnly) { + if (i.properties) { + i.properties.property + .filter(p => ShouldKeep(flavor, p)) + .filter(p => !isCovariantEventHandler(i, p)) + .forEach(p => emitProperty(flavor, prefix, i, emitScope, p, conflictedMembers)); + } + } + } + + + function emitMethod(flavor: Flavor, prefix: string, i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { + function emitCommentForMethod(printLine: (c: string) => void, mName: string) { + // if mName.IsSome then + // match CommentJson.GetCommentForMethod i.Name mName.Value with + // | Some comment -> printLine "${}" comment + // | _ -> () + } + + function printLine(content: string) { + if (m.name && conflictedMembers.has(m.name)) + Pt.PrintlToStack(content); + else + Pt.Printl(content); + } + + // print comment + emitCommentForMethod(printLine, m.name); + + switch (m.name) { + case "createElement": return EmitCreateElementOverloads(m); + case "createEvent": return EmitCreateEventOverloads(m); + case "getElementsByTagName": return EmitGetElementsByTagNameOverloads(m); + case "querySelector": return EmitQuerySelectorOverloads(m); + case "querySelectorAll": return EmitQuerySelectorAllOverloads(m); + } + let overloads = GetOverloads(m, false); + for (const { paramCombinations, returnTypes, nullable } of overloads) { + let paramsString = ParamsToString(paramCombinations); + let returnType = returnTypes.map(DomTypeToTsType).join(" | "); + let returnString = nullable ? makeNullable(returnType) : returnType; + printLine(`${prefix}${m.name || ""}(${paramsString}): ${returnString};`); + } + } + + function EmitMethods(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + // If prefix is not empty, then this is the global declare function addEventListener, we want to override this + // Otherwise, this is EventTarget.addEventListener, we want to keep that. + function mFilter(m: Browser.Method) { + return matchScope(emitScope, m) && + !(prefix !== "" && (m.name === "addEventListener" || m.name === "removeEventListener")); + } + + if (i.methods) { + i.methods.method.filter(mFilter).forEach(m => emitMethod(flavor, prefix, i, m, conflictedMembers)); + } + + // The window interface inherited some methods from "Object", + // which need to explicitly exposed + if (i.name === "Window" && prefix === "declare function ") { + Pt.Printl("declare function toString(): string;"); + } + } + + /// Emit the properties and methods of a given interface + function EmitMembers(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface) { + let conflictedMembers = new Set(extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : []); + EmitProperties(flavor, prefix, emitScope, i, conflictedMembers); + let methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + EmitMethods(flavor, methodPrefix, emitScope, i, conflictedMembers); + } + + /// Emit all members of every interfaces at the root level. + /// Called only once on the global polluter object + function EmitAllMembers(flavor: Flavor, i: Browser.Interface) { + let prefix = "declare var "; + EmitMembers(flavor, prefix, EmitScope.All, i); + + for (const relatedIName of iNameToIDependList[i.name]) { + const i = GetInterfaceByName(relatedIName); + if (i) { + EmitAllMembers(flavor, i); + } + } + } + + function EmitEventHandlers(prefix: string, i: Browser.Interface) { + function getOptionsType(addOrRemove: string) { + return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; + } + + let fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + + function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { + Pt.Printl(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + } + + function emitStringEventHandler(addOrRemove: string) { + Pt.Printl(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + } + + function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { + if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { + emitTypedEventHandler(fPrefix, addOrRemove, i) + return true; + } + if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { + iNameToEhParents[i.name] + .sort((i1, i2) => i1.name > i2.name ? -1 : 1) + .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i)); + return true; + } + return false; + } + + function emitEventHandler(addOrRemove: string) { + if (tryEmitTypedEventHandlerForInterface(addOrRemove)) { + // only emit the string event handler if we just emited a typed handler + emitStringEventHandler(addOrRemove); + } + } + + emitEventHandler("add"); + emitEventHandler("remove"); + } + + function EmitConstructorSignature(flavor: Flavor, i: Browser.Interface) { + //Emit constructor signature + if (i.constructor) { + for (const { paramCombinations } of GetOverloads(i.constructor, false)) { + let paramsString = ParamsToString(paramCombinations); + Pt.Printl(`new(${paramsString}): ${i.name};`); + } + } + else { + Pt.Printl(`new(): ${i.name};`); + } + } + + function EmitConstructor(flavor: Flavor, i: Browser.Interface) { + Pt.Printl(`declare var ${i.name}: {`); + Pt.IncreaseIndent(); + + Pt.Printl(`prototype: ${i.name};`); + EmitConstructorSignature(flavor, i); + EmitConstants(i); + EmitMembers(flavor, "", EmitScope.StaticOnly, i); + + Pt.DecreaseIndent(); + Pt.Printl("};"); + Pt.Printl(""); + } + + function EmitNamedConstructor(i: Browser.Interface) { + const nc = i["named-constructor"]; + if (nc) { + Pt.Printl(`declare var ${nc.name}: { new(${ParamsToString(nc.param)}): ${i.name}; };`); + } + } + /// Emit all the named constructors at root level + function EmitNamedConstructors() { + if (browser.interfaces) { + browser.interfaces.interface.forEach(EmitNamedConstructor); + } + } + + function EmitInterfaceDeclaration(i: Browser.Interface) { + function processIName(iName: string) { + return extendConflictsBaseTypes[iName] ? extendConflictsBaseTypes[iName].baseType + "Base" : iName; + } + + let processedIName = processIName(i.name); + + if (processedIName != i.name) { + Pt.PrintlToStack(`interface ${processInterfaceType(i)} extends ${processedIName} {`); + } + + Pt.Printl(`interface ${processInterfaceType(i)}`); + + let finalExtends = concat([i.extends], i.implements) + .filter(i => i !== "Object") + .map(processIName) + + if (finalExtends && finalExtends.length) { + Pt.Print(` extends ${finalExtends.join(", ")}`); + } + Pt.Print(" {"); + } + + /// To decide if a given method is an indexer and should be emited + function ShouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { + if (m.getter && m.param && m.param.length === 1) { + // TypeScript array indexer can only be number or string + // for string, it must return a more generic type then all + // the other properties, following the Dictionary pattern + switch (DomTypeToTsType(m.param[0].type)) { + case "number": return true; + case "string": + if (DomTypeToTsType(m.type) === "any") { + return true; + } + let mTypes = i.methods && i.methods.method.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct + let amTypes = i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct + let pTypes = i.properties && i.properties.property.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct + + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === m.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === m.type; + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 1) return amTypes[0] === pTypes[0] && amTypes[0] === m.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 1) return mTypes[0] === amTypes[0] && amTypes[0] === pTypes[0] && amTypes[0] === m.type; + } + } + return false; + } + + + + function EmitIndexers(emitScope: EmitScope, i: Browser.Interface) { + // The indices could be within either Methods or Anonymous Methods + concat(i.methods && i.methods.method, i["anonymous-methods"] && i["anonymous-methods"]!.method) + .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) + .forEach(m => { + let indexer = m.param![0] + Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer.type)}]: ${DomTypeToTsType(m.type)};`); + }); + } + + function EmitInterfaceEventMap(i: Browser.Interface) { + function emitInterfaceEventMapEntry(eHandler: EventHandler) { + Pt.Printl(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); + } + + let ownEventHandles = iNameToEhList[i.name] || [] + if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { + Pt.Printl(`interface ${i.name}EventMap`); + if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { + let extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); + Pt.Print(` extends ${extend.join(", ")}`); + } + Pt.Print(" {"); + Pt.IncreaseIndent(); + iNameToEhList[i.name].forEach(emitInterfaceEventMapEntry); + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + } + } + + + function EmitInterface(flavor: Flavor, i: Browser.Interface) { + Pt.ClearStack(); + EmitInterfaceEventMap(i); + + Pt.ResetIndent() + EmitInterfaceDeclaration(i); + Pt.IncreaseIndent(); + + let prefix = ""; + EmitMembers(flavor, prefix, EmitScope.InstanceOnly, i); + EmitConstants(i); + EmitEventHandlers(prefix, i); + EmitIndexers(EmitScope.InstanceOnly, i); + + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + + if (!Pt.StackIsEmpty()) { + Pt.PrintStackContent(); + Pt.Printl("}"); + Pt.Printl(""); + } + } + + + function EmitStaticInterface(flavor: Flavor, i: Browser.Interface) { + // Some types are static types with non-static members. For example, + // NodeFilter is a static method itself, however it has an "acceptNode" method + // that expects the user to implement. + let hasNonStaticMethod = i.methods && !!i.methods.method.find(m => !m.static); + let hasProperty = i.properties && i.properties.property.find(p => !p.static); + let hasNonStaticMember = hasNonStaticMethod || hasProperty + + function emitAddedConstructor() { + // match InputJson.getAddedItemsByInterfaceName ItemKind.Constructor flavor i.Name with + // | [||] -> () + // | ctors -> + // Pt.Printl("prototype: ${};" i.Name + // ctors |> Array.iter(fun ctor -> ctor.Signatures |> Array.iter(Pt.Printl("${};")) + } + + // For static types with non-static members, we put the non-static members into an + // interface, and put the static members into the object literal type of 'declare var' + // For static types with only static members, we put everything in the interface. + // Because in the two cases the interface contains different things, it might be easier to + // read to separate them into two functions. + function emitStaticInterfaceWithNonStaticMembers() { + Pt.ResetIndent(); + EmitInterfaceDeclaration(i); + Pt.IncreaseIndent(); + + let prefix = ""; + EmitMembers(flavor, prefix, EmitScope.InstanceOnly, i); + EmitEventHandlers(prefix, i); + EmitIndexers(EmitScope.InstanceOnly, i); + + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + Pt.Printl(`declare var ${i.name}: {`); + Pt.IncreaseIndent(); + EmitConstants(i); + EmitMembers(flavor, prefix, EmitScope.StaticOnly, i); + emitAddedConstructor(); + Pt.DecreaseIndent(); + Pt.Printl("};"); + Pt.Printl(""); + } + + function emitPureStaticInterface() { + Pt.ResetIndent() + EmitInterfaceDeclaration(i); + Pt.IncreaseIndent(); + + let prefix = ""; + EmitMembers(flavor, prefix, EmitScope.StaticOnly, i); + EmitConstants(i); + EmitEventHandlers(prefix, i); + EmitIndexers(EmitScope.StaticOnly, i); + emitAddedConstructor(); + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(`declare var ${i.name}: ${i.name};`); + Pt.Printl(""); + } + + if (hasNonStaticMember) { + emitStaticInterfaceWithNonStaticMembers(); + } + else { + emitPureStaticInterface() + } + } + + + function EmitNonCallbackInterfaces(flavor: Flavor) { + for (const i of GetNonCallbackInterfacesByFlavor(flavor)) { + // If the static attribute has a value, it means the type doesn't have a constructor + if (i.static) { + EmitStaticInterface(flavor, i); + } + else if (i["no-interface-object"]) { + EmitInterface(flavor, i); + } + else { + EmitInterface(flavor, i); + EmitConstructor(flavor, i); + } + } + } + + function emitDictionary(flavor: Flavor, dict: Browser.Dictionary) { + if (dict.extends === "Object") { + Pt.Printl(`interface ${processInterfaceType(dict)} {`); + } + else { + Pt.Printl(`interface ${processInterfaceType(dict)} extends ${dict.extends} {`); + } + Pt.IncreaseIndent() + if (dict.members) { + dict.members.member + .forEach(m => { + let tsType = DomTypeToTsType(m.type); + let tsTypeAndNull = m.nullable ? makeNullable(tsType) : tsType; + let requiredModifier = m.required ? "" : "?"; + Pt.Printl(`${m.name}${requiredModifier}: ${tsTypeAndNull};`); + }); + } + Pt.DecreaseIndent(); + Pt.Printl("}"); + Pt.Printl(""); + } + + function EmitDictionaries(flavor: Flavor) { + if (browser.dictionaries) { + browser.dictionaries.dictionary + .filter(d => flavor !== Flavor.Worker || knownWorkerInterfaces.has(d.name)) + .forEach(d => emitDictionary(flavor, d)); + } + if (flavor === Flavor.Worker && worker.dictionaries) { + worker.dictionaries.dictionary.forEach(d => emitDictionary(flavor, d)); + } + } + + function emitTypeDef(typeDef: Browser.TypeDef) { + Pt.Printl(`type ${typeDef["new-type"]} = ${DomTypeToTsType(typeDef.type)};`); + } + + function EmitTypeDefs(flavor: Flavor) { + if (flavor === Flavor.Worker) { + if (browser.typedefs) { + browser.typedefs.typedef + .filter(t => knownWorkerInterfaces.has(t["new-type"])) + .forEach(emitTypeDef); + } + if (worker.typedefs) { + worker.typedefs.typedef + .forEach(emitTypeDef); + } + } + else if (browser.typedefs) { + browser.typedefs.typedef + .forEach(emitTypeDef); + } + } + + function EmitTheWholeThing(flavor: Flavor, target: string) { + Pt.Reset() + Pt.Printl("/////////////////////////////"); + if (flavor === Flavor.Worker) { + Pt.Printl("/// Worker APIs"); + } + else { + Pt.Printl("/// DOM APIs"); + } + Pt.Printl("/////////////////////////////"); + Pt.Printl(""); + + EmitDictionaries(flavor); + if (browser["callback-interfaces"]) { + browser["callback-interfaces"]!.interface.forEach(i => EmitCallBackInterface(flavor, i)); + } + EmitNonCallbackInterfaces(flavor); + + // // Add missed interface definition from the spec + // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface + + Pt.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); + Pt.Printl(""); + + EmitCallBackFunctions(flavor); + + if (flavor !== Flavor.Worker) { + EmitHTMLElementTagNameMap(); + EmitSVGElementTagNameMap(); + EmitElementTagNameMap(); + EmitNamedConstructors(); + } + + const gp = GetGlobalPollutor(flavor); + if (gp) { + EmitAllMembers(flavor, gp); + EmitEventHandlers("declare var ", gp); + } + + + EmitTypeDefs(flavor); + EmitEnums(flavor); + + fs.writeFileSync(target, Pt.GetResult()); + } + + function EmitIterator(i: Browser.Interface) { + + // check anonymous unsigned long getter and length property + let isIterableGetter = (m: Browser.Method) => + m.getter === "1" && !!m.param && Array.isArray(m.param) && m.param.length === 1 && integerTypes.has(m.param[0].type); + + function findIterableGetter() { + let anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); + + if (anonymousGetter) return anonymousGetter; + else if (i.methods) return i.methods.method.find(isIterableGetter); + else return undefined; + } + + function findLengthProperty(p: Browser.Property) { + return p.name === "length" && integerTypes.has(p.type); + } + + if (i.name !== "Window" && i.properties) { + let iterableGetter = findIterableGetter() + let lengthProperty = i.properties.property.find(findLengthProperty); + if (iterableGetter && lengthProperty) { + Pt.Printl(`interface ${i.name} {`); + Pt.IncreaseIndent(); + Pt.Printl(`[Symbol.iterator](): IterableIterator<${DomTypeToTsType(iterableGetter.type)}>`); + Pt.DecreaseIndent() + Pt.Printl("}"); + Pt.Printl(""); + } + } + } + function EmitES6Thing(target: string) { + Pt.Reset(); + Pt.Printl("/////////////////////////////"); + Pt.Printl("/// DOM ES6 APIs"); + Pt.Printl("/////////////////////////////"); + Pt.Printl(""); + + browser.interfaces && browser.interfaces.interface.forEach(EmitIterator); + + fs.writeFileSync(target, Pt.GetResult()); + } + + export function EmitDomWeb() { + EmitTheWholeThing(Flavor.Web, tsWebOutput); + EmitES6Thing(tsWebES6Output); + } + + export function EmitDomWorker() { + ignoreDOMTypes = true; + EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); + } +} + + +Emit.EmitDomWeb(); +Emit.EmitDomWorker(); + + diff --git a/tsconfig.json b/tsconfig.json index 9f5479d22..2b5a1e6f5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,11 @@ "target": "es6", "module": "commonjs", "strict": true, - "esModuleInterop": true - } + "esModuleInterop": true, + "sourceMap": true + }, + "files": [ + "index.ts", + "types.d.ts" + ] } \ No newline at end of file diff --git a/type.d.ts b/types.d.ts similarity index 94% rename from type.d.ts rename to types.d.ts index bc2337ce7..12ba141b8 100644 --- a/type.d.ts +++ b/types.d.ts @@ -43,6 +43,7 @@ export type Property = { "lenient-this"?: string; "treat-null-as"?: string; "event-handler-map-to-window"?: string; + "static"?: string; }; export type Event = { @@ -83,6 +84,11 @@ export type Constructor = { "param"?: Param[]; }; +export type NamedConstructor = { + "name": string; + "param": Param[]; +}; + export type Constant = { "name": string; "type": string; @@ -118,9 +124,7 @@ export type Interface = { "properties"?: { "property": Property[] }; - "constructor"?: (string | null | { - "param": Param[]; - })[]; + "constructor"?: Constructor; "secure-context"?: string; "implements"?: string[]; "static"?: undefined; @@ -131,10 +135,7 @@ export type Interface = { "parsedattribute": ParsedAttribute[] }; "element"?: Element[]; - "named-constructor"?: { - "name": string; - "param": Param[]; - }; + "named-constructor"?: NamedConstructor; "override-builtins"?: string; "exposed"?: string; "tags"?: string; @@ -161,6 +162,7 @@ export type Dictionary = { "members": { "member": Member[]; }; + "type-parameters"?: string[]; }; export type WebIdl = { From 5ffa5fe47fa0c7bf274eaa8c9467fcf69f2ddbd9 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 18:06:23 -0800 Subject: [PATCH 05/93] Normalize input files --- inputfiles/browser.webidl.xml.json | 4678 +++++++++++++++--------- inputfiles/webworkers.specidl.xml.json | 187 +- 2 files changed, 3007 insertions(+), 1858 deletions(-) diff --git a/inputfiles/browser.webidl.xml.json b/inputfiles/browser.webidl.xml.json index d2f8a1cd2..a955a9fe2 100644 --- a/inputfiles/browser.webidl.xml.json +++ b/inputfiles/browser.webidl.xml.json @@ -4717,7 +4717,9 @@ }, { "name": "MSCredentialType", - "value": "FIDO_2_0" + "value": [ + "FIDO_2_0" + ] }, { "name": "MSIceAddrType", @@ -4830,7 +4832,9 @@ }, { "name": "PanningModelType", - "value": "equalpower" + "value": [ + "equalpower" + ] }, { "name": "PaymentComplete", @@ -5125,7 +5129,9 @@ }, { "name": "ScopedCredentialType", - "value": "ScopedCred" + "value": [ + "ScopedCred" + ] }, { "name": "ServiceWorkerState", @@ -5260,7 +5266,9 @@ "name": "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x88FE" + "value": [ + "0x88FE" + ] } ] }, @@ -5345,22 +5353,19 @@ { "name": "AnimationEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "AnimationEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "AnimationEventInit" + } + ] + }, "methods": { "method": [ { @@ -5414,32 +5419,44 @@ { "name": "CHECKING", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "DOWNLOADING", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "IDLE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "OBSOLETE", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "UNCACHED", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "UPDATEREADY", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] } ] }, @@ -5778,10 +5795,7 @@ { "name": "AudioContext", "extends": "EventTarget", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -6514,10 +6528,7 @@ { "name": "Blob", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -6771,7 +6782,9 @@ { "name": "CanvasRenderingContext2D", "extends": "Object", - "implements": "CanvasPathMethods", + "implements": [ + "CanvasPathMethods" + ], "methods": { "method": [ { @@ -7389,7 +7402,9 @@ } ] }, - "implements": "ChildNode", + "implements": [ + "ChildNode" + ], "methods": { "method": [ { @@ -7556,22 +7571,19 @@ { "name": "CloseEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CloseEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CloseEventInit" + } + ] + }, "methods": { "method": [ { @@ -7641,22 +7653,19 @@ { "name": "CompositionEvent", "extends": "UIEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CompositionEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CompositionEventInit" + } + ] + }, "methods": { "method": [ { @@ -8037,7 +8046,9 @@ { "name": "Crypto", "extends": "Object", - "implements": "RandomSource", + "implements": [ + "RandomSource" + ], "properties": { "property": [ { @@ -8343,62 +8354,86 @@ { "name": "CHARSET_RULE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "FONT_FACE_RULE", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "IMPORT_RULE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "KEYFRAME_RULE", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "KEYFRAMES_RULE", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "MEDIA_RULE", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "NAMESPACE_RULE", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "PAGE_RULE", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "STYLE_RULE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SUPPORTS_RULE", "type": "unsigned short", - "value": "12" + "value": [ + "12" + ] }, { "name": "UNKNOWN_RULE", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "VIEWPORT_RULE", "type": "unsigned short", - "value": "15" + "value": [ + "15" + ] } ] }, @@ -11933,22 +11968,19 @@ { "name": "CustomEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CustomEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "CustomEventInit" + } + ] + }, "methods": { "method": [ { @@ -12243,22 +12275,19 @@ { "name": "DeviceLightEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceLightEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceLightEventInit" + } + ] + }, "properties": { "property": [ { @@ -12272,22 +12301,19 @@ { "name": "DeviceMotionEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceMotionEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceMotionEventInit" + } + ] + }, "methods": { "method": [ { @@ -12362,22 +12388,19 @@ { "name": "DeviceOrientationEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceOrientationEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "DeviceOrientationEventInit" + } + ] + }, "methods": { "method": [ { @@ -13880,12 +13903,16 @@ { "name": "DocumentFragment", "extends": "Node", - "implements": "NodeSelector" + "implements": [ + "NodeSelector" + ] }, { "name": "DocumentType", "extends": "Node", - "implements": "ChildNode", + "implements": [ + "ChildNode" + ], "properties": { "property": [ { @@ -13953,137 +13980,191 @@ { "name": "ABORT_ERR", "type": "unsigned short", - "value": "20" + "value": [ + "20" + ] }, { "name": "DATA_CLONE_ERR", "type": "unsigned short", - "value": "25" + "value": [ + "25" + ] }, { "name": "DOMSTRING_SIZE_ERR", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "HIERARCHY_REQUEST_ERR", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "INDEX_SIZE_ERR", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "INUSE_ATTRIBUTE_ERR", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "INVALID_ACCESS_ERR", "type": "unsigned short", - "value": "15" + "value": [ + "15" + ] }, { "name": "INVALID_CHARACTER_ERR", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "INVALID_MODIFICATION_ERR", "type": "unsigned short", - "value": "13" + "value": [ + "13" + ] }, { "name": "INVALID_NODE_TYPE_ERR", "type": "unsigned short", - "value": "24" + "value": [ + "24" + ] }, { "name": "INVALID_STATE_ERR", "type": "unsigned short", - "value": "11" + "value": [ + "11" + ] }, { "name": "NAMESPACE_ERR", "type": "unsigned short", - "value": "14" + "value": [ + "14" + ] }, { "name": "NETWORK_ERR", "type": "unsigned short", - "value": "19" + "value": [ + "19" + ] }, { "name": "NO_DATA_ALLOWED_ERR", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "NO_MODIFICATION_ALLOWED_ERR", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "NOT_FOUND_ERR", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "NOT_SUPPORTED_ERR", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "PARSE_ERR", "type": "unsigned short", - "value": "81" + "value": [ + "81" + ] }, { "name": "QUOTA_EXCEEDED_ERR", "type": "unsigned short", - "value": "22" + "value": [ + "22" + ] }, { "name": "SECURITY_ERR", "type": "unsigned short", - "value": "18" + "value": [ + "18" + ] }, { "name": "SERIALIZE_ERR", "type": "unsigned short", - "value": "82" + "value": [ + "82" + ] }, { "name": "SYNTAX_ERR", "type": "unsigned short", - "value": "12" + "value": [ + "12" + ] }, { "name": "TIMEOUT_ERR", "type": "unsigned short", - "value": "23" + "value": [ + "23" + ] }, { "name": "TYPE_MISMATCH_ERR", "type": "unsigned short", - "value": "17" + "value": [ + "17" + ] }, { "name": "URL_MISMATCH_ERR", "type": "unsigned short", - "value": "21" + "value": [ + "21" + ] }, { "name": "VALIDATION_ERR", "type": "unsigned short", - "value": "16" + "value": [ + "16" + ] }, { "name": "WRONG_DOCUMENT_ERR", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] } ] }, @@ -14180,10 +14261,7 @@ { "name": "DOMParser", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -16038,22 +16116,19 @@ { "name": "ErrorEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ErrorEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ErrorEventInit" + } + ] + }, "methods": { "method": [ { @@ -16127,36 +16202,39 @@ { "name": "AT_TARGET", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "BUBBLING_PHASE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "CAPTURING_PHASE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] + } + ] + }, + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "EventInit" } ] }, - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "EventInit" - } - ] - } - ], "methods": { "method": [ { @@ -16330,13 +16408,17 @@ "name": "MAX_TEXTURE_MAX_ANISOTROPY_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84FF" + "value": [ + "0x84FF" + ] }, { "name": "TEXTURE_MAX_ANISOTROPY_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84FE" + "value": [ + "0x84FE" + ] } ] } @@ -16494,10 +16576,7 @@ { "name": "FileReader", "extends": "EventTarget", - "constructor": [ - null, - "" - ], + "constructor": {}, "events": { "event": [ { @@ -16544,7 +16623,9 @@ } ] }, - "implements": "MSBaseReader", + "implements": [ + "MSBaseReader" + ], "methods": { "method": [ { @@ -16607,22 +16688,19 @@ { "name": "FocusEvent", "extends": "UIEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "FocusEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "FocusEventInit" + } + ] + }, "methods": { "method": [ { @@ -16670,22 +16748,19 @@ { "name": "FocusNavigationEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "FocusNavigationEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "FocusNavigationEventInit" + } + ] + }, "methods": { "method": [ { @@ -16727,10 +16802,7 @@ { "name": "FormData", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -16832,22 +16904,19 @@ { "name": "GamepadEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "GamepadEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "GamepadEventInit" + } + ] + }, "properties": { "property": [ { @@ -16923,22 +16992,19 @@ { "name": "HashChangeEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "HashChangeEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "HashChangeEventInit" + } + ] + }, "properties": { "property": [ { @@ -16959,19 +17025,16 @@ { "name": "Headers", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "init", - "optional": "1", - "type": "(Headers or sequence>)", - "type-original": "HeadersInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "init", + "optional": "1", + "type": "(Headers or sequence>)", + "type-original": "HeadersInit" + } + ] + }, "methods": { "method": [ { @@ -17705,7 +17768,9 @@ "namespace": "HTML" } ], - "implements": "DOML2DeprecatedColorProperty", + "implements": [ + "DOML2DeprecatedColorProperty" + ], "properties": { "property": [ { @@ -19281,7 +19346,9 @@ "namespace": "HTML" } ], - "implements": "GetSVGDocument", + "implements": [ + "GetSVGDocument" + ], "properties": { "property": [ { @@ -19706,7 +19773,9 @@ } ] }, - "implements": "GetSVGDocument", + "implements": [ + "GetSVGDocument" + ], "properties": { "property": [ { @@ -20210,7 +20279,9 @@ } ] }, - "implements": "GetSVGDocument", + "implements": [ + "GetSVGDocument" + ], "properties": { "property": [ { @@ -21154,7 +21225,9 @@ } ] }, - "implements": "LinkStyle", + "implements": [ + "LinkStyle" + ], "properties": { "property": [ { @@ -21420,47 +21493,65 @@ { "name": "HAVE_CURRENT_DATA", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "HAVE_ENOUGH_DATA", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "HAVE_FUTURE_DATA", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "HAVE_METADATA", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "HAVE_NOTHING", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "NETWORK_EMPTY", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "NETWORK_IDLE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "NETWORK_LOADING", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "NETWORK_NO_SOURCE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] } ] }, @@ -22158,7 +22249,9 @@ } ] }, - "implements": "GetSVGDocument", + "implements": [ + "GetSVGDocument" + ], "methods": { "method": [ { @@ -23301,7 +23394,9 @@ } ] }, - "implements": "LinkStyle", + "implements": [ + "LinkStyle" + ], "properties": { "property": [ { @@ -23367,7 +23462,9 @@ { "name": "HTMLTableCellElement", "extends": "HTMLElement", - "implements": "HTMLTableAlignment", + "implements": [ + "HTMLTableAlignment" + ], "properties": { "property": [ { @@ -23469,7 +23566,9 @@ "namespace": "HTML" } ], - "implements": "HTMLTableAlignment", + "implements": [ + "HTMLTableAlignment" + ], "properties": { "property": [ { @@ -23734,7 +23833,9 @@ "namespace": "HTML" } ], - "implements": "HTMLTableAlignment", + "implements": [ + "HTMLTableAlignment" + ], "methods": { "method": [ { @@ -23831,7 +23932,9 @@ "namespace": "HTML" } ], - "implements": "HTMLTableAlignment", + "implements": [ + "HTMLTableAlignment" + ], "methods": { "method": [ { @@ -24141,22 +24244,30 @@ { "name": "ERROR", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "LOADED", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "LOADING", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "NONE", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -24493,22 +24604,30 @@ { "name": "NEXT", "type": "DOMString", - "value": "next" + "value": [ + "next" + ] }, { "name": "NEXT_NO_DUPLICATE", "type": "DOMString", - "value": "nextunique" + "value": [ + "nextunique" + ] }, { "name": "PREV", "type": "DOMString", - "value": "prev" + "value": [ + "prev" + ] }, { "name": "PREV_NO_DUPLICATE", "type": "DOMString", - "value": "prevunique" + "value": [ + "prevunique" + ] } ] }, @@ -25205,17 +25324,23 @@ { "name": "READ_ONLY", "type": "DOMString", - "value": "readonly" + "value": [ + "readonly" + ] }, { "name": "READ_WRITE", "type": "DOMString", - "value": "readwrite" + "value": [ + "readwrite" + ] }, { "name": "VERSION_CHANGE", "type": "DOMString", - "value": "versionchange" + "value": [ + "versionchange" + ] } ] }, @@ -25342,21 +25467,18 @@ { "name": "ImageData", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "width", - "type": "unsigned long" - }, - { - "name": "height", - "type": "unsigned long" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "width", + "type": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long" + } + ] + }, "properties": { "property": [ { @@ -25381,22 +25503,19 @@ "name": "IntersectionObserver", "exposed": "Window", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "callback", - "type": "IntersectionObserverCallback" - }, - { - "name": "options", - "optional": "1", - "type": "IntersectionObserverInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "callback", + "type": "IntersectionObserverCallback" + }, + { + "name": "options", + "optional": "1", + "type": "IntersectionObserverInit" + } + ] + }, "methods": { "method": [ { @@ -25453,17 +25572,14 @@ { "name": "IntersectionObserverEntry", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "intersectionObserverEntryInit", - "type": "IntersectionObserverEntryInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "intersectionObserverEntryInit", + "type": "IntersectionObserverEntryInit" + } + ] + }, "properties": { "property": [ { @@ -25507,51 +25623,60 @@ { "name": "DOM_KEY_LOCATION_JOYSTICK", "type": "unsigned long", - "value": "0x05" + "value": [ + "0x05" + ] }, { "name": "DOM_KEY_LOCATION_LEFT", "type": "unsigned long", - "value": "0x01" + "value": [ + "0x01" + ] }, { "name": "DOM_KEY_LOCATION_MOBILE", "type": "unsigned long", - "value": "0x04" + "value": [ + "0x04" + ] }, { "name": "DOM_KEY_LOCATION_NUMPAD", "type": "unsigned long", - "value": "0x03" + "value": [ + "0x03" + ] }, { "name": "DOM_KEY_LOCATION_RIGHT", "type": "unsigned long", - "value": "0x02" + "value": [ + "0x02" + ] }, { "name": "DOM_KEY_LOCATION_STANDARD", "type": "unsigned long", - "value": "0x00" + "value": [ + "0x00" + ] + } + ] + }, + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "KeyboardEventInit" } ] }, - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "KeyboardEventInit" - } - ] - } - ], "methods": { "method": [ { @@ -25891,22 +26016,19 @@ { "name": "MediaEncryptedEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaEncryptedEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaEncryptedEventInit" + } + ] + }, "properties": { "property": [ { @@ -25931,27 +26053,37 @@ { "name": "MEDIA_ERR_ABORTED", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "MEDIA_ERR_DECODE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "MEDIA_ERR_NETWORK", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "MEDIA_ERR_SRC_NOT_SUPPORTED", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "MS_MEDIA_ERR_ENCRYPTED", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] } ] }, @@ -25973,22 +26105,19 @@ { "name": "MediaKeyMessageEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaKeyMessageEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaKeyMessageEventInit" + } + ] + }, "properties": { "property": [ { @@ -26297,10 +26426,7 @@ { "name": "MediaSource", "extends": "EventTarget", - "constructor": [ - null, - "" - ], + "constructor": {}, "events": { "event": [ { @@ -26400,18 +26526,15 @@ { "name": "MediaStream", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "streamOrTracks", - "optional": "1", - "type": "(MediaStream or sequence)" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "streamOrTracks", + "optional": "1", + "type": "(MediaStream or sequence)" + } + ] + }, "events": { "event": [ { @@ -26562,22 +26685,19 @@ { "name": "MediaStreamErrorEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaStreamErrorEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaStreamErrorEventInit" + } + ] + }, "properties": { "property": [ { @@ -26592,21 +26712,18 @@ { "name": "MediaStreamEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "MediaStreamEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaStreamEventInit" + } + ] + }, "properties": { "property": [ { @@ -26750,22 +26867,19 @@ { "name": "MediaStreamTrackEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaStreamTrackEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MediaStreamTrackEventInit" + } + ] + }, "properties": { "property": [ { @@ -26779,10 +26893,7 @@ { "name": "MessageChannel", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "properties": { "property": [ { @@ -26801,22 +26912,19 @@ { "name": "MessageEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MessageEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MessageEventInit" + } + ] + }, "methods": { "method": [ { @@ -27001,22 +27109,19 @@ { "name": "MouseEvent", "extends": "UIEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MouseEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "MouseEventInit" + } + ] + }, "methods": { "method": [ { @@ -27232,22 +27337,30 @@ { "name": "CURRENT", "type": "DOMString", - "value": "current" + "value": [ + "current" + ] }, { "name": "HIGH", "type": "DOMString", - "value": "high" + "value": [ + "high" + ] }, { "name": "IDLE", "type": "DOMString", - "value": "idle" + "value": [ + "idle" + ] }, { "name": "NORMAL", "type": "DOMString", - "value": "normal" + "value": [ + "normal" + ] } ] }, @@ -27464,19 +27577,25 @@ "name": "COMPLETED", "tags": "MSAppOnly", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "ERROR", "tags": "MSAppOnly", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "STARTED", "tags": "MSAppOnly", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -27563,10 +27682,7 @@ { "name": "MSBlobBuilder", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -27714,10 +27830,7 @@ { "name": "MSGesture", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -27753,27 +27866,37 @@ { "name": "MSGESTURE_FLAG_BEGIN", "type": "unsigned long", - "value": "0x00000001" + "value": [ + "0x00000001" + ] }, { "name": "MSGESTURE_FLAG_CANCEL", "type": "unsigned long", - "value": "0x00000004" + "value": [ + "0x00000004" + ] }, { "name": "MSGESTURE_FLAG_END", "type": "unsigned long", - "value": "0x00000002" + "value": [ + "0x00000002" + ] }, { "name": "MSGESTURE_FLAG_INERTIA", "type": "unsigned long", - "value": "0x00000008" + "value": [ + "0x00000008" + ] }, { "name": "MSGESTURE_FLAG_NONE", "type": "unsigned long", - "value": "0x00000000" + "value": [ + "0x00000000" + ] } ] }, @@ -28422,49 +28545,65 @@ "name": "MS_MANIPULATION_STATE_ACTIVE", "tags": "IEOnly", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "MS_MANIPULATION_STATE_CANCELLED", "tags": "IEOnly", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "MS_MANIPULATION_STATE_COMMITTED", "tags": "IEOnly", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "MS_MANIPULATION_STATE_DRAGGING", "tags": "IEOnly", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "MS_MANIPULATION_STATE_INERTIA", "tags": "IEOnly", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "MS_MANIPULATION_STATE_PRESELECT", "tags": "IEOnly", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "MS_MANIPULATION_STATE_SELECTING", "tags": "IEOnly", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "MS_MANIPULATION_STATE_STOPPED", "tags": "IEOnly", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -28544,32 +28683,44 @@ { "name": "MS_MEDIA_KEYERR_CLIENT", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "MS_MEDIA_KEYERR_DOMAIN", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "MS_MEDIA_KEYERR_HARDWARECHANGE", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "MS_MEDIA_KEYERR_OUTPUT", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "MS_MEDIA_KEYERR_SERVICE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "MS_MEDIA_KEYERR_UNKNOWN", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -28624,17 +28775,14 @@ { "name": "MSMediaKeys", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "keySystem", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "keySystem", + "type": "DOMString" + } + ] + }, "methods": { "method": [ { @@ -28773,22 +28921,19 @@ { "name": "MSPointerEvent", "extends": "MouseEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PointerEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PointerEventInit" + } + ] + }, "methods": { "method": [ { @@ -29066,10 +29211,7 @@ { "name": "MSStreamReader", "extends": "EventTarget", - "constructor": [ - null, - "" - ], + "constructor": {}, "events": { "event": [ { @@ -29122,7 +29264,9 @@ } ] }, - "implements": "MSBaseReader", + "implements": [ + "MSBaseReader" + ], "methods": { "method": [ { @@ -29232,37 +29376,49 @@ "name": "COMPLETED", "tags": "MSAppOnly", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "ERROR", "tags": "MSAppOnly", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "STARTED", "tags": "MSAppOnly", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM", "tags": "MSAppOnly", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION", "tags": "MSAppOnly", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "TYPE_INVOKE_SCRIPT", "tags": "MSAppOnly", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -29367,17 +29523,23 @@ { "name": "ADDITION", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "MODIFICATION", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "REMOVAL", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] } ] }, @@ -29456,17 +29618,14 @@ { "name": "MutationObserver", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "callback", - "type": "MutationCallback" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "callback", + "type": "MutationCallback" + } + ] + }, "methods": { "method": [ { @@ -29846,92 +30005,128 @@ { "name": "ATTRIBUTE_NODE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "CDATA_SECTION_NODE", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "COMMENT_NODE", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "DOCUMENT_FRAGMENT_NODE", "type": "unsigned short", - "value": "11" + "value": [ + "11" + ] }, { "name": "DOCUMENT_NODE", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "DOCUMENT_POSITION_CONTAINED_BY", "type": "unsigned short", - "value": "0x10" + "value": [ + "0x10" + ] }, { "name": "DOCUMENT_POSITION_CONTAINS", "type": "unsigned short", - "value": "0x08" + "value": [ + "0x08" + ] }, { "name": "DOCUMENT_POSITION_DISCONNECTED", "type": "unsigned short", - "value": "0x01" + "value": [ + "0x01" + ] }, { "name": "DOCUMENT_POSITION_FOLLOWING", "type": "unsigned short", - "value": "0x04" + "value": [ + "0x04" + ] }, { "name": "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", "type": "unsigned short", - "value": "0x20" + "value": [ + "0x20" + ] }, { "name": "DOCUMENT_POSITION_PRECEDING", "type": "unsigned short", - "value": "0x02" + "value": [ + "0x02" + ] }, { "name": "DOCUMENT_TYPE_NODE", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "ELEMENT_NODE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "ENTITY_NODE", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "ENTITY_REFERENCE_NODE", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "NOTATION_NODE", "type": "unsigned short", - "value": "12" + "value": [ + "12" + ] }, { "name": "PROCESSING_INSTRUCTION_NODE", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "TEXT_NODE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] } ] }, @@ -30187,82 +30382,114 @@ { "name": "FILTER_ACCEPT", "type": "short", - "value": "1" + "value": [ + "1" + ] }, { "name": "FILTER_REJECT", "type": "short", - "value": "2" + "value": [ + "2" + ] }, { "name": "FILTER_SKIP", "type": "short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SHOW_ALL", "type": "unsigned long", - "value": "0xFFFFFFFF" + "value": [ + "0xFFFFFFFF" + ] }, { "name": "SHOW_ATTRIBUTE", "type": "unsigned long", - "value": "0x00000002" + "value": [ + "0x00000002" + ] }, { "name": "SHOW_CDATA_SECTION", "type": "unsigned long", - "value": "0x00000008" + "value": [ + "0x00000008" + ] }, { "name": "SHOW_COMMENT", "type": "unsigned long", - "value": "0x00000080" + "value": [ + "0x00000080" + ] }, { "name": "SHOW_DOCUMENT", "type": "unsigned long", - "value": "0x00000100" + "value": [ + "0x00000100" + ] }, { "name": "SHOW_DOCUMENT_FRAGMENT", "type": "unsigned long", - "value": "0x00000400" + "value": [ + "0x00000400" + ] }, { "name": "SHOW_DOCUMENT_TYPE", "type": "unsigned long", - "value": "0x00000200" + "value": [ + "0x00000200" + ] }, { "name": "SHOW_ELEMENT", "type": "unsigned long", - "value": "0x00000001" + "value": [ + "0x00000001" + ] }, { "name": "SHOW_ENTITY", "type": "unsigned long", - "value": "0x00000020" + "value": [ + "0x00000020" + ] }, { "name": "SHOW_ENTITY_REFERENCE", "type": "unsigned long", - "value": "0x00000010" + "value": [ + "0x00000010" + ] }, { "name": "SHOW_NOTATION", "type": "unsigned long", - "value": "0x00000800" + "value": [ + "0x00000800" + ] }, { "name": "SHOW_PROCESSING_INSTRUCTION", "type": "unsigned long", - "value": "0x00000040" + "value": [ + "0x00000040" + ] }, { "name": "SHOW_TEXT", "type": "unsigned long", - "value": "0x00000004" + "value": [ + "0x00000004" + ] } ] }, @@ -30356,22 +30583,19 @@ { "name": "Notification", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "title", - "type": "DOMString" - }, - { - "name": "options", - "optional": "1", - "type": "NotificationOptions" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "title", + "type": "DOMString" + }, + { + "name": "options", + "optional": "1", + "type": "NotificationOptions" + } + ] + }, "events": { "event": [ { @@ -30497,7 +30721,9 @@ "name": "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B8B" + "value": [ + "0x8B8B" + ] } ] } @@ -30519,7 +30745,9 @@ "name": "HALF_FLOAT_OES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D61" + "value": [ + "0x8D61" + ] } ] } @@ -30544,25 +30772,22 @@ { "name": "OfflineAudioContext", "extends": "AudioContext", - "constructor": [ - null, - { - "param": [ - { - "name": "numberOfChannels", - "type": "unsigned long" - }, - { - "name": "length", - "type": "unsigned long" - }, - { - "name": "sampleRate", - "type": "float" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "numberOfChannels", + "type": "unsigned long" + }, + { + "name": "length", + "type": "unsigned long" + }, + { + "name": "sampleRate", + "type": "float" + } + ] + }, "events": { "event": [ { @@ -30714,17 +30939,23 @@ { "name": "BOTH", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "HORIZONTAL", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "VERTICAL", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -30862,19 +31093,18 @@ { "name": "Path2D", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "path", - "optional": "1", - "type": "Path2D" - } - ] - } - ], - "implements": "CanvasPathMethods" + "constructor": { + "param": [ + { + "name": "path", + "optional": "1", + "type": "Path2D" + } + ] + }, + "implements": [ + "CanvasPathMethods" + ] }, { "name": "PaymentAddress", @@ -30954,26 +31184,23 @@ "name": "PaymentRequest", "extends": "EventTarget", "secure-context": "1", - "constructor": [ - null, - { - "param": [ - { - "name": "methodData", - "type": "sequence" - }, - { - "name": "details", - "type": "PaymentDetails" - }, - { - "name": "options", - "optional": "1", - "type": "PaymentOptions" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "methodData", + "type": "sequence" + }, + { + "name": "details", + "type": "PaymentDetails" + }, + { + "name": "options", + "optional": "1", + "type": "PaymentOptions" + } + ] + }, "events": { "event": [ { @@ -31037,22 +31264,19 @@ "name": "PaymentRequestUpdateEvent", "extends": "Event", "secure-context": "1", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PaymentRequestUpdateEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PaymentRequestUpdateEventInit" + } + ] + }, "methods": { "method": [ { @@ -31330,22 +31554,30 @@ { "name": "TYPE_BACK_FORWARD", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "TYPE_NAVIGATE", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "TYPE_RELOAD", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "TYPE_RESERVED", "type": "unsigned short", - "value": "255" + "value": [ + "255" + ] } ] }, @@ -31999,22 +32231,19 @@ { "name": "PointerEvent", "extends": "MouseEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PointerEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PointerEventInit" + } + ] + }, "methods": { "method": [ { @@ -32221,22 +32450,19 @@ { "name": "PopStateEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PopStateEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PopStateEventInit" + } + ] + }, "methods": { "method": [ { @@ -32299,17 +32525,23 @@ { "name": "PERMISSION_DENIED", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "POSITION_UNAVAILABLE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "TIMEOUT", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] } ] }, @@ -32364,22 +32596,19 @@ { "name": "ProgressEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ProgressEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ProgressEventInit" + } + ] + }, "methods": { "method": [ { @@ -32538,22 +32767,30 @@ { "name": "END_TO_END", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "END_TO_START", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "START_TO_END", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "START_TO_START", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -32829,24 +33066,23 @@ { "name": "Request", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "input", - "type": "(Request or DOMString)", - "type-original": "RequestInfo" - }, - { - "name": "init", - "optional": "1", - "type": "RequestInit" - } - ] - } + "constructor": { + "param": [ + { + "name": "input", + "type": "(Request or DOMString)", + "type-original": "RequestInfo" + }, + { + "name": "init", + "optional": "1", + "type": "RequestInit" + } + ] + }, + "implements": [ + "Body" ], - "implements": "Body", "methods": { "method": [ { @@ -32931,27 +33167,26 @@ { "name": "Response", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "body", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "(Blob or BufferSource or FormData or DOMString)", - "type-original": "BodyInit" - }, - { - "name": "init", - "optional": "1", - "type": "ResponseInit" - } - ] - } + "constructor": { + "param": [ + { + "name": "body", + "default": "null", + "nullable": "1", + "optional": "1", + "type": "(Blob or BufferSource or FormData or DOMString)", + "type-original": "BodyInit" + }, + { + "name": "init", + "optional": "1", + "type": "ResponseInit" + } + ] + }, + "implements": [ + "Body" ], - "implements": "Body", "methods": { "method": [ { @@ -33006,17 +33241,14 @@ { "name": "RTCDtlsTransport", "extends": "RTCStatsProvider", - "constructor": [ - null, - { - "param": [ - { - "name": "transport", - "type": "RTCIceTransport" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "transport", + "type": "RTCIceTransport" + } + ] + }, "events": { "event": [ { @@ -33107,17 +33339,14 @@ { "name": "RTCDtmfSender", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "sender", - "type": "RTCRtpSender" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "sender", + "type": "RTCRtpSender" + } + ] + }, "events": { "event": [ { @@ -33190,21 +33419,18 @@ { "name": "RTCDTMFToneChangeEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "RTCDTMFToneChangeEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCDTMFToneChangeEventInit" + } + ] + }, "properties": { "property": [ { @@ -33218,18 +33444,15 @@ { "name": "RTCIceCandidate", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "candidateInitDict", - "optional": "1", - "type": "RTCIceCandidateInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "candidateInitDict", + "optional": "1", + "type": "RTCIceCandidateInit" + } + ] + }, "methods": { "method": [ { @@ -33276,17 +33499,14 @@ { "name": "RTCIceGatherer", "extends": "RTCStatsProvider", - "constructor": [ - null, - { - "param": [ - { - "name": "options", - "type": "RTCIceGatherOptions" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "options", + "type": "RTCIceGatherOptions" + } + ] + }, "events": { "event": [ { @@ -33358,10 +33578,7 @@ { "name": "RTCIceTransport", "extends": "RTCStatsProvider", - "constructor": [ - null, - "" - ], + "constructor": {}, "events": { "event": [ { @@ -33498,17 +33715,14 @@ { "name": "RTCPeerConnection", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "configuration", - "type": "RTCConfiguration" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration" + } + ] + }, "events": { "event": [ { @@ -33800,21 +34014,18 @@ { "name": "RTCPeerConnectionIceEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "RTCPeerConnectionIceEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCPeerConnectionIceEventInit" + } + ] + }, "properties": { "property": [ { @@ -33828,27 +34039,24 @@ { "name": "RTCRtpReceiver", "extends": "RTCStatsProvider", - "constructor": [ - null, - { - "param": [ - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "kind", + "type": "DOMString" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + }, "events": { "event": [ { @@ -33950,27 +34158,24 @@ { "name": "RTCRtpSender", "extends": "RTCStatsProvider", - "constructor": [ - null, - { - "param": [ - { - "name": "track", - "type": "MediaStreamTrack" - }, - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "track", + "type": "MediaStreamTrack" + }, + { + "name": "transport", + "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "optional": "1", + "type": "RTCDtlsTransport" + } + ] + }, "events": { "event": [ { @@ -34079,18 +34284,15 @@ { "name": "RTCSessionDescription", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "descriptionInitDict", - "optional": "1", - "type": "RTCSessionDescriptionInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "descriptionInitDict", + "optional": "1", + "type": "RTCSessionDescriptionInit" + } + ] + }, "methods": { "method": [ { @@ -34119,25 +34321,22 @@ { "name": "RTCSrtpSdesTransport", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "transport", - "type": "RTCIceTransport" - }, - { - "name": "encryptParameters", - "type": "RTCSrtpSdesParameters" - }, - { - "name": "decryptParameters", - "type": "RTCSrtpSdesParameters" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "transport", + "type": "RTCIceTransport" + }, + { + "name": "encryptParameters", + "type": "RTCSrtpSdesParameters" + }, + { + "name": "decryptParameters", + "type": "RTCSrtpSdesParameters" + } + ] + }, "events": { "event": [ { @@ -34634,7 +34833,9 @@ } ] }, - "implements": "AbstractWorker", + "implements": [ + "AbstractWorker" + ], "methods": { "method": [ { @@ -34768,22 +34969,19 @@ { "name": "ServiceWorkerMessageEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ServiceWorkerMessageEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ServiceWorkerMessageEventInit" + } + ] + }, "properties": { "property": [ { @@ -35153,22 +35351,19 @@ { "name": "SpeechSynthesisEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "SpeechSynthesisEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "SpeechSynthesisEventInit" + } + ] + }, "properties": { "property": [ { @@ -35198,18 +35393,15 @@ { "name": "SpeechSynthesisUtterance", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "text", - "optional": "1", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "text", + "optional": "1", + "type": "DOMString" + } + ] + }, "events": { "event": [ { @@ -35982,7 +36174,9 @@ "namespace": "SVG" } ], - "implements": "SVGURIReference", + "implements": [ + "SVGURIReference" + ], "properties": { "property": [ { @@ -36005,27 +36199,37 @@ { "name": "SVG_ANGLETYPE_DEG", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_ANGLETYPE_GRAD", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_ANGLETYPE_RAD", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_ANGLETYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_ANGLETYPE_UNSPECIFIED", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -36446,7 +36650,9 @@ "namespace": "SVG" } ], - "implements": "SVGUnitTypes", + "implements": [ + "SVGUnitTypes" + ], "properties": { "property": [ { @@ -36469,32 +36675,44 @@ { "name": "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -36986,87 +37204,121 @@ { "name": "SVG_FEBLEND_MODE_COLOR", "type": "unsigned short", - "value": "15" + "value": [ + "15" + ] }, { "name": "SVG_FEBLEND_MODE_COLOR_BURN", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "SVG_FEBLEND_MODE_COLOR_DODGE", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "SVG_FEBLEND_MODE_DARKEN", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_FEBLEND_MODE_DIFFERENCE", "type": "unsigned short", - "value": "11" + "value": [ + "11" + ] }, { "name": "SVG_FEBLEND_MODE_EXCLUSION", "type": "unsigned short", - "value": "12" + "value": [ + "12" + ] }, { "name": "SVG_FEBLEND_MODE_HARD_LIGHT", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "SVG_FEBLEND_MODE_HUE", "type": "unsigned short", - "value": "13" + "value": [ + "13" + ] }, { "name": "SVG_FEBLEND_MODE_LIGHTEN", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "SVG_FEBLEND_MODE_LUMINOSITY", "type": "unsigned short", - "value": "16" + "value": [ + "16" + ] }, { "name": "SVG_FEBLEND_MODE_MULTIPLY", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_FEBLEND_MODE_NORMAL", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_FEBLEND_MODE_OVERLAY", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "SVG_FEBLEND_MODE_SATURATION", "type": "unsigned short", - "value": "14" + "value": [ + "14" + ] }, { "name": "SVG_FEBLEND_MODE_SCREEN", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_FEBLEND_MODE_SOFT_LIGHT", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "SVG_FEBLEND_MODE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -37076,7 +37328,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37126,27 +37380,37 @@ { "name": "SVG_FECOLORMATRIX_TYPE_HUEROTATE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_FECOLORMATRIX_TYPE_MATRIX", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_FECOLORMATRIX_TYPE_SATURATE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_FECOLORMATRIX_TYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -37156,7 +37420,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37206,7 +37472,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37238,37 +37506,51 @@ { "name": "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_ATOP", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_IN", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_OUT", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_OVER", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_FECOMPOSITE_OPERATOR_XOR", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] } ] }, @@ -37278,7 +37560,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37360,22 +37644,30 @@ { "name": "SVG_EDGEMODE_DUPLICATE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_EDGEMODE_NONE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_EDGEMODE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_EDGEMODE_WRAP", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] } ] }, @@ -37385,7 +37677,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37518,7 +37812,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37582,27 +37878,37 @@ { "name": "SVG_CHANNEL_A", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_CHANNEL_B", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_CHANNEL_G", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_CHANNEL_R", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_CHANNEL_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -37612,7 +37918,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -37725,7 +38033,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes" + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] }, { "name": "SVGFEFuncAElement", @@ -37785,7 +38095,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "methods": { "method": [ { @@ -37894,7 +38206,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes" + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] }, { "name": "SVGFEMergeNodeElement", @@ -37936,17 +38250,23 @@ { "name": "SVG_MORPHOLOGY_OPERATOR_DILATE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_MORPHOLOGY_OPERATOR_ERODE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_MORPHOLOGY_OPERATOR_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -37956,7 +38276,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -38014,7 +38336,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -38111,7 +38435,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -38262,7 +38588,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -38294,32 +38622,44 @@ { "name": "SVG_STITCHTYPE_NOSTITCH", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_STITCHTYPE_STITCH", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_STITCHTYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_TURBULENCE_TYPE_FRACTALNOISE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_TURBULENCE_TYPE_TURBULENCE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_TURBULENCE_TYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -38329,7 +38669,9 @@ "namespace": "SVG" } ], - "implements": "SVGFilterPrimitiveStandardAttributes", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ], "properties": { "property": [ { @@ -38610,22 +38952,30 @@ { "name": "SVG_SPREADMETHOD_PAD", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_SPREADMETHOD_REFLECT", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_SPREADMETHOD_REPEAT", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_SPREADMETHOD_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -38681,7 +39031,9 @@ } ] }, - "implements": "SVGTests", + "implements": [ + "SVGTests" + ], "methods": { "method": [ { @@ -38788,7 +39140,9 @@ } ] }, - "implements": "SVGURIReference", + "implements": [ + "SVGURIReference" + ], "properties": { "property": [ { @@ -38842,57 +39196,79 @@ { "name": "SVG_LENGTHTYPE_CM", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "SVG_LENGTHTYPE_EMS", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_LENGTHTYPE_EXS", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_LENGTHTYPE_IN", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "SVG_LENGTHTYPE_MM", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "SVG_LENGTHTYPE_NUMBER", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_LENGTHTYPE_PC", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "SVG_LENGTHTYPE_PERCENTAGE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_LENGTHTYPE_PT", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "SVG_LENGTHTYPE_PX", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "SVG_LENGTHTYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -39318,32 +39694,44 @@ { "name": "SVG_MARKER_ORIENT_ANGLE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_MARKER_ORIENT_AUTO", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_MARKER_ORIENT_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_MARKERUNITS_STROKEWIDTH", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_MARKERUNITS_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_MARKERUNITS_USERSPACEONUSE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -39353,7 +39741,9 @@ "namespace": "SVG" } ], - "implements": "SVGFitToViewBox", + "implements": [ + "SVGFitToViewBox" + ], "methods": { "method": [ { @@ -40331,102 +40721,142 @@ { "name": "PATHSEG_ARC_ABS", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "PATHSEG_ARC_REL", "type": "unsigned short", - "value": "11" + "value": [ + "11" + ] }, { "name": "PATHSEG_CLOSEPATH", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "PATHSEG_CURVETO_CUBIC_ABS", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "PATHSEG_CURVETO_CUBIC_REL", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS", "type": "unsigned short", - "value": "16" + "value": [ + "16" + ] }, { "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_REL", "type": "unsigned short", - "value": "17" + "value": [ + "17" + ] }, { "name": "PATHSEG_CURVETO_QUADRATIC_ABS", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "PATHSEG_CURVETO_QUADRATIC_REL", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS", "type": "unsigned short", - "value": "18" + "value": [ + "18" + ] }, { "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL", "type": "unsigned short", - "value": "19" + "value": [ + "19" + ] }, { "name": "PATHSEG_LINETO_ABS", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "PATHSEG_LINETO_HORIZONTAL_ABS", "type": "unsigned short", - "value": "12" + "value": [ + "12" + ] }, { "name": "PATHSEG_LINETO_HORIZONTAL_REL", "type": "unsigned short", - "value": "13" + "value": [ + "13" + ] }, { "name": "PATHSEG_LINETO_REL", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "PATHSEG_LINETO_VERTICAL_ABS", "type": "unsigned short", - "value": "14" + "value": [ + "14" + ] }, { "name": "PATHSEG_LINETO_VERTICAL_REL", "type": "unsigned short", - "value": "15" + "value": [ + "15" + ] }, { "name": "PATHSEG_MOVETO_ABS", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "PATHSEG_MOVETO_REL", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "PATHSEG_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -41303,7 +41733,9 @@ "namespace": "SVG" } ], - "implements": "SVGAnimatedPoints" + "implements": [ + "SVGAnimatedPoints" + ] }, { "name": "SVGPolylineElement", @@ -41443,7 +41875,9 @@ "namespace": "SVG" } ], - "implements": "SVGAnimatedPoints" + "implements": [ + "SVGAnimatedPoints" + ] }, { "name": "SVGPreserveAspectRatio", @@ -41453,72 +41887,100 @@ { "name": "SVG_MEETORSLICE_MEET", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_MEETORSLICE_SLICE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_MEETORSLICE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_NONE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMAXYMAX", "type": "unsigned short", - "value": "10" + "value": [ + "10" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMAXYMID", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMAXYMIN", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMIDYMAX", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMIDYMID", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMIDYMIN", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMINYMAX", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMINYMID", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "SVG_PRESERVEASPECTRATIO_XMINYMIN", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] } ] }, @@ -41802,7 +42264,9 @@ "namespace": "SVG" } ], - "implements": "SVGURIReference", + "implements": [ + "SVGURIReference" + ], "properties": { "property": [ { @@ -42505,7 +42969,9 @@ "namespace": "SVG" } ], - "implements": "SVGFitToViewBox" + "implements": [ + "SVGFitToViewBox" + ] }, { "name": "SVGTextContentElement", @@ -42515,17 +42981,23 @@ { "name": "LENGTHADJUST_SPACING", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "LENGTHADJUST_SPACINGANDGLYPHS", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "LENGTHADJUST_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -43037,32 +43509,44 @@ { "name": "TEXTPATH_METHODTYPE_ALIGN", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "TEXTPATH_METHODTYPE_STRETCH", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "TEXTPATH_METHODTYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "TEXTPATH_SPACINGTYPE_AUTO", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "TEXTPATH_SPACINGTYPE_EXACT", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "TEXTPATH_SPACINGTYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -43072,7 +43556,9 @@ "namespace": "SVG" } ], - "implements": "SVGURIReference", + "implements": [ + "SVGURIReference" + ], "properties": { "property": [ { @@ -43179,37 +43665,51 @@ { "name": "SVG_TRANSFORM_MATRIX", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_TRANSFORM_ROTATE", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "SVG_TRANSFORM_SCALE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "SVG_TRANSFORM_SKEWX", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "SVG_TRANSFORM_SKEWY", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] }, { "name": "SVG_TRANSFORM_TRANSLATE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_TRANSFORM_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -43609,17 +44109,23 @@ { "name": "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_UNIT_TYPE_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SVG_UNIT_TYPE_USERSPACEONUSE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] } @@ -43682,7 +44188,9 @@ "namespace": "SVG" } ], - "implements": "SVGURIReference", + "implements": [ + "SVGURIReference" + ], "properties": { "property": [ { @@ -43774,17 +44282,23 @@ { "name": "SVG_ZOOMANDPAN_DISABLE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "SVG_ZOOMANDPAN_MAGNIFY", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "SVG_ZOOMANDPAN_UNKNOWN", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -43908,52 +44422,72 @@ { "name": "DOM_INPUT_METHOD_DROP", "type": "unsigned long", - "value": "0x03" + "value": [ + "0x03" + ] }, { "name": "DOM_INPUT_METHOD_HANDWRITING", "type": "unsigned long", - "value": "0x06" + "value": [ + "0x06" + ] }, { "name": "DOM_INPUT_METHOD_IME", "type": "unsigned long", - "value": "0x04" + "value": [ + "0x04" + ] }, { "name": "DOM_INPUT_METHOD_KEYBOARD", "type": "unsigned long", - "value": "0x01" + "value": [ + "0x01" + ] }, { "name": "DOM_INPUT_METHOD_MULTIMODAL", "type": "unsigned long", - "value": "0x08" + "value": [ + "0x08" + ] }, { "name": "DOM_INPUT_METHOD_OPTION", "type": "unsigned long", - "value": "0x05" + "value": [ + "0x05" + ] }, { "name": "DOM_INPUT_METHOD_PASTE", "type": "unsigned long", - "value": "0x02" + "value": [ + "0x02" + ] }, { "name": "DOM_INPUT_METHOD_SCRIPT", "type": "unsigned long", - "value": "0x09" + "value": [ + "0x09" + ] }, { "name": "DOM_INPUT_METHOD_UNKNOWN", "type": "unsigned long", - "value": "0x00" + "value": [ + "0x00" + ] }, { "name": "DOM_INPUT_METHOD_VOICE", "type": "unsigned long", - "value": "0x07" + "value": [ + "0x07" + ] } ] }, @@ -44036,37 +44570,51 @@ { "name": "DISABLED", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "ERROR", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "HIDDEN", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "LOADED", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "LOADING", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "NONE", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "SHOWING", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] } ] }, @@ -44178,25 +44726,22 @@ { "name": "TextTrackCue", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "startTime", - "type": "double" - }, - { - "name": "endTime", - "type": "double" - }, - { - "name": "text", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "startTime", + "type": "double" + }, + { + "name": "endTime", + "type": "double" + }, + { + "name": "text", + "type": "DOMString" + } + ] + }, "events": { "event": [ { @@ -44524,22 +45069,19 @@ { "name": "TrackEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "TrackEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "TrackEventInit" + } + ] + }, "properties": { "property": [ { @@ -44554,22 +45096,19 @@ { "name": "TransitionEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "TransitionEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "TransitionEventInit" + } + ] + }, "methods": { "method": [ { @@ -44682,22 +45221,19 @@ { "name": "UIEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "UIEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "UIEventInit" + } + ] + }, "methods": { "method": [ { @@ -44761,22 +45297,19 @@ { "name": "URL", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "url", - "type": "DOMString" - }, - { - "name": "base", - "optional": "1", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "url", + "type": "DOMString" + }, + { + "name": "base", + "optional": "1", + "type": "DOMString" + } + ] + }, "methods": { "method": [ { @@ -45174,25 +45707,33 @@ "name": "COMPRESSED_RGB_S3TC_DXT1_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x83F0" + "value": [ + "0x83F0" + ] }, { "name": "COMPRESSED_RGBA_S3TC_DXT1_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x83F1" + "value": [ + "0x83F1" + ] }, { "name": "COMPRESSED_RGBA_S3TC_DXT3_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x83F2" + "value": [ + "0x83F2" + ] }, { "name": "COMPRESSED_RGBA_S3TC_DXT5_EXT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x83F3" + "value": [ + "0x83F3" + ] } ] } @@ -45206,13 +45747,17 @@ "name": "UNMASKED_RENDERER_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9246" + "value": [ + "0x9246" + ] }, { "name": "UNMASKED_VENDOR_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9245" + "value": [ + "0x9245" + ] } ] } @@ -45226,7 +45771,9 @@ "name": "UNSIGNED_INT_24_8_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84FA" + "value": [ + "0x84FA" + ] } ] } @@ -45263,22 +45810,19 @@ { "name": "WebGLContextEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "WebGLContextEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "WebGLContextEventInit" + } + ] + }, "properties": { "property": [ { @@ -45314,1783 +45858,2377 @@ "name": "ACTIVE_ATTRIBUTES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B89" + "value": [ + "0x8B89" + ] }, { "name": "ACTIVE_TEXTURE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84E0" + "value": [ + "0x84E0" + ] }, { "name": "ACTIVE_UNIFORMS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B86" + "value": [ + "0x8B86" + ] }, { "name": "ALIASED_LINE_WIDTH_RANGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x846E" + "value": [ + "0x846E" + ] }, { "name": "ALIASED_POINT_SIZE_RANGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x846D" + "value": [ + "0x846D" + ] }, { "name": "ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1906" + "value": [ + "0x1906" + ] }, { "name": "ALPHA_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D55" + "value": [ + "0x0D55" + ] }, { "name": "ALWAYS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0207" + "value": [ + "0x0207" + ] }, { "name": "ARRAY_BUFFER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8892" + "value": [ + "0x8892" + ] }, { "name": "ARRAY_BUFFER_BINDING", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8894" + "value": [ + "0x8894" + ] }, { "name": "ATTACHED_SHADERS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B85" + "value": [ + "0x8B85" + ] }, { "name": "BACK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0405" + "value": [ + "0x0405" + ] }, { "name": "BLEND", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0BE2" + "value": [ + "0x0BE2" + ] }, { "name": "BLEND_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8005" + "value": [ + "0x8005" + ] }, { "name": "BLEND_DST_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80CA" + "value": [ + "0x80CA" + ] }, { "name": "BLEND_DST_RGB", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80C8" + "value": [ + "0x80C8" + ] }, { "name": "BLEND_EQUATION", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8009" + "value": [ + "0x8009" + ] }, { "name": "BLEND_EQUATION_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x883D" + "value": [ + "0x883D" + ] }, { "name": "BLEND_EQUATION_RGB", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8009" + "value": [ + "0x8009" + ] }, { "name": "BLEND_SRC_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80CB" + "value": [ + "0x80CB" + ] }, { "name": "BLEND_SRC_RGB", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80C9" + "value": [ + "0x80C9" + ] }, { "name": "BLUE_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D54" + "value": [ + "0x0D54" + ] }, { "name": "BOOL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B56" + "value": [ + "0x8B56" + ] }, { "name": "BOOL_VEC2", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B57" + "value": [ + "0x8B57" + ] }, { "name": "BOOL_VEC3", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B58" + "value": [ + "0x8B58" + ] }, { "name": "BOOL_VEC4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B59" + "value": [ + "0x8B59" + ] }, { "name": "BROWSER_DEFAULT_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9244" + "value": [ + "0x9244" + ] }, { "name": "BUFFER_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8764" + "value": [ + "0x8764" + ] }, { "name": "BUFFER_USAGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8765" + "value": [ + "0x8765" + ] }, { "name": "BYTE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1400" + "value": [ + "0x1400" + ] }, { "name": "CCW", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0901" + "value": [ + "0x0901" + ] }, { "name": "CLAMP_TO_EDGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x812F" + "value": [ + "0x812F" + ] }, { "name": "COLOR_ATTACHMENT0", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CE0" + "value": [ + "0x8CE0" + ] }, { "name": "COLOR_BUFFER_BIT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x00004000" + "value": [ + "0x00004000" + ] }, { "name": "COLOR_CLEAR_VALUE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0C22" + "value": [ + "0x0C22" + ] }, { "name": "COLOR_WRITEMASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0C23" + "value": [ + "0x0C23" + ] }, { "name": "COMPILE_STATUS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B81" + "value": [ + "0x8B81" + ] }, { "name": "COMPRESSED_TEXTURE_FORMATS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x86A3" + "value": [ + "0x86A3" + ] }, { "name": "CONSTANT_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8003" + "value": [ + "0x8003" + ] }, { "name": "CONSTANT_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8001" + "value": [ + "0x8001" + ] }, { "name": "CONTEXT_LOST_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9242" + "value": [ + "0x9242" + ] }, { "name": "CULL_FACE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B44" + "value": [ + "0x0B44" + ] }, { "name": "CULL_FACE_MODE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B45" + "value": [ + "0x0B45" + ] }, { "name": "CURRENT_PROGRAM", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B8D" + "value": [ + "0x8B8D" + ] }, { "name": "CURRENT_VERTEX_ATTRIB", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8626" + "value": [ + "0x8626" + ] }, { "name": "CW", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0900" + "value": [ + "0x0900" + ] }, { "name": "DECR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1E03" + "value": [ + "0x1E03" + ] }, { "name": "DECR_WRAP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8508" + "value": [ + "0x8508" + ] }, { "name": "DELETE_STATUS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B80" + "value": [ + "0x8B80" + ] }, { "name": "DEPTH_ATTACHMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D00" + "value": [ + "0x8D00" + ] }, { "name": "DEPTH_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D56" + "value": [ + "0x0D56" + ] }, { "name": "DEPTH_BUFFER_BIT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x00000100" + "value": [ + "0x00000100" + ] }, { "name": "DEPTH_CLEAR_VALUE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B73" + "value": [ + "0x0B73" + ] }, { "name": "DEPTH_COMPONENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1902" + "value": [ + "0x1902" + ] }, { "name": "DEPTH_COMPONENT16", "type": "unsigned long", "type-original": "GLenum", - "value": "0x81A5" + "value": [ + "0x81A5" + ] }, { "name": "DEPTH_FUNC", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B74" + "value": [ + "0x0B74" + ] }, { "name": "DEPTH_RANGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B70" + "value": [ + "0x0B70" + ] }, { "name": "DEPTH_STENCIL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84F9" + "value": [ + "0x84F9" + ] }, { "name": "DEPTH_STENCIL_ATTACHMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x821A" + "value": [ + "0x821A" + ] }, { "name": "DEPTH_TEST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B71" + "value": [ + "0x0B71" + ] }, { "name": "DEPTH_WRITEMASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B72" + "value": [ + "0x0B72" + ] }, { "name": "DITHER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0BD0" + "value": [ + "0x0BD0" + ] }, { "name": "DONT_CARE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1100" + "value": [ + "0x1100" + ] }, { "name": "DST_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0304" + "value": [ + "0x0304" + ] }, { "name": "DST_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0306" + "value": [ + "0x0306" + ] }, { "name": "DYNAMIC_DRAW", "type": "unsigned long", "type-original": "GLenum", - "value": "0x88E8" + "value": [ + "0x88E8" + ] }, { "name": "ELEMENT_ARRAY_BUFFER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8893" + "value": [ + "0x8893" + ] }, { "name": "ELEMENT_ARRAY_BUFFER_BINDING", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8895" + "value": [ + "0x8895" + ] }, { "name": "EQUAL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0202" + "value": [ + "0x0202" + ] }, { "name": "FASTEST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1101" + "value": [ + "0x1101" + ] }, { "name": "FLOAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1406" + "value": [ + "0x1406" + ] }, { "name": "FLOAT_MAT2", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B5A" + "value": [ + "0x8B5A" + ] }, { "name": "FLOAT_MAT3", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B5B" + "value": [ + "0x8B5B" + ] }, { "name": "FLOAT_MAT4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B5C" + "value": [ + "0x8B5C" + ] }, { "name": "FLOAT_VEC2", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B50" + "value": [ + "0x8B50" + ] }, { "name": "FLOAT_VEC3", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B51" + "value": [ + "0x8B51" + ] }, { "name": "FLOAT_VEC4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B52" + "value": [ + "0x8B52" + ] }, { "name": "FRAGMENT_SHADER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B30" + "value": [ + "0x8B30" + ] }, { "name": "FRAMEBUFFER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D40" + "value": [ + "0x8D40" + ] }, { "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD1" + "value": [ + "0x8CD1" + ] }, { "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD0" + "value": [ + "0x8CD0" + ] }, { "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD3" + "value": [ + "0x8CD3" + ] }, { "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD2" + "value": [ + "0x8CD2" + ] }, { "name": "FRAMEBUFFER_BINDING", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CA6" + "value": [ + "0x8CA6" + ] }, { "name": "FRAMEBUFFER_COMPLETE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD5" + "value": [ + "0x8CD5" + ] }, { "name": "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD6" + "value": [ + "0x8CD6" + ] }, { "name": "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD9" + "value": [ + "0x8CD9" + ] }, { "name": "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CD7" + "value": [ + "0x8CD7" + ] }, { "name": "FRAMEBUFFER_UNSUPPORTED", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CDD" + "value": [ + "0x8CDD" + ] }, { "name": "FRONT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0404" + "value": [ + "0x0404" + ] }, { "name": "FRONT_AND_BACK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0408" + "value": [ + "0x0408" + ] }, { "name": "FRONT_FACE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B46" + "value": [ + "0x0B46" + ] }, { "name": "FUNC_ADD", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8006" + "value": [ + "0x8006" + ] }, { "name": "FUNC_REVERSE_SUBTRACT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x800B" + "value": [ + "0x800B" + ] }, { "name": "FUNC_SUBTRACT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x800A" + "value": [ + "0x800A" + ] }, { "name": "GENERATE_MIPMAP_HINT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8192" + "value": [ + "0x8192" + ] }, { "name": "GEQUAL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0206" + "value": [ + "0x0206" + ] }, { "name": "GREATER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0204" + "value": [ + "0x0204" + ] }, { "name": "GREEN_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D53" + "value": [ + "0x0D53" + ] }, { "name": "HIGH_FLOAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF2" + "value": [ + "0x8DF2" + ] }, { "name": "HIGH_INT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF5" + "value": [ + "0x8DF5" + ] }, { "name": "IMPLEMENTATION_COLOR_READ_FORMAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B9B" + "value": [ + "0x8B9B" + ] }, { "name": "IMPLEMENTATION_COLOR_READ_TYPE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B9A" + "value": [ + "0x8B9A" + ] }, { "name": "INCR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1E02" + "value": [ + "0x1E02" + ] }, { "name": "INCR_WRAP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8507" + "value": [ + "0x8507" + ] }, { "name": "INT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1404" + "value": [ + "0x1404" + ] }, { "name": "INT_VEC2", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B53" + "value": [ + "0x8B53" + ] }, { "name": "INT_VEC3", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B54" + "value": [ + "0x8B54" + ] }, { "name": "INT_VEC4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B55" + "value": [ + "0x8B55" + ] }, { "name": "INVALID_ENUM", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0500" + "value": [ + "0x0500" + ] }, { "name": "INVALID_FRAMEBUFFER_OPERATION", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0506" + "value": [ + "0x0506" + ] }, { "name": "INVALID_OPERATION", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0502" + "value": [ + "0x0502" + ] }, { "name": "INVALID_VALUE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0501" + "value": [ + "0x0501" + ] }, { "name": "INVERT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x150A" + "value": [ + "0x150A" + ] }, { "name": "KEEP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1E00" + "value": [ + "0x1E00" + ] }, { "name": "LEQUAL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0203" + "value": [ + "0x0203" + ] }, { "name": "LESS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0201" + "value": [ + "0x0201" + ] }, { "name": "LINE_LOOP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0002" + "value": [ + "0x0002" + ] }, { "name": "LINE_STRIP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0003" + "value": [ + "0x0003" + ] }, { "name": "LINE_WIDTH", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B21" + "value": [ + "0x0B21" + ] }, { "name": "LINEAR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2601" + "value": [ + "0x2601" + ] }, { "name": "LINEAR_MIPMAP_LINEAR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2703" + "value": [ + "0x2703" + ] }, { "name": "LINEAR_MIPMAP_NEAREST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2701" + "value": [ + "0x2701" + ] }, { "name": "LINES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0001" + "value": [ + "0x0001" + ] }, { "name": "LINK_STATUS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B82" + "value": [ + "0x8B82" + ] }, { "name": "LOW_FLOAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF0" + "value": [ + "0x8DF0" + ] }, { "name": "LOW_INT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF3" + "value": [ + "0x8DF3" + ] }, { "name": "LUMINANCE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1909" + "value": [ + "0x1909" + ] }, { "name": "LUMINANCE_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x190A" + "value": [ + "0x190A" + ] }, { "name": "MAX_COMBINED_TEXTURE_IMAGE_UNITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B4D" + "value": [ + "0x8B4D" + ] }, { "name": "MAX_CUBE_MAP_TEXTURE_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x851C" + "value": [ + "0x851C" + ] }, { "name": "MAX_FRAGMENT_UNIFORM_VECTORS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DFD" + "value": [ + "0x8DFD" + ] }, { "name": "MAX_RENDERBUFFER_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84E8" + "value": [ + "0x84E8" + ] }, { "name": "MAX_TEXTURE_IMAGE_UNITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8872" + "value": [ + "0x8872" + ] }, { "name": "MAX_TEXTURE_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D33" + "value": [ + "0x0D33" + ] }, { "name": "MAX_VARYING_VECTORS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DFC" + "value": [ + "0x8DFC" + ] }, { "name": "MAX_VERTEX_ATTRIBS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8869" + "value": [ + "0x8869" + ] }, { "name": "MAX_VERTEX_TEXTURE_IMAGE_UNITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B4C" + "value": [ + "0x8B4C" + ] }, { "name": "MAX_VERTEX_UNIFORM_VECTORS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DFB" + "value": [ + "0x8DFB" + ] }, { "name": "MAX_VIEWPORT_DIMS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D3A" + "value": [ + "0x0D3A" + ] }, { "name": "MEDIUM_FLOAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF1" + "value": [ + "0x8DF1" + ] }, { "name": "MEDIUM_INT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8DF4" + "value": [ + "0x8DF4" + ] }, { "name": "MIRRORED_REPEAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8370" + "value": [ + "0x8370" + ] }, { "name": "NEAREST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2600" + "value": [ + "0x2600" + ] }, { "name": "NEAREST_MIPMAP_LINEAR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2702" + "value": [ + "0x2702" + ] }, { "name": "NEAREST_MIPMAP_NEAREST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2700" + "value": [ + "0x2700" + ] }, { "name": "NEVER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0200" + "value": [ + "0x0200" + ] }, { "name": "NICEST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1102" + "value": [ + "0x1102" + ] }, { "name": "NO_ERROR", "type": "unsigned long", "type-original": "GLenum", - "value": "0" + "value": [ + "0" + ] }, { "name": "NONE", "type": "unsigned long", "type-original": "GLenum", - "value": "0" + "value": [ + "0" + ] }, { "name": "NOTEQUAL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0205" + "value": [ + "0x0205" + ] }, { "name": "ONE", "type": "unsigned long", "type-original": "GLenum", - "value": "1" + "value": [ + "1" + ] }, { "name": "ONE_MINUS_CONSTANT_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8004" + "value": [ + "0x8004" + ] }, { "name": "ONE_MINUS_CONSTANT_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8002" + "value": [ + "0x8002" + ] }, { "name": "ONE_MINUS_DST_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0305" + "value": [ + "0x0305" + ] }, { "name": "ONE_MINUS_DST_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0307" + "value": [ + "0x0307" + ] }, { "name": "ONE_MINUS_SRC_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0303" + "value": [ + "0x0303" + ] }, { "name": "ONE_MINUS_SRC_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0301" + "value": [ + "0x0301" + ] }, { "name": "OUT_OF_MEMORY", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0505" + "value": [ + "0x0505" + ] }, { "name": "PACK_ALIGNMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D05" + "value": [ + "0x0D05" + ] }, { "name": "POINTS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0000" + "value": [ + "0x0000" + ] }, { "name": "POLYGON_OFFSET_FACTOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8038" + "value": [ + "0x8038" + ] }, { "name": "POLYGON_OFFSET_FILL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8037" + "value": [ + "0x8037" + ] }, { "name": "POLYGON_OFFSET_UNITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2A00" + "value": [ + "0x2A00" + ] }, { "name": "RED_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D52" + "value": [ + "0x0D52" + ] }, { "name": "RENDERBUFFER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D41" + "value": [ + "0x8D41" + ] }, { "name": "RENDERBUFFER_ALPHA_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D53" + "value": [ + "0x8D53" + ] }, { "name": "RENDERBUFFER_BINDING", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CA7" + "value": [ + "0x8CA7" + ] }, { "name": "RENDERBUFFER_BLUE_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D52" + "value": [ + "0x8D52" + ] }, { "name": "RENDERBUFFER_DEPTH_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D54" + "value": [ + "0x8D54" + ] }, { "name": "RENDERBUFFER_GREEN_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D51" + "value": [ + "0x8D51" + ] }, { "name": "RENDERBUFFER_HEIGHT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D43" + "value": [ + "0x8D43" + ] }, { "name": "RENDERBUFFER_INTERNAL_FORMAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D44" + "value": [ + "0x8D44" + ] }, { "name": "RENDERBUFFER_RED_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D50" + "value": [ + "0x8D50" + ] }, { "name": "RENDERBUFFER_STENCIL_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D55" + "value": [ + "0x8D55" + ] }, { "name": "RENDERBUFFER_WIDTH", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D42" + "value": [ + "0x8D42" + ] }, { "name": "RENDERER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1F01" + "value": [ + "0x1F01" + ] }, { "name": "REPEAT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2901" + "value": [ + "0x2901" + ] }, { "name": "REPLACE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1E01" + "value": [ + "0x1E01" + ] }, { "name": "RGB", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1907" + "value": [ + "0x1907" + ] }, { "name": "RGB5_A1", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8057" + "value": [ + "0x8057" + ] }, { "name": "RGB565", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D62" + "value": [ + "0x8D62" + ] }, { "name": "RGBA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1908" + "value": [ + "0x1908" + ] }, { "name": "RGBA4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8056" + "value": [ + "0x8056" + ] }, { "name": "SAMPLE_ALPHA_TO_COVERAGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x809E" + "value": [ + "0x809E" + ] }, { "name": "SAMPLE_BUFFERS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80A8" + "value": [ + "0x80A8" + ] }, { "name": "SAMPLE_COVERAGE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80A0" + "value": [ + "0x80A0" + ] }, { "name": "SAMPLE_COVERAGE_INVERT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80AB" + "value": [ + "0x80AB" + ] }, { "name": "SAMPLE_COVERAGE_VALUE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80AA" + "value": [ + "0x80AA" + ] }, { "name": "SAMPLER_2D", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B5E" + "value": [ + "0x8B5E" + ] }, { "name": "SAMPLER_CUBE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B60" + "value": [ + "0x8B60" + ] }, { "name": "SAMPLES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x80A9" + "value": [ + "0x80A9" + ] }, { "name": "SCISSOR_BOX", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0C10" + "value": [ + "0x0C10" + ] }, { "name": "SCISSOR_TEST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0C11" + "value": [ + "0x0C11" + ] }, { "name": "SHADER_TYPE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B4F" + "value": [ + "0x8B4F" + ] }, { "name": "SHADING_LANGUAGE_VERSION", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B8C" + "value": [ + "0x8B8C" + ] }, { "name": "SHORT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1402" + "value": [ + "0x1402" + ] }, { "name": "SRC_ALPHA", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0302" + "value": [ + "0x0302" + ] }, { "name": "SRC_ALPHA_SATURATE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0308" + "value": [ + "0x0308" + ] }, { "name": "SRC_COLOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0300" + "value": [ + "0x0300" + ] }, { "name": "STATIC_DRAW", "type": "unsigned long", "type-original": "GLenum", - "value": "0x88E4" + "value": [ + "0x88E4" + ] }, { "name": "STENCIL_ATTACHMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D20" + "value": [ + "0x8D20" + ] }, { "name": "STENCIL_BACK_FAIL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8801" + "value": [ + "0x8801" + ] }, { "name": "STENCIL_BACK_FUNC", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8800" + "value": [ + "0x8800" + ] }, { "name": "STENCIL_BACK_PASS_DEPTH_FAIL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8802" + "value": [ + "0x8802" + ] }, { "name": "STENCIL_BACK_PASS_DEPTH_PASS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8803" + "value": [ + "0x8803" + ] }, { "name": "STENCIL_BACK_REF", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CA3" + "value": [ + "0x8CA3" + ] }, { "name": "STENCIL_BACK_VALUE_MASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CA4" + "value": [ + "0x8CA4" + ] }, { "name": "STENCIL_BACK_WRITEMASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8CA5" + "value": [ + "0x8CA5" + ] }, { "name": "STENCIL_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D57" + "value": [ + "0x0D57" + ] }, { "name": "STENCIL_BUFFER_BIT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x00000400" + "value": [ + "0x00000400" + ] }, { "name": "STENCIL_CLEAR_VALUE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B91" + "value": [ + "0x0B91" + ] }, { "name": "STENCIL_FAIL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B94" + "value": [ + "0x0B94" + ] }, { "name": "STENCIL_FUNC", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B92" + "value": [ + "0x0B92" + ] }, { "name": "STENCIL_INDEX", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1901" + "value": [ + "0x1901" + ] }, { "name": "STENCIL_INDEX8", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8D48" + "value": [ + "0x8D48" + ] }, { "name": "STENCIL_PASS_DEPTH_FAIL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B95" + "value": [ + "0x0B95" + ] }, { "name": "STENCIL_PASS_DEPTH_PASS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B96" + "value": [ + "0x0B96" + ] }, { "name": "STENCIL_REF", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B97" + "value": [ + "0x0B97" + ] }, { "name": "STENCIL_TEST", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B90" + "value": [ + "0x0B90" + ] }, { "name": "STENCIL_VALUE_MASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B93" + "value": [ + "0x0B93" + ] }, { "name": "STENCIL_WRITEMASK", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0B98" + "value": [ + "0x0B98" + ] }, { "name": "STREAM_DRAW", "type": "unsigned long", "type-original": "GLenum", - "value": "0x88E0" + "value": [ + "0x88E0" + ] }, { "name": "SUBPIXEL_BITS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0D50" + "value": [ + "0x0D50" + ] }, { "name": "TEXTURE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1702" + "value": [ + "0x1702" + ] }, { "name": "TEXTURE_2D", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0DE1" + "value": [ + "0x0DE1" + ] }, { "name": "TEXTURE_BINDING_2D", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8069" + "value": [ + "0x8069" + ] }, { "name": "TEXTURE_BINDING_CUBE_MAP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8514" + "value": [ + "0x8514" + ] }, { "name": "TEXTURE_CUBE_MAP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8513" + "value": [ + "0x8513" + ] }, { "name": "TEXTURE_CUBE_MAP_NEGATIVE_X", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8516" + "value": [ + "0x8516" + ] }, { "name": "TEXTURE_CUBE_MAP_NEGATIVE_Y", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8518" + "value": [ + "0x8518" + ] }, { "name": "TEXTURE_CUBE_MAP_NEGATIVE_Z", "type": "unsigned long", "type-original": "GLenum", - "value": "0x851A" + "value": [ + "0x851A" + ] }, { "name": "TEXTURE_CUBE_MAP_POSITIVE_X", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8515" + "value": [ + "0x8515" + ] }, { "name": "TEXTURE_CUBE_MAP_POSITIVE_Y", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8517" + "value": [ + "0x8517" + ] }, { "name": "TEXTURE_CUBE_MAP_POSITIVE_Z", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8519" + "value": [ + "0x8519" + ] }, { "name": "TEXTURE_MAG_FILTER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2800" + "value": [ + "0x2800" + ] }, { "name": "TEXTURE_MIN_FILTER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2801" + "value": [ + "0x2801" + ] }, { "name": "TEXTURE_WRAP_S", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2802" + "value": [ + "0x2802" + ] }, { "name": "TEXTURE_WRAP_T", "type": "unsigned long", "type-original": "GLenum", - "value": "0x2803" + "value": [ + "0x2803" + ] }, { "name": "TEXTURE0", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C0" + "value": [ + "0x84C0" + ] }, { "name": "TEXTURE1", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C1" + "value": [ + "0x84C1" + ] }, { "name": "TEXTURE10", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CA" + "value": [ + "0x84CA" + ] }, { "name": "TEXTURE11", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CB" + "value": [ + "0x84CB" + ] }, { "name": "TEXTURE12", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CC" + "value": [ + "0x84CC" + ] }, { "name": "TEXTURE13", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CD" + "value": [ + "0x84CD" + ] }, { "name": "TEXTURE14", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CE" + "value": [ + "0x84CE" + ] }, { "name": "TEXTURE15", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84CF" + "value": [ + "0x84CF" + ] }, { "name": "TEXTURE16", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D0" + "value": [ + "0x84D0" + ] }, { "name": "TEXTURE17", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D1" + "value": [ + "0x84D1" + ] }, { "name": "TEXTURE18", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D2" + "value": [ + "0x84D2" + ] }, { "name": "TEXTURE19", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D3" + "value": [ + "0x84D3" + ] }, { "name": "TEXTURE2", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C2" + "value": [ + "0x84C2" + ] }, { "name": "TEXTURE20", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D4" + "value": [ + "0x84D4" + ] }, { "name": "TEXTURE21", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D5" + "value": [ + "0x84D5" + ] }, { "name": "TEXTURE22", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D6" + "value": [ + "0x84D6" + ] }, { "name": "TEXTURE23", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D7" + "value": [ + "0x84D7" + ] }, { "name": "TEXTURE24", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D8" + "value": [ + "0x84D8" + ] }, { "name": "TEXTURE25", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84D9" + "value": [ + "0x84D9" + ] }, { "name": "TEXTURE26", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DA" + "value": [ + "0x84DA" + ] }, { "name": "TEXTURE27", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DB" + "value": [ + "0x84DB" + ] }, { "name": "TEXTURE28", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DC" + "value": [ + "0x84DC" + ] }, { "name": "TEXTURE29", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DD" + "value": [ + "0x84DD" + ] }, { "name": "TEXTURE3", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C3" + "value": [ + "0x84C3" + ] }, { "name": "TEXTURE30", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DE" + "value": [ + "0x84DE" + ] }, { "name": "TEXTURE31", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84DF" + "value": [ + "0x84DF" + ] }, { "name": "TEXTURE4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C4" + "value": [ + "0x84C4" + ] }, { "name": "TEXTURE5", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C5" + "value": [ + "0x84C5" + ] }, { "name": "TEXTURE6", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C6" + "value": [ + "0x84C6" + ] }, { "name": "TEXTURE7", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C7" + "value": [ + "0x84C7" + ] }, { "name": "TEXTURE8", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C8" + "value": [ + "0x84C8" + ] }, { "name": "TEXTURE9", "type": "unsigned long", "type-original": "GLenum", - "value": "0x84C9" + "value": [ + "0x84C9" + ] }, { "name": "TRIANGLE_FAN", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0006" + "value": [ + "0x0006" + ] }, { "name": "TRIANGLE_STRIP", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0005" + "value": [ + "0x0005" + ] }, { "name": "TRIANGLES", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0004" + "value": [ + "0x0004" + ] }, { "name": "UNPACK_ALIGNMENT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0CF5" + "value": [ + "0x0CF5" + ] }, { "name": "UNPACK_COLORSPACE_CONVERSION_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9243" + "value": [ + "0x9243" + ] }, { "name": "UNPACK_FLIP_Y_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9240" + "value": [ + "0x9240" + ] }, { "name": "UNPACK_PREMULTIPLY_ALPHA_WEBGL", "type": "unsigned long", "type-original": "GLenum", - "value": "0x9241" + "value": [ + "0x9241" + ] }, { "name": "UNSIGNED_BYTE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1401" + "value": [ + "0x1401" + ] }, { "name": "UNSIGNED_INT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1405" + "value": [ + "0x1405" + ] }, { "name": "UNSIGNED_SHORT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1403" + "value": [ + "0x1403" + ] }, { "name": "UNSIGNED_SHORT_4_4_4_4", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8033" + "value": [ + "0x8033" + ] }, { "name": "UNSIGNED_SHORT_5_5_5_1", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8034" + "value": [ + "0x8034" + ] }, { "name": "UNSIGNED_SHORT_5_6_5", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8363" + "value": [ + "0x8363" + ] }, { "name": "VALIDATE_STATUS", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B83" + "value": [ + "0x8B83" + ] }, { "name": "VENDOR", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1F00" + "value": [ + "0x1F00" + ] }, { "name": "VERSION", "type": "unsigned long", "type-original": "GLenum", - "value": "0x1F02" + "value": [ + "0x1F02" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", "type": "unsigned long", "type-original": "GLenum", - "value": "0x889F" + "value": [ + "0x889F" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_ENABLED", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8622" + "value": [ + "0x8622" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_NORMALIZED", "type": "unsigned long", "type-original": "GLenum", - "value": "0x886A" + "value": [ + "0x886A" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_POINTER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8645" + "value": [ + "0x8645" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_SIZE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8623" + "value": [ + "0x8623" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_STRIDE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8624" + "value": [ + "0x8624" + ] }, { "name": "VERTEX_ATTRIB_ARRAY_TYPE", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8625" + "value": [ + "0x8625" + ] }, { "name": "VERTEX_SHADER", "type": "unsigned long", "type-original": "GLenum", - "value": "0x8B31" + "value": [ + "0x8B31" + ] }, { "name": "VIEWPORT", "type": "unsigned long", "type-original": "GLenum", - "value": "0x0BA2" + "value": [ + "0x0BA2" + ] }, { "name": "ZERO", "type": "unsigned long", "type-original": "GLenum", - "value": "0" + "value": [ + "0" + ] } ] }, @@ -49483,18 +50621,15 @@ { "name": "WebKitCSSMatrix", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "text", - "optional": "1", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "text", + "optional": "1", + "type": "DOMString" + } + ] + }, "methods": { "method": [ { @@ -49838,25 +50973,22 @@ { "name": "WebKitPoint", "extends": "Object", - "constructor": [ - null, - { - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "float" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "float" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "x", + "default": "0", + "optional": "1", + "type": "float" + }, + { + "name": "y", + "default": "0", + "optional": "1", + "type": "float" + } + ] + }, "properties": { "property": [ { @@ -49873,17 +51005,14 @@ { "name": "webkitRTCPeerConnection", "extends": "RTCPeerConnection", - "constructor": [ - null, - { - "param": [ - { - "name": "configuration", - "type": "RTCConfiguration" - } - ] - } - ] + "constructor": { + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration" + } + ] + } }, { "name": "WebSocket", @@ -49893,41 +51022,46 @@ { "name": "CLOSED", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "CLOSING", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "CONNECTING", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "OPEN", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] + } + ] + }, + "constructor": { + "param": [ + { + "name": "url", + "type": "DOMString" + }, + { + "name": "protocols", + "optional": "1", + "type": "(DOMString or DOMString[])" } ] }, - "constructor": [ - null, - { - "param": [ - { - "name": "url", - "type": "DOMString" - }, - { - "name": "protocols", - "optional": "1", - "type": "(DOMString or DOMString[])" - } - ] - } - ], "events": { "event": [ { @@ -50048,36 +51182,39 @@ { "name": "DOM_DELTA_LINE", "type": "unsigned long", - "value": "0x01" + "value": [ + "0x01" + ] }, { "name": "DOM_DELTA_PAGE", "type": "unsigned long", - "value": "0x02" + "value": [ + "0x02" + ] }, { "name": "DOM_DELTA_PIXEL", "type": "unsigned long", - "value": "0x00" + "value": [ + "0x00" + ] + } + ] + }, + "constructor": { + "param": [ + { + "name": "typeArg", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "WheelEventInit" } ] }, - "constructor": [ - null, - { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "WheelEventInit" - } - ] - } - ], "methods": { "method": [ { @@ -51525,17 +52662,14 @@ { "name": "Worker", "extends": "EventTarget", - "constructor": [ - null, - { - "param": [ - { - "name": "stringUrl", - "type": "DOMString" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "stringUrl", + "type": "DOMString" + } + ] + }, "events": { "event": [ { @@ -51552,7 +52686,9 @@ } ] }, - "implements": "AbstractWorker", + "implements": [ + "AbstractWorker" + ], "methods": { "method": [ { @@ -51598,34 +52734,41 @@ { "name": "DONE", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "HEADERS_RECEIVED", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "LOADING", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "OPENED", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "UNSENT", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] } ] }, - "constructor": [ - null, - "" - ], + "constructor": {}, "events": { "event": [ { @@ -51685,7 +52828,9 @@ } ] }, - "implements": "XMLHttpRequestEventTarget", + "implements": [ + "XMLHttpRequestEventTarget" + ], "methods": { "method": [ { @@ -51912,15 +53057,14 @@ } ] }, - "implements": "XMLHttpRequestEventTarget" + "implements": [ + "XMLHttpRequestEventTarget" + ] }, { "name": "XMLSerializer", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -51939,10 +53083,7 @@ { "name": "XPathEvaluator", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -52051,52 +53192,72 @@ { "name": "ANY_TYPE", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "ANY_UNORDERED_NODE_TYPE", "type": "unsigned short", - "value": "8" + "value": [ + "8" + ] }, { "name": "BOOLEAN_TYPE", "type": "unsigned short", - "value": "3" + "value": [ + "3" + ] }, { "name": "FIRST_ORDERED_NODE_TYPE", "type": "unsigned short", - "value": "9" + "value": [ + "9" + ] }, { "name": "NUMBER_TYPE", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] }, { "name": "ORDERED_NODE_ITERATOR_TYPE", "type": "unsigned short", - "value": "5" + "value": [ + "5" + ] }, { "name": "ORDERED_NODE_SNAPSHOT_TYPE", "type": "unsigned short", - "value": "7" + "value": [ + "7" + ] }, { "name": "STRING_TYPE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "UNORDERED_NODE_ITERATOR_TYPE", "type": "unsigned short", - "value": "4" + "value": [ + "4" + ] }, { "name": "UNORDERED_NODE_SNAPSHOT_TYPE", "type": "unsigned short", - "value": "6" + "value": [ + "6" + ] } ] }, @@ -52161,10 +53322,7 @@ { "name": "XSLTProcessor", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -52799,17 +53957,23 @@ { "name": "DONE", "type": "unsigned short", - "value": "2" + "value": [ + "2" + ] }, { "name": "EMPTY", "type": "unsigned short", - "value": "0" + "value": [ + "0" + ] }, { "name": "LOADING", "type": "unsigned short", - "value": "1" + "value": [ + "1" + ] } ] }, @@ -53428,7 +54592,9 @@ "name": "WindowTimers", "extends": "Object", "no-interface-object": "1", - "implements": "WindowTimersExtension", + "implements": [ + "WindowTimersExtension" + ], "methods": { "method": [ { diff --git a/inputfiles/webworkers.specidl.xml.json b/inputfiles/webworkers.specidl.xml.json index b8a1eb8ed..f81785964 100644 --- a/inputfiles/webworkers.specidl.xml.json +++ b/inputfiles/webworkers.specidl.xml.json @@ -281,22 +281,19 @@ { "name": "ExtendableEvent", "extends": "Event", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ExtendableEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ExtendableEventInit" + } + ] + }, "methods": { "method": [ { @@ -315,22 +312,19 @@ { "name": "ExtendableMessageEvent", "extends": "ExtendableEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ExtendableMessageEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "ExtendableMessageEventInit" + } + ] + }, "properties": { "property": [ { @@ -367,21 +361,18 @@ { "name": "FetchEvent", "extends": "ExtendableEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "FetchEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "FetchEventInit" + } + ] + }, "methods": { "method": [ { @@ -421,10 +412,7 @@ { "name": "FileReaderSync", "extends": "Object", - "constructor": [ - null, - "" - ], + "constructor": {}, "methods": { "method": [ { @@ -478,21 +466,18 @@ { "name": "NotificationEvent", "extends": "ExtendableEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "NotificationEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "type": "NotificationEventInit" + } + ] + }, "properties": { "property": [ { @@ -511,22 +496,19 @@ { "name": "PushEvent", "extends": "ExtendableEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PushEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "eventInitDict", + "optional": "1", + "type": "PushEventInit" + } + ] + }, "properties": { "property": [ { @@ -679,21 +661,18 @@ { "name": "SyncEvent", "extends": "ExtendableEvent", - "constructor": [ - null, - { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "init", - "type": "SyncEventInit" - } - ] - } - ], + "constructor": { + "param": [ + { + "name": "type", + "type": "DOMString" + }, + { + "name": "init", + "type": "SyncEventInit" + } + ] + }, "properties": { "property": [ { @@ -889,7 +868,9 @@ "name": "WorkerUtils", "extends": "Object", "no-interface-object": "1", - "implements": "WindowBase64", + "implements": [ + "WindowBase64" + ], "methods": { "method": [ { @@ -1014,9 +995,11 @@ } }, "typedefs": { - "typedef": { - "new-type": "PushMessageDataInit", - "type": "(BufferSource or USVString)" - } + "typedef": [ + { + "new-type": "PushMessageDataInit", + "type": "(BufferSource or USVString)" + } + ] } } \ No newline at end of file From 751571f58d166ab1047c9f3029546ccaaa972838 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Feb 2018 22:58:02 -0800 Subject: [PATCH 06/93] Fix some conversion mistakes --- index.ts | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/index.ts b/index.ts index 79427b5dd..491fefe83 100644 --- a/index.ts +++ b/index.ts @@ -170,6 +170,10 @@ function concat(a: T[] | undefined, b: T[] | undefined): T[] { return b ? a.concat(b) : a; } +function distinct(a: T[]): T[] { + return Array.from(new Set(a).values()); +} + let allWebNonCallbackInterfaces = concat(browser.interfaces && browser.interfaces.interface, browser["mixin-interfaces"] && browser["mixin-interfaces"]!.interface); let allWebInterfaces = concat(concat(browser.interfaces && browser.interfaces.interface, browser["callback-interfaces"] && browser["callback-interfaces"]!.interface), @@ -318,9 +322,9 @@ let tagNameToEleName = (function() { } function resolveElementConflict(tagName: string, iNames: string[]) { - if (iNames.indexOf(tagName) != -1) return tagName; - // throw new Error("Element conflict occured! Typename: " + tagName); - return tagName; + const name = preferedElementMap(tagName); + if (iNames.indexOf(name) != -1) return name; + throw new Error("Element conflict occured! Typename: " + tagName); } let nativeTagNamesToInterface = (function() { @@ -400,27 +404,21 @@ let iNameToIDependList = (function() { /// Distinct event type list, used in the "createEvent" function let distinctETypeList = (function() { - let usedEvents; - let usedEventsMap: Record = {}; - - let unUsedEvents; - let unUsedEventsMap: Record = {}; + let eventsMap: Record = {}; for (const i of GetNonCallbackInterfacesByFlavor(Flavor.All)) { if (i.events) { for (const e of i.events.event) { - usedEventsMap[e.type] = true; + eventsMap[e.type] = true; } } - if (i.extends === "Event" && i.name.endsWith("Event") && !usedEventsMap[i.name]) { - unUsedEventsMap[i.name] = true; + if (i.extends === "Event" && i.name.endsWith("Event")) { + eventsMap[i.name] = true; } } - usedEvents = Object.keys(usedEventsMap); - unUsedEvents = Object.keys(unUsedEventsMap); - return concat(usedEvents, unUsedEvents).sort(); + return Object.keys(eventsMap).sort(); })(); /// Determine if interface1 depends on interface2 @@ -758,7 +756,7 @@ namespace Emit { if (typeDefSet.has(objDomType)) return objDomType; // Union types if (objDomType.indexOf(" or ") > -1) { - let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsType(t.replace('?', ' '))); + let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsType(t.replace("?", ""))); return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); } else { @@ -852,7 +850,7 @@ namespace Emit { function EmitHTMLElementTagNameMap() { Pt.Printl("interface HTMLElementTagNameMap {"); Pt.IncreaseIndent(); - for (const e in tagNameToEleName) { + for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") === -1) { Pt.Printl(`"${e.toLowerCase()}": ${value};`); @@ -867,7 +865,7 @@ namespace Emit { function EmitSVGElementTagNameMap() { Pt.Printl("interface SVGElementTagNameMap {"); Pt.IncreaseIndent(); - for (const e in tagNameToEleName) { + for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") > -1) { Pt.Printl(`"${e.toLowerCase()}": ${value};`); @@ -1218,9 +1216,9 @@ namespace Emit { if (DomTypeToTsType(m.type) === "any") { return true; } - let mTypes = i.methods && i.methods.method.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct - let amTypes = i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct - let pTypes = i.properties && i.properties.property.map(m => m.type).filter(t => t !== "void") || []; // |> Array.distinct + let mTypes = distinct(i.methods && i.methods.method.map(m => m.type).filter(t => t !== "void") || []); + let amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.type).filter(t => t !== "void") || []); // |> Array.distinct + let pTypes = distinct(i.properties && i.properties.property.map(m => m.type).filter(t => t !== "void") || []); // |> Array.distinct if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === m.type; if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === m.type; From e7aba4c6bd85376c39aefdb9e05a0ac6d316fad1 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 00:15:18 -0800 Subject: [PATCH 07/93] Make some arrays maps --- index.ts | 85 +- inputfiles/browser.webidl.xml.json | 1668 ++++++++++++------------ inputfiles/webworkers.specidl.xml.json | 316 ++--- types.d.ts | 12 +- 4 files changed, 1046 insertions(+), 1035 deletions(-) diff --git a/index.ts b/index.ts index 491fefe83..b5d313195 100644 --- a/index.ts +++ b/index.ts @@ -165,22 +165,35 @@ function ShouldKeep(flavor: Flavor, i: { tags?: string }) { else return true; } -function concat(a: T[] | undefined, b: T[] | undefined): T[] { - a = a || []; - return b ? a.concat(b) : a; +function concat(a: T[] | undefined, b: T[] | undefined, c?: T[] | undefined): T[] { + let result = a || []; + if (b) result = result.concat(b); + if (c) result = result.concat(c); + return result; } function distinct(a: T[]): T[] { return Array.from(new Set(a).values()); } -let allWebNonCallbackInterfaces = concat(browser.interfaces && browser.interfaces.interface, browser["mixin-interfaces"] && browser["mixin-interfaces"]!.interface); +function getElements(a: Record> | undefined, k: K): T[] { + return a ? mapToArray(a[k]) : []; +} + +function mapToArray(m: Record): T[] { + return Object.keys(m).map(k => m[k]); +} + +let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixin-interfaces"], "interface")); -let allWebInterfaces = concat(concat(browser.interfaces && browser.interfaces.interface, browser["callback-interfaces"] && browser["callback-interfaces"]!.interface), - browser["mixin-interfaces"] && browser["mixin-interfaces"]!.interface); +let allWebInterfaces = concat(getElements(browser.interfaces, "interface"), + getElements(browser["callback-interfaces"], "interface"), + getElements(browser["mixin-interfaces"], "interface")); -let allWorkerAdditionalInterfaces = concat(worker.interfaces && worker.interfaces.interface, worker["mixin-interfaces"] && worker["mixin-interfaces"]!.interface); +let allWorkerAdditionalInterfaces = concat( + getElements(worker.interfaces, "interface"), + getElements(worker["mixin-interfaces"], "interface")); let allInterfaces = allWebInterfaces.concat(allWorkerAdditionalInterfaces); @@ -205,11 +218,11 @@ function arrayToMap(array: [string, T][]) { let allInterfacesMap = toNameMap(allInterfaces); -let allDictionariesMap = toNameMap(concat(browser.dictionaries && browser.dictionaries.dictionary, worker.dictionaries && worker.dictionaries.dictionary)); +let allDictionariesMap: Record = { ...browser.dictionaries && browser.dictionaries.dictionary, ...worker.dictionaries && worker.dictionaries.dictionary }; -let allEnumsMap = toNameMap(concat(browser.enums && browser.enums.enum, worker.enums && worker.enums.enum)); +let allEnumsMap: Record = { ...browser.enums && browser.enums.enum, ...worker.enums && worker.enums.enum }; -let allCallbackFuncs = toNameMap(concat(browser["callback-functions"] && browser["callback-functions"]!["callback-function"], worker["callback-functions"] && worker["callback-functions"]!["callback-function"])); +let allCallbackFuncs: Record = { ...browser["callback-functions"] && browser["callback-functions"]!["callback-function"], ...worker["callback-functions"] && worker["callback-functions"]!["callback-function"] }; function GetInterfaceByName(name: string) { return allInterfacesMap[name]; @@ -239,24 +252,24 @@ function GetNonCallbackInterfacesByFlavor(flavor: Flavor) { function GetPublicInterfacesByFlavor(flavor: Flavor) { switch (flavor) { case Flavor.Web: - case Flavor.All: return browser.interfaces!.interface.filter(i => ShouldKeep(flavor, i)); + case Flavor.All: return getElements(browser.interfaces, "interface").filter(i => ShouldKeep(flavor, i)); case Flavor.Worker: - let isFromBrowserXml = browser.interfaces!.interface.filter(i => knownWorkerInterfaces.has(i.name)); - return isFromBrowserXml.concat(worker.interfaces!.interface); + let isFromBrowserXml = getElements(browser.interfaces, "interface").filter(i => knownWorkerInterfaces.has(i.name)); + return isFromBrowserXml.concat(getElements(worker.interfaces, "interface")); } } function GetCallbackFuncsByFlavor(flavor: Flavor) { - return browser["callback-functions"] ? browser["callback-functions"]!["callback-function"].filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; + return browser["callback-functions"] ?getElements(browser["callback-functions"],"callback-function").filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; } function GetEnumsByFlavor(flavor: Flavor) { switch (flavor) { case Flavor.Web: - case Flavor.All: return browser.enums ? browser.enums.enum : []; + case Flavor.All: return getElements(browser.enums, "enum"); case Flavor.Worker: - let isFromBrowserXml = browser.enums!.enum.filter(i => knownWorkerEnums.has(i.name)); - return isFromBrowserXml.concat(worker.enums!.enum); + let isFromBrowserXml = getElements(browser.enums, "enum").filter(i => knownWorkerEnums.has(i.name)); + return isFromBrowserXml.concat(getElements(worker.enums, "enum")); } } @@ -394,8 +407,7 @@ let iNameToIDependList = (function() { let nativeINameToIDependList: Record = {}; - for (const i of concat( - concat(allWebNonCallbackInterfaces, worker.interfaces && worker.interfaces.interface), worker["mixin-interfaces"] && worker["mixin-interfaces"]!.interface)) { + for (const i of concat(allWebNonCallbackInterfaces, getElements(worker.interfaces, "interface"), getElements(worker["mixin-interfaces"], "interface"))) { nativeINameToIDependList[i.name] = concat(getExtendList(i.name), getImplementList(i.name)); } return nativeINameToIDependList; @@ -497,8 +509,8 @@ let iNameToEhParents = (function() { function GetGlobalPollutor(flavor: Flavor) { switch (flavor) { case Flavor.Web: - case Flavor.All: return browser.interfaces && browser.interfaces.interface.find(i => !!i["primary-global"]); - case Flavor.Worker: return worker.interfaces && worker.interfaces.interface.find(i => !!i.global); + case Flavor.All: return browser.interfaces && getElements(browser.interfaces, "interface").find(i => !!i["primary-global"]); + case Flavor.Worker: return worker.interfaces && getElements(worker.interfaces, "interface").find(i => !!i.global); } } @@ -1176,9 +1188,7 @@ namespace Emit { } /// Emit all the named constructors at root level function EmitNamedConstructors() { - if (browser.interfaces) { - browser.interfaces.interface.forEach(EmitNamedConstructor); - } + getElements(browser.interfaces, "interface").forEach(EmitNamedConstructor); } function EmitInterfaceDeclaration(i: Browser.Interface) { @@ -1398,13 +1408,13 @@ namespace Emit { } function EmitDictionaries(flavor: Flavor) { - if (browser.dictionaries) { - browser.dictionaries.dictionary - .filter(d => flavor !== Flavor.Worker || knownWorkerInterfaces.has(d.name)) - .forEach(d => emitDictionary(flavor, d)); - } + getElements(browser.dictionaries, "dictionary") + .filter(d => flavor !== Flavor.Worker || knownWorkerInterfaces.has(d.name)) + .forEach(d => emitDictionary(flavor, d)); + if (flavor === Flavor.Worker && worker.dictionaries) { - worker.dictionaries.dictionary.forEach(d => emitDictionary(flavor, d)); + getElements(worker.dictionaries, "dictionary") + .forEach(d => emitDictionary(flavor, d)); } } @@ -1414,15 +1424,15 @@ namespace Emit { function EmitTypeDefs(flavor: Flavor) { if (flavor === Flavor.Worker) { - if (browser.typedefs) { + if (browser.typedefs) browser.typedefs.typedef .filter(t => knownWorkerInterfaces.has(t["new-type"])) .forEach(emitTypeDef); - } - if (worker.typedefs) { + + if (worker.typedefs) worker.typedefs.typedef .forEach(emitTypeDef); - } + } else if (browser.typedefs) { browser.typedefs.typedef @@ -1443,9 +1453,8 @@ namespace Emit { Pt.Printl(""); EmitDictionaries(flavor); - if (browser["callback-interfaces"]) { - browser["callback-interfaces"]!.interface.forEach(i => EmitCallBackInterface(flavor, i)); - } + getElements(browser["callback-interfaces"], "interface") + .forEach(i => EmitCallBackInterface(flavor, i)); EmitNonCallbackInterfaces(flavor); // // Add missed interface definition from the spec @@ -1514,7 +1523,7 @@ namespace Emit { Pt.Printl("/////////////////////////////"); Pt.Printl(""); - browser.interfaces && browser.interfaces.interface.forEach(EmitIterator); + getElements(browser.interfaces,"interface").forEach(EmitIterator); fs.writeFileSync(target, Pt.GetResult()); } diff --git a/inputfiles/browser.webidl.xml.json b/inputfiles/browser.webidl.xml.json index a955a9fe2..f37b42d64 100644 --- a/inputfiles/browser.webidl.xml.json +++ b/inputfiles/browser.webidl.xml.json @@ -1,12 +1,12 @@ { "callback-functions": { - "callback-function": [ - { + "callback-function": { + "DecodeErrorCallback": { "name": "DecodeErrorCallback", "callback": "1", "type": "void" }, - { + "DecodeSuccessCallback": { "name": "DecodeSuccessCallback", "callback": "1", "type": "void", @@ -17,7 +17,7 @@ } ] }, - { + "ErrorEventHandler": { "name": "ErrorEventHandler", "callback": "1", "type": "void", @@ -43,7 +43,7 @@ } ] }, - { + "ForEachCallback": { "name": "ForEachCallback", "callback": "1", "type": "void", @@ -58,7 +58,7 @@ } ] }, - { + "FrameRequestCallback": { "name": "FrameRequestCallback", "callback": "1", "type": "void", @@ -69,7 +69,7 @@ } ] }, - { + "FunctionStringCallback": { "name": "FunctionStringCallback", "callback": "1", "type": "void", @@ -80,7 +80,7 @@ } ] }, - { + "IntersectionObserverCallback": { "name": "IntersectionObserverCallback", "callback": "1", "type": "void", @@ -95,7 +95,7 @@ } ] }, - { + "MediaQueryListListener": { "name": "MediaQueryListListener", "callback": "1", "type": "void", @@ -106,7 +106,7 @@ } ] }, - { + "MSExecAtPriorityFunctionCallback": { "name": "MSExecAtPriorityFunctionCallback", "callback": "1", "tags": "MSAppOnly", @@ -119,18 +119,18 @@ } ] }, - { + "MSLaunchUriCallback": { "name": "MSLaunchUriCallback", "callback": "1", "type": "void" }, - { + "MSUnsafeFunctionCallback": { "name": "MSUnsafeFunctionCallback", "callback": "1", "tags": "MSAppOnly", "type": "any" }, - { + "MutationCallback": { "name": "MutationCallback", "callback": "1", "type": "void", @@ -145,7 +145,7 @@ } ] }, - { + "NavigatorUserMediaErrorCallback": { "name": "NavigatorUserMediaErrorCallback", "callback": "1", "type": "void", @@ -156,7 +156,7 @@ } ] }, - { + "NavigatorUserMediaSuccessCallback": { "name": "NavigatorUserMediaSuccessCallback", "callback": "1", "type": "void", @@ -167,7 +167,7 @@ } ] }, - { + "NotificationPermissionCallback": { "name": "NotificationPermissionCallback", "callback": "1", "type": "void", @@ -178,7 +178,7 @@ } ] }, - { + "PositionCallback": { "name": "PositionCallback", "callback": "1", "type": "void", @@ -189,7 +189,7 @@ } ] }, - { + "PositionErrorCallback": { "name": "PositionErrorCallback", "callback": "1", "type": "void", @@ -200,7 +200,7 @@ } ] }, - { + "RTCPeerConnectionErrorCallback": { "name": "RTCPeerConnectionErrorCallback", "callback": "1", "type": "void", @@ -211,7 +211,7 @@ } ] }, - { + "RTCSessionDescriptionCallback": { "name": "RTCSessionDescriptionCallback", "callback": "1", "type": "void", @@ -222,7 +222,7 @@ } ] }, - { + "RTCStatsCallback": { "name": "RTCStatsCallback", "callback": "1", "type": "void", @@ -233,16 +233,16 @@ } ] }, - { + "VoidFunction": { "name": "VoidFunction", "callback": "1", "type": "void" } - ] + } }, "callback-interfaces": { - "interface": [ - { + "interface": { + "EventListener": { "name": "EventListener", "extends": "Object", "methods": { @@ -260,7 +260,7 @@ ] } }, - { + "WebKitEntriesCallback": { "name": "WebKitEntriesCallback", "extends": "Object", "methods": { @@ -278,7 +278,7 @@ ] } }, - { + "WebKitErrorCallback": { "name": "WebKitErrorCallback", "extends": "Object", "methods": { @@ -296,7 +296,7 @@ ] } }, - { + "WebKitFileCallback": { "name": "WebKitFileCallback", "extends": "Object", "methods": { @@ -314,11 +314,11 @@ ] } } - ] + } }, "dictionaries": { - "dictionary": [ - { + "dictionary": { + "Account": { "name": "Account", "extends": "Object", "members": { @@ -349,7 +349,7 @@ ] } }, - { + "Algorithm": { "name": "Algorithm", "extends": "Object", "members": { @@ -361,7 +361,7 @@ ] } }, - { + "AnimationEventInit": { "name": "AnimationEventInit", "extends": "EventInit", "members": { @@ -379,7 +379,7 @@ ] } }, - { + "AssertionOptions": { "name": "AssertionOptions", "extends": "Object", "members": { @@ -403,7 +403,7 @@ ] } }, - { + "CacheQueryOptions": { "name": "CacheQueryOptions", "extends": "Object", "members": { @@ -430,7 +430,7 @@ ] } }, - { + "ClientData": { "name": "ClientData", "extends": "Object", "members": { @@ -467,7 +467,7 @@ ] } }, - { + "CloseEventInit": { "name": "CloseEventInit", "extends": "EventInit", "members": { @@ -490,7 +490,7 @@ ] } }, - { + "CompositionEventInit": { "name": "CompositionEventInit", "extends": "UIEventInit", "members": { @@ -503,7 +503,7 @@ ] } }, - { + "ConfirmSiteSpecificExceptionsInformation": { "name": "ConfirmSiteSpecificExceptionsInformation", "extends": "ExceptionInformation", "members": { @@ -515,7 +515,7 @@ ] } }, - { + "ConstrainBooleanParameters": { "name": "ConstrainBooleanParameters", "extends": "Object", "members": { @@ -531,7 +531,7 @@ ] } }, - { + "ConstrainDOMStringParameters": { "name": "ConstrainDOMStringParameters", "extends": "Object", "members": { @@ -547,7 +547,7 @@ ] } }, - { + "ConstrainDoubleRange": { "name": "ConstrainDoubleRange", "extends": "DoubleRange", "members": { @@ -563,7 +563,7 @@ ] } }, - { + "ConstrainLongRange": { "name": "ConstrainLongRange", "extends": "LongRange", "members": { @@ -579,7 +579,7 @@ ] } }, - { + "ConstrainVideoFacingModeParameters": { "name": "ConstrainVideoFacingModeParameters", "extends": "Object", "members": { @@ -595,7 +595,7 @@ ] } }, - { + "CustomEventInit": { "name": "CustomEventInit", "extends": "EventInit", "members": { @@ -608,7 +608,7 @@ ] } }, - { + "DeviceAccelerationDict": { "name": "DeviceAccelerationDict", "extends": "Object", "members": { @@ -634,7 +634,7 @@ ] } }, - { + "DeviceLightEventInit": { "name": "DeviceLightEventInit", "extends": "EventInit", "members": { @@ -647,7 +647,7 @@ ] } }, - { + "DeviceMotionEventInit": { "name": "DeviceMotionEventInit", "extends": "EventInit", "members": { @@ -679,7 +679,7 @@ ] } }, - { + "DeviceOrientationEventInit": { "name": "DeviceOrientationEventInit", "extends": "EventInit", "members": { @@ -710,7 +710,7 @@ ] } }, - { + "DeviceRotationRateDict": { "name": "DeviceRotationRateDict", "extends": "Object", "members": { @@ -736,7 +736,7 @@ ] } }, - { + "DOMRectInit": { "name": "DOMRectInit", "extends": "Object", "members": { @@ -764,7 +764,7 @@ ] } }, - { + "DoubleRange": { "name": "DoubleRange", "extends": "Object", "members": { @@ -780,7 +780,7 @@ ] } }, - { + "ErrorEventInit": { "name": "ErrorEventInit", "extends": "EventInit", "members": { @@ -813,7 +813,7 @@ ] } }, - { + "EventInit": { "name": "EventInit", "extends": "Object", "members": { @@ -831,7 +831,7 @@ ] } }, - { + "EventModifierInit": { "name": "EventModifierInit", "extends": "UIEventInit", "members": { @@ -914,7 +914,7 @@ ] } }, - { + "ExceptionInformation": { "name": "ExceptionInformation", "extends": "Object", "members": { @@ -927,7 +927,7 @@ ] } }, - { + "FocusEventInit": { "name": "FocusEventInit", "extends": "UIEventInit", "members": { @@ -941,7 +941,7 @@ ] } }, - { + "FocusNavigationEventInit": { "name": "FocusNavigationEventInit", "extends": "EventInit", "members": { @@ -975,7 +975,7 @@ ] } }, - { + "FocusNavigationOrigin": { "name": "FocusNavigationOrigin", "extends": "Object", "members": { @@ -999,7 +999,7 @@ ] } }, - { + "GamepadEventInit": { "name": "GamepadEventInit", "extends": "EventInit", "members": { @@ -1013,7 +1013,7 @@ ] } }, - { + "GetNotificationOptions": { "name": "GetNotificationOptions", "extends": "Object", "members": { @@ -1026,7 +1026,7 @@ ] } }, - { + "HashChangeEventInit": { "name": "HashChangeEventInit", "extends": "EventInit", "members": { @@ -1046,7 +1046,7 @@ ] } }, - { + "IDBIndexParameters": { "name": "IDBIndexParameters", "extends": "Object", "members": { @@ -1059,7 +1059,7 @@ ] } }, - { + "IDBObjectStoreParameters": { "name": "IDBObjectStoreParameters", "extends": "Object", "members": { @@ -1073,7 +1073,7 @@ ] } }, - { + "IntersectionObserverEntryInit": { "name": "IntersectionObserverEntryInit", "extends": "Object", "members": { @@ -1106,7 +1106,7 @@ ] } }, - { + "IntersectionObserverInit": { "name": "IntersectionObserverInit", "extends": "Object", "members": { @@ -1130,7 +1130,7 @@ ] } }, - { + "KeyAlgorithm": { "name": "KeyAlgorithm", "extends": "Object", "members": { @@ -1142,7 +1142,7 @@ ] } }, - { + "KeyboardEventInit": { "name": "KeyboardEventInit", "extends": "EventModifierInit", "members": { @@ -1165,7 +1165,7 @@ ] } }, - { + "LongRange": { "name": "LongRange", "extends": "Object", "members": { @@ -1181,7 +1181,7 @@ ] } }, - { + "MediaEncryptedEventInit": { "name": "MediaEncryptedEventInit", "extends": "EventInit", "members": { @@ -1200,7 +1200,7 @@ ] } }, - { + "MediaKeyMessageEventInit": { "name": "MediaKeyMessageEventInit", "extends": "EventInit", "members": { @@ -1219,7 +1219,7 @@ ] } }, - { + "MediaKeySystemConfiguration": { "name": "MediaKeySystemConfiguration", "extends": "Object", "members": { @@ -1249,7 +1249,7 @@ ] } }, - { + "MediaKeySystemMediaCapability": { "name": "MediaKeySystemMediaCapability", "extends": "Object", "members": { @@ -1267,7 +1267,7 @@ ] } }, - { + "MediaStreamConstraints": { "name": "MediaStreamConstraints", "extends": "Object", "members": { @@ -1285,7 +1285,7 @@ ] } }, - { + "MediaStreamErrorEventInit": { "name": "MediaStreamErrorEventInit", "extends": "EventInit", "members": { @@ -1299,7 +1299,7 @@ ] } }, - { + "MediaStreamEventInit": { "name": "MediaStreamEventInit", "extends": "EventInit", "members": { @@ -1312,7 +1312,7 @@ ] } }, - { + "MediaStreamTrackEventInit": { "name": "MediaStreamTrackEventInit", "extends": "EventInit", "members": { @@ -1326,7 +1326,7 @@ ] } }, - { + "MediaTrackCapabilities": { "name": "MediaTrackCapabilities", "extends": "Object", "members": { @@ -1378,7 +1378,7 @@ ] } }, - { + "MediaTrackConstraints": { "name": "MediaTrackConstraints", "extends": "MediaTrackConstraintSet", "members": { @@ -1390,7 +1390,7 @@ ] } }, - { + "MediaTrackConstraintSet": { "name": "MediaTrackConstraintSet", "extends": "Object", "members": { @@ -1453,7 +1453,7 @@ ] } }, - { + "MediaTrackSettings": { "name": "MediaTrackSettings", "extends": "Object", "members": { @@ -1505,7 +1505,7 @@ ] } }, - { + "MediaTrackSupportedConstraints": { "name": "MediaTrackSupportedConstraints", "extends": "Object", "members": { @@ -1557,7 +1557,7 @@ ] } }, - { + "MessageEventInit": { "name": "MessageEventInit", "extends": "EventInit", "members": { @@ -1585,7 +1585,7 @@ ] } }, - { + "MouseEventInit": { "name": "MouseEventInit", "extends": "EventModifierInit", "members": { @@ -1629,7 +1629,7 @@ ] } }, - { + "MSAccountInfo": { "name": "MSAccountInfo", "extends": "Object", "members": { @@ -1659,7 +1659,7 @@ ] } }, - { + "MSAudioLocalClientEvent": { "name": "MSAudioLocalClientEvent", "extends": "MSLocalClientEventBase", "members": { @@ -1731,7 +1731,7 @@ ] } }, - { + "MSAudioRecvPayload": { "name": "MSAudioRecvPayload", "extends": "MSPayloadBase", "members": { @@ -1815,7 +1815,7 @@ ] } }, - { + "MSAudioRecvSignal": { "name": "MSAudioRecvSignal", "extends": "Object", "members": { @@ -1847,7 +1847,7 @@ ] } }, - { + "MSAudioSendPayload": { "name": "MSAudioSendPayload", "extends": "MSPayloadBase", "members": { @@ -1871,7 +1871,7 @@ ] } }, - { + "MSAudioSendSignal": { "name": "MSAudioSendSignal", "extends": "Object", "members": { @@ -1891,7 +1891,7 @@ ] } }, - { + "MSConnectivity": { "name": "MSConnectivity", "extends": "Object", "members": { @@ -1911,7 +1911,7 @@ ] } }, - { + "MSCredentialFilter": { "name": "MSCredentialFilter", "extends": "Object", "members": { @@ -1923,7 +1923,7 @@ ] } }, - { + "MSCredentialParameters": { "name": "MSCredentialParameters", "extends": "Object", "members": { @@ -1935,7 +1935,7 @@ ] } }, - { + "MSCredentialSpec": { "name": "MSCredentialSpec", "extends": "Object", "members": { @@ -1952,7 +1952,7 @@ ] } }, - { + "MSDelay": { "name": "MSDelay", "extends": "Object", "members": { @@ -1968,7 +1968,7 @@ ] } }, - { + "MSDescription": { "name": "MSDescription", "extends": "RTCStats", "members": { @@ -2004,7 +2004,7 @@ ] } }, - { + "MSFIDOCredentialParameters": { "name": "MSFIDOCredentialParameters", "extends": "MSCredentialParameters", "members": { @@ -2021,7 +2021,7 @@ ] } }, - { + "MSIceWarningFlags": { "name": "MSIceWarningFlags", "extends": "Object", "members": { @@ -2117,7 +2117,7 @@ ] } }, - { + "MSIPAddressInfo": { "name": "MSIPAddressInfo", "extends": "Object", "members": { @@ -2137,7 +2137,7 @@ ] } }, - { + "MSJitter": { "name": "MSJitter", "extends": "Object", "members": { @@ -2157,7 +2157,7 @@ ] } }, - { + "MSLocalClientEventBase": { "name": "MSLocalClientEventBase", "extends": "RTCStats", "members": { @@ -2173,7 +2173,7 @@ ] } }, - { + "MSNetwork": { "name": "MSNetwork", "extends": "RTCStats", "members": { @@ -2197,7 +2197,7 @@ ] } }, - { + "MSNetworkConnectivityInfo": { "name": "MSNetworkConnectivityInfo", "extends": "Object", "members": { @@ -2217,7 +2217,7 @@ ] } }, - { + "MSNetworkInterfaceType": { "name": "MSNetworkInterfaceType", "extends": "Object", "members": { @@ -2245,7 +2245,7 @@ ] } }, - { + "MSOutboundNetwork": { "name": "MSOutboundNetwork", "extends": "MSNetwork", "members": { @@ -2257,7 +2257,7 @@ ] } }, - { + "MSPacketLoss": { "name": "MSPacketLoss", "extends": "Object", "members": { @@ -2273,7 +2273,7 @@ ] } }, - { + "MSPayloadBase": { "name": "MSPayloadBase", "extends": "RTCStats", "members": { @@ -2285,7 +2285,7 @@ ] } }, - { + "MSPortRange": { "name": "MSPortRange", "extends": "Object", "members": { @@ -2301,7 +2301,7 @@ ] } }, - { + "MSRelayAddress": { "name": "MSRelayAddress", "extends": "Object", "members": { @@ -2317,7 +2317,7 @@ ] } }, - { + "MSSignatureParameters": { "name": "MSSignatureParameters", "extends": "Object", "members": { @@ -2329,7 +2329,7 @@ ] } }, - { + "MSTransportDiagnosticsStats": { "name": "MSTransportDiagnosticsStats", "extends": "RTCStats", "members": { @@ -2449,7 +2449,7 @@ ] } }, - { + "MSUtilization": { "name": "MSUtilization", "extends": "Object", "members": { @@ -2481,7 +2481,7 @@ ] } }, - { + "MSVideoPayload": { "name": "MSVideoPayload", "extends": "MSPayloadBase", "members": { @@ -2513,7 +2513,7 @@ ] } }, - { + "MSVideoRecvPayload": { "name": "MSVideoRecvPayload", "extends": "MSVideoPayload", "members": { @@ -2609,7 +2609,7 @@ ] } }, - { + "MSVideoResolutionDistribution": { "name": "MSVideoResolutionDistribution", "extends": "Object", "members": { @@ -2641,7 +2641,7 @@ ] } }, - { + "MSVideoSendPayload": { "name": "MSVideoSendPayload", "extends": "MSVideoPayload", "members": { @@ -2673,7 +2673,7 @@ ] } }, - { + "MsZoomToOptions": { "name": "MsZoomToOptions", "extends": "Object", "members": { @@ -2707,7 +2707,7 @@ ] } }, - { + "MutationObserverInit": { "name": "MutationObserverInit", "extends": "Object", "members": { @@ -2749,7 +2749,7 @@ ] } }, - { + "NotificationOptions": { "name": "NotificationOptions", "extends": "Object", "members": { @@ -2782,7 +2782,7 @@ ] } }, - { + "ObjectURLOptions": { "name": "ObjectURLOptions", "extends": "Object", "members": { @@ -2794,7 +2794,7 @@ ] } }, - { + "PaymentCurrencyAmount": { "name": "PaymentCurrencyAmount", "extends": "Object", "members": { @@ -2817,7 +2817,7 @@ ] } }, - { + "PaymentDetails": { "name": "PaymentDetails", "extends": "Object", "members": { @@ -2845,7 +2845,7 @@ ] } }, - { + "PaymentDetailsModifier": { "name": "PaymentDetailsModifier", "extends": "Object", "members": { @@ -2870,7 +2870,7 @@ ] } }, - { + "PaymentItem": { "name": "PaymentItem", "extends": "Object", "members": { @@ -2893,7 +2893,7 @@ ] } }, - { + "PaymentMethodData": { "name": "PaymentMethodData", "extends": "Object", "members": { @@ -2910,7 +2910,7 @@ ] } }, - { + "PaymentOptions": { "name": "PaymentOptions", "extends": "Object", "members": { @@ -2943,11 +2943,11 @@ ] } }, - { + "PaymentRequestUpdateEventInit": { "name": "PaymentRequestUpdateEventInit", "extends": "EventInit" }, - { + "PaymentShippingOption": { "name": "PaymentShippingOption", "extends": "Object", "members": { @@ -2975,7 +2975,7 @@ ] } }, - { + "PeriodicWaveConstraints": { "name": "PeriodicWaveConstraints", "extends": "Object", "members": { @@ -2988,7 +2988,7 @@ ] } }, - { + "PointerEventInit": { "name": "PointerEventInit", "extends": "MouseEventInit", "members": { @@ -3036,7 +3036,7 @@ ] } }, - { + "PopStateEventInit": { "name": "PopStateEventInit", "extends": "EventInit", "members": { @@ -3049,7 +3049,7 @@ ] } }, - { + "PositionOptions": { "name": "PositionOptions", "extends": "Object", "members": { @@ -3071,7 +3071,7 @@ ] } }, - { + "ProgressEventInit": { "name": "ProgressEventInit", "extends": "EventInit", "members": { @@ -3094,7 +3094,7 @@ ] } }, - { + "PushSubscriptionOptionsInit": { "name": "PushSubscriptionOptionsInit", "extends": "Object", "members": { @@ -3113,7 +3113,7 @@ ] } }, - { + "RegistrationOptions": { "name": "RegistrationOptions", "extends": "Object", "members": { @@ -3125,7 +3125,7 @@ ] } }, - { + "RequestInit": { "name": "RequestInit", "extends": "Object", "members": { @@ -3186,7 +3186,7 @@ ] } }, - { + "ResponseInit": { "name": "ResponseInit", "extends": "Object", "members": { @@ -3210,7 +3210,7 @@ ] } }, - { + "RTCConfiguration": { "name": "RTCConfiguration", "extends": "Object", "members": { @@ -3236,7 +3236,7 @@ ] } }, - { + "RTCDtlsFingerprint": { "name": "RTCDtlsFingerprint", "extends": "Object", "members": { @@ -3252,7 +3252,7 @@ ] } }, - { + "RTCDtlsParameters": { "name": "RTCDtlsParameters", "extends": "Object", "members": { @@ -3269,7 +3269,7 @@ ] } }, - { + "RTCDTMFToneChangeEventInit": { "name": "RTCDTMFToneChangeEventInit", "extends": "EventInit", "members": { @@ -3282,7 +3282,7 @@ ] } }, - { + "RTCIceCandidateAttributes": { "name": "RTCIceCandidateAttributes", "extends": "RTCStats", "members": { @@ -3314,11 +3314,11 @@ ] } }, - { + "RTCIceCandidateComplete": { "name": "RTCIceCandidateComplete", "extends": "Object" }, - { + "RTCIceCandidateDictionary": { "name": "RTCIceCandidateDictionary", "extends": "Object", "members": { @@ -3367,7 +3367,7 @@ ] } }, - { + "RTCIceCandidateInit": { "name": "RTCIceCandidateInit", "extends": "Object", "members": { @@ -3387,7 +3387,7 @@ ] } }, - { + "RTCIceCandidatePair": { "name": "RTCIceCandidatePair", "extends": "Object", "members": { @@ -3403,7 +3403,7 @@ ] } }, - { + "RTCIceCandidatePairStats": { "name": "RTCIceCandidatePairStats", "extends": "RTCStats", "members": { @@ -3463,7 +3463,7 @@ ] } }, - { + "RTCIceGatherOptions": { "name": "RTCIceGatherOptions", "extends": "Object", "members": { @@ -3483,7 +3483,7 @@ ] } }, - { + "RTCIceParameters": { "name": "RTCIceParameters", "extends": "Object", "members": { @@ -3504,7 +3504,7 @@ ] } }, - { + "RTCIceServer": { "name": "RTCIceServer", "extends": "Object", "members": { @@ -3526,7 +3526,7 @@ ] } }, - { + "RTCInboundRTPStreamStats": { "name": "RTCInboundRTPStreamStats", "extends": "RTCRTPStreamStats", "members": { @@ -3554,7 +3554,7 @@ ] } }, - { + "RTCMediaStreamTrackStats": { "name": "RTCMediaStreamTrackStats", "extends": "RTCStats", "members": { @@ -3618,7 +3618,7 @@ ] } }, - { + "RTCOfferOptions": { "name": "RTCOfferOptions", "extends": "Object", "members": { @@ -3644,7 +3644,7 @@ ] } }, - { + "RTCOutboundRTPStreamStats": { "name": "RTCOutboundRTPStreamStats", "extends": "RTCRTPStreamStats", "members": { @@ -3668,7 +3668,7 @@ ] } }, - { + "RTCPeerConnectionIceEventInit": { "name": "RTCPeerConnectionIceEventInit", "extends": "EventInit", "members": { @@ -3681,7 +3681,7 @@ ] } }, - { + "RTCRtcpFeedback": { "name": "RTCRtcpFeedback", "extends": "Object", "members": { @@ -3697,7 +3697,7 @@ ] } }, - { + "RTCRtcpParameters": { "name": "RTCRtcpParameters", "extends": "Object", "members": { @@ -3723,7 +3723,7 @@ ] } }, - { + "RTCRtpCapabilities": { "name": "RTCRtpCapabilities", "extends": "Object", "members": { @@ -3743,7 +3743,7 @@ ] } }, - { + "RTCRtpCodecCapability": { "name": "RTCRtpCodecCapability", "extends": "Object", "members": { @@ -3806,7 +3806,7 @@ ] } }, - { + "RTCRtpCodecParameters": { "name": "RTCRtpCodecParameters", "extends": "Object", "members": { @@ -3846,7 +3846,7 @@ ] } }, - { + "RTCRtpContributingSource": { "name": "RTCRtpContributingSource", "extends": "Object", "members": { @@ -3866,7 +3866,7 @@ ] } }, - { + "RTCRtpEncodingParameters": { "name": "RTCRtpEncodingParameters", "extends": "Object", "members": { @@ -3934,7 +3934,7 @@ ] } }, - { + "RTCRtpFecParameters": { "name": "RTCRtpFecParameters", "extends": "Object", "members": { @@ -3950,7 +3950,7 @@ ] } }, - { + "RTCRtpHeaderExtension": { "name": "RTCRtpHeaderExtension", "extends": "Object", "members": { @@ -3975,7 +3975,7 @@ ] } }, - { + "RTCRtpHeaderExtensionParameters": { "name": "RTCRtpHeaderExtensionParameters", "extends": "Object", "members": { @@ -3996,7 +3996,7 @@ ] } }, - { + "RTCRtpParameters": { "name": "RTCRtpParameters", "extends": "Object", "members": { @@ -4030,7 +4030,7 @@ ] } }, - { + "RTCRtpRtxParameters": { "name": "RTCRtpRtxParameters", "extends": "Object", "members": { @@ -4042,7 +4042,7 @@ ] } }, - { + "RTCRTPStreamStats": { "name": "RTCRTPStreamStats", "extends": "RTCStats", "members": { @@ -4091,7 +4091,7 @@ ] } }, - { + "RTCRtpUnhandled": { "name": "RTCRtpUnhandled", "extends": "Object", "members": { @@ -4112,7 +4112,7 @@ ] } }, - { + "RTCSessionDescriptionInit": { "name": "RTCSessionDescriptionInit", "extends": "Object", "members": { @@ -4128,7 +4128,7 @@ ] } }, - { + "RTCSrtpKeyParam": { "name": "RTCSrtpKeyParam", "extends": "Object", "members": { @@ -4156,7 +4156,7 @@ ] } }, - { + "RTCSrtpSdesParameters": { "name": "RTCSrtpSdesParameters", "extends": "Object", "members": { @@ -4180,7 +4180,7 @@ ] } }, - { + "RTCSsrcRange": { "name": "RTCSsrcRange", "extends": "Object", "members": { @@ -4196,7 +4196,7 @@ ] } }, - { + "RTCStats": { "name": "RTCStats", "extends": "Object", "members": { @@ -4220,11 +4220,11 @@ ] } }, - { + "RTCStatsReport": { "name": "RTCStatsReport", "extends": "Object" }, - { + "RTCTransportStats": { "name": "RTCTransportStats", "extends": "RTCStats", "members": { @@ -4260,7 +4260,7 @@ ] } }, - { + "ScopedCredentialDescriptor": { "name": "ScopedCredentialDescriptor", "extends": "Object", "members": { @@ -4282,7 +4282,7 @@ ] } }, - { + "ScopedCredentialOptions": { "name": "ScopedCredentialOptions", "extends": "Object", "members": { @@ -4306,7 +4306,7 @@ ] } }, - { + "ScopedCredentialParameters": { "name": "ScopedCredentialParameters", "extends": "Object", "members": { @@ -4325,7 +4325,7 @@ ] } }, - { + "ServiceWorkerMessageEventInit": { "name": "ServiceWorkerMessageEventInit", "extends": "EventInit", "members": { @@ -4355,7 +4355,7 @@ ] } }, - { + "SpeechSynthesisEventInit": { "name": "SpeechSynthesisEventInit", "extends": "EventInit", "members": { @@ -4384,7 +4384,7 @@ ] } }, - { + "StoreExceptionsInformation": { "name": "StoreExceptionsInformation", "extends": "ExceptionInformation", "members": { @@ -4407,7 +4407,7 @@ ] } }, - { + "StoreSiteSpecificExceptionsInformation": { "name": "StoreSiteSpecificExceptionsInformation", "extends": "StoreExceptionsInformation", "members": { @@ -4419,7 +4419,7 @@ ] } }, - { + "TrackEventInit": { "name": "TrackEventInit", "extends": "EventInit", "members": { @@ -4433,7 +4433,7 @@ ] } }, - { + "TransitionEventInit": { "name": "TransitionEventInit", "extends": "EventInit", "members": { @@ -4451,7 +4451,7 @@ ] } }, - { + "UIEventInit": { "name": "UIEventInit", "extends": "EventInit", "members": { @@ -4470,11 +4470,11 @@ ] } }, - { + "WebAuthnExtensions": { "name": "WebAuthnExtensions", "extends": "Object" }, - { + "WebGLContextAttributes": { "name": "WebGLContextAttributes", "extends": "Object", "members": { @@ -4512,7 +4512,7 @@ ] } }, - { + "WebGLContextEventInit": { "name": "WebGLContextEventInit", "extends": "EventInit", "members": { @@ -4525,7 +4525,7 @@ ] } }, - { + "WheelEventInit": { "name": "WheelEventInit", "extends": "MouseEventInit", "members": { @@ -4553,18 +4553,18 @@ ] } } - ] + } }, "enums": { - "enum": [ - { + "enum": { + "AppendMode": { "name": "AppendMode", "value": [ "segments", "sequence" ] }, - { + "AudioContextState": { "name": "AudioContextState", "value": [ "suspended", @@ -4572,7 +4572,7 @@ "closed" ] }, - { + "BiquadFilterType": { "name": "BiquadFilterType", "value": [ "lowpass", @@ -4585,14 +4585,14 @@ "allpass" ] }, - { + "CanvasFillRule": { "name": "CanvasFillRule", "value": [ "nonzero", "evenodd" ] }, - { + "ChannelCountMode": { "name": "ChannelCountMode", "value": [ "max", @@ -4600,14 +4600,14 @@ "explicit" ] }, - { + "ChannelInterpretation": { "name": "ChannelInterpretation", "value": [ "speakers", "discrete" ] }, - { + "DistanceModelType": { "name": "DistanceModelType", "value": [ "linear", @@ -4615,7 +4615,7 @@ "exponential" ] }, - { + "ExpandGranularity": { "name": "ExpandGranularity", "value": [ "character", @@ -4624,7 +4624,7 @@ "textedit" ] }, - { + "GamepadInputEmulationType": { "name": "GamepadInputEmulationType", "value": [ "mouse", @@ -4632,7 +4632,7 @@ "gamepad" ] }, - { + "IDBCursorDirection": { "name": "IDBCursorDirection", "value": [ "next", @@ -4641,14 +4641,14 @@ "prevunique" ] }, - { + "IDBRequestReadyState": { "name": "IDBRequestReadyState", "value": [ "pending", "done" ] }, - { + "IDBTransactionMode": { "name": "IDBTransactionMode", "value": [ "readonly", @@ -4656,7 +4656,7 @@ "versionchange" ] }, - { + "ListeningState": { "name": "ListeningState", "value": [ "inactive", @@ -4664,7 +4664,7 @@ "disambiguation" ] }, - { + "MediaDeviceKind": { "name": "MediaDeviceKind", "value": [ "audioinput", @@ -4672,7 +4672,7 @@ "videoinput" ] }, - { + "MediaKeyMessageType": { "name": "MediaKeyMessageType", "value": [ "license-request", @@ -4681,7 +4681,7 @@ "individualization-request" ] }, - { + "MediaKeySessionType": { "name": "MediaKeySessionType", "value": [ "temporary", @@ -4689,7 +4689,7 @@ "persistent-release-message" ] }, - { + "MediaKeysRequirement": { "name": "MediaKeysRequirement", "value": [ "required", @@ -4697,7 +4697,7 @@ "not-allowed" ] }, - { + "MediaKeyStatus": { "name": "MediaKeyStatus", "value": [ "usable", @@ -4708,20 +4708,20 @@ "internal-error" ] }, - { + "MediaStreamTrackState": { "name": "MediaStreamTrackState", "value": [ "live", "ended" ] }, - { + "MSCredentialType": { "name": "MSCredentialType", "value": [ "FIDO_2_0" ] }, - { + "MSIceAddrType": { "name": "MSIceAddrType", "value": [ "os", @@ -4730,7 +4730,7 @@ "peer-derived" ] }, - { + "MSIceType": { "name": "MSIceType", "value": [ "failed", @@ -4738,7 +4738,7 @@ "relay" ] }, - { + "MSStatsType": { "name": "MSStatsType", "value": [ "description", @@ -4750,7 +4750,7 @@ "transportdiagnostics" ] }, - { + "MSTransportType": { "name": "MSTransportType", "value": [ "Embedded", @@ -4759,7 +4759,7 @@ "BT" ] }, - { + "MSWebViewPermissionState": { "name": "MSWebViewPermissionState", "value": [ "unknown", @@ -4768,7 +4768,7 @@ "deny" ] }, - { + "MSWebViewPermissionType": { "name": "MSWebViewPermissionType", "value": [ "geolocation", @@ -4778,7 +4778,7 @@ "webnotifications" ] }, - { + "NavigationReason": { "name": "NavigationReason", "value": [ "up", @@ -4787,7 +4787,7 @@ "right" ] }, - { + "NavigationType": { "name": "NavigationType", "value": [ "navigate", @@ -4796,7 +4796,7 @@ "prerender" ] }, - { + "NotificationDirection": { "name": "NotificationDirection", "value": [ "auto", @@ -4804,7 +4804,7 @@ "rtl" ] }, - { + "NotificationPermission": { "name": "NotificationPermission", "value": [ "default", @@ -4812,7 +4812,7 @@ "granted" ] }, - { + "OscillatorType": { "name": "OscillatorType", "value": [ "sine", @@ -4822,7 +4822,7 @@ "custom" ] }, - { + "OverSampleType": { "name": "OverSampleType", "value": [ "none", @@ -4830,13 +4830,13 @@ "4x" ] }, - { + "PanningModelType": { "name": "PanningModelType", "value": [ "equalpower" ] }, - { + "PaymentComplete": { "name": "PaymentComplete", "value": [ "success", @@ -4844,7 +4844,7 @@ "" ] }, - { + "PaymentShippingType": { "name": "PaymentShippingType", "value": [ "shipping", @@ -4852,14 +4852,14 @@ "pickup" ] }, - { + "PushEncryptionKeyName": { "name": "PushEncryptionKeyName", "value": [ "p256dh", "auth" ] }, - { + "PushPermissionState": { "name": "PushPermissionState", "value": [ "granted", @@ -4867,7 +4867,7 @@ "prompt" ] }, - { + "ReferrerPolicy": { "name": "ReferrerPolicy", "value": [ "", @@ -4878,7 +4878,7 @@ "unsafe-url" ] }, - { + "RequestCache": { "name": "RequestCache", "value": [ "default", @@ -4888,7 +4888,7 @@ "force-cache" ] }, - { + "RequestCredentials": { "name": "RequestCredentials", "value": [ "omit", @@ -4896,7 +4896,7 @@ "include" ] }, - { + "RequestDestination": { "name": "RequestDestination", "value": [ "", @@ -4907,7 +4907,7 @@ "worker" ] }, - { + "RequestMode": { "name": "RequestMode", "value": [ "navigate", @@ -4916,7 +4916,7 @@ "cors" ] }, - { + "RequestRedirect": { "name": "RequestRedirect", "value": [ "follow", @@ -4924,7 +4924,7 @@ "manual" ] }, - { + "RequestType": { "name": "RequestType", "value": [ "", @@ -4937,7 +4937,7 @@ "video" ] }, - { + "ResponseType": { "name": "ResponseType", "value": [ "basic", @@ -4948,7 +4948,7 @@ "opaqueredirect" ] }, - { + "RTCBundlePolicy": { "name": "RTCBundlePolicy", "value": [ "balanced", @@ -4956,7 +4956,7 @@ "max-bundle" ] }, - { + "RTCDegradationPreference": { "name": "RTCDegradationPreference", "value": [ "maintain-framerate", @@ -4964,7 +4964,7 @@ "balanced" ] }, - { + "RTCDtlsRole": { "name": "RTCDtlsRole", "value": [ "auto", @@ -4972,7 +4972,7 @@ "server" ] }, - { + "RTCDtlsTransportState": { "name": "RTCDtlsTransportState", "value": [ "new", @@ -4981,7 +4981,7 @@ "closed" ] }, - { + "RTCIceCandidateType": { "name": "RTCIceCandidateType", "value": [ "host", @@ -4990,14 +4990,14 @@ "relay" ] }, - { + "RTCIceComponent": { "name": "RTCIceComponent", "value": [ "RTP", "RTCP" ] }, - { + "RTCIceConnectionState": { "name": "RTCIceConnectionState", "value": [ "new", @@ -5009,7 +5009,7 @@ "closed" ] }, - { + "RTCIceGathererState": { "name": "RTCIceGathererState", "value": [ "new", @@ -5017,7 +5017,7 @@ "complete" ] }, - { + "RTCIceGatheringState": { "name": "RTCIceGatheringState", "value": [ "new", @@ -5025,7 +5025,7 @@ "complete" ] }, - { + "RTCIceGatherPolicy": { "name": "RTCIceGatherPolicy", "value": [ "all", @@ -5033,21 +5033,21 @@ "relay" ] }, - { + "RTCIceProtocol": { "name": "RTCIceProtocol", "value": [ "udp", "tcp" ] }, - { + "RTCIceRole": { "name": "RTCIceRole", "value": [ "controlling", "controlled" ] }, - { + "RTCIceTcpCandidateType": { "name": "RTCIceTcpCandidateType", "value": [ "active", @@ -5055,7 +5055,7 @@ "so" ] }, - { + "RTCIceTransportPolicy": { "name": "RTCIceTransportPolicy", "value": [ "none", @@ -5063,7 +5063,7 @@ "all" ] }, - { + "RTCIceTransportState": { "name": "RTCIceTransportState", "value": [ "new", @@ -5074,7 +5074,7 @@ "closed" ] }, - { + "RTCSdpType": { "name": "RTCSdpType", "value": [ "offer", @@ -5082,7 +5082,7 @@ "answer" ] }, - { + "RTCSignalingState": { "name": "RTCSignalingState", "value": [ "stable", @@ -5093,7 +5093,7 @@ "closed" ] }, - { + "RTCStatsIceCandidatePairState": { "name": "RTCStatsIceCandidatePairState", "value": [ "frozen", @@ -5104,7 +5104,7 @@ "cancelled" ] }, - { + "RTCStatsIceCandidateType": { "name": "RTCStatsIceCandidateType", "value": [ "host", @@ -5113,7 +5113,7 @@ "relayed" ] }, - { + "RTCStatsType": { "name": "RTCStatsType", "value": [ "inboundrtp", @@ -5127,13 +5127,13 @@ "remotecandidate" ] }, - { + "ScopedCredentialType": { "name": "ScopedCredentialType", "value": [ "ScopedCred" ] }, - { + "ServiceWorkerState": { "name": "ServiceWorkerState", "value": [ "installing", @@ -5143,7 +5143,7 @@ "redundant" ] }, - { + "Transport": { "name": "Transport", "value": [ "usb", @@ -5151,7 +5151,7 @@ "ble" ] }, - { + "VideoFacingModeEnum": { "name": "VideoFacingModeEnum", "value": [ "user", @@ -5160,7 +5160,7 @@ "right" ] }, - { + "VisibilityState": { "name": "VisibilityState", "value": [ "hidden", @@ -5169,7 +5169,7 @@ "unloaded" ] }, - { + "XMLHttpRequestResponseType": { "name": "XMLHttpRequestResponseType", "value": [ "", @@ -5180,11 +5180,11 @@ "text" ] } - ] + } }, "interfaces": { - "interface": [ - { + "interface": { + "AnalyserNode": { "name": "AnalyserNode", "extends": "AudioNode", "methods": { @@ -5257,7 +5257,7 @@ ] } }, - { + "ANGLE_instanced_arrays": { "name": "ANGLE_instanced_arrays", "extends": "Object", "constants": { @@ -5350,7 +5350,7 @@ ] } }, - { + "AnimationEvent": { "name": "AnimationEvent", "extends": "Event", "constructor": { @@ -5411,7 +5411,7 @@ ] } }, - { + "ApplicationCache": { "name": "ApplicationCache", "extends": "EventTarget", "constants": { @@ -5588,7 +5588,7 @@ ] } }, - { + "Attr": { "name": "Attr", "extends": "Node", "properties": { @@ -5621,7 +5621,7 @@ ] } }, - { + "AudioBuffer": { "name": "AudioBuffer", "extends": "Object", "methods": { @@ -5703,7 +5703,7 @@ ] } }, - { + "AudioBufferSourceNode": { "name": "AudioBufferSourceNode", "extends": "AudioNode", "events": { @@ -5792,7 +5792,7 @@ ] } }, - { + "AudioContext": { "name": "AudioContext", "extends": "EventTarget", "constructor": {}, @@ -6038,7 +6038,7 @@ ] } }, - { + "AudioDestinationNode": { "name": "AudioDestinationNode", "extends": "AudioNode", "properties": { @@ -6051,7 +6051,7 @@ ] } }, - { + "AudioListener": { "name": "AudioListener", "extends": "Object", "methods": { @@ -6137,7 +6137,7 @@ ] } }, - { + "AudioNode": { "name": "AudioNode", "extends": "EventTarget", "methods": { @@ -6202,7 +6202,7 @@ ] } }, - { + "AudioParam": { "name": "AudioParam", "extends": "Object", "methods": { @@ -6311,7 +6311,7 @@ ] } }, - { + "AudioProcessingEvent": { "name": "AudioProcessingEvent", "extends": "Event", "properties": { @@ -6334,7 +6334,7 @@ ] } }, - { + "AudioTrack": { "name": "AudioTrack", "extends": "Object", "properties": { @@ -6369,7 +6369,7 @@ ] } }, - { + "AudioTrackList": { "name": "AudioTrackList", "extends": "EventTarget", "events": { @@ -6445,7 +6445,7 @@ ] } }, - { + "BarProp": { "name": "BarProp", "extends": "Object", "properties": { @@ -6458,7 +6458,7 @@ ] } }, - { + "BeforeUnloadEvent": { "name": "BeforeUnloadEvent", "extends": "Event", "properties": { @@ -6471,7 +6471,7 @@ ] } }, - { + "BiquadFilterNode": { "name": "BiquadFilterNode", "extends": "AudioNode", "methods": { @@ -6525,7 +6525,7 @@ ] } }, - { + "Blob": { "name": "Blob", "extends": "Object", "constructor": {}, @@ -6579,7 +6579,7 @@ ] } }, - { + "Cache": { "name": "Cache", "extends": "Object", "methods": { @@ -6690,7 +6690,7 @@ ] } }, - { + "CacheStorage": { "name": "CacheStorage", "extends": "Object", "secure-context": "1", @@ -6753,7 +6753,7 @@ ] } }, - { + "CanvasGradient": { "name": "CanvasGradient", "extends": "Object", "methods": { @@ -6775,11 +6775,11 @@ ] } }, - { + "CanvasPattern": { "name": "CanvasPattern", "extends": "Object" }, - { + "CanvasRenderingContext2D": { "name": "CanvasRenderingContext2D", "extends": "Object", "implements": [ @@ -7371,19 +7371,19 @@ ] } }, - { + "CDATASection": { "name": "CDATASection", "extends": "Text" }, - { + "ChannelMergerNode": { "name": "ChannelMergerNode", "extends": "AudioNode" }, - { + "ChannelSplitterNode": { "name": "ChannelSplitterNode", "extends": "AudioNode" }, - { + "CharacterData": { "name": "CharacterData", "extends": "Node", "events": { @@ -7493,7 +7493,7 @@ ] } }, - { + "ClientRect": { "name": "ClientRect", "extends": "Object", "properties": { @@ -7527,7 +7527,7 @@ ] } }, - { + "ClientRectList": { "name": "ClientRectList", "extends": "Object", "methods": { @@ -7555,7 +7555,7 @@ ] } }, - { + "ClipboardEvent": { "name": "ClipboardEvent", "extends": "Event", "properties": { @@ -7568,7 +7568,7 @@ ] } }, - { + "CloseEvent": { "name": "CloseEvent", "extends": "Event", "constructor": { @@ -7638,7 +7638,7 @@ ] } }, - { + "Comment": { "name": "Comment", "extends": "CharacterData", "properties": { @@ -7650,7 +7650,7 @@ ] } }, - { + "CompositionEvent": { "name": "CompositionEvent", "extends": "UIEvent", "constructor": { @@ -7715,7 +7715,7 @@ ] } }, - { + "Console": { "name": "Console", "extends": "Object", "methods": { @@ -7979,7 +7979,7 @@ ] } }, - { + "ConvolverNode": { "name": "ConvolverNode", "extends": "AudioNode", "properties": { @@ -7996,7 +7996,7 @@ ] } }, - { + "Coordinates": { "name": "Coordinates", "extends": "Object", "properties": { @@ -8043,7 +8043,7 @@ ] } }, - { + "Crypto": { "name": "Crypto", "extends": "Object", "implements": [ @@ -8059,7 +8059,7 @@ ] } }, - { + "CryptoKey": { "name": "CryptoKey", "extends": "Object", "properties": { @@ -8088,7 +8088,7 @@ ] } }, - { + "CryptoKeyPair": { "name": "CryptoKeyPair", "extends": "Object", "properties": { @@ -8104,7 +8104,7 @@ ] } }, - { + "CSS": { "name": "CSS", "extends": "Object", "static": "1", @@ -8129,7 +8129,7 @@ ] } }, - { + "CSSConditionRule": { "name": "CSSConditionRule", "extends": "CSSGroupingRule", "properties": { @@ -8141,7 +8141,7 @@ ] } }, - { + "CSSFontFaceRule": { "name": "CSSFontFaceRule", "extends": "CSSRule", "properties": { @@ -8154,7 +8154,7 @@ ] } }, - { + "CSSGroupingRule": { "name": "CSSGroupingRule", "extends": "CSSRule", "methods": { @@ -8195,7 +8195,7 @@ ] } }, - { + "CSSImportRule": { "name": "CSSImportRule", "extends": "CSSRule", "properties": { @@ -8219,7 +8219,7 @@ ] } }, - { + "CSSKeyframeRule": { "name": "CSSKeyframeRule", "extends": "CSSRule", "properties": { @@ -8236,7 +8236,7 @@ ] } }, - { + "CSSKeyframesRule": { "name": "CSSKeyframesRule", "extends": "CSSRule", "methods": { @@ -8287,7 +8287,7 @@ ] } }, - { + "CSSMediaRule": { "name": "CSSMediaRule", "extends": "CSSConditionRule", "properties": { @@ -8301,7 +8301,7 @@ ] } }, - { + "CSSNamespaceRule": { "name": "CSSNamespaceRule", "extends": "CSSRule", "properties": { @@ -8319,7 +8319,7 @@ ] } }, - { + "CSSPageRule": { "name": "CSSPageRule", "extends": "CSSRule", "properties": { @@ -8346,7 +8346,7 @@ ] } }, - { + "CSSRule": { "name": "CSSRule", "extends": "Object", "constants": { @@ -8461,7 +8461,7 @@ ] } }, - { + "CSSRuleList": { "name": "CSSRuleList", "extends": "Object", "methods": { @@ -8489,7 +8489,7 @@ ] } }, - { + "CSSStyleDeclaration": { "name": "CSSStyleDeclaration", "extends": "Object", "methods": { @@ -11768,7 +11768,7 @@ ] } }, - { + "CSSStyleRule": { "name": "CSSStyleRule", "extends": "CSSRule", "properties": { @@ -11790,7 +11790,7 @@ ] } }, - { + "CSSStyleSheet": { "name": "CSSStyleSheet", "extends": "StyleSheet", "methods": { @@ -11961,11 +11961,11 @@ ] } }, - { + "CSSSupportsRule": { "name": "CSSSupportsRule", "extends": "CSSConditionRule" }, - { + "CustomEvent": { "name": "CustomEvent", "extends": "Event", "constructor": { @@ -12017,7 +12017,7 @@ ] } }, - { + "DataCue": { "name": "DataCue", "extends": "TextTrackCue", "properties": { @@ -12029,7 +12029,7 @@ ] } }, - { + "DataTransfer": { "name": "DataTransfer", "extends": "Object", "methods": { @@ -12102,7 +12102,7 @@ ] } }, - { + "DataTransferItem": { "name": "DataTransferItem", "extends": "Object", "methods": { @@ -12145,7 +12145,7 @@ ] } }, - { + "DataTransferItemList": { "name": "DataTransferItemList", "extends": "Object", "methods": { @@ -12198,7 +12198,7 @@ ] } }, - { + "DeferredPermissionRequest": { "name": "DeferredPermissionRequest", "extends": "Object", "methods": { @@ -12233,7 +12233,7 @@ ] } }, - { + "DelayNode": { "name": "DelayNode", "extends": "AudioNode", "properties": { @@ -12246,7 +12246,7 @@ ] } }, - { + "DeviceAcceleration": { "name": "DeviceAcceleration", "extends": "Object", "properties": { @@ -12272,7 +12272,7 @@ ] } }, - { + "DeviceLightEvent": { "name": "DeviceLightEvent", "extends": "Event", "constructor": { @@ -12298,7 +12298,7 @@ ] } }, - { + "DeviceMotionEvent": { "name": "DeviceMotionEvent", "extends": "Event", "constructor": { @@ -12385,7 +12385,7 @@ ] } }, - { + "DeviceOrientationEvent": { "name": "DeviceOrientationEvent", "extends": "Event", "constructor": { @@ -12470,7 +12470,7 @@ ] } }, - { + "DeviceRotationRate": { "name": "DeviceRotationRate", "extends": "Object", "properties": { @@ -12496,7 +12496,7 @@ ] } }, - { + "Document": { "name": "Document", "extends": "Node", "anonymous-methods": { @@ -13900,14 +13900,14 @@ ] } }, - { + "DocumentFragment": { "name": "DocumentFragment", "extends": "Node", "implements": [ "NodeSelector" ] }, - { + "DocumentType": { "name": "DocumentType", "extends": "Node", "implements": [ @@ -13949,7 +13949,7 @@ ] } }, - { + "DOMError": { "name": "DOMError", "extends": "Object", "methods": { @@ -13972,7 +13972,7 @@ ] } }, - { + "DOMException": { "name": "DOMException", "extends": "Object", "constants": { @@ -14198,7 +14198,7 @@ ] } }, - { + "DOMImplementation": { "name": "DOMImplementation", "extends": "Object", "methods": { @@ -14258,7 +14258,7 @@ ] } }, - { + "DOMParser": { "name": "DOMParser", "extends": "Object", "constructor": {}, @@ -14281,7 +14281,7 @@ ] } }, - { + "DOMSettableTokenList": { "name": "DOMSettableTokenList", "extends": "DOMTokenList", "properties": { @@ -14293,7 +14293,7 @@ ] } }, - { + "DOMStringList": { "name": "DOMStringList", "extends": "Object", "methods": { @@ -14332,7 +14332,7 @@ ] } }, - { + "DOMStringMap": { "name": "DOMStringMap", "extends": "Object", "anonymous-methods": { @@ -14375,7 +14375,7 @@ ] } }, - { + "DOMTokenList": { "name": "DOMTokenList", "extends": "Object", "methods": { @@ -14455,7 +14455,7 @@ ] } }, - { + "DragEvent": { "name": "DragEvent", "extends": "MouseEvent", "methods": { @@ -14561,7 +14561,7 @@ ] } }, - { + "DynamicsCompressorNode": { "name": "DynamicsCompressorNode", "extends": "AudioNode", "properties": { @@ -14599,7 +14599,7 @@ ] } }, - { + "Element": { "name": "Element", "extends": "Node", "anonymous-content-attributes": { @@ -16113,7 +16113,7 @@ ] } }, - { + "ErrorEvent": { "name": "ErrorEvent", "extends": "Event", "constructor": { @@ -16194,7 +16194,7 @@ ] } }, - { + "Event": { "name": "Event", "extends": "Object", "constants": { @@ -16333,7 +16333,7 @@ ] } }, - { + "EventTarget": { "name": "EventTarget", "extends": "Object", "methods": { @@ -16395,11 +16395,11 @@ ] } }, - { + "EXT_frag_depth": { "name": "EXT_frag_depth", "extends": "Object" }, - { + "EXT_texture_filter_anisotropic": { "name": "EXT_texture_filter_anisotropic", "extends": "Object", "constants": { @@ -16423,7 +16423,7 @@ ] } }, - { + "ExtensionScriptApis": { "name": "ExtensionScriptApis", "extends": "Object", "methods": { @@ -16518,11 +16518,11 @@ ] } }, - { + "External": { "name": "External", "extends": "Object" }, - { + "File": { "name": "File", "extends": "Blob", "properties": { @@ -16545,7 +16545,7 @@ ] } }, - { + "FileList": { "name": "FileList", "extends": "Object", "methods": { @@ -16573,7 +16573,7 @@ ] } }, - { + "FileReader": { "name": "FileReader", "extends": "EventTarget", "constructor": {}, @@ -16685,7 +16685,7 @@ ] } }, - { + "FocusEvent": { "name": "FocusEvent", "extends": "UIEvent", "constructor": { @@ -16745,7 +16745,7 @@ ] } }, - { + "FocusNavigationEvent": { "name": "FocusNavigationEvent", "extends": "Event", "constructor": { @@ -16799,7 +16799,7 @@ ] } }, - { + "FormData": { "name": "FormData", "extends": "Object", "constructor": {}, @@ -16827,7 +16827,7 @@ ] } }, - { + "GainNode": { "name": "GainNode", "extends": "AudioNode", "properties": { @@ -16840,7 +16840,7 @@ ] } }, - { + "Gamepad": { "name": "Gamepad", "extends": "Object", "properties": { @@ -16883,7 +16883,7 @@ ] } }, - { + "GamepadButton": { "name": "GamepadButton", "extends": "Object", "properties": { @@ -16901,7 +16901,7 @@ ] } }, - { + "GamepadEvent": { "name": "GamepadEvent", "extends": "Event", "constructor": { @@ -16927,7 +16927,7 @@ ] } }, - { + "Geolocation": { "name": "Geolocation", "extends": "Object", "methods": { @@ -16989,7 +16989,7 @@ ] } }, - { + "HashChangeEvent": { "name": "HashChangeEvent", "extends": "Event", "constructor": { @@ -17022,7 +17022,7 @@ ] } }, - { + "Headers": { "name": "Headers", "extends": "Object", "constructor": { @@ -17117,7 +17117,7 @@ ] } }, - { + "History": { "name": "History", "extends": "Object", "methods": { @@ -17212,7 +17212,7 @@ ] } }, - { + "HTMLAllCollection": { "name": "HTMLAllCollection", "extends": "Object", "anonymous-methods": { @@ -17269,7 +17269,7 @@ ] } }, - { + "HTMLAnchorElement": { "name": "HTMLAnchorElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -17437,7 +17437,7 @@ ] } }, - { + "HTMLAppletElement": { "name": "HTMLAppletElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -17585,7 +17585,7 @@ ] } }, - { + "HTMLAreaElement": { "name": "HTMLAreaElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -17704,11 +17704,11 @@ ] } }, - { + "HTMLAreasCollection": { "name": "HTMLAreasCollection", "extends": "HTMLCollection" }, - { + "HTMLAudioElement": { "name": "HTMLAudioElement", "extends": "HTMLMediaElement", "element": [ @@ -17728,7 +17728,7 @@ ] } }, - { + "HTMLBaseElement": { "name": "HTMLBaseElement", "extends": "HTMLElement", "element": [ @@ -17758,7 +17758,7 @@ ] } }, - { + "HTMLBaseFontElement": { "name": "HTMLBaseFontElement", "extends": "HTMLElement", "element": [ @@ -17790,7 +17790,7 @@ ] } }, - { + "HTMLBodyElement": { "name": "HTMLBodyElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -18022,7 +18022,7 @@ ] } }, - { + "HTMLBRElement": { "name": "HTMLBRElement", "extends": "HTMLElement", "element": [ @@ -18045,7 +18045,7 @@ ] } }, - { + "HTMLButtonElement": { "name": "HTMLButtonElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -18182,7 +18182,7 @@ ] } }, - { + "HTMLCanvasElement": { "name": "HTMLCanvasElement", "extends": "HTMLElement", "element": [ @@ -18271,7 +18271,7 @@ ] } }, - { + "HTMLCollection": { "name": "HTMLCollection", "extends": "Object", "methods": { @@ -18312,7 +18312,7 @@ ] } }, - { + "HTMLDataElement": { "name": "HTMLDataElement", "extends": "HTMLElement", "element": [ @@ -18332,7 +18332,7 @@ ] } }, - { + "HTMLDataListElement": { "name": "HTMLDataListElement", "extends": "HTMLElement", "element": [ @@ -18351,7 +18351,7 @@ ] } }, - { + "HTMLDirectoryElement": { "name": "HTMLDirectoryElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -18381,7 +18381,7 @@ ] } }, - { + "HTMLDivElement": { "name": "HTMLDivElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -18419,7 +18419,7 @@ ] } }, - { + "HTMLDListElement": { "name": "HTMLDListElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -18449,11 +18449,11 @@ ] } }, - { + "HTMLDocument": { "name": "HTMLDocument", "extends": "Document" }, - { + "HTMLElement": { "name": "HTMLElement", "extends": "Element", "anonymous-content-attributes": { @@ -19327,7 +19327,7 @@ ] } }, - { + "HTMLEmbedElement": { "name": "HTMLEmbedElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -19445,7 +19445,7 @@ ] } }, - { + "HTMLFieldSetElement": { "name": "HTMLFieldSetElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -19527,7 +19527,7 @@ ] } }, - { + "HTMLFontElement": { "name": "HTMLFontElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -19561,7 +19561,7 @@ ] } }, - { + "HTMLFormControlsCollection": { "name": "HTMLFormControlsCollection", "extends": "HTMLCollection", "methods": { @@ -19581,7 +19581,7 @@ ] } }, - { + "HTMLFormElement": { "name": "HTMLFormElement", "extends": "HTMLElement", "override-builtins": "1", @@ -19744,7 +19744,7 @@ ] } }, - { + "HTMLFrameElement": { "name": "HTMLFrameElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -19889,7 +19889,7 @@ ] } }, - { + "HTMLFrameSetElement": { "name": "HTMLFrameSetElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20102,7 +20102,7 @@ ] } }, - { + "HTMLHeadElement": { "name": "HTMLHeadElement", "extends": "HTMLElement", "element": [ @@ -20122,7 +20122,7 @@ ] } }, - { + "HTMLHeadingElement": { "name": "HTMLHeadingElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20173,7 +20173,7 @@ ] } }, - { + "HTMLHRElement": { "name": "HTMLHRElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20223,7 +20223,7 @@ ] } }, - { + "HTMLHtmlElement": { "name": "HTMLHtmlElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20251,7 +20251,7 @@ ] } }, - { + "HTMLIFrameElement": { "name": "HTMLIFrameElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20434,7 +20434,7 @@ ] } }, - { + "HTMLImageElement": { "name": "HTMLImageElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -20659,7 +20659,7 @@ ] } }, - { + "HTMLInputElement": { "name": "HTMLInputElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -21083,7 +21083,7 @@ ] } }, - { + "HTMLLabelElement": { "name": "HTMLLabelElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -21118,7 +21118,7 @@ ] } }, - { + "HTMLLegendElement": { "name": "HTMLLegendElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -21154,7 +21154,7 @@ ] } }, - { + "HTMLLIElement": { "name": "HTMLLIElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -21192,7 +21192,7 @@ ] } }, - { + "HTMLLinkElement": { "name": "HTMLLinkElement", "extends": "HTMLElement", "element": [ @@ -21299,7 +21299,7 @@ ] } }, - { + "HTMLMapElement": { "name": "HTMLMapElement", "extends": "HTMLElement", "element": [ @@ -21324,7 +21324,7 @@ ] } }, - { + "HTMLMarqueeElement": { "name": "HTMLMarqueeElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -21485,7 +21485,7 @@ ] } }, - { + "HTMLMediaElement": { "name": "HTMLMediaElement", "extends": "HTMLElement", "constants": { @@ -22028,7 +22028,7 @@ ] } }, - { + "HTMLMenuElement": { "name": "HTMLMenuElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22066,7 +22066,7 @@ ] } }, - { + "HTMLMetaElement": { "name": "HTMLMetaElement", "extends": "HTMLElement", "element": [ @@ -22119,7 +22119,7 @@ ] } }, - { + "HTMLMeterElement": { "name": "HTMLMeterElement", "extends": "HTMLElement", "element": [ @@ -22175,7 +22175,7 @@ ] } }, - { + "HTMLModElement": { "name": "HTMLModElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22216,7 +22216,7 @@ ] } }, - { + "HTMLObjectElement": { "name": "HTMLObjectElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22457,7 +22457,7 @@ ] } }, - { + "HTMLOListElement": { "name": "HTMLOListElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22502,7 +22502,7 @@ ] } }, - { + "HTMLOptGroupElement": { "name": "HTMLOptGroupElement", "extends": "HTMLElement", "element": [ @@ -22561,7 +22561,7 @@ ] } }, - { + "HTMLOptionElement": { "name": "HTMLOptionElement", "extends": "HTMLElement", "element": [ @@ -22644,7 +22644,7 @@ ] } }, - { + "HTMLOptionsCollection": { "name": "HTMLOptionsCollection", "extends": "HTMLCollection", "anonymous-methods": { @@ -22711,7 +22711,7 @@ ] } }, - { + "HTMLOutputElement": { "name": "HTMLOutputElement", "extends": "HTMLElement", "element": [ @@ -22796,7 +22796,7 @@ ] } }, - { + "HTMLParagraphElement": { "name": "HTMLParagraphElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22835,7 +22835,7 @@ ] } }, - { + "HTMLParamElement": { "name": "HTMLParamElement", "extends": "HTMLElement", "element": [ @@ -22877,7 +22877,7 @@ ] } }, - { + "HTMLPictureElement": { "name": "HTMLPictureElement", "extends": "HTMLElement", "element": [ @@ -22887,7 +22887,7 @@ } ] }, - { + "HTMLPreElement": { "name": "HTMLPreElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22925,7 +22925,7 @@ ] } }, - { + "HTMLProgressElement": { "name": "HTMLProgressElement", "extends": "HTMLElement", "element": [ @@ -22963,7 +22963,7 @@ ] } }, - { + "HTMLQuoteElement": { "name": "HTMLQuoteElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -22997,7 +22997,7 @@ ] } }, - { + "HTMLScriptElement": { "name": "HTMLScriptElement", "extends": "HTMLElement", "element": [ @@ -23090,7 +23090,7 @@ ] } }, - { + "HTMLSelectElement": { "name": "HTMLSelectElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -23289,7 +23289,7 @@ ] } }, - { + "HTMLSourceElement": { "name": "HTMLSourceElement", "extends": "HTMLElement", "element": [ @@ -23343,7 +23343,7 @@ ] } }, - { + "HTMLSpanElement": { "name": "HTMLSpanElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -23362,7 +23362,7 @@ } ] }, - { + "HTMLStyleElement": { "name": "HTMLStyleElement", "extends": "HTMLElement", "element": [ @@ -23420,7 +23420,7 @@ ] } }, - { + "HTMLTableCaptionElement": { "name": "HTMLTableCaptionElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -23459,7 +23459,7 @@ ] } }, - { + "HTMLTableCellElement": { "name": "HTMLTableCellElement", "extends": "HTMLElement", "implements": [ @@ -23552,7 +23552,7 @@ ] } }, - { + "HTMLTableColElement": { "name": "HTMLTableColElement", "extends": "HTMLElement", "element": [ @@ -23596,7 +23596,7 @@ ] } }, - { + "HTMLTableDataCellElement": { "name": "HTMLTableDataCellElement", "extends": "HTMLTableCellElement", "anonymous-content-attributes": { @@ -23615,7 +23615,7 @@ } ] }, - { + "HTMLTableElement": { "name": "HTMLTableElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -23802,7 +23802,7 @@ ] } }, - { + "HTMLTableHeaderCellElement": { "name": "HTMLTableHeaderCellElement", "extends": "HTMLTableCellElement", "element": [ @@ -23824,7 +23824,7 @@ ] } }, - { + "HTMLTableRowElement": { "name": "HTMLTableRowElement", "extends": "HTMLElement", "element": [ @@ -23906,7 +23906,7 @@ ] } }, - { + "HTMLTableSectionElement": { "name": "HTMLTableSectionElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -23981,7 +23981,7 @@ ] } }, - { + "HTMLTemplateElement": { "name": "HTMLTemplateElement", "extends": "HTMLElement", "element": [ @@ -24000,7 +24000,7 @@ ] } }, - { + "HTMLTextAreaElement": { "name": "HTMLTextAreaElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -24197,7 +24197,7 @@ ] } }, - { + "HTMLTimeElement": { "name": "HTMLTimeElement", "extends": "HTMLElement", "element": [ @@ -24218,7 +24218,7 @@ ] } }, - { + "HTMLTitleElement": { "name": "HTMLTitleElement", "extends": "HTMLElement", "element": [ @@ -24236,7 +24236,7 @@ ] } }, - { + "HTMLTrackElement": { "name": "HTMLTrackElement", "extends": "HTMLElement", "constants": { @@ -24337,7 +24337,7 @@ ] } }, - { + "HTMLUListElement": { "name": "HTMLUListElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -24375,7 +24375,7 @@ ] } }, - { + "HTMLUnknownElement": { "name": "HTMLUnknownElement", "extends": "HTMLElement", "anonymous-content-attributes": { @@ -24398,7 +24398,7 @@ } ] }, - { + "HTMLVideoElement": { "name": "HTMLVideoElement", "extends": "HTMLMediaElement", "element": [ @@ -24596,7 +24596,7 @@ ] } }, - { + "IDBCursor": { "name": "IDBCursor", "extends": "Object", "constants": { @@ -24697,7 +24697,7 @@ ] } }, - { + "IDBCursorWithValue": { "name": "IDBCursorWithValue", "extends": "IDBCursor", "properties": { @@ -24710,7 +24710,7 @@ ] } }, - { + "IDBDatabase": { "name": "IDBDatabase", "extends": "EventTarget", "events": { @@ -24809,7 +24809,7 @@ ] } }, - { + "IDBFactory": { "name": "IDBFactory", "extends": "Object", "methods": { @@ -24857,7 +24857,7 @@ ] } }, - { + "IDBIndex": { "name": "IDBIndex", "extends": "Object", "methods": { @@ -24956,7 +24956,7 @@ ] } }, - { + "IDBKeyRange": { "name": "IDBKeyRange", "extends": "Object", "methods": { @@ -25060,7 +25060,7 @@ ] } }, - { + "IDBObjectStore": { "name": "IDBObjectStore", "extends": "Object", "methods": { @@ -25220,7 +25220,7 @@ ] } }, - { + "IDBOpenDBRequest": { "name": "IDBOpenDBRequest", "extends": "IDBRequest", "events": { @@ -25254,7 +25254,7 @@ ] } }, - { + "IDBRequest": { "name": "IDBRequest", "extends": "EventTarget", "events": { @@ -25316,7 +25316,7 @@ ] } }, - { + "IDBTransaction": { "name": "IDBTransaction", "extends": "EventTarget", "constants": { @@ -25419,7 +25419,7 @@ ] } }, - { + "IDBVersionChangeEvent": { "name": "IDBVersionChangeEvent", "extends": "Event", "properties": { @@ -25438,7 +25438,7 @@ ] } }, - { + "IIRFilterNode": { "name": "IIRFilterNode", "extends": "AudioNode", "methods": { @@ -25464,7 +25464,7 @@ ] } }, - { + "ImageData": { "name": "ImageData", "extends": "Object", "constructor": { @@ -25499,7 +25499,7 @@ ] } }, - { + "IntersectionObserver": { "name": "IntersectionObserver", "exposed": "Window", "extends": "Object", @@ -25569,7 +25569,7 @@ ] } }, - { + "IntersectionObserverEntry": { "name": "IntersectionObserverEntry", "extends": "Object", "constructor": { @@ -25615,7 +25615,7 @@ ] } }, - { + "KeyboardEvent": { "name": "KeyboardEvent", "extends": "UIEvent", "constants": { @@ -25799,7 +25799,7 @@ ] } }, - { + "ListeningStateChangedEvent": { "name": "ListeningStateChangedEvent", "extends": "Event", "properties": { @@ -25817,7 +25817,7 @@ ] } }, - { + "Location": { "name": "Location", "extends": "Object", "methods": { @@ -25916,7 +25916,7 @@ ] } }, - { + "LongRunningScriptDetectedEvent": { "name": "LongRunningScriptDetectedEvent", "extends": "Event", "tags": "MSAppOnly", @@ -25936,7 +25936,7 @@ ] } }, - { + "MediaDeviceInfo": { "name": "MediaDeviceInfo", "extends": "Object", "properties": { @@ -25964,7 +25964,7 @@ ] } }, - { + "MediaDevices": { "name": "MediaDevices", "extends": "EventTarget", "events": { @@ -26009,11 +26009,11 @@ ] } }, - { + "MediaElementAudioSourceNode": { "name": "MediaElementAudioSourceNode", "extends": "AudioNode" }, - { + "MediaEncryptedEvent": { "name": "MediaEncryptedEvent", "extends": "Event", "constructor": { @@ -26045,7 +26045,7 @@ ] } }, - { + "MediaError": { "name": "MediaError", "extends": "Object", "constants": { @@ -26102,7 +26102,7 @@ ] } }, - { + "MediaKeyMessageEvent": { "name": "MediaKeyMessageEvent", "extends": "Event", "constructor": { @@ -26133,7 +26133,7 @@ ] } }, - { + "MediaKeys": { "name": "MediaKeys", "extends": "Object", "methods": { @@ -26163,7 +26163,7 @@ ] } }, - { + "MediaKeySession": { "name": "MediaKeySession", "extends": "EventTarget", "events": { @@ -26251,7 +26251,7 @@ ] } }, - { + "MediaKeyStatusMap": { "name": "MediaKeyStatusMap", "extends": "Object", "methods": { @@ -26298,7 +26298,7 @@ ] } }, - { + "MediaKeySystemAccess": { "name": "MediaKeySystemAccess", "extends": "Object", "methods": { @@ -26323,7 +26323,7 @@ ] } }, - { + "MediaList": { "name": "MediaList", "extends": "Object", "methods": { @@ -26381,7 +26381,7 @@ ] } }, - { + "MediaQueryList": { "name": "MediaQueryList", "extends": "Object", "methods": { @@ -26423,7 +26423,7 @@ ] } }, - { + "MediaSource": { "name": "MediaSource", "extends": "EventTarget", "constructor": {}, @@ -26523,7 +26523,7 @@ ] } }, - { + "MediaStream": { "name": "MediaStream", "extends": "EventTarget", "constructor": { @@ -26653,11 +26653,11 @@ ] } }, - { + "MediaStreamAudioSourceNode": { "name": "MediaStreamAudioSourceNode", "extends": "AudioNode" }, - { + "MediaStreamError": { "name": "MediaStreamError", "extends": "Object", "properties": { @@ -26682,7 +26682,7 @@ ] } }, - { + "MediaStreamErrorEvent": { "name": "MediaStreamErrorEvent", "extends": "Event", "constructor": { @@ -26709,7 +26709,7 @@ ] } }, - { + "MediaStreamEvent": { "name": "MediaStreamEvent", "extends": "Event", "constructor": { @@ -26735,7 +26735,7 @@ ] } }, - { + "MediaStreamTrack": { "name": "MediaStreamTrack", "extends": "EventTarget", "events": { @@ -26864,7 +26864,7 @@ ] } }, - { + "MediaStreamTrackEvent": { "name": "MediaStreamTrackEvent", "extends": "Event", "constructor": { @@ -26890,7 +26890,7 @@ ] } }, - { + "MessageChannel": { "name": "MessageChannel", "extends": "Object", "constructor": {}, @@ -26909,7 +26909,7 @@ ] } }, - { + "MessageEvent": { "name": "MessageEvent", "extends": "Event", "constructor": { @@ -26988,7 +26988,7 @@ ] } }, - { + "MessagePort": { "name": "MessagePort", "extends": "EventTarget", "events": { @@ -27039,7 +27039,7 @@ ] } }, - { + "MimeType": { "name": "MimeType", "extends": "Object", "properties": { @@ -27067,7 +27067,7 @@ ] } }, - { + "MimeTypeArray": { "name": "MimeTypeArray", "extends": "Object", "methods": { @@ -27106,7 +27106,7 @@ ] } }, - { + "MouseEvent": { "name": "MouseEvent", "extends": "UIEvent", "constructor": { @@ -27327,7 +27327,7 @@ ] } }, - { + "MSApp": { "name": "MSApp", "extends": "Object", "static": "1", @@ -27567,7 +27567,7 @@ ] } }, - { + "MSAppAsyncOperation": { "name": "MSAppAsyncOperation", "extends": "EventTarget", "tags": "MSAppOnly", @@ -27661,7 +27661,7 @@ ] } }, - { + "MSAssertion": { "name": "MSAssertion", "extends": "Object", "properties": { @@ -27679,7 +27679,7 @@ ] } }, - { + "MSBlobBuilder": { "name": "MSBlobBuilder", "extends": "Object", "constructor": {}, @@ -27714,7 +27714,7 @@ ] } }, - { + "MSCredentials": { "name": "MSCredentials", "extends": "Object", "methods": { @@ -27761,7 +27761,7 @@ ] } }, - { + "MSFIDOCredentialAssertion": { "name": "MSFIDOCredentialAssertion", "extends": "MSAssertion", "properties": { @@ -27791,7 +27791,7 @@ ] } }, - { + "MSFIDOSignature": { "name": "MSFIDOSignature", "extends": "Object", "properties": { @@ -27814,7 +27814,7 @@ ] } }, - { + "MSFIDOSignatureAssertion": { "name": "MSFIDOSignatureAssertion", "extends": "MSAssertion", "properties": { @@ -27827,7 +27827,7 @@ ] } }, - { + "MSGesture": { "name": "MSGesture", "extends": "Object", "constructor": {}, @@ -27858,7 +27858,7 @@ ] } }, - { + "MSGestureEvent": { "name": "MSGestureEvent", "extends": "UIEvent", "constants": { @@ -28084,7 +28084,7 @@ ] } }, - { + "MSGraphicsTrust": { "name": "MSGraphicsTrust", "extends": "Object", "properties": { @@ -28102,7 +28102,7 @@ ] } }, - { + "MSHTMLWebViewElement": { "name": "MSHTMLWebViewElement", "extends": "HTMLElement", "tags": "MSAppOnly", @@ -28448,7 +28448,7 @@ ] } }, - { + "MSInputMethodContext": { "name": "MSInputMethodContext", "extends": "EventTarget", "events": { @@ -28535,7 +28535,7 @@ ] } }, - { + "MSManipulationEvent": { "name": "MSManipulationEvent", "extends": "UIEvent", "tags": "IEOnly", @@ -28675,7 +28675,7 @@ ] } }, - { + "MSMediaKeyError": { "name": "MSMediaKeyError", "extends": "Object", "constants": { @@ -28739,7 +28739,7 @@ ] } }, - { + "MSMediaKeyMessageEvent": { "name": "MSMediaKeyMessageEvent", "extends": "Event", "properties": { @@ -28758,7 +28758,7 @@ ] } }, - { + "MSMediaKeyNeededEvent": { "name": "MSMediaKeyNeededEvent", "extends": "Event", "properties": { @@ -28772,7 +28772,7 @@ ] } }, - { + "MSMediaKeys": { "name": "MSMediaKeys", "extends": "Object", "constructor": { @@ -28851,7 +28851,7 @@ ] } }, - { + "MSMediaKeySession": { "name": "MSMediaKeySession", "extends": "EventTarget", "events": { @@ -28918,7 +28918,7 @@ ] } }, - { + "MSPointerEvent": { "name": "MSPointerEvent", "extends": "MouseEvent", "constructor": { @@ -29137,7 +29137,7 @@ ] } }, - { + "MSRangeCollection": { "name": "MSRangeCollection", "extends": "Object", "methods": { @@ -29165,7 +29165,7 @@ ] } }, - { + "MSSiteModeEvent": { "name": "MSSiteModeEvent", "extends": "Event", "properties": { @@ -29183,7 +29183,7 @@ ] } }, - { + "MSStream": { "name": "MSStream", "extends": "Object", "methods": { @@ -29208,7 +29208,7 @@ ] } }, - { + "MSStreamReader": { "name": "MSStreamReader", "extends": "EventTarget", "constructor": {}, @@ -29366,7 +29366,7 @@ ] } }, - { + "MSWebViewAsyncOperation": { "name": "MSWebViewAsyncOperation", "extends": "EventTarget", "tags": "MSAppOnly", @@ -29496,7 +29496,7 @@ ] } }, - { + "MSWebViewSettings": { "name": "MSWebViewSettings", "extends": "Object", "tags": "MSAppOnly", @@ -29515,7 +29515,7 @@ ] } }, - { + "MutationEvent": { "name": "MutationEvent", "extends": "Event", "constants": { @@ -29615,7 +29615,7 @@ ] } }, - { + "MutationObserver": { "name": "MutationObserver", "extends": "Object", "constructor": { @@ -29653,7 +29653,7 @@ ] } }, - { + "MutationRecord": { "name": "MutationRecord", "extends": "Object", "properties": { @@ -29711,7 +29711,7 @@ ] } }, - { + "NamedNodeMap": { "name": "NamedNodeMap", "extends": "Object", "methods": { @@ -29812,7 +29812,7 @@ ] } }, - { + "NavigationCompletedEvent": { "name": "NavigationCompletedEvent", "extends": "NavigationEvent", "tags": "MSAppOnly", @@ -29833,7 +29833,7 @@ ] } }, - { + "NavigationEvent": { "name": "NavigationEvent", "extends": "Event", "tags": "MSAppOnly", @@ -29848,7 +29848,7 @@ ] } }, - { + "NavigationEventWithReferrer": { "name": "NavigationEventWithReferrer", "extends": "NavigationEvent", "tags": "MSAppOnly", @@ -29863,7 +29863,7 @@ ] } }, - { + "Navigator": { "name": "Navigator", "extends": "Object", "implements": [ @@ -29997,7 +29997,7 @@ ] } }, - { + "Node": { "name": "Node", "extends": "EventTarget", "constants": { @@ -30373,7 +30373,7 @@ ] } }, - { + "NodeFilter": { "name": "NodeFilter", "extends": "Object", "static": "1", @@ -30508,7 +30508,7 @@ ] } }, - { + "NodeIterator": { "name": "NodeIterator", "extends": "Object", "methods": { @@ -30552,7 +30552,7 @@ ] } }, - { + "NodeList": { "name": "NodeList", "extends": "Object", "methods": { @@ -30580,7 +30580,7 @@ ] } }, - { + "Notification": { "name": "Notification", "extends": "EventTarget", "constructor": { @@ -30708,11 +30708,11 @@ ] } }, - { + "OES_element_index_uint": { "name": "OES_element_index_uint", "extends": "Object" }, - { + "OES_standard_derivatives": { "name": "OES_standard_derivatives", "extends": "Object", "constants": { @@ -30728,15 +30728,15 @@ ] } }, - { + "OES_texture_float": { "name": "OES_texture_float", "extends": "Object" }, - { + "OES_texture_float_linear": { "name": "OES_texture_float_linear", "extends": "Object" }, - { + "OES_texture_half_float": { "name": "OES_texture_half_float", "extends": "Object", "constants": { @@ -30752,11 +30752,11 @@ ] } }, - { + "OES_texture_half_float_linear": { "name": "OES_texture_half_float_linear", "extends": "Object" }, - { + "OfflineAudioCompletionEvent": { "name": "OfflineAudioCompletionEvent", "extends": "Event", "properties": { @@ -30769,7 +30769,7 @@ ] } }, - { + "OfflineAudioContext": { "name": "OfflineAudioContext", "extends": "AudioContext", "constructor": { @@ -30831,7 +30831,7 @@ ] } }, - { + "OscillatorNode": { "name": "OscillatorNode", "extends": "AudioNode", "events": { @@ -30906,7 +30906,7 @@ ] } }, - { + "OverflowEvent": { "name": "OverflowEvent", "extends": "UIEvent", "anonymous-methods": { @@ -30979,7 +30979,7 @@ ] } }, - { + "PageTransitionEvent": { "name": "PageTransitionEvent", "extends": "Event", "properties": { @@ -30992,7 +30992,7 @@ ] } }, - { + "PannerNode": { "name": "PannerNode", "extends": "AudioNode", "methods": { @@ -31090,7 +31090,7 @@ ] } }, - { + "Path2D": { "name": "Path2D", "extends": "Object", "constructor": { @@ -31106,7 +31106,7 @@ "CanvasPathMethods" ] }, - { + "PaymentAddress": { "name": "PaymentAddress", "extends": "Object", "secure-context": "1", @@ -31180,7 +31180,7 @@ ] } }, - { + "PaymentRequest": { "name": "PaymentRequest", "extends": "EventTarget", "secure-context": "1", @@ -31260,7 +31260,7 @@ ] } }, - { + "PaymentRequestUpdateEvent": { "name": "PaymentRequestUpdateEvent", "extends": "Event", "secure-context": "1", @@ -31292,7 +31292,7 @@ ] } }, - { + "PaymentResponse": { "name": "PaymentResponse", "extends": "Object", "secure-context": "1", @@ -31363,7 +31363,7 @@ ] } }, - { + "Performance": { "name": "Performance", "extends": "Object", "methods": { @@ -31510,7 +31510,7 @@ ] } }, - { + "PerformanceEntry": { "name": "PerformanceEntry", "extends": "Object", "properties": { @@ -31538,15 +31538,15 @@ ] } }, - { + "PerformanceMark": { "name": "PerformanceMark", "extends": "PerformanceEntry" }, - { + "PerformanceMeasure": { "name": "PerformanceMeasure", "extends": "PerformanceEntry" }, - { + "PerformanceNavigation": { "name": "PerformanceNavigation", "extends": "Object", "constants": { @@ -31604,7 +31604,7 @@ ] } }, - { + "PerformanceNavigationTiming": { "name": "PerformanceNavigationTiming", "extends": "PerformanceEntry", "properties": { @@ -31722,7 +31722,7 @@ ] } }, - { + "PerformanceResourceTiming": { "name": "PerformanceResourceTiming", "extends": "PerformanceEntry", "properties": { @@ -31785,7 +31785,7 @@ ] } }, - { + "PerformanceTiming": { "name": "PerformanceTiming", "extends": "Object", "methods": { @@ -31906,7 +31906,7 @@ ] } }, - { + "PerfWidgetExternal": { "name": "PerfWidgetExternal", "extends": "Object", "methods": { @@ -32081,11 +32081,11 @@ ] } }, - { + "PeriodicWave": { "name": "PeriodicWave", "extends": "Object" }, - { + "PermissionRequest": { "name": "PermissionRequest", "extends": "DeferredPermissionRequest", "methods": { @@ -32106,7 +32106,7 @@ ] } }, - { + "PermissionRequestedEvent": { "name": "PermissionRequestedEvent", "extends": "Event", "properties": { @@ -32119,7 +32119,7 @@ ] } }, - { + "Plugin": { "name": "Plugin", "extends": "Object", "methods": { @@ -32178,7 +32178,7 @@ ] } }, - { + "PluginArray": { "name": "PluginArray", "extends": "Object", "methods": { @@ -32228,7 +32228,7 @@ ] } }, - { + "PointerEvent": { "name": "PointerEvent", "extends": "MouseEvent", "constructor": { @@ -32447,7 +32447,7 @@ ] } }, - { + "PopStateEvent": { "name": "PopStateEvent", "extends": "Event", "constructor": { @@ -32499,7 +32499,7 @@ ] } }, - { + "Position": { "name": "Position", "extends": "Object", "properties": { @@ -32517,7 +32517,7 @@ ] } }, - { + "PositionError": { "name": "PositionError", "extends": "Object", "constants": { @@ -32570,7 +32570,7 @@ ] } }, - { + "ProcessingInstruction": { "name": "ProcessingInstruction", "extends": "CharacterData", "events": { @@ -32593,7 +32593,7 @@ ] } }, - { + "ProgressEvent": { "name": "ProgressEvent", "extends": "Event", "constructor": { @@ -32663,7 +32663,7 @@ ] } }, - { + "PushManager": { "name": "PushManager", "extends": "Object", "methods": { @@ -32697,7 +32697,7 @@ ] } }, - { + "PushSubscription": { "name": "PushSubscription", "extends": "Object", "methods": { @@ -32740,7 +32740,7 @@ ] } }, - { + "PushSubscriptionOptions": { "name": "PushSubscriptionOptions", "extends": "Object", "properties": { @@ -32759,7 +32759,7 @@ ] } }, - { + "Range": { "name": "Range", "extends": "Object", "constants": { @@ -33018,7 +33018,7 @@ ] } }, - { + "ReadableStream": { "name": "ReadableStream", "extends": "Object", "methods": { @@ -33043,7 +33043,7 @@ ] } }, - { + "ReadableStreamReader": { "name": "ReadableStreamReader", "extends": "Object", "methods": { @@ -33063,7 +33063,7 @@ ] } }, - { + "Request": { "name": "Request", "extends": "Object", "constructor": { @@ -33164,7 +33164,7 @@ ] } }, - { + "Response": { "name": "Response", "extends": "Object", "constructor": { @@ -33238,7 +33238,7 @@ ] } }, - { + "RTCDtlsTransport": { "name": "RTCDtlsTransport", "extends": "RTCStatsProvider", "constructor": { @@ -33323,7 +33323,7 @@ ] } }, - { + "RTCDtlsTransportStateChangedEvent": { "name": "RTCDtlsTransportStateChangedEvent", "extends": "Event", "properties": { @@ -33336,7 +33336,7 @@ ] } }, - { + "RTCDtmfSender": { "name": "RTCDtmfSender", "extends": "EventTarget", "constructor": { @@ -33416,7 +33416,7 @@ ] } }, - { + "RTCDTMFToneChangeEvent": { "name": "RTCDTMFToneChangeEvent", "extends": "Event", "constructor": { @@ -33441,7 +33441,7 @@ ] } }, - { + "RTCIceCandidate": { "name": "RTCIceCandidate", "extends": "Object", "constructor": { @@ -33483,7 +33483,7 @@ ] } }, - { + "RTCIceCandidatePairChangedEvent": { "name": "RTCIceCandidatePairChangedEvent", "extends": "Event", "properties": { @@ -33496,7 +33496,7 @@ ] } }, - { + "RTCIceGatherer": { "name": "RTCIceGatherer", "extends": "RTCStatsProvider", "constructor": { @@ -33561,7 +33561,7 @@ ] } }, - { + "RTCIceGathererEvent": { "name": "RTCIceGathererEvent", "extends": "Event", "properties": { @@ -33575,7 +33575,7 @@ ] } }, - { + "RTCIceTransport": { "name": "RTCIceTransport", "extends": "RTCStatsProvider", "constructor": {}, @@ -33699,7 +33699,7 @@ ] } }, - { + "RTCIceTransportStateChangedEvent": { "name": "RTCIceTransportStateChangedEvent", "extends": "Event", "properties": { @@ -33712,7 +33712,7 @@ ] } }, - { + "RTCPeerConnection": { "name": "RTCPeerConnection", "extends": "EventTarget", "constructor": { @@ -34011,7 +34011,7 @@ ] } }, - { + "RTCPeerConnectionIceEvent": { "name": "RTCPeerConnectionIceEvent", "extends": "Event", "constructor": { @@ -34036,7 +34036,7 @@ ] } }, - { + "RTCRtpReceiver": { "name": "RTCRtpReceiver", "extends": "RTCStatsProvider", "constructor": { @@ -34155,7 +34155,7 @@ ] } }, - { + "RTCRtpSender": { "name": "RTCRtpSender", "extends": "RTCStatsProvider", "constructor": { @@ -34281,7 +34281,7 @@ ] } }, - { + "RTCSessionDescription": { "name": "RTCSessionDescription", "extends": "Object", "constructor": { @@ -34318,7 +34318,7 @@ ] } }, - { + "RTCSrtpSdesTransport": { "name": "RTCSrtpSdesTransport", "extends": "EventTarget", "constructor": { @@ -34372,7 +34372,7 @@ ] } }, - { + "RTCSsrcConflictEvent": { "name": "RTCSsrcConflictEvent", "extends": "Event", "properties": { @@ -34385,7 +34385,7 @@ ] } }, - { + "RTCStatsProvider": { "name": "RTCStatsProvider", "extends": "EventTarget", "methods": { @@ -34401,7 +34401,7 @@ ] } }, - { + "ScopedCredential": { "name": "ScopedCredential", "extends": "Object", "secure-context": "1", @@ -34420,7 +34420,7 @@ ] } }, - { + "ScopedCredentialInfo": { "name": "ScopedCredentialInfo", "extends": "Object", "secure-context": "1", @@ -34439,7 +34439,7 @@ ] } }, - { + "Screen": { "name": "Screen", "extends": "EventTarget", "events": { @@ -34555,7 +34555,7 @@ ] } }, - { + "ScriptNotifyEvent": { "name": "ScriptNotifyEvent", "extends": "Event", "tags": "MSAppOnly", @@ -34576,7 +34576,7 @@ ] } }, - { + "ScriptProcessorNode": { "name": "ScriptProcessorNode", "extends": "AudioNode", "events": { @@ -34604,7 +34604,7 @@ ] } }, - { + "Selection": { "name": "Selection", "extends": "Object", "methods": { @@ -34814,7 +34814,7 @@ ] } }, - { + "ServiceWorker": { "name": "ServiceWorker", "extends": "EventTarget", "events": { @@ -34875,7 +34875,7 @@ ] } }, - { + "ServiceWorkerContainer": { "name": "ServiceWorkerContainer", "extends": "EventTarget", "secure-context": "1", @@ -34966,7 +34966,7 @@ ] } }, - { + "ServiceWorkerMessageEvent": { "name": "ServiceWorkerMessageEvent", "extends": "Event", "constructor": { @@ -35015,7 +35015,7 @@ ] } }, - { + "ServiceWorkerRegistration": { "name": "ServiceWorkerRegistration", "extends": "EventTarget", "events": { @@ -35111,7 +35111,7 @@ ] } }, - { + "SourceBuffer": { "name": "SourceBuffer", "extends": "EventTarget", "events": { @@ -35236,7 +35236,7 @@ ] } }, - { + "SourceBufferList": { "name": "SourceBufferList", "extends": "EventTarget", "events": { @@ -35280,7 +35280,7 @@ ] } }, - { + "SpeechSynthesis": { "name": "SpeechSynthesis", "extends": "EventTarget", "events": { @@ -35348,7 +35348,7 @@ ] } }, - { + "SpeechSynthesisEvent": { "name": "SpeechSynthesisEvent", "extends": "Event", "constructor": { @@ -35390,7 +35390,7 @@ ] } }, - { + "SpeechSynthesisUtterance": { "name": "SpeechSynthesisUtterance", "extends": "EventTarget", "constructor": { @@ -35512,7 +35512,7 @@ ] } }, - { + "SpeechSynthesisVoice": { "name": "SpeechSynthesisVoice", "extends": "Object", "properties": { @@ -35545,7 +35545,7 @@ ] } }, - { + "StereoPannerNode": { "name": "StereoPannerNode", "extends": "AudioNode", "properties": { @@ -35558,7 +35558,7 @@ ] } }, - { + "Storage": { "name": "Storage", "extends": "Object", "override-builtins": "1", @@ -35635,7 +35635,7 @@ ] } }, - { + "StorageEvent": { "name": "StorageEvent", "extends": "Event", "methods": { @@ -35710,7 +35710,7 @@ ] } }, - { + "StyleMedia": { "name": "StyleMedia", "extends": "Object", "methods": { @@ -35737,7 +35737,7 @@ ] } }, - { + "StyleSheet": { "name": "StyleSheet", "extends": "Object", "properties": { @@ -35780,7 +35780,7 @@ ] } }, - { + "StyleSheetList": { "name": "StyleSheetList", "extends": "Object", "methods": { @@ -35810,7 +35810,7 @@ ] } }, - { + "StyleSheetPageList": { "name": "StyleSheetPageList", "extends": "Object", "methods": { @@ -35838,7 +35838,7 @@ ] } }, - { + "SubtleCrypto": { "name": "SubtleCrypto", "extends": "Object", "methods": { @@ -36121,7 +36121,7 @@ ] } }, - { + "SVGAElement": { "name": "SVGAElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -36191,7 +36191,7 @@ ] } }, - { + "SVGAngle": { "name": "SVGAngle", "extends": "Object", "constants": { @@ -36283,7 +36283,7 @@ ] } }, - { + "SVGAnimatedAngle": { "name": "SVGAnimatedAngle", "extends": "Object", "properties": { @@ -36301,7 +36301,7 @@ ] } }, - { + "SVGAnimatedBoolean": { "name": "SVGAnimatedBoolean", "extends": "Object", "properties": { @@ -36318,7 +36318,7 @@ ] } }, - { + "SVGAnimatedEnumeration": { "name": "SVGAnimatedEnumeration", "extends": "Object", "properties": { @@ -36335,7 +36335,7 @@ ] } }, - { + "SVGAnimatedInteger": { "name": "SVGAnimatedInteger", "extends": "Object", "properties": { @@ -36352,7 +36352,7 @@ ] } }, - { + "SVGAnimatedLength": { "name": "SVGAnimatedLength", "extends": "Object", "properties": { @@ -36370,7 +36370,7 @@ ] } }, - { + "SVGAnimatedLengthList": { "name": "SVGAnimatedLengthList", "extends": "Object", "properties": { @@ -36388,7 +36388,7 @@ ] } }, - { + "SVGAnimatedNumber": { "name": "SVGAnimatedNumber", "extends": "Object", "properties": { @@ -36405,7 +36405,7 @@ ] } }, - { + "SVGAnimatedNumberList": { "name": "SVGAnimatedNumberList", "extends": "Object", "properties": { @@ -36423,7 +36423,7 @@ ] } }, - { + "SVGAnimatedPreserveAspectRatio": { "name": "SVGAnimatedPreserveAspectRatio", "extends": "Object", "properties": { @@ -36441,7 +36441,7 @@ ] } }, - { + "SVGAnimatedRect": { "name": "SVGAnimatedRect", "extends": "Object", "properties": { @@ -36459,7 +36459,7 @@ ] } }, - { + "SVGAnimatedString": { "name": "SVGAnimatedString", "extends": "Object", "properties": { @@ -36476,7 +36476,7 @@ ] } }, - { + "SVGAnimatedTransformList": { "name": "SVGAnimatedTransformList", "extends": "Object", "properties": { @@ -36494,7 +36494,7 @@ ] } }, - { + "SVGCircleElement": { "name": "SVGCircleElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -36641,7 +36641,7 @@ ] } }, - { + "SVGClipPathElement": { "name": "SVGClipPathElement", "extends": "SVGGraphicsElement", "element": [ @@ -36667,7 +36667,7 @@ ] } }, - { + "SVGComponentTransferFunctionElement": { "name": "SVGComponentTransferFunctionElement", "extends": "SVGElement", "constants": { @@ -36778,7 +36778,7 @@ ] } }, - { + "SVGDefsElement": { "name": "SVGDefsElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -36822,7 +36822,7 @@ } ] }, - { + "SVGDescElement": { "name": "SVGDescElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -36841,7 +36841,7 @@ } ] }, - { + "SVGElement": { "name": "SVGElement", "extends": "Element", "events": { @@ -36957,7 +36957,7 @@ ] } }, - { + "SVGElementInstance": { "name": "SVGElementInstance", "extends": "EventTarget", "properties": { @@ -37005,7 +37005,7 @@ ] } }, - { + "SVGElementInstanceList": { "name": "SVGElementInstanceList", "extends": "Object", "methods": { @@ -37032,7 +37032,7 @@ ] } }, - { + "SVGEllipseElement": { "name": "SVGEllipseElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -37187,7 +37187,7 @@ ] } }, - { + "SVGFEBlendElement": { "name": "SVGFEBlendElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37363,7 +37363,7 @@ ] } }, - { + "SVGFEColorMatrixElement": { "name": "SVGFEColorMatrixElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37454,7 +37454,7 @@ ] } }, - { + "SVGFEComponentTransferElement": { "name": "SVGFEComponentTransferElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37489,7 +37489,7 @@ ] } }, - { + "SVGFECompositeElement": { "name": "SVGFECompositeElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37627,7 +37627,7 @@ ] } }, - { + "SVGFEConvolveMatrixElement": { "name": "SVGFEConvolveMatrixElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37784,7 +37784,7 @@ ] } }, - { + "SVGFEDiffuseLightingElement": { "name": "SVGFEDiffuseLightingElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37861,7 +37861,7 @@ ] } }, - { + "SVGFEDisplacementMapElement": { "name": "SVGFEDisplacementMapElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -37970,7 +37970,7 @@ ] } }, - { + "SVGFEDistantLightElement": { "name": "SVGFEDistantLightElement", "extends": "SVGElement", "element": [ @@ -38000,7 +38000,7 @@ ] } }, - { + "SVGFEFloodElement": { "name": "SVGFEFloodElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38037,7 +38037,7 @@ "SVGFilterPrimitiveStandardAttributes" ] }, - { + "SVGFEFuncAElement": { "name": "SVGFEFuncAElement", "extends": "SVGComponentTransferFunctionElement", "element": [ @@ -38047,7 +38047,7 @@ } ] }, - { + "SVGFEFuncBElement": { "name": "SVGFEFuncBElement", "extends": "SVGComponentTransferFunctionElement", "element": [ @@ -38057,7 +38057,7 @@ } ] }, - { + "SVGFEFuncGElement": { "name": "SVGFEFuncGElement", "extends": "SVGComponentTransferFunctionElement", "element": [ @@ -38067,7 +38067,7 @@ } ] }, - { + "SVGFEFuncRElement": { "name": "SVGFEFuncRElement", "extends": "SVGComponentTransferFunctionElement", "element": [ @@ -38077,7 +38077,7 @@ } ] }, - { + "SVGFEGaussianBlurElement": { "name": "SVGFEGaussianBlurElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38146,7 +38146,7 @@ ] } }, - { + "SVGFEImageElement": { "name": "SVGFEImageElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38188,7 +38188,7 @@ ] } }, - { + "SVGFEMergeElement": { "name": "SVGFEMergeElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38210,7 +38210,7 @@ "SVGFilterPrimitiveStandardAttributes" ] }, - { + "SVGFEMergeNodeElement": { "name": "SVGFEMergeNodeElement", "extends": "SVGElement", "element": [ @@ -38233,7 +38233,7 @@ ] } }, - { + "SVGFEMorphologyElement": { "name": "SVGFEMorphologyElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38318,7 +38318,7 @@ ] } }, - { + "SVGFEOffsetElement": { "name": "SVGFEOffsetElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38369,7 +38369,7 @@ ] } }, - { + "SVGFEPointLightElement": { "name": "SVGFEPointLightElement", "extends": "SVGElement", "element": [ @@ -38407,7 +38407,7 @@ ] } }, - { + "SVGFESpecularLightingElement": { "name": "SVGFESpecularLightingElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38492,7 +38492,7 @@ ] } }, - { + "SVGFESpotLightElement": { "name": "SVGFESpotLightElement", "extends": "SVGElement", "element": [ @@ -38570,7 +38570,7 @@ ] } }, - { + "SVGFETileElement": { "name": "SVGFETileElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38605,7 +38605,7 @@ ] } }, - { + "SVGFETurbulenceElement": { "name": "SVGFETurbulenceElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38727,7 +38727,7 @@ ] } }, - { + "SVGFilterElement": { "name": "SVGFilterElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -38843,7 +38843,7 @@ ] } }, - { + "SVGForeignObjectElement": { "name": "SVGForeignObjectElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -38896,7 +38896,7 @@ ] } }, - { + "SVGGElement": { "name": "SVGGElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -38935,7 +38935,7 @@ } ] }, - { + "SVGGradientElement": { "name": "SVGGradientElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -39014,7 +39014,7 @@ ] } }, - { + "SVGGraphicsElement": { "name": "SVGGraphicsElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -39084,7 +39084,7 @@ ] } }, - { + "SVGImageElement": { "name": "SVGImageElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -39188,7 +39188,7 @@ ] } }, - { + "SVGLength": { "name": "SVGLength", "extends": "Object", "constants": { @@ -39322,7 +39322,7 @@ ] } }, - { + "SVGLengthList": { "name": "SVGLengthList", "extends": "Object", "methods": { @@ -39411,7 +39411,7 @@ ] } }, - { + "SVGLinearGradientElement": { "name": "SVGLinearGradientElement", "extends": "SVGGradientElement", "element": [ @@ -39457,7 +39457,7 @@ ] } }, - { + "SVGLineElement": { "name": "SVGLineElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -39632,7 +39632,7 @@ ] } }, - { + "SVGMarkerElement": { "name": "SVGMarkerElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -39826,7 +39826,7 @@ ] } }, - { + "SVGMaskElement": { "name": "SVGMaskElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -39938,7 +39938,7 @@ ] } }, - { + "SVGMatrix": { "name": "SVGMatrix", "extends": "Object", "methods": { @@ -40078,7 +40078,7 @@ ] } }, - { + "SVGMetadataElement": { "name": "SVGMetadataElement", "extends": "SVGElement", "element": [ @@ -40088,7 +40088,7 @@ } ] }, - { + "SVGNumber": { "name": "SVGNumber", "extends": "Object", "properties": { @@ -40100,7 +40100,7 @@ ] } }, - { + "SVGNumberList": { "name": "SVGNumberList", "extends": "Object", "methods": { @@ -40189,7 +40189,7 @@ ] } }, - { + "SVGPathElement": { "name": "SVGPathElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -40713,7 +40713,7 @@ ] } }, - { + "SVGPathSeg": { "name": "SVGPathSeg", "extends": "Object", "constants": { @@ -40875,7 +40875,7 @@ ] } }, - { + "SVGPathSegArcAbs": { "name": "SVGPathSegArcAbs", "extends": "SVGPathSeg", "properties": { @@ -40911,7 +40911,7 @@ ] } }, - { + "SVGPathSegArcRel": { "name": "SVGPathSegArcRel", "extends": "SVGPathSeg", "properties": { @@ -40947,11 +40947,11 @@ ] } }, - { + "SVGPathSegClosePath": { "name": "SVGPathSegClosePath", "extends": "SVGPathSeg" }, - { + "SVGPathSegCurvetoCubicAbs": { "name": "SVGPathSegCurvetoCubicAbs", "extends": "SVGPathSeg", "properties": { @@ -40983,7 +40983,7 @@ ] } }, - { + "SVGPathSegCurvetoCubicRel": { "name": "SVGPathSegCurvetoCubicRel", "extends": "SVGPathSeg", "properties": { @@ -41015,7 +41015,7 @@ ] } }, - { + "SVGPathSegCurvetoCubicSmoothAbs": { "name": "SVGPathSegCurvetoCubicSmoothAbs", "extends": "SVGPathSeg", "properties": { @@ -41039,7 +41039,7 @@ ] } }, - { + "SVGPathSegCurvetoCubicSmoothRel": { "name": "SVGPathSegCurvetoCubicSmoothRel", "extends": "SVGPathSeg", "properties": { @@ -41063,7 +41063,7 @@ ] } }, - { + "SVGPathSegCurvetoQuadraticAbs": { "name": "SVGPathSegCurvetoQuadraticAbs", "extends": "SVGPathSeg", "properties": { @@ -41087,7 +41087,7 @@ ] } }, - { + "SVGPathSegCurvetoQuadraticRel": { "name": "SVGPathSegCurvetoQuadraticRel", "extends": "SVGPathSeg", "properties": { @@ -41111,7 +41111,7 @@ ] } }, - { + "SVGPathSegCurvetoQuadraticSmoothAbs": { "name": "SVGPathSegCurvetoQuadraticSmoothAbs", "extends": "SVGPathSeg", "properties": { @@ -41127,7 +41127,7 @@ ] } }, - { + "SVGPathSegCurvetoQuadraticSmoothRel": { "name": "SVGPathSegCurvetoQuadraticSmoothRel", "extends": "SVGPathSeg", "properties": { @@ -41143,7 +41143,7 @@ ] } }, - { + "SVGPathSegLinetoAbs": { "name": "SVGPathSegLinetoAbs", "extends": "SVGPathSeg", "properties": { @@ -41159,7 +41159,7 @@ ] } }, - { + "SVGPathSegLinetoHorizontalAbs": { "name": "SVGPathSegLinetoHorizontalAbs", "extends": "SVGPathSeg", "properties": { @@ -41171,7 +41171,7 @@ ] } }, - { + "SVGPathSegLinetoHorizontalRel": { "name": "SVGPathSegLinetoHorizontalRel", "extends": "SVGPathSeg", "properties": { @@ -41183,7 +41183,7 @@ ] } }, - { + "SVGPathSegLinetoRel": { "name": "SVGPathSegLinetoRel", "extends": "SVGPathSeg", "properties": { @@ -41199,7 +41199,7 @@ ] } }, - { + "SVGPathSegLinetoVerticalAbs": { "name": "SVGPathSegLinetoVerticalAbs", "extends": "SVGPathSeg", "properties": { @@ -41211,7 +41211,7 @@ ] } }, - { + "SVGPathSegLinetoVerticalRel": { "name": "SVGPathSegLinetoVerticalRel", "extends": "SVGPathSeg", "properties": { @@ -41223,7 +41223,7 @@ ] } }, - { + "SVGPathSegList": { "name": "SVGPathSegList", "extends": "Object", "methods": { @@ -41312,7 +41312,7 @@ ] } }, - { + "SVGPathSegMovetoAbs": { "name": "SVGPathSegMovetoAbs", "extends": "SVGPathSeg", "properties": { @@ -41328,7 +41328,7 @@ ] } }, - { + "SVGPathSegMovetoRel": { "name": "SVGPathSegMovetoRel", "extends": "SVGPathSeg", "properties": { @@ -41344,7 +41344,7 @@ ] } }, - { + "SVGPatternElement": { "name": "SVGPatternElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -41476,7 +41476,7 @@ ] } }, - { + "SVGPoint": { "name": "SVGPoint", "extends": "Object", "methods": { @@ -41506,7 +41506,7 @@ ] } }, - { + "SVGPointList": { "name": "SVGPointList", "extends": "Object", "methods": { @@ -41595,7 +41595,7 @@ ] } }, - { + "SVGPolygonElement": { "name": "SVGPolygonElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -41737,7 +41737,7 @@ "SVGAnimatedPoints" ] }, - { + "SVGPolylineElement": { "name": "SVGPolylineElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -41879,7 +41879,7 @@ "SVGAnimatedPoints" ] }, - { + "SVGPreserveAspectRatio": { "name": "SVGPreserveAspectRatio", "extends": "Object", "constants": { @@ -41997,7 +41997,7 @@ ] } }, - { + "SVGRadialGradientElement": { "name": "SVGRadialGradientElement", "extends": "SVGGradientElement", "element": [ @@ -42051,7 +42051,7 @@ ] } }, - { + "SVGRect": { "name": "SVGRect", "extends": "Object", "properties": { @@ -42075,7 +42075,7 @@ ] } }, - { + "SVGRectElement": { "name": "SVGRectElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -42246,7 +42246,7 @@ ] } }, - { + "SVGScriptElement": { "name": "SVGScriptElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -42279,7 +42279,7 @@ ] } }, - { + "SVGStopElement": { "name": "SVGStopElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -42320,7 +42320,7 @@ ] } }, - { + "SVGStringList": { "name": "SVGStringList", "extends": "Object", "methods": { @@ -42409,7 +42409,7 @@ ] } }, - { + "SVGStyleElement": { "name": "SVGStyleElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -42456,7 +42456,7 @@ ] } }, - { + "SVGSVGElement": { "name": "SVGSVGElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -42857,7 +42857,7 @@ ] } }, - { + "SVGSwitchElement": { "name": "SVGSwitchElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -42906,7 +42906,7 @@ } ] }, - { + "SVGSymbolElement": { "name": "SVGSymbolElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -42973,7 +42973,7 @@ "SVGFitToViewBox" ] }, - { + "SVGTextContentElement": { "name": "SVGTextContentElement", "extends": "SVGGraphicsElement", "constants": { @@ -43113,7 +43113,7 @@ ] } }, - { + "SVGTextElement": { "name": "SVGTextElement", "extends": "SVGTextPositioningElement", "anonymous-content-attributes": { @@ -43327,7 +43327,7 @@ } ] }, - { + "SVGTextPathElement": { "name": "SVGTextPathElement", "extends": "SVGTextContentElement", "anonymous-content-attributes": { @@ -43590,7 +43590,7 @@ ] } }, - { + "SVGTextPositioningElement": { "name": "SVGTextPositioningElement", "extends": "SVGTextContentElement", "properties": { @@ -43638,7 +43638,7 @@ ] } }, - { + "SVGTitleElement": { "name": "SVGTitleElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -43657,7 +43657,7 @@ } ] }, - { + "SVGTransform": { "name": "SVGTransform", "extends": "Object", "constants": { @@ -43813,7 +43813,7 @@ ] } }, - { + "SVGTransformList": { "name": "SVGTransformList", "extends": "Object", "methods": { @@ -43916,7 +43916,7 @@ ] } }, - { + "SVGTSpanElement": { "name": "SVGTSpanElement", "extends": "SVGTextPositioningElement", "anonymous-content-attributes": { @@ -44100,7 +44100,7 @@ } ] }, - { + "SVGUnitTypes": { "name": "SVGUnitTypes", "extends": "Object", "static": "1", @@ -44130,7 +44130,7 @@ ] } }, - { + "SVGUseElement": { "name": "SVGUseElement", "extends": "SVGGraphicsElement", "anonymous-content-attributes": { @@ -44238,7 +44238,7 @@ ] } }, - { + "SVGViewElement": { "name": "SVGViewElement", "extends": "SVGElement", "anonymous-content-attributes": { @@ -44273,7 +44273,7 @@ ] } }, - { + "SVGZoomAndPan": { "name": "SVGZoomAndPan", "extends": "Object", "static": "1", @@ -44316,7 +44316,7 @@ ] } }, - { + "SVGZoomEvent": { "name": "SVGZoomEvent", "extends": "UIEvent", "properties": { @@ -44349,7 +44349,7 @@ ] } }, - { + "SyncManager": { "name": "SyncManager", "extends": "Object", "methods": { @@ -44371,7 +44371,7 @@ ] } }, - { + "Text": { "name": "Text", "extends": "CharacterData", "events": { @@ -44414,7 +44414,7 @@ ] } }, - { + "TextEvent": { "name": "TextEvent", "extends": "UIEvent", "constants": { @@ -44549,7 +44549,7 @@ ] } }, - { + "TextMetrics": { "name": "TextMetrics", "extends": "Object", "properties": { @@ -44562,7 +44562,7 @@ ] } }, - { + "TextTrack": { "name": "TextTrack", "extends": "EventTarget", "constants": { @@ -44723,7 +44723,7 @@ ] } }, - { + "TextTrackCue": { "name": "TextTrackCue", "extends": "EventTarget", "constructor": { @@ -44806,7 +44806,7 @@ ] } }, - { + "TextTrackCueList": { "name": "TextTrackCueList", "extends": "Object", "methods": { @@ -44844,7 +44844,7 @@ ] } }, - { + "TextTrackList": { "name": "TextTrackList", "extends": "EventTarget", "events": { @@ -44894,7 +44894,7 @@ ] } }, - { + "TimeRanges": { "name": "TimeRanges", "extends": "Object", "methods": { @@ -44931,7 +44931,7 @@ ] } }, - { + "Touch": { "name": "Touch", "extends": "Object", "properties": { @@ -44979,7 +44979,7 @@ ] } }, - { + "TouchEvent": { "name": "TouchEvent", "extends": "UIEvent", "properties": { @@ -45037,7 +45037,7 @@ ] } }, - { + "TouchList": { "name": "TouchList", "extends": "Object", "methods": { @@ -45066,7 +45066,7 @@ ] } }, - { + "TrackEvent": { "name": "TrackEvent", "extends": "Event", "constructor": { @@ -45093,7 +45093,7 @@ ] } }, - { + "TransitionEvent": { "name": "TransitionEvent", "extends": "Event", "constructor": { @@ -45154,7 +45154,7 @@ ] } }, - { + "TreeWalker": { "name": "TreeWalker", "extends": "Object", "methods": { @@ -45218,7 +45218,7 @@ ] } }, - { + "UIEvent": { "name": "UIEvent", "extends": "Event", "constructor": { @@ -45279,7 +45279,7 @@ ] } }, - { + "UnviewableContentIdentifiedEvent": { "name": "UnviewableContentIdentifiedEvent", "extends": "NavigationEventWithReferrer", "tags": "MSAppOnly", @@ -45294,7 +45294,7 @@ ] } }, - { + "URL": { "name": "URL", "extends": "Object", "constructor": { @@ -45398,7 +45398,7 @@ ] } }, - { + "ValidityState": { "name": "ValidityState", "extends": "Object", "properties": { @@ -45456,7 +45456,7 @@ ] } }, - { + "VideoPlaybackQuality": { "name": "VideoPlaybackQuality", "extends": "Object", "properties": { @@ -45489,7 +45489,7 @@ ] } }, - { + "VideoTrack": { "name": "VideoTrack", "extends": "Object", "properties": { @@ -45524,7 +45524,7 @@ ] } }, - { + "VideoTrackList": { "name": "VideoTrackList", "extends": "EventTarget", "events": { @@ -45605,7 +45605,7 @@ ] } }, - { + "WaveShaperNode": { "name": "WaveShaperNode", "extends": "AudioNode", "properties": { @@ -45622,7 +45622,7 @@ ] } }, - { + "WebAuthentication": { "name": "WebAuthentication", "extends": "Object", "secure-context": "1", @@ -45669,7 +45669,7 @@ ] } }, - { + "WebAuthnAssertion": { "name": "WebAuthnAssertion", "extends": "Object", "secure-context": "1", @@ -45698,7 +45698,7 @@ ] } }, - { + "WEBGL_compressed_texture_s3tc": { "name": "WEBGL_compressed_texture_s3tc", "extends": "Object", "constants": { @@ -45738,7 +45738,7 @@ ] } }, - { + "WEBGL_debug_renderer_info": { "name": "WEBGL_debug_renderer_info", "extends": "Object", "constants": { @@ -45762,7 +45762,7 @@ ] } }, - { + "WEBGL_depth_texture": { "name": "WEBGL_depth_texture", "extends": "Object", "constants": { @@ -45778,7 +45778,7 @@ ] } }, - { + "WebGLActiveInfo": { "name": "WebGLActiveInfo", "extends": "Object", "properties": { @@ -45803,11 +45803,11 @@ ] } }, - { + "WebGLBuffer": { "name": "WebGLBuffer", "extends": "WebGLObject" }, - { + "WebGLContextEvent": { "name": "WebGLContextEvent", "extends": "Event", "constructor": { @@ -45833,23 +45833,23 @@ ] } }, - { + "WebGLFramebuffer": { "name": "WebGLFramebuffer", "extends": "WebGLObject" }, - { + "WebGLObject": { "name": "WebGLObject", "extends": "Object" }, - { + "WebGLProgram": { "name": "WebGLProgram", "extends": "WebGLObject" }, - { + "WebGLRenderbuffer": { "name": "WebGLRenderbuffer", "extends": "WebGLObject" }, - { + "WebGLRenderingContext": { "name": "WebGLRenderingContext", "extends": "Object", "constants": { @@ -50580,11 +50580,11 @@ ] } }, - { + "WebGLShader": { "name": "WebGLShader", "extends": "WebGLObject" }, - { + "WebGLShaderPrecisionFormat": { "name": "WebGLShaderPrecisionFormat", "extends": "Object", "properties": { @@ -50610,15 +50610,15 @@ ] } }, - { + "WebGLTexture": { "name": "WebGLTexture", "extends": "WebGLObject" }, - { + "WebGLUniformLocation": { "name": "WebGLUniformLocation", "extends": "Object" }, - { + "WebKitCSSMatrix": { "name": "WebKitCSSMatrix", "extends": "Object", "constructor": { @@ -50861,7 +50861,7 @@ ] } }, - { + "WebKitDirectoryEntry": { "name": "WebKitDirectoryEntry", "extends": "WebKitEntry", "methods": { @@ -50873,7 +50873,7 @@ ] } }, - { + "WebKitDirectoryReader": { "name": "WebKitDirectoryReader", "extends": "Object", "methods": { @@ -50896,7 +50896,7 @@ ] } }, - { + "WebKitEntry": { "name": "WebKitEntry", "extends": "Object", "properties": { @@ -50929,7 +50929,7 @@ ] } }, - { + "WebKitFileEntry": { "name": "WebKitFileEntry", "extends": "WebKitEntry", "methods": { @@ -50952,7 +50952,7 @@ ] } }, - { + "WebKitFileSystem": { "name": "WebKitFileSystem", "extends": "Object", "properties": { @@ -50970,7 +50970,7 @@ ] } }, - { + "WebKitPoint": { "name": "WebKitPoint", "extends": "Object", "constructor": { @@ -51002,7 +51002,7 @@ ] } }, - { + "webkitRTCPeerConnection": { "name": "webkitRTCPeerConnection", "extends": "RTCPeerConnection", "constructor": { @@ -51014,7 +51014,7 @@ ] } }, - { + "WebSocket": { "name": "WebSocket", "extends": "EventTarget", "constants": { @@ -51174,7 +51174,7 @@ ] } }, - { + "WheelEvent": { "name": "WheelEvent", "extends": "MouseEvent", "constants": { @@ -51339,7 +51339,7 @@ ] } }, - { + "Window": { "name": "Window", "extends": "EventTarget", "implicit-this": "1", @@ -52659,7 +52659,7 @@ ] } }, - { + "Worker": { "name": "Worker", "extends": "EventTarget", "constructor": { @@ -52722,11 +52722,11 @@ ] } }, - { + "XMLDocument": { "name": "XMLDocument", "extends": "Document" }, - { + "XMLHttpRequest": { "name": "XMLHttpRequest", "extends": "EventTarget", "constants": { @@ -52994,7 +52994,7 @@ ] } }, - { + "XMLHttpRequestUpload": { "name": "XMLHttpRequestUpload", "extends": "EventTarget", "events": { @@ -53061,7 +53061,7 @@ "XMLHttpRequestEventTarget" ] }, - { + "XMLSerializer": { "name": "XMLSerializer", "extends": "Object", "constructor": {}, @@ -53080,7 +53080,7 @@ ] } }, - { + "XPathEvaluator": { "name": "XPathEvaluator", "extends": "Object", "constructor": {}, @@ -53140,7 +53140,7 @@ ] } }, - { + "XPathExpression": { "name": "XPathExpression", "extends": "Object", "methods": { @@ -53166,7 +53166,7 @@ ] } }, - { + "XPathNSResolver": { "name": "XPathNSResolver", "extends": "Object", "methods": { @@ -53184,7 +53184,7 @@ ] } }, - { + "XPathResult": { "name": "XPathResult", "extends": "Object", "constants": { @@ -53319,7 +53319,7 @@ ] } }, - { + "XSLTProcessor": { "name": "XSLTProcessor", "extends": "Object", "constructor": {}, @@ -53419,11 +53419,11 @@ ] } } - ] + } }, "mixin-interfaces": { - "interface": [ - { + "interface": { + "AbstractWorker": { "name": "AbstractWorker", "extends": "Object", "no-interface-object": "1", @@ -53437,7 +53437,7 @@ ] } }, - { + "Body": { "name": "Body", "extends": "Object", "no-interface-object": "1", @@ -53471,7 +53471,7 @@ ] } }, - { + "CanvasPathMethods": { "name": "CanvasPathMethods", "extends": "Object", "no-interface-object": "1", @@ -53684,7 +53684,7 @@ ] } }, - { + "ChildNode": { "name": "ChildNode", "extends": "Object", "no-interface-object": "1", @@ -53697,7 +53697,7 @@ ] } }, - { + "DocumentEvent": { "name": "DocumentEvent", "extends": "Object", "no-interface-object": "1", @@ -53716,7 +53716,7 @@ ] } }, - { + "DOML2DeprecatedColorProperty": { "name": "DOML2DeprecatedColorProperty", "extends": "Object", "no-interface-object": "1", @@ -53732,7 +53732,7 @@ ] } }, - { + "DOML2DeprecatedSizeProperty": { "name": "DOML2DeprecatedSizeProperty", "extends": "Object", "no-interface-object": "1", @@ -53748,7 +53748,7 @@ ] } }, - { + "ElementTraversal": { "name": "ElementTraversal", "extends": "Object", "no-interface-object": "1", @@ -53782,7 +53782,7 @@ ] } }, - { + "GetSVGDocument": { "name": "GetSVGDocument", "extends": "Object", "no-interface-object": "1", @@ -53795,7 +53795,7 @@ ] } }, - { + "GlobalEventHandlers": { "name": "GlobalEventHandlers", "extends": "Object", "no-interface-object": "1", @@ -53867,7 +53867,7 @@ ] } }, - { + "GlobalFetch": { "name": "GlobalFetch", "extends": "Object", "no-interface-object": "1", @@ -53891,7 +53891,7 @@ ] } }, - { + "HTMLTableAlignment": { "name": "HTMLTableAlignment", "extends": "Object", "no-interface-object": "1", @@ -53920,7 +53920,7 @@ ] } }, - { + "IDBEnvironment": { "name": "IDBEnvironment", "extends": "Object", "no-interface-object": "1", @@ -53934,7 +53934,7 @@ ] } }, - { + "LinkStyle": { "name": "LinkStyle", "extends": "Object", "no-interface-object": "1", @@ -53948,7 +53948,7 @@ ] } }, - { + "MSBaseReader": { "name": "MSBaseReader", "extends": "Object", "no-interface-object": "1", @@ -54030,7 +54030,7 @@ ] } }, - { + "MSFileSaver": { "name": "MSFileSaver", "extends": "Object", "no-interface-object": "1", @@ -54069,7 +54069,7 @@ ] } }, - { + "MSNavigatorDoNotTrack": { "name": "MSNavigatorDoNotTrack", "extends": "Object", "no-interface-object": "1", @@ -54138,7 +54138,7 @@ ] } }, - { + "NavigatorBeacon": { "name": "NavigatorBeacon", "extends": "Object", "no-interface-object": "1", @@ -54164,7 +54164,7 @@ ] } }, - { + "NavigatorConcurrentHardware": { "name": "NavigatorConcurrentHardware", "exposed": "Window Worker", "extends": "Object", @@ -54179,12 +54179,12 @@ ] } }, - { + "NavigatorContentUtils": { "name": "NavigatorContentUtils", "extends": "Object", "no-interface-object": "1" }, - { + "NavigatorGeolocation": { "name": "NavigatorGeolocation", "extends": "Object", "no-interface-object": "1", @@ -54198,7 +54198,7 @@ ] } }, - { + "NavigatorID": { "name": "NavigatorID", "extends": "Object", "no-interface-object": "1", @@ -54253,7 +54253,7 @@ ] } }, - { + "NavigatorOnLine": { "name": "NavigatorOnLine", "extends": "Object", "no-interface-object": "1", @@ -54267,12 +54267,12 @@ ] } }, - { + "NavigatorStorageUtils": { "name": "NavigatorStorageUtils", "extends": "Object", "no-interface-object": "1" }, - { + "NavigatorUserMedia": { "name": "NavigatorUserMedia", "extends": "Object", "no-interface-object": "1", @@ -54308,7 +54308,7 @@ ] } }, - { + "NodeSelector": { "name": "NodeSelector", "extends": "Object", "no-interface-object": "1", @@ -54337,7 +54337,7 @@ ] } }, - { + "RandomSource": { "name": "RandomSource", "extends": "Object", "no-interface-object": "1", @@ -54356,7 +54356,7 @@ ] } }, - { + "SVGAnimatedPoints": { "name": "SVGAnimatedPoints", "extends": "Object", "no-interface-object": "1", @@ -54378,7 +54378,7 @@ ] } }, - { + "SVGFilterPrimitiveStandardAttributes": { "name": "SVGFilterPrimitiveStandardAttributes", "extends": "Object", "no-interface-object": "1", @@ -54426,7 +54426,7 @@ ] } }, - { + "SVGFitToViewBox": { "name": "SVGFitToViewBox", "extends": "Object", "no-interface-object": "1", @@ -54451,7 +54451,7 @@ ] } }, - { + "SVGTests": { "name": "SVGTests", "extends": "Object", "no-interface-object": "1", @@ -54498,7 +54498,7 @@ ] } }, - { + "SVGURIReference": { "name": "SVGURIReference", "extends": "Object", "no-interface-object": "1", @@ -54516,7 +54516,7 @@ ] } }, - { + "WindowBase64": { "name": "WindowBase64", "extends": "Object", "no-interface-object": "1", @@ -54545,7 +54545,7 @@ ] } }, - { + "WindowConsole": { "name": "WindowConsole", "extends": "Object", "no-interface-object": "1", @@ -54560,7 +54560,7 @@ ] } }, - { + "WindowLocalStorage": { "name": "WindowLocalStorage", "extends": "Object", "no-interface-object": "1", @@ -54574,7 +54574,7 @@ ] } }, - { + "WindowSessionStorage": { "name": "WindowSessionStorage", "extends": "Object", "no-interface-object": "1", @@ -54588,7 +54588,7 @@ ] } }, - { + "WindowTimers": { "name": "WindowTimers", "extends": "Object", "no-interface-object": "1", @@ -54660,7 +54660,7 @@ ] } }, - { + "WindowTimersExtension": { "name": "WindowTimersExtension", "extends": "Object", "no-interface-object": "1", @@ -54694,7 +54694,7 @@ ] } }, - { + "XMLHttpRequestEventTarget": { "name": "XMLHttpRequestEventTarget", "extends": "Object", "no-interface-object": "1", @@ -54738,7 +54738,7 @@ ] } } - ] + } }, "typedefs": { "typedef": [ diff --git a/inputfiles/webworkers.specidl.xml.json b/inputfiles/webworkers.specidl.xml.json index f81785964..c4f399ad3 100644 --- a/inputfiles/webworkers.specidl.xml.json +++ b/inputfiles/webworkers.specidl.xml.json @@ -1,7 +1,7 @@ { "dictionaries": { - "dictionary": [ - { + "dictionary": { + "ClientQueryOptions": { "name": "ClientQueryOptions", "extends": "Object", "members": { @@ -19,11 +19,11 @@ ] } }, - { + "ExtendableEventInit": { "name": "ExtendableEventInit", "extends": "EventInit" }, - { + "ExtendableMessageEventInit": { "name": "ExtendableMessageEventInit", "extends": "ExtendableEventInit", "members": { @@ -53,7 +53,7 @@ ] } }, - { + "FetchEventInit": { "name": "FetchEventInit", "extends": "ExtendableEventInit", "members": { @@ -77,7 +77,7 @@ ] } }, - { + "NotificationEventInit": { "name": "NotificationEventInit", "extends": "ExtendableEventInit", "members": { @@ -95,7 +95,7 @@ ] } }, - { + "PushEventInit": { "name": "PushEventInit", "extends": "ExtendableEventInit", "members": { @@ -108,7 +108,7 @@ ] } }, - { + "SyncEventInit": { "name": "SyncEventInit", "extends": "ExtendableEventInit", "members": { @@ -126,11 +126,11 @@ ] } } - ] + } }, "enums": { - "enum": [ - { + "enum": { + "ClientType": { "name": "ClientType", "value": [ "window", @@ -139,7 +139,7 @@ "all" ] }, - { + "FrameType": { "name": "FrameType", "value": [ "auxiliary", @@ -148,11 +148,11 @@ "none" ] } - ] + } }, "interfaces": { - "interface": [ - { + "interface": { + "Client": { "name": "Client", "extends": "Object", "methods": { @@ -194,7 +194,7 @@ ] } }, - { + "Clients": { "name": "Clients", "extends": "Object", "methods": { @@ -241,7 +241,7 @@ ] } }, - { + "DedicatedWorkerGlobalScope": { "name": "DedicatedWorkerGlobalScope", "extends": "WorkerGlobalScope", "global": "Worker", @@ -278,7 +278,7 @@ ] } }, - { + "ExtendableEvent": { "name": "ExtendableEvent", "extends": "Event", "constructor": { @@ -309,7 +309,7 @@ ] } }, - { + "ExtendableMessageEvent": { "name": "ExtendableMessageEvent", "extends": "ExtendableEvent", "constructor": { @@ -358,7 +358,7 @@ ] } }, - { + "FetchEvent": { "name": "FetchEvent", "extends": "ExtendableEvent", "constructor": { @@ -409,7 +409,7 @@ ] } }, - { + "FileReaderSync": { "name": "FileReaderSync", "extends": "Object", "constructor": {}, @@ -463,7 +463,7 @@ ] } }, - { + "NotificationEvent": { "name": "NotificationEvent", "extends": "ExtendableEvent", "constructor": { @@ -493,7 +493,7 @@ ] } }, - { + "PushEvent": { "name": "PushEvent", "extends": "ExtendableEvent", "constructor": { @@ -520,7 +520,7 @@ ] } }, - { + "PushMessageData": { "name": "PushMessageData", "extends": "Object", "methods": { @@ -544,7 +544,7 @@ ] } }, - { + "ServiceWorkerGlobalScope": { "name": "ServiceWorkerGlobalScope", "extends": "WorkerGlobalScope", "events": { @@ -658,7 +658,7 @@ ] } }, - { + "SyncEvent": { "name": "SyncEvent", "extends": "ExtendableEvent", "constructor": { @@ -688,7 +688,7 @@ ] } }, - { + "WindowClient": { "name": "WindowClient", "extends": "Client", "methods": { @@ -726,7 +726,7 @@ ] } }, - { + "WorkerGlobalScope": { "name": "WorkerGlobalScope", "extends": "EventTarget", "implements": [ @@ -788,7 +788,7 @@ ] } }, - { + "WorkerLocation": { "name": "WorkerLocation", "extends": "Object", "methods": { @@ -851,7 +851,7 @@ ] } }, - { + "WorkerNavigator": { "name": "WorkerNavigator", "extends": "Object", "implements": [ @@ -861,136 +861,138 @@ "NavigatorConcurrentHardware" ] } - ] + } }, "mixin-interfaces": { "interface": { - "name": "WorkerUtils", - "extends": "Object", - "no-interface-object": "1", - "implements": [ - "WindowBase64" - ], - "methods": { - "method": [ - { - "name": "clearImmediate", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "clearInterval", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "clearTimeout", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "importScripts", - "type": "void", - "param": [ - { - "name": "urls", - "type": "DOMString", - "variadic": "1" - } - ] - }, - { - "name": "setImmediate", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "args", - "optional": "1", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "setInterval", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "setTimeout", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "indexedDB", - "read-only": "1", - "type": "IDBFactory" - }, - { - "name": "msIndexedDB", - "read-only": "1", - "type": "IDBFactory" - }, - { - "name": "navigator", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "WorkerNavigator" - } - ] + "WorkerUtils": { + "name": "WorkerUtils", + "extends": "Object", + "no-interface-object": "1", + "implements": [ + "WindowBase64" + ], + "methods": { + "method": [ + { + "name": "clearImmediate", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "clearInterval", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "clearTimeout", + "type": "void", + "param": [ + { + "name": "handle", + "type": "long" + } + ] + }, + { + "name": "importScripts", + "type": "void", + "param": [ + { + "name": "urls", + "type": "DOMString", + "variadic": "1" + } + ] + }, + { + "name": "setImmediate", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "args", + "optional": "1", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "setInterval", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + }, + { + "name": "setTimeout", + "type": "long", + "param": [ + { + "name": "handler", + "type": "any" + }, + { + "name": "timeout", + "optional": "1", + "type": "any" + }, + { + "name": "args", + "type": "any", + "variadic": "1" + } + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "indexedDB", + "read-only": "1", + "type": "IDBFactory" + }, + { + "name": "msIndexedDB", + "read-only": "1", + "type": "IDBFactory" + }, + { + "name": "navigator", + "property-descriptor-not-configurable": "1", + "read-only": "1", + "type": "WorkerNavigator" + } + ] + } } } }, diff --git a/types.d.ts b/types.d.ts index 12ba141b8..c5fc0a0e2 100644 --- a/types.d.ts +++ b/types.d.ts @@ -167,22 +167,22 @@ export type Dictionary = { export type WebIdl = { "callback-functions"?: { - "callback-function": CallbackFunction[]; + "callback-function": Record; }, "callback-interfaces"?: { - "interface": Interface[]; + "interface": Record; }; "dictionaries"?: { - "dictionary": Dictionary[]; + "dictionary": Record; }; "enums"?: { - "enum": Enum[]; + "enum": Record; }; "interfaces"?: { - "interface": Interface[]; + "interface": Record; }; "mixin-interfaces"?: { - "interface": Interface[] + "interface": Record }; "typedefs"?: { "typedef": TypeDef[]; From 2f0d977eb18e42c3e2137bf9a3f836960fa7efa1 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 01:24:38 -0800 Subject: [PATCH 08/93] Add support for loading comments --- index.ts | 70 +- inputfiles/comments.json | 6132 +++++++++++++++++++------------------- types.d.ts | 2 + 3 files changed, 3102 insertions(+), 3102 deletions(-) diff --git a/index.ts b/index.ts index b5d313195..814e35926 100644 --- a/index.ts +++ b/index.ts @@ -48,7 +48,7 @@ type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: str // let overriddenItems = JSON.parse(fs.readFileSync(inputFolder + "/overridingTypes.json").toString()); // let removedItems = JSON.parse(fs.readFileSync(inputFolder + "/removedTypes.json").toString()); // let addedItems = JSON.parse(fs.readFileSync(inputFolder + "/addedTypes.json").toString()); -// let comments = JSON.parse(fs.readFileSync(inputFolder + "/comments.json").toString()); +let comments = require(inputFolder + "/comments.json"); /// Parse the xml input file let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.xml.json").toString()); @@ -709,7 +709,7 @@ namespace Emit { ClearStack() { stack = []; }, StackIsEmpty() { return stack.length === 0; }, - PrintlToStack(c: string) { this.Printl(c); }, + PrintlToStack(c: string) { stack.push(c); }, PrintStackContent() { stack.forEach(e => this.Printl(e)) }, GetResult() { return output; } @@ -821,8 +821,8 @@ namespace Emit { DomTypeToTsType(m.param[0].type) === expectedParamType; } - function processInterfaceType(i: Browser.Interface | Browser.Dictionary) { - return i["type-parameters"] ? i.name + "<" + i["type-parameters"]!.join(", ") + ">" : i.name; + function processInterfaceType(i: Browser.Interface | Browser.Dictionary, name: string) { + return i["type-parameters"] ? name + "<" + i["type-parameters"]!.join(", ") + ">" : name; } /// Emit overloads for the createElement method @@ -986,12 +986,6 @@ namespace Emit { function emitProperty(flavor: Flavor, prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { - function emitCommentForProperty(printLine: (c: string) => void, pName: string) { - // match CommentJson.GetCommentForProperty i.Name pName with - // | Some comment -> printLine "${}" comment - // | _ -> () - } - function printLine(content: string) { if (conflictedMembers.has(p.name)) Pt.PrintlToStack(content); @@ -999,7 +993,9 @@ namespace Emit { Pt.Printl(content); } - emitCommentForProperty(printLine, p.name); + if (p.comment) { + printLine(p.comment); + } // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 if (p.name === "name" && i.name === "Window" && emitScope === EmitScope.All) { @@ -1039,13 +1035,6 @@ namespace Emit { function emitMethod(flavor: Flavor, prefix: string, i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { - function emitCommentForMethod(printLine: (c: string) => void, mName: string) { - // if mName.IsSome then - // match CommentJson.GetCommentForMethod i.Name mName.Value with - // | Some comment -> printLine "${}" comment - // | _ -> () - } - function printLine(content: string) { if (m.name && conflictedMembers.has(m.name)) Pt.PrintlToStack(content); @@ -1054,7 +1043,9 @@ namespace Emit { } // print comment - emitCommentForMethod(printLine, m.name); + if (m.comment) { + printLine(m.comment); + } switch (m.name) { case "createElement": return EmitCreateElementOverloads(m); @@ -1193,16 +1184,16 @@ namespace Emit { function EmitInterfaceDeclaration(i: Browser.Interface) { function processIName(iName: string) { - return extendConflictsBaseTypes[iName] ? extendConflictsBaseTypes[iName].baseType + "Base" : iName; + return extendConflictsBaseTypes[iName] ? `${iName}Base` : iName; } let processedIName = processIName(i.name); if (processedIName != i.name) { - Pt.PrintlToStack(`interface ${processInterfaceType(i)} extends ${processedIName} {`); + Pt.PrintlToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); } - Pt.Printl(`interface ${processInterfaceType(i)}`); + Pt.Printl(`interface ${processInterfaceType(i, processedIName)}`); let finalExtends = concat([i.extends], i.implements) .filter(i => i !== "Object") @@ -1387,10 +1378,10 @@ namespace Emit { function emitDictionary(flavor: Flavor, dict: Browser.Dictionary) { if (dict.extends === "Object") { - Pt.Printl(`interface ${processInterfaceType(dict)} {`); + Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); } else { - Pt.Printl(`interface ${processInterfaceType(dict)} extends ${dict.extends} {`); + Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); } Pt.IncreaseIndent() if (dict.members) { @@ -1540,7 +1531,38 @@ namespace Emit { } +function merge(obj1: any, obj2: any) { + if (typeof obj1 !== "object" || typeof obj2 !== "object") return obj1; + for (var k in obj2) { + if (obj1[k]) { + if (Array.isArray(obj1[k]) && Array.isArray(obj2[k])) { + // merge arrays + var map: any = {}; + for (var e1 of obj1[k]) + if (e1.name) + map[e1.name] = e1; + + for (var e2 of obj2[k]) { + if (e2.name && map[e2.name]) + merge(map[e2.name], e2); + } + } + else { + if (Array.isArray(obj1[k]) !== Array.isArray(obj2[k])) throw new Error("Mismatch on property: " + k); + merge(obj1[k], obj2[k]); + } + } + else { + obj1[k] = obj2[k]; + } + } + return obj1; +} + +browser = merge(browser,comments); + Emit.EmitDomWeb(); Emit.EmitDomWorker(); + diff --git a/inputfiles/comments.json b/inputfiles/comments.json index 5b69dd112..5db2d3a44 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -1,3081 +1,3057 @@ -{ - "interfaces": [ - { - "name": "HTMLTableElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "cellSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" - }, - { - "name": "tFoot", - "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" - }, - { - "name": "frame", - "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "rules", - "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" - }, - { - "name": "summary", - "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" - }, - { - "name": "caption", - "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" - }, - { - "name": "tBodies", - "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" - }, - { - "name": "tHead", - "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "cellPadding", - "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "createTBody", - "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" - }, - { - "name": "deleteCaption", - "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - }, - { - "name": "deleteTFoot", - "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" - }, - { - "name": "createTHead", - "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" - }, - { - "name": "deleteTHead", - "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" - }, - { - "name": "createCaption", - "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "createTFoot", - "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" - } - ] - } +{ + "interfaces": { + "interface": { + "HTMLTableElement": { + "name": "HTMLTableElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "cellSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" + }, + { + "name": "tFoot", + "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" + }, + { + "name": "frame", + "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "rules", + "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" + }, + { + "name": "summary", + "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" + }, + { + "name": "caption", + "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" + }, + { + "name": "tBodies", + "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" + }, + { + "name": "tHead", + "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "cellPadding", + "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "createTBody", + "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" + }, + { + "name": "deleteCaption", + "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + }, + { + "name": "deleteTFoot", + "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" + }, + { + "name": "createTHead", + "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" + }, + { + "name": "deleteTHead", + "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" + }, + { + "name": "createCaption", + "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "createTFoot", + "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" + } + ] + } + }, + "HTMLBaseElement": { + "name": "HTMLBaseElement", + "properties": { + "property": [ + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" + } + ] + } + }, + "HTMLParagraphElement": { + "name": "HTMLParagraphElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + } + ] + } + }, + "HTMLAppletElement": { + "name": "HTMLAppletElement", + "properties": { + "property": [ + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "declare", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + } + ] + } + }, + "HTMLOListElement": { + "name": "HTMLOListElement", + "properties": { + "property": [ + { + "name": "start", + "comment": "/**\r\n * The starting number.\r\n */" + } + ] + } + }, + "HTMLSelectElement": { + "name": "HTMLSelectElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" + }, + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "selectedIndex", + "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "remove", + "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" + }, + { + "name": "add", + "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLBlockElement": { + "name": "HTMLBlockElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLMetaElement": { + "name": "HTMLMetaElement", + "properties": { + "property": [ + { + "name": "httpEquiv", + "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" + }, + { + "name": "content", + "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" + }, + { + "name": "url", + "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" + }, + { + "name": "scheme", + "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + } + ] + } + }, + "HTMLDDElement": { + "name": "HTMLDDElement", + "properties": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLLinkElement": { + "name": "HTMLLinkElement", + "properties": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + } + ] + } + }, + "HTMLFontElement": { + "name": "HTMLFontElement", + "properties": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + } + ] + } + }, + "HTMLTableCaptionElement": { + "name": "HTMLTableCaptionElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" + } + ] + } + }, + "HTMLOptionElement": { + "name": "HTMLOptionElement", + "properties": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ] + } + }, + "HTMLMapElement": { + "name": "HTMLMapElement", + "properties": { + "property": [ + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "areas", + "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" + } + ] + } + }, + "HTMLCollection": { + "name": "HTMLCollection", + "properties": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" + } + ] + } + }, + "HTMLImageElement": { + "name": "HTMLImageElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "naturalHeight", + "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "naturalWidth", + "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" + }, + { + "name": "isMap", + "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + } + }, + "HTMLAreaElement": { + "name": "HTMLAreaElement", + "properties": { + "property": [ + { + "name": "protocol", + "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "noHref", + "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + "HTMLButtonElement": { + "name": "HTMLButtonElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLSourceElement": { + "name": "HTMLSourceElement", + "properties": { + "property": [ + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" + } + ] + } + }, + "Document": { + "name": "Document", + "properties": { + "property": [ + { + "name": "compatible", + "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" + }, + { + "name": "onkeydown", + "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "onkeyup", + "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "implementation", + "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" + }, + { + "name": "onreset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" + }, + { + "name": "scripts", + "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" + }, + { + "name": "onhelp", + "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragleave", + "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" + }, + { + "name": "onfocusin", + "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" + }, + { + "name": "vlinkColor", + "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" + }, + { + "name": "onseeked", + "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" + }, + { + "name": "title", + "comment": "/**\r\n * Contains the title of the document.\r\n */" + }, + { + "name": "namespaces", + "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" + }, + { + "name": "defaultCharset", + "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" + }, + { + "name": "embeds", + "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" + }, + { + "name": "styleSheets", + "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" + }, + { + "name": "frames", + "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" + }, + { + "name": "ondurationchange", + "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" + }, + { + "name": "all", + "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" + }, + { + "name": "forms", + "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" + }, + { + "name": "dir", + "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" + }, + { + "name": "onemptied", + "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" + }, + { + "name": "designMode", + "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" + }, + { + "name": "onseeking", + "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondeactivate", + "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" + }, + { + "name": "oncanplay", + "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondatasetchanged", + "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsdelete", + "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" + }, + { + "name": "onloadstart", + "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "URLUnencoded", + "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" + }, + { + "name": "oncontrolselect", + "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragenter", + "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "inputEncoding", + "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" + }, + { + "name": "activeElement", + "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" + }, + { + "name": "onchange", + "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" + }, + { + "name": "links", + "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" + }, + { + "name": "uniqueID", + "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" + }, + { + "name": "URL", + "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" + }, + { + "name": "onbeforeactivate", + "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "documentMode", + "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" + }, + { + "name": "anchors", + "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" + }, + { + "name": "ondatasetcomplete", + "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onsuspend", + "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "rootElement", + "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" + }, + { + "name": "readyState", + "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" + }, + { + "name": "referrer", + "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" + }, + { + "name": "alinkColor", + "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" + }, + { + "name": "onerrorupdate", + "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "parentWindow", + "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" + }, + { + "name": "onmouseout", + "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onmsthumbnailclick", + "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousewheel", + "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" + }, + { + "name": "onvolumechange", + "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "oncellchange", + "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowexit", + "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsinserted", + "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" + }, + { + "name": "xmlVersion", + "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" + }, + { + "name": "onpropertychange", + "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragend", + "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "doctype", + "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" + }, + { + "name": "ondragover", + "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" + }, + { + "name": "bgColor", + "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" + }, + { + "name": "ondragstart", + "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseup", + "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "ondrag", + "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseover", + "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "linkColor", + "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" + }, + { + "name": "onpause", + "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousedown", + "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onclick", + "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onwaiting", + "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstop", + "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmssitemodejumplistitemremoved", + "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "applets", + "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" + }, + { + "name": "body", + "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" + }, + { + "name": "domain", + "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" + }, + { + "name": "selection", + "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" + }, + { + "name": "onstalled", + "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousemove", + "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "documentElement", + "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" + }, + { + "name": "onbeforeeditfocus", + "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onratechange", + "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onprogress", + "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondblclick", + "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "oncontextmenu", + "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onloadedmetadata", + "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onerror", + "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplay", + "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplaying", + "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" + }, + { + "name": "images", + "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" + }, + { + "name": "location", + "comment": "/**\r\n * Contains information about the current URL.\r\n */" + }, + { + "name": "onabort", + "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocusout", + "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselectionchange", + "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstoragecommit", + "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondataavailable", + "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onreadystatechange", + "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" + }, + { + "name": "lastModified", + "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" + }, + { + "name": "onkeypress", + "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onloadeddata", + "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onbeforedeactivate", + "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onactivate", + "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" + }, + { + "name": "fgColor", + "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" + }, + { + "name": "ontimeupdate", + "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselect", + "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onended", + "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" + }, + { + "name": "compatMode", + "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" + }, + { + "name": "onscroll", + "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowenter", + "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "queryCommandValue", + "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "queryCommandIndeterm", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "execCommand", + "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" + }, + { + "name": "elementFromPoint", + "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" + }, + { + "name": "queryCommandText", + "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" + }, + { + "name": "write", + "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" + }, + { + "name": "updateSettings", + "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" + }, + { + "name": "createElement", + "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" + }, + { + "name": "releaseCapture", + "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" + }, + { + "name": "writeln", + "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" + }, + { + "name": "open", + "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" + }, + { + "name": "queryCommandSupported", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "createTreeWalker", + "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "queryCommandEnabled", + "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "focus", + "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" + }, + { + "name": "close", + "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" + }, + { + "name": "createRange", + "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" + }, + { + "name": "fireEvent", + "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" + }, + { + "name": "createComment", + "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" + }, + { + "name": "getElementsByTagName", + "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" + }, + { + "name": "createDocumentFragment", + "comment": "/**\r\n * Creates a new document.\r\n */" + }, + { + "name": "createStyleSheet", + "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" + }, + { + "name": "getElementsByName", + "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" + }, + { + "name": "queryCommandState", + "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "hasFocus", + "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" + }, + { + "name": "execCommandShowHelp", + "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" + }, + { + "name": "createAttribute", + "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" + }, + { + "name": "createTextNode", + "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" + }, + { + "name": "createNodeIterator", + "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "createEventObject", + "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" + }, + { + "name": "getSelection", + "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" + }, + { + "name": "getElementById", + "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" + } + ] + } + }, + "HTMLScriptElement": { + "name": "HTMLScriptElement", + "properties": { + "property": [ + { + "name": "defer", + "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" + }, + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" + }, + { + "name": "event", + "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" + } + ] + } + }, + "HTMLTableRowElement": { + "name": "HTMLTableRowElement", + "properties": { + "property": [ + { + "name": "rowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "sectionRowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteCell", + "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" + }, + { + "name": "insertCell", + "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" + } + ] + } + }, + "HTMLHtmlElement": { + "name": "HTMLHtmlElement", + "properties": { + "property": [ + { + "name": "version", + "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" + } + ] + } + }, + "HTMLFrameElement": { + "name": "HTMLFrameElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + } + ] + } + }, + "HTMLQuoteElement": { + "name": "HTMLQuoteElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLTableHeaderCellElement": { + "name": "HTMLTableHeaderCellElement", + "properties": { + "property": [ + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + } + ] + } + }, + "HTMLFrameSetElement": { + "name": "HTMLFrameSetElement", + "properties": { + "property": [ + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + } + ] + } + }, + "HTMLLabelElement": { + "name": "HTMLLabelElement", + "properties": { + "property": [ + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "HTMLLegendElement": { + "name": "HTMLLegendElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "HTMLLIElement": { + "name": "HTMLLIElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" + } + ] + } + }, + "HTMLIFrameElement": { + "name": "HTMLIFrameElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "srcdoc", + "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + } + ] + } + }, + "HTMLTableSectionElement": { + "name": "HTMLTableSectionElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + } + ] + } + }, + "HTMLInputElement": { + "name": "HTMLInputElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "vrml", + "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" + }, + { + "name": "lowsrc", + "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "accept", + "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "defaultChecked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "checked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "files", + "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "step", + "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "valueAsNumber", + "comment": "/**\r\n * Returns the input field value as a number.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + }, + { + "name": "list", + "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "min", + "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "pattern", + "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "stepDown", + "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" + }, + { + "name": "stepUp", + "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLAnchorElement": { + "name": "HTMLAnchorElement", + "properties": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "protocol", + "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + "HTMLParamElement": { + "name": "HTMLParamElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" + }, + { + "name": "valueType", + "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" + } + ] + } + }, + "HTMLPreElement": { + "name": "HTMLPreElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" + } + ] + } + }, + "HTMLPhraseElement": { + "name": "HTMLPhraseElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLCanvasElement": { + "name": "HTMLCanvasElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toDataURL", + "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" + }, + { + "name": "getContext", + "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" + }, + { + "name": "msToBlob", + "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" + } + ] + } + }, + "HTMLTitleElement": { + "name": "HTMLTitleElement", + "properties": { + "property": [ + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ] + } + }, + "HTMLStyleElement": { + "name": "HTMLStyleElement", + "properties": { + "property": [ + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" + } + ] + } + }, + "HTMLTableCellElement": { + "name": "HTMLTableCellElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "headers", + "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" + }, + { + "name": "cellIndex", + "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "colSpan", + "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "axis", + "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + }, + { + "name": "abbr", + "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" + }, + { + "name": "rowSpan", + "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" + }, + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + } + }, + "HTMLBaseFontElement": { + "name": "HTMLBaseFontElement", + "properties": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" + } + ] + } + }, + "HTMLTextAreaElement": { + "name": "HTMLTextAreaElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" + }, + { + "name": "status", + "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "readOnly", + "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" + }, + { + "name": "wrap", + "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of control.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLModElement": { + "name": "HTMLModElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLTableColElement": { + "name": "HTMLTableColElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" + }, + { + "name": "span", + "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" + } + ] + } + }, + "HTMLDivElement": { + "name": "HTMLDivElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLBRElement": { + "name": "HTMLBRElement", + "properties": { + "property": [ + { + "name": "clear", + "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" + } + ] + } + }, + "HTMLHeadingElement": { + "name": "HTMLHeadingElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + } + ] + } + }, + "HTMLFormElement": { + "name": "HTMLFormElement", + "properties": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "acceptCharset", + "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" + }, + { + "name": "enctype", + "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" + }, + { + "name": "elements", + "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "method", + "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" + }, + { + "name": "encoding", + "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "noValidate", + "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "reset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "submit", + "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + } + ] + } + }, + "HTMLMediaElement": { + "name": "HTMLMediaElement", + "properties": { + "property": [ + { + "name": "initialTime", + "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" + }, + { + "name": "played", + "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" + }, + { + "name": "currentSrc", + "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" + }, + { + "name": "autobuffer", + "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" + }, + { + "name": "ended", + "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" + }, + { + "name": "buffered", + "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" + }, + { + "name": "error", + "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" + }, + { + "name": "seekable", + "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" + }, + { + "name": "autoplay", + "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" + }, + { + "name": "controls", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "playbackRate", + "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" + }, + { + "name": "duration", + "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" + }, + { + "name": "muted", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" + }, + { + "name": "defaultPlaybackRate", + "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" + }, + { + "name": "paused", + "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" + }, + { + "name": "seeking", + "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" + }, + { + "name": "currentTime", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "preload", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "networkState", + "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" + }, + { + "name": "msAudioCategory", + "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" + }, + { + "name": "msRealTime", + "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "audioTracks", + "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + }, + { + "name": "msAudioDeviceType", + "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msKeys", + "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "pause", + "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" + }, + { + "name": "play", + "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" + }, + { + "name": "load", + "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" + }, + { + "name": "canPlayType", + "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" + }, + { + "name": "msClearEffects", + "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" + }, + { + "name": "msSetMediaProtectionManager", + "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" + }, + { + "name": "msInsertAudioEffect", + "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" + } + ] + } + }, + "HTMLDTElement": { + "name": "HTMLDTElement", + "properties": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLFieldSetElement": { + "name": "HTMLFieldSetElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLBGSoundElement": { + "name": "HTMLBGSoundElement", + "properties": { + "property": [ + { + "name": "balance", + "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" + } + ] + } + }, + "HTMLHRElement": { + "name": "HTMLHRElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noShade", + "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" + } + ] + } + }, + "HTMLObjectElement": { + "name": "HTMLObjectElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "object", + "comment": "/**\r\n * Retrieves the contained object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "code", + "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLEmbedElement": { + "name": "HTMLEmbedElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "palette", + "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "pluginspage", + "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "units", + "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + } + }, + "HTMLOptGroupElement": { + "name": "HTMLOptGroupElement", + "properties": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ] + } + }, + "HTMLIsIndexElement": { + "name": "HTMLIsIndexElement", + "properties": { + "property": [ + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + } + ] + } + }, + "HTMLVideoElement": { + "name": "HTMLVideoElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" + }, + { + "name": "videoWidth", + "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "videoHeight", + "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" + }, + { + "name": "poster", + "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" + } + ] + } + }, + "HTMLProgressElement": { + "name": "HTMLProgressElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" + }, + { + "name": "position", + "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "URLSearchParams": { + "name": "URLSearchParams", + "methods": { + "method": [ + { + "name": "append", + "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" + }, + { + "name": "delete", + "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" + }, + { + "name": "get", + "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" + }, + { + "name": "getAll", + "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" + }, + { + "name": "has", + "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" + }, + { + "name": "set", + "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" + } + ], + "constructor": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" + } + } + } }, - { - "name": "HTMLBaseElement", - "members": { - "property": [ - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLParagraphElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLAreasCollection", - "members": { - "property": [], - "method": [ - { - "name": "remove", - "comment": "/**\r\n * Removes an element from the collection.\r\n */" - }, - { - "name": "add", - "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLAppletElement", - "members": { - "property": [ - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "declare", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOListElement", - "members": { - "property": [ - { - "name": "start", - "comment": "/**\r\n * The starting number.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLSelectElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" - }, - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "selectedIndex", - "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ], - "method": [ - { - "name": "remove", - "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" - }, - { - "name": "add", - "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLBlockElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLMetaElement", - "members": { - "property": [ - { - "name": "httpEquiv", - "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" - }, - { - "name": "content", - "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" - }, - { - "name": "url", - "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" - }, - { - "name": "scheme", - "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLDDElement", - "members": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLinkElement", - "members": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFontElement", - "members": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableCaptionElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOptionElement", - "members": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLMapElement", - "members": { - "property": [ - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "areas", - "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLCollection", - "members": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - } - ], - "method": [ - { - "name": "item", - "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLImageElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "naturalHeight", - "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "naturalWidth", - "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" - }, - { - "name": "isMap", - "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLAreaElement", - "members": { - "property": [ - { - "name": "protocol", - "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "noHref", - "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - } - ], - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - { - "name": "HTMLButtonElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLSourceElement", - "members": { - "property": [ - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "Document", - "members": { - "property": [ - { - "name": "compatible", - "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" - }, - { - "name": "onkeydown", - "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "onkeyup", - "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "implementation", - "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" - }, - { - "name": "onreset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" - }, - { - "name": "scripts", - "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" - }, - { - "name": "onhelp", - "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragleave", - "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" - }, - { - "name": "onfocusin", - "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" - }, - { - "name": "vlinkColor", - "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" - }, - { - "name": "onseeked", - "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" - }, - { - "name": "title", - "comment": "/**\r\n * Contains the title of the document.\r\n */" - }, - { - "name": "namespaces", - "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" - }, - { - "name": "defaultCharset", - "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" - }, - { - "name": "embeds", - "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" - }, - { - "name": "styleSheets", - "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" - }, - { - "name": "frames", - "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" - }, - { - "name": "ondurationchange", - "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" - }, - { - "name": "all", - "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" - }, - { - "name": "forms", - "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" - }, - { - "name": "dir", - "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" - }, - { - "name": "onemptied", - "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" - }, - { - "name": "designMode", - "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" - }, - { - "name": "onseeking", - "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondeactivate", - "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" - }, - { - "name": "oncanplay", - "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondatasetchanged", - "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsdelete", - "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" - }, - { - "name": "onloadstart", - "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "URLUnencoded", - "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" - }, - { - "name": "oncontrolselect", - "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragenter", - "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "inputEncoding", - "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" - }, - { - "name": "activeElement", - "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" - }, - { - "name": "onchange", - "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" - }, - { - "name": "links", - "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" - }, - { - "name": "uniqueID", - "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" - }, - { - "name": "URL", - "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" - }, - { - "name": "onbeforeactivate", - "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "documentMode", - "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" - }, - { - "name": "anchors", - "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" - }, - { - "name": "ondatasetcomplete", - "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onsuspend", - "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "rootElement", - "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" - }, - { - "name": "readyState", - "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" - }, - { - "name": "referrer", - "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" - }, - { - "name": "alinkColor", - "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" - }, - { - "name": "onerrorupdate", - "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "parentWindow", - "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" - }, - { - "name": "onmouseout", - "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onmsthumbnailclick", - "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousewheel", - "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" - }, - { - "name": "onvolumechange", - "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "oncellchange", - "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowexit", - "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsinserted", - "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" - }, - { - "name": "xmlVersion", - "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" - }, - { - "name": "onpropertychange", - "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragend", - "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "doctype", - "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" - }, - { - "name": "ondragover", - "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" - }, - { - "name": "bgColor", - "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" - }, - { - "name": "ondragstart", - "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseup", - "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "ondrag", - "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseover", - "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "linkColor", - "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" - }, - { - "name": "onpause", - "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousedown", - "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onclick", - "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onwaiting", - "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstop", - "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmssitemodejumplistitemremoved", - "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "applets", - "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" - }, - { - "name": "body", - "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" - }, - { - "name": "domain", - "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" - }, - { - "name": "selection", - "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" - }, - { - "name": "onstalled", - "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousemove", - "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "documentElement", - "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" - }, - { - "name": "onbeforeeditfocus", - "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onratechange", - "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onprogress", - "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondblclick", - "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "oncontextmenu", - "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onloadedmetadata", - "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onerror", - "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplay", - "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplaying", - "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" - }, - { - "name": "images", - "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" - }, - { - "name": "location", - "comment": "/**\r\n * Contains information about the current URL.\r\n */" - }, - { - "name": "onabort", - "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocusout", - "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselectionchange", - "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstoragecommit", - "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondataavailable", - "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onreadystatechange", - "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" - }, - { - "name": "lastModified", - "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" - }, - { - "name": "onkeypress", - "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onloadeddata", - "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onbeforedeactivate", - "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onactivate", - "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" - }, - { - "name": "fgColor", - "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" - }, - { - "name": "ontimeupdate", - "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselect", - "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onended", - "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" - }, - { - "name": "compatMode", - "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" - }, - { - "name": "onscroll", - "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowenter", - "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" - } - ], - "method": [ - { - "name": "queryCommandValue", - "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "queryCommandIndeterm", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "execCommand", - "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" - }, - { - "name": "elementFromPoint", - "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" - }, - { - "name": "queryCommandText", - "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" - }, - { - "name": "write", - "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" - }, - { - "name": "updateSettings", - "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" - }, - { - "name": "createElement", - "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" - }, - { - "name": "releaseCapture", - "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" - }, - { - "name": "writeln", - "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" - }, - { - "name": "open", - "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" - }, - { - "name": "queryCommandSupported", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "createTreeWalker", - "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "queryCommandEnabled", - "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "focus", - "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" - }, - { - "name": "close", - "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" - }, - { - "name": "createRange", - "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" - }, - { - "name": "fireEvent", - "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" - }, - { - "name": "createComment", - "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" - }, - { - "name": "getElementsByTagName", - "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" - }, - { - "name": "createDocumentFragment", - "comment": "/**\r\n * Creates a new document.\r\n */" - }, - { - "name": "createStyleSheet", - "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" - }, - { - "name": "getElementsByName", - "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" - }, - { - "name": "queryCommandState", - "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "hasFocus", - "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" - }, - { - "name": "execCommandShowHelp", - "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" - }, - { - "name": "createAttribute", - "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" - }, - { - "name": "createTextNode", - "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" - }, - { - "name": "createNodeIterator", - "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "createEventObject", - "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" - }, - { - "name": "getSelection", - "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" - }, - { - "name": "getElementById", - "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" - } - ] - } - }, - { - "name": "HTMLScriptElement", - "members": { - "property": [ - { - "name": "defer", - "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" - }, - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" - }, - { - "name": "event", - "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableRowElement", - "members": { - "property": [ - { - "name": "rowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "sectionRowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteCell", - "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" - }, - { - "name": "insertCell", - "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLHtmlElement", - "members": { - "property": [ - { - "name": "version", - "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFrameElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLQuoteElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableHeaderCellElement", - "members": { - "property": [ - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFrameSetElement", - "members": { - "property": [ - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLabelElement", - "members": { - "property": [ - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLegendElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLIElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLIFrameElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "srcdoc", - "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableSectionElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLInputElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "vrml", - "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" - }, - { - "name": "lowsrc", - "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "accept", - "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "defaultChecked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "checked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "files", - "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "step", - "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "valueAsNumber", - "comment": "/**\r\n * Returns the input field value as a number.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - }, - { - "name": "list", - "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "min", - "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "pattern", - "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "stepDown", - "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" - }, - { - "name": "stepUp", - "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLAnchorElement", - "members": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "protocol", - "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ], - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - { - "name": "HTMLParamElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" - }, - { - "name": "valueType", - "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLPreElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLPhraseElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLCanvasElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" - } - ], - "method": [ - { - "name": "toDataURL", - "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" - }, - { - "name": "getContext", - "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" - }, - { - "name": "msToBlob", - "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" - } - ] - } - }, - { - "name": "HTMLTitleElement", - "members": { - "property": [ - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLStyleElement", - "members": { - "property": [ - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableCellElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "headers", - "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" - }, - { - "name": "cellIndex", - "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "colSpan", - "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "axis", - "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - }, - { - "name": "abbr", - "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" - }, - { - "name": "rowSpan", - "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" - }, - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLBaseFontElement", - "members": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTextAreaElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" - }, - { - "name": "status", - "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "readOnly", - "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" - }, - { - "name": "wrap", - "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of control.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLModElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableColElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" - }, - { - "name": "span", - "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableAlignment", - "members": { - "property": [ - { - "name": "ch", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" - }, - { - "name": "chOff", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLDivElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLBRElement", - "members": { - "property": [ - { - "name": "clear", - "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLHeadingElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFormElement", - "members": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "acceptCharset", - "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" - }, - { - "name": "enctype", - "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" - }, - { - "name": "elements", - "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "method", - "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" - }, - { - "name": "encoding", - "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "noValidate", - "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" - } - ], - "method": [ - { - "name": "reset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "submit", - "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - } - ] - } - }, - { - "name": "HTMLMediaElement", - "members": { - "property": [ - { - "name": "initialTime", - "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" - }, - { - "name": "played", - "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" - }, - { - "name": "currentSrc", - "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" - }, - { - "name": "autobuffer", - "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" - }, - { - "name": "ended", - "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" - }, - { - "name": "buffered", - "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" - }, - { - "name": "error", - "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" - }, - { - "name": "seekable", - "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" - }, - { - "name": "autoplay", - "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" - }, - { - "name": "controls", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "playbackRate", - "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" - }, - { - "name": "duration", - "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" - }, - { - "name": "muted", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" - }, - { - "name": "defaultPlaybackRate", - "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" - }, - { - "name": "paused", - "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" - }, - { - "name": "seeking", - "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" - }, - { - "name": "currentTime", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "preload", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "networkState", - "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" - }, - { - "name": "msAudioCategory", - "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" - }, - { - "name": "msRealTime", - "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "audioTracks", - "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - }, - { - "name": "msAudioDeviceType", - "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msKeys", - "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" - } - ], - "method": [ - { - "name": "pause", - "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" - }, - { - "name": "play", - "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" - }, - { - "name": "load", - "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" - }, - { - "name": "canPlayType", - "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" - }, - { - "name": "msClearEffects", - "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" - }, - { - "name": "msSetMediaProtectionManager", - "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" - }, - { - "name": "msInsertAudioEffect", - "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" - } - ] - } - }, - { - "name": "HTMLDTElement", - "members": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFieldSetElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ], - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLBGSoundElement", - "members": { - "property": [ - { - "name": "balance", - "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLHRElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noShade", - "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLObjectElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "object", - "comment": "/**\r\n * Retrieves the contained object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "code", - "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLEmbedElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "palette", - "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "pluginspage", - "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "units", - "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOptGroupElement", - "members": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLIsIndexElement", - "members": { - "property": [ - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLVideoElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" - }, - { - "name": "videoWidth", - "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "videoHeight", - "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" - }, - { - "name": "poster", - "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLProgressElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" - }, - { - "name": "position", - "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "URLSearchParams", - "members": { - "method": [ - { - "name": "append", - "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" - }, - { - "name": "delete", - "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" - }, - { - "name": "get", - "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" - }, - { - "name": "getAll", - "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" - }, - { - "name": "has", - "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" - }, - { - "name": "set", - "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" - } - ], - "property": [], - "constructor": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" - } + "mixin-interfaces": { + "interface": { + "HTMLTableAlignment": { + "name": "HTMLTableAlignment", + "properties": { + "property": [ + { + "name": "ch", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" + }, + { + "name": "chOff", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" + } + ] + } + } + } } - ] } \ No newline at end of file diff --git a/types.d.ts b/types.d.ts index c5fc0a0e2..8c2cb0c6e 100644 --- a/types.d.ts +++ b/types.d.ts @@ -44,6 +44,7 @@ export type Property = { "treat-null-as"?: string; "event-handler-map-to-window"?: string; "static"?: string; + "comment"?: string; }; export type Event = { @@ -70,6 +71,7 @@ export type Method = { "serializer"?: string; "serializer-info"?: string; "param"?: Param[]; + "comment"?: string; }; export type CallbackFunction = { From 0426bdae8daf01393bcf6e18c373b9f397b2a832 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 12:30:44 -0800 Subject: [PATCH 09/93] Add some types to merge --- index.ts | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/index.ts b/index.ts index 814e35926..f451e6537 100644 --- a/index.ts +++ b/index.ts @@ -1531,32 +1531,34 @@ namespace Emit { } -function merge(obj1: any, obj2: any) { - if (typeof obj1 !== "object" || typeof obj2 !== "object") return obj1; - for (var k in obj2) { - if (obj1[k]) { - if (Array.isArray(obj1[k]) && Array.isArray(obj2[k])) { +function merge(src: T, target: T):T { + if (typeof src !== "object" || typeof target !== "object") return src; + for (const k in target) { + if (src[k]) { + const srcProp = src[k]; + const targetProp = target[k]; + if (Array.isArray(srcProp) && Array.isArray(targetProp)) { // merge arrays - var map: any = {}; - for (var e1 of obj1[k]) + const map: any = {}; + for (const e1 of srcProp) if (e1.name) map[e1.name] = e1; - for (var e2 of obj2[k]) { + for (const e2 of targetProp) { if (e2.name && map[e2.name]) merge(map[e2.name], e2); } } else { - if (Array.isArray(obj1[k]) !== Array.isArray(obj2[k])) throw new Error("Mismatch on property: " + k); - merge(obj1[k], obj2[k]); + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k); + merge(src[k], target[k]); } } else { - obj1[k] = obj2[k]; + src[k] = target[k]; } } - return obj1; + return src; } browser = merge(browser,comments); From 63e0a7e83a4ab2b29e18ce727b049946f78170e7 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 17:20:41 -0800 Subject: [PATCH 10/93] Move source files to a diffrent directory --- index.ts | 134 +- inputfiles/json/addedTypes.json | 3321 +++++++++++++++++ inputfiles/{ => json}/browser.webidl.xml.json | 0 inputfiles/json/comments.json | 3057 +++++++++++++++ inputfiles/json/knownWorkerEnums.json | 21 + inputfiles/json/knownWorkerInterfaces.json | 105 + .../{ => json}/webworkers.specidl.xml.json | 0 types.d.ts | 3 + 8 files changed, 6582 insertions(+), 59 deletions(-) create mode 100644 inputfiles/json/addedTypes.json rename inputfiles/{ => json}/browser.webidl.xml.json (100%) create mode 100644 inputfiles/json/comments.json create mode 100644 inputfiles/json/knownWorkerEnums.json create mode 100644 inputfiles/json/knownWorkerInterfaces.json rename inputfiles/{ => json}/webworkers.specidl.xml.json (100%) diff --git a/index.ts b/index.ts index f451e6537..96235a904 100644 --- a/index.ts +++ b/index.ts @@ -3,8 +3,8 @@ import * as fs from "fs"; import * as path from "path"; const __SOURCE_DIRECTORY__ = __dirname; -let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles") -let outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new") +let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); +let outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new"); // Create output folder if (!fs.existsSync(outputFolder)) { @@ -47,7 +47,7 @@ type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: str // let overriddenItems = JSON.parse(fs.readFileSync(inputFolder + "/overridingTypes.json").toString()); // let removedItems = JSON.parse(fs.readFileSync(inputFolder + "/removedTypes.json").toString()); -// let addedItems = JSON.parse(fs.readFileSync(inputFolder + "/addedTypes.json").toString()); +let addedItems = require(inputFolder + "/addedTypes.json"); let comments = require(inputFolder + "/comments.json"); /// Parse the xml input file @@ -59,7 +59,11 @@ let knownWorkerInterfaces = new Set(JSON.parse(fs.readFileSync(inputFold let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerEnums.json").toString())); -type InterfaceCommentItem = { Property: Record; Method: Record; Constructor: string | undefined } +type InterfaceCommentItem = { Property: Record; Method: Record; Constructor: string | undefined }; + + +browser = merge(browser, addedItems, "add"); +browser = merge(browser, comments, "update"); /** @@ -184,6 +188,38 @@ function mapToArray(m: Record): T[] { return Object.keys(m).map(k => m[k]); } +function merge(src: T, target: T, mode: "add" | "update"):T { + if (typeof src !== "object" || typeof target !== "object") return src; + for (const k in target) { + if (src[k]) { + const srcProp = src[k]; + const targetProp = target[k]; + if (Array.isArray(srcProp) && Array.isArray(targetProp)) { + // merge arrays + const map: any = {}; + for (const e1 of srcProp) + if (e1.name) + map[e1.name] = e1; + + for (const e2 of targetProp) { + if (e2.name && map[e2.name]) + merge(map[e2.name], e2, mode); + } + } + else { + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k); + merge(src[k], target[k], mode); + } + } + else { + if (typeof target[k] !== "object" || mode === "add") { + src[k] = target[k]; + } + } + } + return src; +} + let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixin-interfaces"], "interface")); let allWebInterfaces = concat(getElements(browser.interfaces, "interface"), @@ -1004,19 +1040,24 @@ namespace Emit { else { let pType: string; - if (p.type === "EventHandler") { - // Sometimes event handlers with the same name may actually handle different - // events in different interfaces. For example, "onerror" handles "ErrorEvent" - // normally, but in "SVGSVGElement" it handles "SVGError" event instead. - let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; - pType = `(${EmitEventHandlerThis(flavor, prefix, i)}ev: ${eType}) => any`; + if (p["override-type"]) { + pType = p["override-type"]!; } else { - pType = DomTypeToTsType(p.type); + if (p.type === "EventHandler") { + // Sometimes event handlers with the same name may actually handle different + // events in different interfaces. For example, "onerror" handles "ErrorEvent" + // normally, but in "SVGSVGElement" it handles "SVGError" event instead. + let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; + pType = `(${EmitEventHandlerThis(flavor, prefix, i)}ev: ${eType}) => any`; + } + else { + pType = DomTypeToTsType(p.type); + } } - let pTypeAndNull = p.nullable ? makeNullable(pType) : pType; + pType = p.nullable ? makeNullable(pType) : pType; let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; - printLine(`${prefix}${readOnlyModifier}${p.name}: ${pTypeAndNull};`); + printLine(`${prefix}${readOnlyModifier}${p.name}: ${pType};`); } } @@ -1047,19 +1088,27 @@ namespace Emit { printLine(m.comment); } - switch (m.name) { - case "createElement": return EmitCreateElementOverloads(m); - case "createEvent": return EmitCreateEventOverloads(m); - case "getElementsByTagName": return EmitGetElementsByTagNameOverloads(m); - case "querySelector": return EmitQuerySelectorOverloads(m); - case "querySelectorAll": return EmitQuerySelectorAllOverloads(m); + if (m["override-signatures"]) { + m["override-signatures"]!.forEach(s => printLine(`${s};`)); } - let overloads = GetOverloads(m, false); - for (const { paramCombinations, returnTypes, nullable } of overloads) { - let paramsString = ParamsToString(paramCombinations); - let returnType = returnTypes.map(DomTypeToTsType).join(" | "); - let returnString = nullable ? makeNullable(returnType) : returnType; - printLine(`${prefix}${m.name || ""}(${paramsString}): ${returnString};`); + else { + switch (m.name) { + case "createElement": return EmitCreateElementOverloads(m); + case "createEvent": return EmitCreateEventOverloads(m); + case "getElementsByTagName": return EmitGetElementsByTagNameOverloads(m); + case "querySelector": return EmitQuerySelectorOverloads(m); + case "querySelectorAll": return EmitQuerySelectorAllOverloads(m); + } + if (m["additional-signatures"]) { + m["additional-signatures"]!.forEach(s => printLine(`${s};`)); + } + let overloads = GetOverloads(m, false); + for (const { paramCombinations, returnTypes, nullable } of overloads) { + let paramsString = ParamsToString(paramCombinations); + let returnType = returnTypes.map(DomTypeToTsType).join(" | "); + let returnString = nullable ? makeNullable(returnType) : returnType; + printLine(`${prefix}${m.name || ""}(${paramsString}): ${returnString};`); + } } } @@ -1145,7 +1194,7 @@ namespace Emit { } function EmitConstructorSignature(flavor: Flavor, i: Browser.Interface) { - //Emit constructor signature + // Emit constructor signature if (i.constructor) { for (const { paramCombinations } of GetOverloads(i.constructor, false)) { let paramsString = ParamsToString(paramCombinations); @@ -1530,39 +1579,6 @@ namespace Emit { } } - -function merge(src: T, target: T):T { - if (typeof src !== "object" || typeof target !== "object") return src; - for (const k in target) { - if (src[k]) { - const srcProp = src[k]; - const targetProp = target[k]; - if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - // merge arrays - const map: any = {}; - for (const e1 of srcProp) - if (e1.name) - map[e1.name] = e1; - - for (const e2 of targetProp) { - if (e2.name && map[e2.name]) - merge(map[e2.name], e2); - } - } - else { - if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k); - merge(src[k], target[k]); - } - } - else { - src[k] = target[k]; - } - } - return src; -} - -browser = merge(browser,comments); - Emit.EmitDomWeb(); Emit.EmitDomWorker(); diff --git a/inputfiles/json/addedTypes.json b/inputfiles/json/addedTypes.json new file mode 100644 index 000000000..d683006f7 --- /dev/null +++ b/inputfiles/json/addedTypes.json @@ -0,0 +1,3321 @@ +{ + "interfaces": { + "interface": { + "BroadcastChannel": { + "name": "BroadcastChannel", + "extends": "EventTarget", + "properties": { + "property": [ + { + "readonly": true, + "name": "name", + "override-type": "string" + }, + { + "name": "onmessage", + "override-type": "(ev: MessageEvent) => any" + }, + { + "name": "onmessageerror", + "override-type": "(ev: MessageEvent) => any" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "override-signatures": [ + "close(): void" + ] + }, + { + "name": "postMessage", + "override-signatures": [ + "postMessage(message: any): void" + ] + }, + { + "name": "addEventListener", + "override-signatures": [ + "addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void", + "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" + ] + }, + { + "name": "removeEventListener", + "override-signatures": [ + "removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void", + "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new(name: string): BroadcastChannel" + ] + }, + "BroadcastChannelEventMap": { + "name": "BroadcastChannelEventMap", + "properties": { + "property": [ + { + "name": "message", + "override-type": "MessageEvent" + }, + { + "name": "messageerror", + "override-type": "MessageEvent" + } + ] + } + }, + "ErrorEventInit": { + "name": "ErrorEventInit", + "properties": { + "property": [ + { + "name": "message?", + "override-type": "string" + }, + { + "name": "filename?", + "override-type": "string" + }, + { + "name": "lineno?", + "override-type": "number" + }, + { + "name": "conlno?", + "override-type": "number" + }, + { + "name": "error?", + "override-type": "any" + } + ] + } + }, + "CSSStyleDeclaration": { + "name": "CSSStyleDeclaration", + "properties": { + "property": [ + { + "name": "resize", + "override-type": "string | null" + }, + { + "name": "userSelect", + "override-type": "string | null" + } + ] + } + }, + "StorageEventInit": { + "name": "StorageEventInit", + "flavor": "Web", + "extends": "EventInit", + "properties": { + "property": [ + { + "name": "key?", + "override-type": "string" + }, + { + "name": "oldValue?", + "override-type": "string" + }, + { + "name": "newValue?", + "override-type": "string" + }, + { + "name": "url", + "override-type": "string" + }, + { + "name": "storageArea?", + "override-type": "Storage" + } + ] + } + }, + "Canvas2DContextAttributes": { + "name": "Canvas2DContextAttributes", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "alpha?", + "override-type": "boolean" + }, + { + "name": "willReadFrequently?", + "override-type": "boolean" + }, + { + "name": "storage?", + "override-type": "boolean" + }, + { + "name": "[attribute: string]", + "override-type": "boolean | string | undefined" + } + ] + } + }, + "ImageBitmapOptions": { + "flavor": "All", + "name": "ImageBitmapOptions", + "properties": { + "property": [ + { + "name": "imageOrientation?", + "override-type": "\"none\" | \"flipY\"" + }, + { + "name": "premultiplyAlpha?", + "override-type": "\"none\" | \"premultiply\" | \"default\"" + }, + { + "name": "colorSpaceConversion?", + "override-type": "\"none\" | \"default\"" + }, + { + "name": "resizeWidth?", + "override-type": "number" + }, + { + "name": "resizeHeight?", + "override-type": "number" + }, + { + "name": "resizeQuality?", + "override-type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"" + } + ] + } + }, + "ImageBitmap": { + "name": "ImageBitmap", + "flavor": "All", + "properties": { + "property": [ + { + "name": "width", + "readonly": true, + "override-type": "number" + }, + { + "name": "height", + "readonly": true, + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "override-signatures": [ + "close(): void" + ] + } + ] + } + }, + "Window": { + "name": "Window", + "methods": { + "method": [ + { + "name": "createImageBitmap", + "override-signatures": [ + "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", + "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" + ] + }, + { + "name": "scroll", + "override-signatures": [ + "scroll(options?: ScrollToOptions): void" + ] + }, + { + "name": "scrollTo", + "override-signatures": [ + "scrollTo(options?: ScrollToOptions): void" + ] + }, + { + "name": "scrollBy", + "override-signatures": [ + "scrollBy(options?: ScrollToOptions): void" + ] + } + ] + }, + "properties": { + "property": [ + { + "exposeGlobally": false, + "name": "URL", + "override-type": "typeof URL" + }, + { + "exposeGlobally": false, + "name": "URLSearchParams", + "override-type": "typeof URLSearchParams" + }, + { + "exposeGlobally": false, + "name": "Blob", + "override-type": "typeof Blob" + }, + { + "name": "customElements", + "override-type": "CustomElementRegistry" + } + ] + } + }, + "WorkerGlobalScope": { + "name": "WorkerGlobalScope", + "methods": { + "method": [ + { + "name": "createImageBitmap", + "override-signatures": [ + "createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", + "createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" + ] + } + ] + } + }, + "IDBObjectStoreParameters": { + "name": "IDBObjectStoreParameters", + "properties": { + "property": [ + { + "name": "autoIncrement?", + "override-type": "boolean" + } + ] + } + }, + "IDBIndexParameters": { + "name": "IDBIndexParameters", + "properties": { + "property": [ + { + "name": "multiEntry?", + "override-type": "boolean" + } + ] + } + }, + "IDBIndex": { + "name": "IDBIndex", + "properties": { + "property": [ + { + "name": "multiEntry", + "override-type": "boolean" + } + ] + } + }, + "URLSearchParams": { + "name": "URLSearchParams", + "methods": { + "method": [ + { + "name": "append", + "override-signatures": [ + "append(name: string, value: string): void" + ] + }, + { + "name": "delete", + "override-signatures": [ + "delete(name: string): void" + ] + }, + { + "name": "get", + "override-signatures": [ + "get(name: string): string | null" + ] + }, + { + "name": "getAll", + "override-signatures": [ + "getAll(name: string): string[]" + ] + }, + { + "name": "has", + "override-signatures": [ + "has(name: string): boolean" + ] + }, + { + "name": "set", + "override-signatures": [ + "set(name: string, value: string): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new (init?: string | URLSearchParams): URLSearchParams" + ] + }, + "URL": { + "name": "URL", + "properties": { + "property": [ + { + "name": "searchParams", + "readonly": true, + "override-type": "URLSearchParams" + } + ] + } + }, + "NodeListOf": { + "name": "NodeListOf", + "flavor": "Web", + "extends": "NodeList", + "properties": { + "property": [ + { + "name": "length", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "override-signatures": [ + "item(index: number): TNode" + ] + } + ] + }, + "indexer": [ + { + "signatures": [ + "[index: number]: TNode" + ] + } + ] + }, + "HTMLCollectionOf": { + "name": "HTMLCollectionOf", + "flavor": "Web", + "extends": "HTMLCollection", + "methods": { + "method": [ + { + "name": "item", + "override-signatures": [ + "item(index: number): T" + ] + }, + { + "name": "namedItem", + "override-signatures": [ + "namedItem(name: string): T" + ] + } + ] + }, + "indexer": [ + { + "signatures": [ + "[index: number]: T" + ] + } + ] + }, + "BlobPropertyBag": { + "name": "BlobPropertyBag", + "properties": { + "property": [ + { + "name": "type?", + "override-type": "string" + }, + { + "name": "endings?", + "override-type": "string" + } + ] + } + }, + "FilePropertyBag": { + "name": "FilePropertyBag", + "extends": "BlobPropertyBag", + "properties": { + "property": [ + { + "name": "lastModified?", + "override-type": "number" + } + ] + } + }, + "EventListenerObject": { + "name": "EventListenerObject", + "methods": { + "method": [ + { + "name": "handleEvent", + "override-signatures": [ + "handleEvent(evt: Event): void" + ] + } + ] + } + }, + "MessageEventInit": { + "name": "MessageEventInit", + "properties": { + "property": [ + { + "name": "lastEventId?", + "override-type": "string" + }, + { + "name": "channel?", + "override-type": "string" + } + ] + } + }, + "ProgressEventInit": { + "name": "ProgressEventInit", + "extends": "EventInit", + "properties": { + "property": [ + { + "name": "lengthComputable?", + "override-type": "boolean" + }, + { + "name": "loaded?", + "override-type": "number" + }, + { + "name": "total?", + "override-type": "number" + } + ] + } + }, + "Element": { + "name": "Element", + "methods": { + "method": [ + { + "name": "getElementsByClassName", + "override-signatures": [ + "getElementsByClassName(classNames: string): NodeListOf" + ] + }, + { + "name": "matches", + "override-signatures": [ + "matches(selector: string): boolean" + ] + }, + { + "name": "closest", + "override-signatures": [ + "closest(selector: K): HTMLElementTagNameMap[K] | null", + "closest(selector: K): SVGElementTagNameMap[K] | null" + ] + }, + { + "name": "closest", + "override-signatures": [ + "closest(selector: string): Element | null" + ] + }, + { + "name": "scrollIntoView", + "override-signatures": [ + "scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void" + ] + }, + { + "name": "scroll", + "override-signatures": [ + "scroll(options?: ScrollToOptions): void", + "scroll(x: number, y: number): void" + ] + }, + { + "name": "scrollTo", + "override-signatures": [ + "scrollTo(options?: ScrollToOptions): void", + "scrollTo(x: number, y: number): void" + ] + }, + { + "name": "scrollBy", + "override-signatures": [ + "scrollBy(options?: ScrollToOptions): void", + "scrollBy(x: number, y: number): void" + ] + }, + { + "name": "insertAdjacentElement", + "override-signatures": [ + "insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null" + ] + }, + { + "name": "insertAdjacentHTML", + "override-signatures": [ + "insertAdjacentHTML(where: InsertPosition, html: string): void" + ] + }, + { + "name": "insertAdjacentText", + "override-signatures": [ + "insertAdjacentText(where: InsertPosition, text: string): void" + ] + }, + {}, + { + "name": "attachShadow", + "override-signatures": [ + "attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot" + ] + } + ] + }, + "extends": "ParentNode", + "properties": { + "property": [ + { + "name": "assignedSlot", + "readonly": true, + "override-type": "HTMLSlotElement | null" + }, + { + "name": "slot", + "override-type": "string" + }, + { + "name": "shadowRoot", + "readonly": true, + "override-type": "ShadowRoot | null" + } + ] + } + }, + "ScrollOptions": { + "flavor": "Web", + "name": "ScrollOptions", + "properties": { + "property": [ + { + "name": "behavior?", + "override-type": "ScrollBehavior" + } + ] + } + }, + "ScrollToOptions": { + "flavor": "Web", + "name": "ScrollToOptions", + "extends": "ScrollOptions", + "properties": { + "property": [ + { + "name": "left?", + "override-type": "number" + }, + { + "name": "top?", + "override-type": "number" + } + ] + } + }, + "ScrollIntoViewOptions": { + "flavor": "Web", + "name": "ScrollIntoViewOptions", + "extends": "ScrollOptions", + "properties": { + "property": [ + { + "name": "block?", + "override-type": "ScrollLogicalPosition" + }, + { + "name": "inline?", + "override-type": "ScrollLogicalPosition" + } + ] + } + }, + "Document": { + "methods": { + "method": [ + { + "name": "createElementNS", + "additional-signatures": [ + "createElementNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", qualifiedName: string): HTMLElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"a\"): SVGAElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"circle\"): SVGCircleElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"clipPath\"): SVGClipPathElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"componentTransferFunction\"): SVGComponentTransferFunctionElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"defs\"): SVGDefsElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"desc\"): SVGDescElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"ellipse\"): SVGEllipseElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feBlend\"): SVGFEBlendElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feColorMatrix\"): SVGFEColorMatrixElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feComponentTransfer\"): SVGFEComponentTransferElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feComposite\"): SVGFECompositeElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feConvolveMatrix\"): SVGFEConvolveMatrixElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDiffuseLighting\"): SVGFEDiffuseLightingElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDisplacementMap\"): SVGFEDisplacementMapElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDistantLight\"): SVGFEDistantLightElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFlood\"): SVGFEFloodElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncA\"): SVGFEFuncAElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncB\"): SVGFEFuncBElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncG\"): SVGFEFuncGElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncR\"): SVGFEFuncRElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feGaussianBlur\"): SVGFEGaussianBlurElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feImage\"): SVGFEImageElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMerge\"): SVGFEMergeElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMergeNode\"): SVGFEMergeNodeElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMorphology\"): SVGFEMorphologyElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feOffset\"): SVGFEOffsetElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"fePointLight\"): SVGFEPointLightElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feSpecularLighting\"): SVGFESpecularLightingElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feSpotLight\"): SVGFESpotLightElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feTile\"): SVGFETileElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feTurbulence\"): SVGFETurbulenceElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"filter\"): SVGFilterElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"foreignObject\"): SVGForeignObjectElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"g\"): SVGGElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"image\"): SVGImageElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"gradient\"): SVGGradientElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"line\"): SVGLineElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"linearGradient\"): SVGLinearGradientElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"marker\"): SVGMarkerElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"mask\"): SVGMaskElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"path\"): SVGPathElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"metadata\"): SVGMetadataElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"pattern\"): SVGPatternElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"polygon\"): SVGPolygonElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"polyline\"): SVGPolylineElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"radialGradient\"): SVGRadialGradientElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"rect\"): SVGRectElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"svg\"): SVGSVGElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"script\"): SVGScriptElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"stop\"): SVGStopElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"style\"): SVGStyleElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"switch\"): SVGSwitchElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"symbol\"): SVGSymbolElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"tspan\"): SVGTSpanElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textContent\"): SVGTextContentElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"text\"): SVGTextElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textPath\"): SVGTextPathElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textPositioning\"): SVGTextPositioningElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"title\"): SVGTitleElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"use\"): SVGUseElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"view\"): SVGViewElement", + "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: string): SVGElement" + ] + }, + {} + ] + }, + "extends": "ParentNode", + "properties": { + "property": [ + { + "name": "onvisibilitychange", + "override-type": "(this: Document, ev: Event) => any" + } + ] + } + }, + "Navigator": { + "name": "Navigator", + "methods": { + "method": [ + { + "name": "vibrate", + "override-signatures": [ + "vibrate(pattern: number | number[]): boolean" + ] + } + ] + }, + "properties": { + "property": [ + { + "readonly": true, + "name": "doNotTrack", + "override-type": "string | null" + }, + { + "name": "hardwareConcurrency", + "readonly": true, + "override-type": "number" + }, + { + "name": "languages", + "readonly": true, + "override-type": "string[]" + } + ] + } + }, + "WorkerNavigator": { + "name": "WorkerNavigator", + "properties": { + "property": [ + { + "name": "hardwareConcurrency", + "readonly": true, + "override-type": "number" + } + ] + } + }, + "HTMLLinkElement": { + "name": "HTMLLinkElement", + "properties": { + "property": [ + { + "name": "import?", + "override-type": "Document" + }, + { + "name": "integrity", + "override-type": "string" + } + ] + } + }, + "HTMLCanvasElement": { + "name": "HTMLCanvasElement", + "methods": { + "method": [ + { + "name": "toBlob", + "override-signatures": [ + "toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void" + ] + } + ] + } + }, + "StorageEvent": { + "name": "StorageEvent", + "properties": { + "property": [ + { + "name": "key?", + "override-type": "string" + }, + { + "name": "oldValue?", + "override-type": "string" + }, + { + "name": "newValue?", + "override-type": "string" + }, + { + "name": "storageArea?", + "override-type": "Storage" + } + ] + } + }, + "IDBObjectStore": { + "name": "IDBObjectStore", + "properties": { + "property": [ + { + "name": "autoIncrement", + "override-type": "boolean" + } + ] + } + }, + "ClipboardEventInit": { + "flavor": "Web", + "name": "ClipboardEventInit", + "extends": "EventInit", + "properties": { + "property": [ + { + "name": "data?", + "override-type": "string" + }, + { + "name": "dataType?", + "override-type": "string" + } + ] + } + }, + "IDBArrayKey": { + "name": "IDBArrayKey", + "extends": "Array" + }, + "HTMLInputElement": { + "name": "HTMLInputElement", + "properties": { + "property": [ + { + "name": "minLength", + "override-type": "number" + } + ] + } + }, + "HTMLIFrameElement": { + "name": "HTMLIFrameElement", + "properties": { + "property": [ + { + "name": "srcdoc", + "override-type": "string" + } + ] + } + }, + "HTMLTextAreaElement": { + "name": "HTMLTextAreaElement", + "properties": { + "property": [ + { + "name": "minLength", + "override-type": "number" + } + ] + } + }, + "IDBDatabase": { + "name": "IDBDatabase", + "properties": { + "property": [ + { + "name": "onversionchange", + "override-type": "(ev: IDBVersionChangeEvent) => any" + } + ] + }, + "methods": { + "method": [ + { + "name": "addEventListener", + "override-signatures": [ + "addEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | AddEventListenerOptions): void" + ] + }, + { + "name": "removeEventListener", + "override-signatures": [ + "removeEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | EventListenerOptions): void" + ] + } + ] + } + }, + "CanvasRenderingContext2D": { + "name": "CanvasRenderingContext2D", + "properties": { + "property": [ + { + "name": "mozImageSmoothingEnabled", + "override-type": "boolean" + }, + { + "name": "webkitImageSmoothingEnabled", + "override-type": "boolean" + }, + { + "name": "oImageSmoothingEnabled", + "override-type": "boolean" + } + ] + } + }, + "WebGLContextAttributes": { + "name": "WebGLContextAttributes", + "properties": { + "property": [ + { + "name": "failIfMajorPerformanceCaveat?", + "override-type": "boolean" + } + ] + } + }, + "RsaKeyGenParams": { + "name": "RsaKeyGenParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "modulusLength", + "override-type": "number" + }, + { + "name": "publicExponent", + "override-type": "Uint8Array" + } + ] + } + }, + "RsaHashedKeyGenParams": { + "name": "RsaHashedKeyGenParams", + "extends": "RsaKeyGenParams", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + } + ] + } + }, + "RsaKeyAlgorithm": { + "name": "RsaKeyAlgorithm", + "extends": "KeyAlgorithm", + "properties": { + "property": [ + { + "name": "modulusLength", + "override-type": "number" + }, + { + "name": "publicExponent", + "override-type": "Uint8Array" + } + ] + } + }, + "RsaHashedKeyAlgorithm": { + "name": "RsaHashedKeyAlgorithm", + "extends": "RsaKeyAlgorithm", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + } + ] + } + }, + "RsaHashedImportParams": { + "name": "RsaHashedImportParams", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + } + ] + } + }, + "RsaPssParams": { + "name": "RsaPssParams", + "properties": { + "property": [ + { + "name": "saltLength", + "override-type": "number" + } + ] + } + }, + "RsaOaepParams": { + "name": "RsaOaepParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "label?", + "override-type": "BufferSource" + } + ] + } + }, + "EcdsaParams": { + "name": "EcdsaParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + } + ] + } + }, + "EcKeyGenParams": { + "name": "EcKeyGenParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "namedCurve", + "override-type": "string" + } + ] + } + }, + "EcKeyAlgorithm": { + "name": "EcKeyAlgorithm", + "extends": "KeyAlgorithm", + "properties": { + "property": [ + { + "name": "typedCurve", + "override-type": "string" + } + ] + } + }, + "EcKeyImportParams": { + "name": "EcKeyImportParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "namedCurve", + "override-type": "string" + } + ] + } + }, + "EcdhKeyDeriveParams": { + "name": "EcdhKeyDeriveParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "public", + "override-type": "CryptoKey" + } + ] + } + }, + "AesCtrParams": { + "name": "AesCtrParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "counter", + "override-type": "BufferSource" + }, + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "AesKeyAlgorithm": { + "name": "AesKeyAlgorithm", + "extends": "KeyAlgorithm", + "properties": { + "property": [ + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "AesKeyGenParams": { + "name": "AesKeyGenParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "AesDerivedKeyParams": { + "name": "AesDerivedKeyParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "AesCbcParams": { + "name": "AesCbcParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "iv", + "override-type": "BufferSource" + } + ] + } + }, + "AesCmacParams": { + "name": "AesCmacParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "AesGcmParams": { + "name": "AesGcmParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "iv", + "override-type": "BufferSource" + }, + { + "name": "additionalData?", + "override-type": "BufferSource" + }, + { + "name": "tagLength?", + "override-type": "number" + } + ] + } + }, + "AesCfbParams": { + "name": "AesCfbParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "iv", + "override-type": "BufferSource" + } + ] + } + }, + "HmacImportParams": { + "name": "HmacImportParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "hash?", + "override-type": "AlgorithmIdentifier" + }, + { + "name": "length?", + "override-type": "number" + } + ] + } + }, + "HmacKeyAlgorithm": { + "name": "HmacKeyAlgorithm", + "extends": "KeyAlgorithm", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + }, + { + "name": "length", + "override-type": "number" + } + ] + } + }, + "HmacKeyGenParams": { + "name": "HmacKeyGenParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + }, + { + "name": "length?", + "override-type": "number" + } + ] + } + }, + "DhKeyGenParams": { + "name": "DhKeyGenParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "prime", + "override-type": "Uint8Array" + }, + { + "name": "generator", + "override-type": "Uint8Array" + } + ] + } + }, + "DhKeyAlgorithm": { + "name": "DhKeyAlgorithm", + "extends": "KeyAlgorithm", + "properties": { + "property": [ + { + "name": "prime", + "override-type": "Uint8Array" + }, + { + "name": "generator", + "override-type": "Uint8Array" + } + ] + } + }, + "DhKeyDeriveParams": { + "name": "DhKeyDeriveParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "public", + "override-type": "CryptoKey" + } + ] + } + }, + "DhImportKeyParams": { + "name": "DhImportKeyParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "prime", + "override-type": "Uint8Array" + }, + { + "name": "generator", + "override-type": "Uint8Array" + } + ] + } + }, + "ConcatParams": { + "name": "ConcatParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "hash?", + "override-type": "AlgorithmIdentifier" + }, + { + "name": "algorithmId", + "override-type": "Uint8Array" + }, + { + "name": "partyUInfo", + "override-type": "Uint8Array" + }, + { + "name": "partyVInfo", + "override-type": "Uint8Array" + }, + { + "name": "publicInfo?", + "override-type": "Uint8Array" + }, + { + "name": "privateInfo?", + "override-type": "Uint8Array" + } + ] + } + }, + "HkdfCtrParams": { + "name": "HkdfCtrParams", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + }, + { + "name": "label", + "override-type": "BufferSource" + }, + { + "name": "context", + "override-type": "BufferSource" + } + ] + } + }, + "Pbkdf2Params": { + "name": "Pbkdf2Params", + "extends": "Algorithm", + "properties": { + "property": [ + { + "name": "salt", + "override-type": "BufferSource" + }, + { + "name": "iterations", + "override-type": "number" + }, + { + "name": "hash", + "override-type": "AlgorithmIdentifier" + } + ] + } + }, + "RsaOtherPrimesInfo": { + "name": "RsaOtherPrimesInfo", + "properties": { + "property": [ + { + "name": "r", + "override-type": "string" + }, + { + "name": "d", + "override-type": "string" + }, + { + "name": "t", + "override-type": "string" + } + ] + } + }, + "JsonWebKey": { + "name": "JsonWebKey", + "properties": { + "property": [ + { + "name": "kty", + "override-type": "string" + }, + { + "name": "use?", + "override-type": "string" + }, + { + "name": "key_ops?", + "override-type": "string[]" + }, + { + "name": "alg?", + "override-type": "string" + }, + { + "name": "kid?", + "override-type": "string" + }, + { + "name": "x5u?", + "override-type": "string" + }, + { + "name": "x5c?", + "override-type": "string" + }, + { + "name": "x5t?", + "override-type": "string" + }, + { + "name": "ext?", + "override-type": "boolean" + }, + { + "name": "crv?", + "override-type": "string" + }, + { + "name": "x?", + "override-type": "string" + }, + { + "name": "y?", + "override-type": "string" + }, + { + "name": "d?", + "override-type": "string" + }, + { + "name": "n?", + "override-type": "string" + }, + { + "name": "e?", + "override-type": "string" + }, + { + "name": "p?", + "override-type": "string" + }, + { + "name": "q?", + "override-type": "string" + }, + { + "name": "dp?", + "override-type": "string" + }, + { + "name": "dq?", + "override-type": "string" + }, + { + "name": "qi?", + "override-type": "string" + }, + { + "name": "oth?", + "override-type": "RsaOtherPrimesInfo[]" + }, + { + "name": "k?", + "override-type": "string" + } + ] + } + }, + "XMLHttpRequest": { + "name": "XMLHttpRequest", + "properties": { + "property": [ + { + "name": "msCaching?", + "override-type": "string" + } + ] + } + }, + "DataTransfer": { + "name": "DataTransfer", + "methods": { + "method": [ + { + "name": "setDragImage", + "override-signatures": [ + "setDragImage(image: Element, x: number, y: number): void" + ] + } + ] + } + }, + "PerformanceTiming": { + "name": "PerformanceTiming", + "properties": { + "property": [ + { + "name": "secureConnectionStart", + "readonly": true, + "override-type": "number" + } + ] + } + }, + "HTMLScriptElement": { + "name": "HTMLScriptElement", + "properties": { + "property": [ + { + "name": "integrity", + "override-type": "string" + } + ] + } + }, + "KeyboardEvent": { + "name": "KeyboardEvent", + "properties": { + "property": [ + { + "readonly": true, + "name": "code", + "override-type": "string" + } + ] + } + }, + "KeyboardEventInit": { + "name": "KeyboardEventInit", + "properties": { + "property": [ + { + "name": "code?", + "override-type": "string" + } + ] + } + }, + "ParentNode": { + "name": "ParentNode", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "children", + "readonly": true, + "override-type": "HTMLCollection" + }, + { + "name": "firstElementChild", + "readonly": true, + "override-type": "Element | null" + }, + { + "name": "lastElementChild", + "readonly": true, + "override-type": "Element | null" + }, + { + "name": "childElementCount", + "readonly": true, + "override-type": "number" + } + ] + } + }, + "DocumentFragment": { + "name": "DocumentFragment", + "extends": "ParentNode", + "methods": { + "method": [ + {}, + { + "name": "getElementById", + "override-signatures": [ + "getElementById(elementId: string): HTMLElement | null" + ] + } + ] + } + }, + "History": { + "name": "History", + "properties": { + "property": [ + { + "name": "scrollRestoration", + "override-type": "ScrollRestoration" + } + ] + } + }, + "CanvasPattern": { + "name": "CanvasPattern", + "methods": { + "method": [ + { + "name": "setTransform", + "override-signatures": [ + "setTransform(matrix: SVGMatrix): void" + ] + } + ] + } + }, + "DocumentOrShadowRoot": { + "name": "DocumentOrShadowRoot", + "flavor": "Web", + "methods": { + "method": [ + { + "name": "getSelection", + "override-signatures": [ + "getSelection(): Selection | null" + ] + }, + { + "name": "elementFromPoint", + "override-signatures": [ + "elementFromPoint(x: number, y: number): Element | null" + ] + }, + { + "name": "elementsFromPoint", + "override-signatures": [ + "elementsFromPoint(x: number, y: number): Element[]" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "activeElement", + "readonly": true, + "override-type": "Element | null" + }, + { + "name": "styleSheets", + "readonly": true, + "override-type": "StyleSheetList" + } + ] + } + }, + "ShadowRoot": { + "name": "ShadowRoot", + "extends": "DocumentOrShadowRoot, DocumentFragment", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "host", + "readonly": true, + "override-type": "Element" + }, + { + "name": "innerHTML", + "override-type": "string" + } + ] + } + }, + "ShadowRootInit": { + "name": "ShadowRootInit", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "mode", + "override-type": "\"open\" | \"closed\"" + }, + { + "name": "delegatesFocus?", + "override-type": "boolean" + } + ] + } + }, + "Text": { + "name": "Text", + "properties": { + "property": [ + { + "name": "assignedSlot", + "readonly": true, + "override-type": "HTMLSlotElement | null" + } + ] + } + }, + "HTMLSlotElement": { + "name": "HTMLSlotElement", + "extends": "HTMLElement", + "flavor": "Web", + "tagNames": [ + "slot" + ], + "properties": { + "property": [ + { + "name": "name", + "override-type": "string" + } + ] + }, + "methods": { + "method": [ + { + "name": "assignedNodes", + "override-signatures": [ + "assignedNodes(options?: AssignedNodesOptions): Node[]" + ] + } + ] + } + }, + "AssignedNodesOptions": { + "name": "AssignedNodesOptions", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "flatten?", + "override-type": "boolean" + } + ] + } + }, + "EventInit": { + "name": "EventInit", + "properties": { + "property": [ + { + "name": "scoped?", + "override-type": "boolean" + } + ] + } + }, + "Event": { + "name": "Event", + "properties": { + "property": [ + { + "name": "scoped", + "readonly": true, + "override-type": "boolean" + } + ] + }, + "methods": { + "method": [ + { + "name": "deepPath", + "override-signatures": [ + "deepPath(): EventTarget[]" + ] + } + ] + } + }, + "ElementDefinitionOptions": { + "name": "ElementDefinitionOptions", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "extends", + "override-type": "string" + } + ] + } + }, + "ElementCreationOptions": { + "name": "ElementCreationOptions", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "is?", + "override-type": "string" + } + ] + } + }, + "CustomElementRegistry": { + "name": "CustomElementRegistry", + "flavor": "Web", + "methods": { + "method": [ + { + "name": "define", + "override-signatures": [ + "define(name: string, constructor: Function, options?: ElementDefinitionOptions): void" + ] + }, + { + "name": "get", + "override-signatures": [ + "get(name: string): any" + ] + }, + { + "name": "whenDefined", + "override-signatures": [ + "whenDefined(name: string): PromiseLike" + ] + } + ] + } + }, + "PromiseRejectionEvent": { + "name": "PromiseRejectionEvent", + "extends": "Event", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "promise", + "readonly": true, + "override-type": "PromiseLike" + }, + { + "name": "reason", + "readonly": true, + "override-type": "any" + } + ] + } + }, + "PromiseRejectionEventInit": { + "name": "PromiseRejectionEventInit", + "extends": "EventInit", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "promise", + "override-type": "PromiseLike" + }, + { + "name": "reason?", + "override-type": "any" + } + ] + } + }, + "Body": { + "name": "Body", + "methods": { + "method": [ + { + "name": "formData", + "override-signatures": [ + "formData(): Promise" + ] + } + ] + } + }, + "FormData": { + "name": "FormData", + "methods": { + "method": [ + { + "name": "delete", + "override-signatures": [ + "delete(name: string): void" + ] + }, + { + "name": "get", + "override-signatures": [ + "get(name: string): FormDataEntryValue | null" + ] + }, + { + "name": "getAll", + "override-signatures": [ + "getAll(name: string): FormDataEntryValue[]" + ] + }, + { + "name": "has", + "override-signatures": [ + "has(name: string): boolean" + ] + }, + { + "name": "set", + "override-signatures": [ + "set(name: string, value: string | Blob, fileName?: string): void" + ] + } + ] + } + }, + "EventListenerOptions": { + "name": "EventListenerOptions", + "properties": { + "property": [ + { + "name": "capture?", + "override-type": "boolean" + } + ] + } + }, + "AddEventListenerOptions": { + "name": "AddEventListenerOptions", + "extends": "EventListenerOptions", + "properties": { + "property": [ + { + "name": "passive?", + "override-type": "boolean" + }, + { + "name": "once?", + "override-type": "boolean" + } + ] + } + }, + "TouchEventInit": { + "name": "TouchEventInit", + "flavor": "Web", + "extends": "EventModifierInit", + "properties": { + "property": [ + { + "name": "touches?", + "override-type": "Touch[]" + }, + { + "name": "targetTouches?", + "override-type": "Touch[]" + }, + { + "name": "changedTouches?", + "override-type": "Touch[]" + } + ] + } + }, + "IntersectionObserverEntryInit": { + "name": "IntersectionObserverEntryInit", + "properties": { + "property": [ + { + "name": "isIntersecting", + "override-type": "boolean" + } + ] + } + }, + "IntersectionObserverEntry": { + "name": "IntersectionObserverEntry", + "properties": { + "property": [ + { + "name": "isIntersecting", + "readonly": true, + "override-type": "boolean" + } + ] + } + }, + "ValidityState": { + "name": "ValidityState", + "properties": { + "property": [ + { + "name": "tooShort", + "flavor": "Web", + "readonly": true, + "override-type": "boolean" + } + ] + } + }, + "HTMLDialogElement": { + "name": "HTMLDialogElement", + "extends": "HTMLElement", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "open", + "override-type": "boolean" + }, + { + "name": "returnValue", + "override-type": "string" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "override-signatures": [ + "close(returnValue?: string): void" + ] + }, + { + "name": "show", + "override-signatures": [ + "show(): void" + ] + }, + { + "name": "showModal", + "override-signatures": [ + "showModal(): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new(): HTMLDialogElement" + ] + }, + "Response": { + "name": "Response", + "properties": { + "property": [ + { + "name": "redirected", + "readonly": true, + "override-type": "boolean" + } + ] + } + }, + "HTMLMainElement": { + "name": "HTMLMainElement", + "extends": "HTMLElement", + "flavor": "Web", + "override-constructor-signatures": [ + "new(): HTMLMainElement" + ] + }, + "HTMLDetailsElement": { + "name": "HTMLDetailsElement", + "extends": "HTMLElement", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "open", + "override-type": "boolean" + } + ] + }, + "override-constructor-signatures": [ + "new(): HTMLDetailsElement" + ] + }, + "HTMLSummaryElement": { + "name": "HTMLSummaryElement", + "extends": "HTMLElement", + "flavor": "Web", + "override-constructor-signatures": [ + "new(): HTMLSummaryElement" + ] + }, + "DOMRectReadOnly": { + "name": "DOMRectReadOnly", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "bottom", + "readonly": true, + "override-type": "number" + }, + { + "name": "height", + "readonly": true, + "override-type": "number" + }, + { + "name": "left", + "readonly": true, + "override-type": "number" + }, + { + "name": "right", + "readonly": true, + "override-type": "number" + }, + { + "name": "top", + "readonly": true, + "override-type": "number" + }, + { + "name": "width", + "readonly": true, + "override-type": "number" + }, + { + "name": "x", + "readonly": true, + "override-type": "number" + }, + { + "name": "y", + "readonly": true, + "override-type": "number" + } + ] + }, + "override-constructor-signatures": [ + "new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly", + "fromRect(rectangle?: DOMRectInit): DOMRectReadOnly" + ] + }, + "EXT_blend_minmax": { + "name": "EXT_blend_minmax", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "MIN_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "MAX_EXT", + "override-type": "number" + } + ] + } + }, + "EXT_frag_depth": { + "name": "EXT_frag_depth", + "flavor": "Web", + "properties": { + "property": [] + } + }, + "EXT_shader_texture_lod": { + "name": "EXT_shader_texture_lod", + "flavor": "Web", + "properties": { + "property": [] + } + }, + "EXT_sRGB": { + "name": "EXT_sRGB", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "SRGB_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "SRGB_ALPHA_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "SRGB8_ALPHA8_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", + "override-type": "number" + } + ] + } + }, + "DOMRect": { + "name": "DOMRect", + "extends": "DOMRectReadOnly", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "height", + "override-type": "number" + }, + { + "name": "width", + "override-type": "number" + }, + { + "name": "x", + "override-type": "number" + }, + { + "name": "y", + "override-type": "number" + } + ] + }, + "override-constructor-signatures": [ + "new (x?: number, y?: number, width?: number, height?: number): DOMRect", + "fromRect(rectangle?: DOMRectInit): DOMRect" + ] + }, + "DOMRectList": { + "name": "DOMRectList", + "flavor": "Web", + "properties": { + "property": [ + { + "name": "length", + "readonly": true, + "override-type": "number" + } + ] + }, + "indexer": [ + { + "signatures": [ + "[index: number]: DOMRect" + ] + } + ], + "methods": { + "method": [ + { + "name": "item", + "override-signatures": [ + "item(index: number): DOMRect | null" + ] + } + ] + } + }, + "HTMLFormElement": { + "name": "HTMLFormElement", + "methods": { + "method": [ + { + "name": "reportValidity", + "override-signatures": [ + "reportValidity(): boolean" + ] + }, + { + "name": "reportValidity", + "override-signatures": [ + "reportValidity(): boolean" + ] + } + ] + } + }, + "OES_vertex_array_object": { + "name": "OES_vertex_array_object", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "VERTEX_ARRAY_BINDING_OES", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "createVertexArrayOES", + "override-signatures": [ + "createVertexArrayOES(): WebGLVertexArrayObjectOES" + ] + }, + { + "name": "deleteVertexArrayOES", + "override-signatures": [ + "deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" + ] + }, + { + "name": "isVertexArrayOES", + "override-signatures": [ + "isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES" + ] + }, + { + "name": "bindVertexArrayOES", + "override-signatures": [ + "bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" + ] + } + ] + } + }, + "WebGLVertexArrayObjectOES": { + "name": "WebGLVertexArrayObjectOES", + "flavor": "Web", + "properties": { + "property": [] + } + }, + "WEBGL_color_buffer_float": { + "name": "WEBGL_color_buffer_float", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "RGBA32F_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "RGB32F_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "UNSIGNED_NORMALIZED_EXT", + "override-type": "number" + } + ] + } + }, + "WEBGL_compressed_texture_astc": { + "name": "WEBGL_compressed_texture_astc", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_4x4_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_5x4_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_5x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_6x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_6x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_8x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_8x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_8x8_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_10x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_10x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_10x8_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_10x10_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_12x10_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_RGBA_ASTC_12x12_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "getSupportedProfiles", + "override-signatures": [ + "getSupportedProfiles(): string[]" + ] + } + ] + } + }, + "WEBGL_compressed_texture_s3tc_srgb": { + "name": "WEBGL_compressed_texture_s3tc_srgb", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "COMPRESSED_SRGB_S3TC_DXT1_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", + "override-type": "number" + }, + { + "readonly": true, + "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", + "override-type": "number" + } + ] + } + }, + "WEBGL_debug_shaders": { + "name": "WEBGL_debug_shaders", + "flavor": "Web", + "methods": { + "method": [ + { + "name": "getTranslatedShaderSource", + "override-signatures": [ + "getTranslatedShaderSource(shader: WebGLShader): string" + ] + } + ] + } + }, + "WEBGL_draw_buffers": { + "name": "WEBGL_draw_buffers", + "flavor": "Web", + "properties": { + "property": [ + { + "readonly": true, + "name": "COLOR_ATTACHMENT0_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT1_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT2_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT3_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT4_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT5_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT6_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT7_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT8_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT9_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT10_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT11_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT12_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT13_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT14_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "COLOR_ATTACHMENT15_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER0_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER1_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER2_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER3_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER4_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER5_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER6_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER7_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER8_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER9_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER10_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER11_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER12_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER13_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER14_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "DRAW_BUFFER15_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "MAX_COLOR_ATTACHMENTS_WEBGL", + "override-type": "number" + }, + { + "readonly": true, + "name": "MAX_DRAW_BUFFERS_WEBGL", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "drawBuffersWEBGL", + "override-signatures": [ + "drawBuffersWEBGL(buffers: number[]): void" + ] + } + ] + } + }, + "WEBGL_lose_context": { + "name": "WEBGL_lose_context", + "flavor": "Web", + "methods": { + "method": [ + { + "name": "loseContext", + "override-signatures": [ + "loseContext(): void" + ] + }, + { + "name": "restoreContext", + "override-signatures": [ + "restoreContext(): void" + ] + } + ] + } + }, + "HTMLLabelElement": { + "name": "HTMLLabelElement", + "properties": { + "property": [ + { + "readonly": true, + "name": "control", + "override-type": "HTMLInputElement | null" + } + ] + } + }, + "HTMLObjectElement": { + "name": "HTMLObjectElement", + "properties": { + "property": [ + { + "name": "typemustmatch", + "override-type": "boolean" + } + ] + } + }, + "File": { + "name": "File", + "properties": { + "property": [ + { + "readonly": true, + "name": "lastModified", + "override-type": "number" + } + ] + } + }, + "AbortController": { + "name": "AbortController", + "properties": { + "property": [ + { + "readonly": true, + "name": "signal", + "override-type": "AbortSignal" + } + ] + }, + "methods": { + "method": [ + { + "name": "abort", + "override-signatures": [ + "abort(): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new(): AbortController" + ] + }, + "AbortSignal": { + "name": "AbortSignal", + "extends": "EventTarget", + "properties": { + "property": [ + { + "readonly": true, + "name": "aborted", + "override-type": "boolean" + }, + { + "name": "onabort", + "override-type": "(ev: Event) => any" + } + ] + } + }, + "Request": { + "name": "Request", + "properties": { + "property": [ + { + "readonly": true, + "name": "signal", + "override-type": "AbortSignal" + } + ] + } + }, + "RequestInit": { + "name": "RequestInit", + "properties": { + "property": [ + { + "name": "signal?", + "override-type": "AbortSignal" + } + ] + } + }, + "EventSource": { + "name": "EventSource", + "extends": "EventTarget", + "properties": { + "property": [ + { + "readonly": true, + "name": "url", + "override-type": "string" + }, + { + "readonly": true, + "name": "withCredentials", + "override-type": "boolean" + }, + { + "readonly": true, + "name": "CONNECTING", + "override-type": "number" + }, + { + "readonly": true, + "name": "OPEN", + "override-type": "number" + }, + { + "readonly": true, + "name": "CLOSED", + "override-type": "number" + }, + { + "readonly": true, + "name": "readyState", + "override-type": "number" + }, + { + "name": "onopen", + "override-type": "(evt: MessageEvent) => any" + }, + { + "name": "onmessage", + "override-type": "(evt: MessageEvent) => any" + }, + { + "name": "onerror", + "override-type": "(evt: MessageEvent) => any" + } + ] + }, + "methods": { + "method": [ + { + "name": "close", + "override-signatures": [ + "close(): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new(url: string, eventSourceInitDict?: EventSourceInit): EventSource" + ] + }, + "EventSourceInit": { + "name": "EventSourceInit", + "properties": { + "property": [ + { + "readonly": true, + "name": "withCredentials", + "override-type": "boolean" + } + ] + } + }, + "AnimationKeyFrame": { + "flavor": "Web", + "name": "AnimationKeyFrame", + "properties": { + "property": [ + { + "name": "offset?", + "override-type": "number | null | (number | null)[]" + }, + { + "name": "easing?", + "override-type": "string | string[]" + } + ] + }, + "indexer": [ + { + "signatures": [ + "[index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined" + ] + } + ] + }, + "AnimationOptions": { + "flavor": "Web", + "name": "AnimationOptions", + "properties": { + "property": [ + { + "name": "id?", + "override-type": "string" + }, + { + "name": "delay?", + "override-type": "number" + }, + { + "name": "direction?", + "override-type": "\"normal\" | \"reverse\" | \"alternate\" | \"alternate-reverse\"" + }, + { + "name": "duration?", + "override-type": "number" + }, + { + "name": "easing?", + "override-type": "string" + }, + { + "name": "endDelay?", + "override-type": "number" + }, + { + "name": "fill?", + "override-type": "\"none\" | \"forwards\" | \"backwards\" | \"both\"| \"auto\"" + }, + { + "name": "iterationStart?", + "override-type": "number" + }, + { + "name": "iterations?", + "override-type": "number" + } + ] + } + }, + "AnimationTimeline": { + "flavor": "Web", + "name": "AnimationTimeline", + "properties": { + "property": [ + { + "readonly": true, + "name": "currentTime", + "override-type": "number | null" + } + ] + } + }, + "ComputedTimingProperties": { + "flavor": "Web", + "name": "ComputedTimingProperties", + "properties": { + "property": [ + { + "name": "endTime", + "override-type": "number" + }, + { + "name": "activeDuration", + "override-type": "number" + }, + { + "name": "localTime", + "override-type": "number | null" + }, + { + "name": "progress", + "override-type": "number | null" + }, + { + "name": "currentIteration", + "override-type": "number | null" + } + ] + } + }, + "AnimationEffectReadOnly": { + "flavor": "Web", + "name": "AnimationEffectReadOnly", + "properties": { + "property": [ + { + "readonly": true, + "name": "timing", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "getComputedTiming", + "override-signatures": [ + "getComputedTiming(): ComputedTimingProperties" + ] + } + ] + } + }, + "AnimationPlaybackEventInit": { + "flavor": "Web", + "name": "AnimationPlaybackEventInit", + "extends": "EventInit", + "properties": { + "property": [ + { + "name": "currentTime?", + "override-type": "number | null" + }, + { + "name": "timelineTime?", + "override-type": "number | null" + } + ] + } + }, + "AnimationPlaybackEvent": { + "flavor": "Web", + "name": "AnimationPlaybackEvent", + "extends": "Event", + "properties": { + "property": [ + { + "readonly": true, + "name": "currentTime", + "override-type": "number | null" + }, + { + "readonly": true, + "name": "timelineTime", + "override-type": "number | null" + } + ] + }, + "override-constructor-signatures": [ + "new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent" + ] + }, + "Animation": { + "flavor": "Web", + "name": "Animation", + "properties": { + "property": [ + { + "name": "currentTime", + "override-type": "number | null" + }, + { + "name": "effect", + "override-type": "AnimationEffectReadOnly" + }, + { + "readonly": true, + "name": "finished", + "override-type": "Promise" + }, + { + "name": "id", + "override-type": "string" + }, + { + "readonly": true, + "name": "pending", + "override-type": "boolean" + }, + { + "readonly": true, + "name": "playState", + "override-type": "\"idle\" | \"running\" | \"paused\" | \"finished\"" + }, + { + "name": "playbackRate", + "override-type": "number" + }, + { + "readonly": true, + "name": "ready", + "override-type": "Promise" + }, + { + "name": "startTime", + "override-type": "number" + }, + { + "name": "timeline", + "override-type": "AnimationTimeline" + } + ] + }, + "methods": { + "method": [ + { + "name": "oncancel", + "override-signatures": [ + "oncancel: (this: Animation, ev: AnimationPlaybackEvent) => any" + ] + }, + { + "name": "onfinish", + "override-signatures": [ + "onfinish: (this: Animation, ev: AnimationPlaybackEvent) => any" + ] + }, + { + "name": "cancel", + "override-signatures": [ + "cancel(): void" + ] + }, + { + "name": "finish", + "override-signatures": [ + "finish(): void" + ] + }, + { + "name": "pause", + "override-signatures": [ + "pause(): void" + ] + }, + { + "name": "play", + "override-signatures": [ + "play(): void" + ] + }, + { + "name": "reverse", + "override-signatures": [ + "reverse(): void" + ] + } + ] + }, + "override-constructor-signatures": [ + "new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation" + ] + }, + "HTMLElement": { + "name": "HTMLElement", + "methods": { + "method": [ + { + "name": "animate", + "override-signatures": [ + "animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation" + ] + } + ] + } + }, + "Screen": { + "name": "Screen", + "methods": { + "method": [ + { + "name": "lockOrientation", + "override-signatures": [ + "lockOrientation(orientations: OrientationLockType | OrientationLockType[]): boolean" + ] + }, + { + "name": "unlockOrientation", + "override-signatures": [ + "unlockOrientation(): void" + ] + } + ] + } + } + } + }, + "typedefs": { + "typedef": [ + { + "new-type": "\"auto\" | \"instant\" | \"smooth\"", + "type": "ScrollBehavior" + }, + { + "new-type": "\"start\" | \"center\" | \"end\" | \"nearest\"", + "type": "ScrollLogicalPosition" + }, + { + "new-type": "number | string | Date | IDBArrayKey", + "type": "IDBValidKey" + }, + { + "new-type": "ArrayBuffer | ArrayBufferView", + "type": "BufferSource" + }, + { + "new-type": "WheelEvent", + "type": "MouseWheelEvent" + }, + { + "new-type": "\"auto\" | \"manual\"", + "type": "ScrollRestoration" + }, + { + "new-type": "string | File", + "type": "FormDataEntryValue" + }, + { + "new-type": "\"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\"", + "type": "InsertPosition" + }, + { + "new-type": "Headers | string[][] | { [key: string]: string }", + "type": "HeadersInit" + }, + { + "new-type": "\"any\" | \"natural\" | \"portrait\" | \"landscape\" | \"portrait-primary\" | \"portrait-secondary\" | \"landscape-primary\"| \"landscape-secondary\"", + "type": "OrientationLockType" + } + ] + } +} \ No newline at end of file diff --git a/inputfiles/browser.webidl.xml.json b/inputfiles/json/browser.webidl.xml.json similarity index 100% rename from inputfiles/browser.webidl.xml.json rename to inputfiles/json/browser.webidl.xml.json diff --git a/inputfiles/json/comments.json b/inputfiles/json/comments.json new file mode 100644 index 000000000..5db2d3a44 --- /dev/null +++ b/inputfiles/json/comments.json @@ -0,0 +1,3057 @@ +{ + "interfaces": { + "interface": { + "HTMLTableElement": { + "name": "HTMLTableElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "cellSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" + }, + { + "name": "tFoot", + "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" + }, + { + "name": "frame", + "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "rules", + "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" + }, + { + "name": "summary", + "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" + }, + { + "name": "caption", + "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" + }, + { + "name": "tBodies", + "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" + }, + { + "name": "tHead", + "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "cellPadding", + "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "createTBody", + "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" + }, + { + "name": "deleteCaption", + "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + }, + { + "name": "deleteTFoot", + "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" + }, + { + "name": "createTHead", + "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" + }, + { + "name": "deleteTHead", + "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" + }, + { + "name": "createCaption", + "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "createTFoot", + "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" + } + ] + } + }, + "HTMLBaseElement": { + "name": "HTMLBaseElement", + "properties": { + "property": [ + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" + } + ] + } + }, + "HTMLParagraphElement": { + "name": "HTMLParagraphElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + } + ] + } + }, + "HTMLAppletElement": { + "name": "HTMLAppletElement", + "properties": { + "property": [ + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "declare", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + } + ] + } + }, + "HTMLOListElement": { + "name": "HTMLOListElement", + "properties": { + "property": [ + { + "name": "start", + "comment": "/**\r\n * The starting number.\r\n */" + } + ] + } + }, + "HTMLSelectElement": { + "name": "HTMLSelectElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" + }, + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "selectedIndex", + "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "remove", + "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" + }, + { + "name": "add", + "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLBlockElement": { + "name": "HTMLBlockElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLMetaElement": { + "name": "HTMLMetaElement", + "properties": { + "property": [ + { + "name": "httpEquiv", + "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" + }, + { + "name": "content", + "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" + }, + { + "name": "url", + "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" + }, + { + "name": "scheme", + "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + } + ] + } + }, + "HTMLDDElement": { + "name": "HTMLDDElement", + "properties": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLLinkElement": { + "name": "HTMLLinkElement", + "properties": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + } + ] + } + }, + "HTMLFontElement": { + "name": "HTMLFontElement", + "properties": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + } + ] + } + }, + "HTMLTableCaptionElement": { + "name": "HTMLTableCaptionElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" + } + ] + } + }, + "HTMLOptionElement": { + "name": "HTMLOptionElement", + "properties": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ] + } + }, + "HTMLMapElement": { + "name": "HTMLMapElement", + "properties": { + "property": [ + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "areas", + "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" + } + ] + } + }, + "HTMLCollection": { + "name": "HTMLCollection", + "properties": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "item", + "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" + } + ] + } + }, + "HTMLImageElement": { + "name": "HTMLImageElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "naturalHeight", + "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "naturalWidth", + "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" + }, + { + "name": "isMap", + "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + } + }, + "HTMLAreaElement": { + "name": "HTMLAreaElement", + "properties": { + "property": [ + { + "name": "protocol", + "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "noHref", + "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + "HTMLButtonElement": { + "name": "HTMLButtonElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLSourceElement": { + "name": "HTMLSourceElement", + "properties": { + "property": [ + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" + } + ] + } + }, + "Document": { + "name": "Document", + "properties": { + "property": [ + { + "name": "compatible", + "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" + }, + { + "name": "onkeydown", + "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "onkeyup", + "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "implementation", + "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" + }, + { + "name": "onreset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" + }, + { + "name": "scripts", + "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" + }, + { + "name": "onhelp", + "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragleave", + "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" + }, + { + "name": "onfocusin", + "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" + }, + { + "name": "vlinkColor", + "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" + }, + { + "name": "onseeked", + "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" + }, + { + "name": "title", + "comment": "/**\r\n * Contains the title of the document.\r\n */" + }, + { + "name": "namespaces", + "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" + }, + { + "name": "defaultCharset", + "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" + }, + { + "name": "embeds", + "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" + }, + { + "name": "styleSheets", + "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" + }, + { + "name": "frames", + "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" + }, + { + "name": "ondurationchange", + "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" + }, + { + "name": "all", + "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" + }, + { + "name": "forms", + "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" + }, + { + "name": "dir", + "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" + }, + { + "name": "onemptied", + "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" + }, + { + "name": "designMode", + "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" + }, + { + "name": "onseeking", + "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondeactivate", + "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" + }, + { + "name": "oncanplay", + "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondatasetchanged", + "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsdelete", + "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" + }, + { + "name": "onloadstart", + "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "URLUnencoded", + "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" + }, + { + "name": "oncontrolselect", + "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragenter", + "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "inputEncoding", + "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" + }, + { + "name": "activeElement", + "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" + }, + { + "name": "onchange", + "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" + }, + { + "name": "links", + "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" + }, + { + "name": "uniqueID", + "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" + }, + { + "name": "URL", + "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" + }, + { + "name": "onbeforeactivate", + "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "documentMode", + "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" + }, + { + "name": "anchors", + "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" + }, + { + "name": "ondatasetcomplete", + "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onsuspend", + "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "rootElement", + "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" + }, + { + "name": "readyState", + "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" + }, + { + "name": "referrer", + "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" + }, + { + "name": "alinkColor", + "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" + }, + { + "name": "onerrorupdate", + "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "parentWindow", + "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" + }, + { + "name": "onmouseout", + "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onmsthumbnailclick", + "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousewheel", + "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" + }, + { + "name": "onvolumechange", + "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "oncellchange", + "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowexit", + "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsinserted", + "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" + }, + { + "name": "xmlVersion", + "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" + }, + { + "name": "onpropertychange", + "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragend", + "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "doctype", + "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" + }, + { + "name": "ondragover", + "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" + }, + { + "name": "bgColor", + "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" + }, + { + "name": "ondragstart", + "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseup", + "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "ondrag", + "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseover", + "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "linkColor", + "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" + }, + { + "name": "onpause", + "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousedown", + "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onclick", + "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onwaiting", + "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstop", + "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmssitemodejumplistitemremoved", + "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "applets", + "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" + }, + { + "name": "body", + "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" + }, + { + "name": "domain", + "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" + }, + { + "name": "selection", + "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" + }, + { + "name": "onstalled", + "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousemove", + "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "documentElement", + "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" + }, + { + "name": "onbeforeeditfocus", + "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onratechange", + "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onprogress", + "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondblclick", + "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "oncontextmenu", + "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onloadedmetadata", + "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onerror", + "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplay", + "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplaying", + "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" + }, + { + "name": "images", + "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" + }, + { + "name": "location", + "comment": "/**\r\n * Contains information about the current URL.\r\n */" + }, + { + "name": "onabort", + "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocusout", + "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselectionchange", + "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstoragecommit", + "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondataavailable", + "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onreadystatechange", + "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" + }, + { + "name": "lastModified", + "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" + }, + { + "name": "onkeypress", + "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onloadeddata", + "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onbeforedeactivate", + "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onactivate", + "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" + }, + { + "name": "fgColor", + "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" + }, + { + "name": "ontimeupdate", + "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselect", + "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onended", + "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" + }, + { + "name": "compatMode", + "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" + }, + { + "name": "onscroll", + "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowenter", + "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "queryCommandValue", + "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "queryCommandIndeterm", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "execCommand", + "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" + }, + { + "name": "elementFromPoint", + "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" + }, + { + "name": "queryCommandText", + "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" + }, + { + "name": "write", + "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" + }, + { + "name": "updateSettings", + "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" + }, + { + "name": "createElement", + "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" + }, + { + "name": "releaseCapture", + "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" + }, + { + "name": "writeln", + "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" + }, + { + "name": "open", + "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" + }, + { + "name": "queryCommandSupported", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "createTreeWalker", + "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "queryCommandEnabled", + "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "focus", + "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" + }, + { + "name": "close", + "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" + }, + { + "name": "createRange", + "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" + }, + { + "name": "fireEvent", + "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" + }, + { + "name": "createComment", + "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" + }, + { + "name": "getElementsByTagName", + "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" + }, + { + "name": "createDocumentFragment", + "comment": "/**\r\n * Creates a new document.\r\n */" + }, + { + "name": "createStyleSheet", + "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" + }, + { + "name": "getElementsByName", + "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" + }, + { + "name": "queryCommandState", + "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "hasFocus", + "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" + }, + { + "name": "execCommandShowHelp", + "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" + }, + { + "name": "createAttribute", + "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" + }, + { + "name": "createTextNode", + "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" + }, + { + "name": "createNodeIterator", + "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "createEventObject", + "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" + }, + { + "name": "getSelection", + "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" + }, + { + "name": "getElementById", + "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" + } + ] + } + }, + "HTMLScriptElement": { + "name": "HTMLScriptElement", + "properties": { + "property": [ + { + "name": "defer", + "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" + }, + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" + }, + { + "name": "event", + "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" + } + ] + } + }, + "HTMLTableRowElement": { + "name": "HTMLTableRowElement", + "properties": { + "property": [ + { + "name": "rowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "sectionRowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteCell", + "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" + }, + { + "name": "insertCell", + "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" + } + ] + } + }, + "HTMLHtmlElement": { + "name": "HTMLHtmlElement", + "properties": { + "property": [ + { + "name": "version", + "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" + } + ] + } + }, + "HTMLFrameElement": { + "name": "HTMLFrameElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + } + ] + } + }, + "HTMLQuoteElement": { + "name": "HTMLQuoteElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLTableHeaderCellElement": { + "name": "HTMLTableHeaderCellElement", + "properties": { + "property": [ + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + } + ] + } + }, + "HTMLFrameSetElement": { + "name": "HTMLFrameSetElement", + "properties": { + "property": [ + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + } + ] + } + }, + "HTMLLabelElement": { + "name": "HTMLLabelElement", + "properties": { + "property": [ + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "HTMLLegendElement": { + "name": "HTMLLegendElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "HTMLLIElement": { + "name": "HTMLLIElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" + } + ] + } + }, + "HTMLIFrameElement": { + "name": "HTMLIFrameElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "srcdoc", + "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + } + ] + } + }, + "HTMLTableSectionElement": { + "name": "HTMLTableSectionElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + } + ] + } + }, + "HTMLInputElement": { + "name": "HTMLInputElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "vrml", + "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" + }, + { + "name": "lowsrc", + "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "accept", + "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "defaultChecked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "checked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "files", + "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "step", + "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "valueAsNumber", + "comment": "/**\r\n * Returns the input field value as a number.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + }, + { + "name": "list", + "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "min", + "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "pattern", + "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "stepDown", + "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" + }, + { + "name": "stepUp", + "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLAnchorElement": { + "name": "HTMLAnchorElement", + "properties": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "protocol", + "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + "HTMLParamElement": { + "name": "HTMLParamElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" + }, + { + "name": "valueType", + "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" + } + ] + } + }, + "HTMLPreElement": { + "name": "HTMLPreElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" + } + ] + } + }, + "HTMLPhraseElement": { + "name": "HTMLPhraseElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLCanvasElement": { + "name": "HTMLCanvasElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "toDataURL", + "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" + }, + { + "name": "getContext", + "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" + }, + { + "name": "msToBlob", + "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" + } + ] + } + }, + "HTMLTitleElement": { + "name": "HTMLTitleElement", + "properties": { + "property": [ + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ] + } + }, + "HTMLStyleElement": { + "name": "HTMLStyleElement", + "properties": { + "property": [ + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" + } + ] + } + }, + "HTMLTableCellElement": { + "name": "HTMLTableCellElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "headers", + "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" + }, + { + "name": "cellIndex", + "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "colSpan", + "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "axis", + "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + }, + { + "name": "abbr", + "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" + }, + { + "name": "rowSpan", + "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" + }, + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ] + } + }, + "HTMLBaseFontElement": { + "name": "HTMLBaseFontElement", + "properties": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" + } + ] + } + }, + "HTMLTextAreaElement": { + "name": "HTMLTextAreaElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" + }, + { + "name": "status", + "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "readOnly", + "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" + }, + { + "name": "wrap", + "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of control.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLModElement": { + "name": "HTMLModElement", + "properties": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ] + } + }, + "HTMLTableColElement": { + "name": "HTMLTableColElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" + }, + { + "name": "span", + "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" + } + ] + } + }, + "HTMLDivElement": { + "name": "HTMLDivElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLBRElement": { + "name": "HTMLBRElement", + "properties": { + "property": [ + { + "name": "clear", + "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" + } + ] + } + }, + "HTMLHeadingElement": { + "name": "HTMLHeadingElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + } + ] + } + }, + "HTMLFormElement": { + "name": "HTMLFormElement", + "properties": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "acceptCharset", + "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" + }, + { + "name": "enctype", + "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" + }, + { + "name": "elements", + "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "method", + "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" + }, + { + "name": "encoding", + "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "noValidate", + "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "reset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "submit", + "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + } + ] + } + }, + "HTMLMediaElement": { + "name": "HTMLMediaElement", + "properties": { + "property": [ + { + "name": "initialTime", + "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" + }, + { + "name": "played", + "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" + }, + { + "name": "currentSrc", + "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" + }, + { + "name": "autobuffer", + "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" + }, + { + "name": "ended", + "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" + }, + { + "name": "buffered", + "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" + }, + { + "name": "error", + "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" + }, + { + "name": "seekable", + "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" + }, + { + "name": "autoplay", + "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" + }, + { + "name": "controls", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "playbackRate", + "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" + }, + { + "name": "duration", + "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" + }, + { + "name": "muted", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" + }, + { + "name": "defaultPlaybackRate", + "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" + }, + { + "name": "paused", + "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" + }, + { + "name": "seeking", + "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" + }, + { + "name": "currentTime", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "preload", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "networkState", + "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" + }, + { + "name": "msAudioCategory", + "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" + }, + { + "name": "msRealTime", + "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "audioTracks", + "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + }, + { + "name": "msAudioDeviceType", + "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msKeys", + "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "pause", + "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" + }, + { + "name": "play", + "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" + }, + { + "name": "load", + "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" + }, + { + "name": "canPlayType", + "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" + }, + { + "name": "msClearEffects", + "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" + }, + { + "name": "msSetMediaProtectionManager", + "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" + }, + { + "name": "msInsertAudioEffect", + "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" + } + ] + } + }, + "HTMLDTElement": { + "name": "HTMLDTElement", + "properties": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ] + } + }, + "HTMLFieldSetElement": { + "name": "HTMLFieldSetElement", + "properties": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLBGSoundElement": { + "name": "HTMLBGSoundElement", + "properties": { + "property": [ + { + "name": "balance", + "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" + } + ] + } + }, + "HTMLHRElement": { + "name": "HTMLHRElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noShade", + "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" + } + ] + } + }, + "HTMLObjectElement": { + "name": "HTMLObjectElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "object", + "comment": "/**\r\n * Retrieves the contained object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "code", + "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + }, + "methods": { + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + "HTMLEmbedElement": { + "name": "HTMLEmbedElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "palette", + "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "pluginspage", + "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "units", + "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ] + } + }, + "HTMLOptGroupElement": { + "name": "HTMLOptGroupElement", + "properties": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ] + } + }, + "HTMLIsIndexElement": { + "name": "HTMLIsIndexElement", + "properties": { + "property": [ + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + } + ] + } + }, + "HTMLVideoElement": { + "name": "HTMLVideoElement", + "properties": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" + }, + { + "name": "videoWidth", + "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "videoHeight", + "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" + }, + { + "name": "poster", + "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" + } + ] + } + }, + "HTMLProgressElement": { + "name": "HTMLProgressElement", + "properties": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" + }, + { + "name": "position", + "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ] + } + }, + "URLSearchParams": { + "name": "URLSearchParams", + "methods": { + "method": [ + { + "name": "append", + "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" + }, + { + "name": "delete", + "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" + }, + { + "name": "get", + "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" + }, + { + "name": "getAll", + "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" + }, + { + "name": "has", + "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" + }, + { + "name": "set", + "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" + } + ], + "constructor": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" + } + } + } + }, + "mixin-interfaces": { + "interface": { + "HTMLTableAlignment": { + "name": "HTMLTableAlignment", + "properties": { + "property": [ + { + "name": "ch", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" + }, + { + "name": "chOff", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/inputfiles/json/knownWorkerEnums.json b/inputfiles/json/knownWorkerEnums.json new file mode 100644 index 000000000..cd779c566 --- /dev/null +++ b/inputfiles/json/knownWorkerEnums.json @@ -0,0 +1,21 @@ +[ + "IDBCursorDirection", + "IDBRequestReadyState", + "IDBTransactionMode", + "MediaKeyStatus", + "NotificationDirection", + "NotificationPermission", + "PushPermissionState", + "PushEncryptionKeyName", + "ReferrerPolicy", + "RequestCache", + "RequestCredentials", + "RequestDestination", + "RequestMode", + "RequestRedirect", + "RequestType", + "ResponseType", + "ServiceWorkerState", + "VisibilityState", + "XMLHttpRequestResponseType" +] \ No newline at end of file diff --git a/inputfiles/json/knownWorkerInterfaces.json b/inputfiles/json/knownWorkerInterfaces.json new file mode 100644 index 000000000..c8e8d36dc --- /dev/null +++ b/inputfiles/json/knownWorkerInterfaces.json @@ -0,0 +1,105 @@ +[ + "AbstractWorker", + "Algorithm", + "AlgorithmIdentifier", + "AudioBuffer", + "Blob", + "Body", + "BodyInit", + "Cache", + "CacheQueryOptions", + "CacheStorage", + "ClientQueryOptions", + "CloseEvent", + "CloseEventInit", + "Console", + "Coordinates", + "CryptoKey", + "DOMError", + "DOMException", + "DOMStringList", + "DecodeErrorCallback", + "DecodeSuccessCallback", + "ErrorEvent", + "ErrorEventHandler", + "Event", + "EventInit", + "EventListener", + "EventTarget", + "ExtendableEventInit", + "ExtendableMessageEventInit", + "FetchEventInit", + "File", + "FileList", + "FileReader", + "ForEachCallback", + "FormData", + "FunctionStringCallback", + "GetNotificationOptions", + "GlobalFetch", + "Headers", + "IDBCursor", + "IDBCursorWithValue", + "IDBDatabase", + "IDBFactory", + "IDBIndex", + "IDBIndexParameters", + "IDBKeyPath", + "IDBKeyRange", + "IDBObjectStore", + "IDBObjectStoreParameters", + "IDBOpenDBRequest", + "IDBRequest", + "IDBTransaction", + "IDBVersionChangeEvent", + "ImageData", + "KeyAlgorithm", + "MessageChannel", + "MessageEvent", + "MessageEventInit", + "MessagePort", + "MSBaseReader", + "NavigatorBeacon", + "NavigatorConcurrentHardware", + "NavigatorID", + "NavigatorOnLine", + "Notification", + "NotificationEventInit", + "NotificationOptions", + "NotificationPermissionCallback", + "ObjectURLOptions", + "Performance", + "PerformanceNavigation", + "PerformanceTiming", + "Position", + "PositionCallback", + "PositionError", + "PositionErrorCallback", + "ProgressEvent", + "PushEventInit", + "PushManager", + "PushSubscription", + "PushSubscriptionOptions", + "PushSubscriptionOptionsInit", + "ReadableStream", + "ReadableStreamReader", + "Request", + "RequestInfo", + "RequestInit", + "Response", + "ResponseInit", + "ServiceWorker", + "ServiceWorkerRegistration", + "SyncEventInit", + "SyncManager", + "USVString", + "URL", + "URLSearchParams", + "WebSocket", + "WindowBase64", + "WindowConsole", + "Worker", + "XMLHttpRequest", + "XMLHttpRequestEventTarget", + "XMLHttpRequestUpload" +] \ No newline at end of file diff --git a/inputfiles/webworkers.specidl.xml.json b/inputfiles/json/webworkers.specidl.xml.json similarity index 100% rename from inputfiles/webworkers.specidl.xml.json rename to inputfiles/json/webworkers.specidl.xml.json diff --git a/types.d.ts b/types.d.ts index 8c2cb0c6e..7ac0f1d2f 100644 --- a/types.d.ts +++ b/types.d.ts @@ -45,6 +45,7 @@ export type Property = { "event-handler-map-to-window"?: string; "static"?: string; "comment"?: string; + "override-type"?: string; }; export type Event = { @@ -72,6 +73,8 @@ export type Method = { "serializer-info"?: string; "param"?: Param[]; "comment"?: string; + "override-signatures"?: string[]; + "additional-signatures"?: string[]; }; export type CallbackFunction = { From a82b8cb2459518a101b8eb4b121644276f354b87 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 17:21:09 -0800 Subject: [PATCH 11/93] revert changes to comments --- inputfiles/comments.json | 6128 +++++++++++++++++++------------------- 1 file changed, 3077 insertions(+), 3051 deletions(-) diff --git a/inputfiles/comments.json b/inputfiles/comments.json index 5db2d3a44..a15aca842 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -1,3057 +1,3083 @@ { - "interfaces": { - "interface": { - "HTMLTableElement": { - "name": "HTMLTableElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "cellSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" - }, - { - "name": "tFoot", - "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" - }, - { - "name": "frame", - "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "rules", - "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" - }, - { - "name": "summary", - "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" - }, - { - "name": "caption", - "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" - }, - { - "name": "tBodies", - "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" - }, - { - "name": "tHead", - "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "cellPadding", - "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "createTBody", - "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" - }, - { - "name": "deleteCaption", - "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - }, - { - "name": "deleteTFoot", - "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" - }, - { - "name": "createTHead", - "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" - }, - { - "name": "deleteTHead", - "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" - }, - { - "name": "createCaption", - "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "createTFoot", - "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" - } - ] - } - }, - "HTMLBaseElement": { - "name": "HTMLBaseElement", - "properties": { - "property": [ - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" - } - ] - } - }, - "HTMLParagraphElement": { - "name": "HTMLParagraphElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - } - ] - } - }, - "HTMLAppletElement": { - "name": "HTMLAppletElement", - "properties": { - "property": [ - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "declare", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - } - ] - } - }, - "HTMLOListElement": { - "name": "HTMLOListElement", - "properties": { - "property": [ - { - "name": "start", - "comment": "/**\r\n * The starting number.\r\n */" - } - ] - } - }, - "HTMLSelectElement": { - "name": "HTMLSelectElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" - }, - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "selectedIndex", - "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "remove", - "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" - }, - { - "name": "add", - "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLBlockElement": { - "name": "HTMLBlockElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ] - } - }, - "HTMLMetaElement": { - "name": "HTMLMetaElement", - "properties": { - "property": [ - { - "name": "httpEquiv", - "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" - }, - { - "name": "content", - "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" - }, - { - "name": "url", - "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" - }, - { - "name": "scheme", - "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - } - ] - } - }, - "HTMLDDElement": { - "name": "HTMLDDElement", - "properties": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ] - } - }, - "HTMLLinkElement": { - "name": "HTMLLinkElement", - "properties": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - } - ] - } - }, - "HTMLFontElement": { - "name": "HTMLFontElement", - "properties": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - } - ] - } - }, - "HTMLTableCaptionElement": { - "name": "HTMLTableCaptionElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" - } - ] - } - }, - "HTMLOptionElement": { - "name": "HTMLOptionElement", - "properties": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ] - } - }, - "HTMLMapElement": { - "name": "HTMLMapElement", - "properties": { - "property": [ - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "areas", - "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" - } - ] - } - }, - "HTMLCollection": { - "name": "HTMLCollection", - "properties": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "item", - "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" - } - ] - } - }, - "HTMLImageElement": { - "name": "HTMLImageElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "naturalHeight", - "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "naturalWidth", - "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" - }, - { - "name": "isMap", - "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ] - } - }, - "HTMLAreaElement": { - "name": "HTMLAreaElement", - "properties": { - "property": [ - { - "name": "protocol", - "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "noHref", - "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - "HTMLButtonElement": { - "name": "HTMLButtonElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLSourceElement": { - "name": "HTMLSourceElement", - "properties": { - "property": [ - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" - } - ] - } - }, - "Document": { - "name": "Document", - "properties": { - "property": [ - { - "name": "compatible", - "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" - }, - { - "name": "onkeydown", - "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "onkeyup", - "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "implementation", - "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" - }, - { - "name": "onreset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" - }, - { - "name": "scripts", - "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" - }, - { - "name": "onhelp", - "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragleave", - "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" - }, - { - "name": "onfocusin", - "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" - }, - { - "name": "vlinkColor", - "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" - }, - { - "name": "onseeked", - "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" - }, - { - "name": "title", - "comment": "/**\r\n * Contains the title of the document.\r\n */" - }, - { - "name": "namespaces", - "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" - }, - { - "name": "defaultCharset", - "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" - }, - { - "name": "embeds", - "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" - }, - { - "name": "styleSheets", - "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" - }, - { - "name": "frames", - "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" - }, - { - "name": "ondurationchange", - "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" - }, - { - "name": "all", - "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" - }, - { - "name": "forms", - "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" - }, - { - "name": "dir", - "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" - }, - { - "name": "onemptied", - "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" - }, - { - "name": "designMode", - "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" - }, - { - "name": "onseeking", - "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondeactivate", - "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" - }, - { - "name": "oncanplay", - "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondatasetchanged", - "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsdelete", - "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" - }, - { - "name": "onloadstart", - "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "URLUnencoded", - "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" - }, - { - "name": "oncontrolselect", - "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragenter", - "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "inputEncoding", - "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" - }, - { - "name": "activeElement", - "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" - }, - { - "name": "onchange", - "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" - }, - { - "name": "links", - "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" - }, - { - "name": "uniqueID", - "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" - }, - { - "name": "URL", - "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" - }, - { - "name": "onbeforeactivate", - "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "documentMode", - "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" - }, - { - "name": "anchors", - "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" - }, - { - "name": "ondatasetcomplete", - "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onsuspend", - "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "rootElement", - "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" - }, - { - "name": "readyState", - "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" - }, - { - "name": "referrer", - "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" - }, - { - "name": "alinkColor", - "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" - }, - { - "name": "onerrorupdate", - "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "parentWindow", - "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" - }, - { - "name": "onmouseout", - "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onmsthumbnailclick", - "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousewheel", - "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" - }, - { - "name": "onvolumechange", - "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "oncellchange", - "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowexit", - "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsinserted", - "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" - }, - { - "name": "xmlVersion", - "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" - }, - { - "name": "onpropertychange", - "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragend", - "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "doctype", - "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" - }, - { - "name": "ondragover", - "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" - }, - { - "name": "bgColor", - "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" - }, - { - "name": "ondragstart", - "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseup", - "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "ondrag", - "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseover", - "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "linkColor", - "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" - }, - { - "name": "onpause", - "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousedown", - "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onclick", - "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onwaiting", - "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstop", - "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmssitemodejumplistitemremoved", - "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "applets", - "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" - }, - { - "name": "body", - "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" - }, - { - "name": "domain", - "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" - }, - { - "name": "selection", - "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" - }, - { - "name": "onstalled", - "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousemove", - "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "documentElement", - "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" - }, - { - "name": "onbeforeeditfocus", - "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onratechange", - "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onprogress", - "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondblclick", - "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "oncontextmenu", - "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onloadedmetadata", - "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onerror", - "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplay", - "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplaying", - "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" - }, - { - "name": "images", - "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" - }, - { - "name": "location", - "comment": "/**\r\n * Contains information about the current URL.\r\n */" - }, - { - "name": "onabort", - "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocusout", - "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselectionchange", - "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstoragecommit", - "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondataavailable", - "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onreadystatechange", - "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" - }, - { - "name": "lastModified", - "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" - }, - { - "name": "onkeypress", - "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onloadeddata", - "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onbeforedeactivate", - "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onactivate", - "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" - }, - { - "name": "fgColor", - "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" - }, - { - "name": "ontimeupdate", - "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselect", - "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onended", - "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" - }, - { - "name": "compatMode", - "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" - }, - { - "name": "onscroll", - "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowenter", - "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "queryCommandValue", - "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "queryCommandIndeterm", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "execCommand", - "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" - }, - { - "name": "elementFromPoint", - "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" - }, - { - "name": "queryCommandText", - "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" - }, - { - "name": "write", - "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" - }, - { - "name": "updateSettings", - "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" - }, - { - "name": "createElement", - "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" - }, - { - "name": "releaseCapture", - "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" - }, - { - "name": "writeln", - "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" - }, - { - "name": "open", - "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" - }, - { - "name": "queryCommandSupported", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "createTreeWalker", - "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "queryCommandEnabled", - "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "focus", - "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" - }, - { - "name": "close", - "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" - }, - { - "name": "createRange", - "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" - }, - { - "name": "fireEvent", - "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" - }, - { - "name": "createComment", - "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" - }, - { - "name": "getElementsByTagName", - "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" - }, - { - "name": "createDocumentFragment", - "comment": "/**\r\n * Creates a new document.\r\n */" - }, - { - "name": "createStyleSheet", - "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" - }, - { - "name": "getElementsByName", - "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" - }, - { - "name": "queryCommandState", - "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "hasFocus", - "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" - }, - { - "name": "execCommandShowHelp", - "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" - }, - { - "name": "createAttribute", - "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" - }, - { - "name": "createTextNode", - "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" - }, - { - "name": "createNodeIterator", - "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "createEventObject", - "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" - }, - { - "name": "getSelection", - "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" - }, - { - "name": "getElementById", - "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" - } - ] - } - }, - "HTMLScriptElement": { - "name": "HTMLScriptElement", - "properties": { - "property": [ - { - "name": "defer", - "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" - }, - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" - }, - { - "name": "event", - "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" - } - ] - } - }, - "HTMLTableRowElement": { - "name": "HTMLTableRowElement", - "properties": { - "property": [ - { - "name": "rowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "sectionRowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "deleteCell", - "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" - }, - { - "name": "insertCell", - "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" - } - ] - } - }, - "HTMLHtmlElement": { - "name": "HTMLHtmlElement", - "properties": { - "property": [ - { - "name": "version", - "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" - } - ] - } - }, - "HTMLFrameElement": { - "name": "HTMLFrameElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - } - ] - } - }, - "HTMLQuoteElement": { - "name": "HTMLQuoteElement", - "properties": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ] - } - }, - "HTMLTableHeaderCellElement": { - "name": "HTMLTableHeaderCellElement", - "properties": { - "property": [ - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - } - ] - } - }, - "HTMLFrameSetElement": { - "name": "HTMLFrameSetElement", - "properties": { - "property": [ - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - } - ] - } - }, - "HTMLLabelElement": { - "name": "HTMLLabelElement", - "properties": { - "property": [ - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ] - } - }, - "HTMLLegendElement": { - "name": "HTMLLegendElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ] - } - }, - "HTMLLIElement": { - "name": "HTMLLIElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" - } - ] - } - }, - "HTMLIFrameElement": { - "name": "HTMLIFrameElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "srcdoc", - "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - } - ] - } - }, - "HTMLTableSectionElement": { - "name": "HTMLTableSectionElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - } - ] - } - }, - "HTMLInputElement": { - "name": "HTMLInputElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "vrml", - "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" - }, - { - "name": "lowsrc", - "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "accept", - "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "defaultChecked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "checked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "files", - "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "step", - "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "valueAsNumber", - "comment": "/**\r\n * Returns the input field value as a number.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - }, - { - "name": "list", - "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "min", - "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "pattern", - "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "stepDown", - "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" - }, - { - "name": "stepUp", - "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLAnchorElement": { - "name": "HTMLAnchorElement", - "properties": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "protocol", - "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - "HTMLParamElement": { - "name": "HTMLParamElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" - }, - { - "name": "valueType", - "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" - } - ] - } - }, - "HTMLPreElement": { - "name": "HTMLPreElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" - } - ] - } - }, - "HTMLPhraseElement": { - "name": "HTMLPhraseElement", - "properties": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ] - } - }, - "HTMLCanvasElement": { - "name": "HTMLCanvasElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "toDataURL", - "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" - }, - { - "name": "getContext", - "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" - }, - { - "name": "msToBlob", - "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" - } - ] - } - }, - "HTMLTitleElement": { - "name": "HTMLTitleElement", - "properties": { - "property": [ - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ] - } - }, - "HTMLStyleElement": { - "name": "HTMLStyleElement", - "properties": { - "property": [ - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" - } - ] - } - }, - "HTMLTableCellElement": { - "name": "HTMLTableCellElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "headers", - "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" - }, - { - "name": "cellIndex", - "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "colSpan", - "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "axis", - "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - }, - { - "name": "abbr", - "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" - }, - { - "name": "rowSpan", - "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" - }, - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ] - } - }, - "HTMLBaseFontElement": { - "name": "HTMLBaseFontElement", - "properties": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" - } - ] - } - }, - "HTMLTextAreaElement": { - "name": "HTMLTextAreaElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" - }, - { - "name": "status", - "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "readOnly", - "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" - }, - { - "name": "wrap", - "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of control.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLModElement": { - "name": "HTMLModElement", - "properties": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ] - } - }, - "HTMLTableColElement": { - "name": "HTMLTableColElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" - }, - { - "name": "span", - "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" - } - ] - } - }, - "HTMLDivElement": { - "name": "HTMLDivElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ] - } - }, - "HTMLBRElement": { - "name": "HTMLBRElement", - "properties": { - "property": [ - { - "name": "clear", - "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" - } - ] - } - }, - "HTMLHeadingElement": { - "name": "HTMLHeadingElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - } - ] - } - }, - "HTMLFormElement": { - "name": "HTMLFormElement", - "properties": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "acceptCharset", - "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" - }, - { - "name": "enctype", - "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" - }, - { - "name": "elements", - "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "method", - "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" - }, - { - "name": "encoding", - "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "noValidate", - "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "reset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "submit", - "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - } - ] - } - }, - "HTMLMediaElement": { - "name": "HTMLMediaElement", - "properties": { - "property": [ - { - "name": "initialTime", - "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" - }, - { - "name": "played", - "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" - }, - { - "name": "currentSrc", - "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" - }, - { - "name": "autobuffer", - "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" - }, - { - "name": "ended", - "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" - }, - { - "name": "buffered", - "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" - }, - { - "name": "error", - "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" - }, - { - "name": "seekable", - "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" - }, - { - "name": "autoplay", - "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" - }, - { - "name": "controls", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "playbackRate", - "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" - }, - { - "name": "duration", - "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" - }, - { - "name": "muted", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" - }, - { - "name": "defaultPlaybackRate", - "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" - }, - { - "name": "paused", - "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" - }, - { - "name": "seeking", - "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" - }, - { - "name": "currentTime", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "preload", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "networkState", - "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" - }, - { - "name": "msAudioCategory", - "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" - }, - { - "name": "msRealTime", - "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "audioTracks", - "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - }, - { - "name": "msAudioDeviceType", - "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msKeys", - "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "pause", - "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" - }, - { - "name": "play", - "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" - }, - { - "name": "load", - "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" - }, - { - "name": "canPlayType", - "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" - }, - { - "name": "msClearEffects", - "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" - }, - { - "name": "msSetMediaProtectionManager", - "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" - }, - { - "name": "msInsertAudioEffect", - "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" - } - ] - } - }, - "HTMLDTElement": { - "name": "HTMLDTElement", - "properties": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ] - } - }, - "HTMLFieldSetElement": { - "name": "HTMLFieldSetElement", - "properties": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLBGSoundElement": { - "name": "HTMLBGSoundElement", - "properties": { - "property": [ - { - "name": "balance", - "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" - } - ] - } - }, - "HTMLHRElement": { - "name": "HTMLHRElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noShade", - "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" - } - ] - } - }, - "HTMLObjectElement": { - "name": "HTMLObjectElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "object", - "comment": "/**\r\n * Retrieves the contained object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "code", - "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ] - }, - "methods": { - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - "HTMLEmbedElement": { - "name": "HTMLEmbedElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "palette", - "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "pluginspage", - "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "units", - "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ] - } - }, - "HTMLOptGroupElement": { - "name": "HTMLOptGroupElement", - "properties": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ] - } - }, - "HTMLIsIndexElement": { - "name": "HTMLIsIndexElement", - "properties": { - "property": [ - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - } - ] - } - }, - "HTMLVideoElement": { - "name": "HTMLVideoElement", - "properties": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" - }, - { - "name": "videoWidth", - "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "videoHeight", - "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" - }, - { - "name": "poster", - "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" - } - ] - } - }, - "HTMLProgressElement": { - "name": "HTMLProgressElement", - "properties": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" - }, - { - "name": "position", - "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ] - } - }, - "URLSearchParams": { - "name": "URLSearchParams", - "methods": { - "method": [ - { - "name": "append", - "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" - }, - { - "name": "delete", - "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" - }, - { - "name": "get", - "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" - }, - { - "name": "getAll", - "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" - }, - { - "name": "has", - "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" - }, - { - "name": "set", - "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" - } - ], - "constructor": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" - } + "interfaces": [ + { + "name": "HTMLTableElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "cellSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" + }, + { + "name": "tFoot", + "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" + }, + { + "name": "frame", + "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "rules", + "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" + }, + { + "name": "summary", + "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" + }, + { + "name": "caption", + "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" + }, + { + "name": "tBodies", + "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" + }, + { + "name": "tHead", + "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "cellPadding", + "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ], + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "createTBody", + "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" + }, + { + "name": "deleteCaption", + "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + }, + { + "name": "deleteTFoot", + "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" + }, + { + "name": "createTHead", + "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" + }, + { + "name": "deleteTHead", + "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" + }, + { + "name": "createCaption", + "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "createTFoot", + "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" + } + ] } - } - }, - "mixin-interfaces": { - "interface": { - "HTMLTableAlignment": { - "name": "HTMLTableAlignment", - "properties": { - "property": [ - { - "name": "ch", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" - }, - { - "name": "chOff", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" - } - ] + }, + { + "name": "HTMLBaseElement", + "members": { + "property": [ + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLParagraphElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLAreasCollection", + "members": { + "property": [], + "method": [ + { + "name": "remove", + "comment": "/**\r\n * Removes an element from the collection.\r\n */" + }, + { + "name": "add", + "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n */" + } + ] + } + }, + { + "name": "HTMLAppletElement", + "members": { + "property": [ + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "declare", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLOListElement", + "members": { + "property": [ + { + "name": "start", + "comment": "/**\r\n * The starting number.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLSelectElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" + }, + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "selectedIndex", + "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ], + "method": [ + { + "name": "remove", + "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" + }, + { + "name": "add", + "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLBlockElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLMetaElement", + "members": { + "property": [ + { + "name": "httpEquiv", + "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" + }, + { + "name": "content", + "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" + }, + { + "name": "url", + "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" + }, + { + "name": "scheme", + "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLDDElement", + "members": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLLinkElement", + "members": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLFontElement", + "members": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableCaptionElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLOptionElement", + "members": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLMapElement", + "members": { + "property": [ + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "areas", + "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLCollection", + "members": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + } + ], + "method": [ + { + "name": "item", + "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" + } + ] + } + }, + { + "name": "HTMLImageElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "naturalHeight", + "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "naturalWidth", + "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" + }, + { + "name": "isMap", + "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLAreaElement", + "members": { + "property": [ + { + "name": "protocol", + "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "noHref", + "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + } + ], + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + { + "name": "HTMLButtonElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + } + ], + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLSourceElement", + "members": { + "property": [ + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "media", + "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "Document", + "members": { + "property": [ + { + "name": "compatible", + "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" + }, + { + "name": "onkeydown", + "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "onkeyup", + "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" + }, + { + "name": "implementation", + "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" + }, + { + "name": "onreset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" + }, + { + "name": "scripts", + "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" + }, + { + "name": "onhelp", + "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragleave", + "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" + }, + { + "name": "onfocusin", + "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" + }, + { + "name": "vlinkColor", + "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" + }, + { + "name": "onseeked", + "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" + }, + { + "name": "title", + "comment": "/**\r\n * Contains the title of the document.\r\n */" + }, + { + "name": "namespaces", + "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" + }, + { + "name": "defaultCharset", + "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" + }, + { + "name": "embeds", + "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" + }, + { + "name": "styleSheets", + "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" + }, + { + "name": "frames", + "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" + }, + { + "name": "ondurationchange", + "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" + }, + { + "name": "all", + "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" + }, + { + "name": "forms", + "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" + }, + { + "name": "dir", + "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" + }, + { + "name": "onemptied", + "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" + }, + { + "name": "designMode", + "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" + }, + { + "name": "onseeking", + "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondeactivate", + "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" + }, + { + "name": "oncanplay", + "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondatasetchanged", + "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsdelete", + "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" + }, + { + "name": "onloadstart", + "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "URLUnencoded", + "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" + }, + { + "name": "oncontrolselect", + "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragenter", + "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" + }, + { + "name": "inputEncoding", + "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" + }, + { + "name": "activeElement", + "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" + }, + { + "name": "onchange", + "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" + }, + { + "name": "links", + "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" + }, + { + "name": "uniqueID", + "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" + }, + { + "name": "URL", + "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" + }, + { + "name": "onbeforeactivate", + "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "documentMode", + "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" + }, + { + "name": "anchors", + "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" + }, + { + "name": "ondatasetcomplete", + "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onsuspend", + "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "rootElement", + "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" + }, + { + "name": "readyState", + "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" + }, + { + "name": "referrer", + "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" + }, + { + "name": "alinkColor", + "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" + }, + { + "name": "onerrorupdate", + "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "parentWindow", + "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" + }, + { + "name": "onmouseout", + "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onmsthumbnailclick", + "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousewheel", + "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" + }, + { + "name": "onvolumechange", + "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" + }, + { + "name": "oncellchange", + "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowexit", + "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowsinserted", + "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" + }, + { + "name": "xmlVersion", + "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" + }, + { + "name": "onpropertychange", + "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondragend", + "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "doctype", + "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" + }, + { + "name": "ondragover", + "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" + }, + { + "name": "bgColor", + "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" + }, + { + "name": "ondragstart", + "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseup", + "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "ondrag", + "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmouseover", + "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "linkColor", + "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" + }, + { + "name": "onpause", + "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousedown", + "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onclick", + "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onwaiting", + "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstop", + "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmssitemodejumplistitemremoved", + "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" + }, + { + "name": "applets", + "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" + }, + { + "name": "body", + "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" + }, + { + "name": "domain", + "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" + }, + { + "name": "selection", + "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" + }, + { + "name": "onstalled", + "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onmousemove", + "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "documentElement", + "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" + }, + { + "name": "onbeforeeditfocus", + "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onratechange", + "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onprogress", + "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondblclick", + "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "oncontextmenu", + "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" + }, + { + "name": "onloadedmetadata", + "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onerror", + "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplay", + "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onplaying", + "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" + }, + { + "name": "images", + "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" + }, + { + "name": "location", + "comment": "/**\r\n * Contains information about the current URL.\r\n */" + }, + { + "name": "onabort", + "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocusout", + "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselectionchange", + "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onstoragecommit", + "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" + }, + { + "name": "ondataavailable", + "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onreadystatechange", + "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" + }, + { + "name": "lastModified", + "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" + }, + { + "name": "onkeypress", + "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onloadeddata", + "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onbeforedeactivate", + "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onactivate", + "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" + }, + { + "name": "fgColor", + "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" + }, + { + "name": "ontimeupdate", + "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onselect", + "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onended", + "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" + }, + { + "name": "compatMode", + "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" + }, + { + "name": "onscroll", + "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onrowenter", + "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" + } + ], + "method": [ + { + "name": "queryCommandValue", + "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "queryCommandIndeterm", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "execCommand", + "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" + }, + { + "name": "elementFromPoint", + "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" + }, + { + "name": "queryCommandText", + "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" + }, + { + "name": "write", + "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" + }, + { + "name": "updateSettings", + "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" + }, + { + "name": "createElement", + "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" + }, + { + "name": "releaseCapture", + "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" + }, + { + "name": "writeln", + "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" + }, + { + "name": "open", + "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" + }, + { + "name": "queryCommandSupported", + "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "createTreeWalker", + "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "queryCommandEnabled", + "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" + }, + { + "name": "focus", + "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" + }, + { + "name": "close", + "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" + }, + { + "name": "createRange", + "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" + }, + { + "name": "fireEvent", + "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" + }, + { + "name": "createComment", + "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" + }, + { + "name": "getElementsByTagName", + "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" + }, + { + "name": "createDocumentFragment", + "comment": "/**\r\n * Creates a new document.\r\n */" + }, + { + "name": "createStyleSheet", + "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" + }, + { + "name": "getElementsByName", + "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" + }, + { + "name": "queryCommandState", + "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" + }, + { + "name": "hasFocus", + "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" + }, + { + "name": "execCommandShowHelp", + "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" + }, + { + "name": "createAttribute", + "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" + }, + { + "name": "createTextNode", + "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" + }, + { + "name": "createNodeIterator", + "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" + }, + { + "name": "createEventObject", + "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" + }, + { + "name": "getSelection", + "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" + }, + { + "name": "getElementById", + "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" + } + ] + } + }, + { + "name": "HTMLScriptElement", + "members": { + "property": [ + { + "name": "defer", + "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" + }, + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" + }, + { + "name": "event", + "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableRowElement", + "members": { + "property": [ + { + "name": "rowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" + }, + { + "name": "cells", + "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "sectionRowIndex", + "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ], + "method": [ + { + "name": "deleteCell", + "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" + }, + { + "name": "insertCell", + "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" + } + ] + } + }, + { + "name": "HTMLHtmlElement", + "members": { + "property": [ + { + "name": "version", + "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLFrameElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLQuoteElement", + "members": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableHeaderCellElement", + "members": { + "property": [ + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLFrameSetElement", + "members": { + "property": [ + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" + }, + { + "name": "onblur", + "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "onfocus", + "comment": "/**\r\n * Fires when the object receives focus.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLLabelElement", + "members": { + "property": [ + { + "name": "htmlFor", + "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLLegendElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLLIElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLIFrameElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "scrolling", + "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" + }, + { + "name": "marginHeight", + "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" + }, + { + "name": "marginWidth", + "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" + }, + { + "name": "frameSpacing", + "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" + }, + { + "name": "frameBorder", + "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" + }, + { + "name": "noResize", + "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "contentWindow", + "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "srcdoc", + "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" + }, + { + "name": "longDesc", + "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" + }, + { + "name": "security", + "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" + }, + { + "name": "onload", + "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableSectionElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + } + ], + "method": [ + { + "name": "deleteRow", + "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" + }, + { + "name": "moveRow", + "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" + }, + { + "name": "insertRow", + "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" + } + ] + } + }, + { + "name": "HTMLInputElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "vrml", + "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" + }, + { + "name": "lowsrc", + "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" + }, + { + "name": "vspace", + "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" + }, + { + "name": "accept", + "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" + }, + { + "name": "alt", + "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" + }, + { + "name": "defaultChecked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "border", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "checked", + "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" + }, + { + "name": "hspace", + "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Returns the content type of the object.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "complete", + "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "files", + "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "formTarget", + "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "step", + "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "formEnctype", + "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" + }, + { + "name": "valueAsNumber", + "comment": "/**\r\n * Returns the input field value as a number.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + }, + { + "name": "formMethod", + "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" + }, + { + "name": "list", + "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "min", + "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" + }, + { + "name": "formAction", + "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" + }, + { + "name": "pattern", + "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "formNoValidate", + "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" + }, + { + "name": "multiple", + "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" + } + ], + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "stepDown", + "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" + }, + { + "name": "stepUp", + "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLAnchorElement", + "members": { + "property": [ + { + "name": "rel", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "protocol", + "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" + }, + { + "name": "search", + "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" + }, + { + "name": "coords", + "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" + }, + { + "name": "hostname", + "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" + }, + { + "name": "pathname", + "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "href", + "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "charset", + "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" + }, + { + "name": "hreflang", + "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" + }, + { + "name": "port", + "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" + }, + { + "name": "host", + "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" + }, + { + "name": "hash", + "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" + }, + { + "name": "rev", + "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" + }, + { + "name": "shape", + "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ], + "method": [ + { + "name": "toString", + "comment": "/**\r\n * Returns a string representation of an object.\r\n */" + } + ] + } + }, + { + "name": "HTMLParamElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" + }, + { + "name": "valueType", + "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLPreElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLPhraseElement", + "members": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLCanvasElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" + } + ], + "method": [ + { + "name": "toDataURL", + "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" + }, + { + "name": "getContext", + "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" + }, + { + "name": "msToBlob", + "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" + } + ] + } + }, + { + "name": "HTMLTitleElement", + "members": { + "property": [ + { + "name": "text", + "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLStyleElement", + "members": { + "property": [ + { + "name": "media", + "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableCellElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "headers", + "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" + }, + { + "name": "cellIndex", + "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "borderColorLight", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + }, + { + "name": "colSpan", + "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" + }, + { + "name": "borderColor", + "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" + }, + { + "name": "axis", + "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + }, + { + "name": "abbr", + "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" + }, + { + "name": "rowSpan", + "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" + }, + { + "name": "scope", + "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" + }, + { + "name": "borderColorDark", + "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLBaseFontElement", + "members": { + "property": [ + { + "name": "face", + "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" + }, + { + "name": "size", + "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTextAreaElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" + }, + { + "name": "status", + "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "selectionStart", + "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" + }, + { + "name": "rows", + "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" + }, + { + "name": "cols", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "readOnly", + "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" + }, + { + "name": "wrap", + "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" + }, + { + "name": "selectionEnd", + "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Retrieves the type of control.\r\n */" + }, + { + "name": "defaultValue", + "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "autofocus", + "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "required", + "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" + }, + { + "name": "maxLength", + "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "placeholder", + "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" + } + ], + "method": [ + { + "name": "createTextRange", + "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" + }, + { + "name": "setSelectionRange", + "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" + }, + { + "name": "select", + "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLModElement", + "members": { + "property": [ + { + "name": "dateTime", + "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" + }, + { + "name": "cite", + "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableColElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" + }, + { + "name": "span", + "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLTableAlignment", + "members": { + "property": [ + { + "name": "ch", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" + }, + { + "name": "vAlign", + "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" + }, + { + "name": "chOff", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLDivElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLBRElement", + "members": { + "property": [ + { + "name": "clear", + "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLHeadingElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLFormElement", + "members": { + "property": [ + { + "name": "length", + "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" + }, + { + "name": "target", + "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" + }, + { + "name": "acceptCharset", + "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" + }, + { + "name": "enctype", + "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" + }, + { + "name": "elements", + "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "method", + "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" + }, + { + "name": "encoding", + "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" + }, + { + "name": "autocomplete", + "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" + }, + { + "name": "noValidate", + "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" + } + ], + "method": [ + { + "name": "reset", + "comment": "/**\r\n * Fires when the user resets a form.\r\n */" + }, + { + "name": "item", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" + }, + { + "name": "submit", + "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" + }, + { + "name": "namedItem", + "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" + }, + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + } + ] + } + }, + { + "name": "HTMLMediaElement", + "members": { + "property": [ + { + "name": "initialTime", + "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" + }, + { + "name": "played", + "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" + }, + { + "name": "currentSrc", + "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" + }, + { + "name": "autobuffer", + "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" + }, + { + "name": "ended", + "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" + }, + { + "name": "buffered", + "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" + }, + { + "name": "error", + "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" + }, + { + "name": "seekable", + "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" + }, + { + "name": "autoplay", + "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" + }, + { + "name": "controls", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" + }, + { + "name": "playbackRate", + "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" + }, + { + "name": "duration", + "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" + }, + { + "name": "muted", + "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" + }, + { + "name": "defaultPlaybackRate", + "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" + }, + { + "name": "paused", + "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" + }, + { + "name": "seeking", + "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" + }, + { + "name": "currentTime", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "preload", + "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" + }, + { + "name": "networkState", + "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" + }, + { + "name": "msAudioCategory", + "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" + }, + { + "name": "msRealTime", + "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "audioTracks", + "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + }, + { + "name": "msAudioDeviceType", + "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msKeys", + "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" + } + ], + "method": [ + { + "name": "pause", + "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" + }, + { + "name": "play", + "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" + }, + { + "name": "load", + "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" + }, + { + "name": "canPlayType", + "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" + }, + { + "name": "msClearEffects", + "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" + }, + { + "name": "msSetMediaProtectionManager", + "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" + }, + { + "name": "msInsertAudioEffect", + "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" + } + ] + } + }, + { + "name": "HTMLDTElement", + "members": { + "property": [ + { + "name": "noWrap", + "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLFieldSetElement", + "members": { + "property": [ + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + } + ], + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLBGSoundElement", + "members": { + "property": [ + { + "name": "balance", + "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" + }, + { + "name": "volume", + "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" + }, + { + "name": "loop", + "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLHRElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "align", + "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" + }, + { + "name": "noShade", + "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLObjectElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "codeType", + "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" + }, + { + "name": "object", + "comment": "/**\r\n * Retrieves the contained object.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "code", + "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" + }, + { + "name": "archive", + "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" + }, + { + "name": "standby", + "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" + }, + { + "name": "classid", + "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "useMap", + "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" + }, + { + "name": "data", + "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "contentDocument", + "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" + }, + { + "name": "altHtml", + "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" + }, + { + "name": "codeBase", + "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" + }, + { + "name": "type", + "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" + }, + { + "name": "BaseHref", + "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" + }, + { + "name": "validationMessage", + "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" + }, + { + "name": "validity", + "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" + }, + { + "name": "willValidate", + "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ], + "method": [ + { + "name": "checkValidity", + "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" + }, + { + "name": "setCustomValidity", + "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" + } + ] + } + }, + { + "name": "HTMLEmbedElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" + }, + { + "name": "palette", + "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" + }, + { + "name": "src", + "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" + }, + { + "name": "name", + "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" + }, + { + "name": "pluginspage", + "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" + }, + { + "name": "units", + "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" + }, + { + "name": "msPlayToPreferredSourceUri", + "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" + }, + { + "name": "msPlayToPrimary", + "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" + }, + { + "name": "msPlayToDisabled", + "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" + }, + { + "name": "msPlayToSource", + "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLOptGroupElement", + "members": { + "property": [ + { + "name": "index", + "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" + }, + { + "name": "defaultSelected", + "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" + }, + { + "name": "text", + "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" + }, + { + "name": "value", + "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "label", + "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" + }, + { + "name": "selected", + "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLIsIndexElement", + "members": { + "property": [ + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + }, + { + "name": "action", + "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLVideoElement", + "members": { + "property": [ + { + "name": "width", + "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" + }, + { + "name": "videoWidth", + "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "videoHeight", + "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" + }, + { + "name": "height", + "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" + }, + { + "name": "poster", + "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "HTMLProgressElement", + "members": { + "property": [ + { + "name": "value", + "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" + }, + { + "name": "max", + "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" + }, + { + "name": "position", + "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" + }, + { + "name": "form", + "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" + } + ], + "method": [] + } + }, + { + "name": "URLSearchParams", + "members": { + "method": [ + { + "name": "append", + "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" + }, + { + "name": "delete", + "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" + }, + { + "name": "get", + "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" + }, + { + "name": "getAll", + "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" + }, + { + "name": "has", + "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" + }, + { + "name": "set", + "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" + } + ], + "property": [], + "constructor": { + "comment": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" } } } - } + ] } \ No newline at end of file From 6ddee3ef8d70d516032f10d7523f4ad6340f9b1a Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 21 Feb 2018 17:25:58 -0800 Subject: [PATCH 12/93] normalize addedTypes.json and support overrides --- index.ts | 100 ++- inputfiles/json/addedTypes.json | 1346 ++++++++++++++++++------------- types.d.ts | 6 + 3 files changed, 835 insertions(+), 617 deletions(-) diff --git a/index.ts b/index.ts index 96235a904..c30b9b661 100644 --- a/index.ts +++ b/index.ts @@ -1,6 +1,7 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; +import { debug } from "util"; const __SOURCE_DIRECTORY__ = __dirname; let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); @@ -188,23 +189,32 @@ function mapToArray(m: Record): T[] { return Object.keys(m).map(k => m[k]); } -function merge(src: T, target: T, mode: "add" | "update"):T { +function mergeNamedArrays(srcProp: T[], targetProp: T[], mode: "add" | "update") { + const map: any = {}; + for (const e1 of srcProp) { + if (e1.name) { + map[e1.name] = e1; + } + } + + for (const e2 of targetProp) { + if (e2.name && map[e2.name]) { + merge(map[e2.name], e2, mode); + } + else if (mode === "add") { + srcProp.push(e2); + } + } +} + +function merge(src: T, target: T, mode: "add" | "update"): T { if (typeof src !== "object" || typeof target !== "object") return src; for (const k in target) { - if (src[k]) { + if (src[k] && target[k]) { const srcProp = src[k]; const targetProp = target[k]; if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - // merge arrays - const map: any = {}; - for (const e1 of srcProp) - if (e1.name) - map[e1.name] = e1; - - for (const e2 of targetProp) { - if (e2.name && map[e2.name]) - merge(map[e2.name], e2, mode); - } + mergeNamedArrays(srcProp, targetProp, mode); } else { if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k); @@ -705,13 +715,11 @@ namespace Emit { } function write(s: string) { - if (s && s.length) { - if (lineStart) { - output += getIndentString(indent); - lineStart = false; - } - output += s; + if (lineStart) { + output += getIndentString(indent); + lineStart = false; } + output += s; } function reset(): void { @@ -1055,9 +1063,10 @@ namespace Emit { pType = DomTypeToTsType(p.type); } } + let requiredModifier = !p.required || p.required === "1" ? "" : "?"; pType = p.nullable ? makeNullable(pType) : pType; let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; - printLine(`${prefix}${readOnlyModifier}${p.name}: ${pType};`); + printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); } } @@ -1089,7 +1098,7 @@ namespace Emit { } if (m["override-signatures"]) { - m["override-signatures"]!.forEach(s => printLine(`${s};`)); + m["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); } else { switch (m.name) { @@ -1100,7 +1109,7 @@ namespace Emit { case "querySelectorAll": return EmitQuerySelectorAllOverloads(m); } if (m["additional-signatures"]) { - m["additional-signatures"]!.forEach(s => printLine(`${s};`)); + m["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); } let overloads = GetOverloads(m, false); for (const { paramCombinations, returnTypes, nullable } of overloads) { @@ -1194,8 +1203,14 @@ namespace Emit { } function EmitConstructorSignature(flavor: Flavor, i: Browser.Interface) { + if (i.constructor && i.constructor.comment) { + Pt.Printl(i.constructor.comment); + } // Emit constructor signature - if (i.constructor) { + if (i["override-constructor-signatures"]) { + i["override-constructor-signatures"]!.forEach(s => Pt.Printl(`${s};`)); + } + else if (i.constructor) { for (const { paramCombinations } of GetOverloads(i.constructor, false)) { let paramsString = ParamsToString(paramCombinations); Pt.Printl(`new(${paramsString}): ${i.name};`); @@ -1244,7 +1259,7 @@ namespace Emit { Pt.Printl(`interface ${processInterfaceType(i, processedIName)}`); - let finalExtends = concat([i.extends], i.implements) + let finalExtends = concat([i.extends || "Object"], i.implements) .filter(i => i !== "Object") .map(processIName) @@ -1279,16 +1294,19 @@ namespace Emit { return false; } - - function EmitIndexers(emitScope: EmitScope, i: Browser.Interface) { - // The indices could be within either Methods or Anonymous Methods - concat(i.methods && i.methods.method, i["anonymous-methods"] && i["anonymous-methods"]!.method) - .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) - .forEach(m => { - let indexer = m.param![0] - Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer.type)}]: ${DomTypeToTsType(m.type)};`); - }); + if (i["overide-index-signatures"]) { + i["overide-index-signatures"]!.forEach(s => Pt.Printl(`${s};`)); + } + else { + // The indices could be within either Methods or Anonymous Methods + concat(i.methods && i.methods.method, i["anonymous-methods"] && i["anonymous-methods"]!.method) + .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) + .forEach(m => { + let indexer = m.param![0] + Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer.type)}]: ${DomTypeToTsType(m.type)};`); + }); + } } function EmitInterfaceEventMap(i: Browser.Interface) { @@ -1426,7 +1444,7 @@ namespace Emit { } function emitDictionary(flavor: Flavor, dict: Browser.Dictionary) { - if (dict.extends === "Object") { + if (!dict.extends || dict.extends === "Object") { Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); } else { @@ -1436,10 +1454,16 @@ namespace Emit { if (dict.members) { dict.members.member .forEach(m => { - let tsType = DomTypeToTsType(m.type); - let tsTypeAndNull = m.nullable ? makeNullable(tsType) : tsType; - let requiredModifier = m.required ? "" : "?"; - Pt.Printl(`${m.name}${requiredModifier}: ${tsTypeAndNull};`); + let tsType; + if (m["override-type"]) { + tsType = m["override-type"]; + } + else { + tsType = DomTypeToTsType(m.type); + tsType = m.nullable ? makeNullable(tsType) : tsType; + } + let requiredModifier = m.required === "1" ? "" : "?"; + Pt.Printl(`${m.name}${requiredModifier}: ${tsType};`); }); } Pt.DecreaseIndent(); @@ -1459,7 +1483,7 @@ namespace Emit { } function emitTypeDef(typeDef: Browser.TypeDef) { - Pt.Printl(`type ${typeDef["new-type"]} = ${DomTypeToTsType(typeDef.type)};`); + Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || DomTypeToTsType(typeDef.type)};`); } function EmitTypeDefs(flavor: Flavor) { diff --git a/inputfiles/json/addedTypes.json b/inputfiles/json/addedTypes.json index d683006f7..9b453c40e 100644 --- a/inputfiles/json/addedTypes.json +++ b/inputfiles/json/addedTypes.json @@ -1,4 +1,28 @@ { + "mixin-interfaces": { + "interface": { + "Body": { + "name": "Body", + "methods": { + "method": [ + { + "name": "formData", + "flavor": "Web", + "override-signatures": [ + "formData(): Promise" + ] + } + ] + } + } + } + }, + "callback-interfaces": { + "interface": {} + }, + "enums": { + "enum": {} + }, "interfaces": { "interface": { "BroadcastChannel": { @@ -7,8 +31,8 @@ "properties": { "property": [ { - "readonly": true, "name": "name", + "read-only": "1", "override-type": "string" }, { @@ -68,34 +92,8 @@ "override-type": "MessageEvent" } ] - } - }, - "ErrorEventInit": { - "name": "ErrorEventInit", - "properties": { - "property": [ - { - "name": "message?", - "override-type": "string" - }, - { - "name": "filename?", - "override-type": "string" - }, - { - "name": "lineno?", - "override-type": "number" - }, - { - "name": "conlno?", - "override-type": "number" - }, - { - "name": "error?", - "override-type": "any" - } - ] - } + }, + "no-interface-object": "1" }, "CSSStyleDeclaration": { "name": "CSSStyleDeclaration", @@ -119,27 +117,32 @@ "properties": { "property": [ { - "name": "key?", - "override-type": "string" + "name": "key", + "override-type": "string", + "required": "false" }, { - "name": "oldValue?", - "override-type": "string" + "name": "oldValue", + "override-type": "string", + "required": "false" }, { - "name": "newValue?", - "override-type": "string" + "name": "newValue", + "override-type": "string", + "required": "false" }, { "name": "url", "override-type": "string" }, { - "name": "storageArea?", - "override-type": "Storage" + "name": "storageArea", + "override-type": "Storage", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "Canvas2DContextAttributes": { "name": "Canvas2DContextAttributes", @@ -147,23 +150,27 @@ "properties": { "property": [ { - "name": "alpha?", - "override-type": "boolean" + "name": "alpha", + "override-type": "boolean", + "required": "false" }, { - "name": "willReadFrequently?", - "override-type": "boolean" + "name": "willReadFrequently", + "override-type": "boolean", + "required": "false" }, { - "name": "storage?", - "override-type": "boolean" + "name": "storage", + "override-type": "boolean", + "required": "false" }, { "name": "[attribute: string]", "override-type": "boolean | string | undefined" } ] - } + }, + "no-interface-object": "1" }, "ImageBitmapOptions": { "flavor": "All", @@ -171,31 +178,38 @@ "properties": { "property": [ { - "name": "imageOrientation?", - "override-type": "\"none\" | \"flipY\"" + "name": "imageOrientation", + "override-type": "\"none\" | \"flipY\"", + "required": "false" }, { - "name": "premultiplyAlpha?", - "override-type": "\"none\" | \"premultiply\" | \"default\"" + "name": "premultiplyAlpha", + "override-type": "\"none\" | \"premultiply\" | \"default\"", + "required": "false" }, { - "name": "colorSpaceConversion?", - "override-type": "\"none\" | \"default\"" + "name": "colorSpaceConversion", + "override-type": "\"none\" | \"default\"", + "required": "false" }, { - "name": "resizeWidth?", - "override-type": "number" + "name": "resizeWidth", + "override-type": "number", + "required": "false" }, { - "name": "resizeHeight?", - "override-type": "number" + "name": "resizeHeight", + "override-type": "number", + "required": "false" }, { - "name": "resizeQuality?", - "override-type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"" + "name": "resizeQuality", + "override-type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "ImageBitmap": { "name": "ImageBitmap", @@ -204,12 +218,12 @@ "property": [ { "name": "width", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "height", - "readonly": true, + "read-only": "1", "override-type": "number" } ] @@ -223,7 +237,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "Window": { "name": "Window", @@ -294,28 +309,6 @@ ] } }, - "IDBObjectStoreParameters": { - "name": "IDBObjectStoreParameters", - "properties": { - "property": [ - { - "name": "autoIncrement?", - "override-type": "boolean" - } - ] - } - }, - "IDBIndexParameters": { - "name": "IDBIndexParameters", - "properties": { - "property": [ - { - "name": "multiEntry?", - "override-type": "boolean" - } - ] - } - }, "IDBIndex": { "name": "IDBIndex", "properties": { @@ -379,7 +372,7 @@ "property": [ { "name": "searchParams", - "readonly": true, + "read-only": "1", "override-type": "URLSearchParams" } ] @@ -407,12 +400,9 @@ } ] }, - "indexer": [ - { - "signatures": [ - "[index: number]: TNode" - ] - } + "no-interface-object": "1", + "overide-index-signatures": [ + "[index: number]: TNode" ] }, "HTMLCollectionOf": { @@ -435,12 +425,9 @@ } ] }, - "indexer": [ - { - "signatures": [ - "[index: number]: T" - ] - } + "no-interface-object": "1", + "overide-index-signatures": [ + "[index: number]: T" ] }, "BlobPropertyBag": { @@ -448,15 +435,18 @@ "properties": { "property": [ { - "name": "type?", - "override-type": "string" + "name": "type", + "override-type": "string", + "required": "false" }, { - "name": "endings?", - "override-type": "string" + "name": "endings", + "override-type": "string", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "FilePropertyBag": { "name": "FilePropertyBag", @@ -464,11 +454,13 @@ "properties": { "property": [ { - "name": "lastModified?", - "override-type": "number" + "name": "lastModified", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "EventListenerObject": { "name": "EventListenerObject", @@ -481,42 +473,8 @@ ] } ] - } - }, - "MessageEventInit": { - "name": "MessageEventInit", - "properties": { - "property": [ - { - "name": "lastEventId?", - "override-type": "string" - }, - { - "name": "channel?", - "override-type": "string" - } - ] - } - }, - "ProgressEventInit": { - "name": "ProgressEventInit", - "extends": "EventInit", - "properties": { - "property": [ - { - "name": "lengthComputable?", - "override-type": "boolean" - }, - { - "name": "loaded?", - "override-type": "number" - }, - { - "name": "total?", - "override-type": "number" - } - ] - } + }, + "no-interface-object": "1" }, "Element": { "name": "Element", @@ -592,7 +550,6 @@ "insertAdjacentText(where: InsertPosition, text: string): void" ] }, - {}, { "name": "attachShadow", "override-signatures": [ @@ -606,7 +563,7 @@ "property": [ { "name": "assignedSlot", - "readonly": true, + "read-only": "1", "override-type": "HTMLSlotElement | null" }, { @@ -615,7 +572,7 @@ }, { "name": "shadowRoot", - "readonly": true, + "read-only": "1", "override-type": "ShadowRoot | null" } ] @@ -627,11 +584,13 @@ "properties": { "property": [ { - "name": "behavior?", - "override-type": "ScrollBehavior" + "name": "behavior", + "override-type": "ScrollBehavior", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "ScrollToOptions": { "flavor": "Web", @@ -640,15 +599,18 @@ "properties": { "property": [ { - "name": "left?", - "override-type": "number" + "name": "left", + "override-type": "number", + "required": "false" }, { - "name": "top?", - "override-type": "number" + "name": "top", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "ScrollIntoViewOptions": { "flavor": "Web", @@ -657,15 +619,18 @@ "properties": { "property": [ { - "name": "block?", - "override-type": "ScrollLogicalPosition" + "name": "block", + "override-type": "ScrollLogicalPosition", + "required": "false" }, { - "name": "inline?", - "override-type": "ScrollLogicalPosition" + "name": "inline", + "override-type": "ScrollLogicalPosition", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "Document": { "methods": { @@ -737,8 +702,7 @@ "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"view\"): SVGViewElement", "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: string): SVGElement" ] - }, - {} + } ] }, "extends": "ParentNode", @@ -766,18 +730,18 @@ "properties": { "property": [ { - "readonly": true, "name": "doNotTrack", + "read-only": "1", "override-type": "string | null" }, { "name": "hardwareConcurrency", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "languages", - "readonly": true, + "read-only": "1", "override-type": "string[]" } ] @@ -789,7 +753,7 @@ "property": [ { "name": "hardwareConcurrency", - "readonly": true, + "read-only": "1", "override-type": "number" } ] @@ -800,8 +764,9 @@ "properties": { "property": [ { - "name": "import?", - "override-type": "Document" + "name": "import", + "override-type": "Document", + "required": "false" }, { "name": "integrity", @@ -828,20 +793,24 @@ "properties": { "property": [ { - "name": "key?", - "override-type": "string" + "name": "key", + "override-type": "string", + "required": "false" }, { - "name": "oldValue?", - "override-type": "string" + "name": "oldValue", + "override-type": "string", + "required": "false" }, { - "name": "newValue?", - "override-type": "string" + "name": "newValue", + "override-type": "string", + "required": "false" }, { - "name": "storageArea?", - "override-type": "Storage" + "name": "storageArea", + "override-type": "Storage", + "required": "false" } ] } @@ -864,19 +833,23 @@ "properties": { "property": [ { - "name": "data?", - "override-type": "string" + "name": "data", + "override-type": "string", + "required": "false" }, { - "name": "dataType?", - "override-type": "string" + "name": "dataType", + "override-type": "string", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "IDBArrayKey": { "name": "IDBArrayKey", - "extends": "Array" + "extends": "Array", + "no-interface-object": "1" }, "HTMLInputElement": { "name": "HTMLInputElement", @@ -957,17 +930,6 @@ ] } }, - "WebGLContextAttributes": { - "name": "WebGLContextAttributes", - "properties": { - "property": [ - { - "name": "failIfMajorPerformanceCaveat?", - "override-type": "boolean" - } - ] - } - }, "RsaKeyGenParams": { "name": "RsaKeyGenParams", "extends": "Algorithm", @@ -982,7 +944,8 @@ "override-type": "Uint8Array" } ] - } + }, + "no-interface-object": "1" }, "RsaHashedKeyGenParams": { "name": "RsaHashedKeyGenParams", @@ -994,7 +957,8 @@ "override-type": "AlgorithmIdentifier" } ] - } + }, + "no-interface-object": "1" }, "RsaKeyAlgorithm": { "name": "RsaKeyAlgorithm", @@ -1010,7 +974,8 @@ "override-type": "Uint8Array" } ] - } + }, + "no-interface-object": "1" }, "RsaHashedKeyAlgorithm": { "name": "RsaHashedKeyAlgorithm", @@ -1022,7 +987,8 @@ "override-type": "AlgorithmIdentifier" } ] - } + }, + "no-interface-object": "1" }, "RsaHashedImportParams": { "name": "RsaHashedImportParams", @@ -1033,7 +999,8 @@ "override-type": "AlgorithmIdentifier" } ] - } + }, + "no-interface-object": "1" }, "RsaPssParams": { "name": "RsaPssParams", @@ -1044,7 +1011,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "RsaOaepParams": { "name": "RsaOaepParams", @@ -1052,11 +1020,13 @@ "properties": { "property": [ { - "name": "label?", - "override-type": "BufferSource" + "name": "label", + "override-type": "BufferSource", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "EcdsaParams": { "name": "EcdsaParams", @@ -1068,7 +1038,8 @@ "override-type": "AlgorithmIdentifier" } ] - } + }, + "no-interface-object": "1" }, "EcKeyGenParams": { "name": "EcKeyGenParams", @@ -1080,7 +1051,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "EcKeyAlgorithm": { "name": "EcKeyAlgorithm", @@ -1092,7 +1064,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "EcKeyImportParams": { "name": "EcKeyImportParams", @@ -1104,7 +1077,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "EcdhKeyDeriveParams": { "name": "EcdhKeyDeriveParams", @@ -1116,7 +1090,8 @@ "override-type": "CryptoKey" } ] - } + }, + "no-interface-object": "1" }, "AesCtrParams": { "name": "AesCtrParams", @@ -1132,7 +1107,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "AesKeyAlgorithm": { "name": "AesKeyAlgorithm", @@ -1144,7 +1120,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "AesKeyGenParams": { "name": "AesKeyGenParams", @@ -1156,7 +1133,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "AesDerivedKeyParams": { "name": "AesDerivedKeyParams", @@ -1168,7 +1146,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "AesCbcParams": { "name": "AesCbcParams", @@ -1180,7 +1159,8 @@ "override-type": "BufferSource" } ] - } + }, + "no-interface-object": "1" }, "AesCmacParams": { "name": "AesCmacParams", @@ -1192,7 +1172,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "AesGcmParams": { "name": "AesGcmParams", @@ -1204,15 +1185,18 @@ "override-type": "BufferSource" }, { - "name": "additionalData?", - "override-type": "BufferSource" + "name": "additionalData", + "override-type": "BufferSource", + "required": "false" }, { - "name": "tagLength?", - "override-type": "number" + "name": "tagLength", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "AesCfbParams": { "name": "AesCfbParams", @@ -1224,7 +1208,8 @@ "override-type": "BufferSource" } ] - } + }, + "no-interface-object": "1" }, "HmacImportParams": { "name": "HmacImportParams", @@ -1232,15 +1217,18 @@ "properties": { "property": [ { - "name": "hash?", - "override-type": "AlgorithmIdentifier" + "name": "hash", + "override-type": "AlgorithmIdentifier", + "required": "false" }, { - "name": "length?", - "override-type": "number" + "name": "length", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "HmacKeyAlgorithm": { "name": "HmacKeyAlgorithm", @@ -1256,7 +1244,8 @@ "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "HmacKeyGenParams": { "name": "HmacKeyGenParams", @@ -1268,11 +1257,13 @@ "override-type": "AlgorithmIdentifier" }, { - "name": "length?", - "override-type": "number" + "name": "length", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "DhKeyGenParams": { "name": "DhKeyGenParams", @@ -1288,7 +1279,8 @@ "override-type": "Uint8Array" } ] - } + }, + "no-interface-object": "1" }, "DhKeyAlgorithm": { "name": "DhKeyAlgorithm", @@ -1304,7 +1296,8 @@ "override-type": "Uint8Array" } ] - } + }, + "no-interface-object": "1" }, "DhKeyDeriveParams": { "name": "DhKeyDeriveParams", @@ -1316,7 +1309,8 @@ "override-type": "CryptoKey" } ] - } + }, + "no-interface-object": "1" }, "DhImportKeyParams": { "name": "DhImportKeyParams", @@ -1332,7 +1326,8 @@ "override-type": "Uint8Array" } ] - } + }, + "no-interface-object": "1" }, "ConcatParams": { "name": "ConcatParams", @@ -1340,8 +1335,9 @@ "properties": { "property": [ { - "name": "hash?", - "override-type": "AlgorithmIdentifier" + "name": "hash", + "override-type": "AlgorithmIdentifier", + "required": "false" }, { "name": "algorithmId", @@ -1356,15 +1352,18 @@ "override-type": "Uint8Array" }, { - "name": "publicInfo?", - "override-type": "Uint8Array" + "name": "publicInfo", + "override-type": "Uint8Array", + "required": "false" }, { - "name": "privateInfo?", - "override-type": "Uint8Array" + "name": "privateInfo", + "override-type": "Uint8Array", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "HkdfCtrParams": { "name": "HkdfCtrParams", @@ -1384,7 +1383,8 @@ "override-type": "BufferSource" } ] - } + }, + "no-interface-object": "1" }, "Pbkdf2Params": { "name": "Pbkdf2Params", @@ -1404,7 +1404,8 @@ "override-type": "AlgorithmIdentifier" } ] - } + }, + "no-interface-object": "1" }, "RsaOtherPrimesInfo": { "name": "RsaOtherPrimesInfo", @@ -1423,7 +1424,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "JsonWebKey": { "name": "JsonWebKey", @@ -1434,99 +1436,122 @@ "override-type": "string" }, { - "name": "use?", - "override-type": "string" + "name": "use", + "override-type": "string", + "required": "false" }, { - "name": "key_ops?", - "override-type": "string[]" + "name": "key_ops", + "override-type": "string[]", + "required": "false" }, { - "name": "alg?", - "override-type": "string" + "name": "alg", + "override-type": "string", + "required": "false" }, { - "name": "kid?", - "override-type": "string" + "name": "kid", + "override-type": "string", + "required": "false" }, { - "name": "x5u?", - "override-type": "string" + "name": "x5u", + "override-type": "string", + "required": "false" }, { - "name": "x5c?", - "override-type": "string" + "name": "x5c", + "override-type": "string", + "required": "false" }, { - "name": "x5t?", - "override-type": "string" + "name": "x5t", + "override-type": "string", + "required": "false" }, { - "name": "ext?", - "override-type": "boolean" + "name": "ext", + "override-type": "boolean", + "required": "false" }, { - "name": "crv?", - "override-type": "string" + "name": "crv", + "override-type": "string", + "required": "false" }, { - "name": "x?", - "override-type": "string" + "name": "x", + "override-type": "string", + "required": "false" }, { - "name": "y?", - "override-type": "string" + "name": "y", + "override-type": "string", + "required": "false" }, { - "name": "d?", - "override-type": "string" + "name": "d", + "override-type": "string", + "required": "false" }, { - "name": "n?", - "override-type": "string" + "name": "n", + "override-type": "string", + "required": "false" }, { - "name": "e?", - "override-type": "string" + "name": "e", + "override-type": "string", + "required": "false" }, { - "name": "p?", - "override-type": "string" + "name": "p", + "override-type": "string", + "required": "false" }, { - "name": "q?", - "override-type": "string" + "name": "q", + "override-type": "string", + "required": "false" }, { - "name": "dp?", - "override-type": "string" + "name": "dp", + "override-type": "string", + "required": "false" }, { - "name": "dq?", - "override-type": "string" + "name": "dq", + "override-type": "string", + "required": "false" }, { - "name": "qi?", - "override-type": "string" + "name": "qi", + "override-type": "string", + "required": "false" }, { - "name": "oth?", - "override-type": "RsaOtherPrimesInfo[]" + "name": "oth", + "override-type": "RsaOtherPrimesInfo[]", + "required": "false" }, { - "name": "k?", - "override-type": "string" + "name": "k", + "override-type": "string", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "XMLHttpRequest": { "name": "XMLHttpRequest", "properties": { "property": [ { - "name": "msCaching?", - "override-type": "string" + "name": "msCaching", + "override-type": "string", + "required": "false" } ] } @@ -1550,7 +1575,7 @@ "property": [ { "name": "secureConnectionStart", - "readonly": true, + "read-only": "1", "override-type": "number" } ] @@ -1572,19 +1597,8 @@ "properties": { "property": [ { - "readonly": true, "name": "code", - "override-type": "string" - } - ] - } - }, - "KeyboardEventInit": { - "name": "KeyboardEventInit", - "properties": { - "property": [ - { - "name": "code?", + "read-only": "1", "override-type": "string" } ] @@ -1597,35 +1611,36 @@ "property": [ { "name": "children", - "readonly": true, + "read-only": "1", "override-type": "HTMLCollection" }, { "name": "firstElementChild", - "readonly": true, + "read-only": "1", "override-type": "Element | null" }, { "name": "lastElementChild", - "readonly": true, + "read-only": "1", "override-type": "Element | null" }, { "name": "childElementCount", - "readonly": true, + "read-only": "1", "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "DocumentFragment": { "name": "DocumentFragment", "extends": "ParentNode", "methods": { "method": [ - {}, { "name": "getElementById", + "flavor": "Web", "override-signatures": [ "getElementById(elementId: string): HTMLElement | null" ] @@ -1686,16 +1701,17 @@ "property": [ { "name": "activeElement", - "readonly": true, + "read-only": "1", "override-type": "Element | null" }, { "name": "styleSheets", - "readonly": true, + "read-only": "1", "override-type": "StyleSheetList" } ] - } + }, + "no-interface-object": "1" }, "ShadowRoot": { "name": "ShadowRoot", @@ -1705,7 +1721,7 @@ "property": [ { "name": "host", - "readonly": true, + "read-only": "1", "override-type": "Element" }, { @@ -1713,7 +1729,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "ShadowRootInit": { "name": "ShadowRootInit", @@ -1725,11 +1742,13 @@ "override-type": "\"open\" | \"closed\"" }, { - "name": "delegatesFocus?", - "override-type": "boolean" + "name": "delegatesFocus", + "override-type": "boolean", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "Text": { "name": "Text", @@ -1737,7 +1756,7 @@ "property": [ { "name": "assignedSlot", - "readonly": true, + "read-only": "1", "override-type": "HTMLSlotElement | null" } ] @@ -1747,9 +1766,6 @@ "name": "HTMLSlotElement", "extends": "HTMLElement", "flavor": "Web", - "tagNames": [ - "slot" - ], "properties": { "property": [ { @@ -1767,7 +1783,13 @@ ] } ] - } + }, + "no-interface-object": "1", + "element": [ + { + "name": "slot" + } + ] }, "AssignedNodesOptions": { "name": "AssignedNodesOptions", @@ -1775,22 +1797,13 @@ "properties": { "property": [ { - "name": "flatten?", - "override-type": "boolean" - } - ] - } - }, - "EventInit": { - "name": "EventInit", - "properties": { - "property": [ - { - "name": "scoped?", - "override-type": "boolean" + "name": "flatten", + "override-type": "boolean", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "Event": { "name": "Event", @@ -1798,7 +1811,7 @@ "property": [ { "name": "scoped", - "readonly": true, + "read-only": "1", "override-type": "boolean" } ] @@ -1824,7 +1837,8 @@ "override-type": "string" } ] - } + }, + "no-interface-object": "1" }, "ElementCreationOptions": { "name": "ElementCreationOptions", @@ -1832,11 +1846,13 @@ "properties": { "property": [ { - "name": "is?", - "override-type": "string" + "name": "is", + "override-type": "string", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "CustomElementRegistry": { "name": "CustomElementRegistry", @@ -1862,7 +1878,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "PromiseRejectionEvent": { "name": "PromiseRejectionEvent", @@ -1872,16 +1889,17 @@ "property": [ { "name": "promise", - "readonly": true, + "read-only": "1", "override-type": "PromiseLike" }, { "name": "reason", - "readonly": true, + "read-only": "1", "override-type": "any" } ] - } + }, + "no-interface-object": "1" }, "PromiseRejectionEventInit": { "name": "PromiseRejectionEventInit", @@ -1894,24 +1912,13 @@ "override-type": "PromiseLike" }, { - "name": "reason?", - "override-type": "any" - } - ] - } - }, - "Body": { - "name": "Body", - "methods": { - "method": [ - { - "name": "formData", - "override-signatures": [ - "formData(): Promise" - ] + "name": "reason", + "override-type": "any", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "FormData": { "name": "FormData", @@ -1919,30 +1926,35 @@ "method": [ { "name": "delete", + "flavor": "Web", "override-signatures": [ "delete(name: string): void" ] }, { "name": "get", + "flavor": "Web", "override-signatures": [ "get(name: string): FormDataEntryValue | null" ] }, { "name": "getAll", + "flavor": "Web", "override-signatures": [ "getAll(name: string): FormDataEntryValue[]" ] }, { "name": "has", + "flavor": "Web", "override-signatures": [ "has(name: string): boolean" ] }, { "name": "set", + "flavor": "Web", "override-signatures": [ "set(name: string, value: string | Blob, fileName?: string): void" ] @@ -1955,11 +1967,13 @@ "properties": { "property": [ { - "name": "capture?", - "override-type": "boolean" + "name": "capture", + "override-type": "boolean", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "AddEventListenerOptions": { "name": "AddEventListenerOptions", @@ -1967,15 +1981,18 @@ "properties": { "property": [ { - "name": "passive?", - "override-type": "boolean" + "name": "passive", + "override-type": "boolean", + "required": "false" }, { - "name": "once?", - "override-type": "boolean" + "name": "once", + "override-type": "boolean", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "TouchEventInit": { "name": "TouchEventInit", @@ -1984,30 +2001,23 @@ "properties": { "property": [ { - "name": "touches?", - "override-type": "Touch[]" + "name": "touches", + "override-type": "Touch[]", + "required": "false" }, { - "name": "targetTouches?", - "override-type": "Touch[]" + "name": "targetTouches", + "override-type": "Touch[]", + "required": "false" }, { - "name": "changedTouches?", - "override-type": "Touch[]" - } - ] - } - }, - "IntersectionObserverEntryInit": { - "name": "IntersectionObserverEntryInit", - "properties": { - "property": [ - { - "name": "isIntersecting", - "override-type": "boolean" + "name": "changedTouches", + "override-type": "Touch[]", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "IntersectionObserverEntry": { "name": "IntersectionObserverEntry", @@ -2015,7 +2025,7 @@ "property": [ { "name": "isIntersecting", - "readonly": true, + "read-only": "1", "override-type": "boolean" } ] @@ -2028,7 +2038,7 @@ { "name": "tooShort", "flavor": "Web", - "readonly": true, + "read-only": "1", "override-type": "boolean" } ] @@ -2082,7 +2092,7 @@ "property": [ { "name": "redirected", - "readonly": true, + "read-only": "1", "override-type": "boolean" } ] @@ -2127,42 +2137,42 @@ "property": [ { "name": "bottom", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "height", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "left", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "right", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "top", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "width", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "x", - "readonly": true, + "read-only": "1", "override-type": "number" }, { "name": "y", - "readonly": true, + "read-only": "1", "override-type": "number" } ] @@ -2178,31 +2188,34 @@ "properties": { "property": [ { - "readonly": true, "name": "MIN_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "MAX_EXT", + "read-only": "1", "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "EXT_frag_depth": { "name": "EXT_frag_depth", "flavor": "Web", "properties": { "property": [] - } + }, + "no-interface-object": "1" }, "EXT_shader_texture_lod": { "name": "EXT_shader_texture_lod", "flavor": "Web", "properties": { "property": [] - } + }, + "no-interface-object": "1" }, "EXT_sRGB": { "name": "EXT_sRGB", @@ -2210,27 +2223,28 @@ "properties": { "property": [ { - "readonly": true, "name": "SRGB_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "SRGB_ALPHA_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "SRGB8_ALPHA8_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", + "read-only": "1", "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "DOMRect": { "name": "DOMRect", @@ -2268,18 +2282,11 @@ "property": [ { "name": "length", - "readonly": true, + "read-only": "1", "override-type": "number" } ] }, - "indexer": [ - { - "signatures": [ - "[index: number]: DOMRect" - ] - } - ], "methods": { "method": [ { @@ -2289,7 +2296,11 @@ ] } ] - } + }, + "no-interface-object": "1", + "overide-index-signatures": [ + "[index: number]: DOMRect" + ] }, "HTMLFormElement": { "name": "HTMLFormElement", @@ -2297,12 +2308,14 @@ "method": [ { "name": "reportValidity", + "flavor": "Web", "override-signatures": [ "reportValidity(): boolean" ] }, { "name": "reportValidity", + "flavor": "Web", "override-signatures": [ "reportValidity(): boolean" ] @@ -2316,8 +2329,8 @@ "properties": { "property": [ { - "readonly": true, "name": "VERTEX_ARRAY_BINDING_OES", + "read-only": "1", "override-type": "number" } ] @@ -2349,14 +2362,16 @@ ] } ] - } + }, + "no-interface-object": "1" }, "WebGLVertexArrayObjectOES": { "name": "WebGLVertexArrayObjectOES", "flavor": "Web", "properties": { "property": [] - } + }, + "no-interface-object": "1" }, "WEBGL_color_buffer_float": { "name": "WEBGL_color_buffer_float", @@ -2364,27 +2379,28 @@ "properties": { "property": [ { - "readonly": true, "name": "RGBA32F_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "RGB32F_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "UNSIGNED_NORMALIZED_EXT", + "read-only": "1", "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "WEBGL_compressed_texture_astc": { "name": "WEBGL_compressed_texture_astc", @@ -2392,143 +2408,143 @@ "properties": { "property": [ { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_4x4_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_5x4_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_5x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_6x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_6x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_8x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_8x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_8x8_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_10x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_10x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_10x8_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_10x10_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_12x10_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_RGBA_ASTC_12x12_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", + "read-only": "1", "override-type": "number" } ] @@ -2542,7 +2558,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "WEBGL_compressed_texture_s3tc_srgb": { "name": "WEBGL_compressed_texture_s3tc_srgb", @@ -2550,27 +2567,28 @@ "properties": { "property": [ { - "readonly": true, "name": "COMPRESSED_SRGB_S3TC_DXT1_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", + "read-only": "1", "override-type": "number" } ] - } + }, + "no-interface-object": "1" }, "WEBGL_debug_shaders": { "name": "WEBGL_debug_shaders", @@ -2584,7 +2602,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "WEBGL_draw_buffers": { "name": "WEBGL_draw_buffers", @@ -2592,173 +2611,173 @@ "properties": { "property": [ { - "readonly": true, "name": "COLOR_ATTACHMENT0_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT1_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT2_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT3_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT4_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT5_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT6_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT7_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT8_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT9_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT10_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT11_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT12_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT13_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT14_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "COLOR_ATTACHMENT15_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER0_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER1_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER2_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER3_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER4_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER5_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER6_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER7_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER8_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER9_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER10_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER11_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER12_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER13_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER14_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "DRAW_BUFFER15_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "MAX_COLOR_ATTACHMENTS_WEBGL", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "MAX_DRAW_BUFFERS_WEBGL", + "read-only": "1", "override-type": "number" } ] @@ -2772,7 +2791,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "WEBGL_lose_context": { "name": "WEBGL_lose_context", @@ -2792,15 +2812,16 @@ ] } ] - } + }, + "no-interface-object": "1" }, "HTMLLabelElement": { "name": "HTMLLabelElement", "properties": { "property": [ { - "readonly": true, "name": "control", + "read-only": "1", "override-type": "HTMLInputElement | null" } ] @@ -2822,8 +2843,8 @@ "properties": { "property": [ { - "readonly": true, "name": "lastModified", + "read-only": "1", "override-type": "number" } ] @@ -2834,8 +2855,8 @@ "properties": { "property": [ { - "readonly": true, "name": "signal", + "read-only": "1", "override-type": "AbortSignal" } ] @@ -2860,8 +2881,8 @@ "properties": { "property": [ { - "readonly": true, "name": "aborted", + "read-only": "1", "override-type": "boolean" }, { @@ -2869,26 +2890,16 @@ "override-type": "(ev: Event) => any" } ] - } + }, + "no-interface-object": "1" }, "Request": { "name": "Request", "properties": { "property": [ { - "readonly": true, "name": "signal", - "override-type": "AbortSignal" - } - ] - } - }, - "RequestInit": { - "name": "RequestInit", - "properties": { - "property": [ - { - "name": "signal?", + "read-only": "1", "override-type": "AbortSignal" } ] @@ -2900,33 +2911,33 @@ "properties": { "property": [ { - "readonly": true, "name": "url", + "read-only": "1", "override-type": "string" }, { - "readonly": true, "name": "withCredentials", + "read-only": "1", "override-type": "boolean" }, { - "readonly": true, "name": "CONNECTING", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "OPEN", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "CLOSED", + "read-only": "1", "override-type": "number" }, { - "readonly": true, "name": "readyState", + "read-only": "1", "override-type": "number" }, { @@ -2962,12 +2973,13 @@ "properties": { "property": [ { - "readonly": true, "name": "withCredentials", + "read-only": "1", "override-type": "boolean" } ] - } + }, + "no-interface-object": "1" }, "AnimationKeyFrame": { "flavor": "Web", @@ -2975,21 +2987,20 @@ "properties": { "property": [ { - "name": "offset?", - "override-type": "number | null | (number | null)[]" + "name": "offset", + "override-type": "number | null | (number | null)[]", + "required": "false" }, { - "name": "easing?", - "override-type": "string | string[]" + "name": "easing", + "override-type": "string | string[]", + "required": "false" } ] }, - "indexer": [ - { - "signatures": [ - "[index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined" - ] - } + "no-interface-object": "1", + "overide-index-signatures": [ + "[index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined" ] }, "AnimationOptions": { @@ -2998,43 +3009,53 @@ "properties": { "property": [ { - "name": "id?", - "override-type": "string" + "name": "id", + "override-type": "string", + "required": "false" }, { - "name": "delay?", - "override-type": "number" + "name": "delay", + "override-type": "number", + "required": "false" }, { - "name": "direction?", - "override-type": "\"normal\" | \"reverse\" | \"alternate\" | \"alternate-reverse\"" + "name": "direction", + "override-type": "\"normal\" | \"reverse\" | \"alternate\" | \"alternate-reverse\"", + "required": "false" }, { - "name": "duration?", - "override-type": "number" + "name": "duration", + "override-type": "number", + "required": "false" }, { - "name": "easing?", - "override-type": "string" + "name": "easing", + "override-type": "string", + "required": "false" }, { - "name": "endDelay?", - "override-type": "number" + "name": "endDelay", + "override-type": "number", + "required": "false" }, { - "name": "fill?", - "override-type": "\"none\" | \"forwards\" | \"backwards\" | \"both\"| \"auto\"" + "name": "fill", + "override-type": "\"none\" | \"forwards\" | \"backwards\" | \"both\"| \"auto\"", + "required": "false" }, { - "name": "iterationStart?", - "override-type": "number" + "name": "iterationStart", + "override-type": "number", + "required": "false" }, { - "name": "iterations?", - "override-type": "number" + "name": "iterations", + "override-type": "number", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "AnimationTimeline": { "flavor": "Web", @@ -3042,12 +3063,13 @@ "properties": { "property": [ { - "readonly": true, "name": "currentTime", + "read-only": "1", "override-type": "number | null" } ] - } + }, + "no-interface-object": "1" }, "ComputedTimingProperties": { "flavor": "Web", @@ -3075,7 +3097,8 @@ "override-type": "number | null" } ] - } + }, + "no-interface-object": "1" }, "AnimationEffectReadOnly": { "flavor": "Web", @@ -3083,8 +3106,8 @@ "properties": { "property": [ { - "readonly": true, "name": "timing", + "read-only": "1", "override-type": "number" } ] @@ -3098,7 +3121,8 @@ ] } ] - } + }, + "no-interface-object": "1" }, "AnimationPlaybackEventInit": { "flavor": "Web", @@ -3107,15 +3131,18 @@ "properties": { "property": [ { - "name": "currentTime?", - "override-type": "number | null" + "name": "currentTime", + "override-type": "number | null", + "required": "false" }, { - "name": "timelineTime?", - "override-type": "number | null" + "name": "timelineTime", + "override-type": "number | null", + "required": "false" } ] - } + }, + "no-interface-object": "1" }, "AnimationPlaybackEvent": { "flavor": "Web", @@ -3124,13 +3151,13 @@ "properties": { "property": [ { - "readonly": true, "name": "currentTime", + "read-only": "1", "override-type": "number | null" }, { - "readonly": true, "name": "timelineTime", + "read-only": "1", "override-type": "number | null" } ] @@ -3153,8 +3180,8 @@ "override-type": "AnimationEffectReadOnly" }, { - "readonly": true, "name": "finished", + "read-only": "1", "override-type": "Promise" }, { @@ -3162,13 +3189,13 @@ "override-type": "string" }, { - "readonly": true, "name": "pending", + "read-only": "1", "override-type": "boolean" }, { - "readonly": true, "name": "playState", + "read-only": "1", "override-type": "\"idle\" | \"running\" | \"paused\" | \"finished\"" }, { @@ -3176,8 +3203,8 @@ "override-type": "number" }, { - "readonly": true, "name": "ready", + "read-only": "1", "override-type": "Promise" }, { @@ -3274,47 +3301,208 @@ } } }, + "dictionaries": { + "dictionary": { + "ErrorEventInit": { + "name": "ErrorEventInit", + "no-interface-object": "1", + "members": { + "member": [ + { + "name": "message", + "override-type": "string", + "required": "false" + }, + { + "name": "filename", + "override-type": "string", + "required": "false" + }, + { + "name": "lineno", + "override-type": "number", + "required": "false" + }, + { + "name": "conlno", + "override-type": "number", + "required": "false" + }, + { + "name": "error", + "override-type": "any", + "required": "false" + } + ] + } + }, + "IDBObjectStoreParameters": { + "name": "IDBObjectStoreParameters", + "members": { + "member": [ + { + "name": "autoIncrement", + "override-type": "boolean", + "required": "false" + } + ] + } + }, + "IDBIndexParameters": { + "name": "IDBIndexParameters", + "members": { + "member": [ + { + "name": "multiEntry", + "override-type": "boolean", + "required": "false" + } + ] + } + }, + "MessageEventInit": { + "name": "MessageEventInit", + "members": { + "member": [ + { + "name": "lastEventId", + "override-type": "string", + "required": "false" + }, + { + "name": "channel", + "override-type": "string", + "required": "false" + } + ] + } + }, + "ProgressEventInit": { + "name": "ProgressEventInit", + "extends": "EventInit", + "no-interface-object": "1", + "members": { + "member": [ + { + "name": "lengthComputable", + "override-type": "boolean", + "required": "false" + }, + { + "name": "loaded", + "override-type": "number", + "required": "false" + }, + { + "name": "total", + "override-type": "number", + "required": "false" + } + ] + } + }, + "WebGLContextAttributes": { + "name": "WebGLContextAttributes", + "members": { + "member": [ + { + "name": "failIfMajorPerformanceCaveat", + "override-type": "boolean", + "required": "false" + } + ] + } + }, + "KeyboardEventInit": { + "name": "KeyboardEventInit", + "members": { + "member": [ + { + "name": "code", + "override-type": "string", + "required": "false" + } + ] + } + }, + "EventInit": { + "name": "EventInit", + "members": { + "member": [ + { + "name": "scoped", + "override-type": "boolean", + "required": "false" + } + ] + } + }, + "IntersectionObserverEntryInit": { + "name": "IntersectionObserverEntryInit", + "members": { + "member": [ + { + "name": "isIntersecting", + "override-type": "boolean" + } + ] + } + }, + "RequestInit": { + "name": "RequestInit", + "members": { + "member": [ + { + "name": "signal", + "override-type": "AbortSignal", + "required": "false" + } + ] + } + } + } + }, "typedefs": { "typedef": [ { - "new-type": "\"auto\" | \"instant\" | \"smooth\"", - "type": "ScrollBehavior" + "override-type": "\"auto\" | \"instant\" | \"smooth\"", + "new-type": "ScrollBehavior" }, { - "new-type": "\"start\" | \"center\" | \"end\" | \"nearest\"", - "type": "ScrollLogicalPosition" + "override-type": "\"start\" | \"center\" | \"end\" | \"nearest\"", + "new-type": "ScrollLogicalPosition" }, { - "new-type": "number | string | Date | IDBArrayKey", - "type": "IDBValidKey" + "override-type": "number | string | Date | IDBArrayKey", + "new-type": "IDBValidKey" }, { - "new-type": "ArrayBuffer | ArrayBufferView", - "type": "BufferSource" + "override-type": "ArrayBuffer | ArrayBufferView", + "new-type": "BufferSource" }, { - "new-type": "WheelEvent", - "type": "MouseWheelEvent" + "override-type": "WheelEvent", + "new-type": "MouseWheelEvent" }, { - "new-type": "\"auto\" | \"manual\"", - "type": "ScrollRestoration" + "override-type": "\"auto\" | \"manual\"", + "new-type": "ScrollRestoration" }, { - "new-type": "string | File", - "type": "FormDataEntryValue" + "override-type": "string | File", + "new-type": "FormDataEntryValue" }, { - "new-type": "\"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\"", - "type": "InsertPosition" + "override-type": "\"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\"", + "new-type": "InsertPosition" }, { - "new-type": "Headers | string[][] | { [key: string]: string }", - "type": "HeadersInit" + "override-type": "Headers | string[][] | { [key: string]: string }", + "new-type": "HeadersInit" }, { - "new-type": "\"any\" | \"natural\" | \"portrait\" | \"landscape\" | \"portrait-primary\" | \"portrait-secondary\" | \"landscape-primary\"| \"landscape-secondary\"", - "type": "OrientationLockType" + "override-type": "\"any\" | \"natural\" | \"portrait\" | \"landscape\" | \"portrait-primary\" | \"portrait-secondary\" | \"landscape-primary\"| \"landscape-secondary\"", + "new-type": "OrientationLockType" } ] } diff --git a/types.d.ts b/types.d.ts index 7ac0f1d2f..970458b1c 100644 --- a/types.d.ts +++ b/types.d.ts @@ -12,6 +12,7 @@ export type Member = { "nullable"?: string; "type-original"?: string; "required"?: string; + "override-type"?: string; }; export type Property = { @@ -46,6 +47,7 @@ export type Property = { "static"?: string; "comment"?: string; "override-type"?: string; + "required"?: string; }; export type Event = { @@ -87,6 +89,7 @@ export type CallbackFunction = { export type Constructor = { "param"?: Param[]; + "comment"?: string; }; export type NamedConstructor = { @@ -149,6 +152,8 @@ export type Interface = { "no-interface-object"?: string; "global"?: string; "type-parameters"?: string[]; + "override-constructor-signatures"?: string[]; + "overide-index-signatures"?: string[]; }; export type Enum = { @@ -159,6 +164,7 @@ export type Enum = { export type TypeDef = { "new-type": string; "type": string; + "override-type"?: string; }; export type Dictionary = { From 0c0e1582bb243941c7ce6621746051ce3db7cbe9 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 10:19:51 -0800 Subject: [PATCH 13/93] Add support for removign items --- index.ts | 48 ++++++++++++++++- inputfiles/json/removedTypes.json | 88 +++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 inputfiles/json/removedTypes.json diff --git a/index.ts b/index.ts index c30b9b661..4e4ba8a21 100644 --- a/index.ts +++ b/index.ts @@ -47,9 +47,10 @@ type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: str // let overriddenItems = JSON.parse(fs.readFileSync(inputFolder + "/overridingTypes.json").toString()); -// let removedItems = JSON.parse(fs.readFileSync(inputFolder + "/removedTypes.json").toString()); + let addedItems = require(inputFolder + "/addedTypes.json"); let comments = require(inputFolder + "/comments.json"); +let removedItems = require(inputFolder + "/removedTypes.json"); /// Parse the xml input file let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.xml.json").toString()); @@ -65,6 +66,7 @@ type InterfaceCommentItem = { Property: Record; Method: Record(src: T, target: T, mode: "add" | "update"): T { return src; } +function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { + if (template.interfaces && obj.interfaces) { + pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); + } + if (template["callback-interfaces"] && obj["callback-interfaces"]) { + pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); + } + if (template.typedefs && obj.typedefs) { + obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); + } + + return obj; + + function pruneInterfaces(obj: Record, template: Record) { + for (const i in template) { + if (obj[i]) { + if (!template[i].properties && !template[i].methods) { + delete obj[i]; + } + if (template[i].properties && obj[i].properties) { + obj[i].properties!.property = pruneKeyedArray(obj[i].properties!.property, template[i].properties!.property, "name"); + if (obj[i].properties!.property.length === 0) { + delete obj[i].properties; + } + } + if (template[i].methods && obj[i].methods) { + obj[i].methods!.method = pruneKeyedArray(obj[i].methods!.method, template[i].methods!.method, "name"); + if (obj[i].methods!.method.length === 0) { + delete obj[i].methods; + } + } + } + } + } + + function pruneKeyedArray(obj: T[], template: T[], k: K) { + const map: any = {}; + for (const e of template) { + map[e[k]] = true; + } + return obj.filter(e => !map[e[k]]); + } +} + let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixin-interfaces"], "interface")); let allWebInterfaces = concat(getElements(browser.interfaces, "interface"), diff --git a/inputfiles/json/removedTypes.json b/inputfiles/json/removedTypes.json new file mode 100644 index 000000000..86142eb10 --- /dev/null +++ b/inputfiles/json/removedTypes.json @@ -0,0 +1,88 @@ +{ + "mixin-interfaces": { + "interface": {} + }, + "callback-interfaces": { + "interface": { + "WebKitEntriesCallback": { + "name": "WebKitEntriesCallback", + "flavor": "Worker" + } + } + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": { + "HTMLElement": { + "name": "HTMLElement", + "methods": { + "method": [ + { + "name": "getElementsByClassName" + }, + { + "name": "contains" + }, + { + "name": "scrollIntoView" + }, + { + "name": "insertAdjacentElement" + }, + { + "name": "insertAdjacentHTML" + }, + { + "name": "insertAdjacentText" + } + ] + }, + "properties": { + "property": [ + { + "name": "id" + }, + { + "name": "className" + } + ] + } + }, + "StorageEvent": { + "name": "StorageEvent", + "methods": { + "method": [ + { + "name": "initStorageEvent" + } + ] + } + }, + "HTMLObjectElement": { + "name": "HTMLObjectElement", + "properties": { + "property": [ + { + "name": "alt" + } + ] + } + } + } + }, + "dictionaries": { + "dictionary": {} + }, + "typedefs": { + "typedef": [ + { + "new-type": "JSON" + }, + { + "new-type": "HeadersInit" + } + ] + } +} \ No newline at end of file From c3f0346f75af40fec5b61e2d5d611abdadef0bda Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 11:58:19 -0800 Subject: [PATCH 14/93] Add support of overriding definitons --- index.ts | 14 +- inputfiles/json/overridingTypes.json | 1937 ++++++++++++++++++++++++++ 2 files changed, 1944 insertions(+), 7 deletions(-) create mode 100644 inputfiles/json/overridingTypes.json diff --git a/index.ts b/index.ts index 4e4ba8a21..b167bb660 100644 --- a/index.ts +++ b/index.ts @@ -46,8 +46,7 @@ enum Flavor { type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: string[] }; -// let overriddenItems = JSON.parse(fs.readFileSync(inputFolder + "/overridingTypes.json").toString()); - +let overriddenItems = require(inputFolder + "/overridingTypes.json"); let addedItems = require(inputFolder + "/addedTypes.json"); let comments = require(inputFolder + "/comments.json"); let removedItems = require(inputFolder + "/removedTypes.json"); @@ -65,6 +64,7 @@ type InterfaceCommentItem = { Property: Record; Method: Record(src: T, target: T, mode: "add" | "update"): T { } } else { - if (typeof target[k] !== "object" || mode === "add") { + if (typeof target[k] !== "object" || Array.isArray(target[k]) || mode === "add") { src[k] = target[k]; } } @@ -352,7 +352,7 @@ function GetPublicInterfacesByFlavor(flavor: Flavor) { } function GetCallbackFuncsByFlavor(flavor: Flavor) { - return browser["callback-functions"] ?getElements(browser["callback-functions"],"callback-function").filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; + return browser["callback-functions"] ? getElements(browser["callback-functions"], "callback-function").filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; } function GetEnumsByFlavor(flavor: Flavor) { @@ -775,7 +775,7 @@ namespace Emit { stack = []; } - function writeLine() { + function writeLine() { if (!lineStart) { output += newLine; lineStart = true; @@ -1109,7 +1109,7 @@ namespace Emit { pType = DomTypeToTsType(p.type); } } - let requiredModifier = !p.required || p.required === "1" ? "" : "?"; + let requiredModifier = !p.required || p.required === "1" ? "" : "?"; pType = p.nullable ? makeNullable(pType) : pType; let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); @@ -1633,7 +1633,7 @@ namespace Emit { Pt.Printl("/////////////////////////////"); Pt.Printl(""); - getElements(browser.interfaces,"interface").forEach(EmitIterator); + getElements(browser.interfaces, "interface").forEach(EmitIterator); fs.writeFileSync(target, Pt.GetResult()); } diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/json/overridingTypes.json new file mode 100644 index 000000000..f71c1fe12 --- /dev/null +++ b/inputfiles/json/overridingTypes.json @@ -0,0 +1,1937 @@ +{ + "mixin-interfaces": { + "interface": { + "XMLHttpRequestEventTarget": { + "name": "XMLHttpRequestEventTarget", + "properties": { + "property": [ + { + "name": "onload", + "override-type": "(this: XMLHttpRequest, ev: Event) => any" + }, + { + "name": "onabort", + "override-type": "(this: XMLHttpRequest, ev: Event) => any" + }, + { + "name": "onerror", + "override-type": "(this: XMLHttpRequest, ev: ErrorEvent) => any" + }, + { + "name": "onloadend", + "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" + }, + { + "name": "onloadstart", + "override-type": "(this: XMLHttpRequest, ev: Event) => any" + }, + { + "name": "onprogress", + "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" + }, + { + "name": "onprogress", + "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" + }, + { + "name": "ontimeout", + "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" + } + ] + } + }, + "ElementTraversal": { + "name": "ElementTraversal", + "properties": { + "property": [ + { + "name": "firstElementChild", + "read-only": "1", + "override-type": "Element | null" + }, + { + "name": "lastElementChild", + "read-only": "1", + "override-type": "Element | null" + }, + { + "name": "nextElementSibling", + "read-only": "1", + "override-type": "Element | null" + }, + { + "name": "previousElementSibling", + "read-only": "1", + "override-type": "Element | null" + } + ] + } + }, + "RandomSource": { + "name": "RandomSource", + "methods": { + "method": [ + { + "name": "getRandomValues", + "override-signatures": [ + "getRandomValues(array: T): T" + ] + } + ] + } + } + } + }, + "callback-functions": { + "callback-function": {} + }, + "callback-interfaces": { + "interface": {} + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": { + "undefined": { + "interface": "CustomEventInit", + "no-interface-object": "1", + "properties": { + "property": [ + { + "name": "documentElement", + "override-type": "HTMLElement" + }, + { + "name": "ontouchcancel", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchend", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchmove", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchstart", + "override-type": "(ev: TouchEvent) => any" + } + ] + }, + "methods": { + "method": [ + { + "name": "alert", + "override-signatures": [ + "alert(message?: any): void" + ] + }, + { + "name": "getElementsByTagNameNS", + "override-signatures": [ + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" + ] + }, + { + "name": "getElementsByClassName", + "override-signatures": [ + "getElementsByClassName(classNames: string): HTMLCollectionOf" + ] + }, + { + "name": "getElementsByName", + "override-signatures": [ + "getElementsByName(elementName: string): NodeListOf" + ] + }, + { + "name": "setTimeout", + "override-signatures": [ + "setTimeout(handler: (...args: any[]) => void, timeout: number): number", + "setTimeout(handler: any, timeout?: any, ...args: any[]): number" + ] + }, + { + "name": "setImmediate", + "override-signatures": [ + "setImmediate(handler: (...args: any[]) => void): number", + "setImmediate(handler: any, ...args: any[]): number" + ] + }, + { + "name": "setInterval", + "override-signatures": [ + "setInterval(handler: (...args: any[]) => void, timeout: number): number", + "setInterval(handler: any, timeout?: any, ...args: any[]): number" + ] + } + ] + }, + "type-parameters": [ + "T = any" + ] + }, + "CustomEvent": { + "name": "CustomEvent", + "properties": { + "property": [ + { + "name": "detail", + "read-only": "1", + "override-type": "T" + } + ] + }, + "methods": { + "method": [ + { + "name": "initCustomEvent", + "override-signatures": [ + "initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void" + ] + } + ] + }, + "type-parameters": [ + "T = any" + ] + }, + "Response": { + "name": "Response", + "override-constructor-signatures": [ + "new(body?: any, init?: ResponseInit): Response", + "error: () => Response", + "redirect: (url: string, status?: number) => Response" + ] + }, + "ErrorEvent": { + "name": "ErrorEvent", + "override-constructor-signatures": [ + "new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent" + ] + }, + "Window": { + "name": "Window", + "properties": { + "property": [ + { + "name": "event", + "override-type": "Event | undefined" + }, + { + "name": "orientation", + "override-type": "string | number" + }, + { + "name": "opener", + "override-type": "any" + } + ] + }, + "methods": { + "method": [ + { + "name": "open", + "override-signatures": [ + "open(url?: string, target?: string, features?: string, replace?: boolean): Window | null" + ] + } + ] + } + }, + "Document": { + "name": "Document", + "methods": { + "method": [ + { + "name": "adoptNode", + "override-signatures": [ + "adoptNode(source: T): T" + ] + }, + { + "name": "importNode", + "override-signatures": [ + "importNode(importedNode: T, deep: boolean): T" + ] + }, + { + "name": "open", + "override-signatures": [ + "open(url?: string, name?: string, features?: string, replace?: boolean): Document" + ] + }, + { + "name": "getElementById", + "override-signatures": [ + "getElementById(elementId: string): HTMLElement | null" + ] + }, + { + "name": "msElementsFromRect", + "override-signatures": [ + "msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf" + ] + }, + { + "name": "msElementsFromPoint", + "override-signatures": [ + "msElementsFromPoint(x: number, y: number): NodeListOf" + ] + }, + { + "name": "evaluate", + "override-signatures": [ + "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "currentScript", + "read-only": "1", + "override-type": "HTMLScriptElement | SVGScriptElement | null" + }, + { + "name": "anchors", + "override-type": "HTMLCollectionOf" + }, + { + "name": "applets", + "override-type": "HTMLCollectionOf" + }, + { + "name": "embeds", + "override-type": "HTMLCollectionOf" + }, + { + "name": "forms", + "override-type": "HTMLCollectionOf" + }, + { + "name": "images", + "override-type": "HTMLCollectionOf" + }, + { + "name": "links", + "override-type": "HTMLCollectionOf" + }, + { + "name": "plugins", + "override-type": "HTMLCollectionOf" + }, + { + "name": "scripts", + "override-type": "HTMLCollectionOf" + } + ] + }, + "extends": "Node, GlobalEventHandlers, NodeSelector, DocumentEvent, ParentNode, DocumentOrShadowRoot" + }, + "Node": { + "name": "Node", + "methods": { + "method": [ + { + "name": "appendChild", + "override-signatures": [ + "appendChild(newChild: T): T" + ] + }, + { + "name": "insertBefore", + "override-signatures": [ + "insertBefore(newChild: T, refChild: Node | null): T" + ] + }, + { + "name": "removeChild", + "override-signatures": [ + "removeChild(oldChild: T): T" + ] + }, + { + "name": "replaceChild", + "override-signatures": [ + "replaceChild(newChild: Node, oldChild: T): T" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "firstChild", + "read-only": "1", + "override-type": "Node | null" + }, + { + "name": "lastChild", + "read-only": "1", + "override-type": "Node | null" + }, + { + "name": "nextSibling", + "read-only": "1", + "override-type": "Node | null" + }, + { + "name": "previousSibling", + "read-only": "1", + "override-type": "Node | null" + }, + { + "name": "parentNode", + "read-only": "1", + "override-type": "Node | null" + }, + { + "name": "parentElement", + "read-only": "1", + "override-type": "HTMLElement | null" + } + ] + } + }, + "HTMLCollection": { + "name": "HTMLCollection", + "methods": { + "method": [ + { + "name": "item", + "override-signatures": [ + "item(index: number): Element" + ] + } + ] + } + }, + "IDBObjectStore": { + "name": "IDBObjectStore", + "methods": { + "method": [ + { + "name": "createIndex", + "override-signatures": [ + "createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex" + ] + }, + { + "name": "openCursor", + "override-signatures": [ + "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + ] + }, + { + "name": "add", + "override-signatures": [ + "add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" + ] + }, + { + "name": "count", + "override-signatures": [ + "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" + ] + }, + { + "name": "delete", + "override-signatures": [ + "delete(key: IDBKeyRange | IDBValidKey): IDBRequest" + ] + }, + { + "name": "put", + "override-signatures": [ + "put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "keyPath", + "override-type": "string | string[]" + } + ] + } + }, + "IDBIndex": { + "name": "IDBIndex", + "properties": { + "property": [ + { + "name": "keyPath", + "override-type": "string | string[]" + } + ] + }, + "methods": { + "method": [ + { + "name": "openCursor", + "override-signatures": [ + "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + ] + }, + { + "name": "openKeyCursor", + "override-signatures": [ + "openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + ] + }, + { + "name": "count", + "override-signatures": [ + "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" + ] + }, + { + "name": "get", + "override-signatures": [ + "get(key: IDBKeyRange | IDBValidKey): IDBRequest" + ] + }, + { + "name": "getKey", + "override-signatures": [ + "getKey(key: IDBKeyRange | IDBValidKey): IDBRequest" + ] + } + ] + } + }, + "IDBDatabase": { + "name": "IDBDatabase", + "methods": { + "method": [ + { + "name": "createObjectStore", + "override-signatures": [ + "createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore" + ] + }, + { + "name": "transaction", + "override-signatures": [ + "transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "version", + "override-type": "number" + } + ] + } + }, + "CanvasRenderingContext2D": { + "name": "CanvasRenderingContext2D", + "methods": { + "method": [ + { + "name": "drawImage", + "override-signatures": [ + "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void", + "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number, dstW: number, dstH: number): void", + "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void" + ] + }, + { + "name": "clip", + "override-signatures": [ + "clip(fillRule?: CanvasFillRule): void", + "clip(path: Path2D, fillRule?: CanvasFillRule): void" + ] + }, + { + "name": "fill", + "override-signatures": [ + "fill(fillRule?: CanvasFillRule): void", + "fill(path: Path2D, fillRule?: CanvasFillRule): void" + ] + }, + { + "name": "isPointInPath", + "override-signatures": [ + "isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean", + "isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" + ] + }, + { + "name": "isPointInStroke", + "override-signatures": [ + "isPointInStroke(x: number, y: number, fillRule?: CanvasFillRule): boolean", + "isPointInStroke(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "fillStyle", + "override-type": "string | CanvasGradient | CanvasPattern" + }, + { + "name": "strokeStyle", + "override-type": "string | CanvasGradient | CanvasPattern" + } + ] + } + }, + "WebGLRenderingContext": { + "name": "WebGLRenderingContext", + "methods": { + "method": [ + { + "name": "texSubImage2D", + "override-signatures": [ + "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void", + "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" + ] + }, + { + "name": "texImage2D", + "override-signatures": [ + "texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void", + "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" + ] + }, + { + "name": "pixelStorei", + "override-signatures": [ + "pixelStorei(pname: number, param: number | boolean): void" + ] + }, + { + "name": "uniform1fv", + "override-signatures": [ + "uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniform2fv", + "override-signatures": [ + "uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniform3fv", + "override-signatures": [ + "uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniform4fv", + "override-signatures": [ + "uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniform1iv", + "override-signatures": [ + "uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" + ] + }, + { + "name": "uniform2iv", + "override-signatures": [ + "uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" + ] + }, + { + "name": "uniform3iv", + "override-signatures": [ + "uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" + ] + }, + { + "name": "uniform4iv", + "override-signatures": [ + "uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" + ] + }, + { + "name": "uniformMatrix2fv", + "override-signatures": [ + "uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniformMatrix3fv", + "override-signatures": [ + "uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" + ] + }, + { + "name": "uniformMatrix4fv", + "override-signatures": [ + "uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" + ] + }, + { + "name": "vertexAttrib1fv", + "override-signatures": [ + "vertexAttrib1fv(indx: number, values: Float32Array | number[]): void" + ] + }, + { + "name": "vertexAttrib2fv", + "override-signatures": [ + "vertexAttrib2fv(indx: number, values: Float32Array | number[]): void" + ] + }, + { + "name": "vertexAttrib3fv", + "override-signatures": [ + "vertexAttrib3fv(indx: number, values: Float32Array | number[]): void" + ] + }, + { + "name": "vertexAttrib4fv", + "override-signatures": [ + "vertexAttrib4fv(indx: number, values: Float32Array | number[]): void" + ] + }, + { + "name": "getExtension", + "override-signatures": [ + "getExtension(extensionName: \"EXT_blend_minmax\"): EXT_blend_minmax | null", + "getExtension(extensionName: \"EXT_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null", + "getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null", + "getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null", + "getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null", + "getExtension(extensionName: \"OES_vertex_array_object\"): OES_vertex_array_object | null", + "getExtension(extensionName: \"WEBGL_color_buffer_float\"): WEBGL_color_buffer_float | null", + "getExtension(extensionName: \"WEBGL_compressed_texture_astc\"): WEBGL_compressed_texture_astc | null", + "getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null", + "getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | null", + "getExtension(extensionName: \"WEBGL_draw_buffers\"): WEBGL_draw_buffers | null", + "getExtension(extensionName: \"WEBGL_lose_context\"): WEBGL_lose_context | null", + "getExtension(extensionName: \"WEBGL_depth_texture\"): WEBGL_depth_texture | null", + "getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null", + "getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null", + "getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null", + "getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null", + "getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null", + "getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null", + "getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null", + "getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null", + "getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | null", + "getExtension(extensionName: string): any" + ] + } + ] + } + }, + "XMLHttpRequest": { + "name": "XMLHttpRequest", + "methods": { + "method": [ + { + "name": "send", + "webOnlySignatures": [ + "send(data?: Document): void" + ], + "override-signatures": [ + "send(data?: string): void", + "send(data?: any): void" + ] + } + ] + } + }, + "HTMLCanvasElement": { + "name": "HTMLCanvasElement", + "methods": { + "method": [ + { + "name": "getContext", + "override-signatures": [ + "getContext(contextId: \"2d\", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null", + "getContext(contextId: \"webgl\" | \"experimental-webgl\", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null", + "getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null" + ] + } + ] + } + }, + "BeforeUnloadEvent": { + "name": "BeforeUnloadEvent", + "properties": { + "property": [ + { + "name": "returnValue", + "override-type": "any" + } + ] + } + }, + "HTMLEmbedElement": { + "name": "HTMLEmbedElement", + "properties": { + "property": [ + { + "name": "hidden", + "override-type": "any" + } + ] + } + }, + "SVGStylable": { + "name": "SVGStylable", + "properties": { + "property": [ + { + "name": "className", + "override-type": "any" + } + ] + } + }, + "SVGElement": { + "name": "SVGElement", + "properties": { + "property": [ + { + "name": "className", + "override-type": "any" + } + ] + } + }, + "SVGSVGElement": { + "name": "SVGSVGElement", + "methods": { + "method": [ + { + "name": "getEnclosureList", + "override-signatures": [ + "getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" + ] + }, + { + "name": "getIntersectionList", + "override-signatures": [ + "getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" + ] + } + ] + } + }, + "Console": { + "name": "Console", + "methods": { + "method": [ + { + "name": "debug", + "override-signatures": [ + "debug(message?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "dir", + "override-signatures": [ + "dir(value?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "dirxml", + "override-signatures": [ + "dirxml(value: any): void" + ] + }, + { + "name": "error", + "override-signatures": [ + "error(message?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "info", + "override-signatures": [ + "info(message?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "log", + "override-signatures": [ + "log(message?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "warn", + "override-signatures": [ + "warn(message?: any, ...optionalParams: any[]): void" + ] + }, + { + "name": "group", + "override-signatures": [ + "group(groupTitle?: string, ...optionalParams: any[]): void" + ] + }, + { + "name": "groupCollapsed", + "override-signatures": [ + "groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void" + ] + }, + { + "name": "trace", + "override-signatures": [ + "trace(message?: any, ...optionalParams: any[]): void" + ] + } + ] + } + }, + "Blob": { + "name": "Blob", + "override-constructor-signatures": [ + "new (blobParts?: any[], options?: BlobPropertyBag): Blob" + ] + }, + "FormData": { + "name": "FormData", + "override-constructor-signatures": [ + "new (form?: HTMLFormElement): FormData" + ], + "methods": { + "method": [ + { + "name": "append", + "flavor": "Web", + "override-signatures": [ + "append(name: string, value: string | Blob, fileName?: string): void" + ] + } + ] + } + }, + "MessageEvent": { + "name": "MessageEvent", + "override-constructor-signatures": [ + "new(type: string, eventInitDict?: MessageEventInit): MessageEvent" + ] + }, + "ProgressEvent": { + "name": "ProgressEvent", + "override-constructor-signatures": [ + "new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent" + ] + }, + "File": { + "name": "File", + "override-constructor-signatures": [ + "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" + ], + "properties": { + "property": [ + { + "name": "lastModifiedDate", + "read-only": "1", + "override-type": "Date" + } + ] + } + }, + "ImageData": { + "name": "ImageData", + "override-constructor-signatures": [ + "new(width: number, height: number): ImageData", + "new(array: Uint8ClampedArray, width: number, height: number): ImageData" + ], + "properties": { + "property": [ + { + "name": "data", + "override-type": "Uint8ClampedArray" + } + ] + } + }, + "DOMException": { + "name": "DOMException", + "override-constructor-signatures": [ + "new(message?: string, name?: string): DOMException" + ] + }, + "HTMLSelectElement": { + "name": "HTMLSelectElement", + "properties": { + "property": [ + { + "name": "selectedOptions", + "override-type": "HTMLCollectionOf" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLDataListElement": { + "name": "HTMLDataListElement", + "properties": { + "property": [ + { + "name": "options", + "override-type": "HTMLCollectionOf" + } + ] + } + }, + "HTMLTableElement": { + "name": "HTMLTableElement", + "methods": { + "method": [ + { + "name": "insertRow", + "override-signatures": [ + "insertRow(index?: number): HTMLTableRowElement" + ] + }, + { + "name": "createTHead", + "override-signatures": [ + "createTHead(): HTMLTableSectionElement" + ] + }, + { + "name": "createTBody", + "override-signatures": [ + "createTBody(): HTMLTableSectionElement" + ] + }, + { + "name": "createTFoot", + "override-signatures": [ + "createTFoot(): HTMLTableSectionElement" + ] + }, + { + "name": "createCaption", + "override-signatures": [ + "createCaption(): HTMLTableCaptionElement" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "rows", + "override-type": "HTMLCollectionOf" + }, + { + "name": "tBodies", + "override-type": "HTMLCollectionOf" + } + ] + } + }, + "HTMLTableSectionElement": { + "name": "HTMLTableSectionElement", + "methods": { + "method": [ + { + "name": "insertRow", + "override-signatures": [ + "insertRow(index?: number): HTMLTableRowElement" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "rows", + "override-type": "HTMLCollectionOf" + } + ] + } + }, + "HTMLTableRowElement": { + "name": "HTMLTableRowElement", + "methods": { + "method": [ + { + "name": "insertCell", + "override-signatures": [ + "insertCell(index?: number): HTMLTableDataCellElement" + ] + } + ] + }, + "properties": { + "property": [ + { + "name": "cells", + "override-type": "HTMLCollectionOf" + } + ] + } + }, + "Element": { + "name": "Element", + "methods": { + "method": [ + { + "name": "setAttribute", + "override-signatures": [ + "setAttribute(name: string, value: string): void" + ] + }, + { + "name": "getAttribute", + "override-signatures": [ + "getAttribute(name: string): string | null" + ] + }, + { + "name": "getBoundingClientRect", + "override-signatures": [ + "getBoundingClientRect(): ClientRect | DOMRect" + ] + }, + { + "name": "getClientRects", + "override-signatures": [ + "getClientRects(): ClientRectList | DOMRectList" + ] + }, + { + "name": "getAttributeNodeNS", + "override-signatures": [ + "getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null" + ] + }, + { + "name": "getAttributeNode", + "override-signatures": [ + "getAttributeNode(name: string): Attr | null" + ] + } + ] + } + }, + "HTMLMediaElement": { + "name": "HTMLMediaElement", + "properties": { + "property": [ + { + "name": "readyState", + "override-type": "number" + } + ] + }, + "methods": { + "method": [ + { + "name": "play", + "override-signatures": [ + "play(): Promise" + ] + } + ] + } + }, + "DataTransferItemList": { + "name": "DataTransferItemList", + "methods": { + "method": [ + { + "name": "item", + "override-signatures": [ + "item(index: number): DataTransferItem" + ] + } + ] + } + }, + "StorageEvent": { + "name": "StorageEvent", + "override-constructor-signatures": [ + "new (type: string, eventInitDict?: StorageEventInit): StorageEvent" + ] + }, + "IDBCursor": { + "name": "IDBCursor", + "properties": { + "property": [ + { + "name": "source", + "override-type": "IDBObjectStore | IDBIndex" + }, + { + "name": "key", + "override-type": "IDBKeyRange | IDBValidKey" + } + ] + }, + "methods": { + "method": [ + { + "name": "continue", + "override-signatures": [ + "continue(key?: IDBKeyRange | IDBValidKey): void" + ] + } + ] + } + }, + "IDBRequest": { + "name": "IDBRequest", + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "override-type": "DOMException" + }, + { + "name": "source", + "override-type": "IDBObjectStore | IDBIndex | IDBCursor" + } + ] + } + }, + "IDBTransaction": { + "name": "IDBTransaction", + "properties": { + "property": [ + { + "name": "error", + "read-only": "1", + "override-type": "DOMException" + } + ] + } + }, + "AudioNode": { + "name": "AudioNode", + "methods": { + "method": [ + { + "name": "connect", + "override-signatures": [ + "connect(destination: AudioNode, output?: number, input?: number): AudioNode", + "connect(destination: AudioParam, output?: number): void" + ] + }, + { + "name": "disconnect", + "override-signatures": [ + "disconnect(output?: number): void", + "disconnect(destination: AudioNode, output?: number, input?: number): void", + "disconnect(destination: AudioParam, output?: number): void" + ] + } + ] + } + }, + "ClipboardEvent": { + "name": "ClipboardEvent", + "override-constructor-signatures": [ + "new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent" + ] + }, + "Storage": { + "name": "Storage", + "methods": { + "method": [ + { + "name": "getItem", + "override-signatures": [ + "getItem(key: string): string | null" + ] + }, + { + "name": "key", + "override-signatures": [ + "key(index: number): string | null" + ] + } + ] + } + }, + "HTMLOptionsCollection": { + "name": "HTMLOptionsCollection", + "extends": "HTMLCollectionOf" + }, + "SubtleCrypto": { + "name": "SubtleCrypto", + "methods": { + "method": [ + { + "name": "decrypt", + "override-signatures": [ + "decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" + ] + }, + { + "name": "deriveBits", + "override-signatures": [ + "deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike" + ] + }, + { + "name": "deriveKey", + "override-signatures": [ + "deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" + ] + }, + { + "name": "digest", + "override-signatures": [ + "digest(algorithm: AlgorithmIdentifier, data: BufferSource): PromiseLike" + ] + }, + { + "name": "encrypt", + "override-signatures": [ + "encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" + ] + }, + { + "name": "exportKey", + "override-signatures": [ + "exportKey(format: \"jwk\", key: CryptoKey): PromiseLike", + "exportKey(format: \"raw\" | \"pkcs8\" | \"spki\", key: CryptoKey): PromiseLike", + "exportKey(format: string, key: CryptoKey): PromiseLike" + ] + }, + { + "name": "generateKey", + "override-signatures": [ + "generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike", + "generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike", + "generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" + ] + }, + { + "name": "importKey", + "override-signatures": [ + "importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", + "importKey(format: \"raw\" | \"pkcs8\" | \"spki\", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", + "importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike" + ] + }, + { + "name": "sign", + "override-signatures": [ + "sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike" + ] + }, + { + "name": "unwrapKey", + "override-signatures": [ + "unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike" + ] + }, + { + "name": "verify", + "override-signatures": [ + "verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike" + ] + }, + { + "name": "wrapKey", + "override-signatures": [ + "wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): PromiseLike" + ] + } + ] + } + }, + "HTMLInputElement": { + "name": "HTMLInputElement", + "properties": { + "property": [ + { + "name": "files", + "read-only": "1", + "override-type": "FileList | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + }, + "methods": { + "method": [ + { + "name": "setSelectionRange", + "override-signatures": [ + "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" + ] + } + ] + } + }, + "History": { + "name": "History", + "methods": { + "method": [ + { + "name": "back", + "override-signatures": [ + "back(): void" + ] + }, + { + "name": "forward", + "override-signatures": [ + "forward(): void" + ] + }, + { + "name": "go", + "override-signatures": [ + "go(delta?: number): void" + ] + }, + { + "name": "pushState", + "override-signatures": [ + "pushState(data: any, title: string, url?: string | null): void" + ] + }, + { + "name": "replaceState", + "override-signatures": [ + "replaceState(data: any, title: string, url?: string | null): void" + ] + } + ] + } + }, + "MouseEvent": { + "name": "MouseEvent", + "methods": { + "method": [ + { + "name": "initMouseEvent", + "override-signatures": [ + "initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void" + ] + } + ] + } + }, + "DataTransfer": { + "name": "DataTransfer", + "properties": { + "property": [ + { + "name": "types", + "read-only": "1", + "override-type": "string[]" + } + ] + } + }, + "XPathEvaluator": { + "name": "XPathEvaluator", + "methods": { + "method": [ + { + "name": "evaluate", + "override-signatures": [ + "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" + ] + } + ] + } + }, + "XPathExpression": { + "name": "XPathExpression", + "methods": { + "method": [ + { + "name": "evaluate", + "override-signatures": [ + "evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult" + ] + } + ] + } + }, + "DOMStringMap": { + "name": "DOMStringMap", + "overide-index-signatures": [ + "[name: string]: string | undefined" + ] + }, + "DOMImplementation": { + "name": "DOMImplementation", + "methods": { + "method": [ + { + "name": "hasFeature", + "override-signatures": [ + "hasFeature(feature: string | null, version: string | null): boolean" + ] + }, + { + "name": "createDocument", + "override-signatures": [ + "createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document" + ] + } + ] + } + }, + "EventTarget": { + "name": "EventTarget", + "methods": { + "method": [ + { + "name": "addEventListener", + "override-signatures": [ + "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" + ] + }, + { + "name": "removeEventListener", + "override-signatures": [ + "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" + ] + } + ] + } + }, + "TouchEvent": { + "name": "TouchEvent", + "override-constructor-signatures": [ + "new(type: string, touchEventInit?: TouchEventInit): TouchEvent" + ] + }, + "Text": { + "name": "Text", + "override-constructor-signatures": [ + "new(data?: string): Text" + ] + }, + "DragEvent": { + "name": "DragEvent", + "override-constructor-signatures": [ + "new(type: \"drag\" | \"dragend\" | \"dragenter\" | \"dragexit\" | \"dragleave\" | \"dragover\" | \"dragstart\" | \"drop\", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent" + ] + }, + "HTMLAppletElement": { + "name": "HTMLAppletElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLButtonElement": { + "name": "HTMLButtonElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLFieldSetElement": { + "name": "HTMLFieldSetElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLLabelElement": { + "name": "HTMLLabelElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLLegendElement": { + "name": "HTMLLegendElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLObjectElement": { + "name": "HTMLObjectElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLOptGroupElement": { + "name": "HTMLOptGroupElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLOptionElement": { + "name": "HTMLOptionElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLOutputElement": { + "name": "HTMLOutputElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLProgressElement": { + "name": "HTMLProgressElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "HTMLTextAreaElement": { + "name": "HTMLTextAreaElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + }, + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + }, + "methods": { + "method": [ + { + "name": "setSelectionRange", + "override-signatures": [ + "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" + ] + } + ] + } + }, + "HTMLegendElement": { + "name": "HTMLegendElement", + "properties": { + "property": [ + { + "name": "form", + "read-only": "1", + "override-type": "HTMLFormElement | null" + } + ] + } + }, + "Headers": { + "name": "Headers", + "override-constructor-signatures": [ + "new(init?: HeadersInit): Headers" + ] + }, + "ServiceWorkerContainer": { + "name": "ServiceWorkerContainer", + "methods": { + "method": [ + { + "name": "getRegistration", + "override-signatures": [ + "getRegistration(clientURL?: USVString): Promise" + ] + } + ] + } + }, + "IntersectionObserverEntry": { + "name": "IntersectionObserverEntry", + "properties": { + "property": [ + { + "name": "boundingClientRect", + "read-only": "1", + "override-type": "ClientRect | DOMRect" + }, + { + "name": "intersectionRect", + "read-only": "1", + "override-type": "ClientRect | DOMRect" + }, + { + "name": "rootBounds", + "read-only": "1", + "override-type": "ClientRect | DOMRect" + } + ] + } + }, + "Range": { + "name": "Range", + "methods": { + "method": [ + { + "name": "getBoundingClientRect", + "override-signatures": [ + "getBoundingClientRect(): ClientRect | DOMRect" + ] + }, + { + "name": "getClientRects", + "override-signatures": [ + "getClientRects(): ClientRectList | DOMRectList" + ] + } + ] + } + }, + "URL": { + "name": "URL", + "override-constructor-signatures": [ + "new(url: string, base?: string | URL): URL" + ] + }, + "WebSocket": { + "name": "WebSocket", + "methods": { + "method": [ + { + "name": "send", + "override-signatures": [ + "send(data: USVString | ArrayBuffer | Blob | ArrayBufferView): void" + ] + } + ] + } + }, + "PushManager": { + "name": "PushManager", + "methods": { + "method": [ + { + "name": "getSubscription", + "override-signatures": [ + "getSubscription(): Promise" + ] + } + ] + } + } + } + }, + "dictionaries": { + "dictionary": { + "CustomEventInit": { + "name": "CustomEventInit", + "members": { + "member": [ + { + "name": "detail", + "override-type": "T", + "required": "false" + } + ] + }, + "type-parameters": [ + "T = any" + ] + }, + "IDBObjectStoreParameters": { + "name": "IDBObjectStoreParameters", + "members": { + "member": [ + { + "name": "keyPath", + "override-type": "string | string[]", + "required": "false" + } + ] + } + }, + "Algorithm": { + "name": "Algorithm", + "members": { + "member": [ + { + "name": "name", + "override-type": "string" + } + ] + } + }, + "RequestInit": { + "name": "RequestInit", + "members": { + "member": [ + { + "name": "headers", + "override-type": "HeadersInit", + "required": "false" + } + ] + } + }, + "ResponseInit": { + "name": "ResponseInit", + "members": { + "member": [ + { + "name": "headers", + "override-type": "HeadersInit", + "required": "false" + } + ] + } + }, + "PaymentMethodData": { + "name": "PaymentMethodData", + "members": { + "member": [ + { + "name": "supportedMethods", + "override-type": "string | string[]" + } + ] + } + }, + "PaymentDetailsModifier": { + "name": "PaymentDetailsModifier", + "members": { + "member": [ + { + "name": "supportedMethods", + "override-type": "string | string[]" + } + ] + } + } + } + }, + "typedefs": { + "typedef": [] + } +} \ No newline at end of file From 8125a3ebf5bc94c8e58ee5ae114ae3c238579cc3 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 12:26:08 -0800 Subject: [PATCH 15/93] Add .js to gitignore --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0e47102f4..1e333b380 100644 --- a/.gitignore +++ b/.gitignore @@ -289,4 +289,7 @@ __pycache__/ .paket/ .fake/ -generated/ \ No newline at end of file +generated/ + +*.js +*.js.map \ No newline at end of file From 0131cf26cf9396ebe51e59d79abc734d9be8c72f Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 17:24:36 -0800 Subject: [PATCH 16/93] Clean up some remaining diffs --- index.ts | 17 ++- inputfiles/json/overridingTypes.json | 193 ++++++++++++++++----------- types.d.ts | 1 + 3 files changed, 124 insertions(+), 87 deletions(-) diff --git a/index.ts b/index.ts index b167bb660..fb13520a8 100644 --- a/index.ts +++ b/index.ts @@ -62,11 +62,11 @@ let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + type InterfaceCommentItem = { Property: Record; Method: Record; Constructor: string | undefined }; - +browser = prune(browser, removedItems); browser = merge(browser, addedItems, "add"); browser = merge(browser, overriddenItems, "update"); browser = merge(browser, comments, "update"); -browser = prune(browser, removedItems); + /** @@ -1033,10 +1033,15 @@ namespace Emit { function emitCallBackFunction(cb: Browser.CallbackFunction) { Pt.Printl(`interface ${cb.name} {`); - let overloads = GetOverloads(cb, false); - for (const { paramCombinations: pCombList } of overloads) { - let paramsString = ParamsToString(pCombList); - Pt.PrintWithAddedIndent(`(${paramsString}): ${DomTypeToTsType(cb.type)};`); + if (cb["override-signatures"]) { + cb["override-signatures"]!.forEach(s => Pt.PrintWithAddedIndent(`${s};`)); + } + else { + let overloads = GetOverloads(cb, false); + for (const { paramCombinations: pCombList } of overloads) { + let paramsString = ParamsToString(pCombList); + Pt.PrintWithAddedIndent(`(${paramsString}): ${DomTypeToTsType(cb.type)};`); + } } Pt.Printl("}"); } diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/json/overridingTypes.json index f71c1fe12..b6c65dead 100644 --- a/inputfiles/json/overridingTypes.json +++ b/inputfiles/json/overridingTypes.json @@ -79,75 +79,11 @@ } ] } - } - } - }, - "callback-functions": { - "callback-function": {} - }, - "callback-interfaces": { - "interface": {} - }, - "enums": { - "enum": {} - }, - "interfaces": { - "interface": { - "undefined": { - "interface": "CustomEventInit", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "documentElement", - "override-type": "HTMLElement" - }, - { - "name": "ontouchcancel", - "override-type": "(ev: TouchEvent) => any" - }, - { - "name": "ontouchend", - "override-type": "(ev: TouchEvent) => any" - }, - { - "name": "ontouchmove", - "override-type": "(ev: TouchEvent) => any" - }, - { - "name": "ontouchstart", - "override-type": "(ev: TouchEvent) => any" - } - ] - }, + }, + "WindowTimers": { + "name": "WindowTimers", "methods": { "method": [ - { - "name": "alert", - "override-signatures": [ - "alert(message?: any): void" - ] - }, - { - "name": "getElementsByTagNameNS", - "override-signatures": [ - "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", - "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", - "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" - ] - }, - { - "name": "getElementsByClassName", - "override-signatures": [ - "getElementsByClassName(classNames: string): HTMLCollectionOf" - ] - }, - { - "name": "getElementsByName", - "override-signatures": [ - "getElementsByName(elementName: string): NodeListOf" - ] - }, { "name": "setTimeout", "override-signatures": [ @@ -155,13 +91,6 @@ "setTimeout(handler: any, timeout?: any, ...args: any[]): number" ] }, - { - "name": "setImmediate", - "override-signatures": [ - "setImmediate(handler: (...args: any[]) => void): number", - "setImmediate(handler: any, ...args: any[]): number" - ] - }, { "name": "setInterval", "override-signatures": [ @@ -170,11 +99,54 @@ ] } ] - }, - "type-parameters": [ - "T = any" + } + }, + "WindowTimersExtension": { + "name": "WindowTimersExtension", + "methods": { + "method": [ + { + "name": "setImmediate", + "override-signatures": [ + "setImmediate(handler: (...args: any[]) => void): number", + "setImmediate(handler: any, ...args: any[]): number" + ] + } + ] + } + } + } + }, + "callback-functions": { + "callback-function": { + "ErrorEventHandler": { + "name": "ErrorEventHandler", + "override-signatures": [ + "(message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void" ] }, + "DecodeErrorCallback": { + "name": "DecodeErrorCallback", + "override-signatures": [ + "(error: DOMException): void" + ] + }, + "ForEachCallback": { + "name": "ForEachCallback", + "override-signatures": [ + "(keyId: any, status: MediaKeyStatus): void" + ] + } + } + }, + "callback-interfaces": { + "interface": {} + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": { "CustomEvent": { "name": "CustomEvent", "properties": { @@ -198,6 +170,9 @@ }, "type-parameters": [ "T = any" + ], + "override-constructor-signatures": [ + "new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent" ] }, "Response": { @@ -229,6 +204,22 @@ { "name": "opener", "override-type": "any" + }, + { + "name": "ontouchcancel", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchend", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchmove", + "override-type": "(ev: TouchEvent) => any" + }, + { + "name": "ontouchstart", + "override-type": "(ev: TouchEvent) => any" } ] }, @@ -239,6 +230,12 @@ "override-signatures": [ "open(url?: string, target?: string, features?: string, replace?: boolean): Window | null" ] + }, + { + "name": "alert", + "override-signatures": [ + "alert(message?: any): void" + ] } ] } @@ -288,11 +285,35 @@ "override-signatures": [ "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" ] + }, + { + "name": "getElementsByTagNameNS", + "override-signatures": [ + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" + ] + }, + { + "name": "getElementsByClassName", + "override-signatures": [ + "getElementsByClassName(classNames: string): HTMLCollectionOf" + ] + }, + { + "name": "getElementsByName", + "override-signatures": [ + "getElementsByName(elementName: string): NodeListOf" + ] } ] }, "properties": { "property": [ + { + "name": "documentElement", + "override-type": "HTMLElement" + }, { "name": "currentScript", "read-only": "1", @@ -741,10 +762,8 @@ "method": [ { "name": "send", - "webOnlySignatures": [ - "send(data?: Document): void" - ], "override-signatures": [ + "send(data?: Document): void", "send(data?: string): void", "send(data?: any): void" ] @@ -1130,6 +1149,14 @@ "override-signatures": [ "getAttributeNode(name: string): Attr | null" ] + }, + { + "name": "getElementsByTagNameNS", + "override-signatures": [ + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", + "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" + ] } ] } @@ -1166,7 +1193,10 @@ ] } ] - } + }, + "overide-index-signatures": [ + "[name: number]: DataTransferItem" + ] }, "StorageEvent": { "name": "StorageEvent", @@ -1210,6 +1240,7 @@ }, { "name": "source", + "nullable": false, "override-type": "IDBObjectStore | IDBIndex | IDBCursor" } ] diff --git a/types.d.ts b/types.d.ts index 970458b1c..326227197 100644 --- a/types.d.ts +++ b/types.d.ts @@ -85,6 +85,7 @@ export type CallbackFunction = { "type": string; "param"?: Param[]; "tags"?: string; + "override-signatures"?: string[]; }; export type Constructor = { From 294a92d630b2f5007f674da56dc67e4169964fa7 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 17:29:54 -0800 Subject: [PATCH 17/93] Rremove unused declarations --- index.ts | 63 +++------------------------------------------------ tsconfig.json | 4 +++- 2 files changed, 6 insertions(+), 61 deletions(-) diff --git a/index.ts b/index.ts index fb13520a8..9b8347408 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,6 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; -import { debug } from "util"; const __SOURCE_DIRECTORY__ = __dirname; let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); @@ -17,9 +16,6 @@ let tsWebES6Output = path.join(outputFolder, "dom.es6.generated.d.ts"); let tsWorkerOutput = path.join(outputFolder, "webworker.generated.d.ts"); const defaultEventType = "Event"; -/// Function overload -type Overload = { ParamCombinations: Browser.Param[]; ReturnTypes: string[]; Nullable: boolean }; - type Function = | Browser.Method | Browser.Constructor @@ -43,9 +39,6 @@ enum Flavor { All }; -type ExtendConflict = { BaseType: string; ExtendType: string[]; MemberNames: string[] }; - - let overriddenItems = require(inputFolder + "/overridingTypes.json"); let addedItems = require(inputFolder + "/addedTypes.json"); let comments = require(inputFolder + "/comments.json"); @@ -60,8 +53,6 @@ let knownWorkerInterfaces = new Set(JSON.parse(fs.readFileSync(inputFold let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerEnums.json").toString())); -type InterfaceCommentItem = { Property: Record; Method: Record; Constructor: string | undefined }; - browser = prune(browser, removedItems); browser = merge(browser, addedItems, "add"); browser = merge(browser, overriddenItems, "update"); @@ -146,10 +137,6 @@ function matchScope(scope: EmitScope, x: Browser.Method) { else return scope === EmitScope.InstanceOnly; } -function matchInterface(iName: string, x: Browser.Interface) { - return x && x.name === iName; -} - /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. function AdjustParamName(name: string) { switch (name) { @@ -320,17 +307,6 @@ function GetInterfaceByName(name: string) { return allInterfacesMap[name]; } - -function GetAllInterfacesByFlavor(flavor: Flavor) { - switch (flavor) { - case Flavor.Web: return allWebInterfaces.filter(i => ShouldKeep(Flavor.Web, i)); - case Flavor.All: allWebInterfaces.filter(i => ShouldKeep(Flavor.All, i)); - case Flavor.Worker: - let isFromBrowserXml = allWebInterfaces.filter(i => knownWorkerInterfaces.has(i.name)); - return isFromBrowserXml.concat(allWorkerAdditionalInterfaces); - } -} - function GetNonCallbackInterfacesByFlavor(flavor: Flavor) { switch (flavor) { case Flavor.Web: return allWebNonCallbackInterfaces.filter(i => ShouldKeep(Flavor.Web, i)); @@ -341,16 +317,6 @@ function GetNonCallbackInterfacesByFlavor(flavor: Flavor) { } } -function GetPublicInterfacesByFlavor(flavor: Flavor) { - switch (flavor) { - case Flavor.Web: - case Flavor.All: return getElements(browser.interfaces, "interface").filter(i => ShouldKeep(flavor, i)); - case Flavor.Worker: - let isFromBrowserXml = getElements(browser.interfaces, "interface").filter(i => knownWorkerInterfaces.has(i.name)); - return isFromBrowserXml.concat(getElements(worker.interfaces, "interface")); - } -} - function GetCallbackFuncsByFlavor(flavor: Flavor) { return browser["callback-functions"] ? getElements(browser["callback-functions"], "callback-function").filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; } @@ -606,17 +572,6 @@ function GetGlobalPollutor(flavor: Flavor) { } } -function GetGlobalPollutorName(flavor: Flavor) { - const polluter = GetGlobalPollutor(flavor); - return polluter ? polluter.name : "Window"; -} - -enum FunctionKind { - Method, - Constructor, - CallbackFunction -} - // Some params have the type of "(DOMString or DOMString [] or Number)" // we need to transform it into [“DOMString", "DOMString []", "Number"] function decomposeTypes(t: string) { @@ -640,13 +595,6 @@ function GetOverloads(f: Function, decomposeMultipleTypes: boolean) { let pCombList = (function() { let pCombs: Browser.Param[][] = []; - if (f.param) { - for (const p of f.param) { - if (p.type.indexOf("or") > -1) { - let pOptions = decomposeParam(p); - } - } - } function enumParams(acc: Browser.Param[], rest: Browser.Param[]) { if (!rest.length) { @@ -756,10 +704,6 @@ namespace Emit { return indentStrings[level]; } - function getIndentSize() { - return indentStrings[1].length; - } - function write(s: string) { if (lineStart) { output += getIndentString(indent); @@ -1135,7 +1079,7 @@ namespace Emit { } - function emitMethod(flavor: Flavor, prefix: string, i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { + function emitMethod(_flavor: Flavor, prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { function printLine(content: string) { if (m.name && conflictedMembers.has(m.name)) Pt.PrintlToStack(content); @@ -1253,7 +1197,7 @@ namespace Emit { emitEventHandler("remove"); } - function EmitConstructorSignature(flavor: Flavor, i: Browser.Interface) { + function EmitConstructorSignature(_flavor: Flavor, i: Browser.Interface) { if (i.constructor && i.constructor.comment) { Pt.Printl(i.constructor.comment); } @@ -1365,7 +1309,6 @@ namespace Emit { Pt.Printl(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); } - let ownEventHandles = iNameToEhList[i.name] || [] if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { Pt.Printl(`interface ${i.name}EventMap`); if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { @@ -1494,7 +1437,7 @@ namespace Emit { } } - function emitDictionary(flavor: Flavor, dict: Browser.Dictionary) { + function emitDictionary(_flavor: Flavor, dict: Browser.Dictionary) { if (!dict.extends || dict.extends === "Object") { Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); } diff --git a/tsconfig.json b/tsconfig.json index 2b5a1e6f5..ee4543ddc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,9 @@ "module": "commonjs", "strict": true, "esModuleInterop": true, - "sourceMap": true + "sourceMap": true, + "noUnusedLocals": true, + "noUnusedParameters": true }, "files": [ "index.ts", From 0b9c8a3fdd5dc44dc65e15f49abe925e49793be0 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 22 Feb 2018 17:35:23 -0800 Subject: [PATCH 18/93] Cleanup --- index.ts | 155 +------------------------------------------------------ 1 file changed, 1 insertion(+), 154 deletions(-) diff --git a/index.ts b/index.ts index 9b8347408..f4f3348f2 100644 --- a/index.ts +++ b/index.ts @@ -59,75 +59,6 @@ browser = merge(browser, overriddenItems, "update"); browser = merge(browser, comments, "update"); - -/** - // This is the kind of items in the external json files that are used as a - // correction for the spec. - type ItemKind = - | Property - | Method - | Constant - | Constructor - | Interface - | Callback - | Indexer - | SignatureOverload - | TypeDef - | Extends - override x.ToString() = - match x with - | Property _ -> "property" - | Method _ -> "method" - | Constant _ -> "constant" - | Constructor _ -> "constructor" - | Interface _ -> "interface" - | Callback _ -> "callback" - | Indexer _ -> "indexer" - | SignatureOverload _ -> "signatureoverload" - | TypeDef _ -> "typedef" - | Extends _ -> "extends" - - let getItemByName (allItems: InputJsonType.Root []) (itemName: string) (kind: ItemKind) otherFilter = - let filter (item: InputJsonType.Root) = - (OptionCheckValue itemName item.Name || OptionCheckValue (sprintf "${}?" itemName) item.Name) && - item.Kind.ToLower() = kind.ToString() && - otherFilter item - allItems |> Array.tryFind filter - - let matchInterface iName (item: InputJsonType.Root) = - item.Interface.IsNone || item.Interface.Value = iName - - let getOverriddenItemByName itemName (kind: ItemKind) iName = - getItemByName overriddenItems itemName kind (matchInterface iName) - - let getRemovedItemByName itemName (kind: ItemKind) iName = - getItemByName removedItems itemName kind (matchInterface iName) - - let getAddedItemByName itemName (kind: ItemKind) iName = - getItemByName addedItems itemName kind (matchInterface iName) - - let getItems (allItems: InputJsonType.Root []) (kind: ItemKind) (flavor: Flavor) = - allItems - |> Array.filter (fun t -> - t.Kind.ToLower() = kind.ToString() && - (t.Flavor.IsNone || t.Flavor.Value = flavor.ToString() || t.Flavor.Value = Flavor.All.ToString() || flavor = Flavor.All)) - - let getOverriddenItems = getItems overriddenItems - - let getAddedItems = getItems addedItems - - let getRemovedItems = getItems removedItems - - let getAddedItemsByInterfaceName kind flavor iName = - getAddedItems kind flavor |> Array.filter (matchInterface iName) - - let getOverriddenItemsByInterfaceName kind flavor iName = - getOverriddenItems kind flavor |> Array.filter (matchInterface iName) - - let getRemovedItemsByInterfaceName kind flavor iName = - getRemovedItems kind flavor |> Array.filter (matchInterface iName) -*/ - // Used to decide if a member should be emitted given its static property and // the intended scope level. function matchScope(scope: EmitScope, x: Browser.Method) { @@ -410,25 +341,6 @@ let tagNameToEleName = (function() { return result; })(); - // let addedTagNamesToInterface = - // (function() { - // const result: Record = {}; - // for (const i of getAddedItems(InputJson.ItemKind.Interface, Flavor.All)) - // |> Array.filter (fun i -> Seq.length i.TagNames > 0) do - // yield! [ for e in i.TagNames do - // match i.Name with - // | Some name -> yield (e, name) - // | _ -> () ] ] - - // nativeTagNamesToInterface @ addedTagNamesToInterface - // |> Seq.groupBy fst - // |> Seq.map ((fun (key, group) -> (key, Seq.map snd group)) >> fun (key, group) -> - // key, - // match Seq.length group with - // | 1 -> Seq.head group - // | _ -> resolveElementConflict key group) - // |> Map.ofSeq - return nativeTagNamesToInterface; })(); @@ -441,28 +353,12 @@ let iNameToIDependList = (function() { if (!i || !i.extends || i.extends === "Object") return []; else return getExtendList(i.extends).concat(i.extends); } - // else { - // match InputJson.getAddedItemByName iName InputJson.ItemKind.Interface iName with - // | Some i -> - // match i.Extends with - // | Some extends -> - // match extends with - // | "Object" -> [] - // | super -> super :: (getExtendList super) - // | _ -> [] - // | _ -> [] function getImplementList(iName: string) { var i = GetInterfaceByName(iName); return i && i.implements || []; } - // let addedINameToIDependList = - // InputJson.getAddedItems InputJson.ItemKind.Interface Flavor.All - // |> Array.ofSeq - // |> Array.filter (fun i -> i.Name.IsSome) - // |> Array.map (fun i -> (Option.get i.Name, List.concat [ (getExtendList (Option.get i.Name)); (getImplementList (Option.get i.Name)) ])) - let nativeINameToIDependList: Record = {}; for (const i of concat(allWebNonCallbackInterfaces, getElements(worker.interfaces, "interface"), getElements(worker["mixin-interfaces"], "interface"))) { @@ -651,46 +547,7 @@ const extendConflictsBaseTypes = arrayToMap(extendConflicts.map(ec => [ec.baseType, ec] as [string, typeof extendConflicts[0]])); namespace Emit { - // function StringPrinter() { - // let indent = 0; - // let content = ""; - // let stack: string[] = []; - // let lineStart: boolean = false; - - // const indentStrings: string[] = ["", " "]; - // function getIndentString(level: number) { - // if (indentStrings[level] === undefined) { - // indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; - // } - // return indentStrings[level]; - // } - - // function getIndentSize() { - // return indentStrings[1].length; - // } - - // return { - // Reset() { content = ""; indent = 0; lineStart = false; }, - - // ResetIndent() { indent = 0; }, - // IncreaseIndent() { indent++; }, - // DecreaseIndent() { indent--; }, - - // Print(c: string) { content += c; }, - // Printl(c: string) { content += getIndentString(indent) + c + "\n"; }, - - // PrintWithAddedIndent(c: string) { return this.Printl(c); }, - - // ClearStack() { stack = []; }, - // StackIsEmpty() { return stack.length === 0; }, - // PrintlToStack(c: string) { stack.push(c); }, - // PrintStackContent() { stack.forEach(e => this.Printl(e)) }, - - // GetResult() { return content; } - // }; - // } - - export function createTextWriter(newLine: string) { + export function createTextWriter(newLine: string) { let output: string; let indent: number; let lineStart: boolean; @@ -1359,14 +1216,6 @@ namespace Emit { let hasProperty = i.properties && i.properties.property.find(p => !p.static); let hasNonStaticMember = hasNonStaticMethod || hasProperty - function emitAddedConstructor() { - // match InputJson.getAddedItemsByInterfaceName ItemKind.Constructor flavor i.Name with - // | [||] -> () - // | ctors -> - // Pt.Printl("prototype: ${};" i.Name - // ctors |> Array.iter(fun ctor -> ctor.Signatures |> Array.iter(Pt.Printl("${};")) - } - // For static types with non-static members, we put the non-static members into an // interface, and put the static members into the object literal type of 'declare var' // For static types with only static members, we put everything in the interface. @@ -1389,7 +1238,6 @@ namespace Emit { Pt.IncreaseIndent(); EmitConstants(i); EmitMembers(flavor, prefix, EmitScope.StaticOnly, i); - emitAddedConstructor(); Pt.DecreaseIndent(); Pt.Printl("};"); Pt.Printl(""); @@ -1405,7 +1253,6 @@ namespace Emit { EmitConstants(i); EmitEventHandlers(prefix, i); EmitIndexers(EmitScope.StaticOnly, i); - emitAddedConstructor(); Pt.DecreaseIndent(); Pt.Printl("}"); Pt.Printl(`declare var ${i.name}: ${i.name};`); From bdb44dd686319859f418d7f2472cc7b5c0646136 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Sun, 25 Feb 2018 10:49:27 -0800 Subject: [PATCH 19/93] Use new input file --- index.ts | 567 ++++++++++++++++++++++++++++++++++------------------- types.d.ts | 78 +++++--- 2 files changed, 419 insertions(+), 226 deletions(-) diff --git a/index.ts b/index.ts index f4f3348f2..4e49a3e26 100644 --- a/index.ts +++ b/index.ts @@ -39,25 +39,77 @@ enum Flavor { All }; -let overriddenItems = require(inputFolder + "/overridingTypes.json"); -let addedItems = require(inputFolder + "/addedTypes.json"); -let comments = require(inputFolder + "/comments.json"); -let removedItems = require(inputFolder + "/removedTypes.json"); +// let overriddenItems = require(inputFolder + "/overridingTypes.json"); +// let addedItems = require(inputFolder + "/addedTypes.json"); +// let comments = require(inputFolder + "/comments.json"); +// let removedItems = require(inputFolder + "/removedTypes.json"); /// Parse the xml input file -let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.xml.json").toString()); +let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.json").toString()); -let worker: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/webworkers.specidl.xml.json").toString()); +let worker: Browser.WebIdl = {}; + +//let worker: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/webworkers.specidl.xml.json").toString()); let knownWorkerInterfaces = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerInterfaces.json").toString())); let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerEnums.json").toString())); -browser = prune(browser, removedItems); -browser = merge(browser, addedItems, "add"); -browser = merge(browser, overriddenItems, "update"); -browser = merge(browser, comments, "update"); +let knownWorkerTypes = new Set(require(inputFolder + "/knownWorkerTypes.json")); +// browser = prune(browser, removedItems); +// browser = merge(browser, addedItems, "add"); +// browser = merge(browser, overriddenItems, "update"); +// browser = merge(browser, comments, "update"); + +browser = filter(browser, o => { + if (o) { + // if (typeof o.tags === "string") { + // if (o.tags.indexOf("MSAppOnly") > -1) return false; + // if (o.tags.indexOf("MSAppScheduler") > -1) return false; + // if (o.tags.indexOf("Diagnostics") > -1) return false; + // if (o.tags.indexOf("Printing") > -1) return false; + // } + // if (typeof o.exposed === "string") { + // if (o.exposed.indexOf("Diagnostics") > -1) return false; + // if (o.exposed.indexOf("WorkerDiagnostics") > -1) return false; + // if (o.exposed.indexOf("Isolated") > -1) return false; + // //if (o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1) return false; + // //if (o.exposed.indexOf("Worker") <= -1) return false; + // } + // if (typeof o.name === "string" && !knownWorkerEnums.has(o.name)) return false; + } + return true; +}); + + +function filter(obj: any, fn: (o: any) => boolean) { + var result = obj; + if (typeof obj === "object") { + if (Array.isArray(obj)) { + result = obj.filter(fn); + } + else { + result = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = filter(obj[e], fn); + } + } + } + } + return result; +} + +function filterProperties(obj: Record, fn: (o: T) => boolean): Record { + const result: Record = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = obj[e]; + } + } + return result; +} // Used to decide if a member should be emitted given its static property and // the intended scope level. @@ -109,6 +161,14 @@ function mapToArray(m: Record): T[] { return Object.keys(m).map(k => m[k]); } +function map(obj: Record | undefined, fn: (o: T) => U): U[] { + return Object.keys(obj || {}).map(k => fn(obj![k])); +} + +function forEach(obj: Record| undefined, fn: (o: T) => void): void { + Object.keys(obj || {}).forEach(k => fn(obj![k])); +} + function mergeNamedArrays(srcProp: T[], targetProp: T[], mode: "add" | "update") { const map: any = {}; for (const e1 of srcProp) { @@ -150,60 +210,61 @@ function merge(src: T, target: T, mode: "add" | "update"): T { return src; } -function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { - if (template.interfaces && obj.interfaces) { - pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); - } - if (template["callback-interfaces"] && obj["callback-interfaces"]) { - pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); - } - if (template.typedefs && obj.typedefs) { - obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); - } - - return obj; - - function pruneInterfaces(obj: Record, template: Record) { - for (const i in template) { - if (obj[i]) { - if (!template[i].properties && !template[i].methods) { - delete obj[i]; - } - if (template[i].properties && obj[i].properties) { - obj[i].properties!.property = pruneKeyedArray(obj[i].properties!.property, template[i].properties!.property, "name"); - if (obj[i].properties!.property.length === 0) { - delete obj[i].properties; - } - } - if (template[i].methods && obj[i].methods) { - obj[i].methods!.method = pruneKeyedArray(obj[i].methods!.method, template[i].methods!.method, "name"); - if (obj[i].methods!.method.length === 0) { - delete obj[i].methods; - } - } - } - } - } - - function pruneKeyedArray(obj: T[], template: T[], k: K) { - const map: any = {}; - for (const e of template) { - map[e[k]] = true; - } - return obj.filter(e => !map[e[k]]); - } -} - -let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixin-interfaces"], "interface")); +// function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { +// if (template.interfaces && obj.interfaces) { +// pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); +// } +// if (template["callback-interfaces"] && obj["callback-interfaces"]) { +// pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); +// } +// if (template.typedefs && obj.typedefs) { +// obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); +// } + +// return obj; + +// function pruneInterfaces(obj: Record, template: Record) { +// for (const i in template) { +// if (obj[i]) { +// if (!template[i].properties && !template[i].methods) { +// delete obj[i]; +// } +// if (template[i].properties && obj[i].properties) { +// obj[i].properties!.property = pruneKeyedArray(obj[i].properties!.property, template[i].properties!.property, "name"); +// if (obj[i].properties!.property.length === 0) { +// delete obj[i].properties; +// } +// } +// if (template[i].methods && obj[i].methods) { +// obj[i].methods!.method = pruneKeyedArray(obj[i].methods!.method, template[i].methods!.method, "name"); +// if (obj[i].methods!.method.length === 0) { +// delete obj[i].methods; +// } +// } +// } +// } +// } + +// function pruneKeyedArray(obj: T[], template: T[], k: K) { +// const map: any = {}; +// for (const e of template) { +// map[e[k]] = true; +// } +// return obj.filter(e => !map[e[k]]); +// } +// } + + +let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixins"], "mixin")); let allWebInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["callback-interfaces"], "interface"), - getElements(browser["mixin-interfaces"], "interface")); + getElements(browser["mixins"], "mixin")); let allWorkerAdditionalInterfaces = concat( getElements(worker.interfaces, "interface"), - getElements(worker["mixin-interfaces"], "interface")); + getElements(worker["mixins"], "mixin")); let allInterfaces = allWebInterfaces.concat(allWorkerAdditionalInterfaces); @@ -361,7 +422,7 @@ let iNameToIDependList = (function() { let nativeINameToIDependList: Record = {}; - for (const i of concat(allWebNonCallbackInterfaces, getElements(worker.interfaces, "interface"), getElements(worker["mixin-interfaces"], "interface"))) { + for (const i of concat(allWebNonCallbackInterfaces, getElements(worker.interfaces, "interface"), getElements(worker["mixins"], "mixin"))) { nativeINameToIDependList[i.name] = concat(getExtendList(i.name), getImplementList(i.name)); } return nativeINameToIDependList; @@ -419,7 +480,7 @@ let iNameToEhList = (function() { function getEventHandler(i: Browser.Interface) { let ownEventHandler = i.properties - ? i.properties.property.filter(p => p["event-handler"]).map(p => ({ + ? mapToArray(i.properties.property).filter(p => p["event-handler"]).map(p => ({ name: p.name, eventName: p["event-handler"]!, eventType: getEventTypeFromHandler(p) @@ -474,65 +535,65 @@ function decomposeTypes(t: string) { return t.replace(/[\(\)]/g, "").split(" or "); } -/// Return a sequence of returntype * HashSet tuple -function GetOverloads(f: Function, decomposeMultipleTypes: boolean) { - - function getReturnType(f: Function) { - return "type" in f ? f.type : ""; - } - - function isNullable(f: Function) { - return "nullable" in f; - } - - function decomposeParam(p: Browser.Param) { - return decomposeTypes(p.type).map(type => ({ ...p, type })); - } - - let pCombList = (function() { - let pCombs: Browser.Param[][] = []; - - function enumParams(acc: Browser.Param[], rest: Browser.Param[]) { - if (!rest.length) { - pCombs.push(acc); - } - else { - const p = rest[0]; - rest = rest.slice(1); - if (p.type.indexOf("or") > -1) { - let pOptions = decomposeParam(p); - for (const option of pOptions) { - acc.push(option); - enumParams(acc, rest); - acc.pop(); - } - } - } - } - if (f.param) { - enumParams([], f.param); - } - return pCombs; - })(); - - let rTypes = decomposeTypes(getReturnType(f)); - - - if (decomposeMultipleTypes) { - return pCombList.map(pComb => ({ - paramCombinations: pComb, - returnTypes: rTypes, - nullable: isNullable(f) - })); - } - else { - return [{ - paramCombinations: f.param || [], - returnTypes: rTypes, - nullable: isNullable(f) - }]; - } -} +// /// Return a sequence of returntype * HashSet tuple +// function GetOverloads(f: Function, decomposeMultipleTypes: boolean) { + +// function getReturnType(f: Function) { +// return "type" in f ? f.type : ""; +// } + +// function isNullable(f: Function) { +// return "nullable" in f; +// } + +// function decomposeParam(p: Browser.Param) { +// return decomposeTypes(p.type).map(type => ({ ...p, type })); +// } + +// let pCombList = (function() { +// let pCombs: Browser.Param[][] = []; + +// function enumParams(acc: Browser.Param[], rest: Browser.Param[]) { +// if (!rest.length) { +// pCombs.push(acc); +// } +// else { +// const p = rest[0]; +// rest = rest.slice(1); +// if (p.type.indexOf("or") > -1) { +// let pOptions = decomposeParam(p); +// for (const option of pOptions) { +// acc.push(option); +// enumParams(acc, rest); +// acc.pop(); +// } +// } +// } +// } +// if (f.param) { +// enumParams([], f.param); +// } +// return pCombs; +// })(); + +// let rTypes = decomposeTypes(getReturnType(f)); + + +// if (decomposeMultipleTypes) { +// return pCombList.map(pComb => ({ +// paramCombinations: pComb, +// returnTypes: rTypes, +// nullable: isNullable(f) +// })); +// } +// else { +// return [{ +// paramCombinations: f.param || [], +// returnTypes: rTypes, +// nullable: isNullable(f) +// }]; +// } +// } const typeDefSet = new Set( browser.typedefs && browser.typedefs.typedef.map(td => td["new-type"]) @@ -546,6 +607,10 @@ const extendConflicts = [ const extendConflictsBaseTypes = arrayToMap(extendConflicts.map(ec => [ec.baseType, ec] as [string, typeof extendConflicts[0]])); +function getFirstParameter(m: Browser.Method): Browser.Param | undefined{ + return (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; +} + namespace Emit { export function createTextWriter(newLine: string) { let output: string; @@ -614,13 +679,48 @@ namespace Emit { let ignoreDOMTypes = false; // Extended types used but not defined in the spec - let extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); + let extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); let integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); + type Typed = { "type": string | Typed[]; "subtype"?: Typed; "nullable"?: 1 }; /// Get typescript type using object dom type, object name, and it's associated interface name - function DomTypeToTsType(objDomType: string): string { + function DomTypeToTsType(obj: Typed): string { + if (!obj || !obj.type) throw new Error("Missing type " + JSON.stringify(obj)); + const type = DomTypeToTsTypeWorker(obj) + return type.nullable ? makeNullable(type.name) : type.name; + } + + function DomTypeToTsTypeWorker(obj: Typed): { name: string; nullable: boolean } { + let type; + if (typeof obj.type === "string") { + type = { name: DomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; + } + else { + const types = obj.type.map(DomTypeToTsTypeWorker); + const name = types.map(t => t.name).join(" | "); + const nullable = !!types.find(t => t.nullable); + type = { name, nullable }; + } + + const subtype = obj.subtype ? DomTypeToTsTypeWorker(obj.subtype) : undefined; + const subtypeString = subtype ? subtype.nullable ? makeNullable(subtype.name) : subtype.name : undefined; + + return { + name: (type.name === "Array" && subtypeString) ? makeArrayType(subtypeString) : `${type.name}${subtypeString ? `<${subtypeString}>` : ""}`, + nullable: type.nullable + }; + } + + function makeArrayType(elementType: string): string { + return elementType.indexOf("|") > -1 ? `Array<${elementType}>` : `${elementType}[]`; + } + + function DomTypeToTsTypeSimple(objDomType: string): string { + if (typeof objDomType !== "string") { + throw new Error("Invalid type " + JSON.stringify(objDomType)); + } switch (objDomType) { case "AbortMode": return "String"; case "bool": @@ -636,7 +736,10 @@ namespace Emit { case "float": return "number"; case "object": return "any"; case "ReadyState": return "string"; + case "ByteString": return "string"; + case "USVString": return "string"; case "sequence": return "Array"; + case "FrozenArray": return "ReadonlyArray"; case "UnrestrictedDouble": case "unrestricted double": return "number"; case "any": @@ -659,7 +762,7 @@ namespace Emit { if (typeDefSet.has(objDomType)) return objDomType; // Union types if (objDomType.indexOf(" or ") > -1) { - let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsType(t.replace("?", ""))); + let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsTypeSimple(t.replace("?", ""))); return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); } else { @@ -668,16 +771,19 @@ namespace Emit { let genericMatch = /^(\w+)<([\w, <>]+)>$/; let match = genericMatch.exec(unescaped); if (match) { - let tName: string = DomTypeToTsType(match[1]); - let paramName: string = DomTypeToTsType(match[2]); + let tName: string = DomTypeToTsTypeSimple(match[1]); + let paramName: string = DomTypeToTsTypeSimple(match[2]); return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; } if (objDomType.endsWith("[]")) { - return DomTypeToTsType(objDomType.replace("[]", "").trim()) + "[]"; + return DomTypeToTsTypeSimple(objDomType.replace("[]", "").trim()) + "[]"; } } } - return "any"; + + // throw new Error("Unkown DOM type: " + objDomType); + console.log("Unkown DOM type: " + objDomType); + return `any /* used to be ${objDomType}*/`; } function makeNullable(originalType: string) { @@ -691,25 +797,28 @@ namespace Emit { } } - function DomTypeToNullableTsType(objDomType: string, nullable: boolean) { - let resolvedType = DomTypeToTsType(objDomType); - return nullable ? makeNullable(resolvedType) : resolvedType; + function DomTypeToNullableTsType(obj: Typed) { + let resolvedType = DomTypeToTsType(obj); + return obj.nullable ? makeNullable(resolvedType) : resolvedType; } function emitConstant(c: Browser.Constant) { - Pt.Printl(`readonly ${c.name}: ${DomTypeToTsType(c.type)};`); + Pt.Printl(`readonly ${c.name}: ${DomTypeToTsType(c)};`); } function EmitConstants(i: Browser.Interface) { if (i.constants) - i.constants.constant.forEach(emitConstant); + mapToArray(i.constants.constant) + .sort(compareName) + .forEach(emitConstant); } function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { return expectedMName === m.name && - DomTypeToNullableTsType(m.type, !!m.nullable) === expectedMType && - m.param && m.param.length === 1 && - DomTypeToTsType(m.param[0].type) === expectedParamType; + m.signature && m.signature.length === 1 && + DomTypeToNullableTsType(m.signature[0]) === expectedMType && + m.signature[0]. param && m.signature[0].param!.length === 1 && + DomTypeToTsType(m.signature[0].param![0]) === expectedParamType; } function processInterfaceType(i: Browser.Interface | Browser.Dictionary, name: string) { @@ -727,9 +836,9 @@ namespace Emit { /// Emit overloads for the getElementsByTagName method function EmitGetElementsByTagNameOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { - Pt.Printl(`getElementsByTagName(${m.param![0].name}: K): NodeListOf;`); - Pt.Printl(`getElementsByTagName(${m.param![0].name}: K): NodeListOf;`); - Pt.Printl(`getElementsByTagName(${m.param![0].name}: string): NodeListOf;`); + Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); } } @@ -804,7 +913,7 @@ namespace Emit { function ParamsToString(ps: Browser.Param[]) { function paramToString(p: Browser.Param) { let isOptional = !p.variadic && p.optional; - let pType = isOptional ? DomTypeToTsType(p.type) : DomTypeToNullableTsType(p.type, !!p.nullable); + let pType = isOptional ? DomTypeToTsType(p) : DomTypeToNullableTsType(p); return (p.variadic ? "..." : "") + AdjustParamName(p.name) + (isOptional ? "?: " : ": ") + @@ -822,10 +931,11 @@ namespace Emit { Pt.Printl("}"); } else { - let m = i.methods.method[0]; - let overload = GetOverloads(m, false)[0]; - let paramsString = ParamsToString(overload.paramCombinations); - let returnType = DomTypeToTsType(m.type); + let methods = mapToArray(i.methods.method); + let m = methods[0]; + let overload = m.signature[0]; + let paramsString = overload.param ? ParamsToString(overload.param) : ""; + let returnType = overload.type ? DomTypeToTsType(overload) : "void"; Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); } Pt.Printl(""); @@ -834,21 +944,22 @@ namespace Emit { function emitCallBackFunction(cb: Browser.CallbackFunction) { Pt.Printl(`interface ${cb.name} {`); + Pt.IncreaseIndent(); if (cb["override-signatures"]) { - cb["override-signatures"]!.forEach(s => Pt.PrintWithAddedIndent(`${s};`)); + cb["override-signatures"]!.forEach(s => Pt.Printl(`${s};`)); } else { - let overloads = GetOverloads(cb, false); - for (const { paramCombinations: pCombList } of overloads) { - let paramsString = ParamsToString(pCombList); - Pt.PrintWithAddedIndent(`(${paramsString}): ${DomTypeToTsType(cb.type)};`); - } + emitSignatures(cb.signature, "", ""); } + Pt.DecreaseIndent(); Pt.Printl("}"); + Pt.Printl(""); } function EmitCallBackFunctions(flavor: Flavor) { - GetCallbackFuncsByFlavor(flavor).forEach(emitCallBackFunction); + GetCallbackFuncsByFlavor(flavor) + .sort(compareName) + .forEach(emitCallBackFunction); } function emitEnum(e: Browser.Enum) { @@ -856,7 +967,7 @@ namespace Emit { } function EmitEnums(flavor: Flavor) { - GetEnumsByFlavor(flavor).forEach(emitEnum); + GetEnumsByFlavor(flavor).sort(compareName).forEach(emitEnum); } function EmitEventHandlerThis(flavor: Flavor, prefix: string, i: Browser.Interface) { @@ -873,13 +984,16 @@ namespace Emit { // These patterns are unsafe, and flagged as error under --strictFunctionTypes. // Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined function isCovariantEventHandler(i: Browser.Interface, p: Browser.Property) { - return p.type === "EventHandler" && + return isEventHandler(p) && iNameToEhParents[i.name] && iNameToEhParents[i.name].length > 0 && !!iNameToEhParents[i.name].find( i => iNameToEhList[i.name] && iNameToEhList[i.name].length > 0 && !!iNameToEhList[i.name].find(e => e.name === p.name)); } + function isEventHandler(p: Browser.Property) { + return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; + } function emitProperty(flavor: Flavor, prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { function printLine(content: string) { @@ -904,7 +1018,7 @@ namespace Emit { pType = p["override-type"]!; } else { - if (p.type === "EventHandler") { + if (isEventHandler(p)) { // Sometimes event handlers with the same name may actually handle different // events in different interfaces. For example, "onerror" handles "ErrorEvent" // normally, but in "SVGSVGElement" it handles "SVGError" event instead. @@ -912,11 +1026,11 @@ namespace Emit { pType = `(${EmitEventHandlerThis(flavor, prefix, i)}ev: ${eType}) => any`; } else { - pType = DomTypeToTsType(p.type); + pType = DomTypeToTsType(p); } } let requiredModifier = !p.required || p.required === "1" ? "" : "?"; - pType = p.nullable ? makeNullable(pType) : pType; + //pType = p.nullable ? makeNullable(pType) : pType; let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); } @@ -927,9 +1041,10 @@ namespace Emit { // therefore all properties are emited for the instance type. if (emitScope !== EmitScope.StaticOnly) { if (i.properties) { - i.properties.property + mapToArray(i.properties.property) .filter(p => ShouldKeep(flavor, p)) .filter(p => !isCovariantEventHandler(i, p)) + .sort(compareName) .forEach(p => emitProperty(flavor, prefix, i, emitScope, p, conflictedMembers)); } } @@ -963,13 +1078,21 @@ namespace Emit { if (m["additional-signatures"]) { m["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); } - let overloads = GetOverloads(m, false); - for (const { paramCombinations, returnTypes, nullable } of overloads) { - let paramsString = ParamsToString(paramCombinations); - let returnType = returnTypes.map(DomTypeToTsType).join(" | "); - let returnString = nullable ? makeNullable(returnType) : returnType; - printLine(`${prefix}${m.name || ""}(${paramsString}): ${returnString};`); - } + + emitSignatures(m.signature, prefix, m.name); + } + } + + function emitSignature(s: Browser.Signature, prefix: string | undefined, name:string | undefined) { + let paramsString = s.param ? ParamsToString(s.param) : ""; + let returnType = DomTypeToTsType(s); + returnType = s.nullable ? makeNullable(returnType) : returnType; + Pt.Printl(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); + } + + function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string) { + if (sigs) { + sigs.forEach(sig => emitSignature(sig, prefix, name)); } } @@ -982,7 +1105,10 @@ namespace Emit { } if (i.methods) { - i.methods.method.filter(mFilter).forEach(m => emitMethod(flavor, prefix, i, m, conflictedMembers)); + mapToArray(i.methods.method) + .filter(mFilter) + .sort(compareName) + .forEach(m => emitMethod(flavor, prefix, i, m, conflictedMembers)); } // The window interface inherited some methods from "Object", @@ -1036,7 +1162,7 @@ namespace Emit { } if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { iNameToEhParents[i.name] - .sort((i1, i2) => i1.name > i2.name ? -1 : 1) + .sort(compareName) .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i)); return true; } @@ -1055,16 +1181,17 @@ namespace Emit { } function EmitConstructorSignature(_flavor: Flavor, i: Browser.Interface) { - if (i.constructor && i.constructor.comment) { - Pt.Printl(i.constructor.comment); + const constructor = typeof i.constructor === "object" ? i.constructor : undefined; + if (constructor && constructor.comment) { + Pt.Printl(constructor.comment); } // Emit constructor signature if (i["override-constructor-signatures"]) { i["override-constructor-signatures"]!.forEach(s => Pt.Printl(`${s};`)); } - else if (i.constructor) { - for (const { paramCombinations } of GetOverloads(i.constructor, false)) { - let paramsString = ParamsToString(paramCombinations); + else if (constructor) { + for (const s of constructor.signature) { + let paramsString = s.param ? ParamsToString(s.param) : ""; Pt.Printl(`new(${paramsString}): ${i.name};`); } } @@ -1090,12 +1217,16 @@ namespace Emit { function EmitNamedConstructor(i: Browser.Interface) { const nc = i["named-constructor"]; if (nc) { - Pt.Printl(`declare var ${nc.name}: { new(${ParamsToString(nc.param)}): ${i.name}; };`); + Pt.Printl(`declare var ${nc.name}: {`); + nc.signature.forEach(s => Pt.PrintWithAddedIndent(`new(${s.param ? ParamsToString(s.param) : ""}): ${i.name};`)); + Pt.Printl(`};`); } } /// Emit all the named constructors at root level function EmitNamedConstructors() { - getElements(browser.interfaces, "interface").forEach(EmitNamedConstructor); + getElements(browser.interfaces, "interface") + .sort(compareName) + .forEach(EmitNamedConstructor); } function EmitInterfaceDeclaration(i: Browser.Interface) { @@ -1123,24 +1254,25 @@ namespace Emit { /// To decide if a given method is an indexer and should be emited function ShouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { - if (m.getter && m.param && m.param.length === 1) { + if (m.getter && m.signature && m.signature[0].param && m.signature[0].param!.length === 1) { // TypeScript array indexer can only be number or string // for string, it must return a more generic type then all // the other properties, following the Dictionary pattern - switch (DomTypeToTsType(m.param[0].type)) { + switch (DomTypeToTsType(m.signature[0].param![0])) { case "number": return true; case "string": - if (DomTypeToTsType(m.type) === "any") { + if (DomTypeToTsType(m.signature[0]) === "any") { return true; } - let mTypes = distinct(i.methods && i.methods.method.map(m => m.type).filter(t => t !== "void") || []); - let amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.type).filter(t => t !== "void") || []); // |> Array.distinct - let pTypes = distinct(i.properties && i.properties.property.map(m => m.type).filter(t => t !== "void") || []); // |> Array.distinct - - if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === m.type; - if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === m.type; - if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 1) return amTypes[0] === pTypes[0] && amTypes[0] === m.type; - if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 1) return mTypes[0] === amTypes[0] && amTypes[0] === pTypes[0] && amTypes[0] === m.type; + let sig = m.signature[0]; + let mTypes = distinct(i.methods && map(i.methods.method, m => m.signature[0].type).filter(t => t !== "void") || []); + let amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct + let pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct + + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === sig.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === sig.type; + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 1) return amTypes[0] === pTypes[0] && amTypes[0] === sig.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 1) return mTypes[0] === amTypes[0] && amTypes[0] === pTypes[0] && amTypes[0] === sig.type; } } return false; @@ -1152,11 +1284,11 @@ namespace Emit { } else { // The indices could be within either Methods or Anonymous Methods - concat(i.methods && i.methods.method, i["anonymous-methods"] && i["anonymous-methods"]!.method) + concat(mapToArray(i.methods && i.methods.method), i["anonymous-methods"] && i["anonymous-methods"]!.method) .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) .forEach(m => { - let indexer = m.param![0] - Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer.type)}]: ${DomTypeToTsType(m.type)};`); + let indexer = getFirstParameter(m)!; + Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer)}]: ${DomTypeToTsType(m.signature[0])};`); }); } } @@ -1174,7 +1306,9 @@ namespace Emit { } Pt.Print(" {"); Pt.IncreaseIndent(); - iNameToEhList[i.name].forEach(emitInterfaceEventMapEntry); + iNameToEhList[i.name] + .sort(compareName) + .forEach(emitInterfaceEventMapEntry); Pt.DecreaseIndent(); Pt.Printl("}"); Pt.Printl(""); @@ -1212,8 +1346,8 @@ namespace Emit { // Some types are static types with non-static members. For example, // NodeFilter is a static method itself, however it has an "acceptNode" method // that expects the user to implement. - let hasNonStaticMethod = i.methods && !!i.methods.method.find(m => !m.static); - let hasProperty = i.properties && i.properties.property.find(p => !p.static); + let hasNonStaticMethod = i.methods && !!mapToArray(i.methods.method).find(m => !m.static); + let hasProperty = i.properties && mapToArray(i.properties.property).find(p => !p.static); let hasNonStaticMember = hasNonStaticMethod || hasProperty // For static types with non-static members, we put the non-static members into an @@ -1269,7 +1403,7 @@ namespace Emit { function EmitNonCallbackInterfaces(flavor: Flavor) { - for (const i of GetNonCallbackInterfacesByFlavor(flavor)) { + for (const i of GetNonCallbackInterfacesByFlavor(flavor).sort(compareName)) { // If the static attribute has a value, it means the type doesn't have a constructor if (i.static) { EmitStaticInterface(flavor, i); @@ -1293,17 +1427,18 @@ namespace Emit { } Pt.IncreaseIndent() if (dict.members) { - dict.members.member + mapToArray(dict.members.member) + .sort(compareName) .forEach(m => { let tsType; if (m["override-type"]) { tsType = m["override-type"]; } else { - tsType = DomTypeToTsType(m.type); + tsType = DomTypeToTsType(m); tsType = m.nullable ? makeNullable(tsType) : tsType; } - let requiredModifier = m.required === "1" ? "" : "?"; + let requiredModifier = m.required === 1 ? "" : "?"; Pt.Printl(`${m.name}${requiredModifier}: ${tsType};`); }); } @@ -1315,16 +1450,18 @@ namespace Emit { function EmitDictionaries(flavor: Flavor) { getElements(browser.dictionaries, "dictionary") .filter(d => flavor !== Flavor.Worker || knownWorkerInterfaces.has(d.name)) + .sort(compareName) .forEach(d => emitDictionary(flavor, d)); if (flavor === Flavor.Worker && worker.dictionaries) { getElements(worker.dictionaries, "dictionary") + .sort(compareName) .forEach(d => emitDictionary(flavor, d)); } } function emitTypeDef(typeDef: Browser.TypeDef) { - Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || DomTypeToTsType(typeDef.type)};`); + Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || DomTypeToTsType(typeDef)};`); } function EmitTypeDefs(flavor: Flavor) { @@ -1345,7 +1482,11 @@ namespace Emit { } } - function EmitTheWholeThing(flavor: Flavor, target: string) { + function compareName(c1: { name: string }, c2: { name: string }) { + return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; + } + + export function EmitTheWholeThing(flavor: Flavor, target: string) { Pt.Reset() Pt.Printl("/////////////////////////////"); if (flavor === Flavor.Worker) { @@ -1359,6 +1500,7 @@ namespace Emit { EmitDictionaries(flavor); getElements(browser["callback-interfaces"], "interface") + .sort(compareName) .forEach(i => EmitCallBackInterface(flavor, i)); EmitNonCallbackInterfaces(flavor); @@ -1394,13 +1536,13 @@ namespace Emit { // check anonymous unsigned long getter and length property let isIterableGetter = (m: Browser.Method) => - m.getter === "1" && !!m.param && Array.isArray(m.param) && m.param.length === 1 && integerTypes.has(m.param[0].type); + m.getter === "1" && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && integerTypes.has(m.signature[0].param![0].type); function findIterableGetter() { let anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); if (anonymousGetter) return anonymousGetter; - else if (i.methods) return i.methods.method.find(isIterableGetter); + else if (i.methods) return mapToArray(i.methods.method).find(isIterableGetter); else return undefined; } @@ -1410,11 +1552,11 @@ namespace Emit { if (i.name !== "Window" && i.properties) { let iterableGetter = findIterableGetter() - let lengthProperty = i.properties.property.find(findLengthProperty); + let lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); if (iterableGetter && lengthProperty) { Pt.Printl(`interface ${i.name} {`); Pt.IncreaseIndent(); - Pt.Printl(`[Symbol.iterator](): IterableIterator<${DomTypeToTsType(iterableGetter.type)}>`); + Pt.Printl(`[Symbol.iterator](): IterableIterator<${DomTypeToTsType(iterableGetter.signature[0])}>`); Pt.DecreaseIndent() Pt.Printl("}"); Pt.Printl(""); @@ -1438,14 +1580,35 @@ namespace Emit { EmitES6Thing(tsWebES6Output); } - export function EmitDomWorker() { - ignoreDOMTypes = true; - EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); - } + // export function EmitDomWorker() { + // ignoreDOMTypes = true; + // EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); + // } } Emit.EmitDomWeb(); -Emit.EmitDomWorker(); +// Emit.EmitDomWorker(); + + + +function EmitDomWorker() { + browser = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.json").toString()); + + const isKnownWorkerName = (o: { name: string }) => knownWorkerTypes.has(o.name); + + if (browser.interfaces) browser.interfaces.interface = filterProperties(browser.interfaces.interface, isKnownWorkerName); + if (browser.dictionaries) browser.dictionaries.dictionary = filterProperties(browser.dictionaries.dictionary, isKnownWorkerName); + if (browser.enums) browser.enums.enum = filterProperties(browser.enums.enum, isKnownWorkerName); + if (browser.mixins) browser.mixins.mixin = filterProperties(browser.mixins.mixin, isKnownWorkerName); + if (browser["callback-interfaces"]) browser["callback-interfaces"]!.interface = filterProperties(browser["callback-interfaces"]!.interface, isKnownWorkerName); + if (browser["callback-functions"]) browser["callback-functions"]!["callback-function"] = filterProperties(browser["callback-functions"]!["callback-function"], isKnownWorkerName); + if (browser.dictionaries) browser.dictionaries.dictionary = filterProperties(browser.dictionaries.dictionary, isKnownWorkerName); + + //ignoreDOMTypes = true; + + Emit.EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); +} +EmitDomWorker(); diff --git a/types.d.ts b/types.d.ts index 326227197..ccc420e68 100644 --- a/types.d.ts +++ b/types.d.ts @@ -1,26 +1,38 @@ export type Param = { "name": string; "type": string; - "optional"?: string; + "type-original": string; + "optional"?: 1; "variadic"?: string; - "nullable"?: string; + "nullable"?: 1; + "treat-null-as"?: string; }; + +export type Signature = { + "type": string, + "param"?: Param[]; + "type-original": "any"; + "param-min-required"?: number, + "nullable"?: 1; +}; + export type Member = { "name": string; "type": string; + "type-original": string; "default"?: string; - "nullable"?: string; - "type-original"?: string; - "required"?: string; + "nullable"?: 1; + "required"?: 1; "override-type"?: string; + "specs"?: string; }; export type Property = { "name": string; "event-handler"?: string; "type": string; - "read-only"?: string; - "nullable"?: string; + "read-only"?: 1; + "nullable"?: 1; "replaceable"?: string; "put-forwards"?: string; "stringifier"?: string; @@ -48,6 +60,11 @@ export type Property = { "comment"?: string; "override-type"?: string; "required"?: string; + "specs"?: string; + "deprecated"?: 1; + "interop"?: 1; + "exposed"?: string; + "constant"?: 1; }; export type Event = { @@ -55,47 +72,54 @@ export type Event = { "dispatch"?: string; "skips-window"?: string; "type": string; - "bubbles"?: string; - "cancelable"?: string; + "bubbles"?: 1; + "cancelable"?: 1; "follows"?: string; "precedes"?: string; "tags"?: string; "aliases"?: string; + "specs"?: string; }; export type Method = { "name": string; - "type": string; "tags"?: string; "getter"?: string; "static"?: string; "stringifier"?: string; - "nullable"?: string; + "nullable"?: 1; "serializer"?: string; "serializer-info"?: string; - "param"?: Param[]; "comment"?: string; "override-signatures"?: string[]; "additional-signatures"?: string[]; + "specs"?: string; + "exposed"?: string; + "deprecated"?: 1; + "signature": Signature[]; }; export type CallbackFunction = { "name": string; - "callback": string; + "callback": 1; "type": string; - "param"?: Param[]; + "type-original"?: string; + "signature": Signature[]; "tags"?: string; "override-signatures"?: string[]; + "specs"?: string; }; export type Constructor = { - "param"?: Param[]; + "signature": Signature[]; "comment"?: string; + "specs"?: string; }; export type NamedConstructor = { "name": string; - "param": Param[]; + "signature": Signature[]; + "specs"?: string; }; export type Constant = { @@ -104,6 +128,8 @@ export type Constant = { "type-original"?: string; "value": string; "tags"?: string + "exposed"?: string; + "specs"?: string; }; export type ParsedAttribute ={ @@ -116,22 +142,23 @@ export type Element = { "name": string; "namespace"?: string; "html-self-closing"?: string; -} + "specs"?: string; +}; export type Interface = { "name": string; "extends": string; "constants"?: { - "constant": Constant[]; + "constant": Record; }; "methods": { - "method": Method[]; + "method": Record; }; "events"?: { "event": Event[]; }; "properties"?: { - "property": Property[] + "property": Record; }; "constructor"?: Constructor; "secure-context"?: string; @@ -141,7 +168,7 @@ export type Interface = { "method": Method[]; }; "anonymous-content-attributes"?: { - "parsedattribute": ParsedAttribute[] + "parsedattribute": ParsedAttribute[]; }; "element"?: Element[]; "named-constructor"?: NamedConstructor; @@ -155,11 +182,13 @@ export type Interface = { "type-parameters"?: string[]; "override-constructor-signatures"?: string[]; "overide-index-signatures"?: string[]; + "specs"?: string; }; export type Enum = { "name": string; "value": string[]; + "specs"?: string; }; export type TypeDef = { @@ -172,8 +201,9 @@ export type Dictionary = { "name": string; "extends": string; "members": { - "member": Member[]; + "member": Record; }; + "specs"?: string; "type-parameters"?: string[]; }; @@ -193,8 +223,8 @@ export type WebIdl = { "interfaces"?: { "interface": Record; }; - "mixin-interfaces"?: { - "interface": Record + "mixins"?: { + "mixin": Record; }; "typedefs"?: { "typedef": TypeDef[]; From 6e865bc623fa86765214c39a4944cd9d5c6e1fcd Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Sun, 25 Feb 2018 11:11:01 -0800 Subject: [PATCH 20/93] Update types --- types.d.ts | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/types.d.ts b/types.d.ts index ccc420e68..a6c57b252 100644 --- a/types.d.ts +++ b/types.d.ts @@ -1,27 +1,37 @@ +export type Typed = { + "type": string | Typed[]; + "subtype"?: Typed; + "nullable"?: 1; + "type-original"?: string; +}; + export type Param = { "name": string; - "type": string; + "type": string | Typed[]; + "subtype"?: Typed; + "nullable"?: 1; "type-original": string; "optional"?: 1; "variadic"?: string; - "nullable"?: 1; "treat-null-as"?: string; }; export type Signature = { - "type": string, + "type": string | Typed[]; + "subtype"?: Typed; + "nullable"?: 1; + "type-original": string; "param"?: Param[]; - "type-original": "any"; "param-min-required"?: number, - "nullable"?: 1; }; export type Member = { "name": string; - "type": string; + "type": string | Typed[]; + "subtype"?: Typed; + "nullable"?: 1; "type-original": string; "default"?: string; - "nullable"?: 1; "required"?: 1; "override-type"?: string; "specs"?: string; @@ -30,14 +40,15 @@ export type Member = { export type Property = { "name": string; "event-handler"?: string; - "type": string; - "read-only"?: 1; + "type": string | Typed[]; + "subtype"?: Typed; "nullable"?: 1; + "type-original": string; + "read-only"?: 1; "replaceable"?: string; "put-forwards"?: string; "stringifier"?: string; "tags"?: string; - "type-original"?: string; "property-descriptor-not-enumerable"?: string; "content-attribute"?: string; "content-attribute-reflects"?: string; @@ -69,9 +80,9 @@ export type Property = { export type Event = { "name": string; + "type": string; "dispatch"?: string; "skips-window"?: string; - "type": string; "bubbles"?: 1; "cancelable"?: 1; "follows"?: string; @@ -84,10 +95,9 @@ export type Event = { export type Method = { "name": string; "tags"?: string; - "getter"?: string; "static"?: string; + "getter"?: 1; "stringifier"?: string; - "nullable"?: 1; "serializer"?: string; "serializer-info"?: string; "comment"?: string; @@ -102,8 +112,6 @@ export type Method = { export type CallbackFunction = { "name": string; "callback": 1; - "type": string; - "type-original"?: string; "signature": Signature[]; "tags"?: string; "override-signatures"?: string[]; @@ -124,8 +132,10 @@ export type NamedConstructor = { export type Constant = { "name": string; - "type": string; - "type-original"?: string; + "type": string | Typed[]; + "subtype"?: Typed; + "nullable"?: 1; + "type-original": string; "value": string; "tags"?: string "exposed"?: string; @@ -183,6 +193,7 @@ export type Interface = { "override-constructor-signatures"?: string[]; "overide-index-signatures"?: string[]; "specs"?: string; + "iterable"?: "value" | "pair" | "pair-iterator"; }; export type Enum = { From 2e4133b72aea2876a0b0a2b5c828ef7c377387a1 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Sun, 25 Feb 2018 11:11:41 -0800 Subject: [PATCH 21/93] Refactor --- index.ts | 1259 ++++++++++++++++++++++++------------------------------ 1 file changed, 558 insertions(+), 701 deletions(-) diff --git a/index.ts b/index.ts index 4e49a3e26..7fd57203c 100644 --- a/index.ts +++ b/index.ts @@ -2,621 +2,319 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; -const __SOURCE_DIRECTORY__ = __dirname; -let inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); -let outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new"); - -// Create output folder -if (!fs.existsSync(outputFolder)) { - fs.mkdirSync(outputFolder); -} - -let tsWebOutput = path.join(outputFolder, "dom.generated.d.ts"); -let tsWebES6Output = path.join(outputFolder, "dom.es6.generated.d.ts"); -let tsWorkerOutput = path.join(outputFolder, "webworker.generated.d.ts"); -const defaultEventType = "Event"; - -type Function = - | Browser.Method - | Browser.Constructor - | Browser.CallbackFunction; - -// Note: -// Eventhandler's name and the eventName are not just off by "on". -// For example, handlers named "onabort" may handle "SVGAbort" event in the XML file -type EventHandler = { name: string; eventName: string; eventType: string }; - -/// Decide which members of a function to emit -enum EmitScope { - StaticOnly, - InstanceOnly, - All -} - enum Flavor { Web, Worker, - All + ES6Iterators }; -// let overriddenItems = require(inputFolder + "/overridingTypes.json"); -// let addedItems = require(inputFolder + "/addedTypes.json"); -// let comments = require(inputFolder + "/comments.json"); -// let removedItems = require(inputFolder + "/removedTypes.json"); - -/// Parse the xml input file -let browser: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.json").toString()); - -let worker: Browser.WebIdl = {}; +function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { -//let worker: Browser.WebIdl = JSON.parse(fs.readFileSync(inputFolder + "/webworkers.specidl.xml.json").toString()); + // Note: + // Eventhandler's name and the eventName are not just off by "on". + // For example, handlers named "onabort" may handle "SVGAbort" event in the XML file + type EventHandler = { name: string; eventName: string; eventType: string }; -let knownWorkerInterfaces = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerInterfaces.json").toString())); - -let knownWorkerEnums = new Set(JSON.parse(fs.readFileSync(inputFolder + "/knownWorkerEnums.json").toString())); + /// Decide which members of a function to emit + enum EmitScope { + StaticOnly, + InstanceOnly, + All + } + const pollutor = getElements(webidl.interfaces, "interface").find(i => flavor === Flavor.Web ? !!i["primary-global"] : !!i.global); -let knownWorkerTypes = new Set(require(inputFolder + "/knownWorkerTypes.json")); -// browser = prune(browser, removedItems); -// browser = merge(browser, addedItems, "add"); -// browser = merge(browser, overriddenItems, "update"); -// browser = merge(browser, comments, "update"); + const defaultEventType = "Event"; -browser = filter(browser, o => { - if (o) { - // if (typeof o.tags === "string") { - // if (o.tags.indexOf("MSAppOnly") > -1) return false; - // if (o.tags.indexOf("MSAppScheduler") > -1) return false; - // if (o.tags.indexOf("Diagnostics") > -1) return false; - // if (o.tags.indexOf("Printing") > -1) return false; - // } - // if (typeof o.exposed === "string") { - // if (o.exposed.indexOf("Diagnostics") > -1) return false; - // if (o.exposed.indexOf("WorkerDiagnostics") > -1) return false; - // if (o.exposed.indexOf("Isolated") > -1) return false; - // //if (o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1) return false; - // //if (o.exposed.indexOf("Worker") <= -1) return false; - // } - // if (typeof o.name === "string" && !knownWorkerEnums.has(o.name)) return false; - } - return true; -}); + // Global print target + const Pt = createTextWriter("\n"); + // When emit webworker types the dom types are ignored + const ignoreDOMTypes = flavor === Flavor.Worker; -function filter(obj: any, fn: (o: any) => boolean) { - var result = obj; - if (typeof obj === "object") { - if (Array.isArray(obj)) { - result = obj.filter(fn); + // Extended types used but not defined in the spec + const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); + const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); + + let allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl["mixins"], "mixin")); + let allInterfaces = getElements(webidl.interfaces, "interface").concat( + getElements(webidl["callback-interfaces"], "interface"), + getElements(webidl["mixins"], "mixin")); + + const allInterfacesMap = toNameMap(allInterfaces); + const allDictionariesMap: Record = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; + const allEnumsMap: Record = webidl.enums ? webidl.enums.enum: {}; + const allCallbackFunctionsMap: Record = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; + const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); + + const extendConflictsBaseTypes: Record }> = { + "AudioContext": { extendType: ["OfflineContext"], memberNames: new Set(["suspend"]) }, + "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, + }; + + /// Event name to event type map + let eNameToEType = (function() { + function eventType(e: Browser.Event) { + switch (e.name) { + case "abort": return "UIEvent"; + case "complete": return "Event"; + case "click": return "MouseEvent"; + case "error": return "ErrorEvent"; + case "load": return "Event"; + case "loadstart": return "Event"; + case "progress": return "ProgressEvent"; + case "readystatechange": return "ProgressEvent"; + case "resize": return "UIEvent"; + case "timeout": return "ProgressEvent"; + default: return e.type; + } } - else { - result = {}; - for (const e in obj) { - if (fn(obj[e])) { - result[e] = filter(obj[e], fn); + const result: Record = {}; + for (const i of allNonCallbackInterfaces) { + if (i.events) { + for (const e of i.events.event) { + result[e.name] = eventType(e); } } } - } - return result; -} + return result; + })(); -function filterProperties(obj: Record, fn: (o: T) => boolean): Record { - const result: Record = {}; - for (const e in obj) { - if (fn(obj[e])) { - result[e] = obj[e]; + /// Tag name to element name map + let tagNameToEleName = (function() { + function preferedElementMap(name: string) { + switch (name) { + case "script": return "HTMLScriptElement"; + case "a": return "HTMLAnchorElement"; + case "title": return "HTMLTitleElement"; + case "style": return "HTMLStyleElement"; + default: return ""; + } } - } - return result; -} - -// Used to decide if a member should be emitted given its static property and -// the intended scope level. -function matchScope(scope: EmitScope, x: Browser.Method) { - if (scope === EmitScope.All) - return true; - else if (x.static) return scope === EmitScope.StaticOnly; - else return scope === EmitScope.InstanceOnly; -} -/// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. -function AdjustParamName(name: string) { - switch (name) { - case "default": return "_default"; - case "delete": return "_delete"; - case "continue": return "_continue"; - default: return name; - } -} - -/// Check if the given element should be disabled or not -/// reason is that ^a can be an interface, property or method, but they -/// all share a 'tag' property -function ShouldKeep(flavor: Flavor, i: { tags?: string }) { - if (i.tags) { - if (flavor === Flavor.All) return true; - if (flavor === Flavor.Worker) return i.tags !== "IEOnly"; - else return true; - } - else return true; -} - -function concat(a: T[] | undefined, b: T[] | undefined, c?: T[] | undefined): T[] { - let result = a || []; - if (b) result = result.concat(b); - if (c) result = result.concat(c); - return result; -} + function resolveElementConflict(tagName: string, iNames: string[]) { + const name = preferedElementMap(tagName); + if (iNames.indexOf(name) != -1) return name; + throw new Error("Element conflict occured! Typename: " + tagName); + } -function distinct(a: T[]): T[] { - return Array.from(new Set(a).values()); -} + let nativeTagNamesToInterface = (function() { + const result: Record = {}; + for (const i of allNonCallbackInterfaces) { + if (i.element) { + for (const e of i.element) { + result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; + } + } + } + return result; + })(); -function getElements(a: Record> | undefined, k: K): T[] { - return a ? mapToArray(a[k]) : []; -} + return nativeTagNamesToInterface; + })(); -function mapToArray(m: Record): T[] { - return Object.keys(m).map(k => m[k]); -} + /// Interface name to all its implemented / inherited interfaces name list map + /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] + let iNameToIDependList = (function() { + function getExtendList(iName: string): string[] { + var i = allInterfacesMap[iName]; + if (!i || !i.extends || i.extends === "Object") return []; + else return getExtendList(i.extends).concat(i.extends); + } -function map(obj: Record | undefined, fn: (o: T) => U): U[] { - return Object.keys(obj || {}).map(k => fn(obj![k])); -} + function getImplementList(iName: string) { + var i = allInterfacesMap[iName]; + return i && i.implements || []; + } -function forEach(obj: Record| undefined, fn: (o: T) => void): void { - Object.keys(obj || {}).forEach(k => fn(obj![k])); -} + let nativeINameToIDependList: Record = {}; -function mergeNamedArrays(srcProp: T[], targetProp: T[], mode: "add" | "update") { - const map: any = {}; - for (const e1 of srcProp) { - if (e1.name) { - map[e1.name] = e1; + for (const i of allNonCallbackInterfaces) { + nativeINameToIDependList[i.name] = getExtendList(i.name).concat(getImplementList(i.name)); } - } + return nativeINameToIDependList; + })(); - for (const e2 of targetProp) { - if (e2.name && map[e2.name]) { - merge(map[e2.name], e2, mode); - } - else if (mode === "add") { - srcProp.push(e2); - } - } -} + /// Distinct event type list, used in the "createEvent" function + let distinctETypeList = (function() { + let eventsMap: Record = {}; -function merge(src: T, target: T, mode: "add" | "update"): T { - if (typeof src !== "object" || typeof target !== "object") return src; - for (const k in target) { - if (src[k] && target[k]) { - const srcProp = src[k]; - const targetProp = target[k]; - if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - mergeNamedArrays(srcProp, targetProp, mode); - } - else { - if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k); - merge(src[k], target[k], mode); + for (const i of allNonCallbackInterfaces) { + if (i.events) { + for (const e of i.events.event) { + eventsMap[e.type] = true; + } } - } - else { - if (typeof target[k] !== "object" || Array.isArray(target[k]) || mode === "add") { - src[k] = target[k]; + + if (i.extends === "Event" && i.name.endsWith("Event")) { + eventsMap[i.name] = true; } } - } - return src; -} - -// function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { -// if (template.interfaces && obj.interfaces) { -// pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); -// } -// if (template["callback-interfaces"] && obj["callback-interfaces"]) { -// pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); -// } -// if (template.typedefs && obj.typedefs) { -// obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); -// } - -// return obj; - -// function pruneInterfaces(obj: Record, template: Record) { -// for (const i in template) { -// if (obj[i]) { -// if (!template[i].properties && !template[i].methods) { -// delete obj[i]; -// } -// if (template[i].properties && obj[i].properties) { -// obj[i].properties!.property = pruneKeyedArray(obj[i].properties!.property, template[i].properties!.property, "name"); -// if (obj[i].properties!.property.length === 0) { -// delete obj[i].properties; -// } -// } -// if (template[i].methods && obj[i].methods) { -// obj[i].methods!.method = pruneKeyedArray(obj[i].methods!.method, template[i].methods!.method, "name"); -// if (obj[i].methods!.method.length === 0) { -// delete obj[i].methods; -// } -// } -// } -// } -// } - -// function pruneKeyedArray(obj: T[], template: T[], k: K) { -// const map: any = {}; -// for (const e of template) { -// map[e[k]] = true; -// } -// return obj.filter(e => !map[e[k]]); -// } -// } - - -let allWebNonCallbackInterfaces = concat(getElements(browser.interfaces, "interface"), getElements(browser["mixins"], "mixin")); - -let allWebInterfaces = concat(getElements(browser.interfaces, "interface"), - getElements(browser["callback-interfaces"], "interface"), - getElements(browser["mixins"], "mixin")); - - -let allWorkerAdditionalInterfaces = concat( - getElements(worker.interfaces, "interface"), - getElements(worker["mixins"], "mixin")); - -let allInterfaces = allWebInterfaces.concat(allWorkerAdditionalInterfaces); - -function toNameMap(array: T[]) { - const result: Record = {}; - for (const value of array) { - result[value.name] = value; - } - return result; -} -function arrayToMap(array: [string, T][]) { - const result: Record = {}; - for (const value of array) { - result[value[0]] = value[1]; - } - return result; -} + return Object.keys(eventsMap).sort(); + })(); -// Global interfacename to interface object map + /// Interface name to its related eventhandler name list map + /// Note: + /// In the xml file, each event handler has + /// 1. eventhanlder name: "onready", "onabort" etc. + /// 2. the event name that it handles: "ready", "SVGAbort" etc. + /// And they don't NOT just differ by an "on" prefix! + let iNameToEhList = (function() { + function getEventTypeFromHandler(p: Browser.Property) { + let eType = + // Check the "event-handler" attribute of the event handler property, + // which is the corresponding event name + p["event-handler"] && + // The list is partly obtained from the table at + // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 + eNameToEType[p["event-handler"]!] || defaultEventType; + + return eType === "Event" || IsDependsOn(eType, "Event") + ? eType + : defaultEventType; + } + + // Get all the event handlers from an interface and also from its inherited / implemented interfaces + function getEventHandler(i: Browser.Interface) { + let ownEventHandler = + i.properties + ? mapToArray(i.properties.property).filter(p => p["event-handler"]).map(p => ({ + name: p.name, + eventName: p["event-handler"]!, + eventType: getEventTypeFromHandler(p) + })) + : []; + return ownEventHandler; + } + + return arrayToMap(allInterfaces.map(i => [i.name, getEventHandler(i)] as [string, EventHandler[]])); + })(); + // Map of interface.Name -> List of base interfaces with event handlers + let iNameToEhParents = (function() { + function hasHandler(i: Browser.Interface) { + return iNameToEhList[i.name] && iNameToEhList[i.name].length; + } + // Get all the event handlers from an interface and also from its inherited / implemented interfaces + function getParentsWithEventHandler(i: Browser.Interface) { + function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { + return hasHandler(i) ? [i] : getParentsWithEventHandler(i); + } -let allInterfacesMap = toNameMap(allInterfaces); + let extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; -let allDictionariesMap: Record = { ...browser.dictionaries && browser.dictionaries.dictionary, ...worker.dictionaries && worker.dictionaries.dictionary }; + let implementedParentsWithEventHandler = + i.implements + ? i.implements.reduce((acc, i) => { + acc.push(...getParentEventHandler(allInterfacesMap[i])); + return acc; + }, []) + : []; -let allEnumsMap: Record = { ...browser.enums && browser.enums.enum, ...worker.enums && worker.enums.enum }; + return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); + } -let allCallbackFuncs: Record = { ...browser["callback-functions"] && browser["callback-functions"]!["callback-function"], ...worker["callback-functions"] && worker["callback-functions"]!["callback-function"] }; + return arrayToMap(allInterfaces.map(i => [i.name, getParentsWithEventHandler(i)] as [string, Browser.Interface[]])); + })(); -function GetInterfaceByName(name: string) { - return allInterfacesMap[name]; -} + return flavor === Flavor.ES6Iterators ? EmitES6DomIterators() : EmitTheWholeThing(); -function GetNonCallbackInterfacesByFlavor(flavor: Flavor) { - switch (flavor) { - case Flavor.Web: return allWebNonCallbackInterfaces.filter(i => ShouldKeep(Flavor.Web, i)); - case Flavor.All: return allWebNonCallbackInterfaces.filter(i => ShouldKeep(Flavor.All, i)); - case Flavor.Worker: - let isFromBrowserXml = allWebNonCallbackInterfaces.filter(i => knownWorkerInterfaces.has(i.name)); - return isFromBrowserXml.concat(allWorkerAdditionalInterfaces); + // Used to decide if a member should be emitted given its static property and + // the intended scope level. + function matchScope(scope: EmitScope, x: Browser.Method) { + if (scope === EmitScope.All) + return true; + else if (x.static) return scope === EmitScope.StaticOnly; + else return scope === EmitScope.InstanceOnly; } -} -function GetCallbackFuncsByFlavor(flavor: Flavor) { - return browser["callback-functions"] ? getElements(browser["callback-functions"], "callback-function").filter(cb => (flavor != Flavor.Worker || knownWorkerInterfaces.has(cb.name)) && ShouldKeep(flavor, cb)) : []; -} - -function GetEnumsByFlavor(flavor: Flavor) { - switch (flavor) { - case Flavor.Web: - case Flavor.All: return getElements(browser.enums, "enum"); - case Flavor.Worker: - let isFromBrowserXml = getElements(browser.enums, "enum").filter(i => knownWorkerEnums.has(i.name)); - return isFromBrowserXml.concat(getElements(worker.enums, "enum")); + /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. + function AdjustParamName(name: string) { + switch (name) { + case "default": return "_default"; + case "delete": return "_delete"; + case "continue": return "_continue"; + default: return name; + } } -} - -/// Event name to event type map -let eNameToEType = (function() { - function eventType(e: Browser.Event) { - switch (e.name) { - case "abort": return "UIEvent"; - case "complete": return "Event"; - case "click": return "MouseEvent"; - case "error": return "ErrorEvent"; - case "load": return "Event"; - case "loadstart": return "Event"; - case "progress": return "ProgressEvent"; - case "readystatechange": return "ProgressEvent"; - case "resize": return "UIEvent"; - case "timeout": return "ProgressEvent"; - default: return e.type; - } - } - const result: Record = {}; - for (const i of allWebNonCallbackInterfaces) { - if (i.events) { - for (const e of i.events.event) { - result[e.name] = eventType(e); - } - } + function distinct(a: T[]): T[] { + return Array.from(new Set(a).values()); } - return result; -})(); + function getElements(a: Record> | undefined, k: K): T[] { + return a ? mapToArray(a[k]) : []; + } -function tryGetMatchingEventType(eName: string, i: Browser.Interface) { - if (i.events) { - const event = i.events.event.find(e => e.name === eName); - return event && event.type; + function mapToArray(m: Record): T[] { + return Object.keys(m).map(k => m[k]); } - return undefined; -} -function getEventTypeInInterface(eName: string, i: Browser.Interface) { - if (eName === "abort" && (i.name === "IDBDatabase" || i.name === "IDBTransaction" || i.name === "MSBaseReader" || i.name === "XMLHttpRequestEventTarget")) return "Event"; - else if (eName === "readystatechange" && i.name === "XMLHttpRequest") return "Event"; - else if (i.name === "XMLHttpRequest") return "ProgressEvent"; - else { - let ownEventType = tryGetMatchingEventType(eName, i); - return ownEventType || eNameToEType[eName] || "Event"; + function map(obj: Record | undefined, fn: (o: T) => U): U[] { + return Object.keys(obj || {}).map(k => fn(obj![k])); } -} + function forEach(obj: Record | undefined, fn: (o: T) => void): void { + Object.keys(obj || {}).forEach(k => fn(obj![k])); + } -/// Tag name to element name map -let tagNameToEleName = (function() { - function preferedElementMap(name: string) { - switch (name) { - case "script": return "HTMLScriptElement"; - case "a": return "HTMLAnchorElement"; - case "title": return "HTMLTitleElement"; - case "style": return "HTMLStyleElement"; - default: return ""; + function tryGetMatchingEventType(eName: string, i: Browser.Interface) { + if (i.events) { + const event = i.events.event.find(e => e.name === eName); + return event && event.type; } + return undefined; } - function resolveElementConflict(tagName: string, iNames: string[]) { - const name = preferedElementMap(tagName); - if (iNames.indexOf(name) != -1) return name; - throw new Error("Element conflict occured! Typename: " + tagName); + function getEventTypeInInterface(eName: string, i: Browser.Interface) { + if (eName === "abort" && (i.name === "IDBDatabase" || i.name === "IDBTransaction" || i.name === "MSBaseReader" || i.name === "XMLHttpRequestEventTarget")) return "Event"; + else if (eName === "readystatechange" && i.name === "XMLHttpRequest") return "Event"; + else if (i.name === "XMLHttpRequest") return "ProgressEvent"; + else { + let ownEventType = tryGetMatchingEventType(eName, i); + return ownEventType || eNameToEType[eName] || "Event"; + } } - let nativeTagNamesToInterface = (function() { - const result: Record = {}; - for (const i of GetNonCallbackInterfacesByFlavor(Flavor.All)) { - if (i.element) { - for (const e of i.element) { - result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; - } - } + function toNameMap(array: T[]) { + const result: Record = {}; + for (const value of array) { + result[value.name] = value; } return result; - })(); - - return nativeTagNamesToInterface; -})(); - - -/// Interface name to all its implemented / inherited interfaces name list map -/// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] -let iNameToIDependList = (function() { - function getExtendList(iName: string): string[] { - var i = GetInterfaceByName(iName); - if (!i || !i.extends || i.extends === "Object") return []; - else return getExtendList(i.extends).concat(i.extends); } - function getImplementList(iName: string) { - var i = GetInterfaceByName(iName); - return i && i.implements || []; + function arrayToMap(array: [string, T][]) { + const result: Record = {}; + for (const value of array) { + result[value[0]] = value[1]; + } + return result; } - let nativeINameToIDependList: Record = {}; - - for (const i of concat(allWebNonCallbackInterfaces, getElements(worker.interfaces, "interface"), getElements(worker["mixins"], "mixin"))) { - nativeINameToIDependList[i.name] = concat(getExtendList(i.name), getImplementList(i.name)); + /// Determine if interface1 depends on interface2 + function IsDependsOn(i1Name: string, i2Name: string) { + return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] + ? iNameToIDependList[i1Name].indexOf(i2Name) > -1 + : i2Name === "Object"; } - return nativeINameToIDependList; -})(); - -/// Distinct event type list, used in the "createEvent" function -let distinctETypeList = (function() { - let eventsMap: Record = {}; - - for (const i of GetNonCallbackInterfacesByFlavor(Flavor.All)) { - if (i.events) { - for (const e of i.events.event) { - eventsMap[e.type] = true; - } - } - - if (i.extends === "Event" && i.name.endsWith("Event")) { - eventsMap[i.name] = true; - } + // Some params have the type of "(DOMString or DOMString [] or Number)" + // we need to transform it into [“DOMString", "DOMString []", "Number"] + function decomposeTypes(t: string) { + return t.replace(/[\(\)]/g, "").split(" or "); } - return Object.keys(eventsMap).sort(); -})(); - -/// Determine if interface1 depends on interface2 -function IsDependsOn(i1Name: string, i2Name: string) { - return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] - ? iNameToIDependList[i1Name].indexOf(i2Name) > -1 - : i2Name === "Object"; -} - -/// Interface name to its related eventhandler name list map -/// Note: -/// In the xml file, each event handler has -/// 1. eventhanlder name: "onready", "onabort" etc. -/// 2. the event name that it handles: "ready", "SVGAbort" etc. -/// And they don't NOT just differ by an "on" prefix! -let iNameToEhList = (function() { - function getEventTypeFromHandler(p: Browser.Property) { - let eType = - // Check the "event-handler" attribute of the event handler property, - // which is the corresponding event name - p["event-handler"] && - // The list is partly obtained from the table at - // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 - eNameToEType[p["event-handler"]!] || defaultEventType; - - return eType === "Event" || IsDependsOn(eType, "Event") - ? eType - : defaultEventType; - } - - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - function getEventHandler(i: Browser.Interface) { - let ownEventHandler = - i.properties - ? mapToArray(i.properties.property).filter(p => p["event-handler"]).map(p => ({ - name: p.name, - eventName: p["event-handler"]!, - eventType: getEventTypeFromHandler(p) - })) - : []; - return ownEventHandler; - } - - return arrayToMap(allInterfaces.map(i => [i.name, getEventHandler(i)] as [string, EventHandler[]])); -})(); - - -// Map of interface.Name -> List of base interfaces with event handlers -let iNameToEhParents = (function() { - function hasHandler(i: Browser.Interface) { - return iNameToEhList[i.name] && iNameToEhList[i.name].length; - } - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - function getParentsWithEventHandler(i: Browser.Interface) { - function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { - return hasHandler(i) ? [i] : getParentsWithEventHandler(i); - } - - let extendedParentWithEventHandler = - GetInterfaceByName(i.extends) && getParentEventHandler(GetInterfaceByName(i.extends)) || []; - - let implementedParentsWithEventHandler = - i.implements - ? i.implements.reduce((acc, i) => { - acc.push(...getParentEventHandler(GetInterfaceByName(i))); - return acc; - }, []) - : []; - - return concat(extendedParentWithEventHandler, implementedParentsWithEventHandler); - } - - return arrayToMap(allInterfaces.map(i => [i.name, getParentsWithEventHandler(i)] as [string, Browser.Interface[]])); -})(); - -function GetGlobalPollutor(flavor: Flavor) { - switch (flavor) { - case Flavor.Web: - case Flavor.All: return browser.interfaces && getElements(browser.interfaces, "interface").find(i => !!i["primary-global"]); - case Flavor.Worker: return worker.interfaces && getElements(worker.interfaces, "interface").find(i => !!i.global); + function getFirstParameter(m: Browser.Method): Browser.Param | undefined { + return (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; } -} - -// Some params have the type of "(DOMString or DOMString [] or Number)" -// we need to transform it into [“DOMString", "DOMString []", "Number"] -function decomposeTypes(t: string) { - return t.replace(/[\(\)]/g, "").split(" or "); -} -// /// Return a sequence of returntype * HashSet tuple -// function GetOverloads(f: Function, decomposeMultipleTypes: boolean) { - -// function getReturnType(f: Function) { -// return "type" in f ? f.type : ""; -// } - -// function isNullable(f: Function) { -// return "nullable" in f; -// } - -// function decomposeParam(p: Browser.Param) { -// return decomposeTypes(p.type).map(type => ({ ...p, type })); -// } - -// let pCombList = (function() { -// let pCombs: Browser.Param[][] = []; - -// function enumParams(acc: Browser.Param[], rest: Browser.Param[]) { -// if (!rest.length) { -// pCombs.push(acc); -// } -// else { -// const p = rest[0]; -// rest = rest.slice(1); -// if (p.type.indexOf("or") > -1) { -// let pOptions = decomposeParam(p); -// for (const option of pOptions) { -// acc.push(option); -// enumParams(acc, rest); -// acc.pop(); -// } -// } -// } -// } -// if (f.param) { -// enumParams([], f.param); -// } -// return pCombs; -// })(); - -// let rTypes = decomposeTypes(getReturnType(f)); - - -// if (decomposeMultipleTypes) { -// return pCombList.map(pComb => ({ -// paramCombinations: pComb, -// returnTypes: rTypes, -// nullable: isNullable(f) -// })); -// } -// else { -// return [{ -// paramCombinations: f.param || [], -// returnTypes: rTypes, -// nullable: isNullable(f) -// }]; -// } -// } - -const typeDefSet = new Set( - browser.typedefs && browser.typedefs.typedef.map(td => td["new-type"]) -); - -const extendConflicts = [ - { baseType: "AudioContext", extendType: ["OfflineContext"], memberNames: ["suspend"] }, - { baseType: "HTMLCollection", extendType: ["HTMLFormControlsCollection"], memberNames: ["namedItem"] }, -]; - -const extendConflictsBaseTypes = - arrayToMap(extendConflicts.map(ec => [ec.baseType, ec] as [string, typeof extendConflicts[0]])); - -function getFirstParameter(m: Browser.Method): Browser.Param | undefined{ - return (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; -} - -namespace Emit { - export function createTextWriter(newLine: string) { + function createTextWriter(newLine: string) { let output: string; let indent: number; let lineStart: boolean; - let stack: string[] = []; + let stack: { content: string, indent: number }[] = []; const indentStrings: string[] = ["", " "]; function getIndentString(level: number) { @@ -665,34 +363,28 @@ namespace Emit { ClearStack() { stack = []; }, StackIsEmpty() { return stack.length === 0; }, - PrintlToStack(c: string) { stack.push(c); }, - PrintStackContent() { stack.forEach(e => this.Printl(e)) }, + PrintlToStack(content: string) { stack.push({ content, indent }); }, + PrintStackContent() { + stack.forEach(e => { + const oldIndent = indent; + indent = e.indent; + this.Printl(e.content); + indent = oldIndent; + }) + }, GetResult() { return output; } }; } - // Global print target - const Pt = createTextWriter("\n"); - - // When emit webworker types the dom types are ignored - let ignoreDOMTypes = false; - - // Extended types used but not defined in the spec - let extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); - - let integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); - - type Typed = { "type": string | Typed[]; "subtype"?: Typed; "nullable"?: 1 }; - /// Get typescript type using object dom type, object name, and it's associated interface name - function DomTypeToTsType(obj: Typed): string { + function DomTypeToTsType(obj: Browser.Typed): string { if (!obj || !obj.type) throw new Error("Missing type " + JSON.stringify(obj)); const type = DomTypeToTsTypeWorker(obj) return type.nullable ? makeNullable(type.name) : type.name; } - function DomTypeToTsTypeWorker(obj: Typed): { name: string; nullable: boolean } { + function DomTypeToTsTypeWorker(obj: Browser.Typed): { name: string; nullable: boolean } { let type; if (typeof obj.type === "string") { type = { name: DomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; @@ -754,12 +446,12 @@ namespace Emit { if (ignoreDOMTypes && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document")) return "any"; // Name of an interface / enum / dict. Just return itself if (allInterfacesMap[objDomType] || - allCallbackFuncs[objDomType] || + allCallbackFunctionsMap[objDomType] || allDictionariesMap[objDomType] || allEnumsMap[objDomType]) return objDomType; // Name of a type alias. Just return itself - if (typeDefSet.has(objDomType)) return objDomType; + if (allTypeDefsMap.has(objDomType)) return objDomType; // Union types if (objDomType.indexOf(" or ") > -1) { let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsTypeSimple(t.replace("?", ""))); @@ -782,7 +474,7 @@ namespace Emit { } // throw new Error("Unkown DOM type: " + objDomType); - console.log("Unkown DOM type: " + objDomType); + console.log(`(${Flavor[flavor]}) Unkown DOM type: ${objDomType}`); return `any /* used to be ${objDomType}*/`; } @@ -797,7 +489,7 @@ namespace Emit { } } - function DomTypeToNullableTsType(obj: Typed) { + function DomTypeToNullableTsType(obj: Browser.Typed) { let resolvedType = DomTypeToTsType(obj); return obj.nullable ? makeNullable(resolvedType) : resolvedType; } @@ -817,7 +509,7 @@ namespace Emit { return expectedMName === m.name && m.signature && m.signature.length === 1 && DomTypeToNullableTsType(m.signature[0]) === expectedMType && - m.signature[0]. param && m.signature[0].param!.length === 1 && + m.signature[0].param && m.signature[0].param!.length === 1 && DomTypeToTsType(m.signature[0].param![0]) === expectedParamType; } @@ -850,6 +542,7 @@ namespace Emit { Pt.Printl("querySelector(selectors: string): E | null;"); } } + /// Emit overloads for the querySelectorAll method function EmitQuerySelectorAllOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { @@ -873,7 +566,6 @@ namespace Emit { Pt.Printl(""); } - function EmitSVGElementTagNameMap() { Pt.Printl("interface SVGElementTagNameMap {"); Pt.IncreaseIndent(); @@ -923,23 +615,21 @@ namespace Emit { return ps.map(paramToString).join(", "); } - function EmitCallBackInterface(flavor: Flavor, i: Browser.Interface) { - if (ShouldKeep(flavor, i)) { - if (i.name === "EventListener") { - Pt.Printl(`interface ${i.name} {`); - Pt.PrintWithAddedIndent("(evt: Event): void;"); - Pt.Printl("}"); - } - else { - let methods = mapToArray(i.methods.method); - let m = methods[0]; - let overload = m.signature[0]; - let paramsString = overload.param ? ParamsToString(overload.param) : ""; - let returnType = overload.type ? DomTypeToTsType(overload) : "void"; - Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); - } - Pt.Printl(""); + function EmitCallBackInterface(i: Browser.Interface) { + if (i.name === "EventListener") { + Pt.Printl(`interface ${i.name} {`); + Pt.PrintWithAddedIndent("(evt: Event): void;"); + Pt.Printl("}"); } + else { + let methods = mapToArray(i.methods.method); + let m = methods[0]; + let overload = m.signature[0]; + let paramsString = overload.param ? ParamsToString(overload.param) : ""; + let returnType = overload.type ? DomTypeToTsType(overload) : "void"; + Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); + } + Pt.Printl(""); } function emitCallBackFunction(cb: Browser.CallbackFunction) { @@ -949,15 +639,15 @@ namespace Emit { cb["override-signatures"]!.forEach(s => Pt.Printl(`${s};`)); } else { - emitSignatures(cb.signature, "", ""); + emitSignatures(cb.signature, "", "", s => Pt.Printl(s)); } Pt.DecreaseIndent(); Pt.Printl("}"); Pt.Printl(""); } - function EmitCallBackFunctions(flavor: Flavor) { - GetCallbackFuncsByFlavor(flavor) + function EmitCallBackFunctions() { + getElements(webidl["callback-functions"], "callback-function") .sort(compareName) .forEach(emitCallBackFunction); } @@ -966,16 +656,17 @@ namespace Emit { Pt.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); } - function EmitEnums(flavor: Flavor) { - GetEnumsByFlavor(flavor).sort(compareName).forEach(emitEnum); + function EmitEnums() { + getElements(webidl.enums, "enum") + .sort(compareName) + .forEach(emitEnum); } - function EmitEventHandlerThis(flavor: Flavor, prefix: string, i: Browser.Interface) { + function EmitEventHandlerThis(prefix: string, i: Browser.Interface) { if (prefix === "") { return `this: ${i.name} , `; } else { - const pollutor = GetGlobalPollutor(flavor); return pollutor ? `this: ${pollutor.name}, ` : ""; } } @@ -995,7 +686,7 @@ namespace Emit { return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; } - function emitProperty(flavor: Flavor, prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { + function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { function printLine(content: string) { if (conflictedMembers.has(p.name)) Pt.PrintlToStack(content); @@ -1023,7 +714,7 @@ namespace Emit { // events in different interfaces. For example, "onerror" handles "ErrorEvent" // normally, but in "SVGSVGElement" it handles "SVGError" event instead. let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; - pType = `(${EmitEventHandlerThis(flavor, prefix, i)}ev: ${eType}) => any`; + pType = `(${EmitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; } else { pType = DomTypeToTsType(p); @@ -1036,22 +727,20 @@ namespace Emit { } } - function EmitProperties(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + function EmitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // Note: the schema file shows the property doesn't have "static" attribute, // therefore all properties are emited for the instance type. if (emitScope !== EmitScope.StaticOnly) { if (i.properties) { mapToArray(i.properties.property) - .filter(p => ShouldKeep(flavor, p)) .filter(p => !isCovariantEventHandler(i, p)) .sort(compareName) - .forEach(p => emitProperty(flavor, prefix, i, emitScope, p, conflictedMembers)); + .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); } } } - - function emitMethod(_flavor: Flavor, prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { + function emitMethod(prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { function printLine(content: string) { if (m.name && conflictedMembers.has(m.name)) Pt.PrintlToStack(content); @@ -1079,24 +768,24 @@ namespace Emit { m["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); } - emitSignatures(m.signature, prefix, m.name); + emitSignatures(m.signature, prefix, m.name, printLine); } } - function emitSignature(s: Browser.Signature, prefix: string | undefined, name:string | undefined) { + function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s:string)=>void) { let paramsString = s.param ? ParamsToString(s.param) : ""; let returnType = DomTypeToTsType(s); - returnType = s.nullable ? makeNullable(returnType) : returnType; - Pt.Printl(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); + returnType = s.nullable ? makeNullable(returnType) : returnType; + printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); } - function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string) { + function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string, printLine: (s:string)=>void) { if (sigs) { - sigs.forEach(sig => emitSignature(sig, prefix, name)); + sigs.forEach(sig => emitSignature(sig, prefix, name, printLine)); } } - function EmitMethods(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + function EmitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // If prefix is not empty, then this is the global declare function addEventListener, we want to override this // Otherwise, this is EventTarget.addEventListener, we want to keep that. function mFilter(m: Browser.Method) { @@ -1108,7 +797,7 @@ namespace Emit { mapToArray(i.methods.method) .filter(mFilter) .sort(compareName) - .forEach(m => emitMethod(flavor, prefix, i, m, conflictedMembers)); + .forEach(m => emitMethod(prefix, i, m, conflictedMembers)); } // The window interface inherited some methods from "Object", @@ -1119,23 +808,23 @@ namespace Emit { } /// Emit the properties and methods of a given interface - function EmitMembers(flavor: Flavor, prefix: string, emitScope: EmitScope, i: Browser.Interface) { - let conflictedMembers = new Set(extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : []); - EmitProperties(flavor, prefix, emitScope, i, conflictedMembers); + function EmitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { + let conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); + EmitProperties(prefix, emitScope, i, conflictedMembers); let methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; - EmitMethods(flavor, methodPrefix, emitScope, i, conflictedMembers); + EmitMethods(methodPrefix, emitScope, i, conflictedMembers); } /// Emit all members of every interfaces at the root level. /// Called only once on the global polluter object - function EmitAllMembers(flavor: Flavor, i: Browser.Interface) { + function EmitAllMembers(i: Browser.Interface) { let prefix = "declare var "; - EmitMembers(flavor, prefix, EmitScope.All, i); + EmitMembers(prefix, EmitScope.All, i); for (const relatedIName of iNameToIDependList[i.name]) { - const i = GetInterfaceByName(relatedIName); + const i = allInterfacesMap[relatedIName]; if (i) { - EmitAllMembers(flavor, i); + EmitAllMembers(i); } } } @@ -1180,7 +869,7 @@ namespace Emit { emitEventHandler("remove"); } - function EmitConstructorSignature(_flavor: Flavor, i: Browser.Interface) { + function EmitConstructorSignature(i: Browser.Interface) { const constructor = typeof i.constructor === "object" ? i.constructor : undefined; if (constructor && constructor.comment) { Pt.Printl(constructor.comment); @@ -1200,14 +889,14 @@ namespace Emit { } } - function EmitConstructor(flavor: Flavor, i: Browser.Interface) { + function EmitConstructor(i: Browser.Interface) { Pt.Printl(`declare var ${i.name}: {`); Pt.IncreaseIndent(); Pt.Printl(`prototype: ${i.name};`); - EmitConstructorSignature(flavor, i); + EmitConstructorSignature(i); EmitConstants(i); - EmitMembers(flavor, "", EmitScope.StaticOnly, i); + EmitMembers("", EmitScope.StaticOnly, i); Pt.DecreaseIndent(); Pt.Printl("};"); @@ -1222,9 +911,10 @@ namespace Emit { Pt.Printl(`};`); } } + /// Emit all the named constructors at root level function EmitNamedConstructors() { - getElements(browser.interfaces, "interface") + getElements(webidl.interfaces, "interface") .sort(compareName) .forEach(EmitNamedConstructor); } @@ -1242,7 +932,7 @@ namespace Emit { Pt.Printl(`interface ${processInterfaceType(i, processedIName)}`); - let finalExtends = concat([i.extends || "Object"], i.implements) + let finalExtends = [i.extends || "Object"].concat(i.implements || []) .filter(i => i !== "Object") .map(processIName) @@ -1284,7 +974,8 @@ namespace Emit { } else { // The indices could be within either Methods or Anonymous Methods - concat(mapToArray(i.methods && i.methods.method), i["anonymous-methods"] && i["anonymous-methods"]!.method) + mapToArray(i.methods && i.methods.method) + .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) .forEach(m => { let indexer = getFirstParameter(m)!; @@ -1315,8 +1006,7 @@ namespace Emit { } } - - function EmitInterface(flavor: Flavor, i: Browser.Interface) { + function EmitInterface(i: Browser.Interface) { Pt.ClearStack(); EmitInterfaceEventMap(i); @@ -1325,7 +1015,7 @@ namespace Emit { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(flavor, prefix, EmitScope.InstanceOnly, i); + EmitMembers(prefix, EmitScope.InstanceOnly, i); EmitConstants(i); EmitEventHandlers(prefix, i); EmitIndexers(EmitScope.InstanceOnly, i); @@ -1341,8 +1031,7 @@ namespace Emit { } } - - function EmitStaticInterface(flavor: Flavor, i: Browser.Interface) { + function EmitStaticInterface(i: Browser.Interface) { // Some types are static types with non-static members. For example, // NodeFilter is a static method itself, however it has an "acceptNode" method // that expects the user to implement. @@ -1361,7 +1050,7 @@ namespace Emit { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(flavor, prefix, EmitScope.InstanceOnly, i); + EmitMembers(prefix, EmitScope.InstanceOnly, i); EmitEventHandlers(prefix, i); EmitIndexers(EmitScope.InstanceOnly, i); @@ -1371,7 +1060,7 @@ namespace Emit { Pt.Printl(`declare var ${i.name}: {`); Pt.IncreaseIndent(); EmitConstants(i); - EmitMembers(flavor, prefix, EmitScope.StaticOnly, i); + EmitMembers(prefix, EmitScope.StaticOnly, i); Pt.DecreaseIndent(); Pt.Printl("};"); Pt.Printl(""); @@ -1383,7 +1072,7 @@ namespace Emit { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(flavor, prefix, EmitScope.StaticOnly, i); + EmitMembers(prefix, EmitScope.StaticOnly, i); EmitConstants(i); EmitEventHandlers(prefix, i); EmitIndexers(EmitScope.StaticOnly, i); @@ -1401,24 +1090,23 @@ namespace Emit { } } - - function EmitNonCallbackInterfaces(flavor: Flavor) { - for (const i of GetNonCallbackInterfacesByFlavor(flavor).sort(compareName)) { + function EmitNonCallbackInterfaces() { + for (const i of allNonCallbackInterfaces.sort(compareName)) { // If the static attribute has a value, it means the type doesn't have a constructor if (i.static) { - EmitStaticInterface(flavor, i); + EmitStaticInterface(i); } else if (i["no-interface-object"]) { - EmitInterface(flavor, i); + EmitInterface(i); } else { - EmitInterface(flavor, i); - EmitConstructor(flavor, i); + EmitInterface(i); + EmitConstructor(i); } } } - function emitDictionary(_flavor: Flavor, dict: Browser.Dictionary) { + function emitDictionary(dict: Browser.Dictionary) { if (!dict.extends || dict.extends === "Object") { Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); } @@ -1447,37 +1135,19 @@ namespace Emit { Pt.Printl(""); } - function EmitDictionaries(flavor: Flavor) { - getElements(browser.dictionaries, "dictionary") - .filter(d => flavor !== Flavor.Worker || knownWorkerInterfaces.has(d.name)) + function EmitDictionaries() { + getElements(webidl.dictionaries, "dictionary") .sort(compareName) - .forEach(d => emitDictionary(flavor, d)); - - if (flavor === Flavor.Worker && worker.dictionaries) { - getElements(worker.dictionaries, "dictionary") - .sort(compareName) - .forEach(d => emitDictionary(flavor, d)); - } + .forEach(emitDictionary); } function emitTypeDef(typeDef: Browser.TypeDef) { Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || DomTypeToTsType(typeDef)};`); } - function EmitTypeDefs(flavor: Flavor) { - if (flavor === Flavor.Worker) { - if (browser.typedefs) - browser.typedefs.typedef - .filter(t => knownWorkerInterfaces.has(t["new-type"])) - .forEach(emitTypeDef); - - if (worker.typedefs) - worker.typedefs.typedef - .forEach(emitTypeDef); - - } - else if (browser.typedefs) { - browser.typedefs.typedef + function EmitTypeDefs() { + if (webidl.typedefs) { + webidl.typedefs.typedef .forEach(emitTypeDef); } } @@ -1486,7 +1156,7 @@ namespace Emit { return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; } - export function EmitTheWholeThing(flavor: Flavor, target: string) { + function EmitTheWholeThing() { Pt.Reset() Pt.Printl("/////////////////////////////"); if (flavor === Flavor.Worker) { @@ -1498,11 +1168,11 @@ namespace Emit { Pt.Printl("/////////////////////////////"); Pt.Printl(""); - EmitDictionaries(flavor); - getElements(browser["callback-interfaces"], "interface") + EmitDictionaries(); + getElements(webidl["callback-interfaces"], "interface") .sort(compareName) - .forEach(i => EmitCallBackInterface(flavor, i)); - EmitNonCallbackInterfaces(flavor); + .forEach(i => EmitCallBackInterface(i)); + EmitNonCallbackInterfaces(); // // Add missed interface definition from the spec // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface @@ -1510,7 +1180,7 @@ namespace Emit { Pt.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); Pt.Printl(""); - EmitCallBackFunctions(flavor); + EmitCallBackFunctions(); if (flavor !== Flavor.Worker) { EmitHTMLElementTagNameMap(); @@ -1519,24 +1189,22 @@ namespace Emit { EmitNamedConstructors(); } - const gp = GetGlobalPollutor(flavor); - if (gp) { - EmitAllMembers(flavor, gp); - EmitEventHandlers("declare var ", gp); + if (pollutor) { + EmitAllMembers(pollutor); + EmitEventHandlers("declare var ", pollutor); } + EmitTypeDefs(); + EmitEnums(); - EmitTypeDefs(flavor); - EmitEnums(flavor); - - fs.writeFileSync(target, Pt.GetResult()); + return Pt.GetResult(); } function EmitIterator(i: Browser.Interface) { // check anonymous unsigned long getter and length property let isIterableGetter = (m: Browser.Method) => - m.getter === "1" && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && integerTypes.has(m.signature[0].param![0].type); + m.getter === 1 && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && typeof m.signature[0].param![0].type === "string" && integerTypes.has(m.signature[0].param![0].type); function findIterableGetter() { let anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); @@ -1547,7 +1215,7 @@ namespace Emit { } function findLengthProperty(p: Browser.Property) { - return p.name === "length" && integerTypes.has(p.type); + return p.name === "length" && typeof p.type === "string" && integerTypes.has(p.type); } if (i.name !== "Window" && i.properties) { @@ -1563,52 +1231,241 @@ namespace Emit { } } } - function EmitES6Thing(target: string) { + + function EmitES6DomIterators() { Pt.Reset(); Pt.Printl("/////////////////////////////"); Pt.Printl("/// DOM ES6 APIs"); Pt.Printl("/////////////////////////////"); Pt.Printl(""); - getElements(browser.interfaces, "interface").forEach(EmitIterator); + allInterfaces + .sort(compareName) + .forEach(EmitIterator); - fs.writeFileSync(target, Pt.GetResult()); + return Pt.GetResult(); } +} + +function EmitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, tsWorkerOutput: string) { + const worker: Browser.WebIdl = { + "callback-functions": { + "callback-function": {} + }, + "callback-interfaces": { + "interface": {} + }, + "dictionaries": { + "dictionary": {} + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": {} + }, + "mixins": { + "mixin": {} + }, + "typedefs": { + "typedef": [] + } + }; + + const isKnownWorkerName = (o: { name: string }) => knownWorkerTypes.has(o.name); + + if (webidl["callback-functions"]) worker["callback-functions"]!["callback-function"] = filterProperties(webidl["callback-functions"]!["callback-function"], isKnownWorkerName); + if (webidl["callback-interfaces"]) worker["callback-interfaces"]!.interface = filterProperties(webidl["callback-interfaces"]!.interface, isKnownWorkerName); + if (webidl.dictionaries) worker.dictionaries!.dictionary = filterProperties(webidl.dictionaries.dictionary, isKnownWorkerName); + if (webidl.enums) worker.enums!.enum = filterProperties(webidl.enums.enum, isKnownWorkerName); + if (webidl.mixins) worker.mixins!.mixin = filterProperties(webidl.mixins.mixin, isKnownWorkerName); + if (webidl.interfaces) worker.interfaces!.interface = filterProperties(webidl.interfaces.interface, isKnownWorkerName); + if (webidl.typedefs) worker.typedefs!.typedef = webidl.typedefs.typedef.filter(t => knownWorkerTypes.has(t["new-type"])); + + const result = EmitWebIDl(worker, Flavor.Worker); + fs.writeFileSync(tsWorkerOutput, result); + return; + + function filterProperties(obj: Record, fn: (o: T) => boolean): Record { + const result: Record = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = obj[e]; + } + } + return result; + } +} + +function EmitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { + const browser = filter(webidl, o => { + if (o) { + if (typeof o.tags === "string") { + if (o.tags.indexOf("MSAppOnly") > -1) return false; + if (o.tags.indexOf("MSAppScheduler") > -1) return false; + if (o.tags.indexOf("Diagnostics") > -1) return false; + if (o.tags.indexOf("Printing") > -1) return false; + } + if (typeof o.exposed === "string") { + if (o.exposed.indexOf("Diagnostics") > -1) return false; + if (o.exposed.indexOf("WorkerDiagnostics") > -1) return false; + if (o.exposed.indexOf("Isolated") > -1) return false; + if (o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1) return false; + } + if (o.iterable === "pair-iterator") return false; + } + return true; + }); - export function EmitDomWeb() { - EmitTheWholeThing(Flavor.Web, tsWebOutput); - EmitES6Thing(tsWebES6Output); + const result = EmitWebIDl(browser, Flavor.Web); + fs.writeFileSync(tsWebOutput, result); + return; + + function filter(obj: any, fn: (o: any) => boolean) { + var result = obj; + if (typeof obj === "object") { + if (Array.isArray(obj)) { + result = obj.filter(fn); + } + else { + result = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = filter(obj[e], fn); + } + } + } + } + return result; } +} - // export function EmitDomWorker() { - // ignoreDOMTypes = true; - // EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); - // } +function EmitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { + fs.writeFileSync(tsWebES6Output, EmitWebIDl(webidl, Flavor.ES6Iterators)); } -Emit.EmitDomWeb(); -// Emit.EmitDomWorker(); +function EmitDom() { + const __SOURCE_DIRECTORY__ = __dirname; + const inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); + const outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new"); + // Create output folder + if (!fs.existsSync(outputFolder)) { + fs.mkdirSync(outputFolder); + } + const tsWebOutput = path.join(outputFolder, "dom.generated.d.ts"); + const tsWebES6Output = path.join(outputFolder, "dom.es6.generated.d.ts"); + const tsWorkerOutput = path.join(outputFolder, "webworker.generated.d.ts"); -function EmitDomWorker() { - browser = JSON.parse(fs.readFileSync(inputFolder + "/browser.webidl.json").toString()); - const isKnownWorkerName = (o: { name: string }) => knownWorkerTypes.has(o.name); + // const overriddenItems = require( path.join(inputFolder , "overridingTypes.json")); + // const addedItems = require( path.join(inputFolder , "addedTypes.json")); + const comments = require(path.join(inputFolder, "comments.json")); + // const removedItems = require( path.join(inputFolder , "removedTypes.json")); - if (browser.interfaces) browser.interfaces.interface = filterProperties(browser.interfaces.interface, isKnownWorkerName); - if (browser.dictionaries) browser.dictionaries.dictionary = filterProperties(browser.dictionaries.dictionary, isKnownWorkerName); - if (browser.enums) browser.enums.enum = filterProperties(browser.enums.enum, isKnownWorkerName); - if (browser.mixins) browser.mixins.mixin = filterProperties(browser.mixins.mixin, isKnownWorkerName); - if (browser["callback-interfaces"]) browser["callback-interfaces"]!.interface = filterProperties(browser["callback-interfaces"]!.interface, isKnownWorkerName); - if (browser["callback-functions"]) browser["callback-functions"]!["callback-function"] = filterProperties(browser["callback-functions"]!["callback-function"], isKnownWorkerName); - if (browser.dictionaries) browser.dictionaries.dictionary = filterProperties(browser.dictionaries.dictionary, isKnownWorkerName); + /// Load the input file + let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.json")); - //ignoreDOMTypes = true; + const knownWorkerTypes = new Set(require(inputFolder + "/knownWorkerTypes.json")); - Emit.EmitTheWholeThing(Flavor.Worker, tsWorkerOutput); -} + // browser = prune(browser, removedItems); + // browser = merge(browser, addedItems, "add"); + // browser = merge(browser, overriddenItems, "update"); + webidl = merge(webidl, comments, "update"); + + EmitDomWeb(webidl, tsWebOutput); + EmitDomWorker(webidl, knownWorkerTypes, tsWorkerOutput); + EmitES6DomIterators(webidl, tsWebES6Output); + + function mergeNamedArrays(srcProp: T[], targetProp: T[], mode: "add" | "update") { + const map: any = {}; + for (const e1 of srcProp) { + if (e1.name) { + map[e1.name] = e1; + } + } + + for (const e2 of targetProp) { + if (e2.name && map[e2.name]) { + merge(map[e2.name], e2, mode); + } + else if (mode === "add") { + srcProp.push(e2); + } + } + } + + function merge(src: T, target: T, mode: "add" | "update"): T { + if (typeof src !== "object" || typeof target !== "object") return src; + for (const k in target) { + if (src[k] && target[k]) { + const srcProp = src[k]; + const targetProp = target[k]; + if (Array.isArray(srcProp) && Array.isArray(targetProp)) { + mergeNamedArrays(srcProp, targetProp, mode); + } + else { + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); + merge(src[k], target[k], mode); + } + } + else { + if (typeof target[k] !== "object" || Array.isArray(target[k]) || mode === "add") { + src[k] = target[k]; + } + } + } + return src; + } -EmitDomWorker(); + function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { + if (template.interfaces && obj.interfaces) { + pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); + } + if (template["callback-interfaces"] && obj["callback-interfaces"]) { + pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); + } + if (template.typedefs && obj.typedefs) { + obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); + } + return obj; + + function pruneInterfaces(obj: Record, template: Record) { + for (const i in template) { + if (obj[i]) { + if (!template[i].properties && !template[i].methods) { + delete obj[i]; + } + if (template[i].properties && obj[i].properties) { + obj[i].properties!.property = pruneMap(obj[i].properties!.property, template[i].properties!.property); + } + if (template[i].methods && obj[i].methods) { + obj[i].methods!.method = pruneMap(obj[i].methods!.method, template[i].methods!.method); + } + } + } + } + + function pruneMap(obj: Record, template: Record): Record { + const result: Record = {}; + for (const k in obj) { + if (typeof template[k] === "undefined") { + result[k] = obj[k] + } + } + return result; + } + + function pruneKeyedArray(obj: T[], template: T[], k: K) { + const map: any = {}; + for (const e of template) { + map[e[k]] = true; + } + return obj.filter(e => !map[e[k]]); + } + } +} +EmitDom(); \ No newline at end of file From 80018bb17b274de49dc550d9dbc1b12b2db0be68 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 10:13:53 -0800 Subject: [PATCH 22/93] Add support for overrides --- index.ts | 22 +- inputfiles/json/addedTypes.json | 1943 +++++++--------------- inputfiles/json/comments.json | 2285 +++++++++----------------- inputfiles/json/overridingTypes.json | 981 +++++------ inputfiles/json/removedTypes.json | 72 +- 5 files changed, 1786 insertions(+), 3517 deletions(-) diff --git a/index.ts b/index.ts index 7fd57203c..d7ab6a2f4 100644 --- a/index.ts +++ b/index.ts @@ -43,7 +43,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const allInterfacesMap = toNameMap(allInterfaces); const allDictionariesMap: Record = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; - const allEnumsMap: Record = webidl.enums ? webidl.enums.enum: {}; + const allEnumsMap: Record = webidl.enums ? webidl.enums.enum : {}; const allCallbackFunctionsMap: Record = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); @@ -248,7 +248,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function mapToArray(m: Record): T[] { - return Object.keys(m).map(k => m[k]); + return Object.keys(m || {}).map(k => m[k]); } function map(obj: Record | undefined, fn: (o: T) => U): U[] { @@ -772,14 +772,14 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s:string)=>void) { + function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { let paramsString = s.param ? ParamsToString(s.param) : ""; let returnType = DomTypeToTsType(s); returnType = s.nullable ? makeNullable(returnType) : returnType; printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); } - function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string, printLine: (s:string)=>void) { + function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string, printLine: (s: string) => void) { if (sigs) { sigs.forEach(sig => emitSignature(sig, prefix, name, printLine)); } @@ -955,7 +955,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return true; } let sig = m.signature[0]; - let mTypes = distinct(i.methods && map(i.methods.method, m => m.signature[0].type).filter(t => t !== "void") || []); + let mTypes = distinct(i.methods && map(i.methods.method, m => m.signature && m.signature.length && m.signature[0].type || "void").filter(t => t !== "void") || []); let amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct let pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct @@ -1359,19 +1359,19 @@ function EmitDom() { const tsWorkerOutput = path.join(outputFolder, "webworker.generated.d.ts"); - // const overriddenItems = require( path.join(inputFolder , "overridingTypes.json")); - // const addedItems = require( path.join(inputFolder , "addedTypes.json")); + const overriddenItems = require(path.join(inputFolder, "overridingTypes.json")); + const addedItems = require(path.join(inputFolder, "addedTypes.json")); const comments = require(path.join(inputFolder, "comments.json")); - // const removedItems = require( path.join(inputFolder , "removedTypes.json")); + const removedItems = require(path.join(inputFolder, "removedTypes.json")); /// Load the input file let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.json")); const knownWorkerTypes = new Set(require(inputFolder + "/knownWorkerTypes.json")); - // browser = prune(browser, removedItems); - // browser = merge(browser, addedItems, "add"); - // browser = merge(browser, overriddenItems, "update"); + webidl = prune(webidl, removedItems); + webidl = merge(webidl, addedItems, "add"); + webidl = merge(webidl, overriddenItems, "update"); webidl = merge(webidl, comments, "update"); EmitDomWeb(webidl, tsWebOutput); diff --git a/inputfiles/json/addedTypes.json b/inputfiles/json/addedTypes.json index 9b453c40e..c8b909d11 100644 --- a/inputfiles/json/addedTypes.json +++ b/inputfiles/json/addedTypes.json @@ -1,18 +1,18 @@ { - "mixin-interfaces": { - "interface": { + "mixins": { + "mixin": { "Body": { "name": "Body", "methods": { - "method": [ - { + "method": { + "formData": { "name": "formData", "flavor": "Web", "override-signatures": [ "formData(): Promise" ] } - ] + } } } } @@ -29,51 +29,51 @@ "name": "BroadcastChannel", "extends": "EventTarget", "properties": { - "property": [ - { + "property": { + "name": { "name": "name", "read-only": "1", "override-type": "string" }, - { + "onmessage": { "name": "onmessage", "override-type": "(ev: MessageEvent) => any" }, - { + "onmessageerror": { "name": "onmessageerror", "override-type": "(ev: MessageEvent) => any" } - ] + } }, "methods": { - "method": [ - { + "method": { + "close": { "name": "close", "override-signatures": [ "close(): void" ] }, - { + "postMessage": { "name": "postMessage", "override-signatures": [ "postMessage(message: any): void" ] }, - { + "addEventListener": { "name": "addEventListener", "override-signatures": [ "addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void", "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" ] }, - { + "removeEventListener": { "name": "removeEventListener", "override-signatures": [ "removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void", "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" ] } - ] + } }, "override-constructor-signatures": [ "new(name: string): BroadcastChannel" @@ -82,32 +82,32 @@ "BroadcastChannelEventMap": { "name": "BroadcastChannelEventMap", "properties": { - "property": [ - { + "property": { + "message": { "name": "message", "override-type": "MessageEvent" }, - { + "messageerror": { "name": "messageerror", "override-type": "MessageEvent" } - ] + } }, "no-interface-object": "1" }, "CSSStyleDeclaration": { "name": "CSSStyleDeclaration", "properties": { - "property": [ - { + "property": { + "resize": { "name": "resize", "override-type": "string | null" }, - { + "userSelect": { "name": "userSelect", "override-type": "string | null" } - ] + } } }, "StorageEventInit": { @@ -115,32 +115,32 @@ "flavor": "Web", "extends": "EventInit", "properties": { - "property": [ - { + "property": { + "key": { "name": "key", "override-type": "string", "required": "false" }, - { + "oldValue": { "name": "oldValue", "override-type": "string", "required": "false" }, - { + "newValue": { "name": "newValue", "override-type": "string", "required": "false" }, - { + "url": { "name": "url", "override-type": "string" }, - { + "storageArea": { "name": "storageArea", "override-type": "Storage", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -148,66 +148,65 @@ "name": "Canvas2DContextAttributes", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "alpha": { "name": "alpha", "override-type": "boolean", "required": "false" }, - { + "willReadFrequently": { "name": "willReadFrequently", "override-type": "boolean", "required": "false" }, - { + "storage": { "name": "storage", "override-type": "boolean", "required": "false" - }, - { - "name": "[attribute: string]", - "override-type": "boolean | string | undefined" } - ] + } }, + "overide-index-signatures": [ + "[attribute: string]: boolean | string | undefined" + ], "no-interface-object": "1" }, "ImageBitmapOptions": { "flavor": "All", "name": "ImageBitmapOptions", "properties": { - "property": [ - { + "property": { + "imageOrientation": { "name": "imageOrientation", "override-type": "\"none\" | \"flipY\"", "required": "false" }, - { + "premultiplyAlpha": { "name": "premultiplyAlpha", "override-type": "\"none\" | \"premultiply\" | \"default\"", "required": "false" }, - { + "colorSpaceConversion": { "name": "colorSpaceConversion", "override-type": "\"none\" | \"default\"", "required": "false" }, - { + "resizeWidth": { "name": "resizeWidth", "override-type": "number", "required": "false" }, - { + "resizeHeight": { "name": "resizeHeight", "override-type": "number", "required": "false" }, - { + "resizeQuality": { "name": "resizeQuality", "override-type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -215,152 +214,152 @@ "name": "ImageBitmap", "flavor": "All", "properties": { - "property": [ - { + "property": { + "width": { "name": "width", "read-only": "1", "override-type": "number" }, - { + "height": { "name": "height", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "close": { "name": "close", "override-signatures": [ "close(): void" ] } - ] + } }, "no-interface-object": "1" }, "Window": { "name": "Window", "methods": { - "method": [ - { + "method": { + "createImageBitmap": { "name": "createImageBitmap", "override-signatures": [ "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" ] }, - { + "scroll": { "name": "scroll", "override-signatures": [ "scroll(options?: ScrollToOptions): void" ] }, - { + "scrollTo": { "name": "scrollTo", "override-signatures": [ "scrollTo(options?: ScrollToOptions): void" ] }, - { + "scrollBy": { "name": "scrollBy", "override-signatures": [ "scrollBy(options?: ScrollToOptions): void" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "URL": { "exposeGlobally": false, "name": "URL", "override-type": "typeof URL" }, - { + "URLSearchParams": { "exposeGlobally": false, "name": "URLSearchParams", "override-type": "typeof URLSearchParams" }, - { + "Blob": { "exposeGlobally": false, "name": "Blob", "override-type": "typeof Blob" }, - { + "customElements": { "name": "customElements", "override-type": "CustomElementRegistry" } - ] + } } }, "WorkerGlobalScope": { "name": "WorkerGlobalScope", "methods": { - "method": [ - { + "method": { + "createImageBitmap": { "name": "createImageBitmap", "override-signatures": [ "createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", "createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" ] } - ] + } } }, "IDBIndex": { "name": "IDBIndex", "properties": { - "property": [ - { + "property": { + "multiEntry": { "name": "multiEntry", "override-type": "boolean" } - ] + } } }, "URLSearchParams": { "name": "URLSearchParams", "methods": { - "method": [ - { + "method": { + "append": { "name": "append", "override-signatures": [ "append(name: string, value: string): void" ] }, - { + "delete": { "name": "delete", "override-signatures": [ "delete(name: string): void" ] }, - { + "get": { "name": "get", "override-signatures": [ "get(name: string): string | null" ] }, - { + "getAll": { "name": "getAll", "override-signatures": [ "getAll(name: string): string[]" ] }, - { + "has": { "name": "has", "override-signatures": [ "has(name: string): boolean" ] }, - { + "set": { "name": "set", "override-signatures": [ "set(name: string, value: string): void" ] } - ] + } }, "override-constructor-signatures": [ "new (init?: string | URLSearchParams): URLSearchParams" @@ -369,13 +368,13 @@ "URL": { "name": "URL", "properties": { - "property": [ - { + "property": { + "searchParams": { "name": "searchParams", "read-only": "1", "override-type": "URLSearchParams" } - ] + } } }, "NodeListOf": { @@ -383,22 +382,22 @@ "flavor": "Web", "extends": "NodeList", "properties": { - "property": [ - { + "property": { + "length": { "name": "length", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "item": { "name": "item", "override-signatures": [ "item(index: number): TNode" ] } - ] + } }, "no-interface-object": "1", "overide-index-signatures": [ @@ -410,20 +409,20 @@ "flavor": "Web", "extends": "HTMLCollection", "methods": { - "method": [ - { + "method": { + "item": { "name": "item", "override-signatures": [ "item(index: number): T" ] }, - { + "namedItem": { "name": "namedItem", "override-signatures": [ "namedItem(name: string): T" ] } - ] + } }, "no-interface-object": "1", "overide-index-signatures": [ @@ -433,18 +432,18 @@ "BlobPropertyBag": { "name": "BlobPropertyBag", "properties": { - "property": [ - { + "property": { + "type": { "name": "type", "override-type": "string", "required": "false" }, - { + "endings": { "name": "endings", "override-type": "string", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -452,143 +451,132 @@ "name": "FilePropertyBag", "extends": "BlobPropertyBag", "properties": { - "property": [ - { + "property": { + "lastModified": { "name": "lastModified", "override-type": "number", "required": "false" } - ] + } }, "no-interface-object": "1" }, "EventListenerObject": { "name": "EventListenerObject", "methods": { - "method": [ - { + "method": { + "handleEvent": { "name": "handleEvent", "override-signatures": [ "handleEvent(evt: Event): void" ] } - ] + } }, "no-interface-object": "1" }, "Element": { "name": "Element", "methods": { - "method": [ - { + "method": { + "getElementsByClassName": { "name": "getElementsByClassName", "override-signatures": [ "getElementsByClassName(classNames: string): NodeListOf" ] }, - { - "name": "matches", - "override-signatures": [ - "matches(selector: string): boolean" - ] - }, - { + "closest": { "name": "closest", "override-signatures": [ "closest(selector: K): HTMLElementTagNameMap[K] | null", - "closest(selector: K): SVGElementTagNameMap[K] | null" - ] - }, - { - "name": "closest", - "override-signatures": [ + "closest(selector: K): SVGElementTagNameMap[K] | null", "closest(selector: string): Element | null" ] }, - { + "scrollIntoView": { "name": "scrollIntoView", "override-signatures": [ "scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void" ] }, - { + "scroll": { "name": "scroll", "override-signatures": [ "scroll(options?: ScrollToOptions): void", "scroll(x: number, y: number): void" ] }, - { + "scrollTo": { "name": "scrollTo", "override-signatures": [ "scrollTo(options?: ScrollToOptions): void", "scrollTo(x: number, y: number): void" ] }, - { + "scrollBy": { "name": "scrollBy", "override-signatures": [ "scrollBy(options?: ScrollToOptions): void", "scrollBy(x: number, y: number): void" ] }, - { + "insertAdjacentElement": { "name": "insertAdjacentElement", "override-signatures": [ "insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null" ] }, - { + "insertAdjacentHTML": { "name": "insertAdjacentHTML", "override-signatures": [ "insertAdjacentHTML(where: InsertPosition, html: string): void" ] }, - { + "insertAdjacentText": { "name": "insertAdjacentText", "override-signatures": [ "insertAdjacentText(where: InsertPosition, text: string): void" ] }, - { + "attachShadow": { "name": "attachShadow", "override-signatures": [ "attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot" ] } - ] + } }, "extends": "ParentNode", "properties": { - "property": [ - { + "property": { + "assignedSlot": { "name": "assignedSlot", "read-only": "1", "override-type": "HTMLSlotElement | null" }, - { + "slot": { "name": "slot", "override-type": "string" }, - { + "shadowRoot": { "name": "shadowRoot", "read-only": "1", "override-type": "ShadowRoot | null" } - ] + } } }, "ScrollOptions": { "flavor": "Web", "name": "ScrollOptions", "properties": { - "property": [ - { + "property": { + "behavior": { "name": "behavior", "override-type": "ScrollBehavior", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -597,18 +585,18 @@ "name": "ScrollToOptions", "extends": "ScrollOptions", "properties": { - "property": [ - { + "property": { + "left": { "name": "left", "override-type": "number", "required": "false" }, - { + "top": { "name": "top", "override-type": "number", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -617,25 +605,25 @@ "name": "ScrollIntoViewOptions", "extends": "ScrollOptions", "properties": { - "property": [ - { + "property": { + "block": { "name": "block", "override-type": "ScrollLogicalPosition", "required": "false" }, - { + "inline": { "name": "inline", "override-type": "ScrollLogicalPosition", "required": "false" } - ] + } }, "no-interface-object": "1" }, "Document": { "methods": { - "method": [ - { + "method": { + "createElementNS": { "name": "createElementNS", "additional-signatures": [ "createElementNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", qualifiedName: string): HTMLElement", @@ -703,127 +691,73 @@ "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: string): SVGElement" ] } - ] + } }, - "extends": "ParentNode", "properties": { - "property": [ - { + "property": { + "onvisibilitychange": { "name": "onvisibilitychange", "override-type": "(this: Document, ev: Event) => any" } - ] + } } }, "Navigator": { "name": "Navigator", "methods": { - "method": [ - { + "method": { + "vibrate": { "name": "vibrate", "override-signatures": [ "vibrate(pattern: number | number[]): boolean" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "doNotTrack": { "name": "doNotTrack", "read-only": "1", "override-type": "string | null" - }, - { - "name": "hardwareConcurrency", - "read-only": "1", - "override-type": "number" - }, - { - "name": "languages", - "read-only": "1", - "override-type": "string[]" - } - ] - } - }, - "WorkerNavigator": { - "name": "WorkerNavigator", - "properties": { - "property": [ - { - "name": "hardwareConcurrency", - "read-only": "1", - "override-type": "number" } - ] + } } }, "HTMLLinkElement": { "name": "HTMLLinkElement", "properties": { - "property": [ - { + "property": { + "import": { "name": "import", "override-type": "Document", "required": "false" - }, - { - "name": "integrity", - "override-type": "string" } - ] + } } }, "HTMLCanvasElement": { "name": "HTMLCanvasElement", "methods": { - "method": [ - { + "method": { + "toBlob": { "name": "toBlob", "override-signatures": [ "toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void" ] } - ] - } - }, - "StorageEvent": { - "name": "StorageEvent", - "properties": { - "property": [ - { - "name": "key", - "override-type": "string", - "required": "false" - }, - { - "name": "oldValue", - "override-type": "string", - "required": "false" - }, - { - "name": "newValue", - "override-type": "string", - "required": "false" - }, - { - "name": "storageArea", - "override-type": "Storage", - "required": "false" - } - ] + } } }, "IDBObjectStore": { "name": "IDBObjectStore", "properties": { - "property": [ - { + "property": { + "autoIncrement": { "name": "autoIncrement", "override-type": "boolean" } - ] + } } }, "ClipboardEventInit": { @@ -831,82 +765,75 @@ "name": "ClipboardEventInit", "extends": "EventInit", "properties": { - "property": [ - { + "property": { + "data": { "name": "data", "override-type": "string", "required": "false" }, - { + "dataType": { "name": "dataType", "override-type": "string", "required": "false" } - ] + } }, "no-interface-object": "1" }, "IDBArrayKey": { "name": "IDBArrayKey", - "extends": "Array", + "extends": "Array", "no-interface-object": "1" }, "HTMLInputElement": { "name": "HTMLInputElement", "properties": { - "property": [ - { + "property": { + "minLength": { "name": "minLength", "override-type": "number" } - ] + } } }, "HTMLIFrameElement": { "name": "HTMLIFrameElement", "properties": { - "property": [ - { + "property": { + "srcdoc": { "name": "srcdoc", "override-type": "string" } - ] + } } }, "HTMLTextAreaElement": { "name": "HTMLTextAreaElement", "properties": { - "property": [ - { + "property": { + "minLength": { "name": "minLength", "override-type": "number" } - ] + } } }, "IDBDatabase": { "name": "IDBDatabase", "properties": { - "property": [ - { + "property": { + "onversionchange": { "name": "onversionchange", - "override-type": "(ev: IDBVersionChangeEvent) => any" + "type": "EventHandlerNonNull", + "nullable": 1 } - ] + } }, - "methods": { - "method": [ - { - "name": "addEventListener", - "override-signatures": [ - "addEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | AddEventListenerOptions): void" - ] - }, + "events": { + "event": [ { - "name": "removeEventListener", - "override-signatures": [ - "removeEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | EventListenerOptions): void" - ] + "name": "versionchange", + "type": "IDBVersionChangeEvent" } ] } @@ -914,371 +841,62 @@ "CanvasRenderingContext2D": { "name": "CanvasRenderingContext2D", "properties": { - "property": [ - { + "property": { + "mozImageSmoothingEnabled": { "name": "mozImageSmoothingEnabled", "override-type": "boolean" }, - { + "webkitImageSmoothingEnabled": { "name": "webkitImageSmoothingEnabled", "override-type": "boolean" }, - { + "oImageSmoothingEnabled": { "name": "oImageSmoothingEnabled", "override-type": "boolean" } - ] + } } }, - "RsaKeyGenParams": { - "name": "RsaKeyGenParams", + "AesCmacParams": { + "name": "AesCmacParams", "extends": "Algorithm", "properties": { - "property": [ - { - "name": "modulusLength", + "property": { + "length": { + "name": "length", "override-type": "number" - }, - { - "name": "publicExponent", - "override-type": "Uint8Array" } - ] + } }, "no-interface-object": "1" }, - "RsaHashedKeyGenParams": { - "name": "RsaHashedKeyGenParams", - "extends": "RsaKeyGenParams", + "AesCfbParams": { + "name": "AesCfbParams", + "extends": "Algorithm", "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" + "property": { + "iv": { + "name": "iv", + "override-type": "Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer" } - ] + } }, "no-interface-object": "1" }, - "RsaKeyAlgorithm": { - "name": "RsaKeyAlgorithm", - "extends": "KeyAlgorithm", + "DhKeyGenParams": { + "name": "DhKeyGenParams", + "extends": "Algorithm", "properties": { - "property": [ - { - "name": "modulusLength", - "override-type": "number" - }, - { - "name": "publicExponent", - "override-type": "Uint8Array" - } - ] - }, - "no-interface-object": "1" - }, - "RsaHashedKeyAlgorithm": { - "name": "RsaHashedKeyAlgorithm", - "extends": "RsaKeyAlgorithm", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - } - ] - }, - "no-interface-object": "1" - }, - "RsaHashedImportParams": { - "name": "RsaHashedImportParams", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - } - ] - }, - "no-interface-object": "1" - }, - "RsaPssParams": { - "name": "RsaPssParams", - "properties": { - "property": [ - { - "name": "saltLength", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "RsaOaepParams": { - "name": "RsaOaepParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "label", - "override-type": "BufferSource", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, - "EcdsaParams": { - "name": "EcdsaParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - } - ] - }, - "no-interface-object": "1" - }, - "EcKeyGenParams": { - "name": "EcKeyGenParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "namedCurve", - "override-type": "string" - } - ] - }, - "no-interface-object": "1" - }, - "EcKeyAlgorithm": { - "name": "EcKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": { - "property": [ - { - "name": "typedCurve", - "override-type": "string" - } - ] - }, - "no-interface-object": "1" - }, - "EcKeyImportParams": { - "name": "EcKeyImportParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "namedCurve", - "override-type": "string" - } - ] - }, - "no-interface-object": "1" - }, - "EcdhKeyDeriveParams": { - "name": "EcdhKeyDeriveParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "public", - "override-type": "CryptoKey" - } - ] - }, - "no-interface-object": "1" - }, - "AesCtrParams": { - "name": "AesCtrParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "counter", - "override-type": "BufferSource" - }, - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "AesKeyAlgorithm": { - "name": "AesKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": { - "property": [ - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "AesKeyGenParams": { - "name": "AesKeyGenParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "AesDerivedKeyParams": { - "name": "AesDerivedKeyParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "AesCbcParams": { - "name": "AesCbcParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "iv", - "override-type": "BufferSource" - } - ] - }, - "no-interface-object": "1" - }, - "AesCmacParams": { - "name": "AesCmacParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "AesGcmParams": { - "name": "AesGcmParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "iv", - "override-type": "BufferSource" - }, - { - "name": "additionalData", - "override-type": "BufferSource", - "required": "false" - }, - { - "name": "tagLength", - "override-type": "number", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, - "AesCfbParams": { - "name": "AesCfbParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "iv", - "override-type": "BufferSource" - } - ] - }, - "no-interface-object": "1" - }, - "HmacImportParams": { - "name": "HmacImportParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier", - "required": "false" - }, - { - "name": "length", - "override-type": "number", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, - "HmacKeyAlgorithm": { - "name": "HmacKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - }, - { - "name": "length", - "override-type": "number" - } - ] - }, - "no-interface-object": "1" - }, - "HmacKeyGenParams": { - "name": "HmacKeyGenParams", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - }, - { - "name": "length", - "override-type": "number", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, - "DhKeyGenParams": { - "name": "DhKeyGenParams", - "extends": "Algorithm", - "properties": { - "property": [ - { + "property": { + "prime": { "name": "prime", "override-type": "Uint8Array" }, - { + "generator": { "name": "generator", "override-type": "Uint8Array" } - ] + } }, "no-interface-object": "1" }, @@ -1286,16 +904,16 @@ "name": "DhKeyAlgorithm", "extends": "KeyAlgorithm", "properties": { - "property": [ - { + "property": { + "prime": { "name": "prime", "override-type": "Uint8Array" }, - { + "generator": { "name": "generator", "override-type": "Uint8Array" } - ] + } }, "no-interface-object": "1" }, @@ -1303,12 +921,12 @@ "name": "DhKeyDeriveParams", "extends": "Algorithm", "properties": { - "property": [ - { + "property": { + "prime": { "name": "public", "override-type": "CryptoKey" } - ] + } }, "no-interface-object": "1" }, @@ -1316,16 +934,16 @@ "name": "DhImportKeyParams", "extends": "Algorithm", "properties": { - "property": [ - { + "property": { + "prime": { "name": "prime", "override-type": "Uint8Array" }, - { + "generator": { "name": "generator", "override-type": "Uint8Array" } - ] + } }, "no-interface-object": "1" }, @@ -1333,35 +951,35 @@ "name": "ConcatParams", "extends": "Algorithm", "properties": { - "property": [ - { + "property": { + "hash": { "name": "hash", - "override-type": "AlgorithmIdentifier", + "override-type": "string | Algorithm", "required": "false" }, - { + "algorithmId": { "name": "algorithmId", "override-type": "Uint8Array" }, - { + "partyUInfo": { "name": "partyUInfo", "override-type": "Uint8Array" }, - { + "partyVInfo": { "name": "partyVInfo", "override-type": "Uint8Array" }, - { + "publicInfo": { "name": "publicInfo", "override-type": "Uint8Array", "required": "false" }, - { + "privateInfo": { "name": "privateInfo", "override-type": "Uint8Array", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -1369,347 +987,160 @@ "name": "HkdfCtrParams", "extends": "Algorithm", "properties": { - "property": [ - { + "property": { + "hash": { "name": "hash", - "override-type": "AlgorithmIdentifier" + "override-type": "string | Algorithm" }, - { + "label": { "name": "label", - "override-type": "BufferSource" + "override-type": "Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer" }, - { + "context": { "name": "context", - "override-type": "BufferSource" - } - ] - }, - "no-interface-object": "1" - }, - "Pbkdf2Params": { - "name": "Pbkdf2Params", - "extends": "Algorithm", - "properties": { - "property": [ - { - "name": "salt", - "override-type": "BufferSource" - }, - { - "name": "iterations", - "override-type": "number" - }, - { - "name": "hash", - "override-type": "AlgorithmIdentifier" - } - ] - }, - "no-interface-object": "1" - }, - "RsaOtherPrimesInfo": { - "name": "RsaOtherPrimesInfo", - "properties": { - "property": [ - { - "name": "r", - "override-type": "string" - }, - { - "name": "d", - "override-type": "string" - }, - { - "name": "t", - "override-type": "string" - } - ] - }, - "no-interface-object": "1" - }, - "JsonWebKey": { - "name": "JsonWebKey", - "properties": { - "property": [ - { - "name": "kty", - "override-type": "string" - }, - { - "name": "use", - "override-type": "string", - "required": "false" - }, - { - "name": "key_ops", - "override-type": "string[]", - "required": "false" - }, - { - "name": "alg", - "override-type": "string", - "required": "false" - }, - { - "name": "kid", - "override-type": "string", - "required": "false" - }, - { - "name": "x5u", - "override-type": "string", - "required": "false" - }, - { - "name": "x5c", - "override-type": "string", - "required": "false" - }, - { - "name": "x5t", - "override-type": "string", - "required": "false" - }, - { - "name": "ext", - "override-type": "boolean", - "required": "false" - }, - { - "name": "crv", - "override-type": "string", - "required": "false" - }, - { - "name": "x", - "override-type": "string", - "required": "false" - }, - { - "name": "y", - "override-type": "string", - "required": "false" - }, - { - "name": "d", - "override-type": "string", - "required": "false" - }, - { - "name": "n", - "override-type": "string", - "required": "false" - }, - { - "name": "e", - "override-type": "string", - "required": "false" - }, - { - "name": "p", - "override-type": "string", - "required": "false" - }, - { - "name": "q", - "override-type": "string", - "required": "false" - }, - { - "name": "dp", - "override-type": "string", - "required": "false" - }, - { - "name": "dq", - "override-type": "string", - "required": "false" - }, - { - "name": "qi", - "override-type": "string", - "required": "false" - }, - { - "name": "oth", - "override-type": "RsaOtherPrimesInfo[]", - "required": "false" - }, - { - "name": "k", - "override-type": "string", - "required": "false" + "override-type": "Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer" } - ] + } }, "no-interface-object": "1" }, - "XMLHttpRequest": { - "name": "XMLHttpRequest", - "properties": { - "property": [ - { - "name": "msCaching", - "override-type": "string", - "required": "false" - } - ] - } - }, "DataTransfer": { "name": "DataTransfer", "methods": { - "method": [ - { + "method": { + "setDragImage": { "name": "setDragImage", "override-signatures": [ "setDragImage(image: Element, x: number, y: number): void" ] } - ] + } } }, "PerformanceTiming": { "name": "PerformanceTiming", "properties": { - "property": [ - { + "property": { + "secureConnectionStart": { "name": "secureConnectionStart", "read-only": "1", "override-type": "number" } - ] - } - }, - "HTMLScriptElement": { - "name": "HTMLScriptElement", - "properties": { - "property": [ - { - "name": "integrity", - "override-type": "string" - } - ] + } } }, "KeyboardEvent": { "name": "KeyboardEvent", "properties": { - "property": [ - { + "property": { + "code": { "name": "code", "read-only": "1", "override-type": "string" } - ] + } } }, "ParentNode": { "name": "ParentNode", "flavor": "Web", "properties": { - "property": [ - { - "name": "children", - "read-only": "1", - "override-type": "HTMLCollection" - }, - { + "property": { + "firstElementChild": { "name": "firstElementChild", "read-only": "1", "override-type": "Element | null" }, - { + "lastElementChild": { "name": "lastElementChild", "read-only": "1", "override-type": "Element | null" }, - { + "childElementCount": { "name": "childElementCount", "read-only": "1", "override-type": "number" } - ] + } }, "no-interface-object": "1" }, "DocumentFragment": { "name": "DocumentFragment", - "extends": "ParentNode", "methods": { - "method": [ - { + "method": { + "getElementById": { "name": "getElementById", "flavor": "Web", "override-signatures": [ "getElementById(elementId: string): HTMLElement | null" ] } - ] + } } }, "History": { "name": "History", "properties": { - "property": [ - { + "property": { + "scrollRestoration": { "name": "scrollRestoration", "override-type": "ScrollRestoration" } - ] + } } }, "CanvasPattern": { "name": "CanvasPattern", "methods": { - "method": [ - { + "method": { + "setTransform": { "name": "setTransform", "override-signatures": [ "setTransform(matrix: SVGMatrix): void" ] } - ] + } } }, "DocumentOrShadowRoot": { "name": "DocumentOrShadowRoot", "flavor": "Web", "methods": { - "method": [ - { + "method": { + "getSelection": { "name": "getSelection", "override-signatures": [ "getSelection(): Selection | null" ] }, - { + "elementFromPoint": { "name": "elementFromPoint", "override-signatures": [ "elementFromPoint(x: number, y: number): Element | null" ] }, - { + "elementsFromPoint": { "name": "elementsFromPoint", "override-signatures": [ "elementsFromPoint(x: number, y: number): Element[]" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "activeElement": { "name": "activeElement", "read-only": "1", "override-type": "Element | null" }, - { + "styleSheets": { "name": "styleSheets", "read-only": "1", "override-type": "StyleSheetList" } - ] + } }, "no-interface-object": "1" }, @@ -1718,17 +1149,17 @@ "extends": "DocumentOrShadowRoot, DocumentFragment", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "host": { "name": "host", "read-only": "1", "override-type": "Element" }, - { + "innerHTML": { "name": "innerHTML", "override-type": "string" } - ] + } }, "no-interface-object": "1" }, @@ -1736,30 +1167,30 @@ "name": "ShadowRootInit", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "mode": { "name": "mode", "override-type": "\"open\" | \"closed\"" }, - { + "delegatesFocus": { "name": "delegatesFocus", "override-type": "boolean", "required": "false" } - ] + } }, "no-interface-object": "1" }, "Text": { "name": "Text", "properties": { - "property": [ - { + "property": { + "assignedSlot": { "name": "assignedSlot", "read-only": "1", "override-type": "HTMLSlotElement | null" } - ] + } } }, "HTMLSlotElement": { @@ -1767,22 +1198,22 @@ "extends": "HTMLElement", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "name": { "name": "name", "override-type": "string" } - ] + } }, "methods": { - "method": [ - { + "method": { + "assignedNodes": { "name": "assignedNodes", "override-signatures": [ "assignedNodes(options?: AssignedNodesOptions): Node[]" ] } - ] + } }, "no-interface-object": "1", "element": [ @@ -1795,48 +1226,48 @@ "name": "AssignedNodesOptions", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "flatten": { "name": "flatten", "override-type": "boolean", "required": "false" } - ] + } }, "no-interface-object": "1" }, "Event": { "name": "Event", "properties": { - "property": [ - { + "property": { + "scoped": { "name": "scoped", "read-only": "1", "override-type": "boolean" } - ] + } }, "methods": { - "method": [ - { + "method": { + "deepPath": { "name": "deepPath", "override-signatures": [ "deepPath(): EventTarget[]" ] } - ] + } } }, "ElementDefinitionOptions": { "name": "ElementDefinitionOptions", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "extends": { "name": "extends", "override-type": "string" } - ] + } }, "no-interface-object": "1" }, @@ -1844,13 +1275,13 @@ "name": "ElementCreationOptions", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "is": { "name": "is", "override-type": "string", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -1858,26 +1289,26 @@ "name": "CustomElementRegistry", "flavor": "Web", "methods": { - "method": [ - { + "method": { + "define": { "name": "define", "override-signatures": [ "define(name: string, constructor: Function, options?: ElementDefinitionOptions): void" ] }, - { + "get": { "name": "get", "override-signatures": [ "get(name: string): any" ] }, - { + "whenDefined": { "name": "whenDefined", "override-signatures": [ "whenDefined(name: string): PromiseLike" ] } - ] + } }, "no-interface-object": "1" }, @@ -1886,18 +1317,18 @@ "extends": "Event", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "promise": { "name": "promise", "read-only": "1", "override-type": "PromiseLike" }, - { + "reason": { "name": "reason", "read-only": "1", "override-type": "any" } - ] + } }, "no-interface-object": "1" }, @@ -1906,142 +1337,98 @@ "extends": "EventInit", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "promise": { "name": "promise", "override-type": "PromiseLike" }, - { + "reason": { "name": "reason", "override-type": "any", "required": "false" } - ] + } }, "no-interface-object": "1" }, "FormData": { "name": "FormData", "methods": { - "method": [ - { + "method": { + "delete": { "name": "delete", "flavor": "Web", "override-signatures": [ "delete(name: string): void" ] }, - { + "get": { "name": "get", "flavor": "Web", "override-signatures": [ "get(name: string): FormDataEntryValue | null" ] }, - { + "getAll": { "name": "getAll", "flavor": "Web", "override-signatures": [ "getAll(name: string): FormDataEntryValue[]" ] }, - { + "has": { "name": "has", "flavor": "Web", "override-signatures": [ "has(name: string): boolean" ] }, - { + "set": { "name": "set", "flavor": "Web", "override-signatures": [ "set(name: string, value: string | Blob, fileName?: string): void" ] } - ] + } } }, - "EventListenerOptions": { - "name": "EventListenerOptions", - "properties": { - "property": [ - { - "name": "capture", - "override-type": "boolean", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, - "AddEventListenerOptions": { - "name": "AddEventListenerOptions", - "extends": "EventListenerOptions", - "properties": { - "property": [ - { - "name": "passive", - "override-type": "boolean", - "required": "false" - }, - { - "name": "once", - "override-type": "boolean", - "required": "false" - } - ] - }, - "no-interface-object": "1" - }, "TouchEventInit": { "name": "TouchEventInit", "flavor": "Web", "extends": "EventModifierInit", "properties": { - "property": [ - { + "property": { + "touches": { "name": "touches", "override-type": "Touch[]", "required": "false" }, - { + "targetTouches": { "name": "targetTouches", "override-type": "Touch[]", "required": "false" }, - { + "changedTouches": { "name": "changedTouches", "override-type": "Touch[]", "required": "false" } - ] + } }, "no-interface-object": "1" }, - "IntersectionObserverEntry": { - "name": "IntersectionObserverEntry", - "properties": { - "property": [ - { - "name": "isIntersecting", - "read-only": "1", - "override-type": "boolean" - } - ] - } - }, "ValidityState": { "name": "ValidityState", "properties": { - "property": [ - { + "property": { + "tooShort": { "name": "tooShort", "flavor": "Web", "read-only": "1", "override-type": "boolean" } - ] + } } }, "HTMLDialogElement": { @@ -2049,55 +1436,43 @@ "extends": "HTMLElement", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "open": { "name": "open", "override-type": "boolean" }, - { + "returnValue": { "name": "returnValue", "override-type": "string" } - ] + } }, "methods": { - "method": [ - { + "method": { + "close": { "name": "close", "override-signatures": [ "close(returnValue?: string): void" ] }, - { + "show": { "name": "show", "override-signatures": [ "show(): void" ] }, - { + "showModal": { "name": "showModal", "override-signatures": [ "showModal(): void" ] } - ] + } }, "override-constructor-signatures": [ "new(): HTMLDialogElement" ] }, - "Response": { - "name": "Response", - "properties": { - "property": [ - { - "name": "redirected", - "read-only": "1", - "override-type": "boolean" - } - ] - } - }, "HTMLMainElement": { "name": "HTMLMainElement", "extends": "HTMLElement", @@ -2111,12 +1486,12 @@ "extends": "HTMLElement", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "open": { "name": "open", "override-type": "boolean" } - ] + } }, "override-constructor-signatures": [ "new(): HTMLDetailsElement" @@ -2134,48 +1509,48 @@ "name": "DOMRectReadOnly", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "bottom": { "name": "bottom", "read-only": "1", "override-type": "number" }, - { + "height": { "name": "height", "read-only": "1", "override-type": "number" }, - { + "left": { "name": "left", "read-only": "1", "override-type": "number" }, - { + "right": { "name": "right", "read-only": "1", "override-type": "number" }, - { + "top": { "name": "top", "read-only": "1", "override-type": "number" }, - { + "width": { "name": "width", "read-only": "1", "override-type": "number" }, - { + "x": { "name": "x", "read-only": "1", "override-type": "number" }, - { + "y": { "name": "y", "read-only": "1", "override-type": "number" } - ] + } }, "override-constructor-signatures": [ "new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly", @@ -2186,18 +1561,18 @@ "name": "EXT_blend_minmax", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "MIN_EXT": { "name": "MIN_EXT", "read-only": "1", "override-type": "number" }, - { + "MAX_EXT": { "name": "MAX_EXT", "read-only": "1", "override-type": "number" } - ] + } }, "no-interface-object": "1" }, @@ -2205,7 +1580,7 @@ "name": "EXT_frag_depth", "flavor": "Web", "properties": { - "property": [] + "property": {} }, "no-interface-object": "1" }, @@ -2213,7 +1588,7 @@ "name": "EXT_shader_texture_lod", "flavor": "Web", "properties": { - "property": [] + "property": {} }, "no-interface-object": "1" }, @@ -2221,28 +1596,28 @@ "name": "EXT_sRGB", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "SRGB_EXT": { "name": "SRGB_EXT", "read-only": "1", "override-type": "number" }, - { + "SRGB_ALPHA_EXT": { "name": "SRGB_ALPHA_EXT", "read-only": "1", "override-type": "number" }, - { + "SRGB8_ALPHA8_EXT": { "name": "SRGB8_ALPHA8_EXT", "read-only": "1", "override-type": "number" }, - { + "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT": { "name": "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", "read-only": "1", "override-type": "number" } - ] + } }, "no-interface-object": "1" }, @@ -2251,24 +1626,24 @@ "extends": "DOMRectReadOnly", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "height": { "name": "height", "override-type": "number" }, - { + "width": { "name": "width", "override-type": "number" }, - { + "x": { "name": "x", "override-type": "number" }, - { + "y": { "name": "y", "override-type": "number" } - ] + } }, "override-constructor-signatures": [ "new (x?: number, y?: number, width?: number, height?: number): DOMRect", @@ -2279,23 +1654,23 @@ "name": "DOMRectList", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "length": { "name": "length", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "item": { "name": "item", "override-signatures": [ "item(index: number): DOMRect | null" ] } - ] + } }, "no-interface-object": "1", "overide-index-signatures": [ @@ -2305,63 +1680,56 @@ "HTMLFormElement": { "name": "HTMLFormElement", "methods": { - "method": [ - { - "name": "reportValidity", - "flavor": "Web", - "override-signatures": [ - "reportValidity(): boolean" - ] - }, - { + "method": { + "reportValidity": { "name": "reportValidity", "flavor": "Web", "override-signatures": [ "reportValidity(): boolean" ] } - ] + } } }, "OES_vertex_array_object": { "name": "OES_vertex_array_object", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "VERTEX_ARRAY_BINDING_OES": { "name": "VERTEX_ARRAY_BINDING_OES", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "createVertexArrayOES": { "name": "createVertexArrayOES", "override-signatures": [ "createVertexArrayOES(): WebGLVertexArrayObjectOES" ] }, - { + "deleteVertexArrayOES": { "name": "deleteVertexArrayOES", "override-signatures": [ "deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" ] }, - { + "isVertexArrayOES": { "name": "isVertexArrayOES", "override-signatures": [ "isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES" ] }, - { + "bindVertexArrayOES": { "name": "bindVertexArrayOES", "override-signatures": [ "bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" ] } - ] + } }, "no-interface-object": "1" }, @@ -2369,7 +1737,7 @@ "name": "WebGLVertexArrayObjectOES", "flavor": "Web", "properties": { - "property": [] + "property": {} }, "no-interface-object": "1" }, @@ -2377,28 +1745,28 @@ "name": "WEBGL_color_buffer_float", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "RGBA32F_EXT": { "name": "RGBA32F_EXT", "read-only": "1", "override-type": "number" }, - { + "RGB32F_EXT": { "name": "RGB32F_EXT", "read-only": "1", "override-type": "number" }, - { + "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT": { "name": "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", "read-only": "1", "override-type": "number" }, - { + "UNSIGNED_NORMALIZED_EXT": { "name": "UNSIGNED_NORMALIZED_EXT", "read-only": "1", "override-type": "number" } - ] + } }, "no-interface-object": "1" }, @@ -2406,158 +1774,158 @@ "name": "WEBGL_compressed_texture_astc", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "COMPRESSED_RGBA_ASTC_4x4_KHR": { "name": "COMPRESSED_RGBA_ASTC_4x4_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_5x4_KHR": { "name": "COMPRESSED_RGBA_ASTC_5x4_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_5x5_KHR": { "name": "COMPRESSED_RGBA_ASTC_5x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_6x5_KHR": { "name": "COMPRESSED_RGBA_ASTC_6x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_6x6_KHR": { "name": "COMPRESSED_RGBA_ASTC_6x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_8x5_KHR": { "name": "COMPRESSED_RGBA_ASTC_8x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_8x6_KHR": { "name": "COMPRESSED_RGBA_ASTC_8x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_8x8_KHR": { "name": "COMPRESSED_RGBA_ASTC_8x8_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_10x5_KHR": { "name": "COMPRESSED_RGBA_ASTC_10x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_10x6_KHR": { "name": "COMPRESSED_RGBA_ASTC_10x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_10x8_KHR": { "name": "COMPRESSED_RGBA_ASTC_10x8_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_10x10_KHR": { "name": "COMPRESSED_RGBA_ASTC_10x10_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_12x10_KHR": { "name": "COMPRESSED_RGBA_ASTC_12x10_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_RGBA_ASTC_12x12_KHR": { "name": "COMPRESSED_RGBA_ASTC_12x12_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR": { "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "getSupportedProfiles": { "name": "getSupportedProfiles", "override-signatures": [ "getSupportedProfiles(): string[]" ] } - ] + } }, "no-interface-object": "1" }, @@ -2565,28 +1933,28 @@ "name": "WEBGL_compressed_texture_s3tc_srgb", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "COMPRESSED_SRGB_S3TC_DXT1_EXT": { "name": "COMPRESSED_SRGB_S3TC_DXT1_EXT", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT": { "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT": { "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", "read-only": "1", "override-type": "number" }, - { + "COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT": { "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", "read-only": "1", "override-type": "number" } - ] + } }, "no-interface-object": "1" }, @@ -2594,14 +1962,14 @@ "name": "WEBGL_debug_shaders", "flavor": "Web", "methods": { - "method": [ - { + "method": { + "getTranslatedShaderSource": { "name": "getTranslatedShaderSource", "override-signatures": [ "getTranslatedShaderSource(shader: WebGLShader): string" ] } - ] + } }, "no-interface-object": "1" }, @@ -2609,188 +1977,188 @@ "name": "WEBGL_draw_buffers", "flavor": "Web", "properties": { - "property": [ - { + "property": { + "COLOR_ATTACHMENT0_WEBGL": { "name": "COLOR_ATTACHMENT0_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT1_WEBGL": { "name": "COLOR_ATTACHMENT1_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT2_WEBGL": { "name": "COLOR_ATTACHMENT2_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT3_WEBGL": { "name": "COLOR_ATTACHMENT3_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT4_WEBGL": { "name": "COLOR_ATTACHMENT4_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT5_WEBGL": { "name": "COLOR_ATTACHMENT5_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT6_WEBGL": { "name": "COLOR_ATTACHMENT6_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT7_WEBGL": { "name": "COLOR_ATTACHMENT7_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT8_WEBGL": { "name": "COLOR_ATTACHMENT8_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT9_WEBGL": { "name": "COLOR_ATTACHMENT9_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT10_WEBGL": { "name": "COLOR_ATTACHMENT10_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT11_WEBGL": { "name": "COLOR_ATTACHMENT11_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT12_WEBGL": { "name": "COLOR_ATTACHMENT12_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT13_WEBGL": { "name": "COLOR_ATTACHMENT13_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT14_WEBGL": { "name": "COLOR_ATTACHMENT14_WEBGL", "read-only": "1", "override-type": "number" }, - { + "COLOR_ATTACHMENT15_WEBGL": { "name": "COLOR_ATTACHMENT15_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER0_WEBGL": { "name": "DRAW_BUFFER0_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER1_WEBGL": { "name": "DRAW_BUFFER1_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER2_WEBGL": { "name": "DRAW_BUFFER2_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER3_WEBGL": { "name": "DRAW_BUFFER3_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER4_WEBGL": { "name": "DRAW_BUFFER4_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER5_WEBGL": { "name": "DRAW_BUFFER5_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER6_WEBGL": { "name": "DRAW_BUFFER6_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER7_WEBGL": { "name": "DRAW_BUFFER7_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER8_WEBGL": { "name": "DRAW_BUFFER8_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER9_WEBGL": { "name": "DRAW_BUFFER9_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER10_WEBGL": { "name": "DRAW_BUFFER10_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER11_WEBGL": { "name": "DRAW_BUFFER11_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER12_WEBGL": { "name": "DRAW_BUFFER12_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER13_WEBGL": { "name": "DRAW_BUFFER13_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER14_WEBGL": { "name": "DRAW_BUFFER14_WEBGL", "read-only": "1", "override-type": "number" }, - { + "DRAW_BUFFER15_WEBGL": { "name": "DRAW_BUFFER15_WEBGL", "read-only": "1", "override-type": "number" }, - { + "MAX_COLOR_ATTACHMENTS_WEBGL": { "name": "MAX_COLOR_ATTACHMENTS_WEBGL", "read-only": "1", "override-type": "number" }, - { + "MAX_DRAW_BUFFERS_WEBGL": { "name": "MAX_DRAW_BUFFERS_WEBGL", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "drawBuffersWEBGL": { "name": "drawBuffersWEBGL", "override-signatures": [ "drawBuffersWEBGL(buffers: number[]): void" ] } - ] + } }, "no-interface-object": "1" }, @@ -2798,171 +2166,116 @@ "name": "WEBGL_lose_context", "flavor": "Web", "methods": { - "method": [ - { + "method": { + "loseContext": { "name": "loseContext", "override-signatures": [ "loseContext(): void" ] }, - { + "restoreContext": { "name": "restoreContext", "override-signatures": [ "restoreContext(): void" ] } - ] + } }, "no-interface-object": "1" }, "HTMLLabelElement": { "name": "HTMLLabelElement", "properties": { - "property": [ - { + "property": { + "control": { "name": "control", "read-only": "1", "override-type": "HTMLInputElement | null" } - ] + } } }, "HTMLObjectElement": { "name": "HTMLObjectElement", "properties": { - "property": [ - { + "property": { + "typemustmatch": { "name": "typemustmatch", "override-type": "boolean" } - ] + } } }, "File": { "name": "File", "properties": { - "property": [ - { + "property": { + "lastModified": { "name": "lastModified", "read-only": "1", "override-type": "number" } - ] - } - }, - "AbortController": { - "name": "AbortController", - "properties": { - "property": [ - { - "name": "signal", - "read-only": "1", - "override-type": "AbortSignal" - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "override-signatures": [ - "abort(): void" - ] - } - ] - }, - "override-constructor-signatures": [ - "new(): AbortController" - ] - }, - "AbortSignal": { - "name": "AbortSignal", - "extends": "EventTarget", - "properties": { - "property": [ - { - "name": "aborted", - "read-only": "1", - "override-type": "boolean" - }, - { - "name": "onabort", - "override-type": "(ev: Event) => any" - } - ] - }, - "no-interface-object": "1" - }, - "Request": { - "name": "Request", - "properties": { - "property": [ - { - "name": "signal", - "read-only": "1", - "override-type": "AbortSignal" - } - ] + } } }, "EventSource": { "name": "EventSource", "extends": "EventTarget", "properties": { - "property": [ - { + "property": { + "url": { "name": "url", "read-only": "1", "override-type": "string" }, - { + "withCredentials": { "name": "withCredentials", "read-only": "1", "override-type": "boolean" }, - { + "CONNECTING": { "name": "CONNECTING", "read-only": "1", "override-type": "number" }, - { + "OPEN": { "name": "OPEN", "read-only": "1", "override-type": "number" }, - { + "CLOSED": { "name": "CLOSED", "read-only": "1", "override-type": "number" }, - { + "readyState": { "name": "readyState", "read-only": "1", "override-type": "number" }, - { + "onopen": { "name": "onopen", "override-type": "(evt: MessageEvent) => any" }, - { + "onmessage": { "name": "onmessage", "override-type": "(evt: MessageEvent) => any" }, - { + "onerror": { "name": "onerror", "override-type": "(evt: MessageEvent) => any" } - ] + } }, "methods": { - "method": [ - { + "method": { + "close": { "name": "close", "override-signatures": [ "close(): void" ] } - ] + } }, "override-constructor-signatures": [ "new(url: string, eventSourceInitDict?: EventSourceInit): EventSource" @@ -2971,13 +2284,13 @@ "EventSourceInit": { "name": "EventSourceInit", "properties": { - "property": [ - { + "property": { + "withCredentials": { "name": "withCredentials", "read-only": "1", "override-type": "boolean" } - ] + } }, "no-interface-object": "1" }, @@ -2985,18 +2298,18 @@ "flavor": "Web", "name": "AnimationKeyFrame", "properties": { - "property": [ - { + "property": { + "offset": { "name": "offset", "override-type": "number | null | (number | null)[]", "required": "false" }, - { + "easing": { "name": "easing", "override-type": "string | string[]", "required": "false" } - ] + } }, "no-interface-object": "1", "overide-index-signatures": [ @@ -3007,53 +2320,53 @@ "flavor": "Web", "name": "AnimationOptions", "properties": { - "property": [ - { + "property": { + "id": { "name": "id", "override-type": "string", "required": "false" }, - { + "delay": { "name": "delay", "override-type": "number", "required": "false" }, - { + "direction": { "name": "direction", "override-type": "\"normal\" | \"reverse\" | \"alternate\" | \"alternate-reverse\"", "required": "false" }, - { + "duration": { "name": "duration", "override-type": "number", "required": "false" }, - { + "easing": { "name": "easing", "override-type": "string", "required": "false" }, - { + "endDelay": { "name": "endDelay", "override-type": "number", "required": "false" }, - { + "fill": { "name": "fill", "override-type": "\"none\" | \"forwards\" | \"backwards\" | \"both\"| \"auto\"", "required": "false" }, - { + "iterationStart": { "name": "iterationStart", "override-type": "number", "required": "false" }, - { + "iterations": { "name": "iterations", "override-type": "number", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -3061,13 +2374,13 @@ "flavor": "Web", "name": "AnimationTimeline", "properties": { - "property": [ - { + "property": { + "currentTime": { "name": "currentTime", "read-only": "1", "override-type": "number | null" } - ] + } }, "no-interface-object": "1" }, @@ -3075,28 +2388,28 @@ "flavor": "Web", "name": "ComputedTimingProperties", "properties": { - "property": [ - { + "property": { + "endTime": { "name": "endTime", "override-type": "number" }, - { + "activeDuration": { "name": "activeDuration", "override-type": "number" }, - { + "localTime": { "name": "localTime", "override-type": "number | null" }, - { + "progress": { "name": "progress", "override-type": "number | null" }, - { + "currentIteration": { "name": "currentIteration", "override-type": "number | null" } - ] + } }, "no-interface-object": "1" }, @@ -3104,23 +2417,23 @@ "flavor": "Web", "name": "AnimationEffectReadOnly", "properties": { - "property": [ - { + "property": { + "timing": { "name": "timing", "read-only": "1", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "getComputedTiming": { "name": "getComputedTiming", "override-signatures": [ "getComputedTiming(): ComputedTimingProperties" ] } - ] + } }, "no-interface-object": "1" }, @@ -3129,18 +2442,18 @@ "name": "AnimationPlaybackEventInit", "extends": "EventInit", "properties": { - "property": [ - { + "property": { + "currentTime": { "name": "currentTime", "override-type": "number | null", "required": "false" }, - { + "timelineTime": { "name": "timelineTime", "override-type": "number | null", "required": "false" } - ] + } }, "no-interface-object": "1" }, @@ -3149,18 +2462,18 @@ "name": "AnimationPlaybackEvent", "extends": "Event", "properties": { - "property": [ - { + "property": { + "currentTime": { "name": "currentTime", "read-only": "1", "override-type": "number | null" }, - { + "timelineTime": { "name": "timelineTime", "read-only": "1", "override-type": "number | null" } - ] + } }, "override-constructor-signatures": [ "new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent" @@ -3170,98 +2483,98 @@ "flavor": "Web", "name": "Animation", "properties": { - "property": [ - { + "property": { + "currentTime": { "name": "currentTime", "override-type": "number | null" }, - { + "effect": { "name": "effect", "override-type": "AnimationEffectReadOnly" }, - { + "finished": { "name": "finished", "read-only": "1", "override-type": "Promise" }, - { + "id": { "name": "id", "override-type": "string" }, - { + "pending": { "name": "pending", "read-only": "1", "override-type": "boolean" }, - { + "playState": { "name": "playState", "read-only": "1", "override-type": "\"idle\" | \"running\" | \"paused\" | \"finished\"" }, - { + "playbackRate": { "name": "playbackRate", "override-type": "number" }, - { + "ready": { "name": "ready", "read-only": "1", "override-type": "Promise" }, - { + "startTime": { "name": "startTime", "override-type": "number" }, - { + "timeline": { "name": "timeline", "override-type": "AnimationTimeline" } - ] + } }, "methods": { - "method": [ - { + "method": { + "oncancel": { "name": "oncancel", "override-signatures": [ "oncancel: (this: Animation, ev: AnimationPlaybackEvent) => any" ] }, - { + "onfinish": { "name": "onfinish", "override-signatures": [ "onfinish: (this: Animation, ev: AnimationPlaybackEvent) => any" ] }, - { + "cancel": { "name": "cancel", "override-signatures": [ "cancel(): void" ] }, - { + "finish": { "name": "finish", "override-signatures": [ "finish(): void" ] }, - { + "pause": { "name": "pause", "override-signatures": [ "pause(): void" ] }, - { + "play": { "name": "play", "override-signatures": [ "play(): void" ] }, - { + "reverse": { "name": "reverse", "override-signatures": [ "reverse(): void" ] } - ] + } }, "override-constructor-signatures": [ "new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation" @@ -3270,194 +2583,114 @@ "HTMLElement": { "name": "HTMLElement", "methods": { - "method": [ - { + "method": { + "animate": { "name": "animate", "override-signatures": [ "animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation" ] } - ] + } } }, "Screen": { "name": "Screen", "methods": { - "method": [ - { + "method": { + "lockOrientation": { "name": "lockOrientation", "override-signatures": [ "lockOrientation(orientations: OrientationLockType | OrientationLockType[]): boolean" ] }, - { + "unlockOrientation": { "name": "unlockOrientation", "override-signatures": [ "unlockOrientation(): void" ] } - ] + } } } } }, "dictionaries": { "dictionary": { - "ErrorEventInit": { - "name": "ErrorEventInit", - "no-interface-object": "1", - "members": { - "member": [ - { - "name": "message", - "override-type": "string", - "required": "false" - }, - { - "name": "filename", - "override-type": "string", - "required": "false" - }, - { - "name": "lineno", - "override-type": "number", - "required": "false" - }, - { - "name": "conlno", - "override-type": "number", - "required": "false" - }, - { - "name": "error", - "override-type": "any", - "required": "false" - } - ] - } - }, "IDBObjectStoreParameters": { "name": "IDBObjectStoreParameters", "members": { - "member": [ - { + "member": { + "autoIncrement": { "name": "autoIncrement", "override-type": "boolean", "required": "false" } - ] + } } }, "IDBIndexParameters": { "name": "IDBIndexParameters", "members": { - "member": [ - { + "member": { + "multiEntry": { "name": "multiEntry", "override-type": "boolean", "required": "false" } - ] + } } }, "MessageEventInit": { "name": "MessageEventInit", "members": { - "member": [ - { + "member": { + "lastEventId": { "name": "lastEventId", "override-type": "string", "required": "false" }, - { + "channel": { "name": "channel", "override-type": "string", "required": "false" } - ] - } - }, - "ProgressEventInit": { - "name": "ProgressEventInit", - "extends": "EventInit", - "no-interface-object": "1", - "members": { - "member": [ - { - "name": "lengthComputable", - "override-type": "boolean", - "required": "false" - }, - { - "name": "loaded", - "override-type": "number", - "required": "false" - }, - { - "name": "total", - "override-type": "number", - "required": "false" - } - ] + } } }, "WebGLContextAttributes": { "name": "WebGLContextAttributes", "members": { - "member": [ - { + "member": { + "failIfMajorPerformanceCaveat": { "name": "failIfMajorPerformanceCaveat", "override-type": "boolean", "required": "false" } - ] + } } }, "KeyboardEventInit": { "name": "KeyboardEventInit", "members": { - "member": [ - { + "member": { + "code": { "name": "code", "override-type": "string", "required": "false" } - ] + } } }, "EventInit": { "name": "EventInit", "members": { - "member": [ - { + "member": { + "scoped": { "name": "scoped", "override-type": "boolean", "required": "false" } - ] - } - }, - "IntersectionObserverEntryInit": { - "name": "IntersectionObserverEntryInit", - "members": { - "member": [ - { - "name": "isIntersecting", - "override-type": "boolean" - } - ] - } - }, - "RequestInit": { - "name": "RequestInit", - "members": { - "member": [ - { - "name": "signal", - "override-type": "AbortSignal", - "required": "false" - } - ] + } } } } @@ -3472,14 +2705,6 @@ "override-type": "\"start\" | \"center\" | \"end\" | \"nearest\"", "new-type": "ScrollLogicalPosition" }, - { - "override-type": "number | string | Date | IDBArrayKey", - "new-type": "IDBValidKey" - }, - { - "override-type": "ArrayBuffer | ArrayBufferView", - "new-type": "BufferSource" - }, { "override-type": "WheelEvent", "new-type": "MouseWheelEvent" diff --git a/inputfiles/json/comments.json b/inputfiles/json/comments.json index 5db2d3a44..acc3c163b 100644 --- a/inputfiles/json/comments.json +++ b/inputfiles/json/comments.json @@ -2,3030 +2,2335 @@ "interfaces": { "interface": { "HTMLTableElement": { - "name": "HTMLTableElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "borderColorLight", + "borderColorLight": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" }, - { - "name": "cellSpacing", + "cellSpacing": { "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" }, - { - "name": "tFoot", + "tFoot": { "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" }, - { - "name": "frame", + "frame": { "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" }, - { - "name": "borderColor", + "borderColor": { "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" }, - { - "name": "rows", + "rows": { "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" }, - { - "name": "rules", + "rules": { "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" }, - { - "name": "cols", + "cols": { "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" }, - { - "name": "summary", + "summary": { "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" }, - { - "name": "caption", + "caption": { "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" }, - { - "name": "tBodies", + "tBodies": { "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" }, - { - "name": "tHead", + "tHead": { "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" }, - { - "name": "cells", + "cells": { "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "cellPadding", + "cellPadding": { "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" }, - { - "name": "border", + "border": { "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" }, - { - "name": "borderColorDark", + "borderColorDark": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "deleteRow", + "method": { + "deleteRow": { "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" }, - { - "name": "createTBody", + "createTBody": { "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" }, - { - "name": "deleteCaption", + "deleteCaption": { "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" }, - { - "name": "insertRow", + "insertRow": { "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" }, - { - "name": "deleteTFoot", + "deleteTFoot": { "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" }, - { - "name": "createTHead", + "createTHead": { "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" }, - { - "name": "deleteTHead", + "deleteTHead": { "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" }, - { - "name": "createCaption", + "createCaption": { "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" }, - { - "name": "moveRow", + "moveRow": { "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" }, - { - "name": "createTFoot", + "createTFoot": { "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" } - ] + } } }, "HTMLBaseElement": { - "name": "HTMLBaseElement", "properties": { - "property": [ - { - "name": "target", + "property": { + "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - { - "name": "href", + "href": { "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" } - ] + } } }, "HTMLParagraphElement": { - "name": "HTMLParagraphElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" } - ] + } } }, "HTMLAppletElement": { - "name": "HTMLAppletElement", "properties": { - "property": [ - { - "name": "codeType", + "property": { + "codeType": { "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" }, - { - "name": "archive", + "archive": { "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" }, - { - "name": "alt", + "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, - { - "name": "standby", + "standby": { "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" }, - { - "name": "classid", + "classid": { "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" }, - { - "name": "useMap", + "useMap": { "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" }, - { - "name": "data", + "data": { "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "altHtml", + "altHtml": { "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" }, - { - "name": "contentDocument", + "contentDocument": { "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" }, - { - "name": "codeBase", + "codeBase": { "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" }, - { - "name": "declare", + "declare": { "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Returns the content type of the object.\r\n */" }, - { - "name": "BaseHref", + "BaseHref": { "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" } - ] + } } }, "HTMLOListElement": { - "name": "HTMLOListElement", "properties": { - "property": [ - { - "name": "start", + "property": { + "start": { "comment": "/**\r\n * The starting number.\r\n */" } - ] + } } }, "HTMLSelectElement": { - "name": "HTMLSelectElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "size", + "size": { "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" }, - { - "name": "length", + "length": { "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" }, - { - "name": "selectedIndex", + "selectedIndex": { "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" }, - { - "name": "multiple", + "multiple": { "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "autofocus", + "autofocus": { "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "required", + "required": { "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "remove", + "method": { + "remove": { "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" }, - { - "name": "add", + "add": { "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" }, - { - "name": "item", + "item": { "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" }, - { - "name": "namedItem", + "namedItem": { "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" }, - { - "name": "checkValidity", + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLBlockElement": { - "name": "HTMLBlockElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "cite", + "cite": { "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } - ] + } } }, "HTMLMetaElement": { - "name": "HTMLMetaElement", "properties": { - "property": [ - { - "name": "httpEquiv", + "property": { + "httpEquiv": { "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" }, - { - "name": "content", + "content": { "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" }, - { - "name": "url", + "url": { "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" }, - { - "name": "scheme", + "scheme": { "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" }, - { - "name": "charset", + "charset": { "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" } - ] + } } }, "HTMLDDElement": { - "name": "HTMLDDElement", "properties": { - "property": [ - { - "name": "noWrap", + "property": { + "noWrap": { "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" } - ] + } } }, "HTMLLinkElement": { - "name": "HTMLLinkElement", "properties": { - "property": [ - { - "name": "rel", + "property": { + "rel": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, - { - "name": "target", + "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - { - "name": "href", + "href": { "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" }, - { - "name": "media", + "media": { "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" }, - { - "name": "rev", + "rev": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" }, - { - "name": "charset", + "charset": { "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" }, - { - "name": "hreflang", + "hreflang": { "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" } - ] + } } }, "HTMLFontElement": { - "name": "HTMLFontElement", "properties": { - "property": [ - { - "name": "face", + "property": { + "face": { "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" } - ] + } } }, "HTMLTableCaptionElement": { - "name": "HTMLTableCaptionElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" }, - { - "name": "vAlign", + "vAlign": { "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" } - ] + } } }, "HTMLOptionElement": { - "name": "HTMLOptionElement", "properties": { - "property": [ - { - "name": "index", + "property": { + "index": { "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" }, - { - "name": "defaultSelected", + "defaultSelected": { "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" }, - { - "name": "value", + "value": { "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" }, - { - "name": "text", + "text": { "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "label", + "label": { "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" }, - { - "name": "selected", + "selected": { "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" } - ] + } } }, "HTMLMapElement": { - "name": "HTMLMapElement", "properties": { - "property": [ - { - "name": "name", + "property": { + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "areas", + "areas": { "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" } - ] + } } }, "HTMLCollection": { - "name": "HTMLCollection", "properties": { - "property": [ - { - "name": "length", + "property": { + "length": { "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "item", + "method": { + "item": { "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" }, - { - "name": "namedItem", + "namedItem": { "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" } - ] + } } }, "HTMLImageElement": { - "name": "HTMLImageElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "vspace", + "vspace": { "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" }, - { - "name": "naturalHeight", + "naturalHeight": { "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" }, - { - "name": "alt", + "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" }, - { - "name": "useMap", + "useMap": { "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" }, - { - "name": "naturalWidth", + "naturalWidth": { "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "border", + "border": { "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" }, - { - "name": "hspace", + "hspace": { "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" }, - { - "name": "longDesc", + "longDesc": { "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" }, - { - "name": "href", + "href": { "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" }, - { - "name": "isMap", + "isMap": { "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" }, - { - "name": "complete", + "complete": { "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" }, - { - "name": "msPlayToPrimary", + "msPlayToPrimary": { "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" }, - { - "name": "msPlayToDisabled", + "msPlayToDisabled": { "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" }, - { - "name": "msPlayToSource", + "msPlayToSource": { "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" } - ] + } } }, "HTMLAreaElement": { - "name": "HTMLAreaElement", "properties": { - "property": [ - { - "name": "protocol", + "property": { + "protocol": { "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" }, - { - "name": "search", + "search": { "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" }, - { - "name": "alt", + "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, - { - "name": "coords", + "coords": { "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" }, - { - "name": "hostname", + "hostname": { "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" }, - { - "name": "port", + "port": { "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" }, - { - "name": "pathname", + "pathname": { "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" }, - { - "name": "host", + "host": { "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" }, - { - "name": "hash", + "hash": { "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" }, - { - "name": "target", + "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - { - "name": "href", + "href": { "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" }, - { - "name": "noHref", + "noHref": { "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" }, - { - "name": "shape", + "shape": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "toString", + "method": { + "toString": { "comment": "/**\r\n * Returns a string representation of an object.\r\n */" } - ] + } } }, "HTMLButtonElement": { - "name": "HTMLButtonElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "formTarget", + "formTarget": { "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" }, - { - "name": "formAction", + "formAction": { "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" }, - { - "name": "autofocus", + "autofocus": { "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "formNoValidate", + "formNoValidate": { "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" }, - { - "name": "formEnctype", + "formEnctype": { "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" }, - { - "name": "formMethod", + "formMethod": { "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "createTextRange", + "method": { + "createTextRange": { "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" }, - { - "name": "checkValidity", + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLSourceElement": { - "name": "HTMLSourceElement", "properties": { - "property": [ - { - "name": "src", + "property": { + "src": { "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" }, - { - "name": "media", + "media": { "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" } - ] + } } }, "Document": { - "name": "Document", "properties": { - "property": [ - { - "name": "compatible", + "property": { + "compatible": { "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" }, - { - "name": "onkeydown", + "onkeydown": { "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" }, - { - "name": "onkeyup", + "onkeyup": { "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" }, - { - "name": "implementation", + "implementation": { "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" }, - { - "name": "onreset", + "onreset": { "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" }, - { - "name": "scripts", + "scripts": { "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" }, - { - "name": "onhelp", + "onhelp": { "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondragleave", + "ondragleave": { "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" }, - { - "name": "charset", + "charset": { "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" }, - { - "name": "onfocusin", + "onfocusin": { "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" }, - { - "name": "vlinkColor", + "vlinkColor": { "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" }, - { - "name": "onseeked", + "onseeked": { "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" }, - { - "name": "title", + "title": { "comment": "/**\r\n * Contains the title of the document.\r\n */" }, - { - "name": "namespaces", + "namespaces": { "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" }, - { - "name": "defaultCharset", + "defaultCharset": { "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" }, - { - "name": "embeds", + "embeds": { "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" }, - { - "name": "styleSheets", + "styleSheets": { "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" }, - { - "name": "frames", + "frames": { "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" }, - { - "name": "ondurationchange", + "ondurationchange": { "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" }, - { - "name": "all", + "all": { "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" }, - { - "name": "forms", + "forms": { "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" }, - { - "name": "onblur", + "onblur": { "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" }, - { - "name": "dir", + "dir": { "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" }, - { - "name": "onemptied", + "onemptied": { "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" }, - { - "name": "designMode", + "designMode": { "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" }, - { - "name": "onseeking", + "onseeking": { "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondeactivate", + "ondeactivate": { "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" }, - { - "name": "oncanplay", + "oncanplay": { "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondatasetchanged", + "ondatasetchanged": { "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" }, - { - "name": "onrowsdelete", + "onrowsdelete": { "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" }, - { - "name": "onloadstart", + "onloadstart": { "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" }, - { - "name": "URLUnencoded", + "URLUnencoded": { "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" }, - { - "name": "oncontrolselect", + "oncontrolselect": { "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondragenter", + "ondragenter": { "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" }, - { - "name": "inputEncoding", + "inputEncoding": { "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" }, - { - "name": "activeElement", + "activeElement": { "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" }, - { - "name": "onchange", + "onchange": { "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" }, - { - "name": "links", + "links": { "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" }, - { - "name": "uniqueID", + "uniqueID": { "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" }, - { - "name": "URL", + "URL": { "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" }, - { - "name": "onbeforeactivate", + "onbeforeactivate": { "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" }, - { - "name": "documentMode", + "documentMode": { "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" }, - { - "name": "anchors", + "anchors": { "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" }, - { - "name": "ondatasetcomplete", + "ondatasetcomplete": { "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" }, - { - "name": "onsuspend", + "onsuspend": { "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" }, - { - "name": "rootElement", + "rootElement": { "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" }, - { - "name": "readyState", + "readyState": { "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" }, - { - "name": "referrer", + "referrer": { "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" }, - { - "name": "alinkColor", + "alinkColor": { "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" }, - { - "name": "onerrorupdate", + "onerrorupdate": { "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" }, - { - "name": "parentWindow", + "parentWindow": { "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" }, - { - "name": "onmouseout", + "onmouseout": { "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "onmsthumbnailclick", + "onmsthumbnailclick": { "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmousewheel", + "onmousewheel": { "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" }, - { - "name": "onvolumechange", + "onvolumechange": { "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" }, - { - "name": "oncellchange", + "oncellchange": { "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" }, - { - "name": "onrowexit", + "onrowexit": { "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" }, - { - "name": "onrowsinserted", + "onrowsinserted": { "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" }, - { - "name": "xmlVersion", + "xmlVersion": { "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" }, - { - "name": "onpropertychange", + "onpropertychange": { "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondragend", + "ondragend": { "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" }, - { - "name": "doctype", + "doctype": { "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" }, - { - "name": "ondragover", + "ondragover": { "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" }, - { - "name": "bgColor", + "bgColor": { "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" }, - { - "name": "ondragstart", + "ondragstart": { "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmouseup", + "onmouseup": { "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "ondrag", + "ondrag": { "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmouseover", + "onmouseover": { "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "linkColor", + "linkColor": { "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" }, - { - "name": "onpause", + "onpause": { "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmousedown", + "onmousedown": { "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "onclick", + "onclick": { "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "onwaiting", + "onwaiting": { "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" }, - { - "name": "onstop", + "onstop": { "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmssitemodejumplistitemremoved", + "onmssitemodejumplistitemremoved": { "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" }, - { - "name": "applets", + "applets": { "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" }, - { - "name": "body", + "body": { "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" }, - { - "name": "domain", + "domain": { "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" }, - { - "name": "selection", + "selection": { "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" }, - { - "name": "onstalled", + "onstalled": { "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" }, - { - "name": "onmousemove", + "onmousemove": { "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "documentElement", + "documentElement": { "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" }, - { - "name": "onbeforeeditfocus", + "onbeforeeditfocus": { "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" }, - { - "name": "onratechange", + "onratechange": { "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" }, - { - "name": "onprogress", + "onprogress": { "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondblclick", + "ondblclick": { "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "oncontextmenu", + "oncontextmenu": { "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" }, - { - "name": "onloadedmetadata", + "onloadedmetadata": { "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" }, - { - "name": "onerror", + "onerror": { "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" }, - { - "name": "onplay", + "onplay": { "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" }, - { - "name": "onplaying", + "onplaying": { "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" }, - { - "name": "images", + "images": { "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" }, - { - "name": "location", + "location": { "comment": "/**\r\n * Contains information about the current URL.\r\n */" }, - { - "name": "onabort", + "onabort": { "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" }, - { - "name": "onfocusout", + "onfocusout": { "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" }, - { - "name": "onselectionchange", + "onselectionchange": { "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" }, - { - "name": "onstoragecommit", + "onstoragecommit": { "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" }, - { - "name": "ondataavailable", + "ondataavailable": { "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" }, - { - "name": "onreadystatechange", + "onreadystatechange": { "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" }, - { - "name": "lastModified", + "lastModified": { "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" }, - { - "name": "onkeypress", + "onkeypress": { "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" }, - { - "name": "onloadeddata", + "onloadeddata": { "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" }, - { - "name": "onbeforedeactivate", + "onbeforedeactivate": { "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" }, - { - "name": "onactivate", + "onactivate": { "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" }, - { - "name": "onfocus", + "onfocus": { "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" }, - { - "name": "fgColor", + "fgColor": { "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" }, - { - "name": "ontimeupdate", + "ontimeupdate": { "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" }, - { - "name": "onselect", + "onselect": { "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" }, - { - "name": "onended", + "onended": { "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" }, - { - "name": "compatMode", + "compatMode": { "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" }, - { - "name": "onscroll", + "onscroll": { "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" }, - { - "name": "onrowenter", + "onrowenter": { "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" }, - { - "name": "onload", + "onload": { "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "queryCommandValue", + "method": { + "queryCommandValue": { "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" }, - { - "name": "queryCommandIndeterm", + "queryCommandIndeterm": { "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" }, - { - "name": "execCommand", + "execCommand": { "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" }, - { - "name": "elementFromPoint", + "elementFromPoint": { "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" }, - { - "name": "queryCommandText", + "queryCommandText": { "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" }, - { - "name": "write", + "write": { "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" }, - { - "name": "updateSettings", + "updateSettings": { "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" }, - { - "name": "createElement", + "createElement": { "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" }, - { - "name": "releaseCapture", + "releaseCapture": { "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" }, - { - "name": "writeln", + "writeln": { "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" }, - { - "name": "open", + "open": { "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" }, - { - "name": "queryCommandSupported", + "queryCommandSupported": { "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" }, - { - "name": "createTreeWalker", + "createTreeWalker": { "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" }, - { - "name": "queryCommandEnabled", + "queryCommandEnabled": { "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" }, - { - "name": "focus", + "focus": { "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" }, - { - "name": "close", + "close": { "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" }, - { - "name": "createRange", + "createRange": { "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" }, - { - "name": "fireEvent", + "fireEvent": { "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" }, - { - "name": "createComment", + "createComment": { "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" }, - { - "name": "getElementsByTagName", + "getElementsByTagName": { "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" }, - { - "name": "createDocumentFragment", + "createDocumentFragment": { "comment": "/**\r\n * Creates a new document.\r\n */" }, - { - "name": "createStyleSheet", + "createStyleSheet": { "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" }, - { - "name": "getElementsByName", + "getElementsByName": { "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" }, - { - "name": "queryCommandState", + "queryCommandState": { "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" }, - { - "name": "hasFocus", + "hasFocus": { "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" }, - { - "name": "execCommandShowHelp", + "execCommandShowHelp": { "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" }, - { - "name": "createAttribute", + "createAttribute": { "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" }, - { - "name": "createTextNode", + "createTextNode": { "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" }, - { - "name": "createNodeIterator", + "createNodeIterator": { "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" }, - { - "name": "createEventObject", + "createEventObject": { "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" }, - { - "name": "getSelection", + "getSelection": { "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" }, - { - "name": "getElementById", + "getElementById": { "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" } - ] + } } }, "HTMLScriptElement": { - "name": "HTMLScriptElement", "properties": { - "property": [ - { - "name": "defer", + "property": { + "defer": { "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" }, - { - "name": "text", + "text": { "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" }, - { - "name": "htmlFor", + "htmlFor": { "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" }, - { - "name": "charset", + "charset": { "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" }, - { - "name": "event", + "event": { "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" } - ] + } } }, "HTMLTableRowElement": { - "name": "HTMLTableRowElement", "properties": { - "property": [ - { - "name": "rowIndex", + "property": { + "rowIndex": { "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" }, - { - "name": "cells", + "cells": { "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "borderColorLight", + "borderColorLight": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" }, - { - "name": "sectionRowIndex", + "sectionRowIndex": { "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" }, - { - "name": "borderColor", + "borderColor": { "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "borderColorDark", + "borderColorDark": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "deleteCell", + "method": { + "deleteCell": { "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" }, - { - "name": "insertCell", + "insertCell": { "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" } - ] + } } }, "HTMLHtmlElement": { - "name": "HTMLHtmlElement", "properties": { - "property": [ - { - "name": "version", + "property": { + "version": { "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" } - ] + } } }, "HTMLFrameElement": { - "name": "HTMLFrameElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "scrolling", + "scrolling": { "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" }, - { - "name": "marginHeight", + "marginHeight": { "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" }, - { - "name": "marginWidth", + "marginWidth": { "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" }, - { - "name": "borderColor", + "borderColor": { "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" }, - { - "name": "frameSpacing", + "frameSpacing": { "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" }, - { - "name": "frameBorder", + "frameBorder": { "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" }, - { - "name": "noResize", + "noResize": { "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" }, - { - "name": "contentWindow", + "contentWindow": { "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "contentDocument", + "contentDocument": { "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" }, - { - "name": "border", + "border": { "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" }, - { - "name": "longDesc", + "longDesc": { "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" }, - { - "name": "onload", + "onload": { "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" }, - { - "name": "security", + "security": { "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" } - ] + } } }, "HTMLQuoteElement": { - "name": "HTMLQuoteElement", "properties": { - "property": [ - { - "name": "dateTime", + "property": { + "dateTime": { "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" }, - { - "name": "cite", + "cite": { "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } - ] + } } }, "HTMLTableHeaderCellElement": { - "name": "HTMLTableHeaderCellElement", "properties": { - "property": [ - { - "name": "scope", + "property": { + "scope": { "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" } - ] + } } }, "HTMLFrameSetElement": { - "name": "HTMLFrameSetElement", "properties": { - "property": [ - { - "name": "borderColor", + "property": { + "borderColor": { "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" }, - { - "name": "rows", + "rows": { "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" }, - { - "name": "cols", + "cols": { "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" }, - { - "name": "onblur", + "onblur": { "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" }, - { - "name": "frameSpacing", + "frameSpacing": { "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" }, - { - "name": "onfocus", + "onfocus": { "comment": "/**\r\n * Fires when the object receives focus.\r\n */" }, - { - "name": "frameBorder", + "frameBorder": { "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" } - ] + } } }, "HTMLLabelElement": { - "name": "HTMLLabelElement", "properties": { - "property": [ - { - "name": "htmlFor", + "property": { + "htmlFor": { "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" } - ] + } } }, "HTMLLegendElement": { - "name": "HTMLLegendElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" } - ] + } } }, "HTMLLIElement": { - "name": "HTMLLIElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" } - ] + } } }, "HTMLIFrameElement": { - "name": "HTMLIFrameElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "scrolling", + "scrolling": { "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" }, - { - "name": "marginHeight", + "marginHeight": { "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" }, - { - "name": "marginWidth", + "marginWidth": { "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" }, - { - "name": "frameSpacing", + "frameSpacing": { "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" }, - { - "name": "frameBorder", + "frameBorder": { "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" }, - { - "name": "noResize", + "noResize": { "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" }, - { - "name": "vspace", + "vspace": { "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" }, - { - "name": "contentWindow", + "contentWindow": { "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" }, - { - "name": "srcdoc", + "srcdoc": { "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "border", + "border": { "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" }, - { - "name": "contentDocument", + "contentDocument": { "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" }, - { - "name": "hspace", + "hspace": { "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" }, - { - "name": "longDesc", + "longDesc": { "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" }, - { - "name": "security", + "security": { "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" }, - { - "name": "onload", + "onload": { "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" } - ] + } } }, "HTMLTableSectionElement": { - "name": "HTMLTableSectionElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" }, - { - "name": "rows", + "rows": { "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "deleteRow", + "method": { + "deleteRow": { "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" }, - { - "name": "moveRow", + "moveRow": { "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" }, - { - "name": "insertRow", + "insertRow": { "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" } - ] + } } }, "HTMLInputElement": { - "name": "HTMLInputElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "selectionStart", + "selectionStart": { "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" }, - { - "name": "selectionEnd", + "selectionEnd": { "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" }, - { - "name": "vrml", + "vrml": { "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" }, - { - "name": "lowsrc", + "lowsrc": { "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" }, - { - "name": "vspace", + "vspace": { "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" }, - { - "name": "accept", + "accept": { "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" }, - { - "name": "alt", + "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, - { - "name": "defaultChecked", + "defaultChecked": { "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "value", + "value": { "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "useMap", + "useMap": { "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "border", + "border": { "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" }, - { - "name": "checked", + "checked": { "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" }, - { - "name": "hspace", + "hspace": { "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" }, - { - "name": "maxLength", + "maxLength": { "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Returns the content type of the object.\r\n */" }, - { - "name": "defaultValue", + "defaultValue": { "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" }, - { - "name": "complete", + "complete": { "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "files", + "files": { "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" }, - { - "name": "max", + "max": { "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" }, - { - "name": "formTarget", + "formTarget": { "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" }, - { - "name": "step", + "step": { "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" }, - { - "name": "autofocus", + "autofocus": { "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" }, - { - "name": "required", + "required": { "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" }, - { - "name": "formEnctype", + "formEnctype": { "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" }, - { - "name": "valueAsNumber", + "valueAsNumber": { "comment": "/**\r\n * Returns the input field value as a number.\r\n */" }, - { - "name": "placeholder", + "placeholder": { "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" }, - { - "name": "formMethod", + "formMethod": { "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" }, - { - "name": "list", + "list": { "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" }, - { - "name": "autocomplete", + "autocomplete": { "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" }, - { - "name": "min", + "min": { "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" }, - { - "name": "formAction", + "formAction": { "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" }, - { - "name": "pattern", + "pattern": { "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "formNoValidate", + "formNoValidate": { "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" }, - { - "name": "multiple", + "multiple": { "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "createTextRange", + "method": { + "createTextRange": { "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" }, - { - "name": "setSelectionRange", + "setSelectionRange": { "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" }, - { - "name": "select", + "select": { "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" }, - { - "name": "checkValidity", + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "stepDown", + "stepDown": { "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" }, - { - "name": "stepUp", + "stepUp": { "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLAnchorElement": { - "name": "HTMLAnchorElement", "properties": { - "property": [ - { - "name": "rel", + "property": { + "rel": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, - { - "name": "protocol", + "protocol": { "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" }, - { - "name": "search", + "search": { "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" }, - { - "name": "coords", + "coords": { "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" }, - { - "name": "hostname", + "hostname": { "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" }, - { - "name": "pathname", + "pathname": { "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" }, - { - "name": "target", + "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - { - "name": "href", + "href": { "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" }, - { - "name": "charset", + "charset": { "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" }, - { - "name": "hreflang", + "hreflang": { "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" }, - { - "name": "port", + "port": { "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" }, - { - "name": "host", + "host": { "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" }, - { - "name": "hash", + "hash": { "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" }, - { - "name": "rev", + "rev": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, - { - "name": "shape", + "shape": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" }, - { - "name": "text", + "text": { "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "toString", + "method": { + "toString": { "comment": "/**\r\n * Returns a string representation of an object.\r\n */" } - ] + } } }, "HTMLParamElement": { - "name": "HTMLParamElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" }, - { - "name": "valueType", + "valueType": { "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" } - ] + } } }, "HTMLPreElement": { - "name": "HTMLPreElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" }, - { - "name": "cite", + "cite": { "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" } - ] + } } }, "HTMLPhraseElement": { - "name": "HTMLPhraseElement", "properties": { - "property": [ - { - "name": "dateTime", + "property": { + "dateTime": { "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" }, - { - "name": "cite", + "cite": { "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } - ] + } } }, "HTMLCanvasElement": { - "name": "HTMLCanvasElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "toDataURL", + "method": { + "toDataURL": { "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" }, - { - "name": "getContext", + "getContext": { "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" }, - { - "name": "msToBlob", + "msToBlob": { "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" } - ] + } } }, "HTMLTitleElement": { - "name": "HTMLTitleElement", "properties": { - "property": [ - { - "name": "text", + "property": { + "text": { "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" } - ] + } } }, "HTMLStyleElement": { - "name": "HTMLStyleElement", "properties": { - "property": [ - { - "name": "media", + "property": { + "media": { "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" } - ] + } } }, "HTMLTableCellElement": { - "name": "HTMLTableCellElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "headers", + "headers": { "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" }, - { - "name": "cellIndex", + "cellIndex": { "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "borderColorLight", + "borderColorLight": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" }, - { - "name": "colSpan", + "colSpan": { "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" }, - { - "name": "borderColor", + "borderColor": { "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" }, - { - "name": "axis", + "axis": { "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "noWrap", + "noWrap": { "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" }, - { - "name": "abbr", + "abbr": { "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" }, - { - "name": "rowSpan", + "rowSpan": { "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" }, - { - "name": "scope", + "scope": { "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" }, - { - "name": "borderColorDark", + "borderColorDark": { "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } - ] + } } }, "HTMLBaseFontElement": { - "name": "HTMLBaseFontElement", "properties": { - "property": [ - { - "name": "face", + "property": { + "face": { "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" }, - { - "name": "size", + "size": { "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" } - ] + } } }, "HTMLTextAreaElement": { - "name": "HTMLTextAreaElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" }, - { - "name": "status", + "status": { "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "selectionStart", + "selectionStart": { "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" }, - { - "name": "rows", + "rows": { "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" }, - { - "name": "cols", + "cols": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "readOnly", + "readOnly": { "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" }, - { - "name": "wrap", + "wrap": { "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" }, - { - "name": "selectionEnd", + "selectionEnd": { "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Retrieves the type of control.\r\n */" }, - { - "name": "defaultValue", + "defaultValue": { "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "autofocus", + "autofocus": { "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "required", + "required": { "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" }, - { - "name": "maxLength", + "maxLength": { "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" }, - { - "name": "placeholder", + "placeholder": { "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "createTextRange", + "method": { + "createTextRange": { "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" }, - { - "name": "setSelectionRange", + "setSelectionRange": { "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" }, - { - "name": "select", + "select": { "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" }, - { - "name": "checkValidity", + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLModElement": { - "name": "HTMLModElement", "properties": { - "property": [ - { - "name": "dateTime", + "property": { + "dateTime": { "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" }, - { - "name": "cite", + "cite": { "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } - ] + } } }, "HTMLTableColElement": { - "name": "HTMLTableColElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" }, - { - "name": "span", + "span": { "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" } - ] + } } }, "HTMLDivElement": { - "name": "HTMLDivElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "noWrap", + "noWrap": { "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" } - ] + } } }, "HTMLBRElement": { - "name": "HTMLBRElement", "properties": { - "property": [ - { - "name": "clear", + "property": { + "clear": { "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" } - ] + } } }, "HTMLHeadingElement": { - "name": "HTMLHeadingElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" } - ] + } } }, "HTMLFormElement": { - "name": "HTMLFormElement", "properties": { - "property": [ - { - "name": "length", + "property": { + "length": { "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" }, - { - "name": "target", + "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - { - "name": "acceptCharset", + "acceptCharset": { "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" }, - { - "name": "enctype", + "enctype": { "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" }, - { - "name": "elements", + "elements": { "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" }, - { - "name": "action", + "action": { "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "method", + "method": { "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" }, - { - "name": "encoding", + "encoding": { "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" }, - { - "name": "autocomplete", + "autocomplete": { "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" }, - { - "name": "noValidate", + "noValidate": { "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "reset", + "method": { + "reset": { "comment": "/**\r\n * Fires when the user resets a form.\r\n */" }, - { - "name": "item", + "item": { "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" }, - { - "name": "submit", + "submit": { "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" }, - { - "name": "namedItem", + "namedItem": { "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" }, - { - "name": "checkValidity", + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" } - ] + } } }, "HTMLMediaElement": { - "name": "HTMLMediaElement", "properties": { - "property": [ - { - "name": "initialTime", + "property": { + "initialTime": { "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" }, - { - "name": "played", + "played": { "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" }, - { - "name": "currentSrc", + "currentSrc": { "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" }, - { - "name": "autobuffer", + "autobuffer": { "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" }, - { - "name": "loop", + "loop": { "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" }, - { - "name": "ended", + "ended": { "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" }, - { - "name": "buffered", + "buffered": { "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" }, - { - "name": "error", + "error": { "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" }, - { - "name": "seekable", + "seekable": { "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" }, - { - "name": "autoplay", + "autoplay": { "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" }, - { - "name": "controls", + "controls": { "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" }, - { - "name": "volume", + "volume": { "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" }, - { - "name": "playbackRate", + "playbackRate": { "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" }, - { - "name": "duration", + "duration": { "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" }, - { - "name": "muted", + "muted": { "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" }, - { - "name": "defaultPlaybackRate", + "defaultPlaybackRate": { "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" }, - { - "name": "paused", + "paused": { "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" }, - { - "name": "seeking", + "seeking": { "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" }, - { - "name": "currentTime", + "currentTime": { "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" }, - { - "name": "preload", + "preload": { "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" }, - { - "name": "networkState", + "networkState": { "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" }, - { - "name": "msAudioCategory", + "msAudioCategory": { "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" }, - { - "name": "msRealTime", + "msRealTime": { "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" }, - { - "name": "msPlayToPrimary", + "msPlayToPrimary": { "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" }, - { - "name": "msPlayToDisabled", + "msPlayToDisabled": { "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" }, - { - "name": "audioTracks", + "audioTracks": { "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" }, - { - "name": "msPlayToSource", + "msPlayToSource": { "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" }, - { - "name": "msAudioDeviceType", + "msAudioDeviceType": { "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" }, - { - "name": "msPlayToPreferredSourceUri", + "msPlayToPreferredSourceUri": { "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" }, - { - "name": "msKeys", + "msKeys": { "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "pause", + "method": { + "pause": { "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" }, - { - "name": "play", + "play": { "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" }, - { - "name": "load", + "load": { "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" }, - { - "name": "canPlayType", + "canPlayType": { "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" }, - { - "name": "msClearEffects", + "msClearEffects": { "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" }, - { - "name": "msSetMediaProtectionManager", + "msSetMediaProtectionManager": { "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" }, - { - "name": "msInsertAudioEffect", + "msInsertAudioEffect": { "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" } - ] + } } }, "HTMLDTElement": { - "name": "HTMLDTElement", "properties": { - "property": [ - { - "name": "noWrap", + "property": { + "noWrap": { "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" } - ] + } } }, "HTMLFieldSetElement": { - "name": "HTMLFieldSetElement", "properties": { - "property": [ - { - "name": "align", + "property": { + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "checkValidity", + "method": { + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLBGSoundElement": { - "name": "HTMLBGSoundElement", "properties": { - "property": [ - { - "name": "balance", + "property": { + "balance": { "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" }, - { - "name": "volume", + "volume": { "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" }, - { - "name": "loop", + "loop": { "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" } - ] + } } }, "HTMLHRElement": { - "name": "HTMLHRElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "align", + "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - { - "name": "noShade", + "noShade": { "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" } - ] + } } }, "HTMLObjectElement": { - "name": "HTMLObjectElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "codeType", + "codeType": { "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" }, - { - "name": "object", + "object": { "comment": "/**\r\n * Retrieves the contained object.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "code", + "code": { "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" }, - { - "name": "archive", + "archive": { "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" }, - { - "name": "standby", + "standby": { "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" }, - { - "name": "classid", + "classid": { "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "useMap", + "useMap": { "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" }, - { - "name": "data", + "data": { "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "contentDocument", + "contentDocument": { "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" }, - { - "name": "altHtml", + "altHtml": { "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" }, - { - "name": "codeBase", + "codeBase": { "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" }, - { - "name": "type", + "type": { "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" }, - { - "name": "BaseHref", + "BaseHref": { "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" }, - { - "name": "validationMessage", + "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, - { - "name": "validity", + "validity": { "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" }, - { - "name": "willValidate", + "willValidate": { "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" }, - { - "name": "msPlayToPreferredSourceUri", + "msPlayToPreferredSourceUri": { "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" }, - { - "name": "msPlayToPrimary", + "msPlayToPrimary": { "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" }, - { - "name": "msPlayToDisabled", + "msPlayToDisabled": { "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" }, - { - "name": "msPlayToSource", + "msPlayToSource": { "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" } - ] + } }, "methods": { - "method": [ - { - "name": "checkValidity", + "method": { + "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, - { - "name": "setCustomValidity", + "setCustomValidity": { "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" } - ] + } } }, "HTMLEmbedElement": { - "name": "HTMLEmbedElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - { - "name": "palette", + "palette": { "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" }, - { - "name": "src", + "src": { "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" }, - { - "name": "name", + "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, - { - "name": "pluginspage", + "pluginspage": { "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - { - "name": "units", + "units": { "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" }, - { - "name": "msPlayToPreferredSourceUri", + "msPlayToPreferredSourceUri": { "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" }, - { - "name": "msPlayToPrimary", + "msPlayToPrimary": { "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" }, - { - "name": "msPlayToDisabled", + "msPlayToDisabled": { "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" }, - { - "name": "msPlayToSource", + "msPlayToSource": { "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" } - ] + } } }, "HTMLOptGroupElement": { - "name": "HTMLOptGroupElement", "properties": { - "property": [ - { - "name": "index", + "property": { + "index": { "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" }, - { - "name": "defaultSelected", + "defaultSelected": { "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" }, - { - "name": "text", + "text": { "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" }, - { - "name": "value", + "value": { "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "label", + "label": { "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" }, - { - "name": "selected", + "selected": { "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" } - ] + } } }, "HTMLIsIndexElement": { - "name": "HTMLIsIndexElement", "properties": { - "property": [ - { - "name": "form", + "property": { + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, - { - "name": "action", + "action": { "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" } - ] + } } }, "HTMLVideoElement": { - "name": "HTMLVideoElement", "properties": { - "property": [ - { - "name": "width", + "property": { + "width": { "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" }, - { - "name": "videoWidth", + "videoWidth": { "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" }, - { - "name": "videoHeight", + "videoHeight": { "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" }, - { - "name": "height", + "height": { "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" }, - { - "name": "poster", + "poster": { "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" } - ] + } } }, "HTMLProgressElement": { - "name": "HTMLProgressElement", "properties": { - "property": [ - { - "name": "value", + "property": { + "value": { "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" }, - { - "name": "max", + "max": { "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" }, - { - "name": "position", + "position": { "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" }, - { - "name": "form", + "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" } - ] + } } }, "URLSearchParams": { - "name": "URLSearchParams", "methods": { - "method": [ - { - "name": "append", + "method": { + "append": { "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" }, - { - "name": "delete", + "delete": { "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" }, - { - "name": "get", + "get": { "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" }, - { - "name": "getAll", + "getAll": { "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" }, - { - "name": "has", + "has": { "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" }, - { - "name": "set", + "set": { "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" } - ], + }, "constructor": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" } } @@ -3034,22 +2339,18 @@ "mixin-interfaces": { "interface": { "HTMLTableAlignment": { - "name": "HTMLTableAlignment", "properties": { - "property": [ - { - "name": "ch", + "property": { + "ch": { "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" }, - { - "name": "vAlign", + "vAlign": { "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" }, - { - "name": "chOff", + "chOff": { "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" } - ] + } } } } diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/json/overridingTypes.json index b6c65dead..ae15aa172 100644 --- a/inputfiles/json/overridingTypes.json +++ b/inputfiles/json/overridingTypes.json @@ -1,118 +1,114 @@ { - "mixin-interfaces": { - "interface": { + "mixins": { + "mixin": { "XMLHttpRequestEventTarget": { "name": "XMLHttpRequestEventTarget", "properties": { - "property": [ - { + "property": { + "onload": { "name": "onload", "override-type": "(this: XMLHttpRequest, ev: Event) => any" }, - { + "onabort": { "name": "onabort", "override-type": "(this: XMLHttpRequest, ev: Event) => any" }, - { + "onerror": { "name": "onerror", "override-type": "(this: XMLHttpRequest, ev: ErrorEvent) => any" }, - { + "onloadend": { "name": "onloadend", "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" }, - { + "onloadstart": { "name": "onloadstart", "override-type": "(this: XMLHttpRequest, ev: Event) => any" }, - { - "name": "onprogress", - "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" - }, - { + "onprogress": { "name": "onprogress", "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" }, - { + "ontimeout": { "name": "ontimeout", "override-type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" } - ] + } } }, "ElementTraversal": { "name": "ElementTraversal", "properties": { - "property": [ - { + "property": { + "firstElementChild": { "name": "firstElementChild", "read-only": "1", "override-type": "Element | null" }, - { + "lastElementChild": { "name": "lastElementChild", "read-only": "1", "override-type": "Element | null" }, - { + "nextElementSibling": { "name": "nextElementSibling", "read-only": "1", "override-type": "Element | null" }, - { + "previousElementSibling": { "name": "previousElementSibling", "read-only": "1", "override-type": "Element | null" } - ] + } } }, "RandomSource": { "name": "RandomSource", "methods": { - "method": [ - { + "method": { + "getRandomValues": { "name": "getRandomValues", "override-signatures": [ "getRandomValues(array: T): T" ] } - ] + } } }, "WindowTimers": { "name": "WindowTimers", "methods": { - "method": [ - { + "method": { + "setTimeout": { "name": "setTimeout", "override-signatures": [ "setTimeout(handler: (...args: any[]) => void, timeout: number): number", "setTimeout(handler: any, timeout?: any, ...args: any[]): number" ] }, - { + "setInterval": { "name": "setInterval", "override-signatures": [ "setInterval(handler: (...args: any[]) => void, timeout: number): number", "setInterval(handler: any, timeout?: any, ...args: any[]): number" ] } - ] + } } }, "WindowTimersExtension": { "name": "WindowTimersExtension", "methods": { - "method": [ - { + "method": { + "setImmediate": { "name": "setImmediate", "override-signatures": [ "setImmediate(handler: (...args: any[]) => void): number", "setImmediate(handler: any, ...args: any[]): number" ] } - ] + } } } } @@ -122,7 +118,7 @@ "ErrorEventHandler": { "name": "ErrorEventHandler", "override-signatures": [ - "(message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void" + "(event: Event | string, source?: string, fileno?: number, columnNumber?: number, error?: Error): void" ] }, "DecodeErrorCallback": { @@ -130,12 +126,6 @@ "override-signatures": [ "(error: DOMException): void" ] - }, - "ForEachCallback": { - "name": "ForEachCallback", - "override-signatures": [ - "(keyId: any, status: MediaKeyStatus): void" - ] } } }, @@ -150,23 +140,23 @@ "CustomEvent": { "name": "CustomEvent", "properties": { - "property": [ - { + "property": { + "detail": { "name": "detail", "read-only": "1", "override-type": "T" } - ] + } }, "methods": { - "method": [ - { + "method": { + "initCustomEvent": { "name": "initCustomEvent", "override-signatures": [ "initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void" ] } - ] + } }, "type-parameters": [ "T = any" @@ -175,118 +165,104 @@ "new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent" ] }, - "Response": { - "name": "Response", - "override-constructor-signatures": [ - "new(body?: any, init?: ResponseInit): Response", - "error: () => Response", - "redirect: (url: string, status?: number) => Response" - ] - }, - "ErrorEvent": { - "name": "ErrorEvent", - "override-constructor-signatures": [ - "new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent" - ] - }, "Window": { "name": "Window", "properties": { - "property": [ - { + "property": { + "event": { "name": "event", "override-type": "Event | undefined" }, - { + "orientation": { "name": "orientation", "override-type": "string | number" }, - { + "opener": { "name": "opener", "override-type": "any" }, - { + "ontouchcancel": { "name": "ontouchcancel", "override-type": "(ev: TouchEvent) => any" }, - { + "ontouchend": { "name": "ontouchend", "override-type": "(ev: TouchEvent) => any" }, - { + "ontouchmove": { "name": "ontouchmove", "override-type": "(ev: TouchEvent) => any" }, - { + "ontouchstart": { "name": "ontouchstart", "override-type": "(ev: TouchEvent) => any" } - ] + } }, "methods": { - "method": [ - { + "method": { + "open": { "name": "open", "override-signatures": [ "open(url?: string, target?: string, features?: string, replace?: boolean): Window | null" ] }, - { + "alert": { "name": "alert", "override-signatures": [ "alert(message?: any): void" ] } - ] + } } }, "Document": { "name": "Document", "methods": { - "method": [ - { + "method": { + "adoptNode": { "name": "adoptNode", "override-signatures": [ "adoptNode(source: T): T" ] }, - { + "importNode": { "name": "importNode", "override-signatures": [ "importNode(importedNode: T, deep: boolean): T" ] }, - { + "open": { "name": "open", "override-signatures": [ "open(url?: string, name?: string, features?: string, replace?: boolean): Document" ] }, - { + "getElementById": { "name": "getElementById", "override-signatures": [ "getElementById(elementId: string): HTMLElement | null" ] }, - { + "msElementsFromRect": { "name": "msElementsFromRect", "override-signatures": [ "msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf" ] }, - { + "msElementsFromPoint": { "name": "msElementsFromPoint", "override-signatures": [ "msElementsFromPoint(x: number, y: number): NodeListOf" ] }, - { + "evaluate": { "name": "evaluate", "override-signatures": [ "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" ] }, - { + "getElementsByTagNameNS": { "name": "getElementsByTagNameNS", "override-signatures": [ "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", @@ -294,273 +270,273 @@ "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" ] }, - { + "getElementsByClassName": { "name": "getElementsByClassName", "override-signatures": [ "getElementsByClassName(classNames: string): HTMLCollectionOf" ] }, - { + "getElementsByName": { "name": "getElementsByName", "override-signatures": [ "getElementsByName(elementName: string): NodeListOf" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "documentElement": { "name": "documentElement", "override-type": "HTMLElement" }, - { + "currentScript": { "name": "currentScript", "read-only": "1", "override-type": "HTMLScriptElement | SVGScriptElement | null" }, - { + "anchors": { "name": "anchors", "override-type": "HTMLCollectionOf" }, - { + "applets": { "name": "applets", "override-type": "HTMLCollectionOf" }, - { + "embeds": { "name": "embeds", "override-type": "HTMLCollectionOf" }, - { + "forms": { "name": "forms", "override-type": "HTMLCollectionOf" }, - { + "images": { "name": "images", "override-type": "HTMLCollectionOf" }, - { + "links": { "name": "links", "override-type": "HTMLCollectionOf" }, - { + "plugins": { "name": "plugins", "override-type": "HTMLCollectionOf" }, - { + "scripts": { "name": "scripts", "override-type": "HTMLCollectionOf" } - ] + } }, "extends": "Node, GlobalEventHandlers, NodeSelector, DocumentEvent, ParentNode, DocumentOrShadowRoot" }, "Node": { "name": "Node", "methods": { - "method": [ - { + "method": { + "appendChild": { "name": "appendChild", "override-signatures": [ "appendChild(newChild: T): T" ] }, - { + "insertBefore": { "name": "insertBefore", "override-signatures": [ "insertBefore(newChild: T, refChild: Node | null): T" ] }, - { + "removeChild": { "name": "removeChild", "override-signatures": [ "removeChild(oldChild: T): T" ] }, - { + "replaceChild": { "name": "replaceChild", "override-signatures": [ "replaceChild(newChild: Node, oldChild: T): T" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "firstChild": { "name": "firstChild", "read-only": "1", "override-type": "Node | null" }, - { + "lastChild": { "name": "lastChild", "read-only": "1", "override-type": "Node | null" }, - { + "nextSibling": { "name": "nextSibling", "read-only": "1", "override-type": "Node | null" }, - { + "previousSibling": { "name": "previousSibling", "read-only": "1", "override-type": "Node | null" }, - { + "parentNode": { "name": "parentNode", "read-only": "1", "override-type": "Node | null" }, - { + "parentElement": { "name": "parentElement", "read-only": "1", "override-type": "HTMLElement | null" } - ] + } } }, "HTMLCollection": { "name": "HTMLCollection", "methods": { - "method": [ - { + "method": { + "item": { "name": "item", "override-signatures": [ "item(index: number): Element" ] } - ] + } } }, "IDBObjectStore": { "name": "IDBObjectStore", "methods": { - "method": [ - { + "method": { + "createIndex": { "name": "createIndex", "override-signatures": [ "createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex" ] }, - { + "openCursor": { "name": "openCursor", "override-signatures": [ - "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + "openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest" ] }, - { + "add": { "name": "add", "override-signatures": [ - "add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" + "add(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] }, - { + "count": { "name": "count", "override-signatures": [ - "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" + "count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] }, - { + "delete": { "name": "delete", "override-signatures": [ - "delete(key: IDBKeyRange | IDBValidKey): IDBRequest" + "delete(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] }, - { + "put": { "name": "put", "override-signatures": [ - "put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" + "put(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "keyPath": { "name": "keyPath", "override-type": "string | string[]" } - ] + } } }, "IDBIndex": { "name": "IDBIndex", "properties": { - "property": [ - { + "property": { + "keyPath": { "name": "keyPath", "override-type": "string | string[]" } - ] + } }, "methods": { - "method": [ - { + "method": { + "openCursor": { "name": "openCursor", "override-signatures": [ - "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + "openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest" ] }, - { + "openKeyCursor": { "name": "openKeyCursor", "override-signatures": [ - "openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" + "openKeyCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest" ] }, - { + "count": { "name": "count", "override-signatures": [ - "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" + "count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] }, - { + "get": { "name": "get", "override-signatures": [ - "get(key: IDBKeyRange | IDBValidKey): IDBRequest" + "get(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] }, - { + "getKey": { "name": "getKey", "override-signatures": [ - "getKey(key: IDBKeyRange | IDBValidKey): IDBRequest" + "getKey(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest" ] } - ] + } } }, "IDBDatabase": { "name": "IDBDatabase", "methods": { - "method": [ - { + "method": { + "createObjectStore": { "name": "createObjectStore", "override-signatures": [ "createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore" ] }, - { + "transaction": { "name": "transaction", "override-signatures": [ "transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "version": { "name": "version", "override-type": "number" } - ] + } } }, "CanvasRenderingContext2D": { "name": "CanvasRenderingContext2D", "methods": { - "method": [ - { + "method": { + "drawImage": { "name": "drawImage", "override-signatures": [ "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void", @@ -568,164 +544,164 @@ "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void" ] }, - { + "clip": { "name": "clip", "override-signatures": [ "clip(fillRule?: CanvasFillRule): void", "clip(path: Path2D, fillRule?: CanvasFillRule): void" ] }, - { + "fill": { "name": "fill", "override-signatures": [ "fill(fillRule?: CanvasFillRule): void", "fill(path: Path2D, fillRule?: CanvasFillRule): void" ] }, - { + "isPointInPath": { "name": "isPointInPath", "override-signatures": [ "isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean", "isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" ] }, - { + "isPointInStroke": { "name": "isPointInStroke", "override-signatures": [ "isPointInStroke(x: number, y: number, fillRule?: CanvasFillRule): boolean", "isPointInStroke(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "fillStyle": { "name": "fillStyle", "override-type": "string | CanvasGradient | CanvasPattern" }, - { + "strokeStyle": { "name": "strokeStyle", "override-type": "string | CanvasGradient | CanvasPattern" } - ] + } } }, "WebGLRenderingContext": { "name": "WebGLRenderingContext", "methods": { - "method": [ - { + "method": { + "texSubImage2D": { "name": "texSubImage2D", "override-signatures": [ "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void", "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" ] }, - { + "texImage2D": { "name": "texImage2D", "override-signatures": [ "texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void", "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" ] }, - { + "pixelStorei": { "name": "pixelStorei", "override-signatures": [ "pixelStorei(pname: number, param: number | boolean): void" ] }, - { + "uniform1fv": { "name": "uniform1fv", "override-signatures": [ "uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" ] }, - { + "uniform2fv": { "name": "uniform2fv", "override-signatures": [ "uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" ] }, - { + "uniform3fv": { "name": "uniform3fv", "override-signatures": [ "uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" ] }, - { + "uniform4fv": { "name": "uniform4fv", "override-signatures": [ "uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" ] }, - { + "uniform1iv": { "name": "uniform1iv", "override-signatures": [ "uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" ] }, - { + "uniform2iv": { "name": "uniform2iv", "override-signatures": [ "uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" ] }, - { + "uniform3iv": { "name": "uniform3iv", "override-signatures": [ "uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" ] }, - { + "uniform4iv": { "name": "uniform4iv", "override-signatures": [ "uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" ] }, - { + "uniformMatrix2fv": { "name": "uniformMatrix2fv", "override-signatures": [ "uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" ] }, - { + "uniformMatrix3fv": { "name": "uniformMatrix3fv", "override-signatures": [ "uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" ] }, - { + "uniformMatrix4fv": { "name": "uniformMatrix4fv", "override-signatures": [ "uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" ] }, - { + "vertexAttrib1fv": { "name": "vertexAttrib1fv", "override-signatures": [ "vertexAttrib1fv(indx: number, values: Float32Array | number[]): void" ] }, - { + "vertexAttrib2fv": { "name": "vertexAttrib2fv", "override-signatures": [ "vertexAttrib2fv(indx: number, values: Float32Array | number[]): void" ] }, - { + "vertexAttrib3fv": { "name": "vertexAttrib3fv", "override-signatures": [ "vertexAttrib3fv(indx: number, values: Float32Array | number[]): void" ] }, - { + "vertexAttrib4fv": { "name": "vertexAttrib4fv", "override-signatures": [ "vertexAttrib4fv(indx: number, values: Float32Array | number[]): void" ] }, - { + "getExtension": { "name": "getExtension", "override-signatures": [ "getExtension(extensionName: \"EXT_blend_minmax\"): EXT_blend_minmax | null", @@ -753,14 +729,14 @@ "getExtension(extensionName: string): any" ] } - ] + } } }, "XMLHttpRequest": { "name": "XMLHttpRequest", "methods": { - "method": [ - { + "method": { + "send": { "name": "send", "override-signatures": [ "send(data?: Document): void", @@ -768,14 +744,14 @@ "send(data?: any): void" ] } - ] + } } }, "HTMLCanvasElement": { "name": "HTMLCanvasElement", "methods": { - "method": [ - { + "method": { + "getContext": { "name": "getContext", "override-signatures": [ "getContext(contextId: \"2d\", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null", @@ -783,137 +759,137 @@ "getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null" ] } - ] + } } }, "BeforeUnloadEvent": { "name": "BeforeUnloadEvent", "properties": { - "property": [ - { + "property": { + "returnValue": { "name": "returnValue", "override-type": "any" } - ] + } } }, "HTMLEmbedElement": { "name": "HTMLEmbedElement", "properties": { - "property": [ - { + "property": { + "hidden": { "name": "hidden", "override-type": "any" } - ] + } } }, "SVGStylable": { "name": "SVGStylable", "properties": { - "property": [ - { + "property": { + "className": { "name": "className", "override-type": "any" } - ] + } } }, "SVGElement": { "name": "SVGElement", "properties": { - "property": [ - { + "property": { + "className": { "name": "className", "override-type": "any" } - ] + } } }, "SVGSVGElement": { "name": "SVGSVGElement", "methods": { - "method": [ - { + "method": { + "getEnclosureList": { "name": "getEnclosureList", "override-signatures": [ "getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" ] }, - { + "getIntersectionList": { "name": "getIntersectionList", "override-signatures": [ "getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" ] } - ] + } } }, "Console": { "name": "Console", "methods": { - "method": [ - { + "method": { + "debug": { "name": "debug", "override-signatures": [ "debug(message?: any, ...optionalParams: any[]): void" ] }, - { + "dir": { "name": "dir", "override-signatures": [ "dir(value?: any, ...optionalParams: any[]): void" ] }, - { + "dirxml": { "name": "dirxml", "override-signatures": [ "dirxml(value: any): void" ] }, - { + "error": { "name": "error", "override-signatures": [ "error(message?: any, ...optionalParams: any[]): void" ] }, - { + "info": { "name": "info", "override-signatures": [ "info(message?: any, ...optionalParams: any[]): void" ] }, - { + "log": { "name": "log", "override-signatures": [ "log(message?: any, ...optionalParams: any[]): void" ] }, - { + "warn": { "name": "warn", "override-signatures": [ "warn(message?: any, ...optionalParams: any[]): void" ] }, - { + "group": { "name": "group", "override-signatures": [ "group(groupTitle?: string, ...optionalParams: any[]): void" ] }, - { + "groupCollapsed": { "name": "groupCollapsed", "override-signatures": [ "groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void" ] }, - { + "trace": { "name": "trace", "override-signatures": [ "trace(message?: any, ...optionalParams: any[]): void" ] } - ] + } } }, "Blob": { @@ -928,15 +904,15 @@ "new (form?: HTMLFormElement): FormData" ], "methods": { - "method": [ - { + "method": { + "append": { "name": "append", "flavor": "Web", "override-signatures": [ "append(name: string, value: string | Blob, fileName?: string): void" ] } - ] + } } }, "MessageEvent": { @@ -945,25 +921,19 @@ "new(type: string, eventInitDict?: MessageEventInit): MessageEvent" ] }, - "ProgressEvent": { - "name": "ProgressEvent", - "override-constructor-signatures": [ - "new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent" - ] - }, "File": { "name": "File", "override-constructor-signatures": [ "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" ], "properties": { - "property": [ - { + "property": { + "lastModifiedDate": { "name": "lastModifiedDate", "read-only": "1", "override-type": "Date" } - ] + } } }, "ImageData": { @@ -973,12 +943,12 @@ "new(array: Uint8ClampedArray, width: number, height: number): ImageData" ], "properties": { - "property": [ - { + "property": { + "data": { "name": "data", "override-type": "Uint8ClampedArray" } - ] + } } }, "DOMException": { @@ -990,167 +960,129 @@ "HTMLSelectElement": { "name": "HTMLSelectElement", "properties": { - "property": [ - { + "property": { + "selectedOptions": { "name": "selectedOptions", "override-type": "HTMLCollectionOf" }, - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLDataListElement": { "name": "HTMLDataListElement", "properties": { - "property": [ - { + "property": { + "options": { "name": "options", "override-type": "HTMLCollectionOf" } - ] + } } }, "HTMLTableElement": { "name": "HTMLTableElement", "methods": { - "method": [ - { + "method": { + "insertRow": { "name": "insertRow", "override-signatures": [ "insertRow(index?: number): HTMLTableRowElement" ] }, - { + "createTHead": { "name": "createTHead", "override-signatures": [ "createTHead(): HTMLTableSectionElement" ] }, - { + "createTBody": { "name": "createTBody", "override-signatures": [ "createTBody(): HTMLTableSectionElement" ] }, - { + "createTFoot": { "name": "createTFoot", "override-signatures": [ "createTFoot(): HTMLTableSectionElement" ] }, - { + "createCaption": { "name": "createCaption", "override-signatures": [ "createCaption(): HTMLTableCaptionElement" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "rows": { "name": "rows", "override-type": "HTMLCollectionOf" }, - { + "tBodies": { "name": "tBodies", "override-type": "HTMLCollectionOf" } - ] + } } }, "HTMLTableSectionElement": { "name": "HTMLTableSectionElement", "methods": { - "method": [ - { + "method": { + "insertRow": { "name": "insertRow", "override-signatures": [ "insertRow(index?: number): HTMLTableRowElement" ] } - ] + } }, "properties": { - "property": [ - { + "property": { + "rows": { "name": "rows", "override-type": "HTMLCollectionOf" } - ] - } - }, - "HTMLTableRowElement": { - "name": "HTMLTableRowElement", - "methods": { - "method": [ - { - "name": "insertCell", - "override-signatures": [ - "insertCell(index?: number): HTMLTableDataCellElement" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "cells", - "override-type": "HTMLCollectionOf" - } - ] + } } }, "Element": { "name": "Element", "methods": { - "method": [ - { - "name": "setAttribute", - "override-signatures": [ - "setAttribute(name: string, value: string): void" - ] - }, - { - "name": "getAttribute", - "override-signatures": [ - "getAttribute(name: string): string | null" - ] - }, - { + "method": { + "getBoundingClientRect": { "name": "getBoundingClientRect", "override-signatures": [ "getBoundingClientRect(): ClientRect | DOMRect" ] }, - { + "getClientRects": { "name": "getClientRects", "override-signatures": [ "getClientRects(): ClientRectList | DOMRectList" ] }, - { + "getAttributeNodeNS": { "name": "getAttributeNodeNS", "override-signatures": [ "getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null" ] }, - { + "getAttributeNode": { "name": "getAttributeNode", "override-signatures": [ "getAttributeNode(name: string): Attr | null" ] }, - { + "getElementsByTagNameNS": { "name": "getElementsByTagNameNS", "override-signatures": [ "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", @@ -1158,41 +1090,41 @@ "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" ] } - ] + } } }, "HTMLMediaElement": { "name": "HTMLMediaElement", "properties": { - "property": [ - { + "property": { + "readyState": { "name": "readyState", "override-type": "number" } - ] + } }, "methods": { - "method": [ - { + "method": { + "play": { "name": "play", "override-signatures": [ "play(): Promise" ] } - ] + } } }, "DataTransferItemList": { "name": "DataTransferItemList", "methods": { - "method": [ - { + "method": { + "item": { "name": "item", "override-signatures": [ "item(index: number): DataTransferItem" ] } - ] + } }, "overide-index-signatures": [ "[name: number]: DataTransferItem" @@ -1207,77 +1139,55 @@ "IDBCursor": { "name": "IDBCursor", "properties": { - "property": [ - { + "property": { + "source": { "name": "source", "override-type": "IDBObjectStore | IDBIndex" }, - { + "key": { "name": "key", - "override-type": "IDBKeyRange | IDBValidKey" + "override-type": "IDBKeyRange | number | string | Date | IDBArrayKey" } - ] + } }, "methods": { - "method": [ - { + "method": { + "continue": { "name": "continue", "override-signatures": [ - "continue(key?: IDBKeyRange | IDBValidKey): void" + "continue(key?: IDBKeyRange | number | string | Date | IDBArrayKey): void" ] } - ] + } } }, "IDBRequest": { "name": "IDBRequest", "properties": { - "property": [ - { + "property": { + "error": { "name": "error", "read-only": "1", "override-type": "DOMException" }, - { + "source": { "name": "source", "nullable": false, "override-type": "IDBObjectStore | IDBIndex | IDBCursor" } - ] + } } }, "IDBTransaction": { "name": "IDBTransaction", "properties": { - "property": [ - { + "property": { + "error": { "name": "error", "read-only": "1", "override-type": "DOMException" } - ] - } - }, - "AudioNode": { - "name": "AudioNode", - "methods": { - "method": [ - { - "name": "connect", - "override-signatures": [ - "connect(destination: AudioNode, output?: number, input?: number): AudioNode", - "connect(destination: AudioParam, output?: number): void" - ] - }, - { - "name": "disconnect", - "override-signatures": [ - "disconnect(output?: number): void", - "disconnect(destination: AudioNode, output?: number, input?: number): void", - "disconnect(destination: AudioParam, output?: number): void" - ] - } - ] + } } }, "ClipboardEvent": { @@ -1289,20 +1199,20 @@ "Storage": { "name": "Storage", "methods": { - "method": [ - { + "method": { + "getItem": { "name": "getItem", "override-signatures": [ "getItem(key: string): string | null" ] }, - { + "key": { "name": "key", "override-signatures": [ "key(index: number): string | null" ] } - ] + } } }, "HTMLOptionsCollection": { @@ -1312,38 +1222,38 @@ "SubtleCrypto": { "name": "SubtleCrypto", "methods": { - "method": [ - { + "method": { + "decrypt": { "name": "decrypt", "override-signatures": [ - "decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" + "decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike" ] }, - { + "deriveBits": { "name": "deriveBits", "override-signatures": [ "deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike" ] }, - { + "deriveKey": { "name": "deriveKey", "override-signatures": [ "deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" ] }, - { + "digest": { "name": "digest", "override-signatures": [ - "digest(algorithm: AlgorithmIdentifier, data: BufferSource): PromiseLike" + "digest(algorithm: string | Algorithm, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike" ] }, - { + "encrypt": { "name": "encrypt", "override-signatures": [ - "encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" + "encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike" ] }, - { + "exportKey": { "name": "exportKey", "override-signatures": [ "exportKey(format: \"jwk\", key: CryptoKey): PromiseLike", @@ -1351,7 +1261,7 @@ "exportKey(format: string, key: CryptoKey): PromiseLike" ] }, - { + "generateKey": { "name": "generateKey", "override-signatures": [ "generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike", @@ -1359,159 +1269,117 @@ "generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" ] }, - { + "importKey": { "name": "importKey", "override-signatures": [ "importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", - "importKey(format: \"raw\" | \"pkcs8\" | \"spki\", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", - "importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike" + "importKey(format: \"raw\" | \"pkcs8\" | \"spki\", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", + "importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike" ] }, - { + "sign": { "name": "sign", "override-signatures": [ - "sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike" + "sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike" ] }, - { + "unwrapKey": { "name": "unwrapKey", "override-signatures": [ - "unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike" + "unwrapKey(format: string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: string | Algorithm, unwrappedKeyAlgorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike" ] }, - { + "verify": { "name": "verify", "override-signatures": [ - "verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike" + "verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike" ] }, - { + "wrapKey": { "name": "wrapKey", "override-signatures": [ - "wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): PromiseLike" + "wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: string | Algorithm): PromiseLike" ] } - ] + } } }, "HTMLInputElement": { "name": "HTMLInputElement", "properties": { - "property": [ - { + "property": { + "files": { "name": "files", "read-only": "1", "override-type": "FileList | null" }, - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } }, "methods": { - "method": [ - { + "method": { + "setSelectionRange": { "name": "setSelectionRange", "override-signatures": [ "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" ] } - ] - } - }, - "History": { - "name": "History", - "methods": { - "method": [ - { - "name": "back", - "override-signatures": [ - "back(): void" - ] - }, - { - "name": "forward", - "override-signatures": [ - "forward(): void" - ] - }, - { - "name": "go", - "override-signatures": [ - "go(delta?: number): void" - ] - }, - { - "name": "pushState", - "override-signatures": [ - "pushState(data: any, title: string, url?: string | null): void" - ] - }, - { - "name": "replaceState", - "override-signatures": [ - "replaceState(data: any, title: string, url?: string | null): void" - ] - } - ] + } } }, "MouseEvent": { "name": "MouseEvent", "methods": { - "method": [ - { + "method": { + "initMouseEvent": { "name": "initMouseEvent", "override-signatures": [ "initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void" ] } - ] + } } }, "DataTransfer": { "name": "DataTransfer", "properties": { - "property": [ - { + "property": { + "types": { "name": "types", "read-only": "1", "override-type": "string[]" } - ] + } } }, "XPathEvaluator": { "name": "XPathEvaluator", "methods": { - "method": [ - { + "method": { + "evaluate": { "name": "evaluate", "override-signatures": [ "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" ] } - ] + } } }, "XPathExpression": { "name": "XPathExpression", "methods": { - "method": [ - { + "method": { + "evaluate": { "name": "evaluate", "override-signatures": [ "evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult" ] } - ] + } } }, "DOMStringMap": { @@ -1523,39 +1391,20 @@ "DOMImplementation": { "name": "DOMImplementation", "methods": { - "method": [ - { + "method": { + "hasFeature": { "name": "hasFeature", "override-signatures": [ "hasFeature(feature: string | null, version: string | null): boolean" ] }, - { + "createDocument": { "name": "createDocument", "override-signatures": [ "createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document" ] } - ] - } - }, - "EventTarget": { - "name": "EventTarget", - "methods": { - "method": [ - { - "name": "addEventListener", - "override-signatures": [ - "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" - ] - }, - { - "name": "removeEventListener", - "override-signatures": [ - "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" - ] - } - ] + } } }, "TouchEvent": { @@ -1579,205 +1428,155 @@ "HTMLAppletElement": { "name": "HTMLAppletElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLButtonElement": { "name": "HTMLButtonElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLFieldSetElement": { "name": "HTMLFieldSetElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLLabelElement": { "name": "HTMLLabelElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLLegendElement": { "name": "HTMLLegendElement", "properties": { - "property": [ - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLObjectElement": { "name": "HTMLObjectElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLOptGroupElement": { "name": "HTMLOptGroupElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLOptionElement": { "name": "HTMLOptionElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLOutputElement": { "name": "HTMLOutputElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLProgressElement": { "name": "HTMLProgressElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "HTMLTextAreaElement": { "name": "HTMLTextAreaElement", "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "override-type": "HTMLFormElement | null" - }, - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } }, "methods": { - "method": [ - { + "method": { + "setSelectionRange": { "name": "setSelectionRange", "override-signatures": [ "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" ] } - ] + } } }, "HTMLegendElement": { "name": "HTMLegendElement", "properties": { - "property": [ - { + "property": { + "form": { "name": "form", "read-only": "1", "override-type": "HTMLFormElement | null" } - ] + } } }, "Headers": { @@ -1789,87 +1588,81 @@ "ServiceWorkerContainer": { "name": "ServiceWorkerContainer", "methods": { - "method": [ - { + "method": { + "getRegistration": { "name": "getRegistration", "override-signatures": [ - "getRegistration(clientURL?: USVString): Promise" + "getRegistration(clientURL?: string): Promise" ] } - ] + } } }, "IntersectionObserverEntry": { "name": "IntersectionObserverEntry", "properties": { - "property": [ - { + "property": { + "boundingClientRect": { "name": "boundingClientRect", "read-only": "1", "override-type": "ClientRect | DOMRect" }, - { + "intersectionRect": { "name": "intersectionRect", "read-only": "1", "override-type": "ClientRect | DOMRect" }, - { + "rootBounds": { "name": "rootBounds", "read-only": "1", "override-type": "ClientRect | DOMRect" } - ] + } } }, "Range": { "name": "Range", "methods": { - "method": [ - { + "method": { + "getBoundingClientRect": { "name": "getBoundingClientRect", "override-signatures": [ "getBoundingClientRect(): ClientRect | DOMRect" ] }, - { + "getClientRects": { "name": "getClientRects", "override-signatures": [ "getClientRects(): ClientRectList | DOMRectList" ] } - ] + } } }, - "URL": { - "name": "URL", - "override-constructor-signatures": [ - "new(url: string, base?: string | URL): URL" - ] - }, "WebSocket": { "name": "WebSocket", "methods": { - "method": [ - { + "method": { + "send": { "name": "send", "override-signatures": [ - "send(data: USVString | ArrayBuffer | Blob | ArrayBufferView): void" + "send(data: string | ArrayBuffer | Blob | ArrayBufferView): void" ] } - ] + } } }, "PushManager": { "name": "PushManager", "methods": { - "method": [ - { + "method": { + "getSubscription": { "name": "getSubscription", "override-signatures": [ "getSubscription(): Promise" ] } - ] + } } } } @@ -1879,13 +1672,13 @@ "CustomEventInit": { "name": "CustomEventInit", "members": { - "member": [ - { + "member": { + "detail": { "name": "detail", "override-type": "T", "required": "false" } - ] + } }, "type-parameters": [ "T = any" @@ -1894,70 +1687,70 @@ "IDBObjectStoreParameters": { "name": "IDBObjectStoreParameters", "members": { - "member": [ - { + "member": { + "keyPath": { "name": "keyPath", "override-type": "string | string[]", "required": "false" } - ] + } } }, "Algorithm": { "name": "Algorithm", "members": { - "member": [ - { + "member": { + "name": { "name": "name", "override-type": "string" } - ] + } } }, "RequestInit": { "name": "RequestInit", "members": { - "member": [ - { + "member": { + "headers": { "name": "headers", "override-type": "HeadersInit", "required": "false" } - ] + } } }, "ResponseInit": { "name": "ResponseInit", "members": { - "member": [ - { + "member": { + "headers": { "name": "headers", "override-type": "HeadersInit", "required": "false" } - ] + } } }, "PaymentMethodData": { "name": "PaymentMethodData", "members": { - "member": [ - { + "member": { + "supportedMethods": { "name": "supportedMethods", "override-type": "string | string[]" } - ] + } } }, "PaymentDetailsModifier": { "name": "PaymentDetailsModifier", "members": { - "member": [ - { + "member": { + "supportedMethods": { "name": "supportedMethods", "override-type": "string | string[]" } - ] + } } } } diff --git a/inputfiles/json/removedTypes.json b/inputfiles/json/removedTypes.json index 86142eb10..93946812f 100644 --- a/inputfiles/json/removedTypes.json +++ b/inputfiles/json/removedTypes.json @@ -3,12 +3,7 @@ "interface": {} }, "callback-interfaces": { - "interface": { - "WebKitEntriesCallback": { - "name": "WebKitEntriesCallback", - "flavor": "Worker" - } - } + "interface": {} }, "enums": { "enum": {} @@ -16,58 +11,20 @@ "interfaces": { "interface": { "HTMLElement": { - "name": "HTMLElement", "methods": { - "method": [ - { - "name": "getElementsByClassName" - }, - { - "name": "contains" - }, - { - "name": "scrollIntoView" - }, - { - "name": "insertAdjacentElement" - }, - { - "name": "insertAdjacentHTML" - }, - { - "name": "insertAdjacentText" - } - ] - }, - "properties": { - "property": [ - { - "name": "id" - }, - { - "name": "className" - } - ] + "method": { + "scrollIntoView": {}, + "insertAdjacentElement": {}, + "insertAdjacentHTML": {}, + "insertAdjacentText": {} + } } }, "StorageEvent": { - "name": "StorageEvent", "methods": { - "method": [ - { - "name": "initStorageEvent" - } - ] - } - }, - "HTMLObjectElement": { - "name": "HTMLObjectElement", - "properties": { - "property": [ - { - "name": "alt" - } - ] + "method": { + "initStorageEvent": {} + } } } } @@ -76,13 +33,6 @@ "dictionary": {} }, "typedefs": { - "typedef": [ - { - "new-type": "JSON" - }, - { - "new-type": "HeadersInit" - } - ] + "typedef": [] } } \ No newline at end of file From bf4d9da8fb9f09976ca2e57b7ed7844fdb595f97 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 10:14:13 -0800 Subject: [PATCH 23/93] Add list of known types for workers --- inputfiles/json/knownWorkerTypes.json | 193 ++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 inputfiles/json/knownWorkerTypes.json diff --git a/inputfiles/json/knownWorkerTypes.json b/inputfiles/json/knownWorkerTypes.json new file mode 100644 index 000000000..16be37ea3 --- /dev/null +++ b/inputfiles/json/knownWorkerTypes.json @@ -0,0 +1,193 @@ +[ + "ClientQueryOptions", + "ExtendableEventInit", + "ExtendableMessageEventInit", + "FetchEventInit", + "NotificationEventInit", + "PushEventInit", + "SyncEventInit", + "Algorithm", + "CacheQueryOptions", + "CloseEventInit", + "EventInit", + "GetNotificationOptions", + "IDBIndexParameters", + "IDBObjectStoreParameters", + "KeyAlgorithm", + "MessageEventInit", + "NotificationOptions", + "ObjectURLOptions", + "PushSubscriptionOptionsInit", + "RequestInit", + "ResponseInit", + "AudioBuffer", + "Blob", + "Cache", + "CacheStorage", + "CloseEvent", + "Console", + "Coordinates", + "CryptoKey", + "DOMError", + "DOMException", + "DOMStringList", + "ErrorEvent", + "Event", + "EventTarget", + "File", + "FileList", + "FileReader", + "FormData", + "Headers", + "IDBCursor", + "IDBCursorWithValue", + "IDBDatabase", + "IDBFactory", + "IDBIndex", + "IDBKeyRange", + "IDBObjectStore", + "IDBOpenDBRequest", + "IDBRequest", + "IDBTransaction", + "IDBVersionChangeEvent", + "ImageData", + "MessageChannel", + "MessageEvent", + "MessagePort", + "Notification", + "Performance", + "PerformanceNavigation", + "PerformanceTiming", + "Position", + "PositionError", + "ProgressEvent", + "PushManager", + "PushSubscription", + "PushSubscriptionOptions", + "ReadableStream", + "ReadableStreamReader", + "Request", + "Response", + "ServiceWorker", + "ServiceWorkerRegistration", + "SyncManager", + "URL", + "WebSocket", + "Worker", + "XMLHttpRequest", + "XMLHttpRequestUpload", + "AbstractWorker", + "Body", + "GlobalFetch", + "MSBaseReader", + "NavigatorBeacon", + "NavigatorConcurrentHardware", + "NavigatorID", + "NavigatorOnLine", + "WindowBase64", + "WindowConsole", + "XMLHttpRequestEventTarget", + "Client", + "Clients", + "DedicatedWorkerGlobalScope", + "ExtendableEvent", + "ExtendableMessageEvent", + "FetchEvent", + "FileReaderSync", + "NotificationEvent", + "PushEvent", + "PushMessageData", + "ServiceWorkerGlobalScope", + "SyncEvent", + "WindowClient", + "WorkerGlobalScope", + "WorkerLocation", + "WorkerNavigator", + "WorkerUtils", + "EventListener", + "WebKitEntriesCallback", + "WebKitErrorCallback", + "WebKitFileCallback", + "DecodeErrorCallback", + "DecodeSuccessCallback", + "ErrorEventHandler", + "ForEachCallback", + "FunctionStringCallback", + "NotificationPermissionCallback", + "PositionCallback", + "PositionErrorCallback", + "PushMessageDataInit", + "AAGUID", + "AlgorithmIdentifier", + "BodyInit", + "ByteString", + "ConstrainBoolean", + "ConstrainDOMString", + "ConstrainDouble", + "ConstrainLong", + "CryptoOperationData", + "GLbitfield", + "GLboolean", + "GLbyte", + "GLclampf", + "GLenum", + "GLfloat", + "GLint", + "GLintptr", + "GLshort", + "GLsizei", + "GLsizeiptr", + "GLubyte", + "GLuint", + "GLushort", + "HeadersInit", + "IDBKeyPath", + "JSON", + "KeyFormat", + "KeyType", + "KeyUsage", + "MSInboundPayload", + "MSLocalClientEvent", + "MSOutboundPayload", + "RTCIceGatherCandidate", + "RTCTransport", + "RequestInfo", + "USVString", + "payloadtype", + "IDBCursorDirection", + "IDBRequestReadyState", + "IDBTransactionMode", + "MediaKeyStatus", + "NotificationDirection", + "NotificationPermission", + "PushEncryptionKeyName", + "PushPermissionState", + "ReferrerPolicy", + "RequestCache", + "RequestCredentials", + "RequestDestination", + "RequestMode", + "RequestRedirect", + "RequestType", + "ResponseType", + "ServiceWorkerState", + "VisibilityState", + "XMLHttpRequestResponseType", + "ClientType", + "FrameType", + "BinaryType", + "ProgressEventInit", + "EventListenerOptions", + "AddEventListenerOptions", + "ErrorEventInit", + "PushSubscriptionChangeEvent", + "ImageBitmap", + "ImageBitmapOptions", + "FormDataEntryValue", + "EventListenerObject", + "URLSearchParams", + "BlobPropertyBag", + "FilePropertyBag", + "IDBArrayKey" + +] \ No newline at end of file From a2a308b6d90a1c4f33af44ac1b56526d02bf8861 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 10:15:25 -0800 Subject: [PATCH 24/93] Remove unused function --- index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.ts b/index.ts index d7ab6a2f4..377d79f2a 100644 --- a/index.ts +++ b/index.ts @@ -255,10 +255,6 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return Object.keys(obj || {}).map(k => fn(obj![k])); } - function forEach(obj: Record | undefined, fn: (o: T) => void): void { - Object.keys(obj || {}).forEach(k => fn(obj![k])); - } - function tryGetMatchingEventType(eName: string, i: Browser.Interface) { if (i.events) { const event = i.events.event.find(e => e.name === eName); From 4dca89838fb0484c1646b209bb16e83b046a485e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 11:55:17 -0800 Subject: [PATCH 25/93] Better handeling for unknown types --- index.ts | 28 ++++++++++++--------- inputfiles/json/knownWorkerTypes.json | 4 +-- inputfiles/json/overridingTypes.json | 35 +++++++++++++-------------- 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/index.ts b/index.ts index 377d79f2a..df947f0fd 100644 --- a/index.ts +++ b/index.ts @@ -29,9 +29,6 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Global print target const Pt = createTextWriter("\n"); - // When emit webworker types the dom types are ignored - const ignoreDOMTypes = flavor === Flavor.Worker; - // Extended types used but not defined in the spec const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); @@ -387,9 +384,19 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } else { const types = obj.type.map(DomTypeToTsTypeWorker); - const name = types.map(t => t.name).join(" | "); - const nullable = !!types.find(t => t.nullable); - type = { name, nullable }; + const isAny = types.find(t => t.name === "any"); + if (isAny) { + type = { + name: "any", + nullable: false + } + } + else { + type = { + name: types.map(t => t.name).join(" | "), + nullable: !!types.find(t => t.nullable) + }; + } } const subtype = obj.subtype ? DomTypeToTsTypeWorker(obj.subtype) : undefined; @@ -439,7 +446,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { default: if (integerTypes.has(objDomType)) return "number"; if (extendedTypes.has(objDomType)) return objDomType; - if (ignoreDOMTypes && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document")) return "any"; + if (flavor === Flavor.Worker && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document" || objDomType === "AbortSignal" || objDomType === "HTMLFormElement")) return "any"; + if (flavor === Flavor.Web && objDomType === "Client") return "any"; // Name of an interface / enum / dict. Just return itself if (allInterfacesMap[objDomType] || allCallbackFunctionsMap[objDomType] || @@ -469,9 +477,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - // throw new Error("Unkown DOM type: " + objDomType); - console.log(`(${Flavor[flavor]}) Unkown DOM type: ${objDomType}`); - return `any /* used to be ${objDomType}*/`; + throw new Error("Unkown DOM type: " + objDomType); } function makeNullable(originalType: string) { @@ -1367,7 +1373,7 @@ function EmitDom() { webidl = prune(webidl, removedItems); webidl = merge(webidl, addedItems, "add"); - webidl = merge(webidl, overriddenItems, "update"); + webidl = merge(webidl, overriddenItems, "add"); webidl = merge(webidl, comments, "update"); EmitDomWeb(webidl, tsWebOutput); diff --git a/inputfiles/json/knownWorkerTypes.json b/inputfiles/json/knownWorkerTypes.json index 16be37ea3..e849fae79 100644 --- a/inputfiles/json/knownWorkerTypes.json +++ b/inputfiles/json/knownWorkerTypes.json @@ -105,9 +105,6 @@ "WorkerNavigator", "WorkerUtils", "EventListener", - "WebKitEntriesCallback", - "WebKitErrorCallback", - "WebKitFileCallback", "DecodeErrorCallback", "DecodeSuccessCallback", "ErrorEventHandler", @@ -181,6 +178,7 @@ "AddEventListenerOptions", "ErrorEventInit", "PushSubscriptionChangeEvent", + "PushSubscriptionChangeInit", "ImageBitmap", "ImageBitmapOptions", "FormDataEntryValue", diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/json/overridingTypes.json index ae15aa172..31a25bd90 100644 --- a/inputfiles/json/overridingTypes.json +++ b/inputfiles/json/overridingTypes.json @@ -732,21 +732,6 @@ } } }, - "XMLHttpRequest": { - "name": "XMLHttpRequest", - "methods": { - "method": { - "send": { - "name": "send", - "override-signatures": [ - "send(data?: Document): void", - "send(data?: string): void", - "send(data?: any): void" - ] - } - } - } - }, "HTMLCanvasElement": { "name": "HTMLCanvasElement", "methods": { @@ -900,9 +885,23 @@ }, "FormData": { "name": "FormData", - "override-constructor-signatures": [ - "new (form?: HTMLFormElement): FormData" - ], + "constructor": { + "signature": [ + { + "param-min-required": 0, + "type": "FormData", + "param": [ + { + "name": "form", + "type": "HTMLFormElement", + "type-original": "HTMLFormElement" + } + ], + "type-original": "FormData" + } + ], + "name": "" + }, "methods": { "method": { "append": { From 0480b7c2f7bc187ba1318f0103f8dd38cfc4d072 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 12:09:14 -0800 Subject: [PATCH 26/93] Remove unused comments --- index.ts | 24 +- inputfiles/json/comments.json | 409 ---------------------------------- tsconfig.json | 1 + 3 files changed, 12 insertions(+), 422 deletions(-) diff --git a/index.ts b/index.ts index df947f0fd..1546bb177 100644 --- a/index.ts +++ b/index.ts @@ -1369,18 +1369,18 @@ function EmitDom() { /// Load the input file let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.json")); - const knownWorkerTypes = new Set(require(inputFolder + "/knownWorkerTypes.json")); + const knownWorkerTypes = new Set(require(path.join(inputFolder,"knownWorkerTypes.json"))); webidl = prune(webidl, removedItems); - webidl = merge(webidl, addedItems, "add"); - webidl = merge(webidl, overriddenItems, "add"); - webidl = merge(webidl, comments, "update"); + webidl = merge(webidl, addedItems); + webidl = merge(webidl, overriddenItems); + webidl = merge(webidl, comments); EmitDomWeb(webidl, tsWebOutput); EmitDomWorker(webidl, knownWorkerTypes, tsWorkerOutput); EmitES6DomIterators(webidl, tsWebES6Output); - function mergeNamedArrays(srcProp: T[], targetProp: T[], mode: "add" | "update") { + function mergeNamedArrays(srcProp: T[], targetProp: T[]) { const map: any = {}; for (const e1 of srcProp) { if (e1.name) { @@ -1390,32 +1390,30 @@ function EmitDom() { for (const e2 of targetProp) { if (e2.name && map[e2.name]) { - merge(map[e2.name], e2, mode); + merge(map[e2.name], e2); } - else if (mode === "add") { + else { srcProp.push(e2); } } } - function merge(src: T, target: T, mode: "add" | "update"): T { + function merge(src: T, target: T): T { if (typeof src !== "object" || typeof target !== "object") return src; for (const k in target) { if (src[k] && target[k]) { const srcProp = src[k]; const targetProp = target[k]; if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - mergeNamedArrays(srcProp, targetProp, mode); + mergeNamedArrays(srcProp, targetProp); } else { if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); - merge(src[k], target[k], mode); + merge(src[k], target[k]); } } else { - if (typeof target[k] !== "object" || Array.isArray(target[k]) || mode === "add") { - src[k] = target[k]; - } + src[k] = target[k]; } } return src; diff --git a/inputfiles/json/comments.json b/inputfiles/json/comments.json index acc3c163b..5b728cf4e 100644 --- a/inputfiles/json/comments.json +++ b/inputfiles/json/comments.json @@ -7,9 +7,6 @@ "width": { "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" }, - "borderColorLight": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, "cellSpacing": { "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" }, @@ -19,18 +16,12 @@ "frame": { "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" }, - "borderColor": { - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, "rows": { "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" }, "rules": { "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" }, - "cols": { - "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" - }, "summary": { "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" }, @@ -46,20 +37,11 @@ "align": { "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" }, - "cells": { - "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" - }, - "height": { - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, "cellPadding": { "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" }, "border": { "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - "borderColorDark": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } } }, @@ -89,9 +71,6 @@ "createCaption": { "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" }, - "moveRow": { - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, "createTFoot": { "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" } @@ -122,50 +101,20 @@ "HTMLAppletElement": { "properties": { "property": { - "codeType": { - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, "archive": { "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" }, "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, - "standby": { - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - "classid": { - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, "name": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" }, - "useMap": { - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - "data": { - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - "altHtml": { - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - "contentDocument": { - "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" - }, "codeBase": { "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - "declare": { - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" - }, - "type": { - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - "BaseHref": { - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" } } } @@ -246,18 +195,6 @@ } } }, - "HTMLBlockElement": { - "properties": { - "property": { - "width": { - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - "cite": { - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - } - } - }, "HTMLMetaElement": { "properties": { "property": { @@ -282,15 +219,6 @@ } } }, - "HTMLDDElement": { - "properties": { - "property": { - "noWrap": { - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - } - } - }, "HTMLLinkElement": { "properties": { "property": { @@ -335,9 +263,6 @@ "property": { "align": { "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" - }, - "vAlign": { - "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" } } } @@ -442,9 +367,6 @@ "longDesc": { "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" }, - "href": { - "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" - }, "isMap": { "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" }, @@ -466,39 +388,15 @@ "HTMLAreaElement": { "properties": { "property": { - "protocol": { - "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" - }, - "search": { - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, "alt": { "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" }, "coords": { "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" }, - "hostname": { - "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" - }, - "port": { - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - "pathname": { - "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" - }, - "host": { - "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" - }, - "hash": { - "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" - }, "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - "href": { - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, "noHref": { "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" }, @@ -561,9 +459,6 @@ }, "methods": { "method": { - "createTextRange": { - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, "checkValidity": { "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" }, @@ -591,9 +486,6 @@ "Document": { "properties": { "property": { - "compatible": { - "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" - }, "onkeydown": { "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" }, @@ -609,18 +501,12 @@ "scripts": { "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" }, - "onhelp": { - "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" - }, "ondragleave": { "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" }, "charset": { "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" }, - "onfocusin": { - "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" - }, "vlinkColor": { "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" }, @@ -630,21 +516,12 @@ "title": { "comment": "/**\r\n * Contains the title of the document.\r\n */" }, - "namespaces": { - "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" - }, - "defaultCharset": { - "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" - }, "embeds": { "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" }, "styleSheets": { "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" }, - "frames": { - "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" - }, "ondurationchange": { "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" }, @@ -675,21 +552,12 @@ "oncanplay": { "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" }, - "ondatasetchanged": { - "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" - }, - "onrowsdelete": { - "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" - }, "onloadstart": { "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" }, "URLUnencoded": { "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" }, - "oncontrolselect": { - "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" - }, "ondragenter": { "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" }, @@ -705,24 +573,15 @@ "links": { "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" }, - "uniqueID": { - "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" - }, "URL": { "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" }, "onbeforeactivate": { "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" }, - "documentMode": { - "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" - }, "anchors": { "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" }, - "ondatasetcomplete": { - "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" - }, "onsuspend": { "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" }, @@ -738,12 +597,6 @@ "alinkColor": { "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" }, - "onerrorupdate": { - "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" - }, - "parentWindow": { - "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" - }, "onmouseout": { "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" }, @@ -756,21 +609,9 @@ "onvolumechange": { "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" }, - "oncellchange": { - "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" - }, - "onrowexit": { - "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" - }, - "onrowsinserted": { - "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" - }, "xmlVersion": { "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" }, - "onpropertychange": { - "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" - }, "ondragend": { "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" }, @@ -825,9 +666,6 @@ "domain": { "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" }, - "selection": { - "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" - }, "onstalled": { "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" }, @@ -837,9 +675,6 @@ "documentElement": { "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" }, - "onbeforeeditfocus": { - "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" - }, "onratechange": { "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" }, @@ -873,18 +708,9 @@ "onabort": { "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" }, - "onfocusout": { - "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" - }, "onselectionchange": { "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" }, - "onstoragecommit": { - "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" - }, - "ondataavailable": { - "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" - }, "onreadystatechange": { "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" }, @@ -924,9 +750,6 @@ "onscroll": { "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" }, - "onrowenter": { - "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" - }, "onload": { "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" } @@ -958,9 +781,6 @@ "createElement": { "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" }, - "releaseCapture": { - "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" - }, "writeln": { "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" }, @@ -985,9 +805,6 @@ "createRange": { "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" }, - "fireEvent": { - "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" - }, "createComment": { "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" }, @@ -997,9 +814,6 @@ "createDocumentFragment": { "comment": "/**\r\n * Creates a new document.\r\n */" }, - "createStyleSheet": { - "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" - }, "getElementsByName": { "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" }, @@ -1021,9 +835,6 @@ "createNodeIterator": { "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" }, - "createEventObject": { - "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" - }, "getSelection": { "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" }, @@ -1072,20 +883,8 @@ "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - "borderColorLight": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, "sectionRowIndex": { "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" - }, - "borderColor": { - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - "height": { - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - "borderColorDark": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } } }, @@ -1159,9 +958,6 @@ }, "onload": { "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - }, - "security": { - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" } } } @@ -1169,30 +965,15 @@ "HTMLQuoteElement": { "properties": { "property": { - "dateTime": { - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, "cite": { "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } } } }, - "HTMLTableHeaderCellElement": { - "properties": { - "property": { - "scope": { - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - } - } - } - }, "HTMLFrameSetElement": { "properties": { "property": { - "borderColor": { - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, "rows": { "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" }, @@ -1202,14 +983,8 @@ "onblur": { "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" }, - "frameSpacing": { - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, "onfocus": { "comment": "/**\r\n * Fires when the object receives focus.\r\n */" - }, - "frameBorder": { - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" } } } @@ -1262,18 +1037,9 @@ "marginWidth": { "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" }, - "frameSpacing": { - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, "frameBorder": { "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" }, - "noResize": { - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - "vspace": { - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, "contentWindow": { "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" }, @@ -1292,21 +1058,12 @@ "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - "border": { - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, "contentDocument": { "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" }, - "hspace": { - "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" - }, "longDesc": { "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" }, - "security": { - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - }, "onload": { "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" } @@ -1329,9 +1086,6 @@ "deleteRow": { "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" }, - "moveRow": { - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, "insertRow": { "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" } @@ -1353,15 +1107,6 @@ "selectionEnd": { "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" }, - "vrml": { - "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" - }, - "lowsrc": { - "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" - }, - "vspace": { - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, "accept": { "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" }, @@ -1389,15 +1134,9 @@ "height": { "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" }, - "border": { - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, "checked": { "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" }, - "hspace": { - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, "maxLength": { "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" }, @@ -1407,9 +1146,6 @@ "defaultValue": { "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" }, - "complete": { - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, "validationMessage": { "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" }, @@ -1474,9 +1210,6 @@ }, "methods": { "method": { - "createTextRange": { - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, "setSelectionRange": { "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" }, @@ -1504,27 +1237,12 @@ "rel": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, - "protocol": { - "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" - }, - "search": { - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, "coords": { "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" }, - "hostname": { - "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" - }, - "pathname": { - "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" - }, "target": { "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" }, - "href": { - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, "name": { "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" }, @@ -1534,15 +1252,6 @@ "hreflang": { "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" }, - "port": { - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - "host": { - "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" - }, - "hash": { - "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" - }, "rev": { "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" }, @@ -1585,21 +1294,6 @@ "property": { "width": { "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" - }, - "cite": { - "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" - } - } - } - }, - "HTMLPhraseElement": { - "properties": { - "property": { - "dateTime": { - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - "cite": { - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" } } } @@ -1665,15 +1359,9 @@ "align": { "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" }, - "borderColorLight": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, "colSpan": { "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" }, - "borderColor": { - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, "axis": { "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" }, @@ -1691,9 +1379,6 @@ }, "scope": { "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - }, - "borderColorDark": { - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" } } } @@ -1716,9 +1401,6 @@ "value": { "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" }, - "status": { - "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" - }, "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, @@ -1774,9 +1456,6 @@ }, "methods": { "method": { - "createTextRange": { - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, "setSelectionRange": { "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" }, @@ -1910,18 +1589,12 @@ "HTMLMediaElement": { "properties": { "property": { - "initialTime": { - "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" - }, "played": { "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" }, "currentSrc": { "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" }, - "autobuffer": { - "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" - }, "loop": { "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" }, @@ -2031,15 +1704,6 @@ } } }, - "HTMLDTElement": { - "properties": { - "property": { - "noWrap": { - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - } - } - }, "HTMLFieldSetElement": { "properties": { "property": { @@ -2071,24 +1735,6 @@ } } }, - "HTMLBGSoundElement": { - "properties": { - "property": { - "balance": { - "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" - }, - "volume": { - "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" - }, - "src": { - "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" - }, - "loop": { - "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" - } - } - } - }, "HTMLHRElement": { "properties": { "property": { @@ -2113,9 +1759,6 @@ "codeType": { "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" }, - "object": { - "comment": "/**\r\n * Retrieves the contained object.\r\n */" - }, "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, @@ -2128,9 +1771,6 @@ "standby": { "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" }, - "classid": { - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, "name": { "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" }, @@ -2146,9 +1786,6 @@ "contentDocument": { "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" }, - "altHtml": { - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, "codeBase": { "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" }, @@ -2234,38 +1871,11 @@ "HTMLOptGroupElement": { "properties": { "property": { - "index": { - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - "defaultSelected": { - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - "text": { - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - "value": { - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, "form": { "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" }, "label": { "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - "selected": { - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - } - } - }, - "HTMLIsIndexElement": { - "properties": { - "property": { - "form": { - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - "action": { - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" } } } @@ -2335,24 +1945,5 @@ } } } - }, - "mixin-interfaces": { - "interface": { - "HTMLTableAlignment": { - "properties": { - "property": { - "ch": { - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" - }, - "vAlign": { - "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" - }, - "chOff": { - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" - } - } - } - } - } } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index ee4543ddc..41d2952a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "target": "es6", "module": "commonjs", + "lib": ["es2016"], "strict": true, "esModuleInterop": true, "sourceMap": true, From 5f10d606ec43f0f97c824650eff754c092b3332e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 12:12:04 -0800 Subject: [PATCH 27/93] make event handelers nullable --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 1546bb177..92b6702e7 100644 --- a/index.ts +++ b/index.ts @@ -723,7 +723,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } let requiredModifier = !p.required || p.required === "1" ? "" : "?"; - //pType = p.nullable ? makeNullable(pType) : pType; + pType = p.nullable ? makeNullable(pType) : pType; let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); } From a25545493632bdcbca4b8fa9883ef0776fbb4775 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 12:22:06 -0800 Subject: [PATCH 28/93] Add deprecated comments --- index.ts | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/index.ts b/index.ts index 92b6702e7..93761f829 100644 --- a/index.ts +++ b/index.ts @@ -696,9 +696,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(content); } - if (p.comment) { - printLine(p.comment); - } + emitComments(p, printLine); // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 if (p.name === "name" && i.name === "Window" && emitScope === EmitScope.All) { @@ -729,6 +727,17 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } + function emitComments(entity: { comment?: string; deprecated?: 1 } | undefined, print: (s: string) => void) { + if (entity) { + if (entity.comment) { + print(entity.comment); + } + if (entity.deprecated) { + print(`/** @deprecated */`); + } + } + } + function EmitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // Note: the schema file shows the property doesn't have "static" attribute, // therefore all properties are emited for the instance type. @@ -750,10 +759,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(content); } - // print comment - if (m.comment) { - printLine(m.comment); - } + emitComments(m, printLine); if (m["override-signatures"]) { m["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); @@ -873,9 +879,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function EmitConstructorSignature(i: Browser.Interface) { const constructor = typeof i.constructor === "object" ? i.constructor : undefined; - if (constructor && constructor.comment) { - Pt.Printl(constructor.comment); - } + + emitComments(constructor, s => Pt.Print(s)); + // Emit constructor signature if (i["override-constructor-signatures"]) { i["override-constructor-signatures"]!.forEach(s => Pt.Printl(`${s};`)); From 1106259ccddb114b52a6185b027f27016017c507 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 12:33:04 -0800 Subject: [PATCH 29/93] Refactor --- index.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/index.ts b/index.ts index 93761f829..1aa0f4c02 100644 --- a/index.ts +++ b/index.ts @@ -299,10 +299,6 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return t.replace(/[\(\)]/g, "").split(" or "); } - function getFirstParameter(m: Browser.Method): Browser.Param | undefined { - return (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; - } - function createTextWriter(newLine: string) { let output: string; let indent: number; @@ -986,8 +982,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) .forEach(m => { - let indexer = getFirstParameter(m)!; - Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer)}]: ${DomTypeToTsType(m.signature[0])};`); + let indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; + if (indexer) { + Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer)}]: ${DomTypeToTsType(m.signature[0])};`); + } }); } } From e47cdf636380f7e156d487f038c48fc3a20270e6 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 12:35:45 -0800 Subject: [PATCH 30/93] Remove index signature on Window --- inputfiles/json/overridingTypes.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/json/overridingTypes.json index 31a25bd90..356267cb8 100644 --- a/inputfiles/json/overridingTypes.json +++ b/inputfiles/json/overridingTypes.json @@ -214,7 +214,9 @@ ] } } - } + }, + "overide-index-signatures": [ + ] }, "Document": { "name": "Document", From b6a01cdcd47bcfc25d2a506843e60faedf35a11e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 13:26:05 -0800 Subject: [PATCH 31/93] Remove unused files --- TS.fsx | 1606 - build.fsx | 31 - build.sh | 14 - inputfiles/addedTypes.json | 3038 - inputfiles/browser.webidl.xml | 13505 ----- inputfiles/comments.json | 3083 - inputfiles/json/browser.webidl.xml.json | 54895 ------------------ inputfiles/json/knownWorkerEnums.json | 21 - inputfiles/json/knownWorkerInterfaces.json | 105 - inputfiles/json/webworkers.specidl.xml.json | 1007 - inputfiles/knownWorkerEnums.json | 21 - inputfiles/knownWorkerInterfaces.json | 105 - inputfiles/overridingTypes.json | 1851 - inputfiles/removedTypes.json | 107 - inputfiles/sample.json | 380 - inputfiles/webworkers.specidl.xml | 318 - paket.dependencies | 4 - paket.lock | 6 - sample.xml | 13519 ----- 19 files changed, 93616 deletions(-) delete mode 100644 TS.fsx delete mode 100644 build.fsx delete mode 100755 build.sh delete mode 100644 inputfiles/addedTypes.json delete mode 100644 inputfiles/browser.webidl.xml delete mode 100644 inputfiles/comments.json delete mode 100644 inputfiles/json/browser.webidl.xml.json delete mode 100644 inputfiles/json/knownWorkerEnums.json delete mode 100644 inputfiles/json/knownWorkerInterfaces.json delete mode 100644 inputfiles/json/webworkers.specidl.xml.json delete mode 100644 inputfiles/knownWorkerEnums.json delete mode 100644 inputfiles/knownWorkerInterfaces.json delete mode 100644 inputfiles/overridingTypes.json delete mode 100644 inputfiles/removedTypes.json delete mode 100644 inputfiles/sample.json delete mode 100644 inputfiles/webworkers.specidl.xml delete mode 100644 paket.dependencies delete mode 100644 paket.lock delete mode 100644 sample.xml diff --git a/TS.fsx b/TS.fsx deleted file mode 100644 index 6bb4a3fc2..000000000 --- a/TS.fsx +++ /dev/null @@ -1,1606 +0,0 @@ -#r "packages/FSharp.Data/lib/net40/FSharp.Data.dll" -#r "System.Xml.Linq.dll" - -open System -open System.Collections.Generic -open System.IO -open System.Text -open System.Text.RegularExpressions -open Microsoft.FSharp.Reflection -open FSharp.Data - -module GlobalVars = - let inputFolder = Path.Combine(__SOURCE_DIRECTORY__, "inputfiles") - let outputFolder = Path.Combine(__SOURCE_DIRECTORY__, "generated") - - // Create output folder - if not (Directory.Exists(outputFolder)) then - Directory.CreateDirectory(outputFolder) |> ignore - - let makeTextWriter fileName = File.CreateText(Path.Combine(outputFolder, fileName)) :> TextWriter - let tsWebOutput = makeTextWriter "dom.generated.d.ts" - let tsWebES6Output = makeTextWriter "dom.es6.generated.d.ts" - let tsWorkerOutput = makeTextWriter "webworker.generated.d.ts" - let defaultEventType = "Event" - -module Helpers = - /// Quick checker for option type values - let OptionCheckValue value = function - | Some v when v = value -> true - | _ -> false - - let unionToString (x: 'a) = - match FSharpValue.GetUnionFields(x, typeof<'a>) with - | case, _ -> case.Name - - module Option = - let runIfSome f x = - match x with - | Some x' -> f x' - | _ -> () - - let toBool f x = - match x with - | Some x' -> f x' - | _ -> false - - type String with - member this.TrimStartString str = - if this.StartsWith(str) then this.Substring(str.Length) - else this - -module Types = - open Helpers - - type Flavor = Worker | Web | All with - override x.ToString() = unionToString x - - type Browser = XmlProvider<"sample.xml", Global=true> - - // Printer for print to string - type StringPrinter() = - let output = StringBuilder() - let stack = StringBuilder() - let mutable curTabCount = 0 - member __.GetCurIndent() = String.replicate curTabCount " " - - member __.Print content = Printf.kprintf (output.Append >> ignore) content - - member __.PrintToStack content = Printf.kprintf (stack.Append >> ignore) content - - member __.ClearStack () = stack.Clear() |> ignore - - member this.PrintStackContent () = this.Print "%s" (stack.ToString()) - - member this.Printl content = - Printf.kprintf (fun s -> output.Append("\r\n" + this.GetCurIndent() + s) |> ignore) content - - member this.PrintlToStack content = - Printf.kprintf (fun s -> stack.Append("\r\n" + this.GetCurIndent() + s) |> ignore) content - - member __.StackIsEmpty () = stack.Length = 0 - - member __.IncreaseIndent() = curTabCount <- curTabCount + 1 - - member __.SetIndent indentNum = curTabCount <- indentNum - - member __.DecreaseIndent() = curTabCount <- Math.Max(curTabCount - 1, 0) - - member __.ResetIndent() = curTabCount <- 0 - - member this.PrintWithAddedIndent content = - Printf.kprintf (fun s -> output.Append("\r\n" + this.GetCurIndent() + " " + s) |> ignore) content - - member __.GetResult() = output.ToString() - - member __.Clear() = output.Clear() |> ignore - - member this.Reset() = - this.Clear() - this.ResetIndent() - - type Event = { Name : string; Type : string } - - /// Method parameter - type Param = { - Type : string - Name : string - Optional : bool - Variadic : bool - Nullable : bool } - - /// Function overload - type Overload = { ParamCombinations : Param list; ReturnTypes : string list; Nullable : Boolean } with - member this.IsEmpty = this.ParamCombinations.IsEmpty && (this.ReturnTypes = [ "void" ] || this.ReturnTypes = [ "" ]) - - type Function = - | Method of Browser.Method - | Ctor of Browser.Constructor - | CallBackFun of Browser.CallbackFunction - - // Note: - // Eventhandler's name and the eventName are not just off by "on". - // For example, handlers named "onabort" may handle "SVGAbort" event in the XML file - type EventHandler = { Name : string; EventName : string; EventType : string } - - /// Decide which members of a function to emit - type EmitScope = - | StaticOnly - | InstanceOnly - | All - - type ExtendConflict = { BaseType: string; ExtendType: string list; MemberNames: string list } - -module InputJson = - open Helpers - open Types - - type InputJsonType = JsonProvider<"inputfiles/sample.json"> - - let overriddenItems = - File.ReadAllText(GlobalVars.inputFolder + @"/overridingTypes.json") |> InputJsonType.Parse - - let removedItems = - File.ReadAllText(GlobalVars.inputFolder + @"/removedTypes.json") |> InputJsonType.Parse - - let addedItems = - File.ReadAllText(GlobalVars.inputFolder + @"/addedTypes.json") |> InputJsonType.Parse - - // This is the kind of items in the external json files that are used as a - // correction for the spec. - type ItemKind = - | Property - | Method - | Constant - | Constructor - | Interface - | Callback - | Indexer - | SignatureOverload - | TypeDef - | Extends - override x.ToString() = - match x with - | Property _ -> "property" - | Method _ -> "method" - | Constant _ -> "constant" - | Constructor _ -> "constructor" - | Interface _ -> "interface" - | Callback _ -> "callback" - | Indexer _ -> "indexer" - | SignatureOverload _ -> "signatureoverload" - | TypeDef _ -> "typedef" - | Extends _ -> "extends" - - let getItemByName (allItems: InputJsonType.Root []) (itemName: string) (kind: ItemKind) otherFilter = - let filter (item: InputJsonType.Root) = - (OptionCheckValue itemName item.Name || OptionCheckValue (sprintf "%s?" itemName) item.Name) && - item.Kind.ToLower() = kind.ToString() && - otherFilter item - allItems |> Array.tryFind filter - - let matchInterface iName (item: InputJsonType.Root) = - item.Interface.IsNone || item.Interface.Value = iName - - let getOverriddenItemByName itemName (kind: ItemKind) iName = - getItemByName overriddenItems itemName kind (matchInterface iName) - - let getRemovedItemByName itemName (kind: ItemKind) iName = - getItemByName removedItems itemName kind (matchInterface iName) - - let getAddedItemByName itemName (kind: ItemKind) iName = - getItemByName addedItems itemName kind (matchInterface iName) - - let getItems (allItems: InputJsonType.Root []) (kind: ItemKind) (flavor: Flavor) = - allItems - |> Array.filter (fun t -> - t.Kind.ToLower() = kind.ToString() && - (t.Flavor.IsNone || t.Flavor.Value = flavor.ToString() || t.Flavor.Value = Flavor.All.ToString() || flavor = Flavor.All)) - - let getOverriddenItems = getItems overriddenItems - - let getAddedItems = getItems addedItems - - let getRemovedItems = getItems removedItems - - let getAddedItemsByInterfaceName kind flavor iName = - getAddedItems kind flavor |> Array.filter (matchInterface iName) - - let getOverriddenItemsByInterfaceName kind flavor iName = - getOverriddenItems kind flavor |> Array.filter (matchInterface iName) - - let getRemovedItemsByInterfaceName kind flavor iName = - getRemovedItems kind flavor |> Array.filter (matchInterface iName) - -module CommentJson = - type CommentJsonType = JsonProvider<"inputfiles/comments.json", InferTypesFromValues=false> - - let comments = File.ReadAllText(Path.Combine(GlobalVars.inputFolder, "comments.json")) |> CommentJsonType.Parse - - type InterfaceCommentItem = { Property: Map; Method: Map; Constructor: string option } - - let commentMap = - comments.Interfaces - |> Array.map (fun i -> - let propertyMap = i.Members.Property |> Array.map (fun p -> (p.Name, p.Comment)) |> Map.ofArray - let methodMap = i.Members.Method |> Array.map (fun m -> (m.Name, m.Comment)) |> Map.ofArray - (i.Name, { Property = propertyMap; Method = methodMap; Constructor = i.Members.Constructor })) - |> Map.ofArray - - let GetCommentForProperty iName pName = - match commentMap.TryFind iName with - | Some i -> i.Property.TryFind pName - | _ -> None - - let GetCommentForMethod iName mName = - match commentMap.TryFind iName with - | Some i -> i.Method.TryFind mName - | _ -> None - - let GetCommentForConstructor iName = - match commentMap.TryFind iName with - | Some i -> i.Constructor - | _ -> None - -module Data = - open Types - - // Used to decide if a member should be emitted given its static property and - // the intended scope level. - let inline matchScope scope (x: ^a when ^a: (member Static: Option<'b>)) = - if scope = EmitScope.All then true - else - let isStatic = (^a: (member Static: Option<'b>)x) - if isStatic.IsSome then scope = EmitScope.StaticOnly - else scope = EmitScope.InstanceOnly - - let matchInterface iName (x: InputJson.InputJsonType.Root) = - x.Interface.IsNone || x.Interface.Value = iName - - /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. - let AdjustParamName name = - match name with - | "default" -> "_default" - | "delete" -> "_delete" - | "continue" -> "_continue" - | _ -> name - - /// Parse the xml input file - let browser = - (new StreamReader(Path.Combine(GlobalVars.inputFolder, "browser.webidl.xml"))).ReadToEnd() |> Browser.Parse - - let worker = - (new StreamReader(Path.Combine(GlobalVars.inputFolder, "webworkers.specidl.xml"))).ReadToEnd() |> Browser.Parse - - /// Check if the given element should be disabled or not - /// reason is that ^a can be an interface, property or method, but they - /// all share a 'tag' property - let inline ShouldKeep flavor (i: ^a when ^a: (member Tags: string option)) = - let filterByTag = - match (^a: (member Tags: string option) i) with - | Some tags -> - match flavor with - | Flavor.All -> true - //| Flavor.Web -> tags <> "MSAppOnly" && tags <> "WinPhoneOnly" - | Flavor.Worker -> tags <> "IEOnly" - | _ -> true - | _ -> true - filterByTag - - // Global interfacename to interface object map - let allWebNonCallbackInterfaces = - Array.concat [| browser.Interfaces; browser.MixinInterfaces.Interfaces |] - - let allWebInterfaces = - Array.concat [| browser.Interfaces; browser.CallbackInterfaces.Interfaces; browser.MixinInterfaces.Interfaces |] - - let allWorkerAdditionalInterfaces = - Array.concat [| worker.Interfaces; worker.MixinInterfaces.Interfaces |] - - let allInterfaces = - Array.concat [| allWebInterfaces; allWorkerAdditionalInterfaces |] - - let inline toNameMap< ^a when ^a: (member Name: string) > (data: array< ^a > ) = - data - |> Array.map (fun x -> ((^a: (member Name: string) x), x)) - |> Map.ofArray - - let allInterfacesMap = - allInterfaces |> toNameMap - - let allDictionariesMap = - Array.concat [| browser.Dictionaries; worker.Dictionaries |] - |> toNameMap - - let allEnumsMap = - Array.concat [| browser.Enums; worker.Enums |] - |> toNameMap - - let allCallbackFuncs = - Array.concat [| browser.CallbackFunctions; worker.CallbackFunctions |] - |> toNameMap - - let GetInterfaceByName = allInterfacesMap.TryFind - - type KnownWorkerInterfaceType = JsonProvider<"inputfiles/knownWorkerInterfaces.json", InferTypesFromValues=false> - let knownWorkerInterfaces = - File.ReadAllText(Path.Combine(GlobalVars.inputFolder, "knownWorkerInterfaces.json")) - |> KnownWorkerInterfaceType.Parse - |> set - - let knownWorkerEnums = - File.ReadAllText(Path.Combine(GlobalVars.inputFolder, "knownWorkerEnums.json")) - |> KnownWorkerInterfaceType.Parse - |> set - - let GetAllInterfacesByFlavor flavor = - match flavor with - | Flavor.Web -> allWebInterfaces |> Array.filter (ShouldKeep Web) - | Flavor.All -> allWebInterfaces |> Array.filter (ShouldKeep Flavor.All) - | Flavor.Worker -> - let isFromBrowserXml = allWebInterfaces |> Array.filter (fun i -> knownWorkerInterfaces.Contains i.Name) - Array.append isFromBrowserXml allWorkerAdditionalInterfaces - - let GetNonCallbackInterfacesByFlavor flavor = - match flavor with - | Flavor.Web -> allWebNonCallbackInterfaces |> Array.filter (ShouldKeep Flavor.Web) - | Flavor.All -> allWebNonCallbackInterfaces |> Array.filter (ShouldKeep Flavor.All) - | Flavor.Worker -> - let isFromBrowserXml = allWebNonCallbackInterfaces |> Array.filter (fun i -> knownWorkerInterfaces.Contains i.Name) - Array.append isFromBrowserXml allWorkerAdditionalInterfaces - - let GetPublicInterfacesByFlavor flavor = - match flavor with - | Flavor.Web | Flavor.All -> browser.Interfaces |> Array.filter (ShouldKeep flavor) - | Flavor.Worker -> - let isFromBrowserXml = browser.Interfaces |> Array.filter (fun i -> knownWorkerInterfaces.Contains i.Name) - Array.append isFromBrowserXml worker.Interfaces - - let GetCallbackFuncsByFlavor flavor = - browser.CallbackFunctions - |> Array.filter (fun cb -> (flavor <> Flavor.Worker || knownWorkerInterfaces.Contains cb.Name) && ShouldKeep flavor cb) - - let GetEnumsByFlavor flavor = - match flavor with - | Flavor.Web | Flavor.All -> browser.Enums - | Flavor.Worker -> - let isFromBrowserXml = browser.Enums |> Array.filter (fun i -> knownWorkerEnums.Contains i.Name) - Array.append isFromBrowserXml worker.Enums - - /// Event name to event type map - let eNameToEType = - [ for i in allWebNonCallbackInterfaces do - if i.Events.IsSome then yield! i.Events.Value.Events ] - |> List.map (fun (e : Browser.Event) -> - let eType = - match e.Name with - | "abort" -> "UIEvent" - | "complete" -> "Event" - | "click" -> "MouseEvent" - | "error" -> "ErrorEvent" - | "load" -> "Event" - | "loadstart" -> "Event" - | "progress" -> "ProgressEvent" - | "readystatechange" -> "ProgressEvent" - | "resize" -> "UIEvent" - | "timeout" -> "ProgressEvent" - | _ -> e.Type - (e.Name, eType)) - |> Map.ofList - - let getEventTypeInInterface eName (i: Browser.Interface) = - match i.Name, eName with - | "IDBDatabase", "abort" - | "IDBTransaction", "abort" - | "MSBaseReader", "abort" - | "XMLHttpRequestEventTarget", "abort" - -> "Event" - | "XMLHttpRequest", "readystatechange" - -> "Event" - | "XMLHttpRequest", _ - -> "ProgressEvent" - | _ -> - let ownEventType = - if i.Events.IsSome then - match i.Events.Value.Events |> Array.tryFind (fun e -> e.Name = eName) with - | Some e -> e.Type - | _ -> "" - else - "" - if ownEventType = "" then - match eNameToEType.TryFind eName with - | Some eType' -> eType' - | _ -> "Event" - else - ownEventType - - /// Tag name to element name map - let tagNameToEleName = - let preferedElementMap = - function - | "script" -> "HTMLScriptElement" - | "a" -> "HTMLAnchorElement" - | "title" -> "HTMLTitleElement" - | "style" -> "HTMLStyleElement" - | _ -> "" - - let resolveElementConflict tagName (iNames : seq) = - match preferedElementMap tagName with - | name when Seq.contains name iNames -> name - | _ -> raise (Exception("Element conflict occured! Typename: " + tagName)) - - let nativeTagNamesToInterface = - [ for i in GetNonCallbackInterfacesByFlavor Flavor.All do - yield! [ for e in i.Elements do - yield (e.Name, i.Name) ] ] - - let addedTagNamesToInterface = - [ for i in InputJson.getAddedItems InputJson.ItemKind.Interface Flavor.All - |> Array.filter (fun i -> Seq.length i.TagNames > 0) do - yield! [ for e in i.TagNames do - match i.Name with - | Some name -> yield (e, name) - | _ -> () ] ] - - nativeTagNamesToInterface @ addedTagNamesToInterface - |> Seq.groupBy fst - |> Seq.map ((fun (key, group) -> (key, Seq.map snd group)) >> fun (key, group) -> - key, - match Seq.length group with - | 1 -> Seq.head group - | _ -> resolveElementConflict key group) - |> Map.ofSeq - - /// Interface name to all its implemented / inherited interfaces name list map - /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - let iNameToIDependList = - let rec getExtendList(iName : string) = - match GetInterfaceByName iName with - | Some i -> - match i.Extends with - | "Object" -> [] - | super -> super :: (getExtendList super) - | _ -> - match InputJson.getAddedItemByName iName InputJson.ItemKind.Interface iName with - | Some i -> - match i.Extends with - | Some extends -> - match extends with - | "Object" -> [] - | super -> super :: (getExtendList super) - | _ -> [] - | _ -> [] - - let getImplementList(iName : string) = - match GetInterfaceByName iName with - | Some i -> List.ofArray i.Implements - | _ -> [] - - let addedINameToIDependList = - InputJson.getAddedItems InputJson.ItemKind.Interface Flavor.All - |> Array.ofSeq - |> Array.filter (fun i -> i.Name.IsSome) - |> Array.map (fun i -> (Option.get i.Name, List.concat [ (getExtendList (Option.get i.Name)); (getImplementList (Option.get i.Name)) ])) - - let nativeINameToIDependList = - Array.concat [| allWebNonCallbackInterfaces; worker.Interfaces; worker.MixinInterfaces.Interfaces |] - |> Array.map (fun i -> (i.Name, List.concat [ (getExtendList i.Name); (getImplementList i.Name) ])) - - Array.concat [| addedINameToIDependList; nativeINameToIDependList |] - |> Map.ofArray - - /// Distinct event type list, used in the "createEvent" function - let distinctETypeList = - let usedEvents = - [ for i in GetNonCallbackInterfacesByFlavor Flavor.All do - match i.Events with - | Some es -> yield! es.Events - | _ -> () ] - |> List.map (fun e -> e.Type) - |> List.distinct - - let unUsedEvents = - GetNonCallbackInterfacesByFlavor Flavor.All - |> Array.choose (fun i -> - if i.Extends = "Event" && i.Name.EndsWith("Event") && not (List.contains i.Name usedEvents) then Some(i.Name) else None) - |> Array.distinct - |> List.ofArray - - List.concat [ usedEvents; unUsedEvents ] |> List.sort - - /// Determine if interface1 depends on interface2 - let IsDependsOn i1Name i2Name = - match (iNameToIDependList.ContainsKey i2Name) && (iNameToIDependList.ContainsKey i1Name) with - | true -> Seq.contains i2Name iNameToIDependList.[i1Name] - | false -> i2Name = "Object" - - /// Interface name to its related eventhandler name list map - /// Note: - /// In the xml file, each event handler has - /// 1. eventhanlder name: "onready", "onabort" etc. - /// 2. the event name that it handles: "ready", "SVGAbort" etc. - /// And they don't NOT just differ by an "on" prefix! - let iNameToEhList = - let getEventTypeFromHandler (p : Browser.Property) = - let eType = - // Check the "event-handler" attribute of the event handler property, - // which is the corresponding event name - match p.EventHandler with - | Some eName -> - // The list is partly obtained from the table at - // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 - match eNameToEType.TryFind eName with - | Some v -> v - | _ -> GlobalVars.defaultEventType - | _ -> GlobalVars.defaultEventType - match eType with - | "Event" -> "Event" - | name when (IsDependsOn name "Event") -> eType - | _ -> GlobalVars.defaultEventType - - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - let rec getEventHandler(i : Browser.Interface) = - let ownEventHandler = - match i.Properties with - | Some ps -> - ps.Properties - |> Array.choose (fun p' -> - if p'.EventHandler.IsSome then - Some({ Name = p'.Name; EventName = p'.EventHandler.Value; EventType = getEventTypeFromHandler p' }) - else None) - |> List.ofArray - | None -> [] - if ownEventHandler.Length > 0 then ownEventHandler else [] - - allInterfaces - |> Array.map (fun i -> (i.Name, getEventHandler i)) - |> Map.ofArray - - // Map of interface.Name -> List of base interfaces with event handlers - let iNameToEhParents = - let hasHandler (i : Browser.Interface) = - iNameToEhList.ContainsKey i.Name && not iNameToEhList.[i.Name].IsEmpty - - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - let rec getParentsWithEventHandler (i : Browser.Interface) = - let getParentEventHandler (i: Browser.Interface) = - if hasHandler i then [i] else getParentsWithEventHandler i - - let extendedParentWithEventHandler = - match GetInterfaceByName i.Extends with - | Some extended -> getParentEventHandler extended - | None -> [] - - let implementedParentsWithEventHandler = - i.Implements - |> Array.choose GetInterfaceByName - |> List.ofArray - |> List.collect getParentEventHandler - - List.concat [ extendedParentWithEventHandler; implementedParentsWithEventHandler ] - - allInterfaces - |> Array.map (fun i -> (i.Name, getParentsWithEventHandler i)) - |> Map.ofArray - - let GetGlobalPollutor flavor = - match flavor with - | Flavor.Web | Flavor.All -> browser.Interfaces |> Array.tryFind (fun i -> i.PrimaryGlobal.IsSome) - | Flavor.Worker -> worker.Interfaces |> Array.tryFind (fun i -> i.Global.IsSome) - - let GetGlobalPollutorName flavor = - match GetGlobalPollutor flavor with - | Some gp -> gp.Name - | _ -> "Window" - - /// Return a sequence of returntype * HashSet tuple - let GetOverloads (f : Function) (decomposeMultipleTypes : bool) = - let getParams (f : Function) = - match f with - | Method m -> - [ for p in m.Params do - yield { Type = p.Type - Name = p.Name - Optional = p.Optional.IsSome - Variadic = p.Variadic.IsSome - Nullable = p.Nullable.IsSome } ] - | Ctor c -> - [ for p in c.Params do - yield { Type = p.Type - Name = p.Name - Optional = p.Optional.IsSome - Variadic = p.Variadic.IsSome - Nullable = p.Nullable.IsSome } ] - | CallBackFun cb -> - [ for p in cb.Params do - yield { Type = p.Type - Name = p.Name - Optional = p.Optional.IsSome - Variadic = p.Variadic.IsSome - Nullable = p.Nullable.IsSome } ] - - let getReturnType (f : Function) = - match f with - | Method m -> m.Type - | Ctor _ -> "" - | CallBackFun cb -> cb.Type - - let isNullable = - match f with - | Method m -> m.Nullable.IsSome - | Ctor _ -> false - | CallBackFun _ -> true - - // Some params have the type of "(DOMString or DOMString [] or Number)" - // we need to transform it into [“DOMString", "DOMString []", "Number"] - let decomposeTypes (t : string) = t.Trim([| '('; ')' |]).Split([| " or " |], StringSplitOptions.None) - - let decomposeParam (p : Param) = - [ for t in (decomposeTypes p.Type) do - yield { Type = t - Name = p.Name - Optional = p.Optional - Variadic = p.Variadic - Nullable = p.Nullable } ] - - let pCombList = - let pCombs = List<_>() - - let rec enumParams (acc : Param list) (rest : Param list) = - match rest with - | p :: ps when p.Type.Contains("or") -> - let pOptions = decomposeParam p - for pOption in pOptions do - enumParams (pOption :: acc) ps - | p :: ps -> enumParams (p :: acc) ps - | [] -> - // Iteration is completed and time to print every param now - pCombs.Add(List.rev acc) |> ignore - enumParams [] (getParams f) - List.ofSeq pCombs - - let rTypes = - getReturnType f - |> decomposeTypes - |> List.ofArray - - if decomposeMultipleTypes then - [ for pComb in pCombList do - yield { ParamCombinations = pComb - ReturnTypes = rTypes - Nullable = isNullable } ] - else - [ { ParamCombinations = getParams f - ReturnTypes = rTypes - Nullable = isNullable } ] - - let typeDefSet = - browser.Typedefs |> Array.map (fun td -> td.NewType) |> Set.ofArray - - let extendConflicts = [ - { BaseType = "AudioContext"; ExtendType = ["OfflineContext"]; MemberNames = ["suspend"] }; - { BaseType = "HTMLCollection"; ExtendType = ["HTMLFormControlsCollection"]; MemberNames = ["namedItem"] }; - ] - - let extendConflictsBaseTypes = - extendConflicts |> List.map (fun ec -> (ec.BaseType, ec)) |> Map.ofList - -module Emit = - open Data - open Types - open Helpers - open InputJson - - // Global print target - let Pt = StringPrinter() - - // When emit webworker types the dom types are ignored - let mutable ignoreDOMTypes = false - - // Extended types used but not defined in the spec - let extendedTypes = - ["ArrayBuffer";"ArrayBufferView";"Int8Array";"Uint8Array";"Int16Array";"Uint16Array";"Int32Array";"Uint32Array";"Float32Array";"Float64Array"] - - let integerTypes = - ["byte";"octet";"short";"unsigned short";"long";"unsigned long";"long long";"unsigned long long"] - - /// Get typescript type using object dom type, object name, and it's associated interface name - let rec DomTypeToTsType (objDomType: string) = - match objDomType with - | "AbortMode" -> "String" - | "bool" | "boolean" | "Boolean" -> "boolean" - | "CanvasPixelArray" -> "number[]" - | "DOMHighResTimeStamp" -> "number" - | "DOMString" -> "string" - | "DOMTimeStamp" -> "number" - | "EndOfStreamError" -> "number" - | "EventListener" -> "EventListenerOrEventListenerObject" - | "double" | "float" -> "number" - | "object" -> "any" - | "ReadyState" -> "string" - | "sequence" -> "Array" - | "UnrestrictedDouble" | "unrestricted double" -> "number" - | "any" | "BufferSource" | "Date" | "Function" | "Promise" | "void" -> objDomType - | integerType when List.contains integerType integerTypes -> "number" - | extendedType when List.contains extendedType extendedTypes -> extendedType - | _ -> - if ignoreDOMTypes && Seq.contains objDomType ["Element"; "Window"; "Document"] then "any" - else - // Name of an interface / enum / dict. Just return itself - if allInterfacesMap.ContainsKey objDomType || - allCallbackFuncs.ContainsKey objDomType || - allDictionariesMap.ContainsKey objDomType || - allEnumsMap.ContainsKey objDomType then - objDomType - // Name of a type alias. Just return itself - elif typeDefSet.Contains objDomType then objDomType - // Union types - elif objDomType.Contains(" or ") then - let allTypes = objDomType.Trim('(', ')').Split([|" or "|], StringSplitOptions.None) - |> Array.map (fun t -> DomTypeToTsType (t.Trim('?', ' '))) - if Seq.contains "any" allTypes then "any" else String.concat " | " allTypes - else - // Check if is array type, which looks like "sequence" - let unescaped = System.Web.HttpUtility.HtmlDecode(objDomType) - let genericMatch = Regex.Match(unescaped, @"^(\w+)<([\w, <>]+)>$") - if genericMatch.Success then - let tName = DomTypeToTsType (genericMatch.Groups.[1].Value) - let paramName = DomTypeToTsType (genericMatch.Groups.[2].Value) - match tName with - | _ -> - if tName = "Array" then paramName + "[]" - else tName + "<" + paramName + ">" - elif objDomType.EndsWith("[]") then - let elementType = objDomType.Replace("[]", "").Trim() |> DomTypeToTsType - elementType + "[]" - else "any" - - - let makeNullable (originalType: string) = - match originalType with - | "any" -> "any" - | "void" -> "void" - | t when t.Contains "| null" -> t - | functionType when functionType.Contains "=>" -> "(" + functionType + ") | null" - | _ -> originalType + " | null" - - let DomTypeToNullableTsType (objDomType: string) (nullable: bool) = - let resolvedType = DomTypeToTsType objDomType - if nullable then makeNullable resolvedType else resolvedType - - let EmitConstants (i: Browser.Interface) = - let emitConstantFromJson (c: InputJsonType.Root) = Pt.Printl "readonly %s: %s;" c.Name.Value c.Type.Value - - let emitConstant (c: Browser.Constant) = - if Option.isNone (getRemovedItemByName c.Name ItemKind.Constant i.Name) then - match getOverriddenItemByName c.Name ItemKind.Constant i.Name with - | Some c' -> emitConstantFromJson c' - | None -> Pt.Printl "readonly %s: %s;" c.Name (DomTypeToTsType c.Type) - - let addedConstants = getAddedItems ItemKind.Constant Flavor.All - Array.iter emitConstantFromJson addedConstants - - if i.Constants.IsSome then - Array.iter emitConstant i.Constants.Value.Constants - - let matchSingleParamMethodSignature (m: Browser.Method) expectedMName expectedMType expectedParamType = - OptionCheckValue expectedMName m.Name && - (DomTypeToNullableTsType m.Type m.Nullable.IsSome) = expectedMType && - m.Params.Length = 1 && - (DomTypeToTsType m.Params.[0].Type) = expectedParamType - let processInterfaceType iName = - match getOverriddenItems ItemKind.Interface Flavor.All |> Array.tryFind (matchInterface iName) with - | Some it -> iName + "<" + (it.TypeParameters |> String.concat ", ") + ">" - | _ -> iName - - /// Emit overloads for the createElement method - let EmitCreateElementOverloads (m: Browser.Method) = - if matchSingleParamMethodSignature m "createElement" "Element" "string" then - Pt.Printl "createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];" - Pt.Printl "createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;" - - /// Emit overloads for the getElementsByTagName method - let EmitGetElementsByTagNameOverloads (m: Browser.Method) = - if matchSingleParamMethodSignature m "getElementsByTagName" "NodeList" "string" then - Pt.Printl "getElementsByTagName(%s: K): NodeListOf;" m.Params.[0].Name - Pt.Printl "getElementsByTagName(%s: K): NodeListOf;" m.Params.[0].Name - Pt.Printl "getElementsByTagName(%s: string): NodeListOf;" m.Params.[0].Name - - /// Emit overloads for the querySelector method - let EmitQuerySelectorOverloads (m: Browser.Method) = - if matchSingleParamMethodSignature m "querySelector" "Element" "string" then - Pt.Printl "querySelector(selectors: K): HTMLElementTagNameMap[K] | null;" - Pt.Printl "querySelector(selectors: K): SVGElementTagNameMap[K] | null;" - Pt.Printl "querySelector(selectors: string): E | null;" - - /// Emit overloads for the querySelectorAll method - let EmitQuerySelectorAllOverloads (m: Browser.Method) = - if matchSingleParamMethodSignature m "querySelectorAll" "NodeList" "string" then - Pt.Printl "querySelectorAll(selectors: K): NodeListOf;" - Pt.Printl "querySelectorAll(selectors: K): NodeListOf;" - Pt.Printl "querySelectorAll(selectors: string): NodeListOf;" - - let EmitHTMLElementTagNameMap () = - Pt.Printl "interface HTMLElementTagNameMap {" - Pt.IncreaseIndent() - for e in tagNameToEleName do - if iNameToIDependList.ContainsKey e.Value && not (Seq.contains "SVGElement" iNameToIDependList.[e.Value]) then - Pt.Printl "\"%s\": %s;" (e.Key.ToLower()) e.Value - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - let EmitSVGElementTagNameMap () = - Pt.Printl "interface SVGElementTagNameMap {" - Pt.IncreaseIndent() - for e in tagNameToEleName do - if iNameToIDependList.ContainsKey e.Value && Seq.contains "SVGElement" iNameToIDependList.[e.Value] then - Pt.Printl "\"%s\": %s;" (e.Key.ToLower()) e.Value - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - let EmitElementTagNameMap () = - Pt.Printl "/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */" - Pt.Printl "interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }" - Pt.Printl "" - - /// Emit overloads for the createEvent method - let EmitCreateEventOverloads (m: Browser.Method) = - if matchSingleParamMethodSignature m "createEvent" "Event" "string" then - // Emit plurals. For example, "Events", "MutationEvents" - let hasPlurals = ["Event"; "MutationEvent"; "MouseEvent"; "SVGZoomEvent"; "UIEvent"] - for x in distinctETypeList do - Pt.Printl "createEvent(eventInterface: \"%s\"): %s;" x x - if List.contains x hasPlurals then - Pt.Printl "createEvent(eventInterface: \"%ss\"): %s;" x x - Pt.Printl "createEvent(eventInterface: string): Event;" - - /// Generate the parameters string for function signatures - let ParamsToString (ps: Param list) = - let paramToString (p: Param) = - let isOptional = not p.Variadic && p.Optional - let pType = if isOptional then DomTypeToTsType p.Type else DomTypeToNullableTsType p.Type p.Nullable - (if p.Variadic then "..." else "") + - (AdjustParamName p.Name) + - (if isOptional then "?: " else ": ") + - pType + - (if p.Variadic then "[]" else "") - String.Join(", ", (List.map paramToString ps)) - - let EmitCallBackInterface flavor (i:Browser.Interface) = - if ShouldKeep flavor i then - if getRemovedItemsByInterfaceName ItemKind.Interface flavor i.Name |> Array.isEmpty then - if i.Name = "EventListener" then - Pt.Printl "interface %s {" i.Name - Pt.PrintWithAddedIndent "(evt: Event): void;" - Pt.Printl "}" - else - let m = i.Methods.Value.Methods.[0] - let overload = (GetOverloads (Function.Method m) false).[0] - let paramsString = ParamsToString overload.ParamCombinations - let returnType = DomTypeToTsType m.Type - Pt.Printl "type %s = ((%s) => %s) | { %s(%s): %s; };" i.Name paramsString returnType m.Name.Value paramsString returnType - Pt.Printl "" - - let EmitCallBackFunctions flavor = - let emitCallbackFunctionsFromJson (cb: InputJson.InputJsonType.Root) = - Pt.Printl "interface %s {" cb.Name.Value - cb.Signatures |> Array.iter (Pt.PrintWithAddedIndent "%s;") - Pt.Printl "}" - - let emitCallBackFunction (cb: Browser.CallbackFunction) = - if Option.isNone (getRemovedItemByName cb.Name ItemKind.Callback "")then - match getOverriddenItemByName cb.Name ItemKind.Callback "" with - | Some cb' -> emitCallbackFunctionsFromJson cb' - | _ -> - Pt.Printl "interface %s {" cb.Name - let overloads = GetOverloads (CallBackFun cb) false - for { ParamCombinations = pCombList } in overloads do - let paramsString = ParamsToString pCombList - Pt.PrintWithAddedIndent "(%s): %s;" paramsString (DomTypeToTsType cb.Type) - Pt.Printl "}" - - getAddedItems ItemKind.Callback flavor - |> Array.iter emitCallbackFunctionsFromJson - - GetCallbackFuncsByFlavor flavor |> Array.iter emitCallBackFunction - - let EmitEnums flavor = - let emitEnum (e: Browser.Enum) = - Pt.Printl "type %s = %s;" e.Name (String.Join(" | ", e.Values |> Array.map (fun value -> "\"" + value + "\""))) - GetEnumsByFlavor flavor |> Array.iter emitEnum - - let EmitEventHandlerThis flavor (prefix: string) (i: Browser.Interface) = - if prefix = "" then "this: " + i.Name + ", " - else match GetGlobalPollutor flavor with - | Some pollutor -> "this: " + pollutor.Name + ", " - | _ -> "" - - let EmitProperties flavor prefix (emitScope: EmitScope) (i: Browser.Interface) (conflictedMembers: Set) = - let emitPropertyFromJson (p: InputJsonType.Root) = - let readOnlyModifier = - match p.Readonly with - | Some(true) -> "readonly " - | _ -> "" - Pt.Printl "%s%s%s: %s;" prefix readOnlyModifier p.Name.Value p.Type.Value - - let emitCommentForProperty (printLine: Printf.StringFormat<_, unit> -> _) pName = - match CommentJson.GetCommentForProperty i.Name pName with - | Some comment -> printLine "%s" comment - | _ -> () - - // A covariant EventHandler is one that is defined in a parent interface as then redefined in current interface with a more specific argument types - // These patterns are unsafe, and flagged as error under --strictFunctionTypes. - // Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined - let isCovariantEventHandler (p: Browser.Property) = - p.Type = "EventHandler" && - iNameToEhParents.ContainsKey i.Name && - not iNameToEhParents.[i.Name].IsEmpty && - iNameToEhParents.[i.Name] - |> List.exists (fun i -> iNameToEhList.ContainsKey i.Name && not iNameToEhList.[i.Name].IsEmpty && iNameToEhList.[i.Name] |> List.exists (fun e-> e.Name = p.Name)) - - let emitProperty (p: Browser.Property) = - let printLine content = - if conflictedMembers.Contains p.Name then Pt.PrintlToStack content else Pt.Printl content - emitCommentForProperty printLine p.Name - - // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 - if p.Name = "name" && i.Name = "Window" && emitScope = EmitScope.All then - printLine "declare const name: never;" - elif Option.isNone (getRemovedItemByName p.Name ItemKind.Property i.Name) then - match getOverriddenItemByName p.Name ItemKind.Property i.Name with - | Some p' -> emitPropertyFromJson p' - | None -> - let pType = - match p.Type with - | "EventHandler" -> - // Sometimes event handlers with the same name may actually handle different - // events in different interfaces. For example, "onerror" handles "ErrorEvent" - // normally, but in "SVGSVGElement" it handles "SVGError" event instead. - let eType = - if p.EventHandler.IsSome then - getEventTypeInInterface p.EventHandler.Value i - else - "Event" - String.Format("({0}ev: {1}) => any", EmitEventHandlerThis flavor prefix i, eType) - | _ -> DomTypeToTsType p.Type - let pTypeAndNull = if p.Nullable.IsSome then makeNullable pType else pType - let readOnlyModifier = if p.ReadOnly.IsSome && prefix = "" then "readonly " else "" - printLine "%s%s%s: %s;" prefix readOnlyModifier p.Name pTypeAndNull - - // Note: the schema file shows the property doesn't have "static" attribute, - // therefore all properties are emited for the instance type. - if emitScope <> StaticOnly then - match i.Properties with - | Some ps -> - ps.Properties - |> Array.filter (ShouldKeep flavor) - |> Array.filter (isCovariantEventHandler >> not) - |> Array.iter emitProperty - | None -> () - - for addedItem in getAddedItems ItemKind.Property flavor do - if (matchInterface i.Name addedItem) && (prefix <> "declare var " || addedItem.ExposeGlobally.IsNone || addedItem.ExposeGlobally.Value) then - emitCommentForProperty Pt.Printl addedItem.Name.Value - emitPropertyFromJson addedItem - - let EmitMethods flavor prefix (emitScope: EmitScope) (i: Browser.Interface) (conflictedMembers: Set) = - // Note: two cases: - // 1. emit the members inside a interface -> no need to add prefix - // 2. emit the members outside to expose them (for "Window") -> need to add "declare" - let emitMethodFromJson (m: InputJsonType.Root) = - m.Signatures |> Array.iter (Pt.Printl "%s%s;" prefix) - - let emitCommentForMethod (printLine: Printf.StringFormat<_, unit> -> _) (mName: string option) = - if mName.IsSome then - match CommentJson.GetCommentForMethod i.Name mName.Value with - | Some comment -> printLine "%s" comment - | _ -> () - - // If prefix is not empty, then this is the global declare function addEventListener, we want to override this - // Otherwise, this is EventTarget.addEventListener, we want to keep that. - let mFilter (m:Browser.Method) = - matchScope emitScope m && - not ( - prefix <> "" && ( - (OptionCheckValue "addEventListener" m.Name) || - (OptionCheckValue "removeEventListener" m.Name) - ) - ) - - let emitMethod flavor prefix (i:Browser.Interface) (m:Browser.Method) = - let printLine content = - if m.Name.IsSome && conflictedMembers.Contains m.Name.Value then Pt.PrintlToStack content else Pt.Printl content - // print comment - emitCommentForMethod printLine m.Name - - // Find if there are overriding signatures in the external json file - // - overriddenType: meaning there is a better definition of this type in the json file - // - removedType: meaning the type is marked as removed in the json file - // if there is any conflicts between the two, the "removedType" has a higher priority over - // the "overridenType". - let removedType = Option.bind (fun name -> InputJson.getRemovedItemByName name InputJson.ItemKind.Method i.Name) m.Name - let overridenType = Option.bind (fun mName -> InputJson.getOverriddenItemByName mName InputJson.ItemKind.Method i.Name) m.Name - - if removedType.IsNone then - match overridenType with - | Some t -> - match flavor with - | Flavor.All | Flavor.Web -> t.WebOnlySignatures |> Array.iter (printLine "%s%s;" prefix) - | _ -> () - t.Signatures |> Array.iter (printLine "%s%s;" prefix) - | None -> - match i.Name, m.Name with - | _, Some "createElement" -> EmitCreateElementOverloads m - | _, Some "createEvent" -> EmitCreateEventOverloads m - | _, Some "getElementsByTagName" -> EmitGetElementsByTagNameOverloads m - | _, Some "querySelector" -> EmitQuerySelectorOverloads m - | _, Some "querySelectorAll" -> EmitQuerySelectorAllOverloads m - | _ -> - if m.Name.IsSome then - // If there are added overloads from the json files, print them first - match getAddedItemByName m.Name.Value ItemKind.SignatureOverload i.Name with - | Some ol -> ol.Signatures |> Array.iter (printLine "%s;") - | _ -> () - - let overloads = GetOverloads (Function.Method m) false - for { ParamCombinations = pCombList; ReturnTypes = rTypes; Nullable = isNullable } in overloads do - let paramsString = ParamsToString pCombList - let returnString = - let returnType = rTypes |> List.map DomTypeToTsType |> String.concat " | " - if isNullable then makeNullable returnType else returnType - printLine "%s%s(%s): %s;" prefix (if m.Name.IsSome then m.Name.Value else "") paramsString returnString - - if i.Methods.IsSome then - i.Methods.Value.Methods - |> Array.filter mFilter - |> Array.iter (emitMethod flavor prefix i) - - for addedItem in getAddedItems ItemKind.Method flavor do - if (matchInterface i.Name addedItem && matchScope emitScope addedItem) then - emitCommentForMethod Pt.Printl addedItem.Name - emitMethodFromJson addedItem - - // The window interface inherited some methods from "Object", - // which need to explicitly exposed - if i.Name = "Window" && prefix = "declare function " then - Pt.Printl "declare function toString(): string;" - - /// Emit the properties and methods of a given interface - let EmitMembers flavor (prefix: string) (emitScope: EmitScope) (i:Browser.Interface) = - let conflictedMembers = - match Map.tryFind i.Name extendConflictsBaseTypes with - | Some conflict -> conflict.MemberNames - | _ -> [] - |> Set.ofList - EmitProperties flavor prefix emitScope i conflictedMembers - let methodPrefix = if prefix.StartsWith("declare var") then "declare function " else "" - EmitMethods flavor methodPrefix emitScope i conflictedMembers - - /// Emit all members of every interfaces at the root level. - /// Called only once on the global polluter object - let rec EmitAllMembers flavor (i:Browser.Interface) = - let prefix = "declare var " - EmitMembers flavor prefix EmitScope.All i - - for relatedIName in iNameToIDependList.[i.Name] do - match GetInterfaceByName relatedIName with - | Some i' -> EmitAllMembers flavor i' - | _ -> () - - let EmitEventHandlers (prefix: string) (i:Browser.Interface) = - let getOptionsType (addOrRemove: string) = - if addOrRemove = "add" then "AddEventListenerOptions" else "EventListenerOptions" - - let fPrefix = - if prefix.StartsWith "declare var" then "declare function " else "" - - let emitTypedEventHandler (prefix: string) (addOrRemove: string) (iParent:Browser.Interface) = - Pt.Printl - "%s%sEventListener(type: K, listener: (this: %s, ev: %sEventMap[K]) => any, options?: boolean | %s): void;" - prefix addOrRemove iParent.Name i.Name iParent.Name (getOptionsType addOrRemove) - - let emitStringEventHandler (addOrRemove: string) = - Pt.Printl - "%s%sEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | %s): void;" - fPrefix addOrRemove (getOptionsType addOrRemove) - - let tryEmitTypedEventHandlerForInterface (addOrRemove: string) = - if iNameToEhList.ContainsKey i.Name && not iNameToEhList.[i.Name].IsEmpty then - emitTypedEventHandler fPrefix addOrRemove i - true - elif iNameToEhParents.ContainsKey i.Name && not iNameToEhParents.[i.Name].IsEmpty then - iNameToEhParents.[i.Name] - |> List.sortBy (fun i -> i.Name) - |> List.iter (emitTypedEventHandler fPrefix addOrRemove) - true - else - false - - let emitEventHandler (addOrRemove: string) = - if tryEmitTypedEventHandlerForInterface addOrRemove then - // only emit the string event handler if we just emited a typed handler - emitStringEventHandler addOrRemove - - - emitEventHandler "add" - emitEventHandler "remove" - - - let EmitConstructorSignature flavor (i:Browser.Interface) = - let emitConstructorSigFromJson (c: InputJsonType.Root) = - c.Signatures |> Array.iter (Pt.Printl "%s;") - - let removedCtor = getRemovedItems ItemKind.Constructor flavor |> Array.tryFind (matchInterface i.Name) - if Option.isNone removedCtor then - let overriddenCtor = getOverriddenItems ItemKind.Constructor flavor |> Array.tryFind (matchInterface i.Name) - match overriddenCtor with - | Some c' -> emitConstructorSigFromJson c' - | _ -> - //Emit constructor signature - match i.Constructor with - | Some ctor -> - for { ParamCombinations = pCombList } in GetOverloads (Ctor ctor) false do - let paramsString = ParamsToString pCombList - Pt.Printl "new(%s): %s;" paramsString i.Name - | _ -> Pt.Printl "new(): %s;" i.Name - - getAddedItems ItemKind.Constructor flavor - |> Array.filter (matchInterface i.Name) - |> Array.iter emitConstructorSigFromJson - - let EmitConstructor flavor (i:Browser.Interface) = - Pt.Printl "declare var %s: {" i.Name - Pt.IncreaseIndent() - - Pt.Printl "prototype: %s;" i.Name - EmitConstructorSignature flavor i - EmitConstants i - let prefix = "" - EmitMembers flavor prefix EmitScope.StaticOnly i - - Pt.DecreaseIndent() - Pt.Printl "};" - Pt.Printl "" - - /// Emit all the named constructors at root level - let EmitNamedConstructors () = - browser.Interfaces - |> Array.filter (fun i -> i.NamedConstructor.IsSome) - |> Array.iter - (fun i -> - let nc = i.NamedConstructor.Value - let ncParams = - [for p in nc.Params do - yield {Type = p.Type; Name = p.Name; Optional = p.Optional.IsSome; Variadic = p.Variadic.IsSome; Nullable = p.Nullable.IsSome}] - Pt.Printl "declare var %s: { new(%s): %s; };" nc.Name (ParamsToString ncParams) i.Name) - - let EmitInterfaceDeclaration (i:Browser.Interface) = - let processIName iName = - match Map.tryFind iName extendConflictsBaseTypes with - | Some _ -> iName + "Base" - | _ -> iName - - let processedIName = processIName i.Name - if processedIName <> i.Name then - Pt.PrintlToStack "interface %s extends %s {" (processInterfaceType i.Name) processedIName - - Pt.Printl "interface %s" (processInterfaceType processedIName) - let finalExtends = - let overridenExtendsFromJson = - InputJson.getOverriddenItemsByInterfaceName ItemKind.Extends Flavor.All i.Name - |> Array.map (fun e -> e.BaseInterface.Value) |> List.ofArray - - let combinedExtends = - if List.isEmpty overridenExtendsFromJson then - let extendsFromSpec = - match i.Extends::(List.ofArray i.Implements) with - | [""] | [] | ["Object"] -> [] - | specExtends -> specExtends - let extendsFromJson = - InputJson.getAddedItemsByInterfaceName ItemKind.Extends Flavor.All i.Name - |> Array.map (fun e -> e.BaseInterface.Value) |> List.ofArray - List.concat [extendsFromSpec; extendsFromJson] - else - overridenExtendsFromJson - - combinedExtends |> List.map processIName - - match finalExtends with - | [] -> () - | allExtends -> Pt.Print " extends %s" (String.Join(", ", allExtends)) - Pt.Print " {" - - /// To decide if a given method is an indexer and should be emited - let ShouldEmitIndexerSignature (i: Browser.Interface) (m: Browser.Method) = - if m.Getter.IsSome && m.Params.Length = 1 then - // TypeScript array indexer can only be number or string - // for string, it must return a more generic type then all - // the other properties, following the Dictionary pattern - match DomTypeToTsType m.Params.[0].Type with - | "number" -> true - | "string" -> - match DomTypeToTsType m.Type with - | "any" -> true - | _ -> - let mTypes = - match i.Methods with - | Some ms -> - ms.Methods |> Array.map (fun m' -> m'.Type) |> Array.filter (fun t -> t <> "void") |> Array.distinct - | _ -> [||] - let amTypes = - match i.AnonymousMethods with - | Some ms -> - ms.Methods |> Array.map (fun m' -> m'.Type) |> Array.filter (fun t -> t <> "void") |> Array.distinct - | _ -> [||] - let pTypes = - match i.Properties with - | Some ps -> - ps.Properties |> Array.map (fun m' -> m'.Type) |> Array.filter (fun t -> t <> "void") |> Array.distinct - | _ -> [||] - - match mTypes, amTypes, pTypes with - | [||], [|y|], [||] -> y = m.Type - | [|x|], [|y|], [||] -> x = y && y = m.Type - | [||], [|y|], [|z|] -> y = z && y = m.Type - | [|x|], [|y|], [|z|] -> x = y && y = z && y = m.Type - | _ -> false - - | _ -> false - else - false - - let EmitIndexers emitScope (i: Browser.Interface) = - let emitIndexerFromJson (id: InputJsonType.Root) = - id.Signatures |> Array.iter (Pt.Printl "%s;") - - let removedIndexer = getRemovedItems ItemKind.Indexer Flavor.All |> Array.tryFind (matchInterface i.Name) - if removedIndexer.IsNone then - let overriddenIndexer = getOverriddenItems ItemKind.Indexer Flavor.All |> Array.tryFind (matchInterface i.Name) - match overriddenIndexer with - | Some id -> emitIndexerFromJson id - | _ -> - // The indices could be within either Methods or Anonymous Methods - let ms = if i.Methods.IsSome then i.Methods.Value.Methods else [||] - let ams = if i.AnonymousMethods.IsSome then i.AnonymousMethods.Value.Methods else [||] - - Array.concat [|ms; ams|] - |> Array.filter (fun m -> ShouldEmitIndexerSignature i m && matchScope emitScope m) - |> Array.iter (fun m -> - let indexer = m.Params.[0] - Pt.Printl "[%s: %s]: %s;" - indexer.Name - (DomTypeToTsType indexer.Type) - (DomTypeToTsType m.Type)) - - getAddedItems ItemKind.Indexer Flavor.All - |> Array.filter (matchInterface i.Name) - |> Array.iter emitIndexerFromJson - - let EmitInterfaceEventMap (i:Browser.Interface) = - let emitInterfaceEventMapEntry (eHandler: EventHandler) = - let eventType = - getEventTypeInInterface eHandler.EventName i - Pt.Printl "\"%s\": %s;" eHandler.EventName eventType - - let ownEventHandles = if iNameToEhList.ContainsKey i.Name && not iNameToEhList.[i.Name].IsEmpty then iNameToEhList.[i.Name] else [] - if ownEventHandles.Length > 0 then - Pt.Printl "interface %sEventMap" i.Name - if iNameToEhParents.ContainsKey i.Name && not iNameToEhParents.[i.Name].IsEmpty then - let extends = iNameToEhParents.[i.Name] |> List.map (fun i -> i.Name + "EventMap") - Pt.Print " extends %s" (String.Join(", ", extends)) - Pt.Print " {" - Pt.IncreaseIndent() - ownEventHandles |> List.iter emitInterfaceEventMapEntry - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - let EmitInterface flavor (i:Browser.Interface) = - Pt.ClearStack() - EmitInterfaceEventMap i - - Pt.ResetIndent() - EmitInterfaceDeclaration i - Pt.IncreaseIndent() - - let prefix = "" - EmitMembers flavor prefix EmitScope.InstanceOnly i - EmitConstants i - EmitEventHandlers prefix i - EmitIndexers EmitScope.InstanceOnly i - - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - if not (Pt.StackIsEmpty()) then - Pt.PrintStackContent() - Pt.Printl "}" - Pt.Printl "" - - let EmitStaticInterface flavor (i:Browser.Interface) = - // Some types are static types with non-static members. For example, - // NodeFilter is a static method itself, however it has an "acceptNode" method - // that expects the user to implement. - let hasNonStaticMember = - let hasNonStaticMethod = - let hasOwnNonStaticMethod = - i.Methods.IsSome && - i.Methods.Value.Methods - |> Array.exists (fun m -> m.Static.IsNone && (m.Name.IsNone || (getRemovedItemByName m.Name.Value ItemKind.Method i.Name) |> Option.isNone)) - let hasAddedNonStaticMethod = - match InputJson.getAddedItemsByInterfaceName ItemKind.Method flavor i.Name with - | [||] -> false - | addedMs -> addedMs |> Array.exists (fun m -> m.Static.IsNone || not m.Static.Value) - hasOwnNonStaticMethod || hasAddedNonStaticMethod - let hasProperty = - let hasOwnNonStaticProperty = - i.Properties.IsSome && - i.Properties.Value.Properties - |> Array.exists (fun p -> getRemovedItemByName p.Name ItemKind.Method i.Name |> Option.isNone) - let hasAddedNonStaticMethod = - match InputJson.getAddedItemsByInterfaceName ItemKind.Property flavor i.Name with - | [||] -> false - | addedPs -> addedPs |> Array.exists (fun p -> p.Static.IsNone || not p.Static.Value) - hasOwnNonStaticProperty || hasAddedNonStaticMethod - hasNonStaticMethod || hasProperty - - let emitAddedConstructor () = - match InputJson.getAddedItemsByInterfaceName ItemKind.Constructor flavor i.Name with - | [||] -> () - | ctors -> - Pt.Printl "prototype: %s;" i.Name - ctors |> Array.iter (fun ctor -> ctor.Signatures |> Array.iter (Pt.Printl "%s;")) - - // For static types with non-static members, we put the non-static members into an - // interface, and put the static members into the object literal type of 'declare var' - // For static types with only static members, we put everything in the interface. - // Because in the two cases the interface contains different things, it might be easier to - // read to separate them into two functions. - let emitStaticInterfaceWithNonStaticMembers () = - Pt.ResetIndent() - EmitInterfaceDeclaration i - Pt.IncreaseIndent() - - let prefix = "" - EmitMembers flavor prefix EmitScope.InstanceOnly i - EmitEventHandlers prefix i - EmitIndexers EmitScope.InstanceOnly i - - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - Pt.Printl "declare var %s: {" i.Name - Pt.IncreaseIndent() - EmitConstants i - EmitMembers flavor prefix EmitScope.StaticOnly i - emitAddedConstructor () - Pt.DecreaseIndent() - Pt.Printl "};" - Pt.Printl "" - - let emitPureStaticInterface () = - Pt.ResetIndent() - EmitInterfaceDeclaration i - Pt.IncreaseIndent() - - let prefix = "" - EmitMembers flavor prefix EmitScope.StaticOnly i - EmitConstants i - EmitEventHandlers prefix i - EmitIndexers EmitScope.StaticOnly i - emitAddedConstructor () - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "declare var %s: %s;" i.Name i.Name - Pt.Printl "" - - if hasNonStaticMember then emitStaticInterfaceWithNonStaticMembers() else emitPureStaticInterface() - - let EmitNonCallbackInterfaces flavor = - for i in GetNonCallbackInterfacesByFlavor flavor do - // If the static attribute has a value, it means the type doesn't have a constructor - if i.Static.IsSome then - EmitStaticInterface flavor i - elif i.NoInterfaceObject.IsSome then - EmitInterface flavor i - else - EmitInterface flavor i - EmitConstructor flavor i - - let EmitDictionaries flavor = - - let emitDictionary (dict:Browser.Dictionary) = - match dict.Extends with - | "Object" -> Pt.Printl "interface %s {" (processInterfaceType dict.Name) - | _ -> Pt.Printl "interface %s extends %s {" (processInterfaceType dict.Name) dict.Extends - - let emitJsonProperty (p: InputJsonType.Root) = - let readOnlyModifier = - match p.Readonly with - | Some(true) -> "readonly " - | _ -> "" - Pt.Printl "%s%s: %s;" readOnlyModifier p.Name.Value p.Type.Value - - let removedPropNames = - getRemovedItems ItemKind.Property flavor - |> Array.choose (fun rp -> if matchInterface dict.Name rp then Some(rp.Name.Value) else None) - |> Set.ofArray - let addedProps = - getAddedItems ItemKind.Property flavor - |> Array.filter (matchInterface dict.Name) - - Pt.IncreaseIndent() - Array.iter emitJsonProperty addedProps - if dict.Members.IsSome then - dict.Members.Value.Members - |> Array.filter (fun m -> not (Set.contains m.Name removedPropNames)) - |> Array.iter (fun m -> - match (getOverriddenItemByName m.Name ItemKind.Property dict.Name) with - | Some om -> emitJsonProperty om - | None -> - let tsType = DomTypeToTsType m.Type - let tsTypeAndNull = if m.Nullable.IsSome then makeNullable tsType else tsType - let requiredModifier = if m.Required.IsSome then "" else "?" - Pt.Printl "%s%s: %s;" m.Name requiredModifier tsTypeAndNull) - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - browser.Dictionaries - |> Array.filter (fun dict -> flavor <> Worker || knownWorkerInterfaces.Contains dict.Name) - |> Array.iter emitDictionary - - if flavor = Worker then - worker.Dictionaries |> Array.iter emitDictionary - - let EmitAddedInterface (ai: InputJsonType.Root) = - match ai.Extends with - | Some e -> Pt.Printl "interface %s extends %s {" ai.Name.Value e - | None -> Pt.Printl "interface %s {" ai.Name.Value - - let emitProperty (p: InputJsonType.Property) = - let readOnlyModifier = - match p.Readonly with - | Some(true) -> "readonly " - | _ -> "" - match CommentJson.GetCommentForProperty ai.Name.Value p.Name with - | Some comment -> Pt.PrintWithAddedIndent "%s" comment - | _ -> () - Pt.PrintWithAddedIndent "%s%s: %s;" readOnlyModifier p.Name p.Type - - let emitMethod (m: InputJsonType.Method) = - match CommentJson.GetCommentForMethod ai.Name.Value m.Name with - | Some comment -> Pt.PrintWithAddedIndent "%s" comment - | _ -> () - m.Signatures |> Array.iter (Pt.PrintWithAddedIndent "%s;") - - - ai.Properties |> Array.iter emitProperty - ai.Methods |> Array.iter emitMethod - ai.Indexer |> Array.collect (fun i -> i.Signatures) |> Array.iter (Pt.PrintWithAddedIndent "%s;") - Pt.Printl "}" - Pt.Printl "" - - if ai.ConstructorSignatures.Length > 0 then - Pt.Printl "declare var %s: {" ai.Name.Value - Pt.PrintWithAddedIndent "prototype: %s;" ai.Name.Value - match CommentJson.GetCommentForConstructor ai.Name.Value with - | Some comment -> Pt.PrintWithAddedIndent "%s" comment - | _ -> () - ai.ConstructorSignatures |> Array.iter (Pt.PrintWithAddedIndent "%s;") - Pt.Printl "};" - Pt.Printl "" - - let EmitTypeDefs flavor = - let emitTypeDef (typeDef: Browser.Typedef) = - Pt.Printl "type %s = %s;" typeDef.NewType (DomTypeToTsType typeDef.Type) - let emitTypeDefFromJson (typeDef: InputJsonType.Root) = - Pt.Printl "type %s = %s;" typeDef.Name.Value typeDef.Type.Value - - match flavor with - | Flavor.Worker -> - browser.Typedefs - |> Array.filter (fun typedef -> knownWorkerInterfaces.Contains typedef.NewType) - |> Array.iter emitTypeDef - | _ -> - browser.Typedefs - |> Array.filter (fun typedef -> getRemovedItemByName typedef.NewType ItemKind.TypeDef "" |> Option.isNone) - |> Array.iter emitTypeDef - - InputJson.getAddedItems ItemKind.TypeDef flavor - |> Array.iter emitTypeDefFromJson - - let EmitTheWholeThing flavor (target:TextWriter) = - Pt.Reset() - Pt.Printl "/////////////////////////////" - match flavor with - | Worker -> Pt.Printl "/// Worker APIs" - | _ -> Pt.Printl "/// DOM APIs" - Pt.Printl "/////////////////////////////" - Pt.Printl "" - - EmitDictionaries flavor - browser.CallbackInterfaces.Interfaces |> Array.iter (EmitCallBackInterface flavor) - EmitNonCallbackInterfaces flavor - - // Add missed interface definition from the spec - InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface - - Pt.Printl "declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;" - Pt.Printl "" - - EmitCallBackFunctions flavor - - if flavor <> Worker then - EmitHTMLElementTagNameMap() - EmitSVGElementTagNameMap() - EmitElementTagNameMap() - EmitNamedConstructors() - - match GetGlobalPollutor flavor with - | Some gp -> - EmitAllMembers flavor gp - EmitEventHandlers "declare var " gp - | _ -> () - - EmitTypeDefs flavor - EmitEnums flavor - - fprintf target "%s" (Pt.GetResult()) - target.Flush() - target.Close() - - let EmitIterator (i: Browser.Interface) = - let isIntegerKeyParam (p: Browser.Param) = - List.contains p.Type integerTypes - - // check anonymous unsigned long getter and length property - let isIterableGetter (m: Browser.Method) = - m.Getter = Some 1 && m.Params.Length = 1 && isIntegerKeyParam m.Params.[0] - - let findIterableGetter() = - let anonymousGetter = - if (i.AnonymousMethods.IsSome) then Array.tryFind isIterableGetter i.AnonymousMethods.Value.Methods - else None - - if (anonymousGetter.IsSome) then anonymousGetter - else if (i.Methods.IsSome) then Array.tryFind isIterableGetter i.Methods.Value.Methods - else None - - let findLengthProperty (p: Browser.Property) = - p.Name = "length" && List.contains p.Type integerTypes - - if i.Name <> "Window" && i.Properties.IsSome then - let iterableGetter = findIterableGetter() - let lengthProperty = Array.tryFind findLengthProperty i.Properties.Value.Properties - if iterableGetter.IsSome && lengthProperty.IsSome then - Pt.Printl "interface %s {" i.Name - Pt.IncreaseIndent() - Pt.Printl "[Symbol.iterator](): IterableIterator<%s>" (DomTypeToTsType iterableGetter.Value.Type) - Pt.DecreaseIndent() - Pt.Printl "}" - Pt.Printl "" - - let EmitES6Thing (target: TextWriter) = - Pt.Reset() - Pt.Printl "/////////////////////////////" - Pt.Printl "/// DOM ES6 APIs" - Pt.Printl "/////////////////////////////" - Pt.Printl "" - - browser.Interfaces |> Array.iter EmitIterator - - fprintf target "%s" (Pt.GetResult()) - target.Flush() - target.Close() - - let EmitDomWeb () = - EmitTheWholeThing Flavor.Web GlobalVars.tsWebOutput - EmitES6Thing GlobalVars.tsWebES6Output - - let EmitDomWorker () = - ignoreDOMTypes <- true - EmitTheWholeThing Flavor.Worker GlobalVars.tsWorkerOutput diff --git a/build.fsx b/build.fsx deleted file mode 100644 index 7e46ca1c3..000000000 --- a/build.fsx +++ /dev/null @@ -1,31 +0,0 @@ -#r "packages/FAKE/tools/FakeLib.dll" -#load "TS.fsx" - -open Fake -open TS.Emit -open System -open System.IO - -Target "Run" (fun _ -> - TS.Emit.EmitDomWeb() - TS.Emit.EmitDomWorker() -) - -let testFile file = - let baseline = File.ReadAllText("./baselines/" + file).Replace("\r\n", "\n").Trim('\n') - let newFileWithLFEndings = File.ReadAllText("./generated/" + file).Replace("\r\n", "\n").Trim('\n') - if String.Equals(baseline, newFileWithLFEndings) then - String.Empty - else - sprintf "\nTest failed: %s is different from baseline file." file - -Target "Test" (fun _ -> - Directory.GetFiles("./baselines") - |> Array.map (Path.GetFileName >> testFile) - |> String.concat "" - |> (fun msg -> if String.IsNullOrEmpty(msg) then tracefn "All tests passed." else failwith msg) -) - -"Run" ==> "Test" - -RunTargetOrDefault "Test" diff --git a/build.sh b/build.sh deleted file mode 100755 index 6eec77ee0..000000000 --- a/build.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -set -eu - -x=.paket - -if [ ! -d $x ]; then - mkdir $x - curl https://github.com/fsprojects/Paket/releases/download/2.12.5/paket.bootstrapper.exe -L --insecure -o $x/paket.bootstrapper.exe -fi - -mono $x/paket.bootstrapper.exe -mono $x/paket.exe restore -mono packages/FAKE/tools/FAKE.exe build.fsx diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json deleted file mode 100644 index 740a47a5a..000000000 --- a/inputfiles/addedTypes.json +++ /dev/null @@ -1,3038 +0,0 @@ -[ - { - "kind": "interface", - "name": "BroadcastChannel", - "extends": "EventTarget", - "constructorSignatures": [ - "new(name: string): BroadcastChannel" - ], - "properties": [ - { - "readonly": true, - "name": "name", - "type": "string" - }, - { - "name": "onmessage", - "type": "(ev: MessageEvent) => any" - }, - { - "name": "onmessageerror", - "type": "(ev: MessageEvent) => any" - } - ], - "methods": [ - { - "name": "close", - "signatures": [ - "close(): void" - ] - }, - { - "name": "postMessage", - "signatures": [ - "postMessage(message: any): void" - ] - }, - { - "name": "addEventListener", - "signatures": [ - "addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void", - "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" - ] - }, - { - "name": "removeEventListener", - "signatures": [ - "removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void", - "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "BroadcastChannelEventMap", - "properties": [ - { - "name": "message", - "type": "MessageEvent" - }, - { - "name": "messageerror", - "type": "MessageEvent" - } - ] - }, - { - "kind": "interface", - "name": "ErrorEventInit", - "properties": [ - { - "name": "message?", - "type": "string" - }, - { - "name": "filename?", - "type": "string" - }, - { - "name": "lineno?", - "type": "number" - }, - { - "name": "conlno?", - "type": "number" - }, - { - "name": "error?", - "type": "any" - } - ] - }, - { - "kind": "property", - "interface": "CSSStyleDeclaration", - "name": "resize", - "type": "string | null" - }, - { - "kind": "property", - "interface": "CSSStyleDeclaration", - "name": "userSelect", - "type": "string | null" - }, - { - "kind": "interface", - "name": "StorageEventInit", - "flavor": "Web", - "extends": "EventInit", - "properties": [ - { - "name": "key?", - "type": "string" - }, - { - "name": "oldValue?", - "type": "string" - }, - { - "name": "newValue?", - "type": "string" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "storageArea?", - "type": "Storage" - } - ] - }, - { - "kind": "interface", - "name": "Canvas2DContextAttributes", - "flavor": "Web", - "properties": [ - { - "name": "alpha?", - "type": "boolean" - }, - { - "name": "willReadFrequently?", - "type": "boolean" - }, - { - "name": "storage?", - "type": "boolean" - }, - { - "name": "[attribute: string]", - "type": "boolean | string | undefined" - } - ] - }, - { - "kind": "interface", - "flavor": "All", - "name": "ImageBitmapOptions", - "properties": [ - { - "name": "imageOrientation?", - "type": "\"none\" | \"flipY\"" - }, - { - "name": "premultiplyAlpha?", - "type": "\"none\" | \"premultiply\" | \"default\"" - }, - { - "name": "colorSpaceConversion?", - "type": "\"none\" | \"default\"" - }, - { - "name": "resizeWidth?", - "type": "number" - }, - { - "name": "resizeHeight?", - "type": "number" - }, - { - "name": "resizeQuality?", - "type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"" - } - ] - }, - { - "kind": "interface", - "name": "ImageBitmap", - "flavor": "All", - "properties": [ - { - "name": "width", - "readonly": true, - "type": "number" - }, - { - "name": "height", - "readonly": true, - "type": "number" - } - ], - "methods": [ - { - "name": "close", - "signatures": [ - "close(): void" - ] - } - ] - }, - { - "kind": "method", - "interface": "Window", - "name": "createImageBitmap", - "signatures": [ - "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", - "createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" - ] - }, - { - "kind": "method", - "interface": "WorkerGlobalScope", - "name": "createImageBitmap", - "signatures": [ - "createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise", - "createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise" - ] - }, - { - "kind": "property", - "interface": "IDBObjectStoreParameters", - "name": "autoIncrement?", - "type": "boolean" - }, - { - "kind": "property", - "interface": "IDBIndexParameters", - "name": "multiEntry?", - "type": "boolean" - }, - { - "kind": "property", - "interface": "IDBIndex", - "name": "multiEntry", - "type": "boolean" - }, - { - "kind": "interface", - "name": "URLSearchParams", - "constructorSignatures": [ - "new (init?: string | URLSearchParams): URLSearchParams" - ], - "methods": [ - { - "name": "append", - "signatures": [ - "append(name: string, value: string): void" - ] - }, - { - "name": "delete", - "signatures": [ - "delete(name: string): void" - ] - }, - { - "name": "get", - "signatures": [ - "get(name: string): string | null" - ] - }, - { - "name": "getAll", - "signatures": [ - "getAll(name: string): string[]" - ] - }, - { - "name": "has", - "signatures": [ - "has(name: string): boolean" - ] - }, - { - "name": "set", - "signatures": [ - "set(name: string, value: string): void" - ] - } - ] - }, - { - "kind": "property", - "interface": "URL", - "name": "searchParams", - "readonly": true, - "type": "URLSearchParams" - }, - { - "kind": "property", - "interface": "Window", - "exposeGlobally": false, - "name": "URL", - "type": "typeof URL" - }, - { - "kind": "property", - "interface": "Window", - "exposeGlobally": false, - "name": "URLSearchParams", - "type": "typeof URLSearchParams" - }, - { - "kind": "property", - "interface": "Window", - "exposeGlobally": false, - "name": "Blob", - "type": "typeof Blob" - }, - { - "kind": "interface", - "name": "NodeListOf", - "flavor": "Web", - "extends": "NodeList", - "properties": [ - { - "name": "length", - "type": "number" - } - ], - "methods": [ - { - "name": "item", - "signatures": [ - "item(index: number): TNode" - ] - } - ], - "indexer": [ - { - "signatures": [ - "[index: number]: TNode" - ] - } - ] - }, - { - "kind": "interface", - "name": "HTMLCollectionOf", - "flavor": "Web", - "extends": "HTMLCollection", - "methods": [ - { - "name": "item", - "signatures": [ - "item(index: number): T" - ] - }, - { - "name": "namedItem", - "signatures": [ - "namedItem(name: string): T" - ] - } - ], - "indexer": [ - { - "signatures": [ - "[index: number]: T" - ] - } - ] - }, - { - "kind": "interface", - "name": "BlobPropertyBag", - "properties": [ - { - "name": "type?", - "type": "string" - }, - { - "name": "endings?", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "FilePropertyBag", - "extends": "BlobPropertyBag", - "properties": [ - { - "name": "lastModified?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "EventListenerObject", - "methods": [ - { - "name": "handleEvent", - "signatures": [ - "handleEvent(evt: Event): void" - ] - } - ] - }, - { - "kind": "property", - "interface": "MessageEventInit", - "name": "lastEventId?", - "type": "string" - }, - { - "kind": "property", - "interface": "MessageEventInit", - "name": "channel?", - "type": "string" - }, - { - "kind": "interface", - "name": "ProgressEventInit", - "extends": "EventInit", - "properties": [ - { - "name": "lengthComputable?", - "type": "boolean" - }, - { - "name": "loaded?", - "type": "number" - }, - { - "name": "total?", - "type": "number" - } - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "getElementsByClassName(classNames: string): NodeListOf" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "matches(selector: string): boolean" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "closest(selector: K): HTMLElementTagNameMap[K] | null", - "closest(selector: K): SVGElementTagNameMap[K] | null" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "closest(selector: string): Element | null" - ] - }, - { - "kind": "typedef", - "flavor": "Web", - "name": "ScrollBehavior", - "type": "\"auto\" | \"instant\" | \"smooth\"" - }, - { - "kind": "interface", - "flavor": "Web", - "name": "ScrollOptions", - "properties": [ - { - "name": "behavior?", - "type": "ScrollBehavior" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "ScrollToOptions", - "extends": "ScrollOptions", - "properties": [ - { - "name": "left?", - "type": "number" - }, - { - "name": "top?", - "type": "number" - } - ] - }, - { - "kind": "method", - "interface": "Window", - "signatures": [ - "scroll(options?: ScrollToOptions): void" - ] - }, - { - "kind": "method", - "interface": "Window", - "signatures": [ - "scrollTo(options?: ScrollToOptions): void" - ] - }, - { - "kind": "method", - "interface": "Window", - "signatures": [ - "scrollBy(options?: ScrollToOptions): void" - ] - }, - { - "kind": "typedef", - "flavor": "Web", - "name": "ScrollLogicalPosition", - "type": "\"start\" | \"center\" | \"end\" | \"nearest\"" - }, - { - "kind": "interface", - "flavor": "Web", - "name": "ScrollIntoViewOptions", - "extends": "ScrollOptions", - "properties": [ - { - "name": "block?", - "type": "ScrollLogicalPosition" - }, - { - "name": "inline?", - "type": "ScrollLogicalPosition" - } - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "scroll(options?: ScrollToOptions): void", - "scroll(x: number, y: number): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "scrollTo(options?: ScrollToOptions): void", - "scrollTo(x: number, y: number): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "signatures": [ - "scrollBy(options?: ScrollToOptions): void", - "scrollBy(x: number, y: number): void" - ] - }, - { - "kind": "signatureoverload", - "name": "createElementNS", - "interface": "Document", - "signatures": [ - "createElementNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", qualifiedName: string): HTMLElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"a\"): SVGAElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"circle\"): SVGCircleElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"clipPath\"): SVGClipPathElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"componentTransferFunction\"): SVGComponentTransferFunctionElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"defs\"): SVGDefsElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"desc\"): SVGDescElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"ellipse\"): SVGEllipseElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feBlend\"): SVGFEBlendElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feColorMatrix\"): SVGFEColorMatrixElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feComponentTransfer\"): SVGFEComponentTransferElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feComposite\"): SVGFECompositeElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feConvolveMatrix\"): SVGFEConvolveMatrixElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDiffuseLighting\"): SVGFEDiffuseLightingElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDisplacementMap\"): SVGFEDisplacementMapElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feDistantLight\"): SVGFEDistantLightElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFlood\"): SVGFEFloodElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncA\"): SVGFEFuncAElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncB\"): SVGFEFuncBElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncG\"): SVGFEFuncGElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feFuncR\"): SVGFEFuncRElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feGaussianBlur\"): SVGFEGaussianBlurElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feImage\"): SVGFEImageElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMerge\"): SVGFEMergeElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMergeNode\"): SVGFEMergeNodeElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feMorphology\"): SVGFEMorphologyElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feOffset\"): SVGFEOffsetElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"fePointLight\"): SVGFEPointLightElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feSpecularLighting\"): SVGFESpecularLightingElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feSpotLight\"): SVGFESpotLightElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feTile\"): SVGFETileElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"feTurbulence\"): SVGFETurbulenceElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"filter\"): SVGFilterElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"foreignObject\"): SVGForeignObjectElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"g\"): SVGGElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"image\"): SVGImageElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"gradient\"): SVGGradientElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"line\"): SVGLineElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"linearGradient\"): SVGLinearGradientElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"marker\"): SVGMarkerElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"mask\"): SVGMaskElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"path\"): SVGPathElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"metadata\"): SVGMetadataElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"pattern\"): SVGPatternElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"polygon\"): SVGPolygonElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"polyline\"): SVGPolylineElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"radialGradient\"): SVGRadialGradientElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"rect\"): SVGRectElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"svg\"): SVGSVGElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"script\"): SVGScriptElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"stop\"): SVGStopElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"style\"): SVGStyleElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"switch\"): SVGSwitchElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"symbol\"): SVGSymbolElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"tspan\"): SVGTSpanElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textContent\"): SVGTextContentElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"text\"): SVGTextElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textPath\"): SVGTextPathElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"textPositioning\"): SVGTextPositioningElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"title\"): SVGTitleElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"use\"): SVGUseElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"view\"): SVGViewElement", - "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: string): SVGElement" - ] - }, - { - "kind": "method", - "interface": "Navigator", - "signatures": [ - "vibrate(pattern: number | number[]): boolean" - ] - }, - { - "kind": "property", - "interface": "Navigator", - "readonly": true, - "name": "doNotTrack", - "type": "string | null" - }, - { - "kind": "property", - "interface": "Navigator", - "name": "hardwareConcurrency", - "readonly": true, - "type": "number" - }, - { - "kind": "property", - "interface": "Navigator", - "name": "languages", - "readonly": true, - "type": "string[]" - }, - { - "kind": "property", - "interface": "WorkerNavigator", - "name": "hardwareConcurrency", - "readonly": true, - "type": "number" - }, - { - "kind": "property", - "interface": "HTMLLinkElement", - "name": "import?", - "type": "Document" - }, - { - "kind": "method", - "interface": "HTMLCanvasElement", - "name": "toBlob", - "signatures": [ - "toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void" - ] - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "key?", - "type": "string" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "oldValue?", - "type": "string" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "newValue?", - "type": "string" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "storageArea?", - "type": "Storage" - }, - { - "kind": "property", - "interface": "IDBObjectStore", - "name": "autoIncrement", - "type": "boolean" - }, - { - "kind": "interface", - "flavor": "Web", - "name": "ClipboardEventInit", - "extends": "EventInit", - "properties": [ - { - "name": "data?", - "type": "string" - }, - { - "name": "dataType?", - "type": "string" - } - ] - }, - { - "kind": "typedef", - "name": "IDBValidKey", - "type": "number | string | Date | IDBArrayKey" - }, - { - "kind": "interface", - "name": "IDBArrayKey", - "extends": "Array" - }, - { - "kind": "property", - "interface": "HTMLInputElement", - "name": "minLength", - "type": "number" - }, - { - "kind": "property", - "interface": "HTMLIFrameElement", - "name": "srcdoc", - "type": "string" - }, - { - "kind": "property", - "interface": "HTMLTextAreaElement", - "name": "minLength", - "type": "number" - }, - { - "kind": "property", - "interface": "IDBDatabase", - "name": "onversionchange", - "type": "(ev: IDBVersionChangeEvent) => any" - }, - { - "kind": "method", - "interface": "IDBDatabase", - "name": "addEventListener", - "signatures": [ - "addEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | AddEventListenerOptions): void" - ] - }, - { - "kind": "method", - "interface": "IDBDatabase", - "name": "removeEventListener", - "signatures": [ - "removeEventListener(type: \"versionchange\", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | EventListenerOptions): void" - ] - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "mozImageSmoothingEnabled", - "type": "boolean" - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "webkitImageSmoothingEnabled", - "type": "boolean" - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "oImageSmoothingEnabled", - "type": "boolean" - }, - { - "kind": "property", - "interface": "WebGLContextAttributes", - "name": "failIfMajorPerformanceCaveat?", - "type": "boolean" - }, - { - "kind": "typedef", - "name": "BufferSource", - "type": "ArrayBuffer | ArrayBufferView" - }, - { - "kind": "interface", - "name": "RsaKeyGenParams", - "extends": "Algorithm", - "properties": [ - { - "name": "modulusLength", - "type": "number" - }, - { - "name": "publicExponent", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "RsaHashedKeyGenParams", - "extends": "RsaKeyGenParams", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - } - ] - }, - { - "kind": "interface", - "name": "RsaKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": [ - { - "name": "modulusLength", - "type": "number" - }, - { - "name": "publicExponent", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "RsaHashedKeyAlgorithm", - "extends": "RsaKeyAlgorithm", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - } - ] - }, - { - "kind": "interface", - "name": "RsaHashedImportParams", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - } - ] - }, - { - "kind": "interface", - "name": "RsaPssParams", - "properties": [ - { - "name": "saltLength", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "RsaOaepParams", - "extends": "Algorithm", - "properties": [ - { - "name": "label?", - "type": "BufferSource" - } - ] - }, - { - "kind": "interface", - "name": "EcdsaParams", - "extends": "Algorithm", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - } - ] - }, - { - "kind": "interface", - "name": "EcKeyGenParams", - "extends": "Algorithm", - "properties": [ - { - "name": "namedCurve", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "EcKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": [ - { - "name": "typedCurve", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "EcKeyImportParams", - "extends": "Algorithm", - "properties": [ - { - "name": "namedCurve", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "EcdhKeyDeriveParams", - "extends": "Algorithm", - "properties": [ - { - "name": "public", - "type": "CryptoKey" - } - ] - }, - { - "kind": "interface", - "name": "AesCtrParams", - "extends": "Algorithm", - "properties": [ - { - "name": "counter", - "type": "BufferSource" - }, - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": [ - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesKeyGenParams", - "extends": "Algorithm", - "properties": [ - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesDerivedKeyParams", - "extends": "Algorithm", - "properties": [ - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesCbcParams", - "extends": "Algorithm", - "properties": [ - { - "name": "iv", - "type": "BufferSource" - } - ] - }, - { - "kind": "interface", - "name": "AesCmacParams", - "extends": "Algorithm", - "properties": [ - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesGcmParams", - "extends": "Algorithm", - "properties": [ - { - "name": "iv", - "type": "BufferSource" - }, - { - "name": "additionalData?", - "type": "BufferSource" - }, - { - "name": "tagLength?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "AesCfbParams", - "extends": "Algorithm", - "properties": [ - { - "name": "iv", - "type": "BufferSource" - } - ] - }, - { - "kind": "interface", - "name": "HmacImportParams", - "extends": "Algorithm", - "properties": [ - { - "name": "hash?", - "type": "AlgorithmIdentifier" - }, - { - "name": "length?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "HmacKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - }, - { - "name": "length", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "HmacKeyGenParams", - "extends": "Algorithm", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - }, - { - "name": "length?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "DhKeyGenParams", - "extends": "Algorithm", - "properties": [ - { - "name": "prime", - "type": "Uint8Array" - }, - { - "name": "generator", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "DhKeyAlgorithm", - "extends": "KeyAlgorithm", - "properties": [ - { - "name": "prime", - "type": "Uint8Array" - }, - { - "name": "generator", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "DhKeyDeriveParams", - "extends": "Algorithm", - "properties": [ - { - "name": "public", - "type": "CryptoKey" - } - ] - }, - { - "kind": "interface", - "name": "DhImportKeyParams", - "extends": "Algorithm", - "properties": [ - { - "name": "prime", - "type": "Uint8Array" - }, - { - "name": "generator", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "ConcatParams", - "extends": "Algorithm", - "properties": [ - { - "name": "hash?", - "type": "AlgorithmIdentifier" - }, - { - "name": "algorithmId", - "type": "Uint8Array" - }, - { - "name": "partyUInfo", - "type": "Uint8Array" - }, - { - "name": "partyVInfo", - "type": "Uint8Array" - }, - { - "name": "publicInfo?", - "type": "Uint8Array" - }, - { - "name": "privateInfo?", - "type": "Uint8Array" - } - ] - }, - { - "kind": "interface", - "name": "HkdfCtrParams", - "extends": "Algorithm", - "properties": [ - { - "name": "hash", - "type": "AlgorithmIdentifier" - }, - { - "name": "label", - "type": "BufferSource" - }, - { - "name": "context", - "type": "BufferSource" - } - ] - }, - { - "kind": "interface", - "name": "Pbkdf2Params", - "extends": "Algorithm", - "properties": [ - { - "name": "salt", - "type": "BufferSource" - }, - { - "name": "iterations", - "type": "number" - }, - { - "name": "hash", - "type": "AlgorithmIdentifier" - } - ] - }, - { - "kind": "interface", - "name": "RsaOtherPrimesInfo", - "properties": [ - { - "name": "r", - "type": "string" - }, - { - "name": "d", - "type": "string" - }, - { - "name": "t", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "JsonWebKey", - "properties": [ - { - "name": "kty", - "type": "string" - }, - { - "name": "use?", - "type": "string" - }, - { - "name": "key_ops?", - "type": "string[]" - }, - { - "name": "alg?", - "type": "string" - }, - { - "name": "kid?", - "type": "string" - }, - { - "name": "x5u?", - "type": "string" - }, - { - "name": "x5c?", - "type": "string" - }, - { - "name": "x5t?", - "type": "string" - }, - { - "name": "ext?", - "type": "boolean" - }, - { - "name": "crv?", - "type": "string" - }, - { - "name": "x?", - "type": "string" - }, - { - "name": "y?", - "type": "string" - }, - { - "name": "d?", - "type": "string" - }, - { - "name": "n?", - "type": "string" - }, - { - "name": "e?", - "type": "string" - }, - { - "name": "p?", - "type": "string" - }, - { - "name": "q?", - "type": "string" - }, - { - "name": "dp?", - "type": "string" - }, - { - "name": "dq?", - "type": "string" - }, - { - "name": "qi?", - "type": "string" - }, - { - "name": "oth?", - "type": "RsaOtherPrimesInfo[]" - }, - { - "name": "k?", - "type": "string" - } - ] - }, - { - "kind": "property", - "name": "msCaching?", - "interface": "XMLHttpRequest", - "type": "string" - }, - { - "kind": "typedef", - "name": "MouseWheelEvent", - "flavor": "Web", - "type": "WheelEvent" - }, - { - "kind": "method", - "interface": "DataTransfer", - "name": "setDragImage", - "signatures": [ - "setDragImage(image: Element, x: number, y: number): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "insertAdjacentElement", - "signatures": [ - "insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "insertAdjacentHTML", - "signatures": [ - "insertAdjacentHTML(where: InsertPosition, html: string): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "insertAdjacentText", - "signatures": [ - "insertAdjacentText(where: InsertPosition, text: string): void" - ] - }, - { - "kind": "property", - "name": "secureConnectionStart", - "interface": "PerformanceTiming", - "readonly": true, - "type": "number" - }, - { - "kind": "property", - "interface": "HTMLLinkElement", - "name": "integrity", - "type": "string" - }, - { - "kind": "property", - "interface": "HTMLScriptElement", - "name": "integrity", - "type": "string" - }, - { - "kind": "property", - "interface": "KeyboardEvent", - "readonly": true, - "name": "code", - "type": "string" - }, - { - "kind": "property", - "interface": "KeyboardEventInit", - "name": "code?", - "type": "string" - }, - { - "kind": "interface", - "name": "ParentNode", - "flavor": "Web", - "properties": [ - { - "name": "children", - "readonly": true, - "type": "HTMLCollection" - }, - { - "name": "firstElementChild", - "readonly": true, - "type": "Element | null" - }, - { - "name": "lastElementChild", - "readonly": true, - "type": "Element | null" - }, - { - "name": "childElementCount", - "readonly": true, - "type": "number" - } - ] - }, - { - "kind": "extends", - "baseInterface": "ParentNode", - "interface": "Element" - }, - { - "kind": "extends", - "baseInterface": "ParentNode", - "interface": "Document" - }, - { - "kind": "extends", - "baseInterface": "ParentNode", - "interface": "DocumentFragment" - }, - { - "kind": "typedef", - "name": "ScrollRestoration", - "flavor": "Web", - "type": "\"auto\" | \"manual\"" - }, - { - "kind": "property", - "interface": "History", - "name": "scrollRestoration", - "type": "ScrollRestoration" - }, - { - "kind": "method", - "interface": "CanvasPattern", - "name": "setTransform", - "signatures": [ - "setTransform(matrix: SVGMatrix): void" - ] - }, - { - "kind": "interface", - "name": "DocumentOrShadowRoot", - "flavor": "Web", - "methods": [ - { - "name": "getSelection", - "signatures": [ - "getSelection(): Selection | null" - ] - }, - { - "name": "elementFromPoint", - "signatures": [ - "elementFromPoint(x: number, y: number): Element | null" - ] - }, - { - "name": "elementsFromPoint", - "signatures": [ - "elementsFromPoint(x: number, y: number): Element[]" - ] - } - ], - "properties": [ - { - "name": "activeElement", - "type": "Element | null", - "readonly": true - }, - { - "name": "styleSheets", - "type": "StyleSheetList", - "readonly": true - } - ] - }, - { - "kind": "interface", - "name": "ShadowRoot", - "extends": "DocumentOrShadowRoot, DocumentFragment", - "flavor": "Web", - "properties": [ - { - "name": "host", - "type": "Element", - "readonly": true - }, - { - "name": "innerHTML", - "type": "string" - } - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "attachShadow", - "signatures": [ - "attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot" - ] - }, - { - "kind": "property", - "interface": "Element", - "name": "assignedSlot", - "type": "HTMLSlotElement | null", - "readonly": true - }, - { - "kind": "property", - "interface": "Element", - "name": "slot", - "type": "string" - }, - { - "kind": "property", - "interface": "Element", - "name": "shadowRoot", - "type": "ShadowRoot | null", - "readonly": true - }, - { - "kind": "interface", - "name": "ShadowRootInit", - "flavor": "Web", - "properties": [ - { - "name": "mode", - "type": "\"open\" | \"closed\"" - }, - { - "name": "delegatesFocus?", - "type": "boolean" - } - ] - }, - { - "kind": "property", - "interface": "Text", - "name": "assignedSlot", - "type": "HTMLSlotElement | null", - "readonly": true - }, - { - "kind": "interface", - "name": "HTMLSlotElement", - "extends": "HTMLElement", - "flavor": "Web", - "tagNames": [ - "slot" - ], - "properties": [ - { - "name": "name", - "type": "string" - } - ], - "methods": [ - { - "name": "assignedNodes", - "signatures": [ - "assignedNodes(options?: AssignedNodesOptions): Node[]" - ] - } - ] - }, - { - "kind": "interface", - "name": "AssignedNodesOptions", - "flavor": "Web", - "properties": [ - { - "name": "flatten?", - "type": "boolean" - } - ] - }, - { - "kind": "property", - "interface": "EventInit", - "name": "scoped?", - "type": "boolean" - }, - { - "kind": "property", - "interface": "Event", - "name": "scoped", - "type": "boolean", - "readonly": true - }, - { - "kind": "method", - "interface": "Event", - "name": "deepPath", - "signatures": [ - "deepPath(): EventTarget[]" - ] - }, - { - "kind": "interface", - "name": "ElementDefinitionOptions", - "flavor": "Web", - "properties": [ - { - "name": "extends", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "ElementCreationOptions", - "flavor": "Web", - "properties": [ - { - "name": "is?", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "CustomElementRegistry", - "flavor": "Web", - "methods": [ - { - "name": "define", - "signatures": [ - "define(name: string, constructor: Function, options?: ElementDefinitionOptions): void" - ] - }, - { - "name": "get", - "signatures": [ - "get(name: string): any" - ] - }, - { - "name": "whenDefined", - "signatures": [ - "whenDefined(name: string): PromiseLike" - ] - } - ] - }, - { - "kind": "property", - "interface": "Window", - "name": "customElements", - "type": "CustomElementRegistry" - }, - { - "kind": "interface", - "name": "PromiseRejectionEvent", - "extends": "Event", - "flavor": "Web", - "properties": [ - { - "name": "promise", - "type": "PromiseLike", - "readonly": true - }, - { - "name": "reason", - "type": "any", - "readonly": true - } - ] - }, - { - "kind": "interface", - "name": "PromiseRejectionEventInit", - "extends": "EventInit", - "flavor": "Web", - "properties": [ - { - "name": "promise", - "type": "PromiseLike" - }, - { - "name": "reason?", - "type": "any" - } - ] - }, - { - "kind": "method", - "interface": "Body", - "name": "formData", - "flavor": "Web", - "signatures": [ - "formData(): Promise" - ] - }, - { - "kind": "method", - "interface": "DocumentFragment", - "name": "getElementById", - "flavor": "Web", - "signatures": [ - "getElementById(elementId: string): HTMLElement | null" - ] - }, - { - "kind": "typedef", - "name": "FormDataEntryValue", - "type": "string | File" - }, - { - "kind": "method", - "interface": "FormData", - "name": "delete", - "flavor": "Web", - "signatures": [ - "delete(name: string): void" - ] - }, - { - "kind": "method", - "interface": "FormData", - "name": "get", - "flavor": "Web", - "signatures": [ - "get(name: string): FormDataEntryValue | null" - ] - }, - { - "kind": "method", - "interface": "FormData", - "name": "getAll", - "flavor": "Web", - "signatures": [ - "getAll(name: string): FormDataEntryValue[]" - ] - }, - { - "kind": "method", - "interface": "FormData", - "name": "has", - "flavor": "Web", - "signatures": [ - "has(name: string): boolean" - ] - }, - { - "kind": "method", - "interface": "FormData", - "name": "set", - "flavor": "Web", - "signatures": [ - "set(name: string, value: string | Blob, fileName?: string): void" - ] - }, - { - "kind": "interface", - "name": "EventListenerOptions", - "properties": [ - { - "name": "capture?", - "type": "boolean" - } - ] - }, - { - "kind": "interface", - "name": "AddEventListenerOptions", - "extends": "EventListenerOptions", - "properties": [ - { - "name": "passive?", - "type": "boolean" - }, - { - "name": "once?", - "type": "boolean" - } - ] - }, - { - "kind": "interface", - "name": "TouchEventInit", - "flavor": "Web", - "extends": "EventModifierInit", - "properties": [ - { - "name": "touches?", - "type": "Touch[]" - }, - { - "name": "targetTouches?", - "type": "Touch[]" - }, - { - "name": "changedTouches?", - "type": "Touch[]" - } - ] - }, - { - "kind": "typedef", - "name": "InsertPosition", - "flavor": "Web", - "type": "\"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\"" - }, - { - "kind": "property", - "interface": "IntersectionObserverEntryInit", - "name": "isIntersecting", - "type": "boolean" - }, - { - "kind": "property", - "interface": "IntersectionObserverEntry", - "name": "isIntersecting", - "type": "boolean", - "readonly": true - }, - { - "kind": "property", - "interface": "ValidityState", - "name": "tooShort", - "flavor": "Web", - "readonly": true, - "type": "boolean" - }, - { - "kind": "interface", - "name": "HTMLDialogElement", - "constructorSignatures": [ - "new(): HTMLDialogElement" - ], - "extends": "HTMLElement", - "flavor": "Web", - "properties": [ - { - "name": "open", - "type": "boolean" - }, - { - "name": "returnValue", - "type": "string" - } - ], - "methods": [ - { - "name": "close", - "signatures": [ - "close(returnValue?: string): void" - ] - }, - { - "name": "show", - "signatures": [ - "show(): void" - ] - }, - { - "name": "showModal", - "signatures": [ - "showModal(): void" - ] - } - ] - }, - { - "kind": "property", - "interface": "Response", - "name": "redirected", - "readonly": true, - "type": "boolean" - }, - { - "kind": "interface", - "name": "HTMLMainElement", - "constructorSignatures": [ - "new(): HTMLMainElement" - ], - "extends": "HTMLElement", - "flavor": "Web" - }, - { - "kind": "interface", - "name": "HTMLDetailsElement", - "constructorSignatures": [ - "new(): HTMLDetailsElement" - ], - "extends": "HTMLElement", - "flavor": "Web", - "properties": [ - { - "name": "open", - "type": "boolean" - } - ] - }, - { - "kind": "interface", - "name": "HTMLSummaryElement", - "constructorSignatures": [ - "new(): HTMLSummaryElement" - ], - "extends": "HTMLElement", - "flavor": "Web" - }, - { - "kind": "interface", - "name": "DOMRectReadOnly", - "flavor": "Web", - "properties": [ - { - "name": "bottom", - "readonly": true, - "type": "number" - }, - { - "name": "height", - "readonly": true, - "type": "number" - }, - { - "name": "left", - "readonly": true, - "type": "number" - }, - { - "name": "right", - "readonly": true, - "type": "number" - }, - { - "name": "top", - "readonly": true, - "type": "number" - }, - { - "name": "width", - "readonly": true, - "type": "number" - }, - { - "name": "x", - "readonly": true, - "type": "number" - }, - { - "name": "y", - "readonly": true, - "type": "number" - } - ], - "constructorSignatures": [ - "new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly", - "fromRect(rectangle?: DOMRectInit): DOMRectReadOnly" - ] - }, - { - "kind": "interface", - "name": "EXT_blend_minmax", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "MIN_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "MAX_EXT", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "EXT_frag_depth", - "flavor": "Web", - "properties": [] - }, - { - "kind": "interface", - "name": "EXT_shader_texture_lod", - "flavor": "Web", - "properties": [] - }, - { - "kind": "interface", - "name": "EXT_sRGB", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "SRGB_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "SRGB_ALPHA_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "SRGB8_ALPHA8_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "DOMRect", - "extends": "DOMRectReadOnly", - "flavor": "Web", - "properties": [ - { - "name": "height", - "type": "number" - }, - { - "name": "width", - "type": "number" - }, - { - "name": "x", - "type": "number" - }, - { - "name": "y", - "type": "number" - } - ], - "constructorSignatures": [ - "new (x?: number, y?: number, width?: number, height?: number): DOMRect", - "fromRect(rectangle?: DOMRectInit): DOMRect" - ] - }, - { - "kind": "interface", - "name": "DOMRectList", - "flavor": "Web", - "properties": [ - { - "name": "length", - "type": "number", - "readonly": true - } - ], - "indexer": [ - { - "signatures": [ - "[index: number]: DOMRect" - ] - } - ], - "methods": [ - { - "name": "item", - "signatures": [ - "item(index: number): DOMRect | null" - ] - } - ] - }, - { - "kind": "method", - "interface": "HTMLFormElement", - "name": "reportValidity", - "flavor": "Web", - "signatures": [ - "reportValidity(): boolean" - ] - }, - { - "kind": "interface", - "name": "OES_vertex_array_object", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "VERTEX_ARRAY_BINDING_OES", - "type": "number" - } - ], - "methods": [ - { - "name": "createVertexArrayOES", - "signatures": [ - "createVertexArrayOES(): WebGLVertexArrayObjectOES" - ] - }, - { - "name": "deleteVertexArrayOES", - "signatures": [ - "deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" - ] - }, - { - "name": "isVertexArrayOES", - "signatures": [ - "isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES" - ] - }, - { - "name": "bindVertexArrayOES", - "signatures": [ - "bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "WebGLVertexArrayObjectOES", - "flavor": "Web", - "properties": [] - }, - { - "kind": "interface", - "name": "WEBGL_color_buffer_float", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "RGBA32F_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "RGB32F_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "UNSIGNED_NORMALIZED_EXT", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "WEBGL_compressed_texture_astc", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_4x4_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_5x4_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_5x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_6x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_6x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_8x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_8x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_8x8_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_10x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_10x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_10x8_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_10x10_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_12x10_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_RGBA_ASTC_12x12_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", - "type": "number" - } - ], - "methods": [ - { - "name": "getSupportedProfiles", - "signatures": [ - "getSupportedProfiles(): string[]" - ] - } - ] - }, - { - "kind": "interface", - "name": "WEBGL_compressed_texture_s3tc_srgb", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "COMPRESSED_SRGB_S3TC_DXT1_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT", - "type": "number" - }, - { - "readonly": true, - "name": "COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "WEBGL_debug_shaders", - "flavor": "Web", - "methods": [ - { - "name": "getTranslatedShaderSource", - "signatures": [ - "getTranslatedShaderSource(shader: WebGLShader): string" - ] - } - ] - }, - { - "kind": "interface", - "name": "WEBGL_draw_buffers", - "flavor": "Web", - "properties": [ - { - "readonly": true, - "name": "COLOR_ATTACHMENT0_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT1_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT2_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT3_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT4_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT5_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT6_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT7_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT8_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT9_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT10_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT11_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT12_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT13_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT14_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "COLOR_ATTACHMENT15_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER0_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER1_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER2_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER3_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER4_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER5_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER6_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER7_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER8_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER9_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER10_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER11_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER12_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER13_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER14_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "DRAW_BUFFER15_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "MAX_COLOR_ATTACHMENTS_WEBGL", - "type": "number" - }, - { - "readonly": true, - "name": "MAX_DRAW_BUFFERS_WEBGL", - "type": "number" - } - ], - "methods": [ - { - "name": "drawBuffersWEBGL", - "signatures": [ - "drawBuffersWEBGL(buffers: number[]): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "WEBGL_lose_context", - "flavor": "Web", - "methods": [ - { - "name": "loseContext", - "signatures": [ - "loseContext(): void" - ] - }, - { - "name": "restoreContext", - "signatures": [ - "restoreContext(): void" - ] - } - ] - }, - { - "kind": "method", - "interface": "HTMLFormElement", - "name": "reportValidity", - "flavor": "Web", - "signatures": [ - "reportValidity(): boolean" - ] - }, - { - "kind": "typedef", - "name": "HeadersInit", - "type": "Headers | string[][] | { [key: string]: string }" - }, - { - "kind": "property", - "interface": "HTMLLabelElement", - "readonly": true, - "name": "control", - "type": "HTMLInputElement | null" - }, - { - "kind": "property", - "interface": "HTMLObjectElement", - "name": "typemustmatch", - "type": "boolean" - }, - { - "kind": "property", - "interface": "File", - "readonly": true, - "name": "lastModified", - "type": "number" - }, - { - "kind": "interface", - "name": "AbortController", - "constructorSignatures": [ - "new(): AbortController" - ], - "properties": [ - { - "readonly": true, - "name": "signal", - "type": "AbortSignal" - } - ], - "methods": [ - { - "name": "abort", - "signatures": [ - "abort(): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "AbortSignal", - "extends": "EventTarget", - "properties": [ - { - "readonly": true, - "name": "aborted", - "type": "boolean" - }, - { - "name": "onabort", - "type": "(ev: Event) => any" - } - ] - }, - { - "kind": "property", - "interface": "Request", - "readonly": true, - "name": "signal", - "type": "AbortSignal" - }, - { - "kind": "property", - "interface": "RequestInit", - "name": "signal?", - "type": "AbortSignal" - }, - { - "kind": "interface", - "name": "EventSource", - "extends": "EventTarget", - "constructorSignatures": [ - "new(url: string, eventSourceInitDict?: EventSourceInit): EventSource" - ], - "properties": [ - { - "readonly": true, - "name": "url", - "type": "string" - }, - { - "readonly": true, - "name": "withCredentials", - "type": "boolean" - }, - { - "readonly": true, - "name": "CONNECTING", - "type": "number" - }, - { - "readonly": true, - "name": "OPEN", - "type": "number" - }, - { - "readonly": true, - "name": "CLOSED", - "type": "number" - }, - { - "readonly": true, - "name": "readyState", - "type": "number" - }, - { - "name": "onopen", - "type": "(evt: MessageEvent) => any" - }, - { - "name": "onmessage", - "type": "(evt: MessageEvent) => any" - }, - { - "name": "onerror", - "type": "(evt: MessageEvent) => any" - } - ], - "methods": [ - { - "name": "close", - "signatures": [ - "close(): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "EventSourceInit", - "properties": [ - { - "readonly": true, - "name": "withCredentials", - "type": "boolean" - } - ] - }, - { - "kind": "property", - "interface": "Document", - "name": "onvisibilitychange", - "type": "(this: Document, ev: Event) => any" - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationKeyFrame", - "properties": [ - { - "name": "offset?", - "type": "number | null | (number | null)[]" - }, - { - "name": "easing?", - "type": "string | string[]" - } - ], - "indexer": [ - { - "signatures": [ - "[index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined" - ] - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationOptions", - "properties": [ - { - "name": "id?", - "type": "string" - }, - { - "name": "delay?", - "type": "number" - }, - { - "name": "direction?", - "type": "\"normal\" | \"reverse\" | \"alternate\" | \"alternate-reverse\"" - }, - { - "name": "duration?", - "type": "number" - }, - { - "name": "easing?", - "type": "string" - }, - { - "name": "endDelay?", - "type": "number" - }, - { - "name": "fill?", - "type": "\"none\" | \"forwards\" | \"backwards\" | \"both\"| \"auto\"" - }, - { - "name": "iterationStart?", - "type": "number" - }, - { - "name": "iterations?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationTimeline", - "properties": [ - { - "readonly": true, - "name": "currentTime", - "type": "number | null" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "ComputedTimingProperties", - "properties": [ - { - "name": "endTime", - "type": "number" - }, - { - "name": "activeDuration", - "type": "number" - }, - { - "name": "localTime", - "type": "number | null" - }, - { - "name": "progress", - "type": "number | null" - }, - { - "name": "currentIteration", - "type": "number | null" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationEffectReadOnly", - "properties": [ - { - "readonly": true, - "name": "timing", - "type": "number" - } - ], - "methods": [ - { - "name": "getComputedTiming", - "signatures": [ - "getComputedTiming(): ComputedTimingProperties" - ] - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationPlaybackEventInit", - "extends": "EventInit", - "properties": [ - { - "name": "currentTime?", - "type": "number | null" - }, - { - "name": "timelineTime?", - "type": "number | null" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "AnimationPlaybackEvent", - "extends": "Event", - "constructorSignatures": [ - "new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent" - ], - "properties": [ - { - "readonly": true, - "name": "currentTime", - "type": "number | null" - }, - { - "readonly": true, - "name": "timelineTime", - "type": "number | null" - } - ] - }, - { - "kind": "interface", - "flavor": "Web", - "name": "Animation", - "constructorSignatures": [ - "new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation" - ], - "properties": [ - { - "name": "currentTime", - "type": "number | null" - }, - { - "name": "effect", - "type": "AnimationEffectReadOnly" - }, - { - "readonly": true, - "name": "finished", - "type": "Promise" - }, - { - "name": "id", - "type": "string" - }, - { - "readonly": true, - "name": "pending", - "type": "boolean" - }, - { - "readonly": true, - "name": "playState", - "type": "\"idle\" | \"running\" | \"paused\" | \"finished\"" - }, - { - "name": "playbackRate", - "type": "number" - }, - { - "readonly": true, - "name": "ready", - "type": "Promise" - }, - { - "name": "startTime", - "type": "number" - }, - { - "name": "timeline", - "type": "AnimationTimeline" - } - ], - "methods": [ - { - "name": "oncancel", - "signatures": [ - "oncancel: (this: Animation, ev: AnimationPlaybackEvent) => any" - ] - }, - { - "name": "onfinish", - "signatures": [ - "onfinish: (this: Animation, ev: AnimationPlaybackEvent) => any" - ] - }, - { - "name": "cancel", - "signatures": [ - "cancel(): void" - ] - }, - { - "name": "finish", - "signatures": [ - "finish(): void" - ] - }, - { - "name": "pause", - "signatures": [ - "pause(): void" - ] - }, - { - "name": "play", - "signatures": [ - "play(): void" - ] - }, - { - "name": "reverse", - "signatures": [ - "reverse(): void" - ] - } - ] - }, - { - "kind": "method", - "name": "animate", - "interface": "HTMLElement", - "signatures": [ - "animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation" - ] - }, - { - "kind": "typedef", - "flavor": "Web", - "name": "OrientationLockType", - "type": "\"any\" | \"natural\" | \"portrait\" | \"landscape\" | \"portrait-primary\" | \"portrait-secondary\" | \"landscape-primary\"| \"landscape-secondary\"" - }, - { - "kind": "method", - "name": "lockOrientation", - "interface": "Screen", - "signatures": [ - "lockOrientation(orientations: OrientationLockType | OrientationLockType[]): boolean" - ] - }, - { - "kind": "method", - "name": "unlockOrientation", - "interface": "Screen", - "signatures": [ - "unlockOrientation(): void" - ] - } -] \ No newline at end of file diff --git a/inputfiles/browser.webidl.xml b/inputfiles/browser.webidl.xml deleted file mode 100644 index 4ae841ac2..000000000 --- a/inputfiles/browser.webidl.xml +++ /dev/null @@ -1,13505 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - segments - sequence - - - suspended - running - closed - - - lowpass - highpass - bandpass - lowshelf - highshelf - peaking - notch - allpass - - - nonzero - evenodd - - - max - clamped-max - explicit - - - speakers - discrete - - - linear - inverse - exponential - - - character - word - sentence - textedit - - - mouse - keyboard - gamepad - - - next - nextunique - prev - prevunique - - - pending - done - - - readonly - readwrite - versionchange - - - inactive - active - disambiguation - - - audioinput - audiooutput - videoinput - - - license-request - license-renewal - license-release - individualization-request - - - temporary - persistent-license - persistent-release-message - - - required - optional - not-allowed - - - usable - expired - output-downscaled - output-not-allowed - status-pending - internal-error - - - live - ended - - - FIDO_2_0 - - - os - stun - turn - peer-derived - - - failed - direct - relay - - - description - localclientevent - inbound-network - outbound-network - inbound-payload - outbound-payload - transportdiagnostics - - - Embedded - USB - NFC - BT - - - unknown - defer - allow - deny - - - geolocation - unlimitedIndexedDBQuota - media - pointerlock - webnotifications - - - up - down - left - right - - - navigate - reload - back_forward - prerender - - - auto - ltr - rtl - - - default - denied - granted - - - sine - square - sawtooth - triangle - custom - - - none - 2x - 4x - - - equalpower - - - success - fail - - - - shipping - delivery - pickup - - - p256dh - auth - - - granted - denied - prompt - - - - no-referrer - no-referrer-when-downgrade - origin-only - origin-when-cross-origin - unsafe-url - - - default - no-store - reload - no-cache - force-cache - - - omit - same-origin - include - - - - document - sharedworker - subresource - unknown - worker - - - navigate - same-origin - no-cors - cors - - - follow - error - manual - - - - audio - font - image - script - style - track - video - - - basic - cors - default - error - opaque - opaqueredirect - - - balanced - max-compat - max-bundle - - - maintain-framerate - maintain-resolution - balanced - - - auto - client - server - - - new - connecting - connected - closed - - - host - srflx - prflx - relay - - - RTP - RTCP - - - new - checking - connected - completed - failed - disconnected - closed - - - new - gathering - complete - - - new - gathering - complete - - - all - nohost - relay - - - udp - tcp - - - controlling - controlled - - - active - passive - so - - - none - relay - all - - - new - checking - connected - completed - disconnected - closed - - - offer - pranswer - answer - - - stable - have-local-offer - have-remote-offer - have-local-pranswer - have-remote-pranswer - closed - - - frozen - waiting - inprogress - failed - succeeded - cancelled - - - host - serverreflexive - peerreflexive - relayed - - - inboundrtp - outboundrtp - session - datachannel - track - transport - candidatepair - localcandidate - remotecandidate - - - ScopedCred - - - installing - installed - activating - activated - redundant - - - usb - nfc - ble - - - user - environment - left - right - - - hidden - visible - prerender - unloaded - - - - arraybuffer - blob - document - json - text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CanvasPathMethods - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RandomSource - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GlobalEventHandlers - NodeSelector - DocumentEvent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NodeSelector - - - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GlobalEventHandlers - ElementTraversal - NodeSelector - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MSBaseReader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - DOML2DeprecatedSizeProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - DOML2DeprecatedSizeProperty - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkStyle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkStyle - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MSBaseReader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NavigatorID - NavigatorOnLine - NavigatorContentUtils - NavigatorStorageUtils - NavigatorGeolocation - MSNavigatorDoNotTrack - MSFileSaver - NavigatorBeacon - NavigatorConcurrentHardware - NavigatorUserMedia - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CanvasPathMethods - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AbstractWorker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGUnitTypes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - SVGURIReference - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - SVGUnitTypes - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGUnitTypes - SVGURIReference - - - - - - - - - - - - SVGTests - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGTests - SVGUnitTypes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGTests - SVGUnitTypes - SVGFitToViewBox - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGAnimatedPoints - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGAnimatedPoints - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DocumentEvent - SVGFitToViewBox - SVGZoomAndPan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - SVGZoomAndPan - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WindowTimers - WindowSessionStorage - WindowLocalStorage - WindowConsole - GlobalEventHandlers - IDBEnvironment - WindowBase64 - GlobalFetch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AbstractWorker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XMLHttpRequestEventTarget - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XMLHttpRequestEventTarget - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WindowTimersExtension - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/inputfiles/comments.json b/inputfiles/comments.json deleted file mode 100644 index a15aca842..000000000 --- a/inputfiles/comments.json +++ /dev/null @@ -1,3083 +0,0 @@ -{ - "interfaces": [ - { - "name": "HTMLTableElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "cellSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */" - }, - { - "name": "tFoot", - "comment": "/**\r\n * Retrieves the tFoot object of the table.\r\n */" - }, - { - "name": "frame", - "comment": "/**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "rules", - "comment": "/**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the number of columns in the table.\r\n */" - }, - { - "name": "summary", - "comment": "/**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */" - }, - { - "name": "caption", - "comment": "/**\r\n * Retrieves the caption object of a table.\r\n */" - }, - { - "name": "tBodies", - "comment": "/**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */" - }, - { - "name": "tHead", - "comment": "/**\r\n * Retrieves the tHead object of the table.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row or in the entire table.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "cellPadding", - "comment": "/**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "createTBody", - "comment": "/**\r\n * Creates an empty tBody element in the table.\r\n */" - }, - { - "name": "deleteCaption", - "comment": "/**\r\n * Deletes the caption element and its contents from the table.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - }, - { - "name": "deleteTFoot", - "comment": "/**\r\n * Deletes the tFoot element and its contents from the table.\r\n */" - }, - { - "name": "createTHead", - "comment": "/**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */" - }, - { - "name": "deleteTHead", - "comment": "/**\r\n * Deletes the tHead element and its contents from the table.\r\n */" - }, - { - "name": "createCaption", - "comment": "/**\r\n * Creates an empty caption element in the table.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "createTFoot", - "comment": "/**\r\n * Creates an empty tFoot element in the table.\r\n */" - } - ] - } - }, - { - "name": "HTMLBaseElement", - "members": { - "property": [ - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLParagraphElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLAreasCollection", - "members": { - "property": [], - "method": [ - { - "name": "remove", - "comment": "/**\r\n * Removes an element from the collection.\r\n */" - }, - { - "name": "add", - "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLAppletElement", - "members": { - "property": [ - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "declare", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOListElement", - "members": { - "property": [ - { - "name": "start", - "comment": "/**\r\n * The starting number.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLSelectElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the number of rows in the list box.\r\n */" - }, - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "selectedIndex", - "comment": "/**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ], - "method": [ - { - "name": "remove", - "comment": "/**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */" - }, - { - "name": "add", - "comment": "/**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLBlockElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLMetaElement", - "members": { - "property": [ - { - "name": "httpEquiv", - "comment": "/**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */" - }, - { - "name": "content", - "comment": "/**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */" - }, - { - "name": "url", - "comment": "/**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed.\r\n */" - }, - { - "name": "scheme", - "comment": "/**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLDDElement", - "members": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLinkElement", - "members": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFontElement", - "members": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableCaptionElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOptionElement", - "members": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLMapElement", - "members": { - "property": [ - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "areas", - "comment": "/**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLCollection", - "members": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - } - ], - "method": [ - { - "name": "item", - "comment": "/**\r\n * Retrieves an object from various collections.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a select object or an object from an options collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLImageElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "naturalHeight", - "comment": "/**\r\n * The original height of the image resource before sizing.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "naturalWidth", - "comment": "/**\r\n * The original width of the image resource before sizing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Contains the hypertext reference (HREF) of the URL.\r\n */" - }, - { - "name": "isMap", - "comment": "/**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLAreaElement", - "members": { - "property": [ - { - "name": "protocol", - "comment": "/**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Sets or retrieves the host name part of the location or URL.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "noHref", - "comment": "/**\r\n * Sets or gets whether clicks in this region cause action.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - } - ], - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - { - "name": "HTMLButtonElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the default or selected value of the control.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets the classification and default behavior of the button.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLSourceElement", - "members": { - "property": [ - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "media", - "comment": "/**\r\n * Gets or sets the intended media type of the media source.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Gets or sets the MIME type of a media resource.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "Document", - "members": { - "property": [ - { - "name": "compatible", - "comment": "/**\r\n * Retrieves the collection of user agents and versions declared in the X-UA-Compatible\r\n */" - }, - { - "name": "onkeydown", - "comment": "/**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "onkeyup", - "comment": "/**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */" - }, - { - "name": "implementation", - "comment": "/**\r\n * Gets the implementation object of the current document.\r\n */" - }, - { - "name": "onreset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n * @param ev The event.\r\n */" - }, - { - "name": "scripts", - "comment": "/**\r\n * Retrieves a collection of all script objects in the document.\r\n */" - }, - { - "name": "onhelp", - "comment": "/**\r\n * Fires when the user presses the F1 key while the browser is the active window.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragleave", - "comment": "/**\r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Gets or sets the character set used to encode the object.\r\n */" - }, - { - "name": "onfocusin", - "comment": "/**\r\n * Fires for an element just prior to setting focus on that element.\r\n * @param ev The focus event\r\n */" - }, - { - "name": "vlinkColor", - "comment": "/**\r\n * Sets or gets the color of the links that the user has visited.\r\n */" - }, - { - "name": "onseeked", - "comment": "/**\r\n * Occurs when the seek operation ends.\r\n * @param ev The event.\r\n */" - }, - { - "name": "title", - "comment": "/**\r\n * Contains the title of the document.\r\n */" - }, - { - "name": "namespaces", - "comment": "/**\r\n * Retrieves a collection of namespace objects.\r\n */" - }, - { - "name": "defaultCharset", - "comment": "/**\r\n * Gets the default character set from the current regional language settings.\r\n */" - }, - { - "name": "embeds", - "comment": "/**\r\n * Retrieves a collection of all embed objects in the document.\r\n */" - }, - { - "name": "styleSheets", - "comment": "/**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */" - }, - { - "name": "frames", - "comment": "/**\r\n * Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.\r\n */" - }, - { - "name": "ondurationchange", - "comment": "/**\r\n * Occurs when the duration attribute is updated.\r\n * @param ev The event.\r\n */" - }, - { - "name": "all", - "comment": "/**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */" - }, - { - "name": "forms", - "comment": "/**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n * @param ev The focus event.\r\n */" - }, - { - "name": "dir", - "comment": "/**\r\n * Sets or retrieves a value that indicates the reading order of the object.\r\n */" - }, - { - "name": "onemptied", - "comment": "/**\r\n * Occurs when the media element is reset to its initial state.\r\n * @param ev The event.\r\n */" - }, - { - "name": "designMode", - "comment": "/**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */" - }, - { - "name": "onseeking", - "comment": "/**\r\n * Occurs when the current playback position is moved.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondeactivate", - "comment": "/**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */" - }, - { - "name": "oncanplay", - "comment": "/**\r\n * Occurs when playback is possible, but would require further buffering.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondatasetchanged", - "comment": "/**\r\n * Fires when the data set exposed by a data source object changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsdelete", - "comment": "/**\r\n * Fires when rows are about to be deleted from the recordset.\r\n * @param ev The event\r\n */" - }, - { - "name": "onloadstart", - "comment": "/**\r\n * Occurs when Internet Explorer begins looking for media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "URLUnencoded", - "comment": "/**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */" - }, - { - "name": "oncontrolselect", - "comment": "/**\r\n * Fires when the user is about to make a control selection of the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragenter", - "comment": "/**\r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */" - }, - { - "name": "inputEncoding", - "comment": "/**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */" - }, - { - "name": "activeElement", - "comment": "/**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */" - }, - { - "name": "onchange", - "comment": "/**\r\n * Fires when the contents of the object or selection have changed.\r\n * @param ev The event.\r\n */" - }, - { - "name": "links", - "comment": "/**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */" - }, - { - "name": "uniqueID", - "comment": "/**\r\n * Retrieves an autogenerated, unique identifier for the object.\r\n */" - }, - { - "name": "URL", - "comment": "/**\r\n * Sets or gets the URL for the current document.\r\n */" - }, - { - "name": "onbeforeactivate", - "comment": "/**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "documentMode", - "comment": "/**\r\n * Retrieves the document compatibility mode of the document.\r\n */" - }, - { - "name": "anchors", - "comment": "/**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */" - }, - { - "name": "ondatasetcomplete", - "comment": "/**\r\n * Fires to indicate that all data is available from the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onsuspend", - "comment": "/**\r\n * Occurs if the load operation has been intentionally halted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "rootElement", - "comment": "/**\r\n * Gets the root svg element in the document hierarchy.\r\n */" - }, - { - "name": "readyState", - "comment": "/**\r\n * Retrieves a value that indicates the current state of the object.\r\n */" - }, - { - "name": "referrer", - "comment": "/**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */" - }, - { - "name": "alinkColor", - "comment": "/**\r\n * Sets or gets the color of all active links in the document.\r\n */" - }, - { - "name": "onerrorupdate", - "comment": "/**\r\n * Fires on a databound object when an error occurs while updating the associated data in the data source object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "parentWindow", - "comment": "/**\r\n * Gets a reference to the container object of the window.\r\n */" - }, - { - "name": "onmouseout", - "comment": "/**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onmsthumbnailclick", - "comment": "/**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousewheel", - "comment": "/**\r\n * Fires when the wheel button is rotated.\r\n * @param ev The mouse event\r\n */" - }, - { - "name": "onvolumechange", - "comment": "/**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */" - }, - { - "name": "oncellchange", - "comment": "/**\r\n * Fires when data changes in the data provider.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowexit", - "comment": "/**\r\n * Fires just before the data source control changes the current row in the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowsinserted", - "comment": "/**\r\n * Fires just after new rows are inserted in the current recordset.\r\n * @param ev The event.\r\n */" - }, - { - "name": "xmlVersion", - "comment": "/**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */" - }, - { - "name": "onpropertychange", - "comment": "/**\r\n * Fires when a property changes on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondragend", - "comment": "/**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "doctype", - "comment": "/**\r\n * Gets an object representing the document type declaration associated with the current document.\r\n */" - }, - { - "name": "ondragover", - "comment": "/**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */" - }, - { - "name": "bgColor", - "comment": "/**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\r\n */" - }, - { - "name": "ondragstart", - "comment": "/**\r\n * Fires on the source object when the user starts to drag a text selection or selected object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseup", - "comment": "/**\r\n * Fires when the user releases a mouse button while the mouse is over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "ondrag", - "comment": "/**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmouseover", - "comment": "/**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "linkColor", - "comment": "/**\r\n * Sets or gets the color of the document links.\r\n */" - }, - { - "name": "onpause", - "comment": "/**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousedown", - "comment": "/**\r\n * Fires when the user clicks the object with either mouse button.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onclick", - "comment": "/**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onwaiting", - "comment": "/**\r\n * Occurs when playback stops because the next frame of a video resource is not available.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstop", - "comment": "/**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmssitemodejumplistitemremoved", - "comment": "/**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */" - }, - { - "name": "applets", - "comment": "/**\r\n * Retrieves a collection of all applet objects in the document.\r\n */" - }, - { - "name": "body", - "comment": "/**\r\n * Specifies the beginning and end of the document body.\r\n */" - }, - { - "name": "domain", - "comment": "/**\r\n * Sets or gets the security domain of the document.\r\n */" - }, - { - "name": "selection", - "comment": "/**\r\n * Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.\r\n */" - }, - { - "name": "onstalled", - "comment": "/**\r\n * Occurs when the download has stopped.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onmousemove", - "comment": "/**\r\n * Fires when the user moves the mouse over the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "documentElement", - "comment": "/**\r\n * Gets a reference to the root node of the document.\r\n */" - }, - { - "name": "onbeforeeditfocus", - "comment": "/**\r\n * Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onratechange", - "comment": "/**\r\n * Occurs when the playback rate is increased or decreased.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onprogress", - "comment": "/**\r\n * Occurs to indicate progress while downloading media data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondblclick", - "comment": "/**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "oncontextmenu", - "comment": "/**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\r\n * @param ev The mouse event.\r\n */" - }, - { - "name": "onloadedmetadata", - "comment": "/**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onerror", - "comment": "/**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplay", - "comment": "/**\r\n * Occurs when the play method is requested.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onplaying", - "comment": "/**\r\n * Occurs when the audio or video has started playing.\r\n * @param ev The event.\r\n */" - }, - { - "name": "images", - "comment": "/**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */" - }, - { - "name": "location", - "comment": "/**\r\n * Contains information about the current URL.\r\n */" - }, - { - "name": "onabort", - "comment": "/**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocusout", - "comment": "/**\r\n * Fires for the current element with focus immediately after moving focus to another element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselectionchange", - "comment": "/**\r\n * Fires when the selection state of a document changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onstoragecommit", - "comment": "/**\r\n * Fires when a local DOM Storage area is written to disk.\r\n * @param ev The event.\r\n */" - }, - { - "name": "ondataavailable", - "comment": "/**\r\n * Fires periodically as data arrives from data source objects that asynchronously transmit their data.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onreadystatechange", - "comment": "/**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */" - }, - { - "name": "lastModified", - "comment": "/**\r\n * Gets the date that the page was last modified, if the page supplies one.\r\n */" - }, - { - "name": "onkeypress", - "comment": "/**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onloadeddata", - "comment": "/**\r\n * Occurs when media data is loaded at the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onbeforedeactivate", - "comment": "/**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onactivate", - "comment": "/**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n * @param ev The event.\r\n */" - }, - { - "name": "fgColor", - "comment": "/**\r\n * Sets or gets the foreground (text) color of the document.\r\n */" - }, - { - "name": "ontimeupdate", - "comment": "/**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onselect", - "comment": "/**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onended", - "comment": "/**\r\n * Occurs when the end of playback is reached.\r\n * @param ev The event\r\n */" - }, - { - "name": "compatMode", - "comment": "/**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */" - }, - { - "name": "onscroll", - "comment": "/**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onrowenter", - "comment": "/**\r\n * Fires to indicate that the current row has changed in the data source and new data values are available on the object.\r\n * @param ev The event.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Fires immediately after the browser loads the object.\r\n * @param ev The event.\r\n */" - } - ], - "method": [ - { - "name": "queryCommandValue", - "comment": "/**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "queryCommandIndeterm", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "execCommand", - "comment": "/**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */" - }, - { - "name": "elementFromPoint", - "comment": "/**\r\n * Returns the element for the specified x coordinate and the specified y coordinate.\r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */" - }, - { - "name": "queryCommandText", - "comment": "/**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.\r\n */" - }, - { - "name": "write", - "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" - }, - { - "name": "updateSettings", - "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" - }, - { - "name": "createElement", - "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" - }, - { - "name": "releaseCapture", - "comment": "/**\r\n * Removes mouse capture from the object in the current document.\r\n */" - }, - { - "name": "writeln", - "comment": "/**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\r\n * @param content The text and HTML tags to write.\r\n */" - }, - { - "name": "open", - "comment": "/**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */" - }, - { - "name": "queryCommandSupported", - "comment": "/**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "createTreeWalker", - "comment": "/**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "queryCommandEnabled", - "comment": "/**\r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */" - }, - { - "name": "focus", - "comment": "/**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */" - }, - { - "name": "close", - "comment": "/**\r\n * Closes an output stream and forces the sent data to display.\r\n */" - }, - { - "name": "createRange", - "comment": "/**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\r\n */" - }, - { - "name": "fireEvent", - "comment": "/**\r\n * Fires a specified event on the object.\r\n * @param eventName Specifies the name of the event to fire.\r\n * @param eventObj Object that specifies the event object from which to obtain event object properties.\r\n */" - }, - { - "name": "createComment", - "comment": "/**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */" - }, - { - "name": "getElementsByTagName", - "comment": "/**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */" - }, - { - "name": "createDocumentFragment", - "comment": "/**\r\n * Creates a new document.\r\n */" - }, - { - "name": "createStyleSheet", - "comment": "/**\r\n * Creates a style sheet for the document.\r\n * @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.\r\n * @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.\r\n */" - }, - { - "name": "getElementsByName", - "comment": "/**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */" - }, - { - "name": "queryCommandState", - "comment": "/**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */" - }, - { - "name": "hasFocus", - "comment": "/**\r\n * Gets a value indicating whether the object currently has focus.\r\n */" - }, - { - "name": "execCommandShowHelp", - "comment": "/**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */" - }, - { - "name": "createAttribute", - "comment": "/**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */" - }, - { - "name": "createTextNode", - "comment": "/**\r\n * Creates a text string from the specified value.\r\n * @param data String that specifies the nodeValue property of the text node.\r\n */" - }, - { - "name": "createNodeIterator", - "comment": "/**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */" - }, - { - "name": "createEventObject", - "comment": "/**\r\n * Generates an event object to pass event context information when you use the fireEvent method.\r\n * @param eventObj An object that specifies an existing event object on which to base the new object.\r\n */" - }, - { - "name": "getSelection", - "comment": "/**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */" - }, - { - "name": "getElementById", - "comment": "/**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */" - } - ] - } - }, - { - "name": "HTMLScriptElement", - "members": { - "property": [ - { - "name": "defer", - "comment": "/**\r\n * Sets or retrieves the status of the script.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */" - }, - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object that is bound to the event script.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */" - }, - { - "name": "event", - "comment": "/**\r\n * Sets or retrieves the event for which the script is written.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableRowElement", - "members": { - "property": [ - { - "name": "rowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */" - }, - { - "name": "cells", - "comment": "/**\r\n * Retrieves a collection of all cells in the table row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "sectionRowIndex", - "comment": "/**\r\n * Retrieves the position of the object in the collection.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteCell", - "comment": "/**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */" - }, - { - "name": "insertCell", - "comment": "/**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLHtmlElement", - "members": { - "property": [ - { - "name": "version", - "comment": "/**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFrameElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLQuoteElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableHeaderCellElement", - "members": { - "property": [ - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFrameSetElement", - "members": { - "property": [ - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the frame heights of the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the frame widths of the object.\r\n */" - }, - { - "name": "onblur", - "comment": "/**\r\n * Fires when the object loses the input focus.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "onfocus", - "comment": "/**\r\n * Fires when the object receives focus.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLabelElement", - "members": { - "property": [ - { - "name": "htmlFor", - "comment": "/**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLegendElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLLIElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of a list item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLIFrameElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "scrolling", - "comment": "/**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */" - }, - { - "name": "marginHeight", - "comment": "/**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */" - }, - { - "name": "marginWidth", - "comment": "/**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */" - }, - { - "name": "frameSpacing", - "comment": "/**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */" - }, - { - "name": "frameBorder", - "comment": "/**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */" - }, - { - "name": "noResize", - "comment": "/**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "contentWindow", - "comment": "/**\r\n * Retrieves the object of the specified.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "srcdoc", - "comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the frame name.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Specifies the properties of a border drawn around an object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */" - }, - { - "name": "longDesc", - "comment": "/**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */" - }, - { - "name": "security", - "comment": "/**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */" - }, - { - "name": "onload", - "comment": "/**\r\n * Raised when the object has been completely received from the server.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableSectionElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - } - ], - "method": [ - { - "name": "deleteRow", - "comment": "/**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */" - }, - { - "name": "moveRow", - "comment": "/**\r\n * Moves a table row to a new position.\r\n * @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.\r\n * @param indexTo Number that specifies where the row is moved within the rows collection.\r\n */" - }, - { - "name": "insertRow", - "comment": "/**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */" - } - ] - } - }, - { - "name": "HTMLInputElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "vrml", - "comment": "/**\r\n * Sets or retrieves the URL of the virtual reality modeling language (VRML) world to be displayed in the window.\r\n */" - }, - { - "name": "lowsrc", - "comment": "/**\r\n * Sets or retrieves a lower resolution image to display.\r\n */" - }, - { - "name": "vspace", - "comment": "/**\r\n * Sets or retrieves the vertical margin for the object.\r\n */" - }, - { - "name": "accept", - "comment": "/**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */" - }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, - { - "name": "defaultChecked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Returns the value of the data at the cursor's current position.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "border", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "checked", - "comment": "/**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */" - }, - { - "name": "hspace", - "comment": "/**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Returns the content type of the object.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "complete", - "comment": "/**\r\n * Retrieves whether the object is fully loaded.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "files", - "comment": "/**\r\n * Returns a FileList object on a file type input object.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "formTarget", - "comment": "/**\r\n * Overrides the target attribute on a form element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "step", - "comment": "/**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "formEnctype", - "comment": "/**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */" - }, - { - "name": "valueAsNumber", - "comment": "/**\r\n * Returns the input field value as a number.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - }, - { - "name": "formMethod", - "comment": "/**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */" - }, - { - "name": "list", - "comment": "/**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "min", - "comment": "/**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */" - }, - { - "name": "formAction", - "comment": "/**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */" - }, - { - "name": "pattern", - "comment": "/**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "formNoValidate", - "comment": "/**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */" - }, - { - "name": "multiple", - "comment": "/**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Makes the selection equal to the current object.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "stepDown", - "comment": "/**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */" - }, - { - "name": "stepUp", - "comment": "/**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLAnchorElement", - "members": { - "property": [ - { - "name": "rel", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "protocol", - "comment": "/**\r\n * Contains the protocol of the URL.\r\n */" - }, - { - "name": "search", - "comment": "/**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */" - }, - { - "name": "coords", - "comment": "/**\r\n * Sets or retrieves the coordinates of the object.\r\n */" - }, - { - "name": "hostname", - "comment": "/**\r\n * Contains the hostname of a URL.\r\n */" - }, - { - "name": "pathname", - "comment": "/**\r\n * Contains the pathname of the URL.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "href", - "comment": "/**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "charset", - "comment": "/**\r\n * Sets or retrieves the character set used to encode the object.\r\n */" - }, - { - "name": "hreflang", - "comment": "/**\r\n * Sets or retrieves the language code of the object.\r\n */" - }, - { - "name": "port", - "comment": "/**\r\n * Sets or retrieves the port number associated with a URL.\r\n */" - }, - { - "name": "host", - "comment": "/**\r\n * Contains the hostname and port values of the URL.\r\n */" - }, - { - "name": "hash", - "comment": "/**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */" - }, - { - "name": "rev", - "comment": "/**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */" - }, - { - "name": "shape", - "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ], - "method": [ - { - "name": "toString", - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - ] - } - }, - { - "name": "HTMLParamElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */" - }, - { - "name": "valueType", - "comment": "/**\r\n * Sets or retrieves the data type of the value attribute.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLPreElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Indicates a citation by rendering text in italic type.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLPhraseElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLCanvasElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of a canvas element on a document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of a canvas element on a document.\r\n */" - } - ], - "method": [ - { - "name": "toDataURL", - "comment": "/**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */" - }, - { - "name": "getContext", - "comment": "/**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */" - }, - { - "name": "msToBlob", - "comment": "/**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */" - } - ] - } - }, - { - "name": "HTMLTitleElement", - "members": { - "property": [ - { - "name": "text", - "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLStyleElement", - "members": { - "property": [ - { - "name": "media", - "comment": "/**\r\n * Sets or retrieves the media type.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableCellElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "headers", - "comment": "/**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */" - }, - { - "name": "cellIndex", - "comment": "/**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "borderColorLight", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - }, - { - "name": "colSpan", - "comment": "/**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */" - }, - { - "name": "borderColor", - "comment": "/**\r\n * Sets or retrieves the border color of the object.\r\n */" - }, - { - "name": "axis", - "comment": "/**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - }, - { - "name": "abbr", - "comment": "/**\r\n * Sets or retrieves abbreviated text for the object.\r\n */" - }, - { - "name": "rowSpan", - "comment": "/**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */" - }, - { - "name": "scope", - "comment": "/**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */" - }, - { - "name": "borderColorDark", - "comment": "/**\r\n * Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLBaseFontElement", - "members": { - "property": [ - { - "name": "face", - "comment": "/**\r\n * Sets or retrieves the current typeface family.\r\n */" - }, - { - "name": "size", - "comment": "/**\r\n * Sets or retrieves the font size of the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTextAreaElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */" - }, - { - "name": "status", - "comment": "/**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "selectionStart", - "comment": "/**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */" - }, - { - "name": "rows", - "comment": "/**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */" - }, - { - "name": "cols", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "readOnly", - "comment": "/**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */" - }, - { - "name": "wrap", - "comment": "/**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */" - }, - { - "name": "selectionEnd", - "comment": "/**\r\n * Gets or sets the end position or offset of a text selection.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Retrieves the type of control.\r\n */" - }, - { - "name": "defaultValue", - "comment": "/**\r\n * Sets or retrieves the initial contents of the object.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "autofocus", - "comment": "/**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "required", - "comment": "/**\r\n * When present, marks an element that can't be submitted without a value.\r\n */" - }, - { - "name": "maxLength", - "comment": "/**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "placeholder", - "comment": "/**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */" - } - ], - "method": [ - { - "name": "createTextRange", - "comment": "/**\r\n * Creates a TextRange object for the element.\r\n */" - }, - { - "name": "setSelectionRange", - "comment": "/**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n * @param direction The direction in which the selection is performed.\r\n */" - }, - { - "name": "select", - "comment": "/**\r\n * Highlights the input area of a form element.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLModElement", - "members": { - "property": [ - { - "name": "dateTime", - "comment": "/**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */" - }, - { - "name": "cite", - "comment": "/**\r\n * Sets or retrieves reference information about the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableColElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */" - }, - { - "name": "span", - "comment": "/**\r\n * Sets or retrieves the number of columns in the group.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLTableAlignment", - "members": { - "property": [ - { - "name": "ch", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */" - }, - { - "name": "vAlign", - "comment": "/**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */" - }, - { - "name": "chOff", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLDivElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLBRElement", - "members": { - "property": [ - { - "name": "clear", - "comment": "/**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLHeadingElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFormElement", - "members": { - "property": [ - { - "name": "length", - "comment": "/**\r\n * Sets or retrieves the number of objects in a collection.\r\n */" - }, - { - "name": "target", - "comment": "/**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */" - }, - { - "name": "acceptCharset", - "comment": "/**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */" - }, - { - "name": "enctype", - "comment": "/**\r\n * Sets or retrieves the encoding type for the form.\r\n */" - }, - { - "name": "elements", - "comment": "/**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "method", - "comment": "/**\r\n * Sets or retrieves how to send the form data to the server.\r\n */" - }, - { - "name": "encoding", - "comment": "/**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */" - }, - { - "name": "autocomplete", - "comment": "/**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */" - }, - { - "name": "noValidate", - "comment": "/**\r\n * Designates a form that is not validated when submitted.\r\n */" - } - ], - "method": [ - { - "name": "reset", - "comment": "/**\r\n * Fires when the user resets a form.\r\n */" - }, - { - "name": "item", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */" - }, - { - "name": "submit", - "comment": "/**\r\n * Fires when a FORM is about to be submitted.\r\n */" - }, - { - "name": "namedItem", - "comment": "/**\r\n * Retrieves a form object or an object from an elements collection.\r\n */" - }, - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - } - ] - } - }, - { - "name": "HTMLMediaElement", - "members": { - "property": [ - { - "name": "initialTime", - "comment": "/**\r\n * Gets the earliest possible position, in seconds, that the playback can begin.\r\n */" - }, - { - "name": "played", - "comment": "/**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */" - }, - { - "name": "currentSrc", - "comment": "/**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */" - }, - { - "name": "autobuffer", - "comment": "/**\r\n * The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */" - }, - { - "name": "ended", - "comment": "/**\r\n * Gets information about whether the playback has ended or not.\r\n */" - }, - { - "name": "buffered", - "comment": "/**\r\n * Gets a collection of buffered time ranges.\r\n */" - }, - { - "name": "error", - "comment": "/**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */" - }, - { - "name": "seekable", - "comment": "/**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */" - }, - { - "name": "autoplay", - "comment": "/**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */" - }, - { - "name": "controls", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * The address or URL of the a media resource that is to be considered.\r\n */" - }, - { - "name": "playbackRate", - "comment": "/**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */" - }, - { - "name": "duration", - "comment": "/**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */" - }, - { - "name": "muted", - "comment": "/**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */" - }, - { - "name": "defaultPlaybackRate", - "comment": "/**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */" - }, - { - "name": "paused", - "comment": "/**\r\n * Gets a flag that specifies whether playback is paused.\r\n */" - }, - { - "name": "seeking", - "comment": "/**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */" - }, - { - "name": "currentTime", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "preload", - "comment": "/**\r\n * Gets or sets the current playback position, in seconds.\r\n */" - }, - { - "name": "networkState", - "comment": "/**\r\n * Gets the current network activity for the element.\r\n */" - }, - { - "name": "msAudioCategory", - "comment": "/**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */" - }, - { - "name": "msRealTime", - "comment": "/**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "audioTracks", - "comment": "/**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - }, - { - "name": "msAudioDeviceType", - "comment": "/**\r\n * Specifies the output device id that the audio will be sent to.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msKeys", - "comment": "/**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */" - } - ], - "method": [ - { - "name": "pause", - "comment": "/**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */" - }, - { - "name": "play", - "comment": "/**\r\n * Loads and starts playback of a media resource.\r\n */" - }, - { - "name": "load", - "comment": "/**\r\n * Resets the audio or video object and loads a new media resource.\r\n */" - }, - { - "name": "canPlayType", - "comment": "/**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */" - }, - { - "name": "msClearEffects", - "comment": "/**\r\n * Clears all effects from the media pipeline.\r\n */" - }, - { - "name": "msSetMediaProtectionManager", - "comment": "/**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */" - }, - { - "name": "msInsertAudioEffect", - "comment": "/**\r\n * Inserts the specified audio effect into media pipeline.\r\n */" - } - ] - } - }, - { - "name": "HTMLDTElement", - "members": { - "property": [ - { - "name": "noWrap", - "comment": "/**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLFieldSetElement", - "members": { - "property": [ - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - } - ], - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLBGSoundElement", - "members": { - "property": [ - { - "name": "balance", - "comment": "/**\r\n * Sets or gets the value indicating how the volume of the background sound is divided between the left speaker and the right speaker.\r\n */" - }, - { - "name": "volume", - "comment": "/**\r\n * Sets or gets the volume setting for the sound.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or gets the URL of a sound to play.\r\n */" - }, - { - "name": "loop", - "comment": "/**\r\n * Sets or retrieves the number of times a sound or video clip will loop when activated.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLHRElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "align", - "comment": "/**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */" - }, - { - "name": "noShade", - "comment": "/**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLObjectElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "codeType", - "comment": "/**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */" - }, - { - "name": "object", - "comment": "/**\r\n * Retrieves the contained object.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "code", - "comment": "/**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */" - }, - { - "name": "archive", - "comment": "/**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */" - }, - { - "name": "standby", - "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" - }, - { - "name": "classid", - "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "useMap", - "comment": "/**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */" - }, - { - "name": "data", - "comment": "/**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "contentDocument", - "comment": "/**\r\n * Retrieves the document object of the page or frame.\r\n */" - }, - { - "name": "altHtml", - "comment": "/**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */" - }, - { - "name": "codeBase", - "comment": "/**\r\n * Sets or retrieves the URL of the component.\r\n */" - }, - { - "name": "type", - "comment": "/**\r\n * Sets or retrieves the MIME type of the object.\r\n */" - }, - { - "name": "BaseHref", - "comment": "/**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */" - }, - { - "name": "validationMessage", - "comment": "/**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */" - }, - { - "name": "validity", - "comment": "/**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */" - }, - { - "name": "willValidate", - "comment": "/**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [ - { - "name": "checkValidity", - "comment": "/**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */" - }, - { - "name": "setCustomValidity", - "comment": "/**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */" - } - ] - } - }, - { - "name": "HTMLEmbedElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Sets or retrieves the width of the object.\r\n */" - }, - { - "name": "palette", - "comment": "/**\r\n * Retrieves the palette used for the embedded document.\r\n */" - }, - { - "name": "src", - "comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */" - }, - { - "name": "name", - "comment": "/**\r\n * Sets or retrieves the name of the object.\r\n */" - }, - { - "name": "pluginspage", - "comment": "/**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Sets or retrieves the height of the object.\r\n */" - }, - { - "name": "units", - "comment": "/**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */" - }, - { - "name": "msPlayToPreferredSourceUri", - "comment": "/**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */" - }, - { - "name": "msPlayToPrimary", - "comment": "/**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */" - }, - { - "name": "msPlayToDisabled", - "comment": "/**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */" - }, - { - "name": "msPlayToSource", - "comment": "/**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLOptGroupElement", - "members": { - "property": [ - { - "name": "index", - "comment": "/**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */" - }, - { - "name": "defaultSelected", - "comment": "/**\r\n * Sets or retrieves the status of an option.\r\n */" - }, - { - "name": "text", - "comment": "/**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */" - }, - { - "name": "value", - "comment": "/**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "label", - "comment": "/**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */" - }, - { - "name": "selected", - "comment": "/**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLIsIndexElement", - "members": { - "property": [ - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - }, - { - "name": "action", - "comment": "/**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLVideoElement", - "members": { - "property": [ - { - "name": "width", - "comment": "/**\r\n * Gets or sets the width of the video element.\r\n */" - }, - { - "name": "videoWidth", - "comment": "/**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "videoHeight", - "comment": "/**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */" - }, - { - "name": "height", - "comment": "/**\r\n * Gets or sets the height of the video element.\r\n */" - }, - { - "name": "poster", - "comment": "/**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "HTMLProgressElement", - "members": { - "property": [ - { - "name": "value", - "comment": "/**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */" - }, - { - "name": "max", - "comment": "/**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */" - }, - { - "name": "position", - "comment": "/**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */" - }, - { - "name": "form", - "comment": "/**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */" - } - ], - "method": [] - } - }, - { - "name": "URLSearchParams", - "members": { - "method": [ - { - "name": "append", - "comment": "/**\r\n * Appends a specified key/value pair as a new search parameter.\r\n */" - }, - { - "name": "delete", - "comment": "/**\r\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\r\n */" - }, - { - "name": "get", - "comment": "/**\r\n * Returns the first value associated to the given search parameter.\r\n */" - }, - { - "name": "getAll", - "comment": "/**\r\n * Returns all the values association with a given search parameter.\r\n */" - }, - { - "name": "has", - "comment": "/**\r\n * Returns a Boolean indicating if such a search parameter exists.\r\n */" - }, - { - "name": "set", - "comment": "/**\r\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\r\n */" - } - ], - "property": [], - "constructor": { - "comment": "/**\r\n * Constructor returning a URLSearchParams object.\r\n */" - } - } - } - ] -} \ No newline at end of file diff --git a/inputfiles/json/browser.webidl.xml.json b/inputfiles/json/browser.webidl.xml.json deleted file mode 100644 index f37b42d64..000000000 --- a/inputfiles/json/browser.webidl.xml.json +++ /dev/null @@ -1,54895 +0,0 @@ -{ - "callback-functions": { - "callback-function": { - "DecodeErrorCallback": { - "name": "DecodeErrorCallback", - "callback": "1", - "type": "void" - }, - "DecodeSuccessCallback": { - "name": "DecodeSuccessCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "decodedData", - "type": "AudioBuffer" - } - ] - }, - "ErrorEventHandler": { - "name": "ErrorEventHandler", - "callback": "1", - "type": "void", - "param": [ - { - "name": "columnNumber", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "event", - "type": "(Event or DOMString)" - }, - { - "name": "fileno", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "source", - "optional": "1", - "type": "DOMString" - } - ] - }, - "ForEachCallback": { - "name": "ForEachCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "keyId", - "type": "BufferSource" - }, - { - "name": "status", - "type": "MediaKeyStatus" - } - ] - }, - "FrameRequestCallback": { - "name": "FrameRequestCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "time", - "type": "DOMHighResTimeStamp" - } - ] - }, - "FunctionStringCallback": { - "name": "FunctionStringCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "data", - "type": "DOMString" - } - ] - }, - "IntersectionObserverCallback": { - "name": "IntersectionObserverCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "entries", - "type": "sequence" - }, - { - "name": "observer", - "type": "IntersectionObserver" - } - ] - }, - "MediaQueryListListener": { - "name": "MediaQueryListListener", - "callback": "1", - "type": "void", - "param": [ - { - "name": "mql", - "type": "MediaQueryList" - } - ] - }, - "MSExecAtPriorityFunctionCallback": { - "name": "MSExecAtPriorityFunctionCallback", - "callback": "1", - "tags": "MSAppOnly", - "type": "any", - "param": [ - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - "MSLaunchUriCallback": { - "name": "MSLaunchUriCallback", - "callback": "1", - "type": "void" - }, - "MSUnsafeFunctionCallback": { - "name": "MSUnsafeFunctionCallback", - "callback": "1", - "tags": "MSAppOnly", - "type": "any" - }, - "MutationCallback": { - "name": "MutationCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "mutations", - "type": "sequence" - }, - { - "name": "observer", - "type": "MutationObserver" - } - ] - }, - "NavigatorUserMediaErrorCallback": { - "name": "NavigatorUserMediaErrorCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "error", - "type": "MediaStreamError" - } - ] - }, - "NavigatorUserMediaSuccessCallback": { - "name": "NavigatorUserMediaSuccessCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MediaStream" - } - ] - }, - "NotificationPermissionCallback": { - "name": "NotificationPermissionCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "permission", - "type": "NotificationPermission" - } - ] - }, - "PositionCallback": { - "name": "PositionCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "position", - "type": "Position" - } - ] - }, - "PositionErrorCallback": { - "name": "PositionErrorCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "error", - "type": "PositionError" - } - ] - }, - "RTCPeerConnectionErrorCallback": { - "name": "RTCPeerConnectionErrorCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMError" - } - ] - }, - "RTCSessionDescriptionCallback": { - "name": "RTCSessionDescriptionCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "sdp", - "type": "RTCSessionDescription" - } - ] - }, - "RTCStatsCallback": { - "name": "RTCStatsCallback", - "callback": "1", - "type": "void", - "param": [ - { - "name": "report", - "type": "RTCStatsReport" - } - ] - }, - "VoidFunction": { - "name": "VoidFunction", - "callback": "1", - "type": "void" - } - } - }, - "callback-interfaces": { - "interface": { - "EventListener": { - "name": "EventListener", - "extends": "Object", - "methods": { - "method": [ - { - "name": "handleEvent", - "type": "void", - "param": [ - { - "name": "evt", - "type": "Event" - } - ] - } - ] - } - }, - "WebKitEntriesCallback": { - "name": "WebKitEntriesCallback", - "extends": "Object", - "methods": { - "method": [ - { - "name": "handleEvent", - "type": "void", - "param": [ - { - "name": "entries", - "type": "WebKitEntry[]" - } - ] - } - ] - } - }, - "WebKitErrorCallback": { - "name": "WebKitErrorCallback", - "extends": "Object", - "methods": { - "method": [ - { - "name": "handleEvent", - "type": "void", - "param": [ - { - "name": "err", - "type": "DOMError" - } - ] - } - ] - } - }, - "WebKitFileCallback": { - "name": "WebKitFileCallback", - "extends": "Object", - "methods": { - "method": [ - { - "name": "handleEvent", - "type": "void", - "param": [ - { - "name": "file", - "type": "File" - } - ] - } - ] - } - } - } - }, - "dictionaries": { - "dictionary": { - "Account": { - "name": "Account", - "extends": "Object", - "members": { - "member": [ - { - "name": "displayName", - "required": "1", - "type": "DOMString" - }, - { - "name": "id", - "required": "1", - "type": "DOMString" - }, - { - "name": "imageURL", - "type": "DOMString" - }, - { - "name": "name", - "type": "DOMString" - }, - { - "name": "rpDisplayName", - "required": "1", - "type": "DOMString" - } - ] - } - }, - "Algorithm": { - "name": "Algorithm", - "extends": "Object", - "members": { - "member": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - }, - "AnimationEventInit": { - "name": "AnimationEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "animationName", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "elapsedTime", - "default": "0.0", - "type": "float" - } - ] - } - }, - "AssertionOptions": { - "name": "AssertionOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "allowList", - "type": "sequence" - }, - { - "name": "extensions", - "type": "WebAuthnExtensions" - }, - { - "name": "rpId", - "type": "USVString" - }, - { - "name": "timeoutSeconds", - "type": "unsigned long" - } - ] - } - }, - "CacheQueryOptions": { - "name": "CacheQueryOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "cacheName", - "type": "DOMString" - }, - { - "name": "ignoreMethod", - "default": "false", - "type": "boolean" - }, - { - "name": "ignoreSearch", - "default": "false", - "type": "boolean" - }, - { - "name": "ignoreVary", - "default": "false", - "type": "boolean" - } - ] - } - }, - "ClientData": { - "name": "ClientData", - "extends": "Object", - "members": { - "member": [ - { - "name": "challenge", - "required": "1", - "type": "DOMString" - }, - { - "name": "extensions", - "type": "WebAuthnExtensions" - }, - { - "name": "hashAlg", - "required": "1", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "origin", - "required": "1", - "type": "DOMString" - }, - { - "name": "rpId", - "required": "1", - "type": "DOMString" - }, - { - "name": "tokenBinding", - "type": "DOMString" - } - ] - } - }, - "CloseEventInit": { - "name": "CloseEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "code", - "default": "0", - "type": "unsigned short" - }, - { - "name": "reason", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "wasClean", - "default": "false", - "type": "boolean" - } - ] - } - }, - "CompositionEventInit": { - "name": "CompositionEventInit", - "extends": "UIEventInit", - "members": { - "member": [ - { - "name": "data", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "ConfirmSiteSpecificExceptionsInformation": { - "name": "ConfirmSiteSpecificExceptionsInformation", - "extends": "ExceptionInformation", - "members": { - "member": [ - { - "name": "arrayOfDomainStrings", - "type": "sequence" - } - ] - } - }, - "ConstrainBooleanParameters": { - "name": "ConstrainBooleanParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "exact", - "type": "boolean" - }, - { - "name": "ideal", - "type": "boolean" - } - ] - } - }, - "ConstrainDOMStringParameters": { - "name": "ConstrainDOMStringParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "exact", - "type": "(DOMString or sequence)" - }, - { - "name": "ideal", - "type": "(DOMString or sequence)" - } - ] - } - }, - "ConstrainDoubleRange": { - "name": "ConstrainDoubleRange", - "extends": "DoubleRange", - "members": { - "member": [ - { - "name": "exact", - "type": "double" - }, - { - "name": "ideal", - "type": "double" - } - ] - } - }, - "ConstrainLongRange": { - "name": "ConstrainLongRange", - "extends": "LongRange", - "members": { - "member": [ - { - "name": "exact", - "type": "long" - }, - { - "name": "ideal", - "type": "long" - } - ] - } - }, - "ConstrainVideoFacingModeParameters": { - "name": "ConstrainVideoFacingModeParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "exact", - "type": "(VideoFacingModeEnum or sequence)" - }, - { - "name": "ideal", - "type": "(VideoFacingModeEnum or sequence)" - } - ] - } - }, - "CustomEventInit": { - "name": "CustomEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "detail", - "default": "null", - "type": "any" - } - ] - } - }, - "DeviceAccelerationDict": { - "name": "DeviceAccelerationDict", - "extends": "Object", - "members": { - "member": [ - { - "name": "x", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "y", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "z", - "default": "null", - "nullable": "1", - "type": "double" - } - ] - } - }, - "DeviceLightEventInit": { - "name": "DeviceLightEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "value", - "default": "Infinity", - "type": "UnrestrictedDouble" - } - ] - } - }, - "DeviceMotionEventInit": { - "name": "DeviceMotionEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "acceleration", - "default": "null", - "nullable": "1", - "type": "DeviceAccelerationDict" - }, - { - "name": "accelerationIncludingGravity", - "default": "null", - "nullable": "1", - "type": "DeviceAccelerationDict" - }, - { - "name": "interval", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "rotationRate", - "default": "null", - "nullable": "1", - "type": "DeviceRotationRateDict" - } - ] - } - }, - "DeviceOrientationEventInit": { - "name": "DeviceOrientationEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "absolute", - "default": "false", - "type": "boolean" - }, - { - "name": "alpha", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "beta", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "gamma", - "default": "null", - "nullable": "1", - "type": "double" - } - ] - } - }, - "DeviceRotationRateDict": { - "name": "DeviceRotationRateDict", - "extends": "Object", - "members": { - "member": [ - { - "name": "alpha", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "beta", - "default": "null", - "nullable": "1", - "type": "double" - }, - { - "name": "gamma", - "default": "null", - "nullable": "1", - "type": "double" - } - ] - } - }, - "DOMRectInit": { - "name": "DOMRectInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "height", - "default": "0", - "type": "unrestricted double" - }, - { - "name": "width", - "default": "0", - "type": "unrestricted double" - }, - { - "name": "x", - "default": "0", - "type": "unrestricted double" - }, - { - "name": "y", - "default": "0", - "type": "unrestricted double" - } - ] - } - }, - "DoubleRange": { - "name": "DoubleRange", - "extends": "Object", - "members": { - "member": [ - { - "name": "max", - "type": "double" - }, - { - "name": "min", - "type": "double" - } - ] - } - }, - "ErrorEventInit": { - "name": "ErrorEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "colno", - "default": "0", - "type": "unsigned long" - }, - { - "name": "error", - "default": "null", - "type": "any" - }, - { - "name": "filename", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "lineno", - "default": "0", - "type": "unsigned long" - }, - { - "name": "message", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "EventInit": { - "name": "EventInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "bubbles", - "default": "false", - "type": "boolean" - }, - { - "name": "cancelable", - "default": "false", - "type": "boolean" - } - ] - } - }, - "EventModifierInit": { - "name": "EventModifierInit", - "extends": "UIEventInit", - "members": { - "member": [ - { - "name": "altKey", - "default": "false", - "type": "boolean" - }, - { - "name": "ctrlKey", - "default": "false", - "type": "boolean" - }, - { - "name": "metaKey", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierAltGraph", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierCapsLock", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierFn", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierFnLock", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierHyper", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierNumLock", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierOS", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierScrollLock", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierSuper", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierSymbol", - "default": "false", - "type": "boolean" - }, - { - "name": "modifierSymbolLock", - "default": "false", - "type": "boolean" - }, - { - "name": "shiftKey", - "default": "false", - "type": "boolean" - } - ] - } - }, - "ExceptionInformation": { - "name": "ExceptionInformation", - "extends": "Object", - "members": { - "member": [ - { - "name": "domain", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "FocusEventInit": { - "name": "FocusEventInit", - "extends": "UIEventInit", - "members": { - "member": [ - { - "name": "relatedTarget", - "default": "null", - "nullable": "1", - "type": "EventTarget" - } - ] - } - }, - "FocusNavigationEventInit": { - "name": "FocusNavigationEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "navigationReason", - "default": "null", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "originHeight", - "default": "0", - "type": "float" - }, - { - "name": "originLeft", - "default": "0", - "type": "float" - }, - { - "name": "originTop", - "default": "0", - "type": "float" - }, - { - "name": "originWidth", - "default": "0", - "type": "float" - } - ] - } - }, - "FocusNavigationOrigin": { - "name": "FocusNavigationOrigin", - "extends": "Object", - "members": { - "member": [ - { - "name": "originHeight", - "type": "float" - }, - { - "name": "originLeft", - "type": "float" - }, - { - "name": "originTop", - "type": "float" - }, - { - "name": "originWidth", - "type": "float" - } - ] - } - }, - "GamepadEventInit": { - "name": "GamepadEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "gamepad", - "default": "null", - "nullable": "1", - "type": "Gamepad" - } - ] - } - }, - "GetNotificationOptions": { - "name": "GetNotificationOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "tag", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "HashChangeEventInit": { - "name": "HashChangeEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "newURL", - "default": "null", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "oldURL", - "default": "null", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "IDBIndexParameters": { - "name": "IDBIndexParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "unique", - "default": "false", - "type": "boolean" - } - ] - } - }, - "IDBObjectStoreParameters": { - "name": "IDBObjectStoreParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "keyPath", - "default": "null", - "nullable": "1", - "type": "IDBKeyPath" - } - ] - } - }, - "IntersectionObserverEntryInit": { - "name": "IntersectionObserverEntryInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "boundingClientRect", - "required": "1", - "type": "DOMRectInit" - }, - { - "name": "intersectionRect", - "required": "1", - "type": "DOMRectInit" - }, - { - "name": "rootBounds", - "required": "1", - "type": "DOMRectInit" - }, - { - "name": "target", - "required": "1", - "type": "Element" - }, - { - "name": "time", - "required": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "IntersectionObserverInit": { - "name": "IntersectionObserverInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "root", - "default": "null", - "nullable": "1", - "type": "Element" - }, - { - "name": "rootMargin", - "default": "\"0px\"", - "type": "DOMString" - }, - { - "name": "threshold", - "default": "0", - "type": "(double or sequence)" - } - ] - } - }, - "KeyAlgorithm": { - "name": "KeyAlgorithm", - "extends": "Object", - "members": { - "member": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - }, - "KeyboardEventInit": { - "name": "KeyboardEventInit", - "extends": "EventModifierInit", - "members": { - "member": [ - { - "name": "key", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "location", - "default": "0", - "type": "unsigned long" - }, - { - "name": "repeat", - "default": "false", - "type": "boolean" - } - ] - } - }, - "LongRange": { - "name": "LongRange", - "extends": "Object", - "members": { - "member": [ - { - "name": "max", - "type": "long" - }, - { - "name": "min", - "type": "long" - } - ] - } - }, - "MediaEncryptedEventInit": { - "name": "MediaEncryptedEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "initData", - "default": "null", - "nullable": "1", - "type": "ArrayBuffer" - }, - { - "name": "initDataType", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "MediaKeyMessageEventInit": { - "name": "MediaKeyMessageEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "message", - "default": "null", - "nullable": "1", - "type": "ArrayBuffer" - }, - { - "name": "messageType", - "default": "\"license-request\"", - "type": "MediaKeyMessageType" - } - ] - } - }, - "MediaKeySystemConfiguration": { - "name": "MediaKeySystemConfiguration", - "extends": "Object", - "members": { - "member": [ - { - "name": "audioCapabilities", - "type": "sequence" - }, - { - "name": "distinctiveIdentifier", - "default": "\"optional\"", - "type": "MediaKeysRequirement" - }, - { - "name": "initDataTypes", - "type": "sequence" - }, - { - "name": "persistentState", - "default": "\"optional\"", - "type": "MediaKeysRequirement" - }, - { - "name": "videoCapabilities", - "type": "sequence" - } - ] - } - }, - "MediaKeySystemMediaCapability": { - "name": "MediaKeySystemMediaCapability", - "extends": "Object", - "members": { - "member": [ - { - "name": "contentType", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "robustness", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "MediaStreamConstraints": { - "name": "MediaStreamConstraints", - "extends": "Object", - "members": { - "member": [ - { - "name": "audio", - "default": "false", - "type": "(boolean or MediaTrackConstraints)" - }, - { - "name": "video", - "default": "false", - "type": "(boolean or MediaTrackConstraints)" - } - ] - } - }, - "MediaStreamErrorEventInit": { - "name": "MediaStreamErrorEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "error", - "default": "null", - "nullable": "1", - "type": "MediaStreamError" - } - ] - } - }, - "MediaStreamEventInit": { - "name": "MediaStreamEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "stream", - "default": "null", - "type": "MediaStream" - } - ] - } - }, - "MediaStreamTrackEventInit": { - "name": "MediaStreamTrackEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "track", - "default": "null", - "nullable": "1", - "type": "MediaStreamTrack" - } - ] - } - }, - "MediaTrackCapabilities": { - "name": "MediaTrackCapabilities", - "extends": "Object", - "members": { - "member": [ - { - "name": "aspectRatio", - "type": "(double or DoubleRange)" - }, - { - "name": "deviceId", - "type": "DOMString" - }, - { - "name": "echoCancellation", - "type": "sequence" - }, - { - "name": "facingMode", - "type": "DOMString" - }, - { - "name": "frameRate", - "type": "(double or DoubleRange)" - }, - { - "name": "groupId", - "type": "DOMString" - }, - { - "name": "height", - "type": "(long or LongRange)" - }, - { - "name": "sampleRate", - "type": "(long or LongRange)" - }, - { - "name": "sampleSize", - "type": "(long or LongRange)" - }, - { - "name": "volume", - "type": "(double or DoubleRange)" - }, - { - "name": "width", - "type": "(long or LongRange)" - } - ] - } - }, - "MediaTrackConstraints": { - "name": "MediaTrackConstraints", - "extends": "MediaTrackConstraintSet", - "members": { - "member": [ - { - "name": "advanced", - "type": "sequence" - } - ] - } - }, - "MediaTrackConstraintSet": { - "name": "MediaTrackConstraintSet", - "extends": "Object", - "members": { - "member": [ - { - "name": "aspectRatio", - "type": "(double or ConstrainDoubleRange)", - "type-original": "ConstrainDouble" - }, - { - "name": "deviceId", - "type": "(DOMString or sequence or ConstrainDOMStringParameters)", - "type-original": "ConstrainDOMString" - }, - { - "name": "echoCancelation", - "type": "(boolean or ConstrainBooleanParameters)", - "type-original": "ConstrainBoolean" - }, - { - "name": "facingMode", - "type": "(DOMString or sequence or ConstrainDOMStringParameters)", - "type-original": "ConstrainDOMString" - }, - { - "name": "frameRate", - "type": "(double or ConstrainDoubleRange)", - "type-original": "ConstrainDouble" - }, - { - "name": "groupId", - "type": "(DOMString or sequence or ConstrainDOMStringParameters)", - "type-original": "ConstrainDOMString" - }, - { - "name": "height", - "type": "(long or ConstrainLongRange)", - "type-original": "ConstrainLong" - }, - { - "name": "sampleRate", - "type": "(long or ConstrainLongRange)", - "type-original": "ConstrainLong" - }, - { - "name": "sampleSize", - "type": "(long or ConstrainLongRange)", - "type-original": "ConstrainLong" - }, - { - "name": "volume", - "type": "(double or ConstrainDoubleRange)", - "type-original": "ConstrainDouble" - }, - { - "name": "width", - "type": "(long or ConstrainLongRange)", - "type-original": "ConstrainLong" - } - ] - } - }, - "MediaTrackSettings": { - "name": "MediaTrackSettings", - "extends": "Object", - "members": { - "member": [ - { - "name": "aspectRatio", - "type": "double" - }, - { - "name": "deviceId", - "type": "DOMString" - }, - { - "name": "echoCancellation", - "type": "boolean" - }, - { - "name": "facingMode", - "type": "DOMString" - }, - { - "name": "frameRate", - "type": "double" - }, - { - "name": "groupId", - "type": "DOMString" - }, - { - "name": "height", - "type": "long" - }, - { - "name": "sampleRate", - "type": "long" - }, - { - "name": "sampleSize", - "type": "long" - }, - { - "name": "volume", - "type": "double" - }, - { - "name": "width", - "type": "long" - } - ] - } - }, - "MediaTrackSupportedConstraints": { - "name": "MediaTrackSupportedConstraints", - "extends": "Object", - "members": { - "member": [ - { - "name": "aspectRatio", - "type": "boolean" - }, - { - "name": "deviceId", - "type": "boolean" - }, - { - "name": "echoCancellation", - "type": "boolean" - }, - { - "name": "facingMode", - "type": "boolean" - }, - { - "name": "frameRate", - "type": "boolean" - }, - { - "name": "groupId", - "type": "boolean" - }, - { - "name": "height", - "type": "boolean" - }, - { - "name": "sampleRate", - "type": "boolean" - }, - { - "name": "sampleSize", - "type": "boolean" - }, - { - "name": "volume", - "type": "boolean" - }, - { - "name": "width", - "type": "boolean" - } - ] - } - }, - "MessageEventInit": { - "name": "MessageEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "data", - "default": "null", - "type": "any" - }, - { - "name": "origin", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "ports", - "default": "null", - "type": "sequence" - }, - { - "name": "source", - "default": "null", - "type": "Window" - } - ] - } - }, - "MouseEventInit": { - "name": "MouseEventInit", - "extends": "EventModifierInit", - "members": { - "member": [ - { - "name": "button", - "default": "0", - "type": "short" - }, - { - "name": "buttons", - "default": "0", - "type": "unsigned short" - }, - { - "name": "clientX", - "default": "0", - "type": "long" - }, - { - "name": "clientY", - "default": "0", - "type": "long" - }, - { - "name": "relatedTarget", - "default": "null", - "nullable": "1", - "type": "EventTarget" - }, - { - "name": "screenX", - "default": "0", - "type": "long" - }, - { - "name": "screenY", - "default": "0", - "type": "long" - } - ] - } - }, - "MSAccountInfo": { - "name": "MSAccountInfo", - "extends": "Object", - "members": { - "member": [ - { - "name": "accountImageUri", - "type": "DOMString" - }, - { - "name": "accountName", - "type": "DOMString" - }, - { - "name": "rpDisplayName", - "required": "1", - "type": "DOMString" - }, - { - "name": "userDisplayName", - "required": "1", - "type": "DOMString" - }, - { - "name": "userId", - "type": "DOMString" - } - ] - } - }, - "MSAudioLocalClientEvent": { - "name": "MSAudioLocalClientEvent", - "extends": "MSLocalClientEventBase", - "members": { - "member": [ - { - "name": "cpuInsufficientEventRatio", - "type": "float" - }, - { - "name": "deviceCaptureNotFunctioningEventRatio", - "type": "float" - }, - { - "name": "deviceClippingEventRatio", - "type": "float" - }, - { - "name": "deviceEchoEventRatio", - "type": "float" - }, - { - "name": "deviceGlitchesEventRatio", - "type": "float" - }, - { - "name": "deviceHalfDuplexAECEventRatio", - "type": "float" - }, - { - "name": "deviceHowlingEventCount", - "type": "unsigned long" - }, - { - "name": "deviceLowSNREventRatio", - "type": "float" - }, - { - "name": "deviceLowSpeechLevelEventRatio", - "type": "float" - }, - { - "name": "deviceMultipleEndpointsEventCount", - "type": "unsigned long" - }, - { - "name": "deviceNearEndToEchoRatioEventRatio", - "type": "float" - }, - { - "name": "deviceRenderMuteEventRatio", - "type": "float" - }, - { - "name": "deviceRenderNotFunctioningEventRatio", - "type": "float" - }, - { - "name": "deviceRenderZeroVolumeEventRatio", - "type": "float" - }, - { - "name": "networkDelayEventRatio", - "type": "float" - }, - { - "name": "networkSendQualityEventRatio", - "type": "float" - } - ] - } - }, - "MSAudioRecvPayload": { - "name": "MSAudioRecvPayload", - "extends": "MSPayloadBase", - "members": { - "member": [ - { - "name": "burstLossLength1", - "type": "float" - }, - { - "name": "burstLossLength2", - "type": "float" - }, - { - "name": "burstLossLength3", - "type": "float" - }, - { - "name": "burstLossLength4", - "type": "float" - }, - { - "name": "burstLossLength5", - "type": "float" - }, - { - "name": "burstLossLength6", - "type": "float" - }, - { - "name": "burstLossLength7", - "type": "float" - }, - { - "name": "burstLossLength8OrHigher", - "type": "float" - }, - { - "name": "fecRecvDistance1", - "type": "float" - }, - { - "name": "fecRecvDistance2", - "type": "float" - }, - { - "name": "fecRecvDistance3", - "type": "float" - }, - { - "name": "packetReorderDepthAvg", - "type": "long" - }, - { - "name": "packetReorderDepthMax", - "type": "long" - }, - { - "name": "packetReorderRatio", - "type": "float" - }, - { - "name": "ratioCompressedSamplesAvg", - "type": "float" - }, - { - "name": "ratioConcealedSamplesAvg", - "type": "float" - }, - { - "name": "ratioStretchedSamplesAvg", - "type": "float" - }, - { - "name": "samplingRate", - "type": "unsigned long" - }, - { - "name": "signal", - "type": "MSAudioRecvSignal" - } - ] - } - }, - "MSAudioRecvSignal": { - "name": "MSAudioRecvSignal", - "extends": "Object", - "members": { - "member": [ - { - "name": "initialSignalLevelRMS", - "type": "float" - }, - { - "name": "recvNoiseLevelCh1", - "type": "long" - }, - { - "name": "recvSignalLevelCh1", - "type": "long" - }, - { - "name": "renderLoopbackSignalLevel", - "type": "float" - }, - { - "name": "renderNoiseLevel", - "type": "float" - }, - { - "name": "renderSignalLevel", - "type": "float" - } - ] - } - }, - "MSAudioSendPayload": { - "name": "MSAudioSendPayload", - "extends": "MSPayloadBase", - "members": { - "member": [ - { - "name": "audioFECUsed", - "type": "boolean" - }, - { - "name": "samplingRate", - "type": "unsigned long" - }, - { - "name": "sendMutePercent", - "type": "float" - }, - { - "name": "signal", - "type": "MSAudioSendSignal" - } - ] - } - }, - "MSAudioSendSignal": { - "name": "MSAudioSendSignal", - "extends": "Object", - "members": { - "member": [ - { - "name": "noiseLevel", - "type": "long" - }, - { - "name": "sendNoiseLevelCh1", - "type": "long" - }, - { - "name": "sendSignalLevelCh1", - "type": "long" - } - ] - } - }, - "MSConnectivity": { - "name": "MSConnectivity", - "extends": "Object", - "members": { - "member": [ - { - "name": "iceType", - "type": "MSIceType" - }, - { - "name": "iceWarningFlags", - "type": "MSIceWarningFlags" - }, - { - "name": "relayAddress", - "type": "MSRelayAddress" - } - ] - } - }, - "MSCredentialFilter": { - "name": "MSCredentialFilter", - "extends": "Object", - "members": { - "member": [ - { - "name": "accept", - "type": "sequence" - } - ] - } - }, - "MSCredentialParameters": { - "name": "MSCredentialParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "type", - "type": "MSCredentialType" - } - ] - } - }, - "MSCredentialSpec": { - "name": "MSCredentialSpec", - "extends": "Object", - "members": { - "member": [ - { - "name": "id", - "type": "DOMString" - }, - { - "name": "type", - "required": "1", - "type": "MSCredentialType" - } - ] - } - }, - "MSDelay": { - "name": "MSDelay", - "extends": "Object", - "members": { - "member": [ - { - "name": "roundTrip", - "type": "unsigned long" - }, - { - "name": "roundTripMax", - "type": "unsigned long" - } - ] - } - }, - "MSDescription": { - "name": "MSDescription", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "connectivity", - "type": "MSConnectivity" - }, - { - "name": "deviceDevName", - "type": "DOMString" - }, - { - "name": "localAddr", - "type": "MSIPAddressInfo" - }, - { - "name": "networkconnectivity", - "type": "MSNetworkConnectivityInfo" - }, - { - "name": "reflexiveLocalIPAddr", - "type": "MSIPAddressInfo" - }, - { - "name": "remoteAddr", - "type": "MSIPAddressInfo" - }, - { - "name": "transport", - "type": "RTCIceProtocol" - } - ] - } - }, - "MSFIDOCredentialParameters": { - "name": "MSFIDOCredentialParameters", - "extends": "MSCredentialParameters", - "members": { - "member": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "authenticators", - "type": "sequence" - } - ] - } - }, - "MSIceWarningFlags": { - "name": "MSIceWarningFlags", - "extends": "Object", - "members": { - "member": [ - { - "name": "allocationMessageIntegrityFailed", - "type": "boolean" - }, - { - "name": "alternateServerReceived", - "type": "boolean" - }, - { - "name": "connCheckMessageIntegrityFailed", - "type": "boolean" - }, - { - "name": "connCheckOtherError", - "type": "boolean" - }, - { - "name": "fipsAllocationFailure", - "type": "boolean" - }, - { - "name": "multipleRelayServersAttempted", - "type": "boolean" - }, - { - "name": "noRelayServersConfigured", - "type": "boolean" - }, - { - "name": "portRangeExhausted", - "type": "boolean" - }, - { - "name": "pseudoTLSFailure", - "type": "boolean" - }, - { - "name": "tcpNatConnectivityFailed", - "type": "boolean" - }, - { - "name": "tcpRelayConnectivityFailed", - "type": "boolean" - }, - { - "name": "turnAuthUnknownUsernameError", - "type": "boolean" - }, - { - "name": "turnTcpAllocateFailed", - "type": "boolean" - }, - { - "name": "turnTcpSendFailed", - "type": "boolean" - }, - { - "name": "turnTcpTimedOut", - "type": "boolean" - }, - { - "name": "turnTurnTcpConnectivityFailed", - "type": "boolean" - }, - { - "name": "turnUdpAllocateFailed", - "type": "boolean" - }, - { - "name": "turnUdpSendFailed", - "type": "boolean" - }, - { - "name": "udpLocalConnectivityFailed", - "type": "boolean" - }, - { - "name": "udpNatConnectivityFailed", - "type": "boolean" - }, - { - "name": "udpRelayConnectivityFailed", - "type": "boolean" - }, - { - "name": "useCandidateChecksFailed", - "type": "boolean" - } - ] - } - }, - "MSIPAddressInfo": { - "name": "MSIPAddressInfo", - "extends": "Object", - "members": { - "member": [ - { - "name": "ipAddr", - "type": "DOMString" - }, - { - "name": "manufacturerMacAddrMask", - "type": "DOMString" - }, - { - "name": "port", - "type": "unsigned short" - } - ] - } - }, - "MSJitter": { - "name": "MSJitter", - "extends": "Object", - "members": { - "member": [ - { - "name": "interArrival", - "type": "unsigned long" - }, - { - "name": "interArrivalMax", - "type": "unsigned long" - }, - { - "name": "interArrivalSD", - "type": "float" - } - ] - } - }, - "MSLocalClientEventBase": { - "name": "MSLocalClientEventBase", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "networkBandwidthLowEventRatio", - "type": "float" - }, - { - "name": "networkReceiveQualityEventRatio", - "type": "float" - } - ] - } - }, - "MSNetwork": { - "name": "MSNetwork", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "delay", - "type": "MSDelay" - }, - { - "name": "jitter", - "type": "MSJitter" - }, - { - "name": "packetLoss", - "type": "MSPacketLoss" - }, - { - "name": "utilization", - "type": "MSUtilization" - } - ] - } - }, - "MSNetworkConnectivityInfo": { - "name": "MSNetworkConnectivityInfo", - "extends": "Object", - "members": { - "member": [ - { - "name": "linkspeed", - "type": "unsigned long" - }, - { - "name": "networkConnectionDetails", - "type": "DOMString" - }, - { - "name": "vpn", - "type": "boolean" - } - ] - } - }, - "MSNetworkInterfaceType": { - "name": "MSNetworkInterfaceType", - "extends": "Object", - "members": { - "member": [ - { - "name": "interfaceTypeEthernet", - "type": "boolean" - }, - { - "name": "interfaceTypePPP", - "type": "boolean" - }, - { - "name": "interfaceTypeTunnel", - "type": "boolean" - }, - { - "name": "interfaceTypeWireless", - "type": "boolean" - }, - { - "name": "interfaceTypeWWAN", - "type": "boolean" - } - ] - } - }, - "MSOutboundNetwork": { - "name": "MSOutboundNetwork", - "extends": "MSNetwork", - "members": { - "member": [ - { - "name": "appliedBandwidthLimit", - "type": "unsigned long" - } - ] - } - }, - "MSPacketLoss": { - "name": "MSPacketLoss", - "extends": "Object", - "members": { - "member": [ - { - "name": "lossRate", - "type": "float" - }, - { - "name": "lossRateMax", - "type": "float" - } - ] - } - }, - "MSPayloadBase": { - "name": "MSPayloadBase", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "payloadDescription", - "type": "DOMString" - } - ] - } - }, - "MSPortRange": { - "name": "MSPortRange", - "extends": "Object", - "members": { - "member": [ - { - "name": "max", - "type": "unsigned short" - }, - { - "name": "min", - "type": "unsigned short" - } - ] - } - }, - "MSRelayAddress": { - "name": "MSRelayAddress", - "extends": "Object", - "members": { - "member": [ - { - "name": "port", - "type": "unsigned short" - }, - { - "name": "relayAddress", - "type": "DOMString" - } - ] - } - }, - "MSSignatureParameters": { - "name": "MSSignatureParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "userPrompt", - "type": "DOMString" - } - ] - } - }, - "MSTransportDiagnosticsStats": { - "name": "MSTransportDiagnosticsStats", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "allocationTimeInMs", - "type": "unsigned long" - }, - { - "name": "baseAddress", - "type": "DOMString" - }, - { - "name": "baseInterface", - "type": "MSNetworkInterfaceType" - }, - { - "name": "iceRole", - "type": "RTCIceRole" - }, - { - "name": "iceWarningFlags", - "type": "MSIceWarningFlags" - }, - { - "name": "interfaces", - "type": "MSNetworkInterfaceType" - }, - { - "name": "localAddress", - "type": "DOMString" - }, - { - "name": "localAddrType", - "type": "MSIceAddrType" - }, - { - "name": "localInterface", - "type": "MSNetworkInterfaceType" - }, - { - "name": "localMR", - "type": "DOMString" - }, - { - "name": "localMRTCPPort", - "type": "unsigned short" - }, - { - "name": "localSite", - "type": "DOMString" - }, - { - "name": "msRtcEngineVersion", - "type": "DOMString" - }, - { - "name": "networkName", - "type": "DOMString" - }, - { - "name": "numConsentReqReceived", - "type": "unsigned long" - }, - { - "name": "numConsentReqSent", - "type": "unsigned long" - }, - { - "name": "numConsentRespReceived", - "type": "unsigned long" - }, - { - "name": "numConsentRespSent", - "type": "unsigned long" - }, - { - "name": "portRangeMax", - "type": "unsigned short" - }, - { - "name": "portRangeMin", - "type": "unsigned short" - }, - { - "name": "protocol", - "type": "RTCIceProtocol" - }, - { - "name": "remoteAddress", - "type": "DOMString" - }, - { - "name": "remoteAddrType", - "type": "MSIceAddrType" - }, - { - "name": "remoteMR", - "type": "DOMString" - }, - { - "name": "remoteMRTCPPort", - "type": "unsigned short" - }, - { - "name": "remoteSite", - "type": "DOMString" - }, - { - "name": "rtpRtcpMux", - "type": "boolean" - }, - { - "name": "stunVer", - "type": "unsigned long" - } - ] - } - }, - "MSUtilization": { - "name": "MSUtilization", - "extends": "Object", - "members": { - "member": [ - { - "name": "bandwidthEstimation", - "type": "unsigned long long" - }, - { - "name": "bandwidthEstimationAvg", - "type": "unsigned long long" - }, - { - "name": "bandwidthEstimationMax", - "type": "unsigned long long" - }, - { - "name": "bandwidthEstimationMin", - "type": "unsigned long long" - }, - { - "name": "bandwidthEstimationStdDev", - "type": "unsigned long long" - }, - { - "name": "packets", - "type": "unsigned long long" - } - ] - } - }, - "MSVideoPayload": { - "name": "MSVideoPayload", - "extends": "MSPayloadBase", - "members": { - "member": [ - { - "name": "durationSeconds", - "type": "float" - }, - { - "name": "resolution", - "type": "DOMString" - }, - { - "name": "videoBitRateAvg", - "type": "unsigned long" - }, - { - "name": "videoBitRateMax", - "type": "unsigned long" - }, - { - "name": "videoFrameRateAvg", - "type": "float" - }, - { - "name": "videoPacketLossRate", - "type": "float" - } - ] - } - }, - "MSVideoRecvPayload": { - "name": "MSVideoRecvPayload", - "extends": "MSVideoPayload", - "members": { - "member": [ - { - "name": "lowBitRateCallPercent", - "type": "float" - }, - { - "name": "lowFrameRateCallPercent", - "type": "float" - }, - { - "name": "recvBitRateAverage", - "type": "unsigned long" - }, - { - "name": "recvBitRateMaximum", - "type": "unsigned long" - }, - { - "name": "recvCodecType", - "type": "DOMString" - }, - { - "name": "recvFpsHarmonicAverage", - "type": "float" - }, - { - "name": "recvFrameRateAverage", - "type": "float" - }, - { - "name": "recvNumResSwitches", - "type": "float" - }, - { - "name": "recvReorderBufferMaxSuccessfullyOrderedExtent", - "type": "unsigned long" - }, - { - "name": "recvReorderBufferMaxSuccessfullyOrderedLateTime", - "type": "unsigned long" - }, - { - "name": "recvReorderBufferPacketsDroppedDueToBufferExhaustion", - "type": "unsigned long" - }, - { - "name": "recvReorderBufferPacketsDroppedDueToTimeout", - "type": "unsigned long" - }, - { - "name": "recvReorderBufferReorderedPackets", - "type": "unsigned long" - }, - { - "name": "recvResolutionHeight", - "type": "unsigned long" - }, - { - "name": "recvResolutionWidth", - "type": "unsigned long" - }, - { - "name": "recvVideoStreamsMax", - "type": "unsigned long" - }, - { - "name": "recvVideoStreamsMin", - "type": "unsigned long" - }, - { - "name": "recvVideoStreamsMode", - "type": "long" - }, - { - "name": "reorderBufferTotalPackets", - "type": "unsigned long" - }, - { - "name": "videoFrameLossRate", - "type": "float" - }, - { - "name": "videoPostFECPLR", - "type": "float" - }, - { - "name": "videoResolutions", - "type": "MSVideoResolutionDistribution" - } - ] - } - }, - "MSVideoResolutionDistribution": { - "name": "MSVideoResolutionDistribution", - "extends": "Object", - "members": { - "member": [ - { - "name": "cifQuality", - "type": "unsigned long" - }, - { - "name": "h1080Quality", - "type": "unsigned long" - }, - { - "name": "h1440Quality", - "type": "unsigned long" - }, - { - "name": "h2160Quality", - "type": "unsigned long" - }, - { - "name": "h720Quality", - "type": "unsigned long" - }, - { - "name": "vgaQuality", - "type": "unsigned long" - } - ] - } - }, - "MSVideoSendPayload": { - "name": "MSVideoSendPayload", - "extends": "MSVideoPayload", - "members": { - "member": [ - { - "name": "sendBitRateAverage", - "type": "unsigned long long" - }, - { - "name": "sendBitRateMaximum", - "type": "unsigned long long" - }, - { - "name": "sendFrameRateAverage", - "type": "float" - }, - { - "name": "sendResolutionHeight", - "type": "unsigned long" - }, - { - "name": "sendResolutionWidth", - "type": "unsigned long" - }, - { - "name": "sendVideoStreamsMax", - "type": "unsigned long" - } - ] - } - }, - "MsZoomToOptions": { - "name": "MsZoomToOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "animate", - "type": "DOMString" - }, - { - "name": "contentX", - "type": "long" - }, - { - "name": "contentY", - "type": "long" - }, - { - "name": "scaleFactor", - "type": "float" - }, - { - "name": "viewportX", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "viewportY", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "MutationObserverInit": { - "name": "MutationObserverInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "attributeFilter", - "type": "sequence" - }, - { - "name": "attributeOldValue", - "default": "false", - "type": "boolean" - }, - { - "name": "attributes", - "default": "false", - "type": "boolean" - }, - { - "name": "characterData", - "default": "false", - "type": "boolean" - }, - { - "name": "characterDataOldValue", - "default": "false", - "type": "boolean" - }, - { - "name": "childList", - "default": "false", - "type": "boolean" - }, - { - "name": "subtree", - "default": "false", - "type": "boolean" - } - ] - } - }, - "NotificationOptions": { - "name": "NotificationOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "body", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "dir", - "default": "\"auto\"", - "type": "NotificationDirection" - }, - { - "name": "icon", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "lang", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "tag", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "ObjectURLOptions": { - "name": "ObjectURLOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "oneTimeOnly", - "type": "boolean" - } - ] - } - }, - "PaymentCurrencyAmount": { - "name": "PaymentCurrencyAmount", - "extends": "Object", - "members": { - "member": [ - { - "name": "currency", - "required": "1", - "type": "DOMString" - }, - { - "name": "currencySystem", - "default": "\"urn:iso:std:iso:4217\"", - "type": "DOMString" - }, - { - "name": "value", - "required": "1", - "type": "DOMString" - } - ] - } - }, - "PaymentDetails": { - "name": "PaymentDetails", - "extends": "Object", - "members": { - "member": [ - { - "name": "displayItems", - "type": "sequence" - }, - { - "name": "error", - "type": "DOMString" - }, - { - "name": "modifiers", - "type": "sequence" - }, - { - "name": "shippingOptions", - "type": "sequence" - }, - { - "name": "total", - "type": "PaymentItem" - } - ] - } - }, - "PaymentDetailsModifier": { - "name": "PaymentDetailsModifier", - "extends": "Object", - "members": { - "member": [ - { - "name": "additionalDisplayItems", - "type": "sequence" - }, - { - "name": "data", - "type": "object" - }, - { - "name": "supportedMethods", - "required": "1", - "type": "sequence" - }, - { - "name": "total", - "type": "PaymentItem" - } - ] - } - }, - "PaymentItem": { - "name": "PaymentItem", - "extends": "Object", - "members": { - "member": [ - { - "name": "amount", - "required": "1", - "type": "PaymentCurrencyAmount" - }, - { - "name": "label", - "required": "1", - "type": "DOMString" - }, - { - "name": "pending", - "default": "false", - "type": "boolean" - } - ] - } - }, - "PaymentMethodData": { - "name": "PaymentMethodData", - "extends": "Object", - "members": { - "member": [ - { - "name": "data", - "type": "object" - }, - { - "name": "supportedMethods", - "required": "1", - "type": "sequence" - } - ] - } - }, - "PaymentOptions": { - "name": "PaymentOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "requestPayerEmail", - "default": "false", - "type": "boolean" - }, - { - "name": "requestPayerName", - "default": "false", - "type": "boolean" - }, - { - "name": "requestPayerPhone", - "default": "false", - "type": "boolean" - }, - { - "name": "requestShipping", - "default": "false", - "type": "boolean" - }, - { - "name": "shippingType", - "default": "\"shipping\"", - "type": "DOMString" - } - ] - } - }, - "PaymentRequestUpdateEventInit": { - "name": "PaymentRequestUpdateEventInit", - "extends": "EventInit" - }, - "PaymentShippingOption": { - "name": "PaymentShippingOption", - "extends": "Object", - "members": { - "member": [ - { - "name": "amount", - "required": "1", - "type": "PaymentCurrencyAmount" - }, - { - "name": "id", - "required": "1", - "type": "DOMString" - }, - { - "name": "label", - "required": "1", - "type": "DOMString" - }, - { - "name": "selected", - "default": "false", - "type": "boolean" - } - ] - } - }, - "PeriodicWaveConstraints": { - "name": "PeriodicWaveConstraints", - "extends": "Object", - "members": { - "member": [ - { - "name": "disableNormalization", - "default": "false", - "type": "boolean" - } - ] - } - }, - "PointerEventInit": { - "name": "PointerEventInit", - "extends": "MouseEventInit", - "members": { - "member": [ - { - "name": "height", - "default": "0", - "type": "long" - }, - { - "name": "isPrimary", - "default": "false", - "type": "boolean" - }, - { - "name": "pointerId", - "default": "0", - "type": "long" - }, - { - "name": "pointerType", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "pressure", - "default": "0", - "type": "float" - }, - { - "name": "tiltX", - "default": "0", - "type": "long" - }, - { - "name": "tiltY", - "default": "0", - "type": "long" - }, - { - "name": "width", - "default": "0", - "type": "long" - } - ] - } - }, - "PopStateEventInit": { - "name": "PopStateEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "state", - "default": "null", - "type": "any" - } - ] - } - }, - "PositionOptions": { - "name": "PositionOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "enableHighAccuracy", - "default": "false", - "type": "boolean" - }, - { - "name": "maximumAge", - "default": "0", - "type": "long" - }, - { - "name": "timeout", - "type": "long" - } - ] - } - }, - "ProgressEventInit": { - "name": "ProgressEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "lengthComputable", - "default": "false", - "type": "boolean" - }, - { - "name": "loaded", - "default": "0", - "type": "unsigned long long" - }, - { - "name": "total", - "default": "0", - "type": "unsigned long long" - } - ] - } - }, - "PushSubscriptionOptionsInit": { - "name": "PushSubscriptionOptionsInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "applicationServerKey", - "default": "null", - "nullable": "1", - "type": "BufferSource" - }, - { - "name": "userVisibleOnly", - "default": "false", - "type": "boolean" - } - ] - } - }, - "RegistrationOptions": { - "name": "RegistrationOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "scope", - "type": "DOMString" - } - ] - } - }, - "RequestInit": { - "name": "RequestInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "body", - "nullable": "1", - "type": "(Blob or BufferSource or FormData or DOMString)", - "type-original": "BodyInit" - }, - { - "name": "cache", - "type": "RequestCache" - }, - { - "name": "credentials", - "type": "RequestCredentials" - }, - { - "name": "headers", - "type": "(Headers or sequence>)", - "type-original": "HeadersInit" - }, - { - "name": "integrity", - "type": "DOMString" - }, - { - "name": "keepalive", - "type": "boolean" - }, - { - "name": "method", - "type": "DOMString", - "type-original": "ByteString" - }, - { - "name": "mode", - "type": "RequestMode" - }, - { - "name": "redirect", - "type": "RequestRedirect" - }, - { - "name": "referrer", - "type": "DOMString", - "type-original": "USVString" - }, - { - "name": "referrerPolicy", - "type": "ReferrerPolicy" - }, - { - "name": "window", - "type": "any" - } - ] - } - }, - "ResponseInit": { - "name": "ResponseInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "headers", - "type": "(Headers or sequence>)", - "type-original": "HeadersInit" - }, - { - "name": "status", - "default": "200", - "type": "unsigned short" - }, - { - "name": "statusText", - "default": "\"OK\"", - "type": "DOMString", - "type-original": "ByteString" - } - ] - } - }, - "RTCConfiguration": { - "name": "RTCConfiguration", - "extends": "Object", - "members": { - "member": [ - { - "name": "bundlePolicy", - "default": "\"balanced\"", - "type": "RTCBundlePolicy" - }, - { - "name": "iceServers", - "type": "sequence" - }, - { - "name": "iceTransportPolicy", - "default": "\"all\"", - "type": "RTCIceTransportPolicy" - }, - { - "name": "peerIdentity", - "type": "DOMString" - } - ] - } - }, - "RTCDtlsFingerprint": { - "name": "RTCDtlsFingerprint", - "extends": "Object", - "members": { - "member": [ - { - "name": "algorithm", - "type": "DOMString" - }, - { - "name": "value", - "type": "DOMString" - } - ] - } - }, - "RTCDtlsParameters": { - "name": "RTCDtlsParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "fingerprints", - "type": "sequence" - }, - { - "name": "role", - "default": "\"auto\"", - "type": "RTCDtlsRole" - } - ] - } - }, - "RTCDTMFToneChangeEventInit": { - "name": "RTCDTMFToneChangeEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "tone", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "RTCIceCandidateAttributes": { - "name": "RTCIceCandidateAttributes", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "addressSourceUrl", - "type": "DOMString" - }, - { - "name": "candidateType", - "type": "RTCStatsIceCandidateType" - }, - { - "name": "ipAddress", - "type": "DOMString" - }, - { - "name": "portNumber", - "type": "long" - }, - { - "name": "priority", - "type": "long" - }, - { - "name": "transport", - "type": "DOMString" - } - ] - } - }, - "RTCIceCandidateComplete": { - "name": "RTCIceCandidateComplete", - "extends": "Object" - }, - "RTCIceCandidateDictionary": { - "name": "RTCIceCandidateDictionary", - "extends": "Object", - "members": { - "member": [ - { - "name": "foundation", - "type": "DOMString" - }, - { - "name": "ip", - "type": "DOMString" - }, - { - "name": "msMTurnSessionId", - "type": "DOMString" - }, - { - "name": "port", - "type": "unsigned short" - }, - { - "name": "priority", - "type": "unsigned long" - }, - { - "name": "protocol", - "type": "RTCIceProtocol" - }, - { - "name": "relatedAddress", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "relatedPort", - "type": "unsigned short" - }, - { - "name": "tcpType", - "type": "RTCIceTcpCandidateType" - }, - { - "name": "type", - "type": "RTCIceCandidateType" - } - ] - } - }, - "RTCIceCandidateInit": { - "name": "RTCIceCandidateInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "candidate", - "type": "DOMString" - }, - { - "name": "sdpMid", - "type": "DOMString" - }, - { - "name": "sdpMLineIndex", - "type": "unsigned short" - } - ] - } - }, - "RTCIceCandidatePair": { - "name": "RTCIceCandidatePair", - "extends": "Object", - "members": { - "member": [ - { - "name": "local", - "type": "RTCIceCandidateDictionary" - }, - { - "name": "remote", - "type": "RTCIceCandidateDictionary" - } - ] - } - }, - "RTCIceCandidatePairStats": { - "name": "RTCIceCandidatePairStats", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "availableIncomingBitrate", - "type": "double" - }, - { - "name": "availableOutgoingBitrate", - "type": "double" - }, - { - "name": "bytesReceived", - "type": "unsigned long long" - }, - { - "name": "bytesSent", - "type": "unsigned long long" - }, - { - "name": "localCandidateId", - "type": "DOMString" - }, - { - "name": "nominated", - "type": "boolean" - }, - { - "name": "priority", - "type": "unsigned long long" - }, - { - "name": "readable", - "type": "boolean" - }, - { - "name": "remoteCandidateId", - "type": "DOMString" - }, - { - "name": "roundTripTime", - "type": "double" - }, - { - "name": "state", - "type": "RTCStatsIceCandidatePairState" - }, - { - "name": "transportId", - "type": "DOMString" - }, - { - "name": "writable", - "type": "boolean" - } - ] - } - }, - "RTCIceGatherOptions": { - "name": "RTCIceGatherOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "gatherPolicy", - "type": "RTCIceGatherPolicy" - }, - { - "name": "iceservers", - "type": "sequence" - }, - { - "name": "portRange", - "type": "MSPortRange" - } - ] - } - }, - "RTCIceParameters": { - "name": "RTCIceParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "iceLite", - "nullable": "1", - "type": "boolean" - }, - { - "name": "password", - "type": "DOMString" - }, - { - "name": "usernameFragment", - "type": "DOMString" - } - ] - } - }, - "RTCIceServer": { - "name": "RTCIceServer", - "extends": "Object", - "members": { - "member": [ - { - "name": "credential", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "urls", - "type": "any" - }, - { - "name": "username", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "RTCInboundRTPStreamStats": { - "name": "RTCInboundRTPStreamStats", - "extends": "RTCRTPStreamStats", - "members": { - "member": [ - { - "name": "bytesReceived", - "type": "unsigned long long" - }, - { - "name": "fractionLost", - "type": "double" - }, - { - "name": "jitter", - "type": "double" - }, - { - "name": "packetsLost", - "type": "unsigned long" - }, - { - "name": "packetsReceived", - "type": "unsigned long" - } - ] - } - }, - "RTCMediaStreamTrackStats": { - "name": "RTCMediaStreamTrackStats", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "audioLevel", - "type": "double" - }, - { - "name": "echoReturnLoss", - "type": "double" - }, - { - "name": "echoReturnLossEnhancement", - "type": "double" - }, - { - "name": "frameHeight", - "type": "unsigned long" - }, - { - "name": "framesCorrupted", - "type": "unsigned long" - }, - { - "name": "framesDecoded", - "type": "unsigned long" - }, - { - "name": "framesDropped", - "type": "unsigned long" - }, - { - "name": "framesPerSecond", - "type": "double" - }, - { - "name": "framesReceived", - "type": "unsigned long" - }, - { - "name": "framesSent", - "type": "unsigned long" - }, - { - "name": "frameWidth", - "type": "unsigned long" - }, - { - "name": "remoteSource", - "type": "boolean" - }, - { - "name": "ssrcIds", - "type": "sequence" - }, - { - "name": "trackIdentifier", - "type": "DOMString" - } - ] - } - }, - "RTCOfferOptions": { - "name": "RTCOfferOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "iceRestart", - "default": "false", - "type": "boolean" - }, - { - "name": "offerToReceiveAudio", - "type": "long" - }, - { - "name": "offerToReceiveVideo", - "type": "long" - }, - { - "name": "voiceActivityDetection", - "default": "true", - "type": "boolean" - } - ] - } - }, - "RTCOutboundRTPStreamStats": { - "name": "RTCOutboundRTPStreamStats", - "extends": "RTCRTPStreamStats", - "members": { - "member": [ - { - "name": "bytesSent", - "type": "unsigned long long" - }, - { - "name": "packetsSent", - "type": "unsigned long" - }, - { - "name": "roundTripTime", - "type": "double" - }, - { - "name": "targetBitrate", - "type": "double" - } - ] - } - }, - "RTCPeerConnectionIceEventInit": { - "name": "RTCPeerConnectionIceEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "candidate", - "default": "null", - "type": "RTCIceCandidate" - } - ] - } - }, - "RTCRtcpFeedback": { - "name": "RTCRtcpFeedback", - "extends": "Object", - "members": { - "member": [ - { - "name": "parameter", - "type": "DOMString" - }, - { - "name": "type", - "type": "DOMString" - } - ] - } - }, - "RTCRtcpParameters": { - "name": "RTCRtcpParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "cname", - "type": "DOMString" - }, - { - "name": "mux", - "default": "true", - "type": "boolean" - }, - { - "name": "reducedSize", - "default": "false", - "type": "boolean" - }, - { - "name": "ssrc", - "type": "unsigned long" - } - ] - } - }, - "RTCRtpCapabilities": { - "name": "RTCRtpCapabilities", - "extends": "Object", - "members": { - "member": [ - { - "name": "codecs", - "type": "sequence" - }, - { - "name": "fecMechanisms", - "type": "sequence" - }, - { - "name": "headerExtensions", - "type": "sequence" - } - ] - } - }, - "RTCRtpCodecCapability": { - "name": "RTCRtpCodecCapability", - "extends": "Object", - "members": { - "member": [ - { - "name": "clockRate", - "type": "unsigned long" - }, - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "maxptime", - "type": "unsigned long" - }, - { - "name": "maxSpatialLayers", - "default": "0", - "type": "unsigned short" - }, - { - "name": "maxTemporalLayers", - "default": "0", - "type": "unsigned short" - }, - { - "name": "name", - "type": "DOMString" - }, - { - "name": "numChannels", - "type": "unsigned long" - }, - { - "name": "options", - "type": "Dictionary" - }, - { - "name": "parameters", - "type": "Dictionary" - }, - { - "name": "preferredPayloadType", - "type": "octet", - "type-original": "payloadtype" - }, - { - "name": "ptime", - "type": "unsigned long" - }, - { - "name": "rtcpFeedback", - "type": "sequence" - }, - { - "name": "svcMultiStreamSupport", - "type": "boolean" - } - ] - } - }, - "RTCRtpCodecParameters": { - "name": "RTCRtpCodecParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "clockRate", - "type": "unsigned long" - }, - { - "name": "maxptime", - "type": "unsigned long" - }, - { - "name": "name", - "type": "DOMString" - }, - { - "name": "numChannels", - "type": "unsigned long" - }, - { - "name": "parameters", - "type": "Dictionary" - }, - { - "name": "payloadType", - "type": "payloadType" - }, - { - "name": "ptime", - "type": "unsigned long" - }, - { - "name": "rtcpFeedback", - "type": "sequence" - } - ] - } - }, - "RTCRtpContributingSource": { - "name": "RTCRtpContributingSource", - "extends": "Object", - "members": { - "member": [ - { - "name": "audioLevel", - "type": "byte" - }, - { - "name": "csrc", - "type": "unsigned long" - }, - { - "name": "timestamp", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "RTCRtpEncodingParameters": { - "name": "RTCRtpEncodingParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "active", - "default": "true", - "type": "boolean" - }, - { - "name": "codecPayloadType", - "type": "octet", - "type-original": "payloadtype" - }, - { - "name": "dependencyEncodingIds", - "type": "sequence" - }, - { - "name": "encodingId", - "type": "DOMString" - }, - { - "name": "fec", - "type": "RTCRtpFecParameters" - }, - { - "name": "framerateScale", - "type": "double" - }, - { - "name": "maxBitrate", - "type": "double" - }, - { - "name": "maxFramerate", - "type": "unsigned long" - }, - { - "name": "minQuality", - "default": "0", - "type": "double" - }, - { - "name": "priority", - "default": "1.0", - "type": "double" - }, - { - "name": "resolutionScale", - "type": "double" - }, - { - "name": "rtx", - "type": "RTCRtpRtxParameters" - }, - { - "name": "ssrc", - "type": "unsigned long" - }, - { - "name": "ssrcRange", - "type": "RTCSsrcRange" - } - ] - } - }, - "RTCRtpFecParameters": { - "name": "RTCRtpFecParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "mechanism", - "type": "DOMString" - }, - { - "name": "ssrc", - "type": "unsigned long" - } - ] - } - }, - "RTCRtpHeaderExtension": { - "name": "RTCRtpHeaderExtension", - "extends": "Object", - "members": { - "member": [ - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "preferredEncrypt", - "default": "false", - "type": "boolean" - }, - { - "name": "preferredId", - "type": "unsigned short" - }, - { - "name": "uri", - "type": "DOMString" - } - ] - } - }, - "RTCRtpHeaderExtensionParameters": { - "name": "RTCRtpHeaderExtensionParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "encrypt", - "default": "false", - "type": "boolean" - }, - { - "name": "id", - "type": "unsigned short" - }, - { - "name": "uri", - "type": "DOMString" - } - ] - } - }, - "RTCRtpParameters": { - "name": "RTCRtpParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "codecs", - "type": "sequence" - }, - { - "name": "degradationPreference", - "default": "\"balanced\"", - "type": "RTCDegradationPreference" - }, - { - "name": "encodings", - "type": "sequence" - }, - { - "name": "headerExtensions", - "type": "sequence" - }, - { - "name": "muxId", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "rtcp", - "type": "RTCRtcpParameters" - } - ] - } - }, - "RTCRtpRtxParameters": { - "name": "RTCRtpRtxParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "ssrc", - "type": "unsigned long" - } - ] - } - }, - "RTCRTPStreamStats": { - "name": "RTCRTPStreamStats", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "associateStatsId", - "type": "DOMString" - }, - { - "name": "codecId", - "type": "DOMString" - }, - { - "name": "firCount", - "type": "unsigned long" - }, - { - "name": "isRemote", - "default": "false", - "type": "boolean" - }, - { - "name": "mediaTrackId", - "type": "DOMString" - }, - { - "name": "nackCount", - "type": "unsigned long" - }, - { - "name": "pliCount", - "type": "unsigned long" - }, - { - "name": "sliCount", - "type": "unsigned long" - }, - { - "name": "ssrc", - "type": "DOMString" - }, - { - "name": "transportId", - "type": "DOMString" - } - ] - } - }, - "RTCRtpUnhandled": { - "name": "RTCRtpUnhandled", - "extends": "Object", - "members": { - "member": [ - { - "name": "muxId", - "type": "DOMString" - }, - { - "name": "payloadType", - "type": "octet", - "type-original": "payloadtype" - }, - { - "name": "ssrc", - "type": "unsigned long" - } - ] - } - }, - "RTCSessionDescriptionInit": { - "name": "RTCSessionDescriptionInit", - "extends": "Object", - "members": { - "member": [ - { - "name": "sdp", - "type": "DOMString" - }, - { - "name": "type", - "type": "RTCSdpType" - } - ] - } - }, - "RTCSrtpKeyParam": { - "name": "RTCSrtpKeyParam", - "extends": "Object", - "members": { - "member": [ - { - "name": "keyMethod", - "type": "DOMString" - }, - { - "name": "keySalt", - "type": "DOMString" - }, - { - "name": "lifetime", - "type": "DOMString" - }, - { - "name": "mkiLength", - "type": "unsigned short" - }, - { - "name": "mkiValue", - "type": "unsigned short" - } - ] - } - }, - "RTCSrtpSdesParameters": { - "name": "RTCSrtpSdesParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "cryptoSuite", - "type": "DOMString" - }, - { - "name": "keyParams", - "type": "sequence" - }, - { - "name": "sessionParams", - "type": "sequence" - }, - { - "name": "tag", - "type": "unsigned short" - } - ] - } - }, - "RTCSsrcRange": { - "name": "RTCSsrcRange", - "extends": "Object", - "members": { - "member": [ - { - "name": "max", - "type": "unsigned long" - }, - { - "name": "min", - "type": "unsigned long" - } - ] - } - }, - "RTCStats": { - "name": "RTCStats", - "extends": "Object", - "members": { - "member": [ - { - "name": "id", - "type": "DOMString" - }, - { - "name": "msType", - "type": "MSStatsType" - }, - { - "name": "timestamp", - "type": "DOMHighResTimeStamp" - }, - { - "name": "type", - "type": "RTCStatsType" - } - ] - } - }, - "RTCStatsReport": { - "name": "RTCStatsReport", - "extends": "Object" - }, - "RTCTransportStats": { - "name": "RTCTransportStats", - "extends": "RTCStats", - "members": { - "member": [ - { - "name": "activeConnection", - "type": "boolean" - }, - { - "name": "bytesReceived", - "type": "unsigned long long" - }, - { - "name": "bytesSent", - "type": "unsigned long long" - }, - { - "name": "localCertificateId", - "type": "DOMString" - }, - { - "name": "remoteCertificateId", - "type": "DOMString" - }, - { - "name": "rtcpTransportStatsId", - "type": "DOMString" - }, - { - "name": "selectedCandidatePairId", - "type": "DOMString" - } - ] - } - }, - "ScopedCredentialDescriptor": { - "name": "ScopedCredentialDescriptor", - "extends": "Object", - "members": { - "member": [ - { - "name": "id", - "required": "1", - "type": "BufferSource" - }, - { - "name": "transports", - "type": "sequence" - }, - { - "name": "type", - "required": "1", - "type": "ScopedCredentialType" - } - ] - } - }, - "ScopedCredentialOptions": { - "name": "ScopedCredentialOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "excludeList", - "type": "sequence" - }, - { - "name": "extensions", - "type": "WebAuthnExtensions" - }, - { - "name": "rpId", - "type": "USVString" - }, - { - "name": "timeoutSeconds", - "type": "unsigned long" - } - ] - } - }, - "ScopedCredentialParameters": { - "name": "ScopedCredentialParameters", - "extends": "Object", - "members": { - "member": [ - { - "name": "algorithm", - "required": "1", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "type", - "required": "1", - "type": "ScopedCredentialType" - } - ] - } - }, - "ServiceWorkerMessageEventInit": { - "name": "ServiceWorkerMessageEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "data", - "type": "any" - }, - { - "name": "lastEventId", - "type": "DOMString" - }, - { - "name": "origin", - "type": "DOMString" - }, - { - "name": "ports", - "nullable": "1", - "type": "sequence" - }, - { - "name": "source", - "nullable": "1", - "type": "(ServiceWorker or MessagePort)" - } - ] - } - }, - "SpeechSynthesisEventInit": { - "name": "SpeechSynthesisEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "charIndex", - "default": "0", - "type": "unsigned long" - }, - { - "name": "elapsedTime", - "default": "0", - "type": "float" - }, - { - "name": "name", - "default": "\"\"", - "type": "DOMString" - }, - { - "name": "utterance", - "default": "null", - "nullable": "1", - "type": "SpeechSynthesisUtterance" - } - ] - } - }, - "StoreExceptionsInformation": { - "name": "StoreExceptionsInformation", - "extends": "ExceptionInformation", - "members": { - "member": [ - { - "name": "detailURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "explanationString", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "siteName", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "StoreSiteSpecificExceptionsInformation": { - "name": "StoreSiteSpecificExceptionsInformation", - "extends": "StoreExceptionsInformation", - "members": { - "member": [ - { - "name": "arrayOfDomainStrings", - "type": "sequence" - } - ] - } - }, - "TrackEventInit": { - "name": "TrackEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "track", - "default": "null", - "nullable": "1", - "type": "(VideoTrack or AudioTrack or TextTrack)" - } - ] - } - }, - "TransitionEventInit": { - "name": "TransitionEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "elapsedTime", - "default": "0.0", - "type": "float" - }, - { - "name": "propertyName", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "UIEventInit": { - "name": "UIEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "detail", - "default": "0", - "type": "long" - }, - { - "name": "view", - "default": "null", - "nullable": "1", - "type": "Window" - } - ] - } - }, - "WebAuthnExtensions": { - "name": "WebAuthnExtensions", - "extends": "Object" - }, - "WebGLContextAttributes": { - "name": "WebGLContextAttributes", - "extends": "Object", - "members": { - "member": [ - { - "name": "alpha", - "default": "true", - "type": "boolean" - }, - { - "name": "antialias", - "default": "true", - "type": "boolean" - }, - { - "name": "depth", - "default": "true", - "type": "boolean" - }, - { - "name": "premultipliedAlpha", - "default": "true", - "type": "boolean" - }, - { - "name": "preserveDrawingBuffer", - "default": "false", - "type": "boolean" - }, - { - "name": "stencil", - "default": "false", - "type": "boolean" - } - ] - } - }, - "WebGLContextEventInit": { - "name": "WebGLContextEventInit", - "extends": "EventInit", - "members": { - "member": [ - { - "name": "statusMessage", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "WheelEventInit": { - "name": "WheelEventInit", - "extends": "MouseEventInit", - "members": { - "member": [ - { - "name": "deltaMode", - "default": "0", - "type": "unsigned long" - }, - { - "name": "deltaX", - "default": "0.0", - "type": "double" - }, - { - "name": "deltaY", - "default": "0.0", - "type": "double" - }, - { - "name": "deltaZ", - "default": "0.0", - "type": "double" - } - ] - } - } - } - }, - "enums": { - "enum": { - "AppendMode": { - "name": "AppendMode", - "value": [ - "segments", - "sequence" - ] - }, - "AudioContextState": { - "name": "AudioContextState", - "value": [ - "suspended", - "running", - "closed" - ] - }, - "BiquadFilterType": { - "name": "BiquadFilterType", - "value": [ - "lowpass", - "highpass", - "bandpass", - "lowshelf", - "highshelf", - "peaking", - "notch", - "allpass" - ] - }, - "CanvasFillRule": { - "name": "CanvasFillRule", - "value": [ - "nonzero", - "evenodd" - ] - }, - "ChannelCountMode": { - "name": "ChannelCountMode", - "value": [ - "max", - "clamped-max", - "explicit" - ] - }, - "ChannelInterpretation": { - "name": "ChannelInterpretation", - "value": [ - "speakers", - "discrete" - ] - }, - "DistanceModelType": { - "name": "DistanceModelType", - "value": [ - "linear", - "inverse", - "exponential" - ] - }, - "ExpandGranularity": { - "name": "ExpandGranularity", - "value": [ - "character", - "word", - "sentence", - "textedit" - ] - }, - "GamepadInputEmulationType": { - "name": "GamepadInputEmulationType", - "value": [ - "mouse", - "keyboard", - "gamepad" - ] - }, - "IDBCursorDirection": { - "name": "IDBCursorDirection", - "value": [ - "next", - "nextunique", - "prev", - "prevunique" - ] - }, - "IDBRequestReadyState": { - "name": "IDBRequestReadyState", - "value": [ - "pending", - "done" - ] - }, - "IDBTransactionMode": { - "name": "IDBTransactionMode", - "value": [ - "readonly", - "readwrite", - "versionchange" - ] - }, - "ListeningState": { - "name": "ListeningState", - "value": [ - "inactive", - "active", - "disambiguation" - ] - }, - "MediaDeviceKind": { - "name": "MediaDeviceKind", - "value": [ - "audioinput", - "audiooutput", - "videoinput" - ] - }, - "MediaKeyMessageType": { - "name": "MediaKeyMessageType", - "value": [ - "license-request", - "license-renewal", - "license-release", - "individualization-request" - ] - }, - "MediaKeySessionType": { - "name": "MediaKeySessionType", - "value": [ - "temporary", - "persistent-license", - "persistent-release-message" - ] - }, - "MediaKeysRequirement": { - "name": "MediaKeysRequirement", - "value": [ - "required", - "optional", - "not-allowed" - ] - }, - "MediaKeyStatus": { - "name": "MediaKeyStatus", - "value": [ - "usable", - "expired", - "output-downscaled", - "output-not-allowed", - "status-pending", - "internal-error" - ] - }, - "MediaStreamTrackState": { - "name": "MediaStreamTrackState", - "value": [ - "live", - "ended" - ] - }, - "MSCredentialType": { - "name": "MSCredentialType", - "value": [ - "FIDO_2_0" - ] - }, - "MSIceAddrType": { - "name": "MSIceAddrType", - "value": [ - "os", - "stun", - "turn", - "peer-derived" - ] - }, - "MSIceType": { - "name": "MSIceType", - "value": [ - "failed", - "direct", - "relay" - ] - }, - "MSStatsType": { - "name": "MSStatsType", - "value": [ - "description", - "localclientevent", - "inbound-network", - "outbound-network", - "inbound-payload", - "outbound-payload", - "transportdiagnostics" - ] - }, - "MSTransportType": { - "name": "MSTransportType", - "value": [ - "Embedded", - "USB", - "NFC", - "BT" - ] - }, - "MSWebViewPermissionState": { - "name": "MSWebViewPermissionState", - "value": [ - "unknown", - "defer", - "allow", - "deny" - ] - }, - "MSWebViewPermissionType": { - "name": "MSWebViewPermissionType", - "value": [ - "geolocation", - "unlimitedIndexedDBQuota", - "media", - "pointerlock", - "webnotifications" - ] - }, - "NavigationReason": { - "name": "NavigationReason", - "value": [ - "up", - "down", - "left", - "right" - ] - }, - "NavigationType": { - "name": "NavigationType", - "value": [ - "navigate", - "reload", - "back_forward", - "prerender" - ] - }, - "NotificationDirection": { - "name": "NotificationDirection", - "value": [ - "auto", - "ltr", - "rtl" - ] - }, - "NotificationPermission": { - "name": "NotificationPermission", - "value": [ - "default", - "denied", - "granted" - ] - }, - "OscillatorType": { - "name": "OscillatorType", - "value": [ - "sine", - "square", - "sawtooth", - "triangle", - "custom" - ] - }, - "OverSampleType": { - "name": "OverSampleType", - "value": [ - "none", - "2x", - "4x" - ] - }, - "PanningModelType": { - "name": "PanningModelType", - "value": [ - "equalpower" - ] - }, - "PaymentComplete": { - "name": "PaymentComplete", - "value": [ - "success", - "fail", - "" - ] - }, - "PaymentShippingType": { - "name": "PaymentShippingType", - "value": [ - "shipping", - "delivery", - "pickup" - ] - }, - "PushEncryptionKeyName": { - "name": "PushEncryptionKeyName", - "value": [ - "p256dh", - "auth" - ] - }, - "PushPermissionState": { - "name": "PushPermissionState", - "value": [ - "granted", - "denied", - "prompt" - ] - }, - "ReferrerPolicy": { - "name": "ReferrerPolicy", - "value": [ - "", - "no-referrer", - "no-referrer-when-downgrade", - "origin-only", - "origin-when-cross-origin", - "unsafe-url" - ] - }, - "RequestCache": { - "name": "RequestCache", - "value": [ - "default", - "no-store", - "reload", - "no-cache", - "force-cache" - ] - }, - "RequestCredentials": { - "name": "RequestCredentials", - "value": [ - "omit", - "same-origin", - "include" - ] - }, - "RequestDestination": { - "name": "RequestDestination", - "value": [ - "", - "document", - "sharedworker", - "subresource", - "unknown", - "worker" - ] - }, - "RequestMode": { - "name": "RequestMode", - "value": [ - "navigate", - "same-origin", - "no-cors", - "cors" - ] - }, - "RequestRedirect": { - "name": "RequestRedirect", - "value": [ - "follow", - "error", - "manual" - ] - }, - "RequestType": { - "name": "RequestType", - "value": [ - "", - "audio", - "font", - "image", - "script", - "style", - "track", - "video" - ] - }, - "ResponseType": { - "name": "ResponseType", - "value": [ - "basic", - "cors", - "default", - "error", - "opaque", - "opaqueredirect" - ] - }, - "RTCBundlePolicy": { - "name": "RTCBundlePolicy", - "value": [ - "balanced", - "max-compat", - "max-bundle" - ] - }, - "RTCDegradationPreference": { - "name": "RTCDegradationPreference", - "value": [ - "maintain-framerate", - "maintain-resolution", - "balanced" - ] - }, - "RTCDtlsRole": { - "name": "RTCDtlsRole", - "value": [ - "auto", - "client", - "server" - ] - }, - "RTCDtlsTransportState": { - "name": "RTCDtlsTransportState", - "value": [ - "new", - "connecting", - "connected", - "closed" - ] - }, - "RTCIceCandidateType": { - "name": "RTCIceCandidateType", - "value": [ - "host", - "srflx", - "prflx", - "relay" - ] - }, - "RTCIceComponent": { - "name": "RTCIceComponent", - "value": [ - "RTP", - "RTCP" - ] - }, - "RTCIceConnectionState": { - "name": "RTCIceConnectionState", - "value": [ - "new", - "checking", - "connected", - "completed", - "failed", - "disconnected", - "closed" - ] - }, - "RTCIceGathererState": { - "name": "RTCIceGathererState", - "value": [ - "new", - "gathering", - "complete" - ] - }, - "RTCIceGatheringState": { - "name": "RTCIceGatheringState", - "value": [ - "new", - "gathering", - "complete" - ] - }, - "RTCIceGatherPolicy": { - "name": "RTCIceGatherPolicy", - "value": [ - "all", - "nohost", - "relay" - ] - }, - "RTCIceProtocol": { - "name": "RTCIceProtocol", - "value": [ - "udp", - "tcp" - ] - }, - "RTCIceRole": { - "name": "RTCIceRole", - "value": [ - "controlling", - "controlled" - ] - }, - "RTCIceTcpCandidateType": { - "name": "RTCIceTcpCandidateType", - "value": [ - "active", - "passive", - "so" - ] - }, - "RTCIceTransportPolicy": { - "name": "RTCIceTransportPolicy", - "value": [ - "none", - "relay", - "all" - ] - }, - "RTCIceTransportState": { - "name": "RTCIceTransportState", - "value": [ - "new", - "checking", - "connected", - "completed", - "disconnected", - "closed" - ] - }, - "RTCSdpType": { - "name": "RTCSdpType", - "value": [ - "offer", - "pranswer", - "answer" - ] - }, - "RTCSignalingState": { - "name": "RTCSignalingState", - "value": [ - "stable", - "have-local-offer", - "have-remote-offer", - "have-local-pranswer", - "have-remote-pranswer", - "closed" - ] - }, - "RTCStatsIceCandidatePairState": { - "name": "RTCStatsIceCandidatePairState", - "value": [ - "frozen", - "waiting", - "inprogress", - "failed", - "succeeded", - "cancelled" - ] - }, - "RTCStatsIceCandidateType": { - "name": "RTCStatsIceCandidateType", - "value": [ - "host", - "serverreflexive", - "peerreflexive", - "relayed" - ] - }, - "RTCStatsType": { - "name": "RTCStatsType", - "value": [ - "inboundrtp", - "outboundrtp", - "session", - "datachannel", - "track", - "transport", - "candidatepair", - "localcandidate", - "remotecandidate" - ] - }, - "ScopedCredentialType": { - "name": "ScopedCredentialType", - "value": [ - "ScopedCred" - ] - }, - "ServiceWorkerState": { - "name": "ServiceWorkerState", - "value": [ - "installing", - "installed", - "activating", - "activated", - "redundant" - ] - }, - "Transport": { - "name": "Transport", - "value": [ - "usb", - "nfc", - "ble" - ] - }, - "VideoFacingModeEnum": { - "name": "VideoFacingModeEnum", - "value": [ - "user", - "environment", - "left", - "right" - ] - }, - "VisibilityState": { - "name": "VisibilityState", - "value": [ - "hidden", - "visible", - "prerender", - "unloaded" - ] - }, - "XMLHttpRequestResponseType": { - "name": "XMLHttpRequestResponseType", - "value": [ - "", - "arraybuffer", - "blob", - "document", - "json", - "text" - ] - } - } - }, - "interfaces": { - "interface": { - "AnalyserNode": { - "name": "AnalyserNode", - "extends": "AudioNode", - "methods": { - "method": [ - { - "name": "getByteFrequencyData", - "type": "void", - "param": [ - { - "name": "array", - "type": "Uint8Array" - } - ] - }, - { - "name": "getByteTimeDomainData", - "type": "void", - "param": [ - { - "name": "array", - "type": "Uint8Array" - } - ] - }, - { - "name": "getFloatFrequencyData", - "type": "void", - "param": [ - { - "name": "array", - "type": "Float32Array" - } - ] - }, - { - "name": "getFloatTimeDomainData", - "type": "void", - "param": [ - { - "name": "array", - "type": "Float32Array" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "fftSize", - "type": "unsigned long" - }, - { - "name": "frequencyBinCount", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "maxDecibels", - "type": "double" - }, - { - "name": "minDecibels", - "type": "double" - }, - { - "name": "smoothingTimeConstant", - "type": "double" - } - ] - } - }, - "ANGLE_instanced_arrays": { - "name": "ANGLE_instanced_arrays", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x88FE" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "drawArraysInstancedANGLE", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "first", - "type": "long", - "type-original": "GLint" - }, - { - "name": "count", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "primcount", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "drawElementsInstancedANGLE", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "count", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "offset", - "type": "long long", - "type-original": "GLintptr" - }, - { - "name": "primcount", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "vertexAttribDivisorANGLE", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "divisor", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - } - ] - } - }, - "AnimationEvent": { - "name": "AnimationEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "AnimationEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initAnimationEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "animationNameArg", - "type": "DOMString" - }, - { - "name": "elapsedTimeArg", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "animationName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "elapsedTime", - "read-only": "1", - "type": "float" - } - ] - } - }, - "ApplicationCache": { - "name": "ApplicationCache", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "CHECKING", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "DOWNLOADING", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "IDLE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "OBSOLETE", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "UNCACHED", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "UPDATEREADY", - "type": "unsigned short", - "value": [ - "4" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "progress", - "dispatch": "sync", - "follows": "downloading", - "precedes": "updateready", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "obsolete", - "dispatch": "sync", - "follows": "downloading", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "follows": "downloading", - "skips-window": "1", - "type": "Event" - }, - { - "name": "cached", - "dispatch": "sync", - "follows": "downloading", - "skips-window": "1", - "type": "Event" - }, - { - "name": "updateready", - "dispatch": "sync", - "follows": "progress", - "skips-window": "1", - "type": "Event" - }, - { - "name": "downloading", - "dispatch": "sync", - "follows": "checking", - "precedes": "noupdate progress obsolete cached", - "skips-window": "1", - "type": "Event" - }, - { - "name": "noupdate", - "dispatch": "sync", - "follows": "downloading", - "skips-window": "1", - "type": "Event" - }, - { - "name": "checking", - "dispatch": "sync", - "precedes": "downloading", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "type": "void" - }, - { - "name": "swapCache", - "type": "void" - }, - { - "name": "update", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "oncached", - "event-handler": "cached", - "type": "EventHandler" - }, - { - "name": "onchecking", - "event-handler": "checking", - "type": "EventHandler" - }, - { - "name": "ondownloading", - "event-handler": "downloading", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onnoupdate", - "event-handler": "noupdate", - "type": "EventHandler" - }, - { - "name": "onobsolete", - "event-handler": "obsolete", - "type": "EventHandler" - }, - { - "name": "onprogress", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "onupdateready", - "event-handler": "updateready", - "type": "EventHandler" - }, - { - "name": "status", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "Attr": { - "name": "Attr", - "extends": "Node", - "properties": { - "property": [ - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "ownerElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "prefix", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "specified", - "read-only": "1", - "type": "boolean" - }, - { - "name": "value", - "type": "DOMString" - } - ] - } - }, - "AudioBuffer": { - "name": "AudioBuffer", - "extends": "Object", - "methods": { - "method": [ - { - "name": "copyFromChannel", - "type": "void", - "param": [ - { - "name": "destination", - "type": "Float32Array" - }, - { - "name": "channelNumber", - "type": "long" - }, - { - "name": "startInChannel", - "default": "0", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "copyToChannel", - "type": "void", - "param": [ - { - "name": "source", - "type": "Float32Array" - }, - { - "name": "channelNumber", - "type": "long" - }, - { - "name": "startInChannel", - "default": "0", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "getChannelData", - "type": "Float32Array", - "param": [ - { - "name": "channel", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "duration", - "read-only": "1", - "type": "double" - }, - { - "name": "length", - "read-only": "1", - "type": "long" - }, - { - "name": "numberOfChannels", - "read-only": "1", - "type": "long" - }, - { - "name": "sampleRate", - "read-only": "1", - "type": "float" - } - ] - } - }, - "AudioBufferSourceNode": { - "name": "AudioBufferSourceNode", - "extends": "AudioNode", - "events": { - "event": [ - { - "name": "end", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "start", - "type": "void", - "param": [ - { - "name": "when", - "default": "0", - "optional": "1", - "type": "double" - }, - { - "name": "offset", - "default": "0", - "optional": "1", - "type": "double" - }, - { - "name": "duration", - "optional": "1", - "type": "double" - } - ] - }, - { - "name": "stop", - "type": "void", - "param": [ - { - "name": "when", - "default": "0", - "optional": "1", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "buffer", - "nullable": "1", - "type": "AudioBuffer" - }, - { - "name": "detune", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "loop", - "type": "boolean" - }, - { - "name": "loopEnd", - "type": "double" - }, - { - "name": "loopStart", - "type": "double" - }, - { - "name": "onended", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "playbackRate", - "read-only": "1", - "type": "AudioParam" - } - ] - } - }, - "AudioContext": { - "name": "AudioContext", - "extends": "EventTarget", - "constructor": {}, - "methods": { - "method": [ - { - "name": "close", - "type": "Promise" - }, - { - "name": "createAnalyser", - "type": "AnalyserNode" - }, - { - "name": "createBiquadFilter", - "type": "BiquadFilterNode" - }, - { - "name": "createBuffer", - "type": "AudioBuffer", - "param": [ - { - "name": "numberOfChannels", - "type": "unsigned long" - }, - { - "name": "length", - "type": "unsigned long" - }, - { - "name": "sampleRate", - "type": "float" - } - ] - }, - { - "name": "createBufferSource", - "type": "AudioBufferSourceNode" - }, - { - "name": "createChannelMerger", - "type": "ChannelMergerNode", - "param": [ - { - "name": "numberOfInputs", - "default": "6", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "createChannelSplitter", - "type": "ChannelSplitterNode", - "param": [ - { - "name": "numberOfOutputs", - "default": "6", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "createConvolver", - "type": "ConvolverNode" - }, - { - "name": "createDelay", - "type": "DelayNode", - "param": [ - { - "name": "maxDelayTime", - "default": "1.0", - "optional": "1", - "type": "double" - } - ] - }, - { - "name": "createDynamicsCompressor", - "type": "DynamicsCompressorNode" - }, - { - "name": "createGain", - "type": "GainNode" - }, - { - "name": "createIIRFilter", - "type": "IIRFilterNode", - "param": [ - { - "name": "feedforward", - "type": "sequence" - }, - { - "name": "feedback", - "type": "sequence" - } - ] - }, - { - "name": "createMediaElementSource", - "type": "MediaElementAudioSourceNode", - "param": [ - { - "name": "mediaElement", - "type": "HTMLMediaElement" - } - ] - }, - { - "name": "createMediaStreamSource", - "type": "MediaStreamAudioSourceNode", - "param": [ - { - "name": "mediaStream", - "type": "MediaStream" - } - ] - }, - { - "name": "createOscillator", - "type": "OscillatorNode" - }, - { - "name": "createPanner", - "type": "PannerNode" - }, - { - "name": "createPeriodicWave", - "type": "PeriodicWave", - "param": [ - { - "name": "real", - "type": "Float32Array" - }, - { - "name": "imag", - "type": "Float32Array" - }, - { - "name": "constraints", - "optional": "1", - "type": "PeriodicWaveConstraints" - } - ] - }, - { - "name": "createScriptProcessor", - "type": "ScriptProcessorNode", - "param": [ - { - "name": "bufferSize", - "default": "0", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "numberOfInputChannels", - "default": "2", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "numberOfOutputChannels", - "default": "2", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "createStereoPanner", - "type": "StereoPannerNode" - }, - { - "name": "createWaveShaper", - "type": "WaveShaperNode" - }, - { - "name": "decodeAudioData", - "type": "Promise", - "param": [ - { - "name": "audioData", - "type": "ArrayBuffer" - }, - { - "name": "successCallback", - "optional": "1", - "type": "DecodeSuccessCallback" - }, - { - "name": "errorCallback", - "optional": "1", - "type": "DecodeErrorCallback" - } - ] - }, - { - "name": "resume", - "type": "Promise" - }, - { - "name": "suspend", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "currentTime", - "read-only": "1", - "type": "double" - }, - { - "name": "destination", - "read-only": "1", - "type": "AudioDestinationNode" - }, - { - "name": "listener", - "read-only": "1", - "type": "AudioListener" - }, - { - "name": "onstatechange", - "event-handler": "statechange", - "type": "EventHandler" - }, - { - "name": "sampleRate", - "read-only": "1", - "type": "float" - }, - { - "name": "state", - "read-only": "1", - "type": "AudioContextState" - } - ] - } - }, - "AudioDestinationNode": { - "name": "AudioDestinationNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "maxChannelCount", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "AudioListener": { - "name": "AudioListener", - "extends": "Object", - "methods": { - "method": [ - { - "name": "setOrientation", - "type": "void", - "param": [ - { - "name": "x", - "type": "double" - }, - { - "name": "y", - "type": "double" - }, - { - "name": "z", - "type": "double" - }, - { - "name": "xUp", - "type": "double" - }, - { - "name": "yUp", - "type": "double" - }, - { - "name": "zUp", - "type": "double" - } - ] - }, - { - "name": "setPosition", - "type": "void", - "param": [ - { - "name": "x", - "type": "double" - }, - { - "name": "y", - "type": "double" - }, - { - "name": "z", - "type": "double" - } - ] - }, - { - "name": "setVelocity", - "type": "void", - "param": [ - { - "name": "x", - "type": "double" - }, - { - "name": "y", - "type": "double" - }, - { - "name": "z", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "dopplerFactor", - "type": "double" - }, - { - "name": "speedOfSound", - "type": "double" - } - ] - } - }, - "AudioNode": { - "name": "AudioNode", - "extends": "EventTarget", - "methods": { - "method": [ - { - "name": "connect", - "type": "AudioNode", - "param": [ - { - "name": "destination", - "type": "AudioNode" - }, - { - "name": "output", - "default": "0", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "input", - "default": "0", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "disconnect", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "channelCount", - "type": "unsigned long" - }, - { - "name": "channelCountMode", - "type": "ChannelCountMode" - }, - { - "name": "channelInterpretation", - "type": "ChannelInterpretation" - }, - { - "name": "context", - "read-only": "1", - "type": "AudioContext" - }, - { - "name": "numberOfInputs", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "numberOfOutputs", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "AudioParam": { - "name": "AudioParam", - "extends": "Object", - "methods": { - "method": [ - { - "name": "cancelScheduledValues", - "type": "AudioParam", - "param": [ - { - "name": "startTime", - "type": "double" - } - ] - }, - { - "name": "exponentialRampToValueAtTime", - "type": "AudioParam", - "param": [ - { - "name": "value", - "type": "float" - }, - { - "name": "endTime", - "type": "double" - } - ] - }, - { - "name": "linearRampToValueAtTime", - "type": "AudioParam", - "param": [ - { - "name": "value", - "type": "float" - }, - { - "name": "endTime", - "type": "double" - } - ] - }, - { - "name": "setTargetAtTime", - "type": "AudioParam", - "param": [ - { - "name": "target", - "type": "float" - }, - { - "name": "startTime", - "type": "double" - }, - { - "name": "timeConstant", - "type": "double" - } - ] - }, - { - "name": "setValueAtTime", - "type": "AudioParam", - "param": [ - { - "name": "value", - "type": "float" - }, - { - "name": "startTime", - "type": "double" - } - ] - }, - { - "name": "setValueCurveAtTime", - "type": "AudioParam", - "param": [ - { - "name": "values", - "type": "Float32Array" - }, - { - "name": "startTime", - "type": "double" - }, - { - "name": "duration", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "defaultValue", - "read-only": "1", - "type": "float" - }, - { - "name": "value", - "type": "float" - } - ] - } - }, - "AudioProcessingEvent": { - "name": "AudioProcessingEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "inputBuffer", - "read-only": "1", - "type": "AudioBuffer" - }, - { - "name": "outputBuffer", - "read-only": "1", - "type": "AudioBuffer" - }, - { - "name": "playbackTime", - "read-only": "1", - "type": "double" - } - ] - } - }, - "AudioTrack": { - "name": "AudioTrack", - "extends": "Object", - "properties": { - "property": [ - { - "name": "enabled", - "type": "boolean" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "label", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "language", - "type": "DOMString" - }, - { - "name": "sourceBuffer", - "read-only": "1", - "type": "SourceBuffer" - } - ] - } - }, - "AudioTrackList": { - "name": "AudioTrackList", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "addtrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - }, - { - "name": "removetrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - }, - { - "name": "change", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getTrackById", - "nullable": "1", - "type": "AudioTrack", - "param": [ - { - "name": "id", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "AudioTrack", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "onaddtrack", - "event-handler": "addtrack", - "type": "EventHandler" - }, - { - "name": "onchange", - "event-handler": "change", - "type": "EventHandler" - }, - { - "name": "onremovetrack", - "event-handler": "removetrack", - "type": "EventHandler" - } - ] - } - }, - "BarProp": { - "name": "BarProp", - "extends": "Object", - "properties": { - "property": [ - { - "name": "visible", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "BeforeUnloadEvent": { - "name": "BeforeUnloadEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "returnValue", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "BiquadFilterNode": { - "name": "BiquadFilterNode", - "extends": "AudioNode", - "methods": { - "method": [ - { - "name": "getFrequencyResponse", - "type": "void", - "param": [ - { - "name": "frequencyHz", - "type": "Float32Array" - }, - { - "name": "magResponse", - "type": "Float32Array" - }, - { - "name": "phaseResponse", - "type": "Float32Array" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "detune", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "frequency", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "gain", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "Q", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "type", - "type": "BiquadFilterType" - } - ] - } - }, - "Blob": { - "name": "Blob", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "msClose", - "type": "void" - }, - { - "name": "msDetachStream", - "type": "any" - }, - { - "name": "slice", - "type": "Blob", - "param": [ - { - "name": "start", - "default": "0", - "optional": "1", - "type": "long long" - }, - { - "name": "end", - "default": "0", - "optional": "1", - "type": "long long" - }, - { - "name": "contentType", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "size", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "Cache": { - "name": "Cache", - "extends": "Object", - "methods": { - "method": [ - { - "name": "add", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "request", - "type": "RequestInfo" - } - ] - }, - { - "name": "addAll", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "requests", - "type": "sequence" - } - ] - }, - { - "name": "delete", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "request", - "type": "RequestInfo" - }, - { - "name": "options", - "optional": "1", - "type": "CacheQueryOptions" - } - ] - }, - { - "name": "keys", - "new-object": "1", - "type": "Promise>", - "param": [ - { - "name": "request", - "optional": "1", - "type": "RequestInfo" - }, - { - "name": "options", - "optional": "1", - "type": "CacheQueryOptions" - } - ] - }, - { - "name": "match", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "request", - "type": "RequestInfo" - }, - { - "name": "options", - "optional": "1", - "type": "CacheQueryOptions" - } - ] - }, - { - "name": "matchAll", - "new-object": "1", - "type": "Promise>", - "param": [ - { - "name": "request", - "optional": "1", - "type": "RequestInfo" - }, - { - "name": "options", - "optional": "1", - "type": "CacheQueryOptions" - } - ] - }, - { - "name": "put", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "request", - "type": "RequestInfo" - }, - { - "name": "response", - "type": "Response" - } - ] - } - ] - } - }, - "CacheStorage": { - "name": "CacheStorage", - "extends": "Object", - "secure-context": "1", - "methods": { - "method": [ - { - "name": "delete", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "cacheName", - "type": "DOMString" - } - ] - }, - { - "name": "has", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "cacheName", - "type": "DOMString" - } - ] - }, - { - "name": "keys", - "new-object": "1", - "type": "Promise>" - }, - { - "name": "match", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "request", - "type": "RequestInfo" - }, - { - "name": "options", - "optional": "1", - "type": "CacheQueryOptions" - } - ] - }, - { - "name": "open", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "cacheName", - "type": "DOMString" - } - ] - } - ] - } - }, - "CanvasGradient": { - "name": "CanvasGradient", - "extends": "Object", - "methods": { - "method": [ - { - "name": "addColorStop", - "type": "void", - "param": [ - { - "name": "offset", - "type": "float" - }, - { - "name": "color", - "type": "DOMString" - } - ] - } - ] - } - }, - "CanvasPattern": { - "name": "CanvasPattern", - "extends": "Object" - }, - "CanvasRenderingContext2D": { - "name": "CanvasRenderingContext2D", - "extends": "Object", - "implements": [ - "CanvasPathMethods" - ], - "methods": { - "method": [ - { - "name": "beginPath", - "type": "void" - }, - { - "name": "clearRect", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "w", - "type": "float" - }, - { - "name": "h", - "type": "float" - } - ] - }, - { - "name": "clip", - "type": "void", - "param": [ - { - "name": "fillRule", - "default": "\"nonzero\"", - "optional": "1", - "type": "CanvasFillRule" - } - ] - }, - { - "name": "createImageData", - "type": "ImageData", - "param": [ - { - "name": "imageDataOrSw", - "type": "(float or ImageData)" - }, - { - "name": "sh", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "createLinearGradient", - "type": "CanvasGradient", - "param": [ - { - "name": "x0", - "type": "float" - }, - { - "name": "y0", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - } - ] - }, - { - "name": "createPattern", - "type": "CanvasPattern", - "param": [ - { - "name": "image", - "type": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" - }, - { - "name": "repetition", - "type": "DOMString" - } - ] - }, - { - "name": "createRadialGradient", - "type": "CanvasGradient", - "param": [ - { - "name": "x0", - "type": "float" - }, - { - "name": "y0", - "type": "float" - }, - { - "name": "r0", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "r1", - "type": "float" - } - ] - }, - { - "name": "drawFocusIfNeeded", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "drawImage", - "type": "void", - "param": [ - { - "name": "image", - "type": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" - }, - { - "name": "offsetX", - "type": "float" - }, - { - "name": "offsetY", - "type": "float" - }, - { - "name": "width", - "optional": "1", - "type": "float" - }, - { - "name": "height", - "optional": "1", - "type": "float" - }, - { - "name": "canvasOffsetX", - "optional": "1", - "type": "float" - }, - { - "name": "canvasOffsetY", - "optional": "1", - "type": "float" - }, - { - "name": "canvasImageWidth", - "optional": "1", - "type": "float" - }, - { - "name": "canvasImageHeight", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "fill", - "type": "void", - "param": [ - { - "name": "fillRule", - "default": "\"nonzero\"", - "optional": "1", - "type": "CanvasFillRule" - } - ] - }, - { - "name": "fillRect", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "w", - "type": "float" - }, - { - "name": "h", - "type": "float" - } - ] - }, - { - "name": "fillText", - "type": "void", - "param": [ - { - "name": "text", - "type": "DOMString" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "maxWidth", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "getImageData", - "type": "ImageData", - "param": [ - { - "name": "sx", - "type": "float" - }, - { - "name": "sy", - "type": "float" - }, - { - "name": "sw", - "type": "float" - }, - { - "name": "sh", - "type": "float" - } - ] - }, - { - "name": "getLineDash", - "type": "sequence" - }, - { - "name": "isPointInPath", - "type": "boolean", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "fillRule", - "default": "\"nonzero\"", - "optional": "1", - "type": "CanvasFillRule" - } - ] - }, - { - "name": "measureText", - "type": "TextMetrics", - "param": [ - { - "name": "text", - "type": "DOMString" - } - ] - }, - { - "name": "putImageData", - "type": "void", - "param": [ - { - "name": "imagedata", - "type": "ImageData" - }, - { - "name": "dx", - "type": "float" - }, - { - "name": "dy", - "type": "float" - }, - { - "name": "dirtyX", - "optional": "1", - "type": "float" - }, - { - "name": "dirtyY", - "optional": "1", - "type": "float" - }, - { - "name": "dirtyWidth", - "optional": "1", - "type": "float" - }, - { - "name": "dirtyHeight", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "restore", - "type": "void" - }, - { - "name": "rotate", - "type": "void", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "save", - "type": "void" - }, - { - "name": "scale", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "setLineDash", - "type": "void", - "param": [ - { - "name": "segments", - "type": "sequence" - } - ] - }, - { - "name": "setTransform", - "type": "void", - "param": [ - { - "name": "m11", - "type": "float" - }, - { - "name": "m12", - "type": "float" - }, - { - "name": "m21", - "type": "float" - }, - { - "name": "m22", - "type": "float" - }, - { - "name": "dx", - "type": "float" - }, - { - "name": "dy", - "type": "float" - } - ] - }, - { - "name": "stroke", - "type": "void", - "param": [ - { - "name": "path", - "optional": "1", - "type": "Path2D" - } - ] - }, - { - "name": "strokeRect", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "w", - "type": "float" - }, - { - "name": "h", - "type": "float" - } - ] - }, - { - "name": "strokeText", - "type": "void", - "param": [ - { - "name": "text", - "type": "DOMString" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "maxWidth", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "transform", - "type": "void", - "param": [ - { - "name": "m11", - "type": "float" - }, - { - "name": "m12", - "type": "float" - }, - { - "name": "m21", - "type": "float" - }, - { - "name": "m22", - "type": "float" - }, - { - "name": "dx", - "type": "float" - }, - { - "name": "dy", - "type": "float" - } - ] - }, - { - "name": "translate", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "canvas", - "read-only": "1", - "type": "HTMLCanvasElement" - }, - { - "name": "fillStyle", - "type": "any" - }, - { - "name": "font", - "type": "DOMString" - }, - { - "name": "globalAlpha", - "type": "float" - }, - { - "name": "globalCompositeOperation", - "type": "DOMString" - }, - { - "name": "imageSmoothingEnabled", - "type": "bool" - }, - { - "name": "lineCap", - "type": "DOMString" - }, - { - "name": "lineDashOffset", - "type": "UnrestrictedDouble" - }, - { - "name": "lineJoin", - "type": "DOMString" - }, - { - "name": "lineWidth", - "type": "float" - }, - { - "name": "miterLimit", - "type": "float" - }, - { - "name": "msFillRule", - "type": "CanvasFillRule" - }, - { - "name": "shadowBlur", - "type": "float" - }, - { - "name": "shadowColor", - "type": "DOMString" - }, - { - "name": "shadowOffsetX", - "type": "float" - }, - { - "name": "shadowOffsetY", - "type": "float" - }, - { - "name": "strokeStyle", - "type": "any" - }, - { - "name": "textAlign", - "type": "DOMString" - }, - { - "name": "textBaseline", - "type": "DOMString" - } - ] - } - }, - "CDATASection": { - "name": "CDATASection", - "extends": "Text" - }, - "ChannelMergerNode": { - "name": "ChannelMergerNode", - "extends": "AudioNode" - }, - "ChannelSplitterNode": { - "name": "ChannelSplitterNode", - "extends": "AudioNode" - }, - "CharacterData": { - "name": "CharacterData", - "extends": "Node", - "events": { - "event": [ - { - "name": "DOMCharacterDataModified", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - }, - { - "name": "DOMSubtreeModified", - "bubbles": "1", - "dispatch": "async-and-combine", - "type": "MutationEvent" - } - ] - }, - "implements": [ - "ChildNode" - ], - "methods": { - "method": [ - { - "name": "appendData", - "type": "void", - "param": [ - { - "name": "arg", - "type": "DOMString" - } - ] - }, - { - "name": "deleteData", - "type": "void", - "param": [ - { - "name": "offset", - "type": "unsigned long" - }, - { - "name": "count", - "type": "unsigned long" - } - ] - }, - { - "name": "insertData", - "type": "void", - "param": [ - { - "name": "offset", - "type": "unsigned long" - }, - { - "name": "arg", - "type": "DOMString" - } - ] - }, - { - "name": "replaceData", - "type": "void", - "param": [ - { - "name": "offset", - "type": "unsigned long" - }, - { - "name": "count", - "type": "unsigned long" - }, - { - "name": "arg", - "type": "DOMString" - } - ] - }, - { - "name": "substringData", - "type": "DOMString", - "param": [ - { - "name": "offset", - "type": "unsigned long" - }, - { - "name": "count", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "type": "DOMString" - }, - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "ClientRect": { - "name": "ClientRect", - "extends": "Object", - "properties": { - "property": [ - { - "name": "bottom", - "type": "long" - }, - { - "name": "height", - "read-only": "1", - "type": "float" - }, - { - "name": "left", - "type": "long" - }, - { - "name": "right", - "type": "long" - }, - { - "name": "top", - "type": "long" - }, - { - "name": "width", - "read-only": "1", - "type": "float" - } - ] - } - }, - "ClientRectList": { - "name": "ClientRectList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "ClientRect", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "ClipboardEvent": { - "name": "ClipboardEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "clipboardData", - "read-only": "1", - "type": "DataTransfer" - } - ] - } - }, - "CloseEvent": { - "name": "CloseEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CloseEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initCloseEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "wasCleanArg", - "type": "boolean" - }, - { - "name": "codeArg", - "type": "unsigned short" - }, - { - "name": "reasonArg", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "code", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "reason", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "wasClean", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "Comment": { - "name": "Comment", - "extends": "CharacterData", - "properties": { - "property": [ - { - "name": "text", - "type": "DOMString" - } - ] - } - }, - "CompositionEvent": { - "name": "CompositionEvent", - "extends": "UIEvent", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CompositionEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initCompositionEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "dataArg", - "type": "DOMString" - }, - { - "name": "locale", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "locale", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "Console": { - "name": "Console", - "extends": "Object", - "methods": { - "method": [ - { - "name": "assert", - "type": "void", - "param": [ - { - "name": "test", - "optional": "1", - "type": "boolean" - }, - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "count", - "type": "void", - "param": [ - { - "name": "countTitle", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "debug", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "dir", - "type": "void", - "param": [ - { - "name": "value", - "optional": "1", - "type": "any" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "dirxml", - "type": "void", - "param": [ - { - "name": "value", - "type": "any" - } - ] - }, - { - "name": "error", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "exception", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "group", - "type": "void", - "param": [ - { - "name": "groupTitle", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "groupCollapsed", - "type": "void", - "param": [ - { - "name": "groupTitle", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "groupEnd", - "type": "void" - }, - { - "name": "info", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "log", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "msIsIndependentlyComposed", - "type": "boolean", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "profile", - "type": "void", - "param": [ - { - "name": "reportName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "profileEnd", - "type": "void" - }, - { - "name": "select", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "table", - "type": "void", - "param": [ - { - "name": "data", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "time", - "type": "void", - "param": [ - { - "name": "timerName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "timeEnd", - "type": "void", - "param": [ - { - "name": "timerName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "trace", - "type": "void" - }, - { - "name": "warn", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "DOMString" - }, - { - "name": "optionalParams", - "type": "any", - "variadic": "1" - } - ] - } - ] - } - }, - "ConvolverNode": { - "name": "ConvolverNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "buffer", - "nullable": "1", - "type": "AudioBuffer" - }, - { - "name": "normalize", - "type": "boolean" - } - ] - } - }, - "Coordinates": { - "name": "Coordinates", - "extends": "Object", - "properties": { - "property": [ - { - "name": "accuracy", - "read-only": "1", - "type": "double" - }, - { - "name": "altitude", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "altitudeAccuracy", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "heading", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "latitude", - "read-only": "1", - "type": "double" - }, - { - "name": "longitude", - "read-only": "1", - "type": "double" - }, - { - "name": "speed", - "nullable": "1", - "read-only": "1", - "type": "double" - } - ] - } - }, - "Crypto": { - "name": "Crypto", - "extends": "Object", - "implements": [ - "RandomSource" - ], - "properties": { - "property": [ - { - "name": "subtle", - "read-only": "1", - "type": "SubtleCrypto" - } - ] - } - }, - "CryptoKey": { - "name": "CryptoKey", - "extends": "Object", - "properties": { - "property": [ - { - "name": "algorithm", - "read-only": "1", - "type": "KeyAlgorithm" - }, - { - "name": "extractable", - "read-only": "1", - "type": "boolean" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString", - "type-original": "KeyType" - }, - { - "name": "usages", - "read-only": "1", - "type": "sequence" - } - ] - } - }, - "CryptoKeyPair": { - "name": "CryptoKeyPair", - "extends": "Object", - "properties": { - "property": [ - { - "name": "privateKey", - "type": "CryptoKey" - }, - { - "name": "publicKey", - "type": "CryptoKey" - } - ] - } - }, - "CSS": { - "name": "CSS", - "extends": "Object", - "static": "1", - "methods": { - "method": [ - { - "name": "supports", - "static": "1", - "type": "boolean", - "param": [ - { - "name": "property", - "type": "DOMString" - }, - { - "name": "value", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "CSSConditionRule": { - "name": "CSSConditionRule", - "extends": "CSSGroupingRule", - "properties": { - "property": [ - { - "name": "conditionText", - "type": "DOMString" - } - ] - } - }, - "CSSFontFaceRule": { - "name": "CSSFontFaceRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "style", - "read-only": "1", - "type": "CSSStyleDeclaration" - } - ] - } - }, - "CSSGroupingRule": { - "name": "CSSGroupingRule", - "extends": "CSSRule", - "methods": { - "method": [ - { - "name": "deleteRule", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "insertRule", - "type": "unsigned long", - "param": [ - { - "name": "rule", - "type": "DOMString" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "cssRules", - "read-only": "1", - "type": "CSSRuleList" - } - ] - } - }, - "CSSImportRule": { - "name": "CSSImportRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "href", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "media", - "put-forwards": "mediaText", - "read-only": "1", - "type": "MediaList" - }, - { - "name": "styleSheet", - "read-only": "1", - "type": "CSSStyleSheet" - } - ] - } - }, - "CSSKeyframeRule": { - "name": "CSSKeyframeRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "keyText", - "type": "DOMString" - }, - { - "name": "style", - "read-only": "1", - "type": "CSSStyleDeclaration" - } - ] - } - }, - "CSSKeyframesRule": { - "name": "CSSKeyframesRule", - "extends": "CSSRule", - "methods": { - "method": [ - { - "name": "appendRule", - "type": "void", - "param": [ - { - "name": "rule", - "type": "DOMString" - } - ] - }, - { - "name": "deleteRule", - "type": "void", - "param": [ - { - "name": "rule", - "type": "DOMString" - } - ] - }, - { - "name": "findRule", - "type": "CSSKeyframeRule", - "param": [ - { - "name": "rule", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "cssRules", - "read-only": "1", - "type": "CSSRuleList" - }, - { - "name": "name", - "type": "DOMString" - } - ] - } - }, - "CSSMediaRule": { - "name": "CSSMediaRule", - "extends": "CSSConditionRule", - "properties": { - "property": [ - { - "name": "media", - "put-forwards": "mediaText", - "read-only": "1", - "type": "MediaList" - } - ] - } - }, - "CSSNamespaceRule": { - "name": "CSSNamespaceRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "namespaceURI", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "prefix", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "CSSPageRule": { - "name": "CSSPageRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "pseudoClass", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "selector", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "selectorText", - "type": "DOMString" - }, - { - "name": "style", - "read-only": "1", - "type": "CSSStyleDeclaration" - } - ] - } - }, - "CSSRule": { - "name": "CSSRule", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "CHARSET_RULE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "FONT_FACE_RULE", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "IMPORT_RULE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "KEYFRAME_RULE", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "KEYFRAMES_RULE", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "MEDIA_RULE", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "NAMESPACE_RULE", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "PAGE_RULE", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "STYLE_RULE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SUPPORTS_RULE", - "type": "unsigned short", - "value": [ - "12" - ] - }, - { - "name": "UNKNOWN_RULE", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "VIEWPORT_RULE", - "type": "unsigned short", - "value": [ - "15" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "cssText", - "type": "DOMString" - }, - { - "name": "parentRule", - "read-only": "1", - "type": "CSSRule" - }, - { - "name": "parentStyleSheet", - "read-only": "1", - "type": "CSSStyleSheet" - }, - { - "name": "type", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "CSSRuleList": { - "name": "CSSRuleList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "CSSRule", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "long" - } - ] - } - }, - "CSSStyleDeclaration": { - "name": "CSSStyleDeclaration", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getPropertyPriority", - "type": "DOMString", - "param": [ - { - "name": "propertyName", - "type": "DOMString" - } - ] - }, - { - "name": "getPropertyValue", - "type": "DOMString", - "param": [ - { - "name": "propertyName", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeProperty", - "type": "DOMString", - "param": [ - { - "name": "propertyName", - "type": "DOMString" - } - ] - }, - { - "name": "setProperty", - "type": "void", - "param": [ - { - "name": "propertyName", - "type": "DOMString" - }, - { - "name": "value", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "priority", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "alignContent", - "css-property": "align-content", - "css-property-enum-values": "stretch flex-start flex-end center space-between space-around inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "alignItems", - "css-property": "align-items", - "css-property-enum-values": "stretch flex-start flex-end center baseline inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "alignmentBaseline", - "css-property": "alignment-baseline", - "css-property-enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "alignSelf", - "css-property": "align-self", - "css-property-enum-values": "auto flex-start flex-end center baseline stretch inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animation", - "css-property": "animation", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state animation-name", - "css-property-value-syntax": "css_animation", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationDelay", - "css-property": "animation-delay", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationDirection", - "css-property": "animation-direction", - "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationDuration", - "css-property": "animation-duration", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationFillMode", - "css-property": "animation-fill-mode", - "css-property-enum-values": "none forwards backwards both inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationIterationCount", - "css-property": "animation-iteration-count", - "css-property-enum-values": "infinite inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "comma_separated_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationName", - "css-property": "animation-name", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_keyframes_refs", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationPlayState", - "css-property": "animation-play-state", - "css-property-enum-values": "running paused inherit initial", - "css-property-initial": "running", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "animationTimingFunction", - "css-property": "animation-timing-function", - "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", - "css-property-initial": "ease", - "css-property-value-syntax": "comma_separated_css_timing_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backfaceVisibility", - "css-property": "backface-visibility", - "css-property-enum-values": "visible hidden inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "background", - "css-property": "background", - "css-property-animatable": "1", - "css-property-enum-values": "none left center right top bottom scroll fixed local repeat-x repeat-y repeat space round no-repeat inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size", - "css-property-value-syntax": "css_background", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundAttachment", - "css-property": "background-attachment", - "css-property-enum-values": "scroll fixed local inherit initial", - "css-property-initial": "scroll", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundClip", - "css-property": "background-clip", - "css-property-enum-values": "border-box padding-box content-box inherit initial", - "css-property-initial": "border-box", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundColor", - "css-property": "background-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "transparent", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundImage", - "css-property": "background-image", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_css_urls", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundOrigin", - "css-property": "background-origin", - "css-property-enum-values": "border-box padding-box content-box inherit initial", - "css-property-initial": "padding-box", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundPosition", - "css-property": "background-position", - "css-property-animatable": "1", - "css-property-enum-values": "left center right top bottom inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "background-position-x background-position-y", - "css-property-value-syntax": "comma_separated_0_to_2_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundPositionX", - "css-property": "background-position-x", - "css-property-animatable": "1", - "css-property-enum-values": "left center right inherit initial", - "css-property-initial": "0%", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundPositionY", - "css-property": "background-position-y", - "css-property-animatable": "1", - "css-property-enum-values": "top center bottom inherit initial", - "css-property-initial": "0%", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundRepeat", - "css-property": "background-repeat", - "css-property-enum-values": "repeat-x repeat-y repeat space round no-repeat initial", - "css-property-initial": "repeat", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "backgroundSize", - "css-property": "background-size", - "css-property-animatable": "1", - "css-property-enum-values": "auto cover contain inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "baselineShift", - "css-property": "baseline-shift", - "css-property-enum-values": "baseline sub super inherit initial", - "css-property-initial": "baseline", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "border", - "css-property": "border", - "css-property-animatable": "1", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top border-right border-bottom border-left", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottom", - "css-property": "border-bottom", - "css-property-animatable": "1", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-bottom-width border-bottom-style border-bottom-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottomColor", - "css-property": "border-bottom-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottomLeftRadius", - "css-property": "border-bottom-left-radius", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottomRightRadius", - "css-property": "border-bottom-right-radius", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottomStyle", - "css-property": "border-bottom-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderBottomWidth", - "css-property": "border-bottom-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderCollapse", - "css-property": "border-collapse", - "css-property-enum-values": "separate collapse inherit initial", - "css-property-initial": "separate", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderColor", - "css-property": "border-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top-color border-right-color border-bottom-color border-left-color", - "css-property-value-syntax": "1_to_4_space_separated_css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImage", - "css-property": "border-image", - "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", - "css-property-value-syntax": "css_border_image", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImageOutset", - "css-property": "border-image-outset", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_to_4_space_separated_css_length_or_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImageRepeat", - "css-property": "border-image-repeat", - "css-property-enum-values": "stretch repeat round space inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "1_or_2_space_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImageSlice", - "css-property": "border-image-slice", - "css-property-enum-values": "fill inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImageSource", - "css-property": "border-image-source", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderImageWidth", - "css-property": "border-image-width", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "1px", - "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length_or_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderLeft", - "css-property": "border-left", - "css-property-animatable": "1", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-left-width border-left-style border-left-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderLeftColor", - "css-property": "border-left-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderLeftStyle", - "css-property": "border-left-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderLeftWidth", - "css-property": "border-left-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderRadius", - "css-property": "border-radius", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top-left-radius border-top-right-radius border-bottom-right-radius border-bottom-left-radius", - "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderRight", - "css-property": "border-right", - "css-property-animatable": "1", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-right-width border-right-style border-right-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderRightColor", - "css-property": "border-right-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderRightStyle", - "css-property": "border-right-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderRightWidth", - "css-property": "border-right-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderSpacing", - "css-property": "border-spacing", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderStyle", - "css-property": "border-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top-style border-right-style border-bottom-style border-left-style", - "css-property-value-syntax": "1_to_4_space_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTop", - "css-property": "border-top", - "css-property-animatable": "1", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top-width border-top-style border-top-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTopColor", - "css-property": "border-top-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTopLeftRadius", - "css-property": "border-top-left-radius", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTopRightRadius", - "css-property": "border-top-right-radius", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTopStyle", - "css-property": "border-top-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderTopWidth", - "css-property": "border-top-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "borderWidth", - "css-property": "border-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-top-width border-right-width border-bottom-width border-left-width", - "css-property-value-syntax": "1_to_4_space_separated_css_lengths", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "bottom", - "css-property": "bottom", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "boxShadow", - "css-property": "box-shadow", - "css-property-animatable": "1", - "css-property-enum-values": "none inset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_2_or_4_css_lengths_with_optional_css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "boxSizing", - "css-property": "box-sizing", - "css-property-enum-values": "content-box border-box inherit initial", - "css-property-initial": "content-box", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "breakAfter", - "css-property": "break-after", - "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "breakBefore", - "css-property": "break-before", - "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "breakInside", - "css-property": "break-inside", - "css-property-enum-values": "auto avoid avoid-page avoid-column inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "captionSide", - "css-property": "caption-side", - "css-property-enum-values": "top bottom left right inherit initial", - "css-property-initial": "top", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "clear", - "css-property": "clear", - "css-property-enum-values": "none left right both inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "clip", - "css-property": "clip", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_shape_rect", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "clipPath", - "css-property": "clip-path", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "clipRule", - "css-property": "clip-rule", - "css-property-enum-values": "nonzero evenodd inherit initial", - "css-property-initial": "nonzero", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "color", - "css-property": "color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "colorInterpolationFilters", - "css-property": "color-interpolation-filters", - "css-property-enum-values": "linearRGB auto sRGB inherit initial", - "css-property-initial": "linearRGB", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnCount", - "css-property": "column-count", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "columnFill", - "css-property": "column-fill", - "css-property-enum-values": "auto balance inherit initial", - "css-property-initial": "balance", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnGap", - "css-property": "column-gap", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "columnRule", - "css-property": "column-rule", - "css-property-enum-values": "transparent thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "column-rule-width column-rule-style column-rule-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnRuleColor", - "css-property": "column-rule-color", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "type": "any" - }, - { - "name": "columnRuleStyle", - "css-property": "column-rule-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnRuleWidth", - "css-property": "column-rule-width", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "columns", - "css-property": "columns", - "css-property-enum-values": "auto inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "column-width column-count", - "css-property-value-syntax": "1_or_2_space_separated_css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnSpan", - "css-property": "column-span", - "css-property-enum-values": "none all inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "columnWidth", - "css-property": "column-width", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "content", - "css-property": "content", - "css-property-enum-values": "normal none inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_content", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "counterIncrement", - "css-property": "counter-increment", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "space_separated_token_and_optional_signed_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "counterReset", - "css-property": "counter-reset", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "space_separated_token_and_optional_signed_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "cssFloat", - "css-property": "float", - "css-property-enum-values": "left right none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "cssText", - "type": "DOMString" - }, - { - "name": "cursor", - "css-property": "cursor", - "css-property-enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "direction", - "css-property": "direction", - "css-property-enum-values": "ltr rtl inherit initial", - "css-property-initial": "ltr", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "display", - "css-property": "display", - "css-property-enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "css-property-initial": "inline", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "dominantBaseline", - "css-property": "dominant-baseline", - "css-property-enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "emptyCells", - "css-property": "empty-cells", - "css-property-enum-values": "show hide inherit initial", - "css-property-initial": "show", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "enableBackground", - "css-property": "enable-background", - "css-property-enum-values": "accumulate inherit initial", - "css-property-initial": "accumulate", - "css-property-value-syntax": "svg_enum_new_followed_by_svg_viewbox", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fill", - "css-property": "fill", - "css-property-animatable": "1", - "css-property-enum-values": "none currentColor inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "svg_paint_or_css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fillOpacity", - "css-property": "fill-opacity", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "0_to_1_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fillRule", - "css-property": "fill-rule", - "css-property-enum-values": "nonzero evenodd inherit initial", - "css-property-initial": "nonzero", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "filter", - "css-property": "filter", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "space_separated_filter_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flex", - "css-property": "flex", - "css-property-animatable": "1", - "css-property-enum-values": "auto content none inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "flex-grow flex-shrink flex-basis", - "css-property-value-syntax": "css_flex", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexBasis", - "css-property": "flex-basis", - "css-property-animatable": "1", - "css-property-enum-values": "auto content inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexDirection", - "css-property": "flex-direction", - "css-property-enum-values": "row row-reverse column column-reverse inherit initial", - "css-property-initial": "row", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexFlow", - "css-property": "flex-flow", - "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "flex-direction flex-wrap", - "css-property-value-syntax": "1_or_2_space_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexGrow", - "css-property": "flex-grow", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexShrink", - "css-property": "flex-shrink", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "flexWrap", - "css-property": "flex-wrap", - "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", - "css-property-initial": "nowrap", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "floodColor", - "css-property": "flood-color", - "css-property-animatable": "1", - "css-property-enum-values": "currentColor inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "floodOpacity", - "css-property": "flood-opacity", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "0_to_1_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "font", - "css-property": "font", - "css-property-animatable": "1", - "css-property-enum-values": "caption icon menu message-box small-caption status-bar inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "font-style font-variant font-weight font-stretch font-size line-height font-family", - "css-property-value-syntax": "css_font", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontFamily", - "css-property": "font-family", - "css-property-enum-values": "inherit initial", - "css-property-initial": "serif", - "css-property-value-syntax": "comma_separated_css_font_family_followed_by_generic_family", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontFeatureSettings", - "css-property": "font-feature-settings", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "comma_separated_font_feature_tag", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontSize", - "css-property": "font-size", - "css-property-animatable": "1", - "css-property-enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontSizeAdjust", - "css-property": "font-size-adjust", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontStretch", - "css-property": "font-stretch", - "css-property-enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontStyle", - "css-property": "font-style", - "css-property-enum-values": "normal italic oblique inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontVariant", - "css-property": "font-variant", - "css-property-enum-values": "normal small-caps inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "fontWeight", - "css-property": "font-weight", - "css-property-animatable": "1", - "css-property-enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "glyphOrientationHorizontal", - "css-property": "glyph-orientation-horizontal", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_angle", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "glyphOrientationVertical", - "css-property": "glyph-orientation-vertical", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_angle", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "height", - "css-property": "height", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "imeMode", - "css-property": "ime-mode", - "css-property-enum-values": "auto active inactive disabled initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "justifyContent", - "css-property": "justify-content", - "css-property-enum-values": "flex-start flex-end center space-between space-around inherit initial", - "css-property-initial": "flex-start", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "kerning", - "css-property": "kerning", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "layoutGrid", - "css-property": "layout-grid", - "css-property-enum-values": "none auto line char both loose strict fixed inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "layout-grid-mode layout-grid-type layout-grid-line layout-grid-char", - "css-property-value-syntax": "css_layout_grid", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "layoutGridChar", - "css-property": "layout-grid-char", - "css-property-enum-values": "none auto inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "layoutGridLine", - "css-property": "layout-grid-line", - "css-property-enum-values": "none auto inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "layoutGridMode", - "css-property": "layout-grid-mode", - "css-property-enum-values": "none line char both inherit initial", - "css-property-initial": "both", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "layoutGridType", - "css-property": "layout-grid-type", - "css-property-enum-values": "loose strict fixed inherit initial", - "css-property-initial": "loose", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "left", - "css-property": "left", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "letterSpacing", - "css-property": "letter-spacing", - "css-property-animatable": "1", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "lightingColor", - "css-property": "lighting-color", - "css-property-animatable": "1", - "css-property-enum-values": "currentColor inherit initial", - "css-property-initial": "white", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "lineBreak", - "css-property": "line-break", - "css-property-enum-values": "normal strict inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "lineHeight", - "css-property": "line-height", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_percentage_or_length_or_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "listStyle", - "css-property": "list-style", - "css-property-enum-values": "none inside outside disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "list-style-type list-style-position list-style-image", - "css-property-value-syntax": "css_list_style", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "listStyleImage", - "css-property": "list-style-image", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "listStylePosition", - "css-property": "list-style-position", - "css-property-enum-values": "inside outside inherit initial", - "css-property-initial": "outside", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "listStyleType", - "css-property": "list-style-type", - "css-property-enum-values": "disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", - "css-property-initial": "disc", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "margin", - "css-property": "margin", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "margin-top margin-right margin-bottom margin-left", - "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "marginBottom", - "css-property": "margin-bottom", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "marginLeft", - "css-property": "margin-left", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "marginRight", - "css-property": "margin-right", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "marginTop", - "css-property": "margin-top", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "marker", - "css-property": "marker", - "css-property-enum-values": "none inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "marker-start marker-mid marker-end", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "markerEnd", - "css-property": "marker-end", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "markerMid", - "css-property": "marker-mid", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "markerStart", - "css-property": "marker-start", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "mask", - "css-property": "mask", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_url_of_local_id_ref", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "maxHeight", - "css-property": "max-height", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "maxWidth", - "css-property": "max-width", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "minHeight", - "css-property": "min-height", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "minWidth", - "css-property": "min-width", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZoomChaining", - "css-property": "-ms-content-zoom-chaining", - "css-property-enum-values": "none chained inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZooming", - "css-property": "-ms-content-zooming", - "css-property-enum-values": "none zoom inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZoomLimit", - "css-property": "-ms-content-zoom-limit", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-ms-content-zoom-limit-min -ms-content-zoom-limit-max", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZoomLimitMax", - "css-property": "-ms-content-zoom-limit-max", - "css-property-enum-values": "inherit initial", - "css-property-initial": "400%", - "css-property-value-syntax": "css_percentage", - "type": "any" - }, - { - "name": "msContentZoomLimitMin", - "css-property": "-ms-content-zoom-limit-min", - "css-property-enum-values": "inherit initial", - "css-property-initial": "100%", - "css-property-value-syntax": "css_percentage", - "type": "any" - }, - { - "name": "msContentZoomSnap", - "css-property": "-ms-content-zoom-snap", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-ms-content-zoom-snap-type -ms-content-zoom-snap-points", - "css-property-value-syntax": "css_snap_type_and_points", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZoomSnapPoints", - "css-property": "-ms-content-zoom-snap-points", - "css-property-enum-values": "inherit initial", - "css-property-initial": "snapInterval(0%, 100%)", - "css-property-value-syntax": "snap_interval_or_snap_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msContentZoomSnapType", - "css-property": "-ms-content-zoom-snap-type", - "css-property-enum-values": "none proximity mandatory inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msFlowFrom", - "css-property": "-ms-flow-from", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_tokens", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msFlowInto", - "css-property": "-ms-flow-into", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_tokens", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msFontFeatureSettings", - "css-property": "-ms-font-feature-settings", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "comma_separated_font_feature_tag", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msGridColumn", - "css-property": "-ms-grid-column", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "1_or_greater_integer", - "type": "any" - }, - { - "name": "msGridColumnAlign", - "css-property": "-ms-grid-column-align", - "css-property-enum-values": "stretch start end center inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msGridColumns", - "css-property": "-ms-grid-columns", - "css-property-enum-values": "none auto min-content max-content inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_grid_dimension_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msGridColumnSpan", - "css-property": "-ms-grid-column-span", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "msGridRow", - "css-property": "-ms-grid-row", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "1_or_greater_integer", - "type": "any" - }, - { - "name": "msGridRowAlign", - "css-property": "-ms-grid-row-align", - "css-property-enum-values": "stretch start end center inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msGridRows", - "css-property": "-ms-grid-rows", - "css-property-enum-values": "none auto min-content max-content inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_grid_dimension_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msGridRowSpan", - "css-property": "-ms-grid-row-span", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "msHighContrastAdjust", - "css-property": "-ms-high-contrast-adjust", - "css-property-enum-values": "auto none inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msHyphenateLimitChars", - "css-property": "-ms-hyphenate-limit-chars", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "1_to_3_space_separated_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msHyphenateLimitLines", - "css-property": "-ms-hyphenate-limit-lines", - "css-property-enum-values": "no-limit inherit initial", - "css-property-initial": "no-limit", - "css-property-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "msHyphenateLimitZone", - "css-property": "-ms-hyphenate-limit-zone", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "type": "any" - }, - { - "name": "msHyphens", - "css-property": "-ms-hyphens", - "css-property-enum-values": "none manual auto inherit initial", - "css-property-initial": "manual", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msImeAlign", - "css-property": "-ms-ime-align", - "css-property-enum-values": "auto after inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msOverflowStyle", - "css-property": "-ms-overflow-style", - "css-property-enum-values": "auto none scrollbar -ms-autohiding-scrollbar inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollChaining", - "css-property": "-ms-scroll-chaining", - "css-property-enum-values": "chained none inherit initial", - "css-property-initial": "chained", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollLimit", - "css-property": "-ms-scroll-limit", - "css-property-enum-values": "auto inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-ms-scroll-limit-x-min -ms-scroll-limit-y-min -ms-scroll-limit-x-max -ms-scroll-limit-y-max", - "css-property-value-syntax": "1_to_4_space_separated_css_lengths", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollLimitXMax", - "css-property": "-ms-scroll-limit-x-max", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "msScrollLimitXMin", - "css-property": "-ms-scroll-limit-x-min", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "msScrollLimitYMax", - "css-property": "-ms-scroll-limit-y-max", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "msScrollLimitYMin", - "css-property": "-ms-scroll-limit-y-min", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "msScrollRails", - "css-property": "-ms-scroll-rails", - "css-property-enum-values": "railed none inherit initial", - "css-property-initial": "railed", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollSnapPointsX", - "css-property": "-ms-scroll-snap-points-x", - "css-property-enum-values": "inherit initial", - "css-property-initial": "snapInterval(0, 100%)", - "css-property-value-syntax": "snap_interval_or_snap_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollSnapPointsY", - "css-property": "-ms-scroll-snap-points-y", - "css-property-enum-values": "inherit initial", - "css-property-initial": "snapInterval(0, 100%)", - "css-property-value-syntax": "snap_interval_or_snap_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollSnapType", - "css-property": "-ms-scroll-snap-type", - "css-property-enum-values": "none proximity mandatory inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollSnapX", - "css-property": "-ms-scroll-snap-x", - "css-property-enum-values": "none proximity mandatory inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-x", - "css-property-value-syntax": "css_snap_type_and_points", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollSnapY", - "css-property": "-ms-scroll-snap-y", - "css-property-enum-values": "none proximity mandatory inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-y", - "css-property-value-syntax": "css_snap_type_and_points", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msScrollTranslation", - "css-property": "-ms-scroll-translation", - "css-property-enum-values": "inherit none vertical-to-horizontal", - "css-property-initial": "inherit", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msTextCombineHorizontal", - "css-property": "-ms-text-combine-horizontal", - "css-property-enum-values": "none all digits inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_text_combine_enum_and_digit", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msTextSizeAdjust", - "css-property": "-ms-text-size-adjust", - "css-property-enum-values": "auto none inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage", - "type": "any" - }, - { - "name": "msTouchAction", - "css-property": "-ms-touch-action", - "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msTouchSelect", - "css-property": "-ms-touch-select", - "css-property-enum-values": "grippers none inherit initial", - "css-property-initial": "grippers", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msUserSelect", - "css-property": "-ms-user-select", - "css-property-enum-values": "text none element all inherit initial", - "css-property-initial": "text", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "msWrapFlow", - "css-property": "-ms-wrap-flow", - "css-property-enum-values": "auto both start end maximum clear inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "msWrapMargin", - "css-property": "-ms-wrap-margin", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "msWrapThrough", - "css-property": "-ms-wrap-through", - "css-property-enum-values": "wrap none inherit initial", - "css-property-initial": "wrap", - "css-property-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "opacity", - "css-property": "opacity", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "0_to_1_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "order", - "css-property": "order", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "signed_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "orphans", - "css-property": "orphans", - "css-property-enum-values": "inherit initial", - "css-property-initial": "2", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "outline", - "css-property": "outline", - "css-property-animatable": "1", - "css-property-enum-values": "invert thin medium thick none dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "outline-width outline-style outline-color", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "outlineColor", - "css-property": "outline-color", - "css-property-animatable": "1", - "css-property-enum-values": "invert inherit initial", - "css-property-initial": "invert", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "outlineOffset", - "css-property": "outline-offset", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "outlineStyle", - "css-property": "outline-style", - "css-property-enum-values": "auto none dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "outlineWidth", - "css-property": "outline-width", - "css-property-animatable": "1", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "overflow", - "css-property": "overflow", - "css-property-enum-values": "visible hidden scroll auto inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "overflowX", - "css-property": "overflow-x", - "css-property-enum-values": "visible scroll hidden auto inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "overflowY", - "css-property": "overflow-y", - "css-property-enum-values": "visible scroll hidden auto inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "padding", - "css-property": "padding", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "padding-top padding-right padding-bottom padding-left", - "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "paddingBottom", - "css-property": "padding-bottom", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "paddingLeft", - "css-property": "padding-left", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "paddingRight", - "css-property": "padding-right", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "paddingTop", - "css-property": "padding-top", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "pageBreakAfter", - "css-property": "page-break-after", - "css-property-enum-values": "auto always avoid left right inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "pageBreakBefore", - "css-property": "page-break-before", - "css-property-enum-values": "auto always avoid left right inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "pageBreakInside", - "css-property": "page-break-inside", - "css-property-enum-values": "auto avoid inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "parentRule", - "read-only": "1", - "type": "CSSRule" - }, - { - "name": "perspective", - "css-property": "perspective", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "perspectiveOrigin", - "css-property": "perspective-origin", - "css-property-animatable": "1", - "css-property-enum-values": "left right center top bottom inherit initial", - "css-property-initial": "50% 50%", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "pointerEvents", - "css-property": "pointer-events", - "css-property-enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "position", - "css-property": "position", - "css-property-enum-values": "static relative absolute fixed inherit initial", - "css-property-initial": "static", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "quotes", - "css-property": "quotes", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "space_separated_strings", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "right", - "css-property": "right", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "rotate", - "css-property": "rotate", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0deg 0 0 1", - "css-property-value-syntax": "1_css_angle_followed_by_optional_3_space_separated_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "rubyAlign", - "css-property": "ruby-align", - "css-property-enum-values": "auto left center right distribute-letter distribute-space line-edge inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "rubyOverhang", - "css-property": "ruby-overhang", - "css-property-enum-values": "auto whitespace none inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "rubyPosition", - "css-property": "ruby-position", - "css-property-enum-values": "above inline inherit initial", - "css-property-initial": "above", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "scale", - "css-property": "scale", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0 0 0", - "css-property-value-syntax": "1_to_3_space_separated_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "stopColor", - "css-property": "stop-color", - "css-property-animatable": "1", - "css-property-enum-values": "currentColor inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "stopOpacity", - "css-property": "stop-opacity", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "0_to_1_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "stroke", - "css-property": "stroke", - "css-property-animatable": "1", - "css-property-enum-values": "none currentColor inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "svg_paint_or_css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeDasharray", - "css-property": "stroke-dasharray", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_or_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeDashoffset", - "css-property": "stroke-dashoffset", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeLinecap", - "css-property": "stroke-linecap", - "css-property-enum-values": "butt round square inherit initial", - "css-property-initial": "butt", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeLinejoin", - "css-property": "stroke-linejoin", - "css-property-enum-values": "miter round bevel inherit initial", - "css-property-initial": "miter", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeMiterlimit", - "css-property": "stroke-miterlimit", - "css-property-enum-values": "inherit initial", - "css-property-initial": "4", - "css-property-value-syntax": "1_or_greater_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeOpacity", - "css-property": "stroke-opacity", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "0_to_1_floating_point_number", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "strokeWidth", - "css-property": "stroke-width", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "tableLayout", - "css-property": "table-layout", - "css-property-enum-values": "auto fixed inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textAlign", - "css-property": "text-align", - "css-property-enum-values": "left right center justify inherit initial", - "css-property-initial": "left", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textAlignLast", - "css-property": "text-align-last", - "css-property-enum-values": "auto center inherit justify left right inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textAnchor", - "css-property": "text-anchor", - "css-property-enum-values": "start middle end inherit initial", - "css-property-initial": "start", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textDecoration", - "css-property": "text-decoration", - "css-property-enum-values": "none underline overline line-through blink inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textIndent", - "css-property": "text-indent", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textJustify", - "css-property": "text-justify", - "css-property-enum-values": "auto distribute distribute-all-lines distribute-center-last inter-cluster inter-ideograph inter-word kashida newspaper inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textKashida", - "css-property": "text-kashida", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textKashidaSpace", - "css-property": "text-kashida-space", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "css_percentage", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textOverflow", - "css-property": "text-overflow", - "css-property-enum-values": "clip ellipsis inherit initial", - "css-property-initial": "clip", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textShadow", - "css-property": "text-shadow", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_text_shadow_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textTransform", - "css-property": "text-transform", - "css-property-enum-values": "none capitalize uppercase lowercase inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "textUnderlinePosition", - "css-property": "text-underline-position", - "css-property-enum-values": "auto above below auto-pos inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "top", - "css-property": "top", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "touchAction", - "css-property": "touch-action", - "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transform", - "css-property": "transform", - "css-property-aliases": "-ms-transform", - "css-property-animatable": "1", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_transform_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transformOrigin", - "css-property": "transform-origin", - "css-property-aliases": "-ms-transform-origin", - "css-property-animatable": "1", - "css-property-enum-values": "left center right top bottom inherit initial", - "css-property-initial": "50% 50%", - "css-property-value-syntax": "css_transform_origin", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transformStyle", - "css-property": "transform-style", - "css-property-enum-values": "flat preserve-3d inherit initial", - "css-property-initial": "flat", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transition", - "css-property": "transition", - "css-property-aliases": "-ms-transition", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "transition-property transition-duration transition-timing-function transition-delay", - "css-property-value-syntax": "css_transition", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transitionDelay", - "css-property": "transition-delay", - "css-property-aliases": "-ms-transition-delay", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transitionDuration", - "css-property": "transition-duration", - "css-property-aliases": "-ms-transition-duration", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transitionProperty", - "css-property": "transition-property", - "css-property-aliases": "-ms-transition-property", - "css-property-enum-values": "none all inherit initial", - "css-property-initial": "all", - "css-property-value-syntax": "comma_separated_tokens", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "transitionTimingFunction", - "css-property": "transition-timing-function", - "css-property-aliases": "-ms-transition-timing-function", - "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", - "css-property-initial": "ease", - "css-property-value-syntax": "comma_separated_css_timing_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "translate", - "css-property": "translate", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0px 0px 0px", - "css-property-value-syntax": "1_to_3_space_separated_css_length_and_first_two_optionally_percentage", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "unicodeBidi", - "css-property": "unicode-bidi", - "css-property-enum-values": "normal embed bidi-override inherit", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "verticalAlign", - "css-property": "vertical-align", - "css-property-animatable": "1", - "css-property-enum-values": "baseline auto sub super top middle bottom text-top text-bottom inherit initial", - "css-property-initial": "baseline", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "visibility", - "css-property": "visibility", - "css-property-animatable": "1", - "css-property-enum-values": "visible hidden collapse inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAlignContent", - "css-property": "-webkit-align-content", - "css-property-enum-values": "stretch flex-start flex-end center space-between space-around inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAlignItems", - "css-property": "-webkit-align-items", - "css-property-enum-values": "stretch flex-start flex-end center baseline inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAlignSelf", - "css-property": "-webkit-align-self", - "css-property-enum-values": "auto flex-start flex-end center baseline stretch inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimation", - "css-property": "-webkit-animation", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-animation-duration -webkit-animation-timing-function -webkit-animation-delay -webkit-animation-iteration-count -webkit-animation-direction -webkit-animation-fill-mode -webkit-animation-play-state -webkit-animation-name", - "css-property-value-syntax": "css_animation", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationDelay", - "css-property": "-webkit-animation-delay", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationDirection", - "css-property": "-webkit-animation-direction", - "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationDuration", - "css-property": "-webkit-animation-duration", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationFillMode", - "css-property": "-webkit-animation-fill-mode", - "css-property-enum-values": "none forwards backwards both inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationIterationCount", - "css-property": "-webkit-animation-iteration-count", - "css-property-enum-values": "infinite inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "comma_separated_non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationName", - "css-property": "-webkit-animation-name", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "comma_separated_keyframes_refs", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationPlayState", - "css-property": "-webkit-animation-play-state", - "css-property-enum-values": "running paused inherit initial", - "css-property-initial": "running", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAnimationTimingFunction", - "css-property": "-webkit-animation-timing-function", - "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", - "css-property-initial": "ease", - "css-property-value-syntax": "comma_separated_css_timing_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitAppearance", - "css-property": "-webkit-appearance", - "css-property-enum-values": "none button textfield inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBackfaceVisibility", - "css-property": "-webkit-backface-visibility", - "css-property-enum-values": "visible hidden inherit initial", - "css-property-initial": "visible", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBackgroundClip", - "css-property": "-webkit-background-clip", - "css-property-enum-values": "border-box padding-box content-box inherit initial", - "css-property-initial": "border-box", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBackgroundOrigin", - "css-property": "-webkit-background-origin", - "css-property-enum-values": "border-box padding-box content-box inherit initial", - "css-property-initial": "padding-box", - "css-property-value-syntax": "comma_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBackgroundSize", - "css-property": "-webkit-background-size", - "css-property-enum-values": "auto cover contain inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderBottomLeftRadius", - "css-property": "-webkit-border-bottom-left-radius", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderBottomRightRadius", - "css-property": "-webkit-border-bottom-right-radius", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderImage", - "css-property": "-webkit-border-image", - "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", - "css-property-value-syntax": "css_border_image", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderRadius", - "css-property": "-webkit-border-radius", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-right-radius -webkit-border-bottom-left-radius", - "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderTopLeftRadius", - "css-property": "-webkit-border-top-left-radius", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBorderTopRightRadius", - "css-property": "-webkit-border-top-right-radius", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxAlign", - "css-property": "-webkit-box-align", - "css-property-enum-values": "start center end baseline stretch inherit initial", - "css-property-initial": "stretch", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxDirection", - "css-property": "-webkit-box-direction", - "css-property-initial": "normal", - "css-property-value-syntax": "normal reverse inherit initial", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxFlex", - "css-property": "-webkit-box-flex", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "non_negative_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxOrdinalGroup", - "css-property": "-webkit-box-ordinal-group", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxOrient", - "css-property": "-webkit-box-orient", - "css-property-initial": "inline-axis", - "css-property-value-syntax": "horizontal vertical inline-axis block-axis inherit initial", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxPack", - "css-property": "-webkit-box-pack", - "css-property-enum-values": "start center end justify inherit initial", - "css-property-initial": "start", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitBoxSizing", - "css-property": "-webkit-box-sizing", - "css-property-enum-values": "content-box border-box inherit initial", - "css-property-initial": "content-box", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnBreakAfter", - "css-property": "-webkit-column-break-after", - "css-property-enum-values": "auto always avoid inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnBreakBefore", - "css-property": "-webkit-column-break-before", - "css-property-enum-values": "auto always avoid inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnBreakInside", - "css-property": "-webkit-column-break-inside", - "css-property-enum-values": "auto always avoid inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnCount", - "css-property": "-webkit-column-count", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "webkitColumnGap", - "css-property": "-webkit-column-gap", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "webkitColumnRule", - "css-property": "-webkit-column-rule", - "css-property-enum-values": "transparent thin medium thick inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-column-rule-color -webkit-column-rule-style -webkit-column-rule-width", - "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnRuleColor", - "css-property": "-webkit-column-rule-color", - "css-property-enum-values": "inherit initial", - "css-property-initial": "currentColor", - "css-property-value-syntax": "css_color", - "type": "any" - }, - { - "name": "webkitColumnRuleStyle", - "css-property": "-webkit-column-rule-style", - "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnRuleWidth", - "css-property": "-webkit-column-rule-width", - "css-property-enum-values": "thin medium thick inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "webkitColumns", - "css-property": "-webkit-columns", - "css-property-enum-values": "auto inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-column-width -webkit-column-count", - "css-property-value-syntax": "1_or_2_space_separated_css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnSpan", - "css-property": "-webkit-column-span", - "css-property-enum-values": "none all inherit initial", - "css-property-initial": "medium", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitColumnWidth", - "css-property": "-webkit-column-width", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_length", - "type": "any" - }, - { - "name": "webkitFilter", - "css-property": "-webkit-filter", - "css-property-enum-values": "inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "space_separated_filter_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlex", - "css-property": "-webkit-flex", - "css-property-enum-values": "auto content none inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-flex-grow -webkit-flex-shrink -webkit-flex-basis", - "css-property-value-syntax": "css_flex", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexBasis", - "css-property": "-webkit-flex-basis", - "css-property-enum-values": "auto content inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexDirection", - "css-property": "-webkit-flex-direction", - "css-property-enum-values": "row row-reverse column column-reverse inherit initial", - "css-property-initial": "row", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexFlow", - "css-property": "-webkit-flex-flow", - "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-flex-direction -webkit-flex-wrap", - "css-property-value-syntax": "1_or_2_space_separated_enums", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexGrow", - "css-property": "-webkit-flex-grow", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexShrink", - "css-property": "-webkit-flex-shrink", - "css-property-enum-values": "inherit initial", - "css-property-initial": "1", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitFlexWrap", - "css-property": "-webkit-flex-wrap", - "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", - "css-property-initial": "nowrap", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitJustifyContent", - "css-property": "-webkit-justify-content", - "css-property-enum-values": "flex-start flex-end center space-between space-around inherit initial", - "css-property-initial": "flex-start", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitOrder", - "css-property": "-webkit-order", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "signed_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitPerspective", - "css-property": "-webkit-perspective", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitPerspectiveOrigin", - "css-property": "-webkit-perspective-origin", - "css-property-enum-values": "left right center top bottom inherit initial", - "css-property-initial": "50% 50%", - "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTapHighlightColor", - "css-property": "-webkit-tap-highlight-color", - "css-property-enum-values": "inherit initial", - "css-property-initial": "rgba(0,0,0,0.180392)", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTextFillColor", - "css-property": "-webkit-text-fill-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTextSizeAdjust", - "css-property": "-webkit-text-size-adjust", - "css-property-enum-values": "auto none inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage", - "type": "any" - }, - { - "name": "webkitTextStroke", - "css-property": "-webkit-text-stroke", - "css-property-enum-values": "thin medium thick unset inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-text-stroke-width -webkit-text-stroke-color", - "css-property-value-syntax": "1_or_2_space_separated_of_css_length_css_color_and_enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTextStrokeColor", - "css-property": "-webkit-text-stroke-color", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial", - "css-property-initial": "black", - "css-property-value-syntax": "css_color", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTextStrokeWidth", - "css-property": "-webkit-text-stroke-width", - "css-property-animatable": "1", - "css-property-enum-values": "inherit initial unset thin medium thick", - "css-property-initial": "0", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransform", - "css-property": "-webkit-transform", - "css-property-enum-values": "none inherit initial", - "css-property-initial": "none", - "css-property-value-syntax": "css_transform_list", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransformOrigin", - "css-property": "-webkit-transform-origin", - "css-property-enum-values": "left center right top bottom inherit initial", - "css-property-initial": "50% 50%", - "css-property-value-syntax": "css_transform_origin", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransformStyle", - "css-property": "-webkit-transform-style", - "css-property-enum-values": "flat preserve-3d inherit initial", - "css-property-initial": "flat", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransition", - "css-property": "-webkit-transition", - "css-property-enum-values": "inherit initial", - "css-property-shorthand": "1", - "css-property-subproperties": "-webkit-transition-property -webkit-transition-duration -webkit-transition-timing-function -webkit-transition-delay", - "css-property-value-syntax": "css_transition", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransitionDelay", - "css-property": "-webkit-transition-delay", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransitionDuration", - "css-property": "-webkit-transition-duration", - "css-property-enum-values": "inherit initial", - "css-property-initial": "0", - "css-property-value-syntax": "comma_separated_css_times", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransitionProperty", - "css-property": "-webkit-transition-property", - "css-property-enum-values": "none all inherit initial", - "css-property-initial": "all", - "css-property-value-syntax": "comma_separated_tokens", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitTransitionTimingFunction", - "css-property": "-webkit-transition-timing-function", - "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", - "css-property-initial": "ease", - "css-property-value-syntax": "comma_separated_css_timing_functions", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitUserModify", - "css-property": "-webkit-user-modify", - "css-property-enum-values": "read-only read-write read-write-plaintext-only inherit initial", - "css-property-initial": "read-only", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitUserSelect", - "css-property": "-webkit-user-select", - "css-property-enum-values": "text none element all inherit initial", - "css-property-initial": "text", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "webkitWritingMode", - "css-property": "-webkit-writing-mode", - "css-property-enum-values": "horizontal-tb vertical-lr vertical-rl inherit initial", - "css-property-initial": "horizontal-tb", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "whiteSpace", - "css-property": "white-space", - "css-property-enum-values": "normal pre nowrap pre-wrap pre-line inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "widows", - "css-property": "widows", - "css-property-enum-values": "inherit initial", - "css-property-initial": "2", - "css-property-value-syntax": "1_or_greater_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "width", - "css-property": "width", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "css_percentage_or_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "wordBreak", - "css-property": "word-break", - "css-property-enum-values": "normal break-all keep-all inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "wordSpacing", - "css-property": "word-spacing", - "css-property-animatable": "1", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_length", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "wordWrap", - "css-property": "word-wrap", - "css-property-enum-values": "normal break-word inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "writingMode", - "css-property": "writing-mode", - "css-property-enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit initial", - "css-property-initial": "horizontal-tb", - "css-property-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "zIndex", - "css-property": "z-index", - "css-property-animatable": "1", - "css-property-enum-values": "auto inherit initial", - "css-property-initial": "auto", - "css-property-value-syntax": "signed_integer", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "zoom", - "css-property": "zoom", - "css-property-aliases": "-ms-zoom", - "css-property-animatable": "1", - "css-property-enum-values": "normal inherit initial", - "css-property-initial": "normal", - "css-property-value-syntax": "css_percentage_or_non_negative_floating_point_number", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "CSSStyleRule": { - "name": "CSSStyleRule", - "extends": "CSSRule", - "properties": { - "property": [ - { - "name": "readOnly", - "read-only": "1", - "type": "boolean" - }, - { - "name": "selectorText", - "type": "DOMString" - }, - { - "name": "style", - "read-only": "1", - "type": "CSSStyleDeclaration" - } - ] - } - }, - "CSSStyleSheet": { - "name": "CSSStyleSheet", - "extends": "StyleSheet", - "methods": { - "method": [ - { - "name": "addImport", - "type": "long", - "param": [ - { - "name": "bstrURL", - "type": "DOMString" - }, - { - "name": "lIndex", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "addPageRule", - "type": "long", - "param": [ - { - "name": "bstrSelector", - "type": "DOMString" - }, - { - "name": "bstrStyle", - "type": "DOMString" - }, - { - "name": "lIndex", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "addRule", - "type": "long", - "param": [ - { - "name": "bstrSelector", - "type": "DOMString" - }, - { - "name": "bstrStyle", - "optional": "1", - "type": "DOMString" - }, - { - "name": "lIndex", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "deleteRule", - "type": "void", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "insertRule", - "type": "unsigned long", - "param": [ - { - "name": "rule", - "type": "DOMString" - }, - { - "name": "index", - "default": "0", - "optional": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "removeImport", - "type": "void", - "param": [ - { - "name": "lIndex", - "type": "long" - } - ] - }, - { - "name": "removeRule", - "type": "void", - "param": [ - { - "name": "lIndex", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "cssRules", - "read-only": "1", - "type": "CSSRuleList" - }, - { - "name": "cssText", - "type": "DOMString" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "imports", - "read-only": "1", - "type": "StyleSheetList" - }, - { - "name": "isAlternate", - "read-only": "1", - "type": "boolean" - }, - { - "name": "isPrefAlternate", - "read-only": "1", - "type": "boolean" - }, - { - "name": "ownerRule", - "read-only": "1", - "type": "CSSRule" - }, - { - "name": "owningElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "pages", - "read-only": "1", - "type": "StyleSheetPageList" - }, - { - "name": "readOnly", - "read-only": "1", - "type": "boolean" - }, - { - "name": "rules", - "read-only": "1", - "type": "CSSRuleList" - } - ] - } - }, - "CSSSupportsRule": { - "name": "CSSSupportsRule", - "extends": "CSSConditionRule" - }, - "CustomEvent": { - "name": "CustomEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "CustomEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initCustomEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "detailArg", - "type": "object" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "detail", - "read-only": "1", - "type": "object" - } - ] - } - }, - "DataCue": { - "name": "DataCue", - "extends": "TextTrackCue", - "properties": { - "property": [ - { - "name": "data", - "type": "ArrayBuffer" - } - ] - } - }, - "DataTransfer": { - "name": "DataTransfer", - "extends": "Object", - "methods": { - "method": [ - { - "name": "clearData", - "type": "boolean", - "param": [ - { - "name": "format", - "default": "\"null\"", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getData", - "type": "DOMString", - "param": [ - { - "name": "format", - "type": "DOMString" - } - ] - }, - { - "name": "setData", - "type": "boolean", - "param": [ - { - "name": "format", - "type": "DOMString" - }, - { - "name": "data", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "dropEffect", - "type": "DOMString" - }, - { - "name": "effectAllowed", - "type": "DOMString" - }, - { - "name": "files", - "read-only": "1", - "same-object": "1", - "type": "FileList" - }, - { - "name": "items", - "read-only": "1", - "type": "DataTransferItemList" - }, - { - "name": "types", - "read-only": "1", - "same-object": "1", - "type": "DOMStringList" - } - ] - } - }, - "DataTransferItem": { - "name": "DataTransferItem", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getAsFile", - "nullable": "1", - "type": "File" - }, - { - "name": "getAsString", - "type": "void", - "param": [ - { - "name": "_callback", - "nullable": "1", - "type": "FunctionStringCallback" - } - ] - }, - { - "name": "webkitGetAsEntry", - "nullable": "1", - "type": "Entry" - } - ] - }, - "properties": { - "property": [ - { - "name": "kind", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "DataTransferItemList": { - "name": "DataTransferItemList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "add", - "nullable": "1", - "type": "DataTransferItem", - "param": [ - { - "name": "data", - "type": "File" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "item", - "getter": "1", - "type": "File", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "remove", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "DeferredPermissionRequest": { - "name": "DeferredPermissionRequest", - "extends": "Object", - "methods": { - "method": [ - { - "name": "allow", - "type": "void" - }, - { - "name": "deny", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "id", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "type", - "read-only": "1", - "type": "MSWebViewPermissionType" - }, - { - "name": "uri", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "DelayNode": { - "name": "DelayNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "delayTime", - "read-only": "1", - "type": "AudioParam" - } - ] - } - }, - "DeviceAcceleration": { - "name": "DeviceAcceleration", - "extends": "Object", - "properties": { - "property": [ - { - "name": "x", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "y", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "z", - "nullable": "1", - "read-only": "1", - "type": "double" - } - ] - } - }, - "DeviceLightEvent": { - "name": "DeviceLightEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceLightEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "value", - "read-only": "1", - "type": "double" - } - ] - } - }, - "DeviceMotionEvent": { - "name": "DeviceMotionEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceMotionEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initDeviceMotionEvent", - "type": "void", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "bubbles", - "type": "boolean" - }, - { - "name": "cancelable", - "type": "boolean" - }, - { - "name": "acceleration", - "nullable": "1", - "type": "DeviceAccelerationDict" - }, - { - "name": "accelerationIncludingGravity", - "nullable": "1", - "type": "DeviceAccelerationDict" - }, - { - "name": "rotationRate", - "nullable": "1", - "type": "DeviceRotationRateDict" - }, - { - "name": "interval", - "nullable": "1", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "acceleration", - "nullable": "1", - "read-only": "1", - "type": "DeviceAcceleration" - }, - { - "name": "accelerationIncludingGravity", - "nullable": "1", - "read-only": "1", - "type": "DeviceAcceleration" - }, - { - "name": "interval", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "rotationRate", - "nullable": "1", - "read-only": "1", - "type": "DeviceRotationRate" - } - ] - } - }, - "DeviceOrientationEvent": { - "name": "DeviceOrientationEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "DeviceOrientationEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initDeviceOrientationEvent", - "type": "void", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "bubbles", - "type": "boolean" - }, - { - "name": "cancelable", - "type": "boolean" - }, - { - "name": "alpha", - "nullable": "1", - "type": "double" - }, - { - "name": "beta", - "nullable": "1", - "type": "double" - }, - { - "name": "gamma", - "nullable": "1", - "type": "double" - }, - { - "name": "absolute", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "absolute", - "read-only": "1", - "type": "boolean" - }, - { - "name": "alpha", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "beta", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "gamma", - "nullable": "1", - "read-only": "1", - "type": "double" - } - ] - } - }, - "DeviceRotationRate": { - "name": "DeviceRotationRate", - "extends": "Object", - "properties": { - "property": [ - { - "name": "alpha", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "beta", - "nullable": "1", - "read-only": "1", - "type": "double" - }, - { - "name": "gamma", - "nullable": "1", - "read-only": "1", - "type": "double" - } - ] - } - }, - "Document": { - "name": "Document", - "extends": "Node", - "anonymous-methods": { - "method": [ - { - "getter": "1", - "type": "(Window or Element or HTMLCollection)", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - }, - "events": { - "event": [ - { - "name": "DOMContentLoaded", - "bubbles": "1", - "dispatch": "sync", - "follows": "readystatechange", - "precedes": "load", - "type": "Event" - }, - { - "name": "readystatechange", - "dispatch": "sync", - "precedes": "load DOMContentLoaded", - "type": "Event" - }, - { - "name": "stop", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "visibilitychanged", - "dispatch": "async", - "type": "Event" - }, - { - "name": "MSManipulationStateChanged", - "dispatch": "async", - "type": "MSManipulationEvent" - }, - { - "name": "MSContentZoom", - "dispatch": "sync", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "selectionchange", - "dispatch": "async", - "follows": "selectstart", - "precedes": "select", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "fullscreenchange", - "aliases": "webkitfullscreenchange", - "bubbles": "1", - "dispatch": "async", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "fullscreenerror", - "aliases": "webkitfullscreenerror", - "bubbles": "1", - "dispatch": "async", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "mssitepinned", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "mssitemodejumplistitemremoved", - "dispatch": "sync", - "type": "MSSiteModeEvent" - }, - { - "name": "msthumbnailclick", - "dispatch": "sync", - "type": "MSSiteModeEvent" - } - ] - }, - "implements": [ - "GlobalEventHandlers", - "NodeSelector", - "DocumentEvent" - ], - "methods": { - "method": [ - { - "name": "adoptNode", - "type": "Node", - "param": [ - { - "name": "source", - "type": "Node" - } - ] - }, - { - "name": "captureEvents", - "type": "void" - }, - { - "name": "caretRangeFromPoint", - "type": "Range", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "close", - "type": "void" - }, - { - "name": "createAttribute", - "type": "Attr", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "createAttributeNS", - "type": "Attr", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "qualifiedName", - "type": "DOMString" - } - ] - }, - { - "name": "createCDATASection", - "type": "CDATASection", - "param": [ - { - "name": "data", - "type": "DOMString" - } - ] - }, - { - "name": "createComment", - "type": "Comment", - "param": [ - { - "name": "data", - "type": "DOMString" - } - ] - }, - { - "name": "createDocumentFragment", - "type": "DocumentFragment" - }, - { - "name": "createElement", - "type": "Element", - "param": [ - { - "name": "tagName", - "type": "DOMString" - } - ] - }, - { - "name": "createElementNS", - "type": "Element", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "qualifiedName", - "type": "DOMString" - } - ] - }, - { - "name": "createExpression", - "type": "XPathExpression", - "param": [ - { - "name": "expression", - "type": "DOMString" - }, - { - "name": "resolver", - "type": "XPathNSResolver" - } - ] - }, - { - "name": "createNodeIterator", - "type": "NodeIterator", - "param": [ - { - "name": "root", - "type": "Node" - }, - { - "name": "whatToShow", - "default": "0xFFFFFFFF", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "filter", - "default": "null", - "optional": "1", - "type": "NodeFilter" - }, - { - "name": "entityReferenceExpansion", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "createNSResolver", - "type": "XPathNSResolver", - "param": [ - { - "name": "nodeResolver", - "type": "Node" - } - ] - }, - { - "name": "createProcessingInstruction", - "type": "ProcessingInstruction", - "param": [ - { - "name": "target", - "type": "DOMString" - }, - { - "name": "data", - "type": "DOMString" - } - ] - }, - { - "name": "createRange", - "type": "Range" - }, - { - "name": "createTextNode", - "type": "Text", - "param": [ - { - "name": "data", - "type": "DOMString" - } - ] - }, - { - "name": "createTouch", - "type": "Touch", - "param": [ - { - "name": "view", - "type": "Window" - }, - { - "name": "target", - "type": "EventTarget" - }, - { - "name": "identifier", - "type": "long" - }, - { - "name": "pageX", - "type": "long" - }, - { - "name": "pageY", - "type": "long" - }, - { - "name": "screenX", - "type": "long" - }, - { - "name": "screenY", - "type": "long" - } - ] - }, - { - "name": "createTouchList", - "type": "TouchList", - "param": [ - { - "name": "touches", - "type": "Touch", - "variadic": "1" - } - ] - }, - { - "name": "createTreeWalker", - "type": "TreeWalker", - "param": [ - { - "name": "root", - "type": "Node" - }, - { - "name": "whatToShow", - "default": "0xFFFFFFFF", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "filter", - "default": "null", - "optional": "1", - "type": "NodeFilter" - }, - { - "name": "entityReferenceExpansion", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "elementFromPoint", - "type": "Element", - "param": [ - { - "name": "x", - "type": "long" - }, - { - "name": "y", - "type": "long" - } - ] - }, - { - "name": "evaluate", - "type": "XPathResult", - "param": [ - { - "name": "expression", - "type": "DOMString" - }, - { - "name": "contextNode", - "type": "Node" - }, - { - "name": "resolver", - "type": "XPathNSResolver" - }, - { - "name": "type", - "type": "unsigned short" - }, - { - "name": "result", - "type": "XPathResult" - } - ] - }, - { - "name": "execCommand", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - }, - { - "name": "showUI", - "default": "false", - "optional": "1", - "type": "boolean" - }, - { - "name": "value", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "execCommandShowHelp", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "exitFullscreen", - "type": "void" - }, - { - "name": "exitPointerLock", - "type": "void" - }, - { - "name": "focus", - "type": "void" - }, - { - "name": "getElementById", - "type": "Element", - "param": [ - { - "name": "elementId", - "type": "DOMString" - } - ] - }, - { - "name": "getElementsByClassName", - "type": "NodeList", - "param": [ - { - "name": "classNames", - "type": "DOMString" - } - ] - }, - { - "name": "getElementsByName", - "type": "NodeList", - "param": [ - { - "name": "elementName", - "type": "DOMString" - } - ] - }, - { - "name": "getElementsByTagName", - "type": "NodeList", - "param": [ - { - "name": "tagname", - "type": "DOMString" - } - ] - }, - { - "name": "getElementsByTagNameNS", - "type": "NodeList", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "getSelection", - "type": "Selection" - }, - { - "name": "hasFocus", - "type": "boolean" - }, - { - "name": "importNode", - "type": "Node", - "param": [ - { - "name": "importedNode", - "type": "Node" - }, - { - "name": "deep", - "type": "boolean" - } - ] - }, - { - "name": "msElementsFromPoint", - "type": "NodeList", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "msElementsFromRect", - "type": "NodeList", - "param": [ - { - "name": "left", - "type": "float" - }, - { - "name": "top", - "type": "float" - }, - { - "name": "width", - "type": "float" - }, - { - "name": "height", - "type": "float" - } - ] - }, - { - "name": "open", - "type": "(Document or Window)", - "param": [ - { - "name": "url", - "default": "\"text/html\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "name", - "optional": "1", - "type": "DOMString" - }, - { - "name": "features", - "optional": "1", - "type": "DOMString" - }, - { - "name": "replace", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "queryCommandEnabled", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "queryCommandIndeterm", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "queryCommandState", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "queryCommandSupported", - "type": "boolean", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "queryCommandText", - "type": "DOMString", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "queryCommandValue", - "type": "DOMString", - "param": [ - { - "name": "commandId", - "type": "DOMString" - } - ] - }, - { - "name": "releaseEvents", - "type": "void" - }, - { - "name": "updateSettings", - "type": "void" - }, - { - "name": "webkitCancelFullScreen", - "type": "void" - }, - { - "name": "webkitExitFullscreen", - "type": "void" - }, - { - "name": "write", - "type": "void", - "param": [ - { - "name": "content", - "type": "DOMString", - "variadic": "1" - } - ] - }, - { - "name": "writeln", - "type": "void", - "param": [ - { - "name": "content", - "type": "DOMString", - "variadic": "1" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "activeElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "alinkColor", - "type": "DOMString" - }, - { - "name": "all", - "read-only": "1", - "type": "HTMLAllCollection" - }, - { - "name": "anchors", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "applets", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "bgColor", - "type": "DOMString" - }, - { - "name": "body", - "type": "HTMLElement" - }, - { - "name": "characterSet", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "charset", - "type": "DOMString" - }, - { - "name": "compatMode", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "cookie", - "type": "DOMString" - }, - { - "name": "currentScript", - "read-only": "1", - "type": "(HTMLScriptElement? or SVGScriptElement?)" - }, - { - "name": "defaultView", - "read-only": "1", - "type": "Window" - }, - { - "name": "designMode", - "type": "DOMString" - }, - { - "name": "dir", - "type": "DOMString" - }, - { - "name": "doctype", - "read-only": "1", - "type": "DocumentType" - }, - { - "name": "documentElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "domain", - "property-descriptor-not-configurable": "1", - "type": "DOMString" - }, - { - "name": "embeds", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "fgColor", - "type": "DOMString" - }, - { - "name": "forms", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "fullscreenElement", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "fullscreenEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "head", - "read-only": "1", - "type": "HTMLHeadElement" - }, - { - "name": "hidden", - "read-only": "1", - "type": "boolean" - }, - { - "name": "images", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "implementation", - "read-only": "1", - "type": "DOMImplementation" - }, - { - "name": "inputEncoding", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "lastModified", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "linkColor", - "type": "DOMString" - }, - { - "name": "links", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "location", - "put-forwards": "href", - "read-only": "1", - "type": "Location" - }, - { - "name": "msCapsLockWarningOff", - "type": "boolean" - }, - { - "name": "msCSSOMElementFloatMetrics", - "type": "boolean" - }, - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onactivate", - "event-handler": "activate", - "type": "EventHandler" - }, - { - "name": "onbeforeactivate", - "event-handler": "beforeactivate", - "type": "EventHandler" - }, - { - "name": "onbeforedeactivate", - "event-handler": "beforedeactivate", - "type": "EventHandler" - }, - { - "name": "onblur", - "event-handler": "blur", - "type": "EventHandler" - }, - { - "name": "oncanplay", - "event-handler": "canplay", - "type": "EventHandler" - }, - { - "name": "oncanplaythrough", - "event-handler": "canplaythrough", - "type": "EventHandler" - }, - { - "name": "onchange", - "event-handler": "change", - "type": "EventHandler" - }, - { - "name": "onclick", - "event-handler": "click", - "type": "EventHandler" - }, - { - "name": "oncontextmenu", - "event-handler": "contextmenu", - "type": "EventHandler" - }, - { - "name": "ondblclick", - "event-handler": "dblclick", - "type": "EventHandler" - }, - { - "name": "ondeactivate", - "event-handler": "deactivate", - "type": "EventHandler" - }, - { - "name": "ondrag", - "event-handler": "drag", - "type": "EventHandler" - }, - { - "name": "ondragend", - "event-handler": "dragend", - "type": "EventHandler" - }, - { - "name": "ondragenter", - "event-handler": "dragenter", - "type": "EventHandler" - }, - { - "name": "ondragleave", - "event-handler": "dragleave", - "type": "EventHandler" - }, - { - "name": "ondragover", - "event-handler": "dragover", - "type": "EventHandler" - }, - { - "name": "ondragstart", - "event-handler": "dragstart", - "type": "EventHandler" - }, - { - "name": "ondrop", - "event-handler": "drop", - "type": "EventHandler" - }, - { - "name": "ondurationchange", - "event-handler": "durationchange", - "type": "EventHandler" - }, - { - "name": "onemptied", - "event-handler": "emptied", - "type": "EventHandler" - }, - { - "name": "onended", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onfocus", - "event-handler": "focus", - "type": "EventHandler" - }, - { - "name": "onfullscreenchange", - "event-handler": "fullscreenchange", - "type": "EventHandler" - }, - { - "name": "onfullscreenerror", - "event-handler": "fullscreenerror", - "type": "EventHandler" - }, - { - "name": "oninput", - "event-handler": "input", - "type": "EventHandler" - }, - { - "name": "oninvalid", - "event-handler": "invalid", - "type": "EventHandler" - }, - { - "name": "onkeydown", - "event-handler": "keydown", - "type": "EventHandler" - }, - { - "name": "onkeypress", - "event-handler": "keypress", - "type": "EventHandler" - }, - { - "name": "onkeyup", - "event-handler": "keyup", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onloadeddata", - "event-handler": "loadeddata", - "type": "EventHandler" - }, - { - "name": "onloadedmetadata", - "event-handler": "loadedmetadata", - "type": "EventHandler" - }, - { - "name": "onloadstart", - "event-handler": "loadstart", - "type": "EventHandler" - }, - { - "name": "onmousedown", - "event-handler": "mousedown", - "type": "EventHandler" - }, - { - "name": "onmousemove", - "event-handler": "mousemove", - "type": "EventHandler" - }, - { - "name": "onmouseout", - "event-handler": "mouseout", - "type": "EventHandler" - }, - { - "name": "onmouseover", - "event-handler": "mouseover", - "type": "EventHandler" - }, - { - "name": "onmouseup", - "event-handler": "mouseup", - "type": "EventHandler" - }, - { - "name": "onmousewheel", - "event-handler": "mousewheel", - "type": "EventHandler" - }, - { - "name": "onmscontentzoom", - "event-handler": "MSContentZoom", - "type": "EventHandler" - }, - { - "name": "onmsgesturechange", - "event-handler": "MSGestureChange", - "type": "EventHandler" - }, - { - "name": "onmsgesturedoubletap", - "event-handler": "MSGestureDoubleTap", - "type": "EventHandler" - }, - { - "name": "onmsgestureend", - "event-handler": "MSGestureEnd", - "type": "EventHandler" - }, - { - "name": "onmsgesturehold", - "event-handler": "MSGestureHold", - "type": "EventHandler" - }, - { - "name": "onmsgesturestart", - "event-handler": "MSGestureStart", - "type": "EventHandler" - }, - { - "name": "onmsgesturetap", - "event-handler": "MSGestureTap", - "type": "EventHandler" - }, - { - "name": "onmsinertiastart", - "event-handler": "MSInertiaStart", - "type": "EventHandler" - }, - { - "name": "onmsmanipulationstatechanged", - "event-handler": "MSManipulationStateChanged", - "type": "EventHandler" - }, - { - "name": "onmspointercancel", - "event-handler": "MSPointerCancel", - "type": "EventHandler" - }, - { - "name": "onmspointerdown", - "event-handler": "MSPointerDown", - "type": "EventHandler" - }, - { - "name": "onmspointerenter", - "content-attribute": "onmspointerenter", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerEnter", - "type": "EventHandler" - }, - { - "name": "onmspointerleave", - "content-attribute": "onmspointerleave", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerLeave", - "type": "EventHandler" - }, - { - "name": "onmspointermove", - "event-handler": "MSPointerMove", - "type": "EventHandler" - }, - { - "name": "onmspointerout", - "event-handler": "MSPointerOut", - "type": "EventHandler" - }, - { - "name": "onmspointerover", - "event-handler": "MSPointerOver", - "type": "EventHandler" - }, - { - "name": "onmspointerup", - "event-handler": "MSPointerUp", - "type": "EventHandler" - }, - { - "name": "onmssitemodejumplistitemremoved", - "event-handler": "mssitemodejumplistitemremoved", - "type": "EventHandler" - }, - { - "name": "onmsthumbnailclick", - "event-handler": "msthumbnailclick", - "type": "EventHandler" - }, - { - "name": "onpause", - "event-handler": "pause", - "type": "EventHandler" - }, - { - "name": "onplay", - "event-handler": "play", - "type": "EventHandler" - }, - { - "name": "onplaying", - "event-handler": "playing", - "type": "EventHandler" - }, - { - "name": "onpointerlockchange", - "event-handler": "pointerlockchange", - "type": "EventHandler" - }, - { - "name": "onpointerlockerror", - "event-handler": "pointerlockerror", - "type": "EventHandler" - }, - { - "name": "onprogress", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "onratechange", - "event-handler": "ratechange", - "type": "EventHandler" - }, - { - "name": "onreadystatechange", - "event-handler": "readystatechange", - "lenient-this": "1", - "type": "EventHandler" - }, - { - "name": "onreset", - "event-handler": "reset", - "type": "EventHandler" - }, - { - "name": "onscroll", - "event-handler": "scroll", - "type": "EventHandler" - }, - { - "name": "onseeked", - "event-handler": "seeked", - "type": "EventHandler" - }, - { - "name": "onseeking", - "event-handler": "seeking", - "type": "EventHandler" - }, - { - "name": "onselect", - "event-handler": "select", - "type": "EventHandler" - }, - { - "name": "onselectionchange", - "event-handler": "selectionchange", - "type": "EventHandler" - }, - { - "name": "onselectstart", - "event-handler": "selectstart", - "type": "EventHandler" - }, - { - "name": "onstalled", - "event-handler": "stalled", - "type": "EventHandler" - }, - { - "name": "onstop", - "event-handler": "stop", - "type": "EventHandler" - }, - { - "name": "onsubmit", - "event-handler": "submit", - "type": "EventHandler" - }, - { - "name": "onsuspend", - "event-handler": "suspend", - "type": "EventHandler" - }, - { - "name": "ontimeupdate", - "event-handler": "timeupdate", - "type": "EventHandler" - }, - { - "name": "ontouchcancel", - "event-handler": "touchcancel", - "type": "EventHandler" - }, - { - "name": "ontouchend", - "event-handler": "touchend", - "type": "EventHandler" - }, - { - "name": "ontouchmove", - "event-handler": "touchmove", - "type": "EventHandler" - }, - { - "name": "ontouchstart", - "event-handler": "touchstart", - "type": "EventHandler" - }, - { - "name": "onvolumechange", - "event-handler": "volumechange", - "type": "EventHandler" - }, - { - "name": "onwaiting", - "event-handler": "waiting", - "type": "EventHandler" - }, - { - "name": "onwebkitfullscreenchange", - "event-handler": "webkitfullscreenchange", - "type": "EventHandler" - }, - { - "name": "onwebkitfullscreenerror", - "event-handler": "webkitfullscreenerror", - "type": "EventHandler" - }, - { - "name": "plugins", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "pointerLockElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "readyState", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "referrer", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "rootElement", - "read-only": "1", - "type": "SVGSVGElement" - }, - { - "name": "scripts", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "scrollingElement", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "styleSheets", - "read-only": "1", - "type": "StyleSheetList" - }, - { - "name": "title", - "type": "DOMString" - }, - { - "name": "URL", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "URLUnencoded", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "visibilityState", - "read-only": "1", - "type": "VisibilityState" - }, - { - "name": "vlinkColor", - "type": "DOMString" - }, - { - "name": "webkitCurrentFullScreenElement", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "webkitFullscreenElement", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "webkitFullscreenEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "webkitIsFullScreen", - "read-only": "1", - "type": "boolean" - }, - { - "name": "xmlEncoding", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "xmlStandalone", - "type": "boolean" - }, - { - "name": "xmlVersion", - "nullable": "1", - "type": "DOMString" - } - ] - } - }, - "DocumentFragment": { - "name": "DocumentFragment", - "extends": "Node", - "implements": [ - "NodeSelector" - ] - }, - "DocumentType": { - "name": "DocumentType", - "extends": "Node", - "implements": [ - "ChildNode" - ], - "properties": { - "property": [ - { - "name": "entities", - "read-only": "1", - "type": "NamedNodeMap" - }, - { - "name": "internalSubset", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "notations", - "read-only": "1", - "type": "NamedNodeMap" - }, - { - "name": "publicId", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "systemId", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "DOMError": { - "name": "DOMError", - "extends": "Object", - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "name", - "read-only": "1", - "stringifier": "1", - "type": "DOMString" - } - ] - } - }, - "DOMException": { - "name": "DOMException", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "ABORT_ERR", - "type": "unsigned short", - "value": [ - "20" - ] - }, - { - "name": "DATA_CLONE_ERR", - "type": "unsigned short", - "value": [ - "25" - ] - }, - { - "name": "DOMSTRING_SIZE_ERR", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "HIERARCHY_REQUEST_ERR", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "INDEX_SIZE_ERR", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "INUSE_ATTRIBUTE_ERR", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "INVALID_ACCESS_ERR", - "type": "unsigned short", - "value": [ - "15" - ] - }, - { - "name": "INVALID_CHARACTER_ERR", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "INVALID_MODIFICATION_ERR", - "type": "unsigned short", - "value": [ - "13" - ] - }, - { - "name": "INVALID_NODE_TYPE_ERR", - "type": "unsigned short", - "value": [ - "24" - ] - }, - { - "name": "INVALID_STATE_ERR", - "type": "unsigned short", - "value": [ - "11" - ] - }, - { - "name": "NAMESPACE_ERR", - "type": "unsigned short", - "value": [ - "14" - ] - }, - { - "name": "NETWORK_ERR", - "type": "unsigned short", - "value": [ - "19" - ] - }, - { - "name": "NO_DATA_ALLOWED_ERR", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "NO_MODIFICATION_ALLOWED_ERR", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "NOT_FOUND_ERR", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "NOT_SUPPORTED_ERR", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "PARSE_ERR", - "type": "unsigned short", - "value": [ - "81" - ] - }, - { - "name": "QUOTA_EXCEEDED_ERR", - "type": "unsigned short", - "value": [ - "22" - ] - }, - { - "name": "SECURITY_ERR", - "type": "unsigned short", - "value": [ - "18" - ] - }, - { - "name": "SERIALIZE_ERR", - "type": "unsigned short", - "value": [ - "82" - ] - }, - { - "name": "SYNTAX_ERR", - "type": "unsigned short", - "value": [ - "12" - ] - }, - { - "name": "TIMEOUT_ERR", - "type": "unsigned short", - "value": [ - "23" - ] - }, - { - "name": "TYPE_MISMATCH_ERR", - "type": "unsigned short", - "value": [ - "17" - ] - }, - { - "name": "URL_MISMATCH_ERR", - "type": "unsigned short", - "value": [ - "21" - ] - }, - { - "name": "VALIDATION_ERR", - "type": "unsigned short", - "value": [ - "16" - ] - }, - { - "name": "WRONG_DOCUMENT_ERR", - "type": "unsigned short", - "value": [ - "4" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "code", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "message", - "read-only": "1", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "DOMImplementation": { - "name": "DOMImplementation", - "extends": "Object", - "methods": { - "method": [ - { - "name": "createDocument", - "type": "Document", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "qualifiedName", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "doctype", - "type": "DocumentType" - } - ] - }, - { - "name": "createDocumentType", - "type": "DocumentType", - "param": [ - { - "name": "qualifiedName", - "type": "DOMString" - }, - { - "name": "publicId", - "type": "DOMString" - }, - { - "name": "systemId", - "type": "DOMString" - } - ] - }, - { - "name": "createHTMLDocument", - "type": "Document", - "param": [ - { - "name": "title", - "type": "DOMString" - } - ] - }, - { - "name": "hasFeature", - "type": "boolean" - } - ] - } - }, - "DOMParser": { - "name": "DOMParser", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "parseFromString", - "type": "Document", - "param": [ - { - "name": "source", - "type": "DOMString" - }, - { - "name": "mimeType", - "type": "DOMString" - } - ] - } - ] - } - }, - "DOMSettableTokenList": { - "name": "DOMSettableTokenList", - "extends": "DOMTokenList", - "properties": { - "property": [ - { - "name": "value", - "type": "DOMString" - } - ] - } - }, - "DOMStringList": { - "name": "DOMStringList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "contains", - "type": "boolean", - "param": [ - { - "name": "str", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "DOMStringMap": { - "name": "DOMStringMap", - "extends": "Object", - "anonymous-methods": { - "method": [ - { - "getter": "1", - "type": "DOMString", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "creator": "1", - "setter": "1", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "value", - "type": "DOMString" - } - ] - }, - { - "deleter": "1", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - } - }, - "DOMTokenList": { - "name": "DOMTokenList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "add", - "type": "void", - "param": [ - { - "name": "token", - "type": "DOMString", - "variadic": "1" - } - ] - }, - { - "name": "contains", - "type": "boolean", - "param": [ - { - "name": "token", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "remove", - "type": "void", - "param": [ - { - "name": "token", - "type": "DOMString", - "variadic": "1" - } - ] - }, - { - "name": "toggle", - "type": "boolean", - "param": [ - { - "name": "token", - "type": "DOMString" - }, - { - "name": "force", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "DragEvent": { - "name": "DragEvent", - "extends": "MouseEvent", - "methods": { - "method": [ - { - "name": "initDragEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "long" - }, - { - "name": "clientYArg", - "type": "long" - }, - { - "name": "ctrlKeyArg", - "type": "boolean" - }, - { - "name": "altKeyArg", - "type": "boolean" - }, - { - "name": "shiftKeyArg", - "type": "boolean" - }, - { - "name": "metaKeyArg", - "type": "boolean" - }, - { - "name": "buttonArg", - "type": "unsigned short" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - }, - { - "name": "dataTransferArg", - "type": "DataTransfer" - } - ] - }, - { - "name": "msConvertURL", - "type": "void", - "param": [ - { - "name": "file", - "type": "File" - }, - { - "name": "targetType", - "type": "DOMString" - }, - { - "name": "targetURL", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "dataTransfer", - "read-only": "1", - "type": "DataTransfer" - } - ] - } - }, - "DynamicsCompressorNode": { - "name": "DynamicsCompressorNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "attack", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "knee", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "ratio", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "reduction", - "read-only": "1", - "type": "float" - }, - { - "name": "release", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "threshold", - "read-only": "1", - "type": "AudioParam" - } - ] - } - }, - "Element": { - "name": "Element", - "extends": "Node", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "name": "title" - }, - { - "name": "xml:id" - }, - { - "name": "xml:base", - "value-syntax": "url" - }, - { - "name": "xml:lang" - }, - { - "name": "aria-activedescendant", - "value-syntax": "id_ref" - }, - { - "enum-values": "false true", - "name": "aria-atomic", - "value-syntax": "enum" - }, - { - "enum-values": "none inline list both", - "name": "aria-autocomplete", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-busy", - "value-syntax": "enum" - }, - { - "enum-values": "true false mixed", - "name": "aria-checked", - "value-syntax": "enum" - }, - { - "name": "aria-controls", - "value-syntax": "space_separated_id_refs" - }, - { - "name": "aria-describedby", - "value-syntax": "space_separated_id_refs" - }, - { - "enum-values": "false true", - "name": "aria-disabled", - "value-syntax": "enum" - }, - { - "enum-values": "none copy move link execute popup", - "name": "aria-dropeffect", - "value-syntax": "space_separated_enums" - }, - { - "enum-values": "undefined true false", - "name": "aria-expanded", - "value-syntax": "enum" - }, - { - "name": "aria-flowto", - "value-syntax": "space_separated_id_refs" - }, - { - "enum-values": "undefined true false", - "name": "aria-grabbed", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-haspopup", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-hidden", - "value-syntax": "enum" - }, - { - "enum-values": "false grammar spelling true", - "name": "aria-invalid", - "value-syntax": "enum" - }, - { - "name": "aria-label" - }, - { - "name": "aria-labelledby", - "value-syntax": "space_separated_id_refs" - }, - { - "name": "aria-level", - "value-syntax": "non_negative_integer" - }, - { - "enum-values": "off polite assertive", - "name": "aria-live", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-multiline", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-multiselectable", - "value-syntax": "enum" - }, - { - "enum-values": "horizontal vertical", - "name": "aria-orientation", - "value-syntax": "enum" - }, - { - "name": "aria-owns", - "value-syntax": "space_separated_id_refs" - }, - { - "name": "aria-posinset", - "value-syntax": "non_negative_integer" - }, - { - "enum-values": "true false mixed", - "name": "aria-pressed", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "aria-readonly", - "value-syntax": "enum" - }, - { - "enum-values": "additions removals text all", - "name": "aria-relevant", - "value-syntax": "space_separated_enums" - }, - { - "enum-values": "false true", - "name": "aria-required", - "value-syntax": "enum" - }, - { - "enum-values": "undefined true false", - "name": "aria-selected", - "value-syntax": "enum" - }, - { - "name": "aria-setsize", - "value-syntax": "non_negative_integer" - }, - { - "enum-values": "none ascending descending other", - "name": "aria-sort", - "value-syntax": "enum" - }, - { - "name": "aria-valuemax", - "value-syntax": "floating_point_number" - }, - { - "name": "aria-valuemin", - "value-syntax": "floating_point_number" - }, - { - "name": "aria-valuenow", - "value-syntax": "floating_point_number" - }, - { - "name": "x-ms-aria-flowfrom", - "value-syntax": "space_separated_id_refs" - }, - { - "enum-values": "alert alertdialog application article banner button checkbox columnheader combobox complementary contentinfo definition dialog directory document form grid gridcell group heading img link list listbox listitem log main marquee math menu menubar menuitem menuitemcheckbox menuitemradio navigation note option presentation progressbar radio radiogroup region row rowgroup rowheader scrollbar search separator slider spinbutton status tab tablist tabpanel textbox timer toolbar tooltip tree treegrid treeitem", - "name": "role", - "value-syntax": "enum" - } - ] - }, - "events": { - "event": [ - { - "name": "click", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "mouseup pointerup MSPointerUp", - "precedes": "dblclick", - "type": "MouseEvent" - }, - { - "name": "dblclick", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "click", - "type": "MouseEvent" - }, - { - "name": "mousemove", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "MouseEvent" - }, - { - "name": "mouseover", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "mouseout", - "type": "MouseEvent" - }, - { - "name": "mouseout", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "mouseover", - "type": "MouseEvent" - }, - { - "name": "mousedown", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "mouseup", - "type": "MouseEvent" - }, - { - "name": "mouseup", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "mousedown", - "precedes": "click", - "type": "MouseEvent" - }, - { - "name": "mouseenter", - "dispatch": "sync", - "precedes": "mouseleave", - "type": "MouseEvent" - }, - { - "name": "mouseleave", - "dispatch": "sync", - "follows": "mouseenter", - "type": "MouseEvent" - }, - { - "name": "MSHoldVisual", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "tags": "IEOnly", - "type": "MouseEvent" - }, - { - "name": "wheel", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "WheelEvent" - }, - { - "name": "mousewheel", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "WheelEvent" - }, - { - "name": "MSPointerDown", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "MSPointerMove", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerMove", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSPointerDown", - "precedes": "MSPointerUp MSPointerCancel", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerUp", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSPointerMove", - "precedes": "click", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerOver", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "MSPointerOut", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerOut", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSPointerOver", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerCancel", - "bubbles": "1", - "dispatch": "sync", - "follows": "MSPointerMove", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerHover", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSGotPointerCapture", - "bubbles": "1", - "dispatch": "sync", - "precedes": "MSLostPointerCapture", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSLostPointerCapture", - "bubbles": "1", - "dispatch": "sync", - "follows": "MSGotPointerCapture", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerEnter", - "dispatch": "sync", - "precedes": "MSPointerLeave", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSPointerLeave", - "dispatch": "sync", - "follows": "MSPointerEnter", - "tags": "IEOnly", - "type": "MSPointerEvent" - }, - { - "name": "MSGestureStart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "MSGestureChange", - "type": "MSGestureEvent" - }, - { - "name": "MSGestureChange", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSGestureStart", - "precedes": "MSInertiaStart MSGestureEnd", - "type": "MSGestureEvent" - }, - { - "name": "MSGestureEnd", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSGestureChange", - "type": "MSGestureEvent" - }, - { - "name": "MSGestureHold", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "MSGestureEvent" - }, - { - "name": "MSGestureTap", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "MSGestureEvent" - }, - { - "name": "MSGestureDoubleTap", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "MSGestureEvent" - }, - { - "name": "MSInertiaStart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "MSGestureChange", - "type": "MSGestureEvent" - }, - { - "name": "pointerenter", - "aliases": "MSPointerEnter", - "dispatch": "sync", - "precedes": "pointerleave", - "type": "PointerEvent" - }, - { - "name": "pointerleave", - "aliases": "MSPointerLeave", - "dispatch": "sync", - "follows": "pointerenter", - "type": "PointerEvent" - }, - { - "name": "pointerdown", - "aliases": "MSPointerDown", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "pointermove", - "type": "PointerEvent" - }, - { - "name": "pointermove", - "aliases": "MSPointerMove", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "pointerdown", - "precedes": "pointerup pointercancel", - "type": "PointerEvent" - }, - { - "name": "pointerup", - "aliases": "MSPointerUp", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "pointermove", - "precedes": "click", - "type": "PointerEvent" - }, - { - "name": "pointerover", - "aliases": "MSPointerOver", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "pointerout", - "type": "PointerEvent" - }, - { - "name": "pointerout", - "aliases": "MSPointerOut", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "pointerover", - "type": "PointerEvent" - }, - { - "name": "pointercancel", - "aliases": "MSPointerCancel", - "bubbles": "1", - "dispatch": "sync", - "follows": "pointermove", - "type": "PointerEvent" - }, - { - "name": "gotpointercapture", - "aliases": "MSGotPointerCapture", - "bubbles": "1", - "dispatch": "sync", - "precedes": "lostpointercapture", - "type": "PointerEvent" - }, - { - "name": "lostpointercapture", - "aliases": "MSLostPointerCapture", - "bubbles": "1", - "dispatch": "sync", - "follows": "gotpointercapture", - "type": "PointerEvent" - }, - { - "name": "contextmenu", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "PointerEvent" - }, - { - "name": "touchstart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "touchmove", - "tags": "WinPhoneOnly", - "type": "TouchEvent" - }, - { - "name": "touchend", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "touchmove", - "tags": "WinPhoneOnly", - "type": "TouchEvent" - }, - { - "name": "touchmove", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "touchstart", - "precedes": "touchend touchcancel", - "tags": "WinPhoneOnly", - "type": "TouchEvent" - }, - { - "name": "touchcancel", - "bubbles": "1", - "dispatch": "sync", - "follows": "touchmove", - "tags": "WinPhoneOnly", - "type": "TouchEvent" - }, - { - "name": "selectstart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "select selectionchange", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "select", - "bubbles": "1", - "dispatch": "sync", - "follows": "selectstart selectionchange", - "type": "UIEvent" - }, - { - "name": "mscontrolselect", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "mscontrolresizestart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "mscontrolresizeend", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "mscontrolresizeend", - "bubbles": "1", - "dispatch": "sync", - "follows": "mscontrolresizestart", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "msbeforeeditfocus", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "keyup", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "keydown keypress", - "type": "KeyboardEvent" - }, - { - "name": "keydown", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "keyup keypress", - "type": "KeyboardEvent" - }, - { - "name": "keypress", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "keydown", - "precedes": "keyup", - "type": "KeyboardEvent" - }, - { - "name": "textInput", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "TextEvent" - }, - { - "name": "compositionstart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "compositionupdate compositionend", - "type": "CompositionEvent" - }, - { - "name": "compositionupdate", - "bubbles": "1", - "dispatch": "sync", - "follows": "compositionstart", - "precedes": "compositionend", - "type": "CompositionEvent" - }, - { - "name": "compositionend", - "bubbles": "1", - "dispatch": "sync", - "follows": "compositionstart compositionupdate", - "type": "CompositionEvent" - }, - { - "name": "drag", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "dragstart", - "precedes": "dragend", - "type": "DragEvent" - }, - { - "name": "dragstart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "drag", - "type": "DragEvent" - }, - { - "name": "dragenter", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "drag", - "precedes": "dragover drop", - "type": "DragEvent" - }, - { - "name": "dragover", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "dragenter", - "precedes": "dragleave drop", - "type": "DragEvent" - }, - { - "name": "dragleave", - "bubbles": "1", - "dispatch": "sync", - "follows": "dragover", - "precedes": "drag", - "type": "DragEvent" - }, - { - "name": "dragend", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "drag", - "type": "DragEvent" - }, - { - "name": "drop", - "bubbles": "1", - "dispatch": "sync", - "follows": "dragenter dragover", - "type": "DragEvent" - }, - { - "name": "copy", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "beforecopy", - "type": "ClipboardEvent" - }, - { - "name": "cut", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "beforecut", - "type": "ClipboardEvent" - }, - { - "name": "paste", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "beforepaste", - "type": "ClipboardEvent" - }, - { - "name": "beforecopy", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "copy", - "tags": "IEOnly", - "type": "ClipboardEvent" - }, - { - "name": "beforecut", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "cut", - "tags": "IEOnly", - "type": "ClipboardEvent" - }, - { - "name": "beforepaste", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "paste", - "tags": "IEOnly", - "type": "ClipboardEvent" - }, - { - "name": "focus", - "dispatch": "sync", - "precedes": "blur", - "type": "FocusEvent" - }, - { - "name": "blur", - "dispatch": "sync", - "follows": "focus", - "type": "FocusEvent" - }, - { - "name": "focusin", - "aliases": "DOMFocusIn", - "bubbles": "1", - "dispatch": "sync", - "precedes": "focusout", - "type": "FocusEvent" - }, - { - "name": "focusout", - "aliases": "DOMFocusOut", - "bubbles": "1", - "dispatch": "sync", - "follows": "focusin", - "type": "FocusEvent" - }, - { - "name": "activate", - "bubbles": "1", - "dispatch": "sync", - "follows": "beforeactivate", - "precedes": "beforedeactivate", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "deactivate", - "bubbles": "1", - "dispatch": "sync", - "follows": "beforedeactivate", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "beforeactivate", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "precedes": "activate", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "beforedeactivate", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "follows": "activate", - "precedes": "deactivate", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "mselementresize", - "dispatch": "sync", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "scroll", - "dispatch": "async", - "type": "UIEvent" - }, - { - "name": "MSManipulationStateChanged", - "dispatch": "async", - "tags": "IEOnly", - "type": "MSManipulationEvent" - }, - { - "name": "MSContentZoom", - "dispatch": "async", - "tags": "IEOnly", - "type": "UIEvent" - }, - { - "name": "MSRegionUpdate", - "bubbles": "1", - "dispatch": "async", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "transitionstart", - "aliases": "MSTransitionStart webkitTransitionStart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "async", - "precedes": "transitionend", - "type": "TransitionEvent" - }, - { - "name": "transitionend", - "aliases": "MSTransitionEnd webkitTransitionEnd", - "bubbles": "1", - "cancelable": "1", - "dispatch": "async", - "follows": "transitionstart", - "type": "TransitionEvent" - }, - { - "name": "animationstart", - "aliases": "MSAnimationStart webkitAnimationStart", - "bubbles": "1", - "cancelable": "1", - "dispatch": "async", - "precedes": "animationend animationiteration", - "type": "AnimationEvent" - }, - { - "name": "animationend", - "aliases": "MSAnimationEnd webkitAnimationEnd", - "bubbles": "1", - "cancelable": "1", - "dispatch": "async", - "follows": "animationstart animationiteration", - "type": "AnimationEvent" - }, - { - "name": "animationiteration", - "aliases": "MSAnimationIteration webkitAnimationIteration", - "bubbles": "1", - "cancelable": "1", - "dispatch": "async", - "follows": "animationstart", - "precedes": "animationend", - "type": "AnimationEvent" - }, - { - "name": "DOMAttrModified", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - }, - { - "name": "DOMNodeInserted", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - }, - { - "name": "DOMNodeRemoved", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - }, - { - "name": "DOMSubtreeModified", - "bubbles": "1", - "dispatch": "async-and-combine", - "type": "MutationEvent" - }, - { - "name": "overflowchanged", - "dispatch": "async", - "type": "OverflowEvent" - } - ] - }, - "implements": [ - "GlobalEventHandlers", - "ElementTraversal", - "NodeSelector", - "ChildNode" - ], - "methods": { - "method": [ - { - "name": "getAttribute", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "qualifiedName", - "type": "DOMString" - } - ] - }, - { - "name": "getAttributeNode", - "type": "Attr", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getAttributeNodeNS", - "type": "Attr", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "getAttributeNS", - "type": "DOMString", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "getBoundingClientRect", - "type": "ClientRect" - }, - { - "name": "getClientRects", - "type": "ClientRectList" - }, - { - "name": "getElementsByTagName", - "type": "NodeList", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getElementsByTagNameNS", - "type": "NodeList", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "hasAttribute", - "type": "boolean", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "hasAttributeNS", - "type": "boolean", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "msGetRegionContent", - "type": "MSRangeCollection" - }, - { - "name": "msGetUntransformedBounds", - "type": "ClientRect" - }, - { - "name": "msMatchesSelector", - "type": "boolean", - "param": [ - { - "name": "selectors", - "type": "DOMString" - } - ] - }, - { - "name": "msReleasePointerCapture", - "type": "void", - "param": [ - { - "name": "pointerId", - "type": "long" - } - ] - }, - { - "name": "msSetPointerCapture", - "type": "void", - "param": [ - { - "name": "pointerId", - "type": "long" - } - ] - }, - { - "name": "msZoomTo", - "type": "void", - "param": [ - { - "name": "args", - "type": "MsZoomToOptions" - } - ] - }, - { - "name": "releasePointerCapture", - "type": "void", - "param": [ - { - "name": "pointerId", - "type": "long" - } - ] - }, - { - "name": "removeAttribute", - "type": "void", - "param": [ - { - "name": "qualifiedName", - "type": "DOMString" - } - ] - }, - { - "name": "removeAttributeNode", - "type": "Attr", - "param": [ - { - "name": "oldAttr", - "type": "Attr" - } - ] - }, - { - "name": "removeAttributeNS", - "type": "void", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "requestFullscreen", - "type": "void" - }, - { - "name": "requestPointerLock", - "type": "void" - }, - { - "name": "setAttribute", - "type": "void", - "param": [ - { - "name": "qualifiedName", - "type": "DOMString" - }, - { - "name": "value", - "type": "DOMString" - } - ] - }, - { - "name": "setAttributeNode", - "type": "Attr", - "param": [ - { - "name": "newAttr", - "type": "Attr" - } - ] - }, - { - "name": "setAttributeNodeNS", - "type": "Attr", - "param": [ - { - "name": "newAttr", - "type": "Attr" - } - ] - }, - { - "name": "setAttributeNS", - "type": "void", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "qualifiedName", - "type": "DOMString" - }, - { - "name": "value", - "treat-null-as": "EmptyString", - "type": "DOMString" - } - ] - }, - { - "name": "setPointerCapture", - "type": "void", - "param": [ - { - "name": "pointerId", - "type": "long" - } - ] - }, - { - "name": "webkitMatchesSelector", - "type": "boolean", - "param": [ - { - "name": "selectors", - "type": "DOMString" - } - ] - }, - { - "name": "webkitRequestFullscreen", - "type": "void" - }, - { - "name": "webkitRequestFullScreen", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "classList", - "content-attribute": "class", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "read-only": "1", - "type": "DOMTokenList" - }, - { - "name": "className", - "content-attribute": "class", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "type": "DOMString" - }, - { - "name": "clientHeight", - "read-only": "1", - "type": "long" - }, - { - "name": "clientLeft", - "read-only": "1", - "type": "long" - }, - { - "name": "clientTop", - "read-only": "1", - "type": "long" - }, - { - "name": "clientWidth", - "read-only": "1", - "type": "long" - }, - { - "name": "id", - "content-attribute": "id", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "innerHTML", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "msContentZoomFactor", - "type": "float" - }, - { - "name": "msRegionOverflow", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "onariarequest", - "event-handler": "ariarequest", - "type": "EventHandler" - }, - { - "name": "oncommand", - "event-handler": "command", - "type": "EventHandler" - }, - { - "name": "ongotpointercapture", - "content-attribute": "ongotpointercapture", - "content-attribute-value-syntax": "javascript", - "event-handler": "gotpointercapture", - "type": "EventHandler" - }, - { - "name": "onlostpointercapture", - "content-attribute": "onlostpointercapture", - "content-attribute-value-syntax": "javascript", - "event-handler": "lostpointercapture", - "type": "EventHandler" - }, - { - "name": "onmsgesturechange", - "content-attribute": "onmsgesturechange", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureChange", - "type": "EventHandler" - }, - { - "name": "onmsgesturedoubletap", - "content-attribute": "onmsgesturedoubletap", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureDoubleTap", - "type": "EventHandler" - }, - { - "name": "onmsgestureend", - "content-attribute": "onmsgestureend", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureEnd", - "type": "EventHandler" - }, - { - "name": "onmsgesturehold", - "content-attribute": "onmsgesturehold", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureHold", - "type": "EventHandler" - }, - { - "name": "onmsgesturestart", - "content-attribute": "onmsgesturestart", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureStart", - "type": "EventHandler" - }, - { - "name": "onmsgesturetap", - "content-attribute": "onmsgesturetap", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGestureTap", - "type": "EventHandler" - }, - { - "name": "onmsgotpointercapture", - "content-attribute": "onmsgotpointercapture", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSGotPointerCapture", - "type": "EventHandler" - }, - { - "name": "onmsinertiastart", - "content-attribute": "onmsinertiastart", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSInertiaStart", - "type": "EventHandler" - }, - { - "name": "onmslostpointercapture", - "content-attribute": "onmslostpointercapture", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSLostPointerCapture", - "type": "EventHandler" - }, - { - "name": "onmspointercancel", - "content-attribute": "onmspointercancel", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerCancel", - "type": "EventHandler" - }, - { - "name": "onmspointerdown", - "content-attribute": "onmspointerdown", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerDown", - "type": "EventHandler" - }, - { - "name": "onmspointerenter", - "content-attribute": "onmspointerenter", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerEnter", - "type": "EventHandler" - }, - { - "name": "onmspointerleave", - "content-attribute": "onmspointerleave", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerLeave", - "type": "EventHandler" - }, - { - "name": "onmspointermove", - "content-attribute": "onmspointermove", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerMove", - "type": "EventHandler" - }, - { - "name": "onmspointerout", - "content-attribute": "onmspointerout", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerOut", - "type": "EventHandler" - }, - { - "name": "onmspointerover", - "content-attribute": "onmspointerover", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerOver", - "type": "EventHandler" - }, - { - "name": "onmspointerup", - "content-attribute": "onmspointerup", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSPointerUp", - "type": "EventHandler" - }, - { - "name": "ontouchcancel", - "content-attribute": "ontouchcancel", - "content-attribute-value-syntax": "javascript", - "event-handler": "touchcancel", - "type": "EventHandler" - }, - { - "name": "ontouchend", - "content-attribute": "ontouchend", - "content-attribute-value-syntax": "javascript", - "event-handler": "touchend", - "type": "EventHandler" - }, - { - "name": "ontouchmove", - "content-attribute": "ontouchmove", - "content-attribute-value-syntax": "javascript", - "event-handler": "touchmove", - "type": "EventHandler" - }, - { - "name": "ontouchstart", - "content-attribute": "ontouchstart", - "content-attribute-value-syntax": "javascript", - "event-handler": "touchstart", - "type": "EventHandler" - }, - { - "name": "onwebkitfullscreenchange", - "event-handler": "webkitfullscreenchange", - "type": "EventHandler" - }, - { - "name": "onwebkitfullscreenerror", - "event-handler": "webkitfullscreenerror", - "type": "EventHandler" - }, - { - "name": "outerHTML", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "prefix", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "scrollHeight", - "read-only": "1", - "type": "long" - }, - { - "name": "scrollLeft", - "type": "long" - }, - { - "name": "scrollTop", - "type": "long" - }, - { - "name": "scrollWidth", - "read-only": "1", - "type": "long" - }, - { - "name": "tagName", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "ErrorEvent": { - "name": "ErrorEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ErrorEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initErrorEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "messageArg", - "type": "DOMString" - }, - { - "name": "filenameArg", - "type": "DOMString" - }, - { - "name": "linenoArg", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "colno", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "error", - "nullable": "1", - "read-only": "1", - "type": "any" - }, - { - "name": "filename", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "lineno", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "message", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "Event": { - "name": "Event", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "AT_TARGET", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "BUBBLING_PHASE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "CAPTURING_PHASE", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "EventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initEvent", - "type": "void", - "param": [ - { - "name": "eventTypeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - } - ] - }, - { - "name": "preventDefault", - "type": "void" - }, - { - "name": "stopImmediatePropagation", - "type": "void" - }, - { - "name": "stopPropagation", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "bubbles", - "read-only": "1", - "type": "boolean" - }, - { - "name": "cancelable", - "read-only": "1", - "type": "boolean" - }, - { - "name": "cancelBubble", - "type": "boolean" - }, - { - "name": "currentTarget", - "read-only": "1", - "type": "EventTarget" - }, - { - "name": "defaultPrevented", - "read-only": "1", - "type": "boolean" - }, - { - "name": "eventPhase", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "isTrusted", - "read-only": "1", - "type": "boolean" - }, - { - "name": "returnValue", - "type": "boolean" - }, - { - "name": "srcElement", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "target", - "read-only": "1", - "type": "EventTarget" - }, - { - "name": "timeStamp", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "EventTarget": { - "name": "EventTarget", - "extends": "Object", - "methods": { - "method": [ - { - "name": "addEventListener", - "type": "void", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "listener", - "nullable": "1", - "optional": "1", - "type": "EventListener" - }, - { - "name": "useCapture", - "default": "FALSE", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "dispatchEvent", - "type": "boolean", - "param": [ - { - "name": "evt", - "type": "Event" - } - ] - }, - { - "name": "removeEventListener", - "type": "void", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "listener", - "nullable": "1", - "optional": "1", - "type": "EventListener" - }, - { - "name": "useCapture", - "default": "FALSE", - "optional": "1", - "type": "boolean" - } - ] - } - ] - } - }, - "EXT_frag_depth": { - "name": "EXT_frag_depth", - "extends": "Object" - }, - "EXT_texture_filter_anisotropic": { - "name": "EXT_texture_filter_anisotropic", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "MAX_TEXTURE_MAX_ANISOTROPY_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84FF" - ] - }, - { - "name": "TEXTURE_MAX_ANISOTROPY_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84FE" - ] - } - ] - } - }, - "ExtensionScriptApis": { - "name": "ExtensionScriptApis", - "extends": "Object", - "methods": { - "method": [ - { - "name": "extensionIdToShortId", - "type": "long", - "param": [ - { - "name": "extensionId", - "type": "DOMString" - } - ] - }, - { - "name": "fireExtensionApiTelemetry", - "type": "void", - "param": [ - { - "name": "functionName", - "type": "DOMString" - }, - { - "name": "isSucceeded", - "type": "boolean" - }, - { - "name": "isSupported", - "type": "boolean" - } - ] - }, - { - "name": "genericFunction", - "type": "void", - "param": [ - { - "name": "routerAddress", - "type": "object" - }, - { - "name": "parameters", - "optional": "1", - "type": "DOMString" - }, - { - "name": "callbackId", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "genericSynchronousFunction", - "type": "DOMString", - "param": [ - { - "name": "functionId", - "type": "long" - }, - { - "name": "parameters", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getExtensionId", - "type": "DOMString" - }, - { - "name": "registerGenericFunctionCallbackHandler", - "type": "void", - "param": [ - { - "name": "callbackHandler", - "type": "function" - } - ] - }, - { - "name": "registerGenericPersistentCallbackHandler", - "type": "void", - "param": [ - { - "name": "callbackHandler", - "type": "function" - } - ] - } - ] - } - }, - "External": { - "name": "External", - "extends": "Object" - }, - "File": { - "name": "File", - "extends": "Blob", - "properties": { - "property": [ - { - "name": "lastModifiedDate", - "read-only": "1", - "type": "any" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "webkitRelativePath", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "FileList": { - "name": "FileList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "File", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "FileReader": { - "name": "FileReader", - "extends": "EventTarget", - "constructor": {}, - "events": { - "event": [ - { - "name": "load", - "dispatch": "sync", - "follows": "progress", - "precedes": "loadend", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "loadstart", - "dispatch": "sync", - "precedes": "progress", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "loadend", - "dispatch": "sync", - "follows": "load", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "progress", - "dispatch": "sync", - "follows": "loadstart", - "precedes": "load", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "abort", - "dispatch": "sync", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "ProgressEvent" - } - ] - }, - "implements": [ - "MSBaseReader" - ], - "methods": { - "method": [ - { - "name": "readAsArrayBuffer", - "type": "void", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsBinaryString", - "type": "void", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsDataURL", - "type": "void", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsText", - "type": "void", - "param": [ - { - "name": "blob", - "type": "Blob" - }, - { - "name": "encoding", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "read-only": "1", - "type": "DOMError" - } - ] - } - }, - "FocusEvent": { - "name": "FocusEvent", - "extends": "UIEvent", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "FocusEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initFocusEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "relatedTarget", - "read-only": "1", - "type": "EventTarget" - } - ] - } - }, - "FocusNavigationEvent": { - "name": "FocusNavigationEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "FocusNavigationEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "requestFocus", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "navigationReason", - "read-only": "1", - "type": "NavigationReason" - }, - { - "name": "originHeight", - "read-only": "1", - "type": "float" - }, - { - "name": "originLeft", - "read-only": "1", - "type": "float" - }, - { - "name": "originTop", - "read-only": "1", - "type": "float" - }, - { - "name": "originWidth", - "read-only": "1", - "type": "float" - } - ] - } - }, - "FormData": { - "name": "FormData", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "append", - "type": "void", - "param": [ - { - "name": "name", - "type": "any" - }, - { - "name": "value", - "type": "any" - }, - { - "name": "blobName", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "GainNode": { - "name": "GainNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "gain", - "read-only": "1", - "type": "AudioParam" - } - ] - } - }, - "Gamepad": { - "name": "Gamepad", - "extends": "Object", - "properties": { - "property": [ - { - "name": "axes", - "read-only": "1", - "type": "sequence" - }, - { - "name": "buttons", - "read-only": "1", - "type": "sequence" - }, - { - "name": "connected", - "read-only": "1", - "type": "boolean" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "index", - "read-only": "1", - "type": "long" - }, - { - "name": "mapping", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "timestamp", - "read-only": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "GamepadButton": { - "name": "GamepadButton", - "extends": "Object", - "properties": { - "property": [ - { - "name": "pressed", - "read-only": "1", - "type": "boolean" - }, - { - "name": "value", - "read-only": "1", - "type": "double" - } - ] - } - }, - "GamepadEvent": { - "name": "GamepadEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "GamepadEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "gamepad", - "read-only": "1", - "type": "Gamepad" - } - ] - } - }, - "Geolocation": { - "name": "Geolocation", - "extends": "Object", - "methods": { - "method": [ - { - "name": "clearWatch", - "type": "void", - "param": [ - { - "name": "watchId", - "type": "long" - } - ] - }, - { - "name": "getCurrentPosition", - "type": "void", - "param": [ - { - "name": "successCallback", - "type": "PositionCallback" - }, - { - "name": "errorCallback", - "default": "0", - "optional": "1", - "type": "PositionErrorCallback" - }, - { - "name": "options", - "default": "0", - "optional": "1", - "type": "PositionOptions" - } - ] - }, - { - "name": "watchPosition", - "type": "long", - "param": [ - { - "name": "successCallback", - "type": "PositionCallback" - }, - { - "name": "errorCallback", - "default": "0", - "optional": "1", - "type": "PositionErrorCallback" - }, - { - "name": "options", - "default": "0", - "optional": "1", - "type": "PositionOptions" - } - ] - } - ] - } - }, - "HashChangeEvent": { - "name": "HashChangeEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "HashChangeEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "newURL", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "oldURL", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "Headers": { - "name": "Headers", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "init", - "optional": "1", - "type": "(Headers or sequence>)", - "type-original": "HeadersInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "append", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString", - "type-original": "ByteString" - }, - { - "name": "value", - "type": "DOMString", - "type-original": "ByteString" - } - ] - }, - { - "name": "delete", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString", - "type-original": "ByteString" - } - ] - }, - { - "name": "forEach", - "type": "void", - "param": [ - { - "name": "callback", - "type": "ForEachCallback" - } - ] - }, - { - "name": "get", - "nullable": "1", - "type": "DOMString", - "type-original": "ByteString", - "param": [ - { - "name": "name", - "type": "DOMString", - "type-original": "ByteString" - } - ] - }, - { - "name": "has", - "type": "boolean", - "param": [ - { - "name": "name", - "type": "DOMString", - "type-original": "ByteString" - } - ] - }, - { - "name": "set", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString", - "type-original": "ByteString" - }, - { - "name": "value", - "type": "DOMString", - "type-original": "ByteString" - } - ] - } - ] - } - }, - "History": { - "name": "History", - "extends": "Object", - "methods": { - "method": [ - { - "name": "back", - "type": "void", - "param": [ - { - "name": "distance", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "forward", - "type": "void", - "param": [ - { - "name": "distance", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "go", - "type": "void", - "param": [ - { - "name": "delta", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "pushState", - "type": "void", - "param": [ - { - "name": "statedata", - "type": "any" - }, - { - "name": "title", - "optional": "1", - "type": "DOMString" - }, - { - "name": "url", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "replaceState", - "type": "void", - "param": [ - { - "name": "statedata", - "type": "any" - }, - { - "name": "title", - "optional": "1", - "type": "DOMString" - }, - { - "name": "url", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "long" - }, - { - "name": "state", - "read-only": "1", - "type": "any" - } - ] - } - }, - "HTMLAllCollection": { - "name": "HTMLAllCollection", - "extends": "Object", - "anonymous-methods": { - "method": [ - { - "getter": "1", - "nullable": "1", - "type": "Element", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "item", - "legacy-caller": "1", - "nullable": "1", - "type": "(HTMLCollection or Element)", - "param": [ - { - "name": "nameOrIndex", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "nullable": "1", - "type": "(HTMLCollection or Element)", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "HTMLAnchorElement": { - "name": "HTMLAnchorElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "a", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "charset", - "content-attribute": "charset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "character_encoding", - "type": "DOMString" - }, - { - "name": "coords", - "content-attribute": "coords", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_separated_signed_integers", - "type": "DOMString" - }, - { - "name": "download", - "content-attribute": "download", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "hash", - "type": "DOMString" - }, - { - "name": "host", - "type": "DOMString" - }, - { - "name": "hostname", - "type": "DOMString" - }, - { - "name": "href", - "content-attribute": "href", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "hreflang", - "content-attribute": "hreflang", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "bcp47_lang", - "type": "DOMString" - }, - { - "name": "Methods", - "type": "DOMString" - }, - { - "name": "mimeType", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "nameProp", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "pathname", - "type": "DOMString" - }, - { - "name": "port", - "type": "DOMString" - }, - { - "name": "protocol", - "type": "DOMString" - }, - { - "name": "protocolLong", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "rel", - "content-attribute": "rel", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "type": "DOMString" - }, - { - "name": "rev", - "content-attribute": "rev", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "type": "DOMString" - }, - { - "name": "search", - "type": "DOMString" - }, - { - "name": "shape", - "content-attribute": "shape", - "content-attribute-enum-values": "circ circle poly polygon rect rectangle", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "text", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "urn", - "type": "DOMString" - } - ] - } - }, - "HTMLAppletElement": { - "name": "HTMLAppletElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "applet", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "alt", - "content-attribute": "alt", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "altHtml", - "type": "DOMString" - }, - { - "name": "archive", - "content-attribute": "archive", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "BaseHref", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "code", - "content-attribute": "code", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "codeBase", - "content-attribute": "codebase", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "codeType", - "type": "DOMString" - }, - { - "name": "contentDocument", - "read-only": "1", - "type": "Document" - }, - { - "name": "data", - "type": "DOMString" - }, - { - "name": "declare", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "object", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "standby", - "type": "DOMString" - }, - { - "name": "type", - "type": "DOMString" - }, - { - "name": "useMap", - "type": "DOMString" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - } - ] - } - }, - "HTMLAreaElement": { - "name": "HTMLAreaElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "area", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "alt", - "content-attribute": "alt", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "coords", - "content-attribute": "coords", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_separated_signed_integers", - "type": "DOMString" - }, - { - "name": "download", - "content-attribute": "download", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "hash", - "type": "DOMString" - }, - { - "name": "host", - "type": "DOMString" - }, - { - "name": "hostname", - "type": "DOMString" - }, - { - "name": "href", - "content-attribute": "href", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "noHref", - "content-attribute": "nohref", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "pathname", - "type": "DOMString" - }, - { - "name": "port", - "type": "DOMString" - }, - { - "name": "protocol", - "type": "DOMString" - }, - { - "name": "rel", - "content-attribute": "rel", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "type": "DOMString" - }, - { - "name": "search", - "type": "DOMString" - }, - { - "name": "shape", - "content-attribute": "shape", - "content-attribute-enum-values": "circ circle poly polygon rect rectangle", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - } - ] - } - }, - "HTMLAreasCollection": { - "name": "HTMLAreasCollection", - "extends": "HTMLCollection" - }, - "HTMLAudioElement": { - "name": "HTMLAudioElement", - "extends": "HTMLMediaElement", - "element": [ - { - "name": "audio", - "namespace": "HTML" - } - ], - "named-constructor": { - "name": "Audio", - "param": [ - { - "name": "src", - "optional": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLBaseElement": { - "name": "HTMLBaseElement", - "extends": "HTMLElement", - "element": [ - { - "name": "base", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "href", - "content-attribute": "href", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - } - ] - } - }, - "HTMLBaseFontElement": { - "name": "HTMLBaseFontElement", - "extends": "HTMLElement", - "element": [ - { - "name": "basefont", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "implements": [ - "DOML2DeprecatedColorProperty" - ], - "properties": { - "property": [ - { - "name": "face", - "content-attribute": "face", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "font_family", - "type": "DOMString" - }, - { - "name": "size", - "content-attribute": "size", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "long" - } - ] - } - }, - "HTMLBodyElement": { - "name": "HTMLBodyElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "body", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "offline", - "bubbles": "1", - "dispatch": "async", - "type": "Event" - }, - { - "name": "online", - "bubbles": "1", - "dispatch": "async", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "aLink", - "content-attribute": "alink", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "background", - "content-attribute": "background", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "DOMString" - }, - { - "name": "bgColor", - "content-attribute": "bgcolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "bgProperties", - "type": "DOMString" - }, - { - "name": "link", - "content-attribute": "link", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "noWrap", - "content-attribute": "nowrap", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "onafterprint", - "content-attribute": "onafterprint", - "content-attribute-value-syntax": "javascript", - "event-handler": "afterprint", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onbeforeprint", - "content-attribute": "onbeforeprint", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforeprint", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onbeforeunload", - "content-attribute": "onbeforeunload", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforeunload", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onblur", - "event-handler": "blur", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onfocus", - "event-handler": "focus", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onhashchange", - "content-attribute": "onhashchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "hashchange", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onmessage", - "content-attribute": "onmessage", - "content-attribute-value-syntax": "javascript", - "event-handler": "message", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onoffline", - "content-attribute": "onoffline", - "content-attribute-value-syntax": "javascript", - "event-handler": "offline", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "ononline", - "content-attribute": "ononline", - "content-attribute-value-syntax": "javascript", - "event-handler": "online", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onorientationchange", - "content-attribute": "onorientationchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "orientationchange", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpagehide", - "content-attribute": "onpagehide", - "content-attribute-value-syntax": "javascript", - "event-handler": "pagehide", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpageshow", - "content-attribute": "onpageshow", - "content-attribute-value-syntax": "javascript", - "event-handler": "pageshow", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpopstate", - "content-attribute": "onpopstate", - "content-attribute-value-syntax": "javascript", - "event-handler": "popstate", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onresize", - "event-handler": "resize", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onscroll", - "event-handler": "scroll", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onstorage", - "content-attribute": "onstorage", - "content-attribute-value-syntax": "javascript", - "event-handler": "storage", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onunload", - "content-attribute": "onunload", - "content-attribute-value-syntax": "javascript", - "event-handler": "unload", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "text", - "content-attribute": "text", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "vLink", - "content-attribute": "vlink", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - } - ] - } - }, - "HTMLBRElement": { - "name": "HTMLBRElement", - "extends": "HTMLElement", - "element": [ - { - "name": "br", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "clear", - "content-attribute": "clear", - "content-attribute-enum-values": "all both left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLButtonElement": { - "name": "HTMLButtonElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "button", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "autofocus", - "content-attribute": "autofocus", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "formAction", - "content-attribute": "formaction", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "formEnctype", - "content-attribute": "formenctype", - "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "formMethod", - "content-attribute": "formmethod", - "content-attribute-enum-values": "GET POST", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "formNoValidate", - "content-attribute": "formnovalidate", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "formTarget", - "content-attribute": "formtarget", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "status", - "type": "any" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "button submit reset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLCanvasElement": { - "name": "HTMLCanvasElement", - "extends": "HTMLElement", - "element": [ - { - "name": "canvas", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "webglcontextlost", - "dispatch": "async", - "precedes": "webglcontextrestored", - "type": "WebGLContextEvent" - }, - { - "name": "webglcontextrestored", - "dispatch": "async", - "follows": "webglcontextlost", - "type": "WebGLContextEvent" - }, - { - "name": "webglcontextcreationerror", - "dispatch": "async", - "type": "WebGLContextEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "getContext", - "type": "(CanvasRenderingContext2D or WebGLRenderingContext)", - "param": [ - { - "name": "contextId", - "type": "DOMString" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "msToBlob", - "type": "Blob" - }, - { - "name": "toDataURL", - "type": "DOMString", - "param": [ - { - "name": "type", - "default": "\"image/png\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - } - ] - } - }, - "HTMLCollection": { - "name": "HTMLCollection", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "nullable": "1", - "type": "Element", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "nullable": "1", - "type": "Element", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "HTMLDataElement": { - "name": "HTMLDataElement", - "extends": "HTMLElement", - "element": [ - { - "name": "data", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLDataListElement": { - "name": "HTMLDataListElement", - "extends": "HTMLElement", - "element": [ - { - "name": "datalist", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "options", - "read-only": "1", - "type": "HTMLCollection" - } - ] - } - }, - "HTMLDirectoryElement": { - "name": "HTMLDirectoryElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "dir", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "compact", - "content-attribute": "compact", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - } - ] - } - }, - "HTMLDivElement": { - "name": "HTMLDivElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "div", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "noWrap", - "content-attribute": "nowrap", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - } - ] - } - }, - "HTMLDListElement": { - "name": "HTMLDListElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "dl", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "compact", - "content-attribute": "compact", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - } - ] - } - }, - "HTMLDocument": { - "name": "HTMLDocument", - "extends": "Document" - }, - "HTMLElement": { - "name": "HTMLElement", - "extends": "Element", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "name": "x-ms-acceleratorkey" - }, - { - "enum-values": "all none phone", - "name": "x-ms-format-detection", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "noframes", - "namespace": "HTML" - }, - { - "name": "noscript", - "namespace": "HTML" - }, - { - "name": "wbr", - "html-self-closing": "1", - "namespace": "HTML" - }, - { - "name": "section", - "namespace": "HTML" - }, - { - "name": "nav", - "namespace": "HTML" - }, - { - "name": "article", - "namespace": "HTML" - }, - { - "name": "aside", - "namespace": "HTML" - }, - { - "name": "hgroup", - "namespace": "HTML" - }, - { - "name": "header", - "namespace": "HTML" - }, - { - "name": "footer", - "namespace": "HTML" - }, - { - "name": "figure", - "namespace": "HTML" - }, - { - "name": "figcaption", - "namespace": "HTML" - }, - { - "name": "mark", - "namespace": "HTML" - }, - { - "name": "dd", - "namespace": "HTML" - }, - { - "name": "dt", - "namespace": "HTML" - }, - { - "name": "abbr", - "namespace": "HTML" - }, - { - "name": "acronym", - "namespace": "HTML" - }, - { - "name": "b", - "namespace": "HTML" - }, - { - "name": "bdo", - "namespace": "HTML" - }, - { - "name": "big", - "namespace": "HTML" - }, - { - "name": "cite", - "namespace": "HTML" - }, - { - "name": "code", - "namespace": "HTML" - }, - { - "name": "dfn", - "namespace": "HTML" - }, - { - "name": "em", - "namespace": "HTML" - }, - { - "name": "i", - "namespace": "HTML" - }, - { - "name": "kbd", - "namespace": "HTML" - }, - { - "name": "nobr", - "namespace": "HTML" - }, - { - "name": "rt", - "namespace": "HTML" - }, - { - "name": "ruby", - "namespace": "HTML" - }, - { - "name": "s", - "namespace": "HTML" - }, - { - "name": "samp", - "namespace": "HTML" - }, - { - "name": "small", - "namespace": "HTML" - }, - { - "name": "strike", - "namespace": "HTML" - }, - { - "name": "strong", - "namespace": "HTML" - }, - { - "name": "sub", - "namespace": "HTML" - }, - { - "name": "sup", - "namespace": "HTML" - }, - { - "name": "tt", - "namespace": "HTML" - }, - { - "name": "u", - "namespace": "HTML" - }, - { - "name": "var", - "namespace": "HTML" - }, - { - "name": "address", - "namespace": "HTML" - }, - { - "name": "center", - "namespace": "HTML" - }, - { - "name": "keygen", - "html-self-closing": "1", - "namespace": "HTML" - }, - { - "name": "plaintext", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "blur", - "type": "void" - }, - { - "name": "click", - "type": "void" - }, - { - "name": "dragDrop", - "type": "boolean" - }, - { - "name": "focus", - "type": "void" - }, - { - "name": "getElementsByClassName", - "type": "NodeList", - "param": [ - { - "name": "classNames", - "type": "DOMString" - } - ] - }, - { - "name": "insertAdjacentElement", - "type": "Element", - "param": [ - { - "name": "position", - "type": "DOMString" - }, - { - "name": "insertedElement", - "type": "Element" - } - ] - }, - { - "name": "insertAdjacentHTML", - "type": "void", - "param": [ - { - "name": "where", - "type": "DOMString" - }, - { - "name": "html", - "type": "DOMString" - } - ] - }, - { - "name": "insertAdjacentText", - "type": "void", - "param": [ - { - "name": "where", - "type": "DOMString" - }, - { - "name": "text", - "type": "DOMString" - } - ] - }, - { - "name": "msGetInputContext", - "type": "MSInputMethodContext" - }, - { - "name": "scrollIntoView", - "type": "void", - "param": [ - { - "name": "top", - "default": "VARIANT_TRUE", - "optional": "1", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "accessKey", - "content-attribute": "accesskey", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "type": "DOMString" - }, - { - "name": "children", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "contentEditable", - "content-attribute": "contenteditable", - "content-attribute-enum-values": "true false", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "dataset", - "content-attribute": "data-", - "content-attribute-reflects": "1", - "read-only": "1", - "type": "DOMStringMap" - }, - { - "name": "dir", - "content-attribute": "dir", - "content-attribute-enum-values": "ltr rtl auto", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "draggable", - "content-attribute": "draggable", - "content-attribute-enum-values": "true false", - "content-attribute-value-syntax": "enum", - "type": "boolean" - }, - { - "name": "hidden", - "type": "boolean" - }, - { - "name": "hideFocus", - "content-attribute": "hidefocus", - "content-attribute-enum-values": "false true", - "content-attribute-value-syntax": "enum", - "type": "boolean" - }, - { - "name": "innerText", - "type": "DOMString" - }, - { - "name": "isContentEditable", - "read-only": "1", - "type": "boolean" - }, - { - "name": "lang", - "content-attribute": "lang", - "content-attribute-aliases": "language", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "bcp47_lang", - "type": "DOMString" - }, - { - "name": "offsetHeight", - "read-only": "1", - "type": "long" - }, - { - "name": "offsetLeft", - "read-only": "1", - "type": "long" - }, - { - "name": "offsetParent", - "read-only": "1", - "type": "Element" - }, - { - "name": "offsetTop", - "read-only": "1", - "type": "long" - }, - { - "name": "offsetWidth", - "read-only": "1", - "type": "long" - }, - { - "name": "onabort", - "content-attribute": "onabort", - "content-attribute-value-syntax": "javascript", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onactivate", - "content-attribute": "onactivate", - "content-attribute-value-syntax": "javascript", - "event-handler": "activate", - "type": "EventHandler" - }, - { - "name": "onbeforeactivate", - "content-attribute": "onbeforeactivate", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforeactivate", - "type": "EventHandler" - }, - { - "name": "onbeforecopy", - "content-attribute": "onbeforecopy", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforecopy", - "type": "EventHandler" - }, - { - "name": "onbeforecut", - "content-attribute": "onbeforecut", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforecut", - "type": "EventHandler" - }, - { - "name": "onbeforedeactivate", - "content-attribute": "onbeforedeactivate", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforedeactivate", - "type": "EventHandler" - }, - { - "name": "onbeforepaste", - "content-attribute": "onbeforepaste", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforepaste", - "type": "EventHandler" - }, - { - "name": "onblur", - "content-attribute": "onblur", - "content-attribute-value-syntax": "javascript", - "event-handler": "blur", - "type": "EventHandler" - }, - { - "name": "oncanplay", - "content-attribute": "oncanplay", - "content-attribute-value-syntax": "javascript", - "event-handler": "canplay", - "type": "EventHandler" - }, - { - "name": "oncanplaythrough", - "content-attribute": "oncanplaythrough", - "content-attribute-value-syntax": "javascript", - "event-handler": "canplaythrough", - "type": "EventHandler" - }, - { - "name": "onchange", - "content-attribute": "onchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "change", - "type": "EventHandler" - }, - { - "name": "onclick", - "content-attribute": "onclick", - "content-attribute-value-syntax": "javascript", - "event-handler": "click", - "type": "EventHandler" - }, - { - "name": "oncontextmenu", - "content-attribute": "oncontextmenu", - "content-attribute-value-syntax": "javascript", - "event-handler": "contextmenu", - "type": "EventHandler" - }, - { - "name": "oncopy", - "content-attribute": "oncopy", - "content-attribute-value-syntax": "javascript", - "event-handler": "copy", - "type": "EventHandler" - }, - { - "name": "oncuechange", - "event-handler": "cuechange", - "type": "EventHandler" - }, - { - "name": "oncut", - "content-attribute": "oncut", - "content-attribute-value-syntax": "javascript", - "event-handler": "cut", - "type": "EventHandler" - }, - { - "name": "ondblclick", - "content-attribute": "ondblclick", - "content-attribute-value-syntax": "javascript", - "event-handler": "dblclick", - "type": "EventHandler" - }, - { - "name": "ondeactivate", - "content-attribute": "ondeactivate", - "content-attribute-value-syntax": "javascript", - "event-handler": "deactivate", - "type": "EventHandler" - }, - { - "name": "ondrag", - "content-attribute": "ondrag", - "content-attribute-value-syntax": "javascript", - "event-handler": "drag", - "type": "EventHandler" - }, - { - "name": "ondragend", - "content-attribute": "ondragend", - "content-attribute-value-syntax": "javascript", - "event-handler": "dragend", - "type": "EventHandler" - }, - { - "name": "ondragenter", - "content-attribute": "ondragenter", - "content-attribute-value-syntax": "javascript", - "event-handler": "dragenter", - "type": "EventHandler" - }, - { - "name": "ondragleave", - "content-attribute": "ondragleave", - "content-attribute-value-syntax": "javascript", - "event-handler": "dragleave", - "type": "EventHandler" - }, - { - "name": "ondragover", - "content-attribute": "ondragover", - "content-attribute-value-syntax": "javascript", - "event-handler": "dragover", - "type": "EventHandler" - }, - { - "name": "ondragstart", - "content-attribute": "ondragstart", - "content-attribute-value-syntax": "javascript", - "event-handler": "dragstart", - "type": "EventHandler" - }, - { - "name": "ondrop", - "content-attribute": "ondrop", - "content-attribute-value-syntax": "javascript", - "event-handler": "drop", - "type": "EventHandler" - }, - { - "name": "ondurationchange", - "content-attribute": "ondurationchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "durationchange", - "type": "EventHandler" - }, - { - "name": "onemptied", - "content-attribute": "onemptied", - "content-attribute-value-syntax": "javascript", - "event-handler": "emptied", - "type": "EventHandler" - }, - { - "name": "onended", - "content-attribute": "onended", - "content-attribute-value-syntax": "javascript", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "onerror", - "content-attribute": "onerror", - "content-attribute-value-syntax": "javascript", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onfocus", - "content-attribute": "onfocus", - "content-attribute-value-syntax": "javascript", - "event-handler": "focus", - "type": "EventHandler" - }, - { - "name": "oninput", - "content-attribute": "oninput", - "content-attribute-value-syntax": "javascript", - "event-handler": "input", - "type": "EventHandler" - }, - { - "name": "oninvalid", - "event-handler": "invalid", - "type": "EventHandler" - }, - { - "name": "onkeydown", - "content-attribute": "onkeydown", - "content-attribute-value-syntax": "javascript", - "event-handler": "keydown", - "type": "EventHandler" - }, - { - "name": "onkeypress", - "content-attribute": "onkeypress", - "content-attribute-value-syntax": "javascript", - "event-handler": "keypress", - "type": "EventHandler" - }, - { - "name": "onkeyup", - "content-attribute": "onkeyup", - "content-attribute-value-syntax": "javascript", - "event-handler": "keyup", - "type": "EventHandler" - }, - { - "name": "onload", - "content-attribute": "onload", - "content-attribute-value-syntax": "javascript", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onloadeddata", - "content-attribute": "onloadeddata", - "content-attribute-value-syntax": "javascript", - "event-handler": "loadeddata", - "type": "EventHandler" - }, - { - "name": "onloadedmetadata", - "content-attribute": "onloadedmetadata", - "content-attribute-value-syntax": "javascript", - "event-handler": "loadedmetadata", - "type": "EventHandler" - }, - { - "name": "onloadstart", - "content-attribute": "onloadstart", - "content-attribute-value-syntax": "javascript", - "event-handler": "loadstart", - "type": "EventHandler" - }, - { - "name": "onmousedown", - "content-attribute": "onmousedown", - "content-attribute-value-syntax": "javascript", - "event-handler": "mousedown", - "type": "EventHandler" - }, - { - "name": "onmouseenter", - "content-attribute": "onmouseenter", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseenter", - "type": "EventHandler" - }, - { - "name": "onmouseleave", - "content-attribute": "onmouseleave", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseleave", - "type": "EventHandler" - }, - { - "name": "onmousemove", - "content-attribute": "onmousemove", - "content-attribute-value-syntax": "javascript", - "event-handler": "mousemove", - "type": "EventHandler" - }, - { - "name": "onmouseout", - "content-attribute": "onmouseout", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseout", - "type": "EventHandler" - }, - { - "name": "onmouseover", - "content-attribute": "onmouseover", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseover", - "type": "EventHandler" - }, - { - "name": "onmouseup", - "content-attribute": "onmouseup", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseup", - "type": "EventHandler" - }, - { - "name": "onmousewheel", - "content-attribute": "onmousewheel", - "content-attribute-value-syntax": "javascript", - "event-handler": "mousewheel", - "type": "EventHandler" - }, - { - "name": "onmscontentzoom", - "content-attribute": "onmscontentzoom", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSContentZoom", - "type": "EventHandler" - }, - { - "name": "onmsmanipulationstatechanged", - "content-attribute": "onmsmanipulationstatechanged", - "content-attribute-value-syntax": "javascript", - "event-handler": "MSManipulationStateChanged", - "type": "EventHandler" - }, - { - "name": "onpaste", - "content-attribute": "onpaste", - "content-attribute-value-syntax": "javascript", - "event-handler": "paste", - "type": "EventHandler" - }, - { - "name": "onpause", - "content-attribute": "onpause", - "content-attribute-value-syntax": "javascript", - "event-handler": "pause", - "type": "EventHandler" - }, - { - "name": "onplay", - "content-attribute": "onplay", - "content-attribute-value-syntax": "javascript", - "event-handler": "play", - "type": "EventHandler" - }, - { - "name": "onplaying", - "content-attribute": "onplaying", - "content-attribute-value-syntax": "javascript", - "event-handler": "playing", - "type": "EventHandler" - }, - { - "name": "onprogress", - "content-attribute": "onprogress", - "content-attribute-value-syntax": "javascript", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "onratechange", - "content-attribute": "onratechange", - "content-attribute-value-syntax": "javascript", - "event-handler": "ratechange", - "type": "EventHandler" - }, - { - "name": "onreset", - "content-attribute": "onreset", - "content-attribute-value-syntax": "javascript", - "event-handler": "reset", - "type": "EventHandler" - }, - { - "name": "onscroll", - "content-attribute": "onscroll", - "content-attribute-value-syntax": "javascript", - "event-handler": "scroll", - "type": "EventHandler" - }, - { - "name": "onseeked", - "content-attribute": "onseeked", - "content-attribute-value-syntax": "javascript", - "event-handler": "seeked", - "type": "EventHandler" - }, - { - "name": "onseeking", - "content-attribute": "onseeking", - "content-attribute-value-syntax": "javascript", - "event-handler": "seeking", - "type": "EventHandler" - }, - { - "name": "onselect", - "content-attribute": "onselect", - "content-attribute-value-syntax": "javascript", - "event-handler": "select", - "type": "EventHandler" - }, - { - "name": "onselectstart", - "content-attribute": "onselectstart", - "content-attribute-value-syntax": "javascript", - "event-handler": "selectstart", - "type": "EventHandler" - }, - { - "name": "onstalled", - "content-attribute": "onstalled", - "content-attribute-value-syntax": "javascript", - "event-handler": "stalled", - "type": "EventHandler" - }, - { - "name": "onsubmit", - "content-attribute": "onsubmit", - "content-attribute-value-syntax": "javascript", - "event-handler": "submit", - "type": "EventHandler" - }, - { - "name": "onsuspend", - "content-attribute": "onsuspend", - "content-attribute-value-syntax": "javascript", - "event-handler": "suspend", - "type": "EventHandler" - }, - { - "name": "ontimeupdate", - "content-attribute": "ontimeupdate", - "content-attribute-value-syntax": "javascript", - "event-handler": "timeupdate", - "type": "EventHandler" - }, - { - "name": "onvolumechange", - "content-attribute": "onvolumechange", - "content-attribute-value-syntax": "javascript", - "event-handler": "volumechange", - "type": "EventHandler" - }, - { - "name": "onwaiting", - "content-attribute": "onwaiting", - "content-attribute-value-syntax": "javascript", - "event-handler": "waiting", - "type": "EventHandler" - }, - { - "name": "outerText", - "type": "DOMString" - }, - { - "name": "spellcheck", - "content-attribute": "spellcheck", - "content-attribute-enum-values": "true false", - "content-attribute-value-syntax": "enum", - "type": "boolean" - }, - { - "name": "style", - "content-attribute": "style", - "content-attribute-value-syntax": "css", - "read-only": "1", - "type": "CSSStyleDeclaration" - }, - { - "name": "tabIndex", - "content-attribute": "tabindex", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "short" - }, - { - "name": "title", - "content-attribute": "title", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLEmbedElement": { - "name": "HTMLEmbedElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "embed", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "implements": [ - "GetSVGDocument" - ], - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hidden", - "content-attribute": "hidden", - "content-attribute-enum-values": "false true", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "msPlayToDisabled", - "content-attribute": "x-ms-playtodisabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToPreferredSourceUri", - "content-attribute": "x-ms-playtopreferredsourceuri", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "msPlayToPrimary", - "content-attribute": "x-ms-playtoprimary", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToSource", - "read-only": "1", - "type": "any" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "palette", - "content-attribute": "palette", - "content-attribute-reflects": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "pluginspage", - "content-attribute": "pluginspage", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "readyState", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "units", - "content-attribute": "units", - "content-attribute-enum-values": "px em", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLFieldSetElement": { - "name": "HTMLFieldSetElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "fieldset", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLFontElement": { - "name": "HTMLFontElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "font", - "namespace": "HTML" - } - ], - "implements": [ - "DOML2DeprecatedColorProperty", - "DOML2DeprecatedSizeProperty" - ], - "properties": { - "property": [ - { - "name": "face", - "content-attribute": "face", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "font_family", - "type": "DOMString" - } - ] - } - }, - "HTMLFormControlsCollection": { - "name": "HTMLFormControlsCollection", - "extends": "HTMLCollection", - "methods": { - "method": [ - { - "name": "namedItem", - "getter": "1", - "nullable": "1", - "type": "(HTMLCollection or Element)", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - } - }, - "HTMLFormElement": { - "name": "HTMLFormElement", - "extends": "HTMLElement", - "override-builtins": "1", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "form", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "reset", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "submit", - "bubbles": "1", - "cancelable": "1", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "item", - "getter": "1", - "type": "any", - "param": [ - { - "name": "name", - "optional": "1", - "type": "any" - }, - { - "name": "index", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "type": "any", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "reset", - "type": "void" - }, - { - "name": "submit", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "acceptCharset", - "content-attribute": "accept-charset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "type": "DOMString" - }, - { - "name": "action", - "content-attribute": "action", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "autocomplete", - "content-attribute": "autocomplete", - "content-attribute-enum-values": "on off", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "elements", - "read-only": "1", - "type": "HTMLFormControlsCollection" - }, - { - "name": "encoding", - "content-attribute": "enctype", - "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "enctype", - "content-attribute": "enctype", - "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "length", - "read-only": "1", - "type": "long" - }, - { - "name": "method", - "content-attribute": "method", - "content-attribute-enum-values": "GET POST", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "noValidate", - "content-attribute": "novalidate", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - } - ] - } - }, - "HTMLFrameElement": { - "name": "HTMLFrameElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "frame", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "load", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "implements": [ - "GetSVGDocument" - ], - "properties": { - "property": [ - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "borderColor", - "content-attribute": "bordercolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "contentDocument", - "read-only": "1", - "type": "Document" - }, - { - "name": "contentWindow", - "read-only": "1", - "type": "Window" - }, - { - "name": "frameBorder", - "content-attribute": "frameborder", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "frameSpacing", - "content-attribute": "framespacing", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "any" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "(DOMString or unsigned long)" - }, - { - "name": "longDesc", - "content-attribute": "longdesc", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "marginHeight", - "content-attribute": "marginheight", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "DOMString" - }, - { - "name": "marginWidth", - "content-attribute": "marginwidth", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "noResize", - "content-attribute": "noresize", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "scrolling", - "content-attribute": "scrolling", - "content-attribute-enum-values": "auto no yes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "(DOMString or unsigned long)" - } - ] - } - }, - "HTMLFrameSetElement": { - "name": "HTMLFrameSetElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "frameset", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "borderColor", - "content-attribute": "bordercolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "cols", - "content-attribute": "cols", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "DOMString" - }, - { - "name": "frameBorder", - "content-attribute": "frameborder", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "frameSpacing", - "content-attribute": "framespacing", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "any" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "onafterprint", - "content-attribute": "onafterprint", - "content-attribute-value-syntax": "javascript", - "event-handler": "afterprint", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onbeforeprint", - "content-attribute": "onbeforeprint", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforeprint", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onbeforeunload", - "content-attribute": "onbeforeunload", - "content-attribute-value-syntax": "javascript", - "event-handler": "beforeunload", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onblur", - "event-handler": "blur", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onfocus", - "event-handler": "focus", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onhashchange", - "content-attribute": "onhashchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "hashchange", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onmessage", - "content-attribute": "onmessage", - "content-attribute-value-syntax": "javascript", - "event-handler": "message", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onoffline", - "content-attribute": "onoffline", - "content-attribute-value-syntax": "javascript", - "event-handler": "offline", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "ononline", - "content-attribute": "ononline", - "content-attribute-value-syntax": "javascript", - "event-handler": "online", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onorientationchange", - "content-attribute": "onorientationchange", - "content-attribute-value-syntax": "javascript", - "event-handler": "orientationchange", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpagehide", - "content-attribute": "onpagehide", - "content-attribute-value-syntax": "javascript", - "event-handler": "pagehide", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpageshow", - "content-attribute": "onpageshow", - "content-attribute-value-syntax": "javascript", - "event-handler": "pageshow", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onpopstate", - "content-attribute": "onpopstate", - "content-attribute-value-syntax": "javascript", - "event-handler": "popstate", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onresize", - "event-handler": "resize", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onscroll", - "event-handler": "scroll", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onstorage", - "content-attribute": "onstorage", - "content-attribute-value-syntax": "javascript", - "event-handler": "storage", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "onunload", - "content-attribute": "onunload", - "content-attribute-value-syntax": "javascript", - "event-handler": "unload", - "event-handler-map-to-window": "1", - "type": "EventHandler" - }, - { - "name": "rows", - "content-attribute": "rows", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLHeadElement": { - "name": "HTMLHeadElement", - "extends": "HTMLElement", - "element": [ - { - "name": "head", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "profile", - "content-attribute": "profile", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLHeadingElement": { - "name": "HTMLHeadingElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "h1", - "namespace": "HTML" - }, - { - "name": "h2", - "namespace": "HTML" - }, - { - "name": "h3", - "namespace": "HTML" - }, - { - "name": "h4", - "namespace": "HTML" - }, - { - "name": "h5", - "namespace": "HTML" - }, - { - "name": "h6", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLHRElement": { - "name": "HTMLHRElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "hr", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "implements": [ - "DOML2DeprecatedColorProperty", - "DOML2DeprecatedSizeProperty" - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "noShade", - "content-attribute": "noshade", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - } - ] - } - }, - "HTMLHtmlElement": { - "name": "HTMLHtmlElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "name": "manifest", - "value-syntax": "url" - } - ] - }, - "element": [ - { - "name": "html", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "version", - "content-attribute": "version", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLIFrameElement": { - "name": "HTMLIFrameElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "iframe", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "load", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "implements": [ - "GetSVGDocument" - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "allowFullscreen", - "content-attribute": "allowfullscreen", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "allowPaymentRequest", - "content-attribute": "allowPaymentRequest", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "contentDocument", - "read-only": "1", - "type": "Document" - }, - { - "name": "contentWindow", - "read-only": "1", - "type": "Window" - }, - { - "name": "frameBorder", - "content-attribute": "frameborder", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "frameSpacing", - "content-attribute": "framespacing", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "any" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "longDesc", - "content-attribute": "longdesc", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "marginHeight", - "content-attribute": "marginheight", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "DOMString" - }, - { - "name": "marginWidth", - "content-attribute": "marginwidth", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "noResize", - "content-attribute": "noresize", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "sandbox", - "content-attribute": "sandbox", - "content-attribute-enum-values": "allow-scripts allow-forms allow-same-origin allow-top-navigation allow-popups allow-pointer-lock", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "put-forwards": "value", - "read-only": "1", - "type": "DOMSettableTokenList" - }, - { - "name": "scrolling", - "content-attribute": "scrolling", - "content-attribute-enum-values": "auto no yes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLImageElement": { - "name": "HTMLImageElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "img", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "msGetAsCastingSource", - "type": "any" - } - ] - }, - "named-constructor": { - "name": "Image", - "param": [ - { - "name": "width", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "height", - "optional": "1", - "type": "unsigned long" - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "alt", - "content-attribute": "alt", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "complete", - "read-only": "1", - "type": "boolean" - }, - { - "name": "crossOrigin", - "content-attribute": "crossorigin", - "content-attribute-enum-values": "anonymous use-credentials", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "currentSrc", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "isMap", - "content-attribute": "ismap", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "longDesc", - "content-attribute": "longdesc", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "lowsrc", - "content-attribute": "lowsrc", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "msPlayToDisabled", - "content-attribute": "x-ms-playtodisabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToPreferredSourceUri", - "content-attribute": "x-ms-playtopreferredsourceuri", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "msPlayToPrimary", - "content-attribute": "x-ms-playtoprimary", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToSource", - "read-only": "1", - "type": "any" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "naturalHeight", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "naturalWidth", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "sizes", - "content-attribute": "sizes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "image_sizes", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "srcset", - "content-attribute": "srcset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "image_candidates", - "type": "DOMString" - }, - { - "name": "useMap", - "content-attribute": "usemap", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "hash_name_ref", - "type": "DOMString" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "x", - "read-only": "1", - "type": "long" - }, - { - "name": "y", - "read-only": "1", - "type": "long" - } - ] - } - }, - "HTMLInputElement": { - "name": "HTMLInputElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "input", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "change", - "bubbles": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "input", - "bubbles": "1", - "dispatch": "async", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "invalid", - "cancelable": "1", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "select", - "type": "void" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - }, - { - "name": "setSelectionRange", - "type": "void", - "param": [ - { - "name": "start", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "end", - "optional": "1", - "type": "unsigned long" - }, - { - "name": "direction", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "stepDown", - "type": "void", - "param": [ - { - "name": "n", - "default": "1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "stepUp", - "type": "void", - "param": [ - { - "name": "n", - "default": "1", - "optional": "1", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "accept", - "content-attribute": "accept", - "content-attribute-enum-values": "audio/* video/* image/*", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_separated_mime_types", - "type": "DOMString" - }, - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "alt", - "content-attribute": "alt", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "autocomplete", - "content-attribute": "autocomplete", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "type": "DOMString" - }, - { - "name": "autofocus", - "content-attribute": "autofocus", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "checked", - "type": "boolean" - }, - { - "name": "complete", - "read-only": "1", - "type": "boolean" - }, - { - "name": "defaultChecked", - "content-attribute": "checked", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "defaultValue", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "files", - "read-only": "1", - "type": "FileList" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "formAction", - "content-attribute": "formaction", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "formEnctype", - "content-attribute": "formenctype", - "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "formMethod", - "content-attribute": "formmethod", - "content-attribute-enum-values": "GET POST", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "formNoValidate", - "content-attribute": "formnovalidate", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "formTarget", - "content-attribute": "formtarget", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "indeterminate", - "type": "boolean" - }, - { - "name": "list", - "content-attribute": "list", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "id_ref", - "read-only": "1", - "type": "HTMLElement" - }, - { - "name": "max", - "content-attribute": "max", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "maxLength", - "content-attribute": "maxlength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "min", - "content-attribute": "min", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "multiple", - "content-attribute": "multiple", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "pattern", - "content-attribute": "pattern", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "regular_expression", - "type": "DOMString" - }, - { - "name": "placeholder", - "content-attribute": "placeholder", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "readOnly", - "content-attribute": "readonly", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "required", - "content-attribute": "required", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "selectionDirection", - "type": "DOMString" - }, - { - "name": "selectionEnd", - "type": "unsigned long" - }, - { - "name": "selectionStart", - "type": "unsigned long" - }, - { - "name": "size", - "content-attribute": "size", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "status", - "type": "boolean" - }, - { - "name": "step", - "content-attribute": "step", - "content-attribute-enum-values": "any", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "text hidden search tel url email password month week number range checkbox radio file submit image reset button", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "useMap", - "content-attribute": "usemap", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "hash_name_ref", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "value", - "type": "DOMString" - }, - { - "name": "valueAsDate", - "type": "Date" - }, - { - "name": "valueAsNumber", - "type": "double" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "webkitdirectory", - "content-attribute": "webkitdirectory", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLLabelElement": { - "name": "HTMLLabelElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "label", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "htmlFor", - "content-attribute": "for", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "id_ref", - "type": "DOMString" - } - ] - } - }, - "HTMLLegendElement": { - "name": "HTMLLegendElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "legend", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "bottom center left right top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - } - ] - } - }, - "HTMLLIElement": { - "name": "HTMLLIElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "li", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "1 a A i I disc circle square", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "long" - } - ] - } - }, - "HTMLLinkElement": { - "name": "HTMLLinkElement", - "extends": "HTMLElement", - "element": [ - { - "name": "link", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "error", - "dispatch": "async", - "type": "Event" - }, - { - "name": "load", - "dispatch": "async", - "follows": "readystatechange", - "skips-window": "1", - "type": "Event" - }, - { - "name": "readystatechange", - "dispatch": "async", - "precedes": "load", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "implements": [ - "LinkStyle" - ], - "properties": { - "property": [ - { - "name": "charset", - "content-attribute": "charset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "character_encoding", - "type": "DOMString" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "href", - "content-attribute": "href", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "hreflang", - "content-attribute": "hreflang", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "bcp47_lang", - "type": "DOMString" - }, - { - "name": "media", - "content-attribute": "media", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "media_query", - "type": "DOMString" - }, - { - "name": "rel", - "content-attribute": "rel", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next offline prefetch preload prev search section start stylesheet subsection shortcut_icon", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "type": "DOMString" - }, - { - "name": "rev", - "content-attribute": "rev", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_enums", - "type": "DOMString" - }, - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "HTMLMapElement": { - "name": "HTMLMapElement", - "extends": "HTMLElement", - "element": [ - { - "name": "map", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "areas", - "read-only": "1", - "type": "HTMLAreasCollection" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLMarqueeElement": { - "name": "HTMLMarqueeElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "marquee", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "bounce", - "dispatch": "sync", - "follows": "start", - "precedes": "finish", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "start", - "dispatch": "sync", - "precedes": "bounce finish", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "finish", - "dispatch": "sync", - "follows": "start bounce", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "start", - "type": "void" - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "behavior", - "content-attribute": "behavior", - "content-attribute-enum-values": "scroll slide alternate", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "bgColor", - "content-attribute": "bgcolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "direction", - "content-attribute": "direction", - "content-attribute-enum-values": "left right up down", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "loop", - "content-attribute": "loop", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "long" - }, - { - "name": "onbounce", - "content-attribute": "onbounce", - "content-attribute-value-syntax": "javascript", - "event-handler": "bounce", - "type": "EventHandler" - }, - { - "name": "onfinish", - "content-attribute": "onfinish", - "content-attribute-value-syntax": "javascript", - "event-handler": "finish", - "type": "EventHandler" - }, - { - "name": "onstart", - "content-attribute": "onstart", - "content-attribute-value-syntax": "javascript", - "event-handler": "start", - "type": "EventHandler" - }, - { - "name": "scrollAmount", - "content-attribute": "scrollamount", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "scrollDelay", - "content-attribute": "scrolldelay", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "trueSpeed", - "content-attribute": "truespeed", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLMediaElement": { - "name": "HTMLMediaElement", - "extends": "HTMLElement", - "constants": { - "constant": [ - { - "name": "HAVE_CURRENT_DATA", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "HAVE_ENOUGH_DATA", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "HAVE_FUTURE_DATA", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "HAVE_METADATA", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "HAVE_NOTHING", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "NETWORK_EMPTY", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "NETWORK_IDLE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "NETWORK_LOADING", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "NETWORK_NO_SOURCE", - "type": "unsigned short", - "value": [ - "3" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "loadstart", - "dispatch": "sync", - "precedes": "progress", - "type": "Event" - }, - { - "name": "progress", - "dispatch": "sync", - "follows": "loadstart", - "precedes": "loadedmetadata", - "type": "Event" - }, - { - "name": "suspend", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "abort", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "emptied", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "stalled", - "dispatch": "sync", - "follows": "playing", - "type": "Event" - }, - { - "name": "play", - "dispatch": "sync", - "follows": "pause", - "type": "Event" - }, - { - "name": "pause", - "dispatch": "sync", - "precedes": "play", - "type": "Event" - }, - { - "name": "loadedmetadata", - "dispatch": "sync", - "follows": "loadstart", - "precedes": "loadeddata waiting seeking", - "type": "Event" - }, - { - "name": "loadeddata", - "dispatch": "sync", - "follows": "loadedmetadata", - "precedes": "canplay", - "type": "Event" - }, - { - "name": "waiting", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "playing", - "dispatch": "sync", - "follows": "canplay", - "precedes": "stalled", - "type": "Event" - }, - { - "name": "canplay", - "dispatch": "sync", - "follows": "loadeddata", - "precedes": "canplaythrough", - "type": "Event" - }, - { - "name": "canplaythrough", - "dispatch": "sync", - "follows": "canplay", - "precedes": "ended", - "type": "Event" - }, - { - "name": "seeking", - "dispatch": "sync", - "follows": "loadedmetadata", - "precedes": "seeked", - "type": "Event" - }, - { - "name": "seeked", - "dispatch": "sync", - "follows": "seeking", - "type": "Event" - }, - { - "name": "timeupdate", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "ended", - "dispatch": "sync", - "follows": "canplaythrough", - "type": "Event" - }, - { - "name": "ratechange", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "durationchange", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "volumechange", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "msneedkey", - "dispatch": "sync", - "tags": "IEOnly", - "type": "MSMediaKeyNeededEvent" - }, - { - "name": "encrypted", - "dispatch": "sync", - "follows": "loadedmetadata", - "type": "MediaEncryptedEvent" - }, - { - "name": "waitingforkey", - "dispatch": "sync", - "follows": "playing", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "addTextTrack", - "type": "TextTrack", - "param": [ - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "label", - "optional": "1", - "type": "DOMString" - }, - { - "name": "language", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "canPlayType", - "type": "DOMString", - "param": [ - { - "name": "type", - "type": "DOMString" - } - ] - }, - { - "name": "load", - "type": "void" - }, - { - "name": "msClearEffects", - "type": "void" - }, - { - "name": "msGetAsCastingSource", - "type": "any" - }, - { - "name": "msInsertAudioEffect", - "type": "void", - "param": [ - { - "name": "activatableClassId", - "type": "DOMString" - }, - { - "name": "effectRequired", - "type": "boolean" - }, - { - "name": "config", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "msSetMediaKeys", - "type": "void", - "param": [ - { - "name": "mediaKeys", - "type": "MSMediaKeys" - } - ] - }, - { - "name": "msSetMediaProtectionManager", - "type": "void", - "param": [ - { - "name": "mediaProtectionManager", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "pause", - "type": "void" - }, - { - "name": "play", - "type": "void" - }, - { - "name": "setMediaKeys", - "type": "Promise", - "param": [ - { - "name": "mediaKeys", - "nullable": "1", - "type": "MediaKeys" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "audioTracks", - "read-only": "1", - "type": "AudioTrackList" - }, - { - "name": "autoplay", - "content-attribute": "autoplay", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "buffered", - "read-only": "1", - "type": "TimeRanges" - }, - { - "name": "controls", - "content-attribute": "controls", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "crossOrigin", - "content-attribute": "crossorigin", - "content-attribute-enum-values": "anonymous use-credentials", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "currentSrc", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "currentTime", - "type": "double" - }, - { - "name": "defaultMuted", - "content-attribute": "muted", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "defaultPlaybackRate", - "type": "double" - }, - { - "name": "duration", - "read-only": "1", - "type": "double" - }, - { - "name": "ended", - "read-only": "1", - "type": "boolean" - }, - { - "name": "error", - "read-only": "1", - "type": "MediaError" - }, - { - "name": "loop", - "content-attribute": "loop", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "mediaKeys", - "nullable": "1", - "read-only": "1", - "type": "MediaKeys" - }, - { - "name": "msAudioCategory", - "type": "DOMString" - }, - { - "name": "msAudioDeviceType", - "type": "DOMString" - }, - { - "name": "msGraphicsTrustStatus", - "read-only": "1", - "type": "MSGraphicsTrust" - }, - { - "name": "msKeys", - "read-only": "1", - "type": "MSMediaKeys" - }, - { - "name": "msPlayToDisabled", - "content-attribute": "x-ms-playtodisabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToPreferredSourceUri", - "content-attribute": "x-ms-playtopreferredsourceuri", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "msPlayToPrimary", - "content-attribute": "x-ms-playtoprimary", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToSource", - "read-only": "1", - "type": "any" - }, - { - "name": "msRealTime", - "type": "boolean" - }, - { - "name": "muted", - "type": "boolean" - }, - { - "name": "networkState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "onencrypted", - "event-handler": "encrypted", - "type": "EventHandler" - }, - { - "name": "onmsneedkey", - "event-handler": "msneedkey", - "type": "EventHandler" - }, - { - "name": "paused", - "read-only": "1", - "type": "boolean" - }, - { - "name": "playbackRate", - "type": "double" - }, - { - "name": "played", - "read-only": "1", - "type": "TimeRanges" - }, - { - "name": "preload", - "content-attribute": "preload", - "content-attribute-enum-values": "none metadata auto", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "readyState", - "read-only": "1", - "type": "any" - }, - { - "name": "seekable", - "read-only": "1", - "type": "TimeRanges" - }, - { - "name": "seeking", - "read-only": "1", - "type": "boolean" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "srcObject", - "nullable": "1", - "type": "MediaStream" - }, - { - "name": "textTracks", - "read-only": "1", - "type": "TextTrackList" - }, - { - "name": "videoTracks", - "read-only": "1", - "type": "VideoTrackList" - }, - { - "name": "volume", - "type": "double" - } - ] - } - }, - "HTMLMenuElement": { - "name": "HTMLMenuElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "menu", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "compact", - "content-attribute": "compact", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "1 a A i I disc circle square", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLMetaElement": { - "name": "HTMLMetaElement", - "extends": "HTMLElement", - "element": [ - { - "name": "meta", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "charset", - "content-attribute": "charset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "character_encoding", - "type": "DOMString" - }, - { - "name": "content", - "content-attribute": "content", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "httpEquiv", - "content-attribute": "http-equiv", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "scheme", - "content-attribute": "scheme", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "url", - "content-attribute": "url", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - } - ] - } - }, - "HTMLMeterElement": { - "name": "HTMLMeterElement", - "extends": "HTMLElement", - "element": [ - { - "name": "meter", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "high", - "content-attribute": "high", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - }, - { - "name": "low", - "content-attribute": "low", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - }, - { - "name": "max", - "content-attribute": "max", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - }, - { - "name": "min", - "content-attribute": "min", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - }, - { - "name": "optimum", - "content-attribute": "optimum", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "double" - } - ] - } - }, - "HTMLModElement": { - "name": "HTMLModElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "ins", - "namespace": "HTML" - }, - { - "name": "del", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "cite", - "content-attribute": "cite", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "dateTime", - "content-attribute": "datetime", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "date_time", - "type": "DOMString" - } - ] - } - }, - "HTMLObjectElement": { - "name": "HTMLObjectElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "object", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "load", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - }, - { - "name": "abort", - "dispatch": "sync", - "type": "UIEvent" - } - ] - }, - "implements": [ - "GetSVGDocument" - ], - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "alt", - "content-attribute": "alt", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "altHtml", - "type": "DOMString" - }, - { - "name": "archive", - "content-attribute": "archive", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "BaseHref", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "code", - "content-attribute": "code", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "codeBase", - "content-attribute": "codebase", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "codeType", - "content-attribute": "codetype", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "contentDocument", - "read-only": "1", - "type": "Document" - }, - { - "name": "data", - "content-attribute": "data", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "declare", - "content-attribute": "declare", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "hspace", - "content-attribute": "hspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "msPlayToDisabled", - "content-attribute": "x-ms-playtodisabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToPreferredSourceUri", - "content-attribute": "x-ms-playtopreferredsourceuri", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "msPlayToPrimary", - "content-attribute": "x-ms-playtoprimary", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "msPlayToSource", - "read-only": "1", - "type": "any" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "type": "DOMString" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "standby", - "content-attribute": "standby", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "useMap", - "content-attribute": "usemap", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "hash_name_ref", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "vspace", - "content-attribute": "vspace", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLOListElement": { - "name": "HTMLOListElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "ol", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "compact", - "content-attribute": "compact", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "start", - "content-attribute": "start", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "type": "long" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "1 a A i I disc circle square", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLOptGroupElement": { - "name": "HTMLOptGroupElement", - "extends": "HTMLElement", - "element": [ - { - "name": "optgroup", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "defaultSelected", - "content-attribute": "selected", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "index", - "read-only": "1", - "type": "long" - }, - { - "name": "label", - "content-attribute": "label", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "selected", - "type": "boolean" - }, - { - "name": "text", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLOptionElement": { - "name": "HTMLOptionElement", - "extends": "HTMLElement", - "element": [ - { - "name": "option", - "namespace": "HTML" - } - ], - "named-constructor": { - "name": "Option", - "param": [ - { - "name": "text", - "optional": "1", - "type": "DOMString" - }, - { - "name": "value", - "optional": "1", - "type": "DOMString" - }, - { - "name": "defaultSelected", - "optional": "1", - "type": "boolean" - }, - { - "name": "selected", - "optional": "1", - "type": "boolean" - } - ] - }, - "properties": { - "property": [ - { - "name": "defaultSelected", - "content-attribute": "selected", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "index", - "read-only": "1", - "type": "long" - }, - { - "name": "label", - "content-attribute": "label", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "selected", - "type": "boolean" - }, - { - "name": "text", - "type": "DOMString" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - } - ] - } - }, - "HTMLOptionsCollection": { - "name": "HTMLOptionsCollection", - "extends": "HTMLCollection", - "anonymous-methods": { - "method": [ - { - "creator": "1", - "setter": "1", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long" - }, - { - "name": "option", - "nullable": "1", - "type": "HTMLOptionElement" - } - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "add", - "type": "void", - "param": [ - { - "name": "element", - "type": "(HTMLOptionElement or HTMLOptGroupElement)" - }, - { - "name": "before", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "(HTMLElement or long)" - } - ] - }, - { - "name": "remove", - "type": "void", - "param": [ - { - "name": "index", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "type": "unsigned long" - }, - { - "name": "selectedIndex", - "type": "long" - } - ] - } - }, - "HTMLOutputElement": { - "name": "HTMLOutputElement", - "extends": "HTMLElement", - "element": [ - { - "name": "output", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "reportValidity", - "type": "boolean" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "defaultValue", - "type": "DOMString" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "htmlFor", - "content-attribute": "for", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_id_refs", - "put-forwards": "value", - "read-only": "1", - "same-object": "1", - "type": "DOMSettableTokenList" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "value", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLParagraphElement": { - "name": "HTMLParagraphElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "p", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "clear", - "content-attribute": "clear", - "content-attribute-enum-values": "all left right none", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLParamElement": { - "name": "HTMLParamElement", - "extends": "HTMLElement", - "element": [ - { - "name": "param", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "valueType", - "content-attribute": "valuetype", - "content-attribute-enum-values": "data ref object", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLPictureElement": { - "name": "HTMLPictureElement", - "extends": "HTMLElement", - "element": [ - { - "name": "picture", - "namespace": "HTML" - } - ] - }, - "HTMLPreElement": { - "name": "HTMLPreElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "pre", - "namespace": "HTML" - }, - { - "name": "listing", - "namespace": "HTML" - }, - { - "name": "xmp", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - } - ] - } - }, - "HTMLProgressElement": { - "name": "HTMLProgressElement", - "extends": "HTMLElement", - "element": [ - { - "name": "progress", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "max", - "content-attribute": "max", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "float" - }, - { - "name": "position", - "read-only": "1", - "type": "float" - }, - { - "name": "value", - "content-attribute": "value", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "type": "float" - } - ] - } - }, - "HTMLQuoteElement": { - "name": "HTMLQuoteElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "q", - "namespace": "HTML" - }, - { - "name": "blockquote", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "cite", - "content-attribute": "cite", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - } - ] - } - }, - "HTMLScriptElement": { - "name": "HTMLScriptElement", - "extends": "HTMLElement", - "element": [ - { - "name": "script", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "load", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "async", - "content-attribute": "async", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "charset", - "content-attribute": "charset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "character_encoding", - "type": "DOMString" - }, - { - "name": "crossOrigin", - "content-attribute": "crossorigin", - "content-attribute-enum-values": "anonymous use-credentials", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "defer", - "content-attribute": "defer", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "event", - "content-attribute": "event", - "content-attribute-enum-values": "onload onload()", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "htmlFor", - "content-attribute": "for", - "content-attribute-enum-values": "window", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "text", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "HTMLSelectElement": { - "name": "HTMLSelectElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "select", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "change", - "bubbles": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "invalid", - "cancelable": "1", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "add", - "type": "void", - "param": [ - { - "name": "element", - "type": "HTMLElement" - }, - { - "name": "before", - "optional": "1", - "type": "(HTMLElement or long)" - } - ] - }, - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "item", - "getter": "1", - "type": "any", - "param": [ - { - "name": "name", - "optional": "1", - "type": "any" - }, - { - "name": "index", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "type": "any", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "remove", - "type": "void", - "param": [ - { - "name": "index", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "autofocus", - "content-attribute": "autofocus", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "length", - "type": "unsigned long" - }, - { - "name": "multiple", - "content-attribute": "multiple", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "options", - "read-only": "1", - "type": "HTMLOptionsCollection" - }, - { - "name": "required", - "content-attribute": "required", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "selectedIndex", - "type": "long" - }, - { - "name": "selectedOptions", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "size", - "content-attribute": "size", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "value", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "HTMLSourceElement": { - "name": "HTMLSourceElement", - "extends": "HTMLElement", - "element": [ - { - "name": "source", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "media", - "content-attribute": "media", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "media_query", - "type": "DOMString" - }, - { - "name": "msKeySystem", - "type": "DOMString" - }, - { - "name": "sizes", - "content-attribute": "sizes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "image_sizes", - "type": "DOMString" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "srcset", - "content-attribute": "srcset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "image_candidates", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "HTMLSpanElement": { - "name": "HTMLSpanElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "span", - "namespace": "HTML" - } - ] - }, - "HTMLStyleElement": { - "name": "HTMLStyleElement", - "extends": "HTMLElement", - "element": [ - { - "name": "style", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "error", - "dispatch": "async", - "type": "Event" - }, - { - "name": "load", - "dispatch": "async", - "follows": "readystatechange", - "skips-window": "1", - "type": "Event" - }, - { - "name": "readystatechange", - "dispatch": "async", - "precedes": "load", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "implements": [ - "LinkStyle" - ], - "properties": { - "property": [ - { - "name": "disabled", - "type": "boolean" - }, - { - "name": "media", - "content-attribute": "media", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "media_query", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "HTMLTableCaptionElement": { - "name": "HTMLTableCaptionElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "caption", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "bottom center left right top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "vAlign", - "content-attribute": "valign", - "content-attribute-enum-values": "top bottom", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLTableCellElement": { - "name": "HTMLTableCellElement", - "extends": "HTMLElement", - "implements": [ - "HTMLTableAlignment" - ], - "properties": { - "property": [ - { - "name": "abbr", - "content-attribute": "abbr", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "axis", - "content-attribute": "axis", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "bgColor", - "content-attribute": "bgcolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "cellIndex", - "read-only": "1", - "type": "long" - }, - { - "name": "colSpan", - "content-attribute": "colspan", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "headers", - "content-attribute": "headers", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_id_refs", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "noWrap", - "content-attribute": "nowrap", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "rowSpan", - "content-attribute": "rowspan", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "scope", - "content-attribute": "scope", - "content-attribute-enum-values": "row col rowgroup colgroup", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLTableColElement": { - "name": "HTMLTableColElement", - "extends": "HTMLElement", - "element": [ - { - "name": "col", - "html-self-closing": "1", - "namespace": "HTML" - }, - { - "name": "colgroup", - "namespace": "HTML" - } - ], - "implements": [ - "HTMLTableAlignment" - ], - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "span", - "content-attribute": "span", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "any" - } - ] - } - }, - "HTMLTableDataCellElement": { - "name": "HTMLTableDataCellElement", - "extends": "HTMLTableCellElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "td", - "namespace": "HTML" - } - ] - }, - "HTMLTableElement": { - "name": "HTMLTableElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "table", - "namespace": "HTML" - } - ], - "methods": { - "method": [ - { - "name": "createCaption", - "type": "HTMLElement" - }, - { - "name": "createTBody", - "type": "HTMLElement" - }, - { - "name": "createTFoot", - "type": "HTMLElement" - }, - { - "name": "createTHead", - "type": "HTMLElement" - }, - { - "name": "deleteCaption", - "type": "void" - }, - { - "name": "deleteRow", - "type": "void", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "deleteTFoot", - "type": "void" - }, - { - "name": "deleteTHead", - "type": "void" - }, - { - "name": "insertRow", - "type": "HTMLElement", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "bgColor", - "content-attribute": "bgcolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "border", - "content-attribute": "border", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - }, - { - "name": "borderColor", - "content-attribute": "bordercolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "caption", - "type": "HTMLTableCaptionElement" - }, - { - "name": "cellPadding", - "content-attribute": "cellpadding", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "integer_or_percentage", - "type": "DOMString" - }, - { - "name": "cellSpacing", - "content-attribute": "cellspacing", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "integer_or_percentage", - "type": "DOMString" - }, - { - "name": "cols", - "content-attribute": "cols", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "long" - }, - { - "name": "frame", - "content-attribute": "frame", - "content-attribute-enum-values": "void above below border box hsides lhs rhs vsides", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "rows", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "rules", - "content-attribute": "rules", - "content-attribute-enum-values": "all cols groups none rows", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "summary", - "content-attribute": "summary", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "tBodies", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "tFoot", - "type": "HTMLTableSectionElement" - }, - { - "name": "tHead", - "type": "HTMLTableSectionElement" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "DOMString" - } - ] - } - }, - "HTMLTableHeaderCellElement": { - "name": "HTMLTableHeaderCellElement", - "extends": "HTMLTableCellElement", - "element": [ - { - "name": "th", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "scope", - "content-attribute": "scope", - "content-attribute-enum-values": "row col rowgroup colgroup", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLTableRowElement": { - "name": "HTMLTableRowElement", - "extends": "HTMLElement", - "element": [ - { - "name": "tr", - "namespace": "HTML" - } - ], - "implements": [ - "HTMLTableAlignment" - ], - "methods": { - "method": [ - { - "name": "deleteCell", - "type": "void", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "insertCell", - "type": "HTMLElement", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "bgColor", - "content-attribute": "bgcolor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "any" - }, - { - "name": "cells", - "read-only": "1", - "type": "HTMLCollection" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "any" - }, - { - "name": "rowIndex", - "read-only": "1", - "type": "long" - }, - { - "name": "sectionRowIndex", - "read-only": "1", - "type": "long" - } - ] - } - }, - "HTMLTableSectionElement": { - "name": "HTMLTableSectionElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "thead", - "namespace": "HTML" - }, - { - "name": "tbody", - "namespace": "HTML" - }, - { - "name": "tfoot", - "namespace": "HTML" - } - ], - "implements": [ - "HTMLTableAlignment" - ], - "methods": { - "method": [ - { - "name": "deleteRow", - "type": "void", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "insertRow", - "type": "HTMLElement", - "param": [ - { - "name": "index", - "default": "-1", - "optional": "1", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "content-attribute": "align", - "content-attribute-enum-values": "center justify left right", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "rows", - "read-only": "1", - "type": "HTMLCollection" - } - ] - } - }, - "HTMLTemplateElement": { - "name": "HTMLTemplateElement", - "extends": "HTMLElement", - "element": [ - { - "name": "template", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "content", - "read-only": "1", - "type": "DocumentFragment" - } - ] - } - }, - "HTMLTextAreaElement": { - "name": "HTMLTextAreaElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "textarea", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "change", - "bubbles": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "input", - "bubbles": "1", - "dispatch": "async", - "type": "Event" - }, - { - "name": "invalid", - "cancelable": "1", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "checkValidity", - "type": "boolean" - }, - { - "name": "select", - "type": "void" - }, - { - "name": "setCustomValidity", - "type": "void", - "param": [ - { - "name": "error", - "type": "DOMString" - } - ] - }, - { - "name": "setSelectionRange", - "type": "void", - "param": [ - { - "name": "start", - "type": "unsigned long" - }, - { - "name": "end", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "autofocus", - "content-attribute": "autofocus", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "cols", - "content-attribute": "cols", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "defaultValue", - "content-attribute": "value", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "disabled", - "content-attribute": "disabled", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "form", - "read-only": "1", - "type": "HTMLFormElement" - }, - { - "name": "maxLength", - "content-attribute": "maxlength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "long" - }, - { - "name": "name", - "content-attribute": "name", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "placeholder", - "content-attribute": "placeholder", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "readOnly", - "content-attribute": "readonly", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "required", - "content-attribute": "required", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "rows", - "content-attribute": "rows", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "unsigned long" - }, - { - "name": "selectionEnd", - "type": "unsigned long" - }, - { - "name": "selectionStart", - "type": "unsigned long" - }, - { - "name": "status", - "type": "any" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validationMessage", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "validity", - "read-only": "1", - "type": "ValidityState" - }, - { - "name": "value", - "type": "DOMString" - }, - { - "name": "willValidate", - "read-only": "1", - "type": "boolean" - }, - { - "name": "wrap", - "content-attribute": "wrap", - "content-attribute-enum-values": "soft hard off", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLTimeElement": { - "name": "HTMLTimeElement", - "extends": "HTMLElement", - "element": [ - { - "name": "time", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "dateTime", - "content-attribute": "datetime", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "date_time", - "type": "DOMString" - } - ] - } - }, - "HTMLTitleElement": { - "name": "HTMLTitleElement", - "extends": "HTMLElement", - "element": [ - { - "name": "title", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "text", - "type": "DOMString" - } - ] - } - }, - "HTMLTrackElement": { - "name": "HTMLTrackElement", - "extends": "HTMLElement", - "constants": { - "constant": [ - { - "name": "ERROR", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "LOADED", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "LOADING", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "NONE", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "track", - "html-self-closing": "1", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "cuechange", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "default", - "content-attribute": "default", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "kind", - "content-attribute": "kind", - "content-attribute-enum-values": "subtitles captions descriptions chapters metadata", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - }, - { - "name": "label", - "content-attribute": "label", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "src", - "content-attribute": "src", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "srclang", - "content-attribute": "srclang", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "bcp47_lang", - "type": "DOMString" - }, - { - "name": "track", - "read-only": "1", - "type": "TextTrack" - } - ] - } - }, - "HTMLUListElement": { - "name": "HTMLUListElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "ul", - "namespace": "HTML" - } - ], - "properties": { - "property": [ - { - "name": "compact", - "content-attribute": "compact", - "content-attribute-boolean": "1", - "content-attribute-reflects": "1", - "type": "boolean" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "1 a A i I disc circle square", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "HTMLUnknownElement": { - "name": "HTMLUnknownElement", - "extends": "HTMLElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "off on", - "name": "unselectable", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "isindex", - "namespace": "HTML" - }, - { - "name": "nextid", - "namespace": "HTML" - } - ] - }, - "HTMLVideoElement": { - "name": "HTMLVideoElement", - "extends": "HTMLMediaElement", - "element": [ - { - "name": "video", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "MSVideoFrameStepCompleted", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "MSVideoFormatChanged", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "MSVideoOptimalLayoutChanged", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "resize", - "dispatch": "async", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getVideoPlaybackQuality", - "type": "VideoPlaybackQuality" - }, - { - "name": "msFrameStep", - "type": "void", - "param": [ - { - "name": "forward", - "type": "boolean" - } - ] - }, - { - "name": "msInsertVideoEffect", - "type": "void", - "param": [ - { - "name": "activatableClassId", - "type": "DOMString" - }, - { - "name": "effectRequired", - "type": "boolean" - }, - { - "name": "config", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "msSetVideoRectangle", - "type": "void", - "param": [ - { - "name": "left", - "type": "float" - }, - { - "name": "top", - "type": "float" - }, - { - "name": "right", - "type": "float" - }, - { - "name": "bottom", - "type": "float" - } - ] - }, - { - "name": "webkitEnterFullscreen", - "type": "void" - }, - { - "name": "webkitEnterFullScreen", - "type": "void" - }, - { - "name": "webkitExitFullscreen", - "type": "void" - }, - { - "name": "webkitExitFullScreen", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - }, - { - "name": "msHorizontalMirror", - "type": "boolean" - }, - { - "name": "msIsLayoutOptimalForPlayback", - "read-only": "1", - "type": "boolean" - }, - { - "name": "msIsStereo3D", - "read-only": "1", - "type": "boolean" - }, - { - "name": "msStereo3DPackingMode", - "type": "DOMString" - }, - { - "name": "msStereo3DRenderMode", - "type": "DOMString" - }, - { - "name": "msZoom", - "type": "boolean" - }, - { - "name": "onMSVideoFormatChanged", - "event-handler": "MSVideoFormatChanged", - "type": "EventHandler" - }, - { - "name": "onMSVideoFrameStepCompleted", - "event-handler": "MSVideoFrameStepCompleted", - "type": "EventHandler" - }, - { - "name": "onMSVideoOptimalLayoutChanged", - "event-handler": "MSVideoOptimalLayoutChanged", - "type": "EventHandler" - }, - { - "name": "poster", - "content-attribute": "poster", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "type": "DOMString" - }, - { - "name": "videoHeight", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "videoWidth", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "webkitDisplayingFullscreen", - "read-only": "1", - "type": "bool" - }, - { - "name": "webkitSupportsFullscreen", - "read-only": "1", - "type": "bool" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "type": "unsigned long" - } - ] - } - }, - "IDBCursor": { - "name": "IDBCursor", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "NEXT", - "type": "DOMString", - "value": [ - "next" - ] - }, - { - "name": "NEXT_NO_DUPLICATE", - "type": "DOMString", - "value": [ - "nextunique" - ] - }, - { - "name": "PREV", - "type": "DOMString", - "value": [ - "prev" - ] - }, - { - "name": "PREV_NO_DUPLICATE", - "type": "DOMString", - "value": [ - "prevunique" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "advance", - "type": "void", - "param": [ - { - "name": "count", - "enforce-range": "1", - "type": "unsigned long" - } - ] - }, - { - "name": "continue", - "type": "void", - "param": [ - { - "name": "key", - "default": "0", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "delete", - "type": "IDBRequest" - }, - { - "name": "update", - "type": "IDBRequest", - "param": [ - { - "name": "value", - "type": "any" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "direction", - "read-only": "1", - "type": "IDBCursorDirection" - }, - { - "name": "key", - "read-only": "1", - "type": "any" - }, - { - "name": "primaryKey", - "read-only": "1", - "type": "any" - }, - { - "name": "source", - "read-only": "1", - "type": "(IDBObjectStore or IDBIndex)" - } - ] - } - }, - "IDBCursorWithValue": { - "name": "IDBCursorWithValue", - "extends": "IDBCursor", - "properties": { - "property": [ - { - "name": "value", - "read-only": "1", - "type": "any" - } - ] - } - }, - "IDBDatabase": { - "name": "IDBDatabase", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "abort", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "void" - }, - { - "name": "createObjectStore", - "type": "IDBObjectStore", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "optionalParameters", - "default": "0", - "optional": "1", - "type": "IDBObjectStoreParameters" - } - ] - }, - { - "name": "deleteObjectStore", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "transaction", - "type": "IDBTransaction", - "param": [ - { - "name": "storeNames", - "type": "(DOMString or sequence)" - }, - { - "name": "mode", - "default": "\"readonly\"", - "optional": "1", - "type": "IDBTransactionMode" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "objectStoreNames", - "read-only": "1", - "type": "DOMStringList" - }, - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "version", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "IDBFactory": { - "name": "IDBFactory", - "extends": "Object", - "methods": { - "method": [ - { - "name": "cmp", - "type": "short", - "param": [ - { - "name": "first", - "type": "any" - }, - { - "name": "second", - "type": "any" - } - ] - }, - { - "name": "deleteDatabase", - "type": "IDBOpenDBRequest", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "open", - "type": "IDBOpenDBRequest", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "version", - "enforce-range": "1", - "optional": "1", - "type": "unsigned long long" - } - ] - } - ] - } - }, - "IDBIndex": { - "name": "IDBIndex", - "extends": "Object", - "methods": { - "method": [ - { - "name": "count", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "get", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "type": "any" - } - ] - }, - { - "name": "getKey", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "type": "any" - } - ] - }, - { - "name": "openCursor", - "type": "IDBRequest", - "param": [ - { - "name": "range", - "default": "0", - "optional": "1", - "type": "any" - }, - { - "name": "direction", - "default": "\"next\"", - "optional": "1", - "type": "IDBCursorDirection" - } - ] - }, - { - "name": "openKeyCursor", - "type": "IDBRequest", - "param": [ - { - "name": "range", - "default": "0", - "optional": "1", - "type": "any" - }, - { - "name": "direction", - "default": "\"next\"", - "optional": "1", - "type": "IDBCursorDirection" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "keyPath", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "objectStore", - "read-only": "1", - "type": "IDBObjectStore" - }, - { - "name": "unique", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "IDBKeyRange": { - "name": "IDBKeyRange", - "extends": "Object", - "methods": { - "method": [ - { - "name": "bound", - "static": "1", - "type": "IDBKeyRange", - "param": [ - { - "name": "lower", - "type": "any" - }, - { - "name": "upper", - "type": "any" - }, - { - "name": "lowerOpen", - "default": "false", - "optional": "1", - "type": "boolean" - }, - { - "name": "upperOpen", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "lowerBound", - "static": "1", - "type": "IDBKeyRange", - "param": [ - { - "name": "lower", - "type": "any" - }, - { - "name": "open", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "only", - "static": "1", - "type": "IDBKeyRange", - "param": [ - { - "name": "value", - "type": "any" - } - ] - }, - { - "name": "upperBound", - "static": "1", - "type": "IDBKeyRange", - "param": [ - { - "name": "upper", - "type": "any" - }, - { - "name": "open", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "lower", - "read-only": "1", - "type": "any" - }, - { - "name": "lowerOpen", - "read-only": "1", - "type": "boolean" - }, - { - "name": "upper", - "read-only": "1", - "type": "any" - }, - { - "name": "upperOpen", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "IDBObjectStore": { - "name": "IDBObjectStore", - "extends": "Object", - "methods": { - "method": [ - { - "name": "add", - "type": "IDBRequest", - "param": [ - { - "name": "value", - "type": "any" - }, - { - "name": "key", - "default": "0", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "clear", - "type": "IDBRequest" - }, - { - "name": "count", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "optional": "1", - "type": "any" - } - ] - }, - { - "name": "createIndex", - "type": "IDBIndex", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "keyPath", - "type": "DOMString", - "type-original": "IDBKeyPath" - }, - { - "name": "optionalParameters", - "default": "0", - "optional": "1", - "type": "IDBIndexParameters" - } - ] - }, - { - "name": "delete", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "type": "any" - } - ] - }, - { - "name": "deleteIndex", - "type": "void", - "param": [ - { - "name": "indexName", - "type": "DOMString" - } - ] - }, - { - "name": "get", - "type": "IDBRequest", - "param": [ - { - "name": "key", - "type": "any" - } - ] - }, - { - "name": "index", - "type": "IDBIndex", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "openCursor", - "type": "IDBRequest", - "param": [ - { - "name": "range", - "default": "0", - "optional": "1", - "type": "any" - }, - { - "name": "direction", - "default": "\"next\"", - "optional": "1", - "type": "IDBCursorDirection" - } - ] - }, - { - "name": "put", - "type": "IDBRequest", - "param": [ - { - "name": "value", - "type": "any" - }, - { - "name": "key", - "default": "0", - "optional": "1", - "type": "any" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "indexNames", - "read-only": "1", - "type": "DOMStringList" - }, - { - "name": "keyPath", - "nullable": "1", - "read-only": "1", - "type": "DOMString", - "type-original": "IDBKeyPath" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "transaction", - "read-only": "1", - "type": "IDBTransaction" - } - ] - } - }, - "IDBOpenDBRequest": { - "name": "IDBOpenDBRequest", - "extends": "IDBRequest", - "events": { - "event": [ - { - "name": "blocked", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "upgradeneeded", - "dispatch": "sync", - "skips-window": "1", - "type": "IDBVersionChangeEvent" - } - ] - }, - "properties": { - "property": [ - { - "name": "onblocked", - "event-handler": "blocked", - "type": "EventHandler" - }, - { - "name": "onupgradeneeded", - "event-handler": "upgradeneeded", - "type": "EventHandler" - } - ] - } - }, - "IDBRequest": { - "name": "IDBRequest", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "error", - "bubbles": "1", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "success", - "bubbles": "1", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "read-only": "1", - "type": "DOMError" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onsuccess", - "event-handler": "success", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "type": "IDBRequestReadyState" - }, - { - "name": "result", - "read-only": "1", - "type": "any" - }, - { - "name": "source", - "nullable": "1", - "read-only": "1", - "type": "(IDBObjectStore or IDBIndex or IDBCursor)" - }, - { - "name": "transaction", - "read-only": "1", - "type": "IDBTransaction" - } - ] - } - }, - "IDBTransaction": { - "name": "IDBTransaction", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "READ_ONLY", - "type": "DOMString", - "value": [ - "readonly" - ] - }, - { - "name": "READ_WRITE", - "type": "DOMString", - "value": [ - "readwrite" - ] - }, - { - "name": "VERSION_CHANGE", - "type": "DOMString", - "value": [ - "versionchange" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "abort", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "complete", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "type": "void" - }, - { - "name": "objectStore", - "type": "IDBObjectStore", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "db", - "read-only": "1", - "type": "IDBDatabase" - }, - { - "name": "error", - "read-only": "1", - "type": "DOMError" - }, - { - "name": "mode", - "read-only": "1", - "type": "IDBTransactionMode" - }, - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "oncomplete", - "event-handler": "complete", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - } - ] - } - }, - "IDBVersionChangeEvent": { - "name": "IDBVersionChangeEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "newVersion", - "nullable": "1", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "oldVersion", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "IIRFilterNode": { - "name": "IIRFilterNode", - "extends": "AudioNode", - "methods": { - "method": [ - { - "name": "getFrequencyResponse", - "type": "void", - "param": [ - { - "name": "frequencyHz", - "type": "Float32Array" - }, - { - "name": "magResponse", - "type": "Float32Array" - }, - { - "name": "phaseResponse", - "type": "Float32Array" - } - ] - } - ] - } - }, - "ImageData": { - "name": "ImageData", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "width", - "type": "unsigned long" - }, - { - "name": "height", - "type": "unsigned long" - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "Uint8ClampedArray" - }, - { - "name": "height", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "width", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "IntersectionObserver": { - "name": "IntersectionObserver", - "exposed": "Window", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "callback", - "type": "IntersectionObserverCallback" - }, - { - "name": "options", - "optional": "1", - "type": "IntersectionObserverInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "disconnect", - "type": "void" - }, - { - "name": "observe", - "type": "void", - "param": [ - { - "name": "target", - "type": "Element" - } - ] - }, - { - "name": "takeRecords", - "type": "sequence" - }, - { - "name": "unobserve", - "type": "void", - "param": [ - { - "name": "target", - "type": "Element" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "root", - "nullable": "1", - "read-only": "1", - "type": "Element" - }, - { - "name": "rootMargin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "thresholds", - "read-only": "1", - "type": "sequence" - } - ] - } - }, - "IntersectionObserverEntry": { - "name": "IntersectionObserverEntry", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "intersectionObserverEntryInit", - "type": "IntersectionObserverEntryInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "boundingClientRect", - "read-only": "1", - "type": "ClientRect" - }, - { - "name": "intersectionRatio", - "read-only": "1", - "type": "double" - }, - { - "name": "intersectionRect", - "read-only": "1", - "type": "ClientRect" - }, - { - "name": "rootBounds", - "read-only": "1", - "type": "ClientRect" - }, - { - "name": "target", - "read-only": "1", - "type": "Element" - }, - { - "name": "time", - "read-only": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "KeyboardEvent": { - "name": "KeyboardEvent", - "extends": "UIEvent", - "constants": { - "constant": [ - { - "name": "DOM_KEY_LOCATION_JOYSTICK", - "type": "unsigned long", - "value": [ - "0x05" - ] - }, - { - "name": "DOM_KEY_LOCATION_LEFT", - "type": "unsigned long", - "value": [ - "0x01" - ] - }, - { - "name": "DOM_KEY_LOCATION_MOBILE", - "type": "unsigned long", - "value": [ - "0x04" - ] - }, - { - "name": "DOM_KEY_LOCATION_NUMPAD", - "type": "unsigned long", - "value": [ - "0x03" - ] - }, - { - "name": "DOM_KEY_LOCATION_RIGHT", - "type": "unsigned long", - "value": [ - "0x02" - ] - }, - { - "name": "DOM_KEY_LOCATION_STANDARD", - "type": "unsigned long", - "value": [ - "0x00" - ] - } - ] - }, - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "KeyboardEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "getModifierState", - "type": "boolean", - "param": [ - { - "name": "keyArg", - "type": "DOMString" - } - ] - }, - { - "name": "initKeyboardEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "keyArg", - "type": "DOMString" - }, - { - "name": "locationArg", - "type": "unsigned long" - }, - { - "name": "modifiersListArg", - "type": "DOMString" - }, - { - "name": "repeat", - "type": "boolean" - }, - { - "name": "locale", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "altKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "char", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "charCode", - "read-only": "1", - "type": "short" - }, - { - "name": "ctrlKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "key", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "keyCode", - "read-only": "1", - "type": "short" - }, - { - "name": "locale", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "location", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "metaKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "repeat", - "read-only": "1", - "type": "boolean" - }, - { - "name": "shiftKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "which", - "read-only": "1", - "type": "short" - } - ] - } - }, - "ListeningStateChangedEvent": { - "name": "ListeningStateChangedEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "label", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "state", - "read-only": "1", - "type": "ListeningState" - } - ] - } - }, - "Location": { - "name": "Location", - "extends": "Object", - "methods": { - "method": [ - { - "name": "assign", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "type": "void", - "param": [ - { - "name": "url", - "type": "DOMString" - } - ] - }, - { - "name": "reload", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "type": "void", - "param": [ - { - "name": "forcedReload", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "replace", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "type": "void", - "param": [ - { - "name": "url", - "type": "DOMString" - } - ] - }, - { - "name": "toString", - "property-descriptor-not-configurable": "1", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "hash", - "property-descriptor-not-configurable": "1", - "type": "DOMString" - }, - { - "name": "host", - "property-descriptor-not-configurable": "1", - "type": "DOMString" - }, - { - "name": "hostname", - "property-descriptor-not-configurable": "1", - "type": "DOMString" - }, - { - "name": "href", - "property-descriptor-not-configurable": "1", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "pathname", - "type": "DOMString" - }, - { - "name": "port", - "type": "DOMString" - }, - { - "name": "protocol", - "type": "DOMString" - }, - { - "name": "search", - "property-descriptor-not-configurable": "1", - "type": "DOMString" - } - ] - } - }, - "LongRunningScriptDetectedEvent": { - "name": "LongRunningScriptDetectedEvent", - "extends": "Event", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "executionTime", - "read-only": "1", - "tags": "MSAppOnly", - "type": "long" - }, - { - "name": "stopPageScriptExecution", - "tags": "MSAppOnly", - "type": "boolean" - } - ] - } - }, - "MediaDeviceInfo": { - "name": "MediaDeviceInfo", - "extends": "Object", - "properties": { - "property": [ - { - "name": "deviceId", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "groupId", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "kind", - "read-only": "1", - "type": "MediaDeviceKind" - }, - { - "name": "label", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaDevices": { - "name": "MediaDevices", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "devicechange", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "enumerateDevices", - "type": "Promise>" - }, - { - "name": "getSupportedConstraints", - "type": "MediaTrackSupportedConstraints" - }, - { - "name": "getUserMedia", - "type": "Promise", - "param": [ - { - "name": "constraints", - "type": "MediaStreamConstraints" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "ondevicechange", - "event-handler": "devicechange", - "type": "EventHandler" - } - ] - } - }, - "MediaElementAudioSourceNode": { - "name": "MediaElementAudioSourceNode", - "extends": "AudioNode" - }, - "MediaEncryptedEvent": { - "name": "MediaEncryptedEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaEncryptedEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "initData", - "nullable": "1", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "initDataType", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaError": { - "name": "MediaError", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "MEDIA_ERR_ABORTED", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "MEDIA_ERR_DECODE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "MEDIA_ERR_NETWORK", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "MEDIA_ERR_SRC_NOT_SUPPORTED", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "MS_MEDIA_ERR_ENCRYPTED", - "type": "unsigned short", - "value": [ - "5" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "code", - "read-only": "1", - "type": "short" - }, - { - "name": "msExtendedCode", - "read-only": "1", - "type": "long" - } - ] - } - }, - "MediaKeyMessageEvent": { - "name": "MediaKeyMessageEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaKeyMessageEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "message", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "messageType", - "read-only": "1", - "type": "MediaKeyMessageType" - } - ] - } - }, - "MediaKeys": { - "name": "MediaKeys", - "extends": "Object", - "methods": { - "method": [ - { - "name": "createSession", - "type": "MediaKeySession", - "param": [ - { - "name": "sessionType", - "default": "\"temporary\"", - "optional": "1", - "type": "MediaKeySessionType" - } - ] - }, - { - "name": "setServerCertificate", - "type": "Promise", - "param": [ - { - "name": "serverCertificate", - "type": "BufferSource" - } - ] - } - ] - } - }, - "MediaKeySession": { - "name": "MediaKeySession", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "keystatuseschange", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "message", - "dispatch": "sync", - "type": "MediaKeyMessageEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "Promise" - }, - { - "name": "generateRequest", - "type": "Promise", - "param": [ - { - "name": "initDataType", - "type": "DOMString" - }, - { - "name": "initData", - "type": "BufferSource" - } - ] - }, - { - "name": "load", - "type": "Promise", - "param": [ - { - "name": "sessionId", - "type": "DOMString" - } - ] - }, - { - "name": "remove", - "type": "Promise" - }, - { - "name": "update", - "type": "Promise", - "param": [ - { - "name": "response", - "type": "BufferSource" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "closed", - "read-only": "1", - "type": "Promise" - }, - { - "name": "expiration", - "read-only": "1", - "type": "UnrestrictedDouble" - }, - { - "name": "keyStatuses", - "read-only": "1", - "type": "MediaKeyStatusMap" - }, - { - "name": "sessionId", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaKeyStatusMap": { - "name": "MediaKeyStatusMap", - "extends": "Object", - "methods": { - "method": [ - { - "name": "forEach", - "type": "void", - "param": [ - { - "name": "callback", - "type": "ForEachCallback" - } - ] - }, - { - "name": "get", - "type": "MediaKeyStatus", - "param": [ - { - "name": "keyId", - "type": "BufferSource" - } - ] - }, - { - "name": "has", - "type": "boolean", - "param": [ - { - "name": "keyId", - "type": "BufferSource" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "size", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "MediaKeySystemAccess": { - "name": "MediaKeySystemAccess", - "extends": "Object", - "methods": { - "method": [ - { - "name": "createMediaKeys", - "type": "Promise" - }, - { - "name": "getConfiguration", - "type": "MediaKeySystemConfiguration" - } - ] - }, - "properties": { - "property": [ - { - "name": "keySystem", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaList": { - "name": "MediaList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendMedium", - "type": "void", - "param": [ - { - "name": "newMedium", - "type": "DOMString" - } - ] - }, - { - "name": "deleteMedium", - "type": "void", - "param": [ - { - "name": "oldMedium", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "mediaText", - "stringifier": "1", - "type": "DOMString" - } - ] - } - }, - "MediaQueryList": { - "name": "MediaQueryList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "addListener", - "type": "void", - "param": [ - { - "name": "listener", - "type": "MediaQueryListListener" - } - ] - }, - { - "name": "removeListener", - "type": "void", - "param": [ - { - "name": "listener", - "type": "MediaQueryListListener" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "matches", - "read-only": "1", - "type": "boolean" - }, - { - "name": "media", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaSource": { - "name": "MediaSource", - "extends": "EventTarget", - "constructor": {}, - "events": { - "event": [ - { - "name": "sourceopen", - "dispatch": "sync", - "precedes": "sourceended sourceclose", - "skips-window": "1", - "type": "Event" - }, - { - "name": "sourceended", - "dispatch": "sync", - "follows": "sourceopen", - "precedes": "sourceclose", - "skips-window": "1", - "type": "Event" - }, - { - "name": "sourceclose", - "dispatch": "sync", - "follows": "sourceended sourceopen", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "addSourceBuffer", - "type": "SourceBuffer", - "param": [ - { - "name": "type", - "type": "DOMString" - } - ] - }, - { - "name": "endOfStream", - "type": "void", - "param": [ - { - "name": "error", - "optional": "1", - "type": "EndOfStreamError" - } - ] - }, - { - "name": "isTypeSupported", - "static": "1", - "type": "boolean", - "param": [ - { - "name": "type", - "type": "DOMString" - } - ] - }, - { - "name": "removeSourceBuffer", - "type": "void", - "param": [ - { - "name": "sourceBuffer", - "type": "SourceBuffer" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "activeSourceBuffers", - "read-only": "1", - "type": "SourceBufferList" - }, - { - "name": "duration", - "type": "double" - }, - { - "name": "readyState", - "read-only": "1", - "type": "ReadyState" - }, - { - "name": "sourceBuffers", - "read-only": "1", - "type": "SourceBufferList" - } - ] - } - }, - "MediaStream": { - "name": "MediaStream", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "streamOrTracks", - "optional": "1", - "type": "(MediaStream or sequence)" - } - ] - }, - "events": { - "event": [ - { - "name": "active", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "inactive", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "addtrack", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamTrackEvent" - }, - { - "name": "removetrack", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamTrackEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "addTrack", - "type": "void", - "param": [ - { - "name": "track", - "type": "MediaStreamTrack" - } - ] - }, - { - "name": "clone", - "type": "MediaStream" - }, - { - "name": "getAudioTracks", - "type": "sequence" - }, - { - "name": "getTrackById", - "nullable": "1", - "type": "MediaStreamTrack", - "param": [ - { - "name": "trackId", - "type": "DOMString" - } - ] - }, - { - "name": "getTracks", - "type": "sequence" - }, - { - "name": "getVideoTracks", - "type": "sequence" - }, - { - "name": "removeTrack", - "type": "void", - "param": [ - { - "name": "track", - "type": "MediaStreamTrack" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "active", - "read-only": "1", - "type": "boolean" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "onactive", - "event-handler": "active", - "type": "EventHandler" - }, - { - "name": "onaddtrack", - "event-handler": "addtrack", - "type": "EventHandler" - }, - { - "name": "oninactive", - "event-handler": "inactive", - "type": "EventHandler" - }, - { - "name": "onremovetrack", - "event-handler": "removetrack", - "type": "EventHandler" - } - ] - } - }, - "MediaStreamAudioSourceNode": { - "name": "MediaStreamAudioSourceNode", - "extends": "AudioNode" - }, - "MediaStreamError": { - "name": "MediaStreamError", - "extends": "Object", - "properties": { - "property": [ - { - "name": "constraintName", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "message", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MediaStreamErrorEvent": { - "name": "MediaStreamErrorEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaStreamErrorEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "nullable": "1", - "read-only": "1", - "type": "MediaStreamError" - } - ] - } - }, - "MediaStreamEvent": { - "name": "MediaStreamEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "MediaStreamEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "stream", - "nullable": "1", - "read-only": "1", - "type": "MediaStream" - } - ] - } - }, - "MediaStreamTrack": { - "name": "MediaStreamTrack", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "mute", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "unmute", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "ended", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamErrorEvent" - }, - { - "name": "overconstrained", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamErrorEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "applyConstraints", - "type": "Promise", - "param": [ - { - "name": "constraints", - "type": "MediaTrackConstraints" - } - ] - }, - { - "name": "clone", - "type": "MediaStreamTrack" - }, - { - "name": "getCapabilities", - "type": "MediaTrackCapabilities" - }, - { - "name": "getConstraints", - "type": "MediaTrackConstraints" - }, - { - "name": "getSettings", - "type": "MediaTrackSettings" - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "enabled", - "type": "boolean" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "kind", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "label", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "muted", - "read-only": "1", - "type": "boolean" - }, - { - "name": "onended", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "onmute", - "event-handler": "mute", - "type": "EventHandler" - }, - { - "name": "onoverconstrained", - "event-handler": "overconstrained", - "type": "EventHandler" - }, - { - "name": "onunmute", - "event-handler": "unmute", - "type": "EventHandler" - }, - { - "name": "readonly", - "read-only": "1", - "type": "boolean" - }, - { - "name": "readyState", - "read-only": "1", - "type": "MediaStreamTrackState" - }, - { - "name": "remote", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "MediaStreamTrackEvent": { - "name": "MediaStreamTrackEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MediaStreamTrackEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "track", - "read-only": "1", - "type": "MediaStreamTrack" - } - ] - } - }, - "MessageChannel": { - "name": "MessageChannel", - "extends": "Object", - "constructor": {}, - "properties": { - "property": [ - { - "name": "port1", - "read-only": "1", - "type": "MessagePort" - }, - { - "name": "port2", - "read-only": "1", - "type": "MessagePort" - } - ] - } - }, - "MessageEvent": { - "name": "MessageEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MessageEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initMessageEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "dataArg", - "type": "any" - }, - { - "name": "originArg", - "type": "DOMString" - }, - { - "name": "lastEventIdArg", - "type": "DOMString" - }, - { - "name": "sourceArg", - "type": "Window" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "any" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "ports", - "read-only": "1", - "type": "any" - }, - { - "name": "source", - "read-only": "1", - "type": "Window" - } - ] - } - }, - "MessagePort": { - "name": "MessagePort", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "message", - "dispatch": "async", - "skips-window": "1", - "type": "MessageEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "void" - }, - { - "name": "postMessage", - "type": "void", - "param": [ - { - "name": "message", - "optional": "1", - "type": "any" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - }, - { - "name": "start", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - } - ] - } - }, - "MimeType": { - "name": "MimeType", - "extends": "Object", - "properties": { - "property": [ - { - "name": "description", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "enabledPlugin", - "read-only": "1", - "type": "Plugin" - }, - { - "name": "suffixes", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MimeTypeArray": { - "name": "MimeTypeArray", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "Plugin", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "type": "Plugin", - "param": [ - { - "name": "type", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "MouseEvent": { - "name": "MouseEvent", - "extends": "UIEvent", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "MouseEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "getModifierState", - "type": "boolean", - "param": [ - { - "name": "keyArg", - "type": "DOMString" - } - ] - }, - { - "name": "initMouseEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "long" - }, - { - "name": "clientYArg", - "type": "long" - }, - { - "name": "ctrlKeyArg", - "type": "boolean" - }, - { - "name": "altKeyArg", - "type": "boolean" - }, - { - "name": "shiftKeyArg", - "type": "boolean" - }, - { - "name": "metaKeyArg", - "type": "boolean" - }, - { - "name": "buttonArg", - "type": "unsigned short" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "altKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "button", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "buttons", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "clientX", - "read-only": "1", - "type": "long" - }, - { - "name": "clientY", - "read-only": "1", - "type": "long" - }, - { - "name": "ctrlKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "fromElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "layerX", - "read-only": "1", - "type": "long" - }, - { - "name": "layerY", - "read-only": "1", - "type": "long" - }, - { - "name": "metaKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "movementX", - "read-only": "1", - "type": "long" - }, - { - "name": "movementY", - "read-only": "1", - "type": "long" - }, - { - "name": "offsetX", - "read-only": "1", - "type": "long" - }, - { - "name": "offsetY", - "read-only": "1", - "type": "long" - }, - { - "name": "pageX", - "read-only": "1", - "type": "long" - }, - { - "name": "pageY", - "read-only": "1", - "type": "long" - }, - { - "name": "relatedTarget", - "read-only": "1", - "type": "EventTarget" - }, - { - "name": "screenX", - "read-only": "1", - "type": "long" - }, - { - "name": "screenY", - "read-only": "1", - "type": "long" - }, - { - "name": "shiftKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "toElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "which", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "x", - "read-only": "1", - "type": "long" - }, - { - "name": "y", - "read-only": "1", - "type": "long" - } - ] - } - }, - "MSApp": { - "name": "MSApp", - "extends": "Object", - "static": "1", - "tags": "MSAppOnly", - "constants": { - "constant": [ - { - "name": "CURRENT", - "type": "DOMString", - "value": [ - "current" - ] - }, - { - "name": "HIGH", - "type": "DOMString", - "value": [ - "high" - ] - }, - { - "name": "IDLE", - "type": "DOMString", - "value": [ - "idle" - ] - }, - { - "name": "NORMAL", - "type": "DOMString", - "value": [ - "normal" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "clearTemporaryWebDataAsync", - "static": "1", - "tags": "MSAppOnly", - "type": "MSAppAsyncOperation" - }, - { - "name": "createBlobFromRandomAccessStream", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "Blob", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "seeker", - "type": "any" - } - ] - }, - { - "name": "createDataPackage", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "any", - "param": [ - { - "name": "object", - "type": "any" - } - ] - }, - { - "name": "createDataPackageFromSelection", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "any" - }, - { - "name": "createFileFromStorageFile", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "File", - "param": [ - { - "name": "storageFile", - "type": "any" - } - ] - }, - { - "name": "createStreamFromInputStream", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "MSStream", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "inputStream", - "type": "any" - } - ] - }, - { - "name": "execAsyncAtPriority", - "static": "1", - "type": "void", - "param": [ - { - "name": "asynchronousCallback", - "type": "MSExecAtPriorityFunctionCallback" - }, - { - "name": "priority", - "type": "DOMString" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "execAtPriority", - "static": "1", - "type": "any", - "param": [ - { - "name": "synchronousCallback", - "type": "MSExecAtPriorityFunctionCallback" - }, - { - "name": "priority", - "type": "DOMString" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "getCurrentPriority", - "static": "1", - "type": "DOMString" - }, - { - "name": "getHtmlPrintDocumentSourceAsync", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "Promise", - "param": [ - { - "name": "htmlDoc", - "type": "any" - } - ] - }, - { - "name": "getViewId", - "static": "1", - "tags": "MSAppOnly", - "type": "any", - "param": [ - { - "name": "view", - "type": "any" - } - ] - }, - { - "name": "isTaskScheduledAtPriorityOrHigher", - "static": "1", - "type": "boolean", - "param": [ - { - "name": "priority", - "type": "DOMString" - } - ] - }, - { - "name": "pageHandlesAllApplicationActivations", - "static": "1", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "enabled", - "type": "boolean" - } - ] - }, - { - "name": "suppressSubdownloadCredentialPrompts", - "static": "1", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "suppress", - "type": "boolean" - } - ] - }, - { - "name": "terminateApp", - "property-descriptor-not-configurable": "1", - "property-descriptor-not-writable": "1", - "static": "1", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "exceptionObject", - "type": "any" - } - ] - } - ] - } - }, - "MSAppAsyncOperation": { - "name": "MSAppAsyncOperation", - "extends": "EventTarget", - "tags": "MSAppOnly", - "constants": { - "constant": [ - { - "name": "COMPLETED", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "ERROR", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "STARTED", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "complete", - "dispatch": "sync", - "skips-window": "1", - "tags": "MSAppOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "start", - "tags": "MSAppOnly", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMError" - }, - { - "name": "oncomplete", - "event-handler": "complete", - "tags": "MSAppOnly", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "tags": "MSAppOnly", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "tags": "MSAppOnly", - "type": "unsigned short" - }, - { - "name": "result", - "read-only": "1", - "tags": "MSAppOnly", - "type": "any" - } - ] - } - }, - "MSAssertion": { - "name": "MSAssertion", - "extends": "Object", - "properties": { - "property": [ - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "type", - "read-only": "1", - "type": "MSCredentialType" - } - ] - } - }, - "MSBlobBuilder": { - "name": "MSBlobBuilder", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "append", - "type": "void", - "param": [ - { - "name": "data", - "type": "any" - }, - { - "name": "endings", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getBlob", - "type": "Blob", - "param": [ - { - "name": "contentType", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "MSCredentials": { - "name": "MSCredentials", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getAssertion", - "type": "Promise", - "param": [ - { - "name": "challenge", - "type": "DOMString" - }, - { - "name": "filter", - "optional": "1", - "type": "MSCredentialFilter" - }, - { - "name": "params", - "optional": "1", - "type": "MSSignatureParameters" - } - ] - }, - { - "name": "makeCredential", - "type": "Promise", - "param": [ - { - "name": "accountInfo", - "type": "MSAccountInfo" - }, - { - "name": "params", - "type": "sequence" - }, - { - "name": "challenge", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "MSFIDOCredentialAssertion": { - "name": "MSFIDOCredentialAssertion", - "extends": "MSAssertion", - "properties": { - "property": [ - { - "name": "algorithm", - "read-only": "1", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "attestation", - "nullable": "1", - "read-only": "1", - "type": "MSAttestationStatement" - }, - { - "name": "publicKey", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "transportHints", - "read-only": "1", - "type": "sequence" - } - ] - } - }, - "MSFIDOSignature": { - "name": "MSFIDOSignature", - "extends": "Object", - "properties": { - "property": [ - { - "name": "authnrData", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "clientData", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "signature", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MSFIDOSignatureAssertion": { - "name": "MSFIDOSignatureAssertion", - "extends": "MSAssertion", - "properties": { - "property": [ - { - "name": "signature", - "read-only": "1", - "type": "MSFIDOSignature" - } - ] - } - }, - "MSGesture": { - "name": "MSGesture", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "addPointer", - "type": "void", - "param": [ - { - "name": "pointerId", - "type": "long" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "target", - "type": "Element" - } - ] - } - }, - "MSGestureEvent": { - "name": "MSGestureEvent", - "extends": "UIEvent", - "constants": { - "constant": [ - { - "name": "MSGESTURE_FLAG_BEGIN", - "type": "unsigned long", - "value": [ - "0x00000001" - ] - }, - { - "name": "MSGESTURE_FLAG_CANCEL", - "type": "unsigned long", - "value": [ - "0x00000004" - ] - }, - { - "name": "MSGESTURE_FLAG_END", - "type": "unsigned long", - "value": [ - "0x00000002" - ] - }, - { - "name": "MSGESTURE_FLAG_INERTIA", - "type": "unsigned long", - "value": [ - "0x00000008" - ] - }, - { - "name": "MSGESTURE_FLAG_NONE", - "type": "unsigned long", - "value": [ - "0x00000000" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "initGestureEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "float" - }, - { - "name": "clientYArg", - "type": "float" - }, - { - "name": "offsetXArg", - "type": "float" - }, - { - "name": "offsetYArg", - "type": "float" - }, - { - "name": "translationXArg", - "type": "float" - }, - { - "name": "translationYArg", - "type": "float" - }, - { - "name": "scaleArg", - "type": "float" - }, - { - "name": "expansionArg", - "type": "float" - }, - { - "name": "rotationArg", - "type": "float" - }, - { - "name": "velocityXArg", - "type": "float" - }, - { - "name": "velocityYArg", - "type": "float" - }, - { - "name": "velocityExpansionArg", - "type": "float" - }, - { - "name": "velocityAngularArg", - "type": "float" - }, - { - "name": "hwTimestampArg", - "type": "unsigned long long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "clientX", - "read-only": "1", - "type": "float" - }, - { - "name": "clientY", - "read-only": "1", - "type": "float" - }, - { - "name": "expansion", - "read-only": "1", - "type": "float" - }, - { - "name": "gestureObject", - "read-only": "1", - "type": "any" - }, - { - "name": "hwTimestamp", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "offsetX", - "read-only": "1", - "type": "float" - }, - { - "name": "offsetY", - "read-only": "1", - "type": "float" - }, - { - "name": "rotation", - "read-only": "1", - "type": "float" - }, - { - "name": "scale", - "read-only": "1", - "type": "float" - }, - { - "name": "screenX", - "read-only": "1", - "type": "long" - }, - { - "name": "screenY", - "read-only": "1", - "type": "long" - }, - { - "name": "translationX", - "read-only": "1", - "type": "float" - }, - { - "name": "translationY", - "read-only": "1", - "type": "float" - }, - { - "name": "velocityAngular", - "read-only": "1", - "type": "float" - }, - { - "name": "velocityExpansion", - "read-only": "1", - "type": "float" - }, - { - "name": "velocityX", - "read-only": "1", - "type": "float" - }, - { - "name": "velocityY", - "read-only": "1", - "type": "float" - } - ] - } - }, - "MSGraphicsTrust": { - "name": "MSGraphicsTrust", - "extends": "Object", - "properties": { - "property": [ - { - "name": "constrictionActive", - "read-only": "1", - "type": "boolean" - }, - { - "name": "status", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MSHTMLWebViewElement": { - "name": "MSHTMLWebViewElement", - "extends": "HTMLElement", - "tags": "MSAppOnly", - "element": [ - { - "name": "x-ms-webview", - "namespace": "HTML" - } - ], - "events": { - "event": [ - { - "name": "MSWebViewNavigationStarting", - "cancelable": "1", - "dispatch": "sync", - "precedes": "MSWebViewContentLoading", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewContentLoading", - "dispatch": "sync", - "follows": "MSWebViewNavigationStarting", - "precedes": "MSWebViewDOMContentLoaded", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewDOMContentLoaded", - "dispatch": "sync", - "follows": "MSWebViewContentLoading", - "precedes": "MSWebViewNavigationCompleted", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewNavigationCompleted", - "dispatch": "sync", - "follows": "MSWebViewDOMContentLoaded", - "tags": "MSAppOnly", - "type": "NavigationCompletedEvent" - }, - { - "name": "MSWebViewScriptNotify", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "ScriptNotifyEvent" - }, - { - "name": "MSWebViewUnsafeContentWarningDisplaying", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "MSWebViewContainsFullScreenElementChanged", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "MSWebViewLongRunningScriptDetected", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "LongRunningScriptDetectedEvent" - }, - { - "name": "MSWebViewUnviewableContentIdentified", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "UnviewableContentIdentifiedEvent" - }, - { - "name": "MSWebViewPermissionRequested", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "PermissionRequestedEvent" - }, - { - "name": "MSWebViewUnsupportedUriSchemeIdentified", - "cancelable": "1", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewNewWindowRequested", - "dispatch": "sync", - "tags": "MSAppOnly", - "type": "NavigationEventWithReferrer" - }, - { - "name": "MSWebViewFrameNavigationStarting", - "cancelable": "1", - "dispatch": "sync", - "precedes": "MSWebViewFrameContentLoading", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewFrameNavigationCompleted", - "dispatch": "sync", - "follows": "MSWebViewFrameDOMContentLoaded", - "tags": "MSAppOnly", - "type": "NavigationCompletedEvent" - }, - { - "name": "MSWebViewFrameDOMContentLoaded", - "dispatch": "sync", - "follows": "MSWebViewFrameContentLoading", - "precedes": "MSWebViewFrameNavigationCompleted", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "MSWebViewFrameContentLoading", - "dispatch": "sync", - "follows": "MSWebViewFrameNavigationStarting", - "precedes": "MSWebViewFrameDOMContentLoaded", - "tags": "MSAppOnly", - "type": "NavigationEvent" - }, - { - "name": "departingfocus", - "bubbles": "1", - "dispatch": "sync", - "type": "FocusNavigationEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "addWebAllowedObject", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "applicationObject", - "type": "any" - } - ] - }, - { - "name": "buildLocalStreamUri", - "tags": "MSAppOnly", - "type": "DOMString", - "param": [ - { - "name": "contentIdentifier", - "type": "DOMString" - }, - { - "name": "relativePath", - "type": "DOMString" - } - ] - }, - { - "name": "capturePreviewToBlobAsync", - "tags": "MSAppOnly", - "type": "MSWebViewAsyncOperation" - }, - { - "name": "captureSelectedContentToDataPackageAsync", - "tags": "MSAppOnly", - "type": "MSWebViewAsyncOperation" - }, - { - "name": "getDeferredPermissionRequestById", - "tags": "MSAppOnly", - "type": "DeferredPermissionRequest", - "param": [ - { - "name": "id", - "type": "unsigned long" - } - ] - }, - { - "name": "getDeferredPermissionRequests", - "tags": "MSAppOnly", - "type": "sequence" - }, - { - "name": "goBack", - "tags": "MSAppOnly", - "type": "void" - }, - { - "name": "goForward", - "tags": "MSAppOnly", - "type": "void" - }, - { - "name": "invokeScriptAsync", - "tags": "MSAppOnly", - "type": "MSWebViewAsyncOperation", - "param": [ - { - "name": "scriptName", - "type": "DOMString" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "navigate", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "uri", - "type": "DOMString" - } - ] - }, - { - "name": "navigateFocus", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "navigationReason", - "type": "NavigationReason" - }, - { - "name": "origin", - "type": "FocusNavigationOrigin" - } - ] - }, - { - "name": "navigateToLocalStreamUri", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "source", - "type": "DOMString" - }, - { - "name": "streamResolver", - "type": "any" - } - ] - }, - { - "name": "navigateToString", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "contents", - "type": "DOMString" - } - ] - }, - { - "name": "navigateWithHttpRequestMessage", - "tags": "MSAppOnly", - "type": "void", - "param": [ - { - "name": "requestMessage", - "type": "any" - } - ] - }, - { - "name": "refresh", - "tags": "MSAppOnly", - "type": "void" - }, - { - "name": "stop", - "tags": "MSAppOnly", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "canGoBack", - "read-only": "1", - "tags": "MSAppOnly", - "type": "bool" - }, - { - "name": "canGoForward", - "read-only": "1", - "tags": "MSAppOnly", - "type": "bool" - }, - { - "name": "containsFullScreenElement", - "read-only": "1", - "tags": "MSAppOnly", - "type": "bool" - }, - { - "name": "documentTitle", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "tags": "MSAppOnly", - "type": "unsigned long" - }, - { - "name": "settings", - "read-only": "1", - "tags": "MSAppOnly", - "type": "MSWebViewSettings" - }, - { - "name": "src", - "tags": "MSAppOnly", - "type": "DOMString" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "non_negative_integer", - "tags": "MSAppOnly", - "type": "unsigned long" - } - ] - } - }, - "MSInputMethodContext": { - "name": "MSInputMethodContext", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "MSCandidateWindowShow", - "dispatch": "sync", - "precedes": "MSCandidateWindowUpdate MSCandidateWindowHide", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "MSCandidateWindowUpdate", - "dispatch": "sync", - "follows": "MSCandidateWindowShow", - "precedes": "MSCandidateWindowHide", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "MSCandidateWindowHide", - "dispatch": "sync", - "follows": "MSCandidateWindowShow MSCandidateWindowUpdate", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCandidateWindowClientRect", - "type": "ClientRect" - }, - { - "name": "getCompositionAlternatives", - "type": "sequence" - }, - { - "name": "hasComposition", - "type": "boolean" - }, - { - "name": "isCandidateWindowVisible", - "type": "boolean" - } - ] - }, - "properties": { - "property": [ - { - "name": "compositionEndOffset", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "compositionStartOffset", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "oncandidatewindowhide", - "event-handler": "MSCandidateWindowHide", - "type": "EventHandler" - }, - { - "name": "oncandidatewindowshow", - "event-handler": "MSCandidateWindowShow", - "type": "EventHandler" - }, - { - "name": "oncandidatewindowupdate", - "event-handler": "MSCandidateWindowUpdate", - "type": "EventHandler" - }, - { - "name": "target", - "read-only": "1", - "type": "HTMLElement" - } - ] - } - }, - "MSManipulationEvent": { - "name": "MSManipulationEvent", - "extends": "UIEvent", - "tags": "IEOnly", - "constants": { - "constant": [ - { - "name": "MS_MANIPULATION_STATE_ACTIVE", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "MS_MANIPULATION_STATE_CANCELLED", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "MS_MANIPULATION_STATE_COMMITTED", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "MS_MANIPULATION_STATE_DRAGGING", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "MS_MANIPULATION_STATE_INERTIA", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "MS_MANIPULATION_STATE_PRESELECT", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "MS_MANIPULATION_STATE_SELECTING", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "MS_MANIPULATION_STATE_STOPPED", - "tags": "IEOnly", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "initMSManipulationEvent", - "tags": "IEOnly", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "lastState", - "type": "long" - }, - { - "name": "currentState", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "currentState", - "read-only": "1", - "tags": "IEOnly", - "type": "long" - }, - { - "name": "inertiaDestinationX", - "read-only": "1", - "tags": "IEOnly", - "type": "long" - }, - { - "name": "inertiaDestinationY", - "read-only": "1", - "tags": "IEOnly", - "type": "long" - }, - { - "name": "lastState", - "read-only": "1", - "tags": "IEOnly", - "type": "long" - } - ] - } - }, - "MSMediaKeyError": { - "name": "MSMediaKeyError", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "MS_MEDIA_KEYERR_CLIENT", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "MS_MEDIA_KEYERR_DOMAIN", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "MS_MEDIA_KEYERR_HARDWARECHANGE", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "MS_MEDIA_KEYERR_OUTPUT", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "MS_MEDIA_KEYERR_SERVICE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "MS_MEDIA_KEYERR_UNKNOWN", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "code", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "systemCode", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "MSMediaKeyMessageEvent": { - "name": "MSMediaKeyMessageEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "destinationURL", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "message", - "read-only": "1", - "type": "Uint8Array" - } - ] - } - }, - "MSMediaKeyNeededEvent": { - "name": "MSMediaKeyNeededEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "initData", - "nullable": "1", - "read-only": "1", - "type": "Uint8Array" - } - ] - } - }, - "MSMediaKeys": { - "name": "MSMediaKeys", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "keySystem", - "type": "DOMString" - } - ] - }, - "methods": { - "method": [ - { - "name": "createSession", - "type": "MSMediaKeySession", - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "initData", - "type": "Uint8Array" - }, - { - "name": "cdmData", - "nullable": "1", - "optional": "1", - "type": "Uint8Array" - } - ] - }, - { - "name": "isTypeSupported", - "static": "1", - "type": "bool", - "param": [ - { - "name": "keySystem", - "type": "DOMString" - }, - { - "name": "type", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "isTypeSupportedWithFeatures", - "static": "1", - "type": "DOMString", - "param": [ - { - "name": "keySystem", - "type": "DOMString" - }, - { - "name": "type", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "keySystem", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MSMediaKeySession": { - "name": "MSMediaKeySession", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "mskeymessage", - "dispatch": "sync", - "skips-window": "1", - "tags": "IEOnly", - "type": "MSMediaKeyMessageEvent" - }, - { - "name": "mskeyadded", - "dispatch": "sync", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - }, - { - "name": "mskeyerror", - "dispatch": "sync", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "void" - }, - { - "name": "update", - "type": "void", - "param": [ - { - "name": "key", - "type": "Uint8Array" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "nullable": "1", - "read-only": "1", - "type": "MSMediaKeyError" - }, - { - "name": "keySystem", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "sessionId", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MSPointerEvent": { - "name": "MSPointerEvent", - "extends": "MouseEvent", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PointerEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCurrentPoint", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "getIntermediatePoints", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "initPointerEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "float" - }, - { - "name": "clientYArg", - "type": "float" - }, - { - "name": "ctrlKeyArg", - "type": "boolean" - }, - { - "name": "altKeyArg", - "type": "boolean" - }, - { - "name": "shiftKeyArg", - "type": "boolean" - }, - { - "name": "metaKeyArg", - "type": "boolean" - }, - { - "name": "buttonArg", - "type": "unsigned short" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - }, - { - "name": "offsetXArg", - "type": "float" - }, - { - "name": "offsetYArg", - "type": "float" - }, - { - "name": "widthArg", - "type": "long" - }, - { - "name": "heightArg", - "type": "long" - }, - { - "name": "pressure", - "type": "float" - }, - { - "name": "rotation", - "type": "long" - }, - { - "name": "tiltX", - "type": "long" - }, - { - "name": "tiltY", - "type": "long" - }, - { - "name": "pointerIdArg", - "type": "long" - }, - { - "name": "pointerType", - "type": "any" - }, - { - "name": "hwTimestampArg", - "type": "unsigned long long" - }, - { - "name": "isPrimary", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "currentPoint", - "read-only": "1", - "type": "any" - }, - { - "name": "height", - "read-only": "1", - "type": "long" - }, - { - "name": "hwTimestamp", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "intermediatePoints", - "read-only": "1", - "type": "any" - }, - { - "name": "isPrimary", - "read-only": "1", - "type": "boolean" - }, - { - "name": "pointerId", - "read-only": "1", - "type": "long" - }, - { - "name": "pointerType", - "read-only": "1", - "type": "any" - }, - { - "name": "pressure", - "read-only": "1", - "type": "float" - }, - { - "name": "rotation", - "read-only": "1", - "type": "long" - }, - { - "name": "tiltX", - "read-only": "1", - "type": "long" - }, - { - "name": "tiltY", - "read-only": "1", - "type": "long" - }, - { - "name": "width", - "read-only": "1", - "type": "long" - } - ] - } - }, - "MSRangeCollection": { - "name": "MSRangeCollection", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "Range", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "MSSiteModeEvent": { - "name": "MSSiteModeEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "actionURL", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "buttonID", - "read-only": "1", - "type": "long" - } - ] - } - }, - "MSStream": { - "name": "MSStream", - "extends": "Object", - "methods": { - "method": [ - { - "name": "msClose", - "type": "void" - }, - { - "name": "msDetachStream", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "MSStreamReader": { - "name": "MSStreamReader", - "extends": "EventTarget", - "constructor": {}, - "events": { - "event": [ - { - "name": "load", - "dispatch": "sync", - "follows": "progress", - "precedes": "loadend", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - }, - { - "name": "loadstart", - "dispatch": "sync", - "precedes": "progress", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - }, - { - "name": "loadend", - "dispatch": "sync", - "follows": "load", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - }, - { - "name": "progress", - "dispatch": "sync", - "follows": "loadstart", - "precedes": "load", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - }, - { - "name": "abort", - "dispatch": "sync", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "tags": "IEOnly", - "type": "ProgressEvent" - } - ] - }, - "implements": [ - "MSBaseReader" - ], - "methods": { - "method": [ - { - "name": "readAsArrayBuffer", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "size", - "default": "-1", - "optional": "1", - "type": "long long" - } - ] - }, - { - "name": "readAsBinaryString", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "size", - "default": "-1", - "optional": "1", - "type": "long long" - } - ] - }, - { - "name": "readAsBlob", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "size", - "default": "-1", - "optional": "1", - "type": "long long" - } - ] - }, - { - "name": "readAsDataURL", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "size", - "default": "-1", - "optional": "1", - "type": "long long" - } - ] - }, - { - "name": "readAsText", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "encoding", - "optional": "1", - "type": "DOMString" - }, - { - "name": "size", - "default": "-1", - "optional": "1", - "type": "long long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "read-only": "1", - "type": "DOMError" - } - ] - } - }, - "MSWebViewAsyncOperation": { - "name": "MSWebViewAsyncOperation", - "extends": "EventTarget", - "tags": "MSAppOnly", - "constants": { - "constant": [ - { - "name": "COMPLETED", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "ERROR", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "STARTED", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "TYPE_INVOKE_SCRIPT", - "tags": "MSAppOnly", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "complete", - "dispatch": "sync", - "skips-window": "1", - "tags": "MSAppOnly", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "tags": "MSAppOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "start", - "tags": "MSAppOnly", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "error", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMError" - }, - { - "name": "oncomplete", - "event-handler": "complete", - "tags": "MSAppOnly", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "tags": "MSAppOnly", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "tags": "MSAppOnly", - "type": "unsigned short" - }, - { - "name": "result", - "read-only": "1", - "tags": "MSAppOnly", - "type": "any" - }, - { - "name": "target", - "read-only": "1", - "tags": "MSAppOnly", - "type": "MSHTMLWebViewElement" - }, - { - "name": "type", - "read-only": "1", - "tags": "MSAppOnly", - "type": "unsigned short" - } - ] - } - }, - "MSWebViewSettings": { - "name": "MSWebViewSettings", - "extends": "Object", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "isIndexedDBEnabled", - "tags": "MSAppOnly", - "type": "bool" - }, - { - "name": "isJavaScriptEnabled", - "tags": "MSAppOnly", - "type": "bool" - } - ] - } - }, - "MutationEvent": { - "name": "MutationEvent", - "extends": "Event", - "constants": { - "constant": [ - { - "name": "ADDITION", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "MODIFICATION", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "REMOVAL", - "type": "unsigned short", - "value": [ - "3" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "initMutationEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "relatedNodeArg", - "type": "Node" - }, - { - "name": "prevValueArg", - "type": "DOMString" - }, - { - "name": "newValueArg", - "type": "DOMString" - }, - { - "name": "attrNameArg", - "type": "DOMString" - }, - { - "name": "attrChangeArg", - "type": "unsigned short" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "attrChange", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "attrName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "newValue", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "prevValue", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "relatedNode", - "read-only": "1", - "type": "Node" - } - ] - } - }, - "MutationObserver": { - "name": "MutationObserver", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "callback", - "type": "MutationCallback" - } - ] - }, - "methods": { - "method": [ - { - "name": "disconnect", - "type": "void" - }, - { - "name": "observe", - "type": "void", - "param": [ - { - "name": "target", - "type": "Node" - }, - { - "name": "options", - "type": "MutationObserverInit" - } - ] - }, - { - "name": "takeRecords", - "type": "sequence" - } - ] - } - }, - "MutationRecord": { - "name": "MutationRecord", - "extends": "Object", - "properties": { - "property": [ - { - "name": "addedNodes", - "read-only": "1", - "type": "NodeList" - }, - { - "name": "attributeName", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "attributeNamespace", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "nextSibling", - "nullable": "1", - "read-only": "1", - "type": "Node" - }, - { - "name": "oldValue", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "previousSibling", - "nullable": "1", - "read-only": "1", - "type": "Node" - }, - { - "name": "removedNodes", - "read-only": "1", - "type": "NodeList" - }, - { - "name": "target", - "read-only": "1", - "type": "Node" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "NamedNodeMap": { - "name": "NamedNodeMap", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getNamedItem", - "getter": "1", - "type": "Attr", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getNamedItemNS", - "type": "Attr", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "localName", - "nullable": "1", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "Attr", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeNamedItem", - "type": "Attr", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "removeNamedItemNS", - "type": "Attr", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "localName", - "nullable": "1", - "type": "DOMString" - } - ] - }, - { - "name": "setNamedItem", - "type": "Attr", - "param": [ - { - "name": "arg", - "type": "Attr" - } - ] - }, - { - "name": "setNamedItemNS", - "type": "Attr", - "param": [ - { - "name": "arg", - "type": "Attr" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "NavigationCompletedEvent": { - "name": "NavigationCompletedEvent", - "extends": "NavigationEvent", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "isSuccess", - "read-only": "1", - "tags": "MSAppOnly", - "type": "boolean" - }, - { - "name": "webErrorStatus", - "read-only": "1", - "tags": "MSAppOnly", - "type": "unsigned long long" - } - ] - } - }, - "NavigationEvent": { - "name": "NavigationEvent", - "extends": "Event", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "uri", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - } - ] - } - }, - "NavigationEventWithReferrer": { - "name": "NavigationEventWithReferrer", - "extends": "NavigationEvent", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "referer", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - } - ] - } - }, - "Navigator": { - "name": "Navigator", - "extends": "Object", - "implements": [ - "NavigatorID", - "NavigatorOnLine", - "NavigatorContentUtils", - "NavigatorStorageUtils", - "NavigatorGeolocation", - "MSNavigatorDoNotTrack", - "MSFileSaver", - "NavigatorBeacon", - "NavigatorConcurrentHardware", - "NavigatorUserMedia" - ], - "methods": { - "method": [ - { - "name": "getGamepads", - "type": "sequence" - }, - { - "name": "javaEnabled", - "type": "boolean" - }, - { - "name": "msLaunchUri", - "type": "void", - "param": [ - { - "name": "uri", - "type": "DOMString" - }, - { - "name": "successCallback", - "default": "0", - "optional": "1", - "type": "MSLaunchUriCallback" - }, - { - "name": "noHandlerCallback", - "default": "0", - "optional": "1", - "type": "MSLaunchUriCallback" - } - ] - }, - { - "name": "requestMediaKeySystemAccess", - "type": "Promise", - "param": [ - { - "name": "keySystem", - "type": "DOMString" - }, - { - "name": "supportedConfigurations", - "type": "sequence" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "authentication", - "read-only": "1", - "type": "WebAuthentication" - }, - { - "name": "cookieEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "gamepadInputEmulation", - "type": "GamepadInputEmulationType" - }, - { - "name": "language", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "maxTouchPoints", - "read-only": "1", - "type": "long" - }, - { - "name": "mimeTypes", - "read-only": "1", - "type": "MimeTypeArray" - }, - { - "name": "msManipulationViewsEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "msMaxTouchPoints", - "read-only": "1", - "type": "long" - }, - { - "name": "msPointerEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "plugins", - "read-only": "1", - "type": "PluginArray" - }, - { - "name": "pointerEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "serviceWorker", - "read-only": "1", - "same-object": "1", - "secure-context": "1", - "type": "ServiceWorkerContainer" - }, - { - "name": "webdriver", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "Node": { - "name": "Node", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "ATTRIBUTE_NODE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "CDATA_SECTION_NODE", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "COMMENT_NODE", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "DOCUMENT_FRAGMENT_NODE", - "type": "unsigned short", - "value": [ - "11" - ] - }, - { - "name": "DOCUMENT_NODE", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "DOCUMENT_POSITION_CONTAINED_BY", - "type": "unsigned short", - "value": [ - "0x10" - ] - }, - { - "name": "DOCUMENT_POSITION_CONTAINS", - "type": "unsigned short", - "value": [ - "0x08" - ] - }, - { - "name": "DOCUMENT_POSITION_DISCONNECTED", - "type": "unsigned short", - "value": [ - "0x01" - ] - }, - { - "name": "DOCUMENT_POSITION_FOLLOWING", - "type": "unsigned short", - "value": [ - "0x04" - ] - }, - { - "name": "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", - "type": "unsigned short", - "value": [ - "0x20" - ] - }, - { - "name": "DOCUMENT_POSITION_PRECEDING", - "type": "unsigned short", - "value": [ - "0x02" - ] - }, - { - "name": "DOCUMENT_TYPE_NODE", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "ELEMENT_NODE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "ENTITY_NODE", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "ENTITY_REFERENCE_NODE", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "NOTATION_NODE", - "type": "unsigned short", - "value": [ - "12" - ] - }, - { - "name": "PROCESSING_INSTRUCTION_NODE", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "TEXT_NODE", - "type": "unsigned short", - "value": [ - "3" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "appendChild", - "type": "Node", - "param": [ - { - "name": "newChild", - "type": "Node" - } - ] - }, - { - "name": "cloneNode", - "type": "Node", - "param": [ - { - "name": "deep", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "compareDocumentPosition", - "type": "unsigned short", - "param": [ - { - "name": "other", - "type": "Node" - } - ] - }, - { - "name": "contains", - "type": "boolean", - "param": [ - { - "name": "child", - "type": "Node" - } - ] - }, - { - "name": "hasAttributes", - "type": "boolean" - }, - { - "name": "hasChildNodes", - "type": "boolean" - }, - { - "name": "insertBefore", - "type": "Node", - "param": [ - { - "name": "newChild", - "type": "Node" - }, - { - "name": "refChild", - "default": "null", - "optional": "1", - "type": "Node" - } - ] - }, - { - "name": "isDefaultNamespace", - "type": "boolean", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - } - ] - }, - { - "name": "isEqualNode", - "type": "boolean", - "param": [ - { - "name": "arg", - "type": "Node" - } - ] - }, - { - "name": "isSameNode", - "type": "boolean", - "param": [ - { - "name": "other", - "type": "Node" - } - ] - }, - { - "name": "lookupNamespaceURI", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "prefix", - "nullable": "1", - "type": "DOMString" - } - ] - }, - { - "name": "lookupPrefix", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "namespaceURI", - "nullable": "1", - "type": "DOMString" - } - ] - }, - { - "name": "normalize", - "type": "void" - }, - { - "name": "removeChild", - "type": "Node", - "param": [ - { - "name": "oldChild", - "type": "Node" - } - ] - }, - { - "name": "replaceChild", - "type": "Node", - "param": [ - { - "name": "newChild", - "type": "Node" - }, - { - "name": "oldChild", - "type": "Node" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "attributes", - "read-only": "1", - "type": "NamedNodeMap" - }, - { - "name": "baseURI", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "childNodes", - "read-only": "1", - "type": "NodeList" - }, - { - "name": "firstChild", - "read-only": "1", - "type": "Node" - }, - { - "name": "lastChild", - "read-only": "1", - "type": "Node" - }, - { - "name": "localName", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "namespaceURI", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "nextSibling", - "read-only": "1", - "type": "Node" - }, - { - "name": "nodeName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "nodeType", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "nodeValue", - "nullable": "1", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "ownerDocument", - "read-only": "1", - "type": "Document" - }, - { - "name": "parentElement", - "read-only": "1", - "type": "HTMLElement" - }, - { - "name": "parentNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "previousSibling", - "read-only": "1", - "type": "Node" - }, - { - "name": "textContent", - "nullable": "1", - "treat-null-as": "EmptyString", - "type": "DOMString" - } - ] - } - }, - "NodeFilter": { - "name": "NodeFilter", - "extends": "Object", - "static": "1", - "constants": { - "constant": [ - { - "name": "FILTER_ACCEPT", - "type": "short", - "value": [ - "1" - ] - }, - { - "name": "FILTER_REJECT", - "type": "short", - "value": [ - "2" - ] - }, - { - "name": "FILTER_SKIP", - "type": "short", - "value": [ - "3" - ] - }, - { - "name": "SHOW_ALL", - "type": "unsigned long", - "value": [ - "0xFFFFFFFF" - ] - }, - { - "name": "SHOW_ATTRIBUTE", - "type": "unsigned long", - "value": [ - "0x00000002" - ] - }, - { - "name": "SHOW_CDATA_SECTION", - "type": "unsigned long", - "value": [ - "0x00000008" - ] - }, - { - "name": "SHOW_COMMENT", - "type": "unsigned long", - "value": [ - "0x00000080" - ] - }, - { - "name": "SHOW_DOCUMENT", - "type": "unsigned long", - "value": [ - "0x00000100" - ] - }, - { - "name": "SHOW_DOCUMENT_FRAGMENT", - "type": "unsigned long", - "value": [ - "0x00000400" - ] - }, - { - "name": "SHOW_DOCUMENT_TYPE", - "type": "unsigned long", - "value": [ - "0x00000200" - ] - }, - { - "name": "SHOW_ELEMENT", - "type": "unsigned long", - "value": [ - "0x00000001" - ] - }, - { - "name": "SHOW_ENTITY", - "type": "unsigned long", - "value": [ - "0x00000020" - ] - }, - { - "name": "SHOW_ENTITY_REFERENCE", - "type": "unsigned long", - "value": [ - "0x00000010" - ] - }, - { - "name": "SHOW_NOTATION", - "type": "unsigned long", - "value": [ - "0x00000800" - ] - }, - { - "name": "SHOW_PROCESSING_INSTRUCTION", - "type": "unsigned long", - "value": [ - "0x00000040" - ] - }, - { - "name": "SHOW_TEXT", - "type": "unsigned long", - "value": [ - "0x00000004" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "acceptNode", - "type": "short", - "param": [ - { - "name": "n", - "type": "Node" - } - ] - } - ] - } - }, - "NodeIterator": { - "name": "NodeIterator", - "extends": "Object", - "methods": { - "method": [ - { - "name": "detach", - "type": "void" - }, - { - "name": "nextNode", - "type": "Node" - }, - { - "name": "previousNode", - "type": "Node" - } - ] - }, - "properties": { - "property": [ - { - "name": "expandEntityReferences", - "read-only": "1", - "type": "boolean" - }, - { - "name": "filter", - "read-only": "1", - "type": "NodeFilter" - }, - { - "name": "root", - "read-only": "1", - "type": "Node" - }, - { - "name": "whatToShow", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "NodeList": { - "name": "NodeList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "Node", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "Notification": { - "name": "Notification", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "title", - "type": "DOMString" - }, - { - "name": "options", - "optional": "1", - "type": "NotificationOptions" - } - ] - }, - "events": { - "event": [ - { - "name": "click", - "dispatch": "sync", - "follows": "show", - "skips-window": "1", - "type": "Event" - }, - { - "name": "show", - "dispatch": "sync", - "precedes": "click", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "close", - "dispatch": "sync", - "follows": "show", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "void" - }, - { - "name": "requestPermission", - "static": "1", - "type": "Promise", - "param": [ - { - "name": "callback", - "optional": "1", - "type": "NotificationPermissionCallback" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "body", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "dir", - "read-only": "1", - "type": "NotificationDirection" - }, - { - "name": "icon", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "lang", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "onclick", - "event-handler": "click", - "type": "EventHandler" - }, - { - "name": "onclose", - "event-handler": "close", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onshow", - "event-handler": "show", - "type": "EventHandler" - }, - { - "name": "permission", - "read-only": "1", - "static": "1", - "type": "NotificationPermission" - }, - { - "name": "tag", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "title", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "OES_element_index_uint": { - "name": "OES_element_index_uint", - "extends": "Object" - }, - "OES_standard_derivatives": { - "name": "OES_standard_derivatives", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B8B" - ] - } - ] - } - }, - "OES_texture_float": { - "name": "OES_texture_float", - "extends": "Object" - }, - "OES_texture_float_linear": { - "name": "OES_texture_float_linear", - "extends": "Object" - }, - "OES_texture_half_float": { - "name": "OES_texture_half_float", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "HALF_FLOAT_OES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D61" - ] - } - ] - } - }, - "OES_texture_half_float_linear": { - "name": "OES_texture_half_float_linear", - "extends": "Object" - }, - "OfflineAudioCompletionEvent": { - "name": "OfflineAudioCompletionEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "renderedBuffer", - "read-only": "1", - "type": "AudioBuffer" - } - ] - } - }, - "OfflineAudioContext": { - "name": "OfflineAudioContext", - "extends": "AudioContext", - "constructor": { - "param": [ - { - "name": "numberOfChannels", - "type": "unsigned long" - }, - { - "name": "length", - "type": "unsigned long" - }, - { - "name": "sampleRate", - "type": "float" - } - ] - }, - "events": { - "event": [ - { - "name": "complete", - "dispatch": "sync", - "skips-window": "1", - "type": "OfflineAudioCompletionEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "startRendering", - "type": "Promise" - }, - { - "name": "suspend", - "type": "Promise", - "param": [ - { - "name": "suspendTime", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "oncomplete", - "event-handler": "complete", - "type": "EventHandler" - } - ] - } - }, - "OscillatorNode": { - "name": "OscillatorNode", - "extends": "AudioNode", - "events": { - "event": [ - { - "name": "end", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "setPeriodicWave", - "type": "void", - "param": [ - { - "name": "periodicWave", - "type": "PeriodicWave" - } - ] - }, - { - "name": "start", - "type": "void", - "param": [ - { - "name": "when", - "default": "0", - "optional": "1", - "type": "double" - } - ] - }, - { - "name": "stop", - "type": "void", - "param": [ - { - "name": "when", - "default": "0", - "optional": "1", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "detune", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "frequency", - "read-only": "1", - "type": "AudioParam" - }, - { - "name": "onended", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "type", - "type": "OscillatorType" - } - ] - } - }, - "OverflowEvent": { - "name": "OverflowEvent", - "extends": "UIEvent", - "anonymous-methods": { - "method": [ - { - "type": "initOverflowEvent", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "orient", - "type": "long" - }, - { - "name": "horizontalOverflow", - "type": "boolean" - }, - { - "name": "verticalOverflow", - "type": "boolean" - } - ] - } - ] - }, - "constants": { - "constant": [ - { - "name": "BOTH", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "HORIZONTAL", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "VERTICAL", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "horizontalOverflow", - "read-only": "1", - "type": "boolean" - }, - { - "name": "orient", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "verticalOverflow", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "PageTransitionEvent": { - "name": "PageTransitionEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "persisted", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "PannerNode": { - "name": "PannerNode", - "extends": "AudioNode", - "methods": { - "method": [ - { - "name": "setOrientation", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ] - }, - { - "name": "setPosition", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ] - }, - { - "name": "setVelocity", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "coneInnerAngle", - "type": "float" - }, - { - "name": "coneOuterAngle", - "type": "float" - }, - { - "name": "coneOuterGain", - "type": "float" - }, - { - "name": "distanceModel", - "type": "DistanceModelType" - }, - { - "name": "maxDistance", - "type": "float" - }, - { - "name": "panningModel", - "type": "PanningModelType" - }, - { - "name": "refDistance", - "type": "float" - }, - { - "name": "rolloffFactor", - "type": "float" - } - ] - } - }, - "Path2D": { - "name": "Path2D", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "path", - "optional": "1", - "type": "Path2D" - } - ] - }, - "implements": [ - "CanvasPathMethods" - ] - }, - "PaymentAddress": { - "name": "PaymentAddress", - "extends": "Object", - "secure-context": "1", - "methods": { - "method": [ - { - "name": "toJSON", - "serializer": "1", - "serializer-info": "attribute", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "addressLine", - "read-only": "1", - "type": "sequence" - }, - { - "name": "city", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "country", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "dependentLocality", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "languageCode", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "organization", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "phone", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "postalCode", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "recipient", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "region", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "sortingCode", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "PaymentRequest": { - "name": "PaymentRequest", - "extends": "EventTarget", - "secure-context": "1", - "constructor": { - "param": [ - { - "name": "methodData", - "type": "sequence" - }, - { - "name": "details", - "type": "PaymentDetails" - }, - { - "name": "options", - "optional": "1", - "type": "PaymentOptions" - } - ] - }, - "events": { - "event": [ - { - "name": "shippingaddresschange", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "shippingoptionchange", - "dispatch": "sync", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "type": "Promise" - }, - { - "name": "show", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "onshippingaddresschange", - "event-handler": "shippingaddresschange", - "type": "EventHandler" - }, - { - "name": "onshippingoptionchange", - "event-handler": "shippingoptionchange", - "type": "EventHandler" - }, - { - "name": "shippingAddress", - "nullable": "1", - "read-only": "1", - "type": "PaymentAddress" - }, - { - "name": "shippingOption", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "shippingType", - "nullable": "1", - "read-only": "1", - "type": "PaymentShippingType" - } - ] - } - }, - "PaymentRequestUpdateEvent": { - "name": "PaymentRequestUpdateEvent", - "extends": "Event", - "secure-context": "1", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PaymentRequestUpdateEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "updateWith", - "type": "void", - "param": [ - { - "name": "d", - "type": "Promise" - } - ] - } - ] - } - }, - "PaymentResponse": { - "name": "PaymentResponse", - "extends": "Object", - "secure-context": "1", - "methods": { - "method": [ - { - "name": "complete", - "type": "Promise", - "param": [ - { - "name": "result", - "default": "\"\"", - "optional": "1", - "type": "PaymentComplete" - } - ] - }, - { - "name": "toJSON", - "serializer": "1", - "serializer-info": "attribute", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "details", - "read-only": "1", - "type": "object" - }, - { - "name": "methodName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "payerEmail", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "payerName", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "payerPhone", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "shippingAddress", - "nullable": "1", - "read-only": "1", - "type": "PaymentAddress" - }, - { - "name": "shippingOption", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "Performance": { - "name": "Performance", - "extends": "Object", - "methods": { - "method": [ - { - "name": "clearMarks", - "type": "void", - "param": [ - { - "name": "markName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "clearMeasures", - "type": "void", - "param": [ - { - "name": "measureName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "clearResourceTimings", - "type": "void" - }, - { - "name": "getEntries", - "type": "any" - }, - { - "name": "getEntriesByName", - "type": "any", - "param": [ - { - "name": "name", - "type": "DOMString" - }, - { - "name": "entryType", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getEntriesByType", - "type": "any", - "param": [ - { - "name": "entryType", - "type": "DOMString" - } - ] - }, - { - "name": "getMarks", - "type": "any", - "param": [ - { - "name": "markName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getMeasures", - "type": "any", - "param": [ - { - "name": "measureName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "mark", - "type": "void", - "param": [ - { - "name": "markName", - "type": "DOMString" - } - ] - }, - { - "name": "measure", - "type": "void", - "param": [ - { - "name": "measureName", - "type": "DOMString" - }, - { - "name": "startMarkName", - "optional": "1", - "type": "DOMString" - }, - { - "name": "endMarkName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "now", - "type": "DOMHighResTimeStamp" - }, - { - "name": "setResourceTimingBufferSize", - "type": "void", - "param": [ - { - "name": "maxSize", - "type": "unsigned long" - } - ] - }, - { - "name": "toJSON", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "navigation", - "read-only": "1", - "type": "PerformanceNavigation" - }, - { - "name": "timing", - "read-only": "1", - "type": "PerformanceTiming" - } - ] - } - }, - "PerformanceEntry": { - "name": "PerformanceEntry", - "extends": "Object", - "properties": { - "property": [ - { - "name": "duration", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "entryType", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "startTime", - "read-only": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "PerformanceMark": { - "name": "PerformanceMark", - "extends": "PerformanceEntry" - }, - "PerformanceMeasure": { - "name": "PerformanceMeasure", - "extends": "PerformanceEntry" - }, - "PerformanceNavigation": { - "name": "PerformanceNavigation", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "TYPE_BACK_FORWARD", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "TYPE_NAVIGATE", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "TYPE_RELOAD", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "TYPE_RESERVED", - "type": "unsigned short", - "value": [ - "255" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "toJSON", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "redirectCount", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "type", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "PerformanceNavigationTiming": { - "name": "PerformanceNavigationTiming", - "extends": "PerformanceEntry", - "properties": { - "property": [ - { - "name": "connectEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "connectStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domainLookupEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domainLookupStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domComplete", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domContentLoadedEventEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domContentLoadedEventStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domInteractive", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domLoading", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "fetchStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "loadEventEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "loadEventStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "navigationStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "redirectCount", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "redirectEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "redirectStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "requestStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "responseEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "responseStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "type", - "read-only": "1", - "type": "NavigationType" - }, - { - "name": "unloadEventEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "unloadEventStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "PerformanceResourceTiming": { - "name": "PerformanceResourceTiming", - "extends": "PerformanceEntry", - "properties": { - "property": [ - { - "name": "connectEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "connectStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domainLookupEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "domainLookupStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "fetchStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "initiatorType", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "redirectEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "redirectStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "requestStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "responseEnd", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "responseStart", - "read-only": "1", - "type": "DOMHighResTimeStamp" - } - ] - } - }, - "PerformanceTiming": { - "name": "PerformanceTiming", - "extends": "Object", - "methods": { - "method": [ - { - "name": "toJSON", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "connectEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "connectStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domainLookupEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domainLookupStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domComplete", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domContentLoadedEventEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domContentLoadedEventStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domInteractive", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "domLoading", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "fetchStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "loadEventEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "loadEventStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "msFirstPaint", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "navigationStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "redirectEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "redirectStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "requestStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "responseEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "responseStart", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "unloadEventEnd", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "unloadEventStart", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "PerfWidgetExternal": { - "name": "PerfWidgetExternal", - "extends": "Object", - "methods": { - "method": [ - { - "name": "addEventListener", - "type": "void", - "param": [ - { - "name": "eventType", - "type": "DOMString" - }, - { - "name": "callback", - "type": "Function" - } - ] - }, - { - "name": "getMemoryUsage", - "type": "unsigned long" - }, - { - "name": "getProcessCpuUsage", - "type": "unsigned long" - }, - { - "name": "getRecentCpuUsage", - "type": "any", - "param": [ - { - "name": "last", - "nullable": "1", - "type": "unsigned long long" - } - ] - }, - { - "name": "getRecentFrames", - "type": "any", - "param": [ - { - "name": "last", - "nullable": "1", - "type": "unsigned long long" - } - ] - }, - { - "name": "getRecentMemoryUsage", - "type": "any", - "param": [ - { - "name": "last", - "nullable": "1", - "type": "unsigned long long" - } - ] - }, - { - "name": "getRecentPaintRequests", - "type": "any", - "param": [ - { - "name": "last", - "nullable": "1", - "type": "unsigned long long" - } - ] - }, - { - "name": "removeEventListener", - "type": "void", - "param": [ - { - "name": "eventType", - "type": "DOMString" - }, - { - "name": "callback", - "type": "Function" - } - ] - }, - { - "name": "repositionWindow", - "type": "void", - "param": [ - { - "name": "x", - "type": "long" - }, - { - "name": "y", - "type": "long" - } - ] - }, - { - "name": "resizeWindow", - "type": "void", - "param": [ - { - "name": "width", - "type": "unsigned long" - }, - { - "name": "height", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "activeNetworkRequestCount", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "averageFrameTime", - "read-only": "1", - "type": "double" - }, - { - "name": "averagePaintTime", - "read-only": "1", - "type": "double" - }, - { - "name": "extraInformationEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "independentRenderingEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "irDisablingContentString", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "irStatusAvailable", - "read-only": "1", - "type": "boolean" - }, - { - "name": "maxCpuSpeed", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "paintRequestsPerSecond", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "performanceCounter", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "performanceCounterFrequency", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "PeriodicWave": { - "name": "PeriodicWave", - "extends": "Object" - }, - "PermissionRequest": { - "name": "PermissionRequest", - "extends": "DeferredPermissionRequest", - "methods": { - "method": [ - { - "name": "defer", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "state", - "read-only": "1", - "type": "MSWebViewPermissionState" - } - ] - } - }, - "PermissionRequestedEvent": { - "name": "PermissionRequestedEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "permissionRequest", - "read-only": "1", - "type": "PermissionRequest" - } - ] - } - }, - "Plugin": { - "name": "Plugin", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "MimeType", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "type": "MimeType", - "param": [ - { - "name": "type", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "description", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "filename", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "version", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "PluginArray": { - "name": "PluginArray", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "Plugin", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "namedItem", - "getter": "1", - "type": "Plugin", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "refresh", - "type": "void", - "param": [ - { - "name": "reload", - "optional": "1", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "PointerEvent": { - "name": "PointerEvent", - "extends": "MouseEvent", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PointerEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCurrentPoint", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "getIntermediatePoints", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "initPointerEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "float" - }, - { - "name": "clientYArg", - "type": "float" - }, - { - "name": "ctrlKeyArg", - "type": "boolean" - }, - { - "name": "altKeyArg", - "type": "boolean" - }, - { - "name": "shiftKeyArg", - "type": "boolean" - }, - { - "name": "metaKeyArg", - "type": "boolean" - }, - { - "name": "buttonArg", - "type": "unsigned short" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - }, - { - "name": "offsetXArg", - "type": "float" - }, - { - "name": "offsetYArg", - "type": "float" - }, - { - "name": "widthArg", - "type": "long" - }, - { - "name": "heightArg", - "type": "long" - }, - { - "name": "pressure", - "type": "float" - }, - { - "name": "rotation", - "type": "long" - }, - { - "name": "tiltX", - "type": "long" - }, - { - "name": "tiltY", - "type": "long" - }, - { - "name": "pointerIdArg", - "type": "long" - }, - { - "name": "pointerType", - "type": "any" - }, - { - "name": "hwTimestampArg", - "type": "unsigned long long" - }, - { - "name": "isPrimary", - "type": "boolean" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "currentPoint", - "read-only": "1", - "type": "any" - }, - { - "name": "height", - "read-only": "1", - "type": "long" - }, - { - "name": "hwTimestamp", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "intermediatePoints", - "read-only": "1", - "type": "any" - }, - { - "name": "isPrimary", - "read-only": "1", - "type": "boolean" - }, - { - "name": "pointerId", - "read-only": "1", - "type": "long" - }, - { - "name": "pointerType", - "read-only": "1", - "type": "any" - }, - { - "name": "pressure", - "read-only": "1", - "type": "float" - }, - { - "name": "rotation", - "read-only": "1", - "type": "long" - }, - { - "name": "tiltX", - "read-only": "1", - "type": "long" - }, - { - "name": "tiltY", - "read-only": "1", - "type": "long" - }, - { - "name": "width", - "read-only": "1", - "type": "long" - } - ] - } - }, - "PopStateEvent": { - "name": "PopStateEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PopStateEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initPopStateEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "stateArg", - "type": "any" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "state", - "read-only": "1", - "type": "any" - } - ] - } - }, - "Position": { - "name": "Position", - "extends": "Object", - "properties": { - "property": [ - { - "name": "coords", - "read-only": "1", - "type": "Coordinates" - }, - { - "name": "timestamp", - "read-only": "1", - "type": "DOMTimeStamp" - } - ] - } - }, - "PositionError": { - "name": "PositionError", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "PERMISSION_DENIED", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "POSITION_UNAVAILABLE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "TIMEOUT", - "type": "unsigned short", - "value": [ - "3" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "code", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "message", - "read-only": "1", - "stringifier": "1", - "type": "DOMString" - } - ] - } - }, - "ProcessingInstruction": { - "name": "ProcessingInstruction", - "extends": "CharacterData", - "events": { - "event": [ - { - "name": "DOMCharacterDataModified", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - } - ] - }, - "properties": { - "property": [ - { - "name": "target", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "ProgressEvent": { - "name": "ProgressEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ProgressEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initProgressEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "lengthComputableArg", - "type": "boolean" - }, - { - "name": "loadedArg", - "type": "unsigned long long" - }, - { - "name": "totalArg", - "type": "unsigned long long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "lengthComputable", - "read-only": "1", - "type": "boolean" - }, - { - "name": "loaded", - "read-only": "1", - "type": "unsigned long long" - }, - { - "name": "total", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "PushManager": { - "name": "PushManager", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getSubscription", - "type": "Promise" - }, - { - "name": "permissionState", - "type": "Promise", - "param": [ - { - "name": "options", - "optional": "1", - "type": "PushSubscriptionOptionsInit" - } - ] - }, - { - "name": "subscribe", - "type": "Promise", - "param": [ - { - "name": "options", - "optional": "1", - "type": "PushSubscriptionOptionsInit" - } - ] - } - ] - } - }, - "PushSubscription": { - "name": "PushSubscription", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getKey", - "nullable": "1", - "type": "ArrayBuffer", - "param": [ - { - "name": "name", - "type": "PushEncryptionKeyName" - } - ] - }, - { - "name": "toJSON", - "serializer": "1", - "type": "any" - }, - { - "name": "unsubscribe", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "endpoint", - "read-only": "1", - "type": "USVString" - }, - { - "name": "options", - "read-only": "1", - "same-object": "1", - "type": "PushSubscriptionOptions" - } - ] - } - }, - "PushSubscriptionOptions": { - "name": "PushSubscriptionOptions", - "extends": "Object", - "properties": { - "property": [ - { - "name": "applicationServerKey", - "nullable": "1", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "userVisibleOnly", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "Range": { - "name": "Range", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "END_TO_END", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "END_TO_START", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "START_TO_END", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "START_TO_START", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "cloneContents", - "type": "DocumentFragment" - }, - { - "name": "cloneRange", - "type": "Range" - }, - { - "name": "collapse", - "type": "void", - "param": [ - { - "name": "toStart", - "type": "boolean" - } - ] - }, - { - "name": "compareBoundaryPoints", - "type": "short", - "param": [ - { - "name": "how", - "type": "unsigned short" - }, - { - "name": "sourceRange", - "type": "Range" - } - ] - }, - { - "name": "createContextualFragment", - "type": "DocumentFragment", - "param": [ - { - "name": "fragment", - "type": "DOMString" - } - ] - }, - { - "name": "deleteContents", - "type": "void" - }, - { - "name": "detach", - "type": "void" - }, - { - "name": "expand", - "type": "boolean", - "param": [ - { - "name": "Unit", - "type": "ExpandGranularity" - } - ] - }, - { - "name": "extractContents", - "type": "DocumentFragment" - }, - { - "name": "getBoundingClientRect", - "type": "ClientRect" - }, - { - "name": "getClientRects", - "type": "ClientRectList" - }, - { - "name": "insertNode", - "type": "void", - "param": [ - { - "name": "newNode", - "type": "Node" - } - ] - }, - { - "name": "selectNode", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "selectNodeContents", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "setEnd", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - }, - { - "name": "offset", - "type": "long" - } - ] - }, - { - "name": "setEndAfter", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "setEndBefore", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "setStart", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - }, - { - "name": "offset", - "type": "long" - } - ] - }, - { - "name": "setStartAfter", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "setStartBefore", - "type": "void", - "param": [ - { - "name": "refNode", - "type": "Node" - } - ] - }, - { - "name": "surroundContents", - "type": "void", - "param": [ - { - "name": "newParent", - "type": "Node" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "collapsed", - "read-only": "1", - "type": "boolean" - }, - { - "name": "commonAncestorContainer", - "read-only": "1", - "type": "Node" - }, - { - "name": "endContainer", - "read-only": "1", - "type": "Node" - }, - { - "name": "endOffset", - "read-only": "1", - "type": "long" - }, - { - "name": "startContainer", - "read-only": "1", - "type": "Node" - }, - { - "name": "startOffset", - "read-only": "1", - "type": "long" - } - ] - } - }, - "ReadableStream": { - "name": "ReadableStream", - "extends": "Object", - "methods": { - "method": [ - { - "name": "cancel", - "type": "Promise" - }, - { - "name": "getReader", - "type": "ReadableStreamReader" - } - ] - }, - "properties": { - "property": [ - { - "name": "locked", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "ReadableStreamReader": { - "name": "ReadableStreamReader", - "extends": "Object", - "methods": { - "method": [ - { - "name": "cancel", - "type": "Promise" - }, - { - "name": "read", - "type": "Promise" - }, - { - "name": "releaseLock", - "type": "void" - } - ] - } - }, - "Request": { - "name": "Request", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "input", - "type": "(Request or DOMString)", - "type-original": "RequestInfo" - }, - { - "name": "init", - "optional": "1", - "type": "RequestInit" - } - ] - }, - "implements": [ - "Body" - ], - "methods": { - "method": [ - { - "name": "clone", - "type": "Request" - } - ] - }, - "properties": { - "property": [ - { - "name": "cache", - "read-only": "1", - "type": "RequestCache" - }, - { - "name": "credentials", - "read-only": "1", - "type": "RequestCredentials" - }, - { - "name": "destination", - "read-only": "1", - "type": "RequestDestination" - }, - { - "name": "headers", - "read-only": "1", - "type": "Headers" - }, - { - "name": "integrity", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "keepalive", - "read-only": "1", - "type": "boolean" - }, - { - "name": "method", - "read-only": "1", - "type": "DOMString", - "type-original": "ByteString" - }, - { - "name": "mode", - "read-only": "1", - "type": "RequestMode" - }, - { - "name": "redirect", - "read-only": "1", - "type": "RequestRedirect" - }, - { - "name": "referrer", - "read-only": "1", - "type": "DOMString", - "type-original": "USVString" - }, - { - "name": "referrerPolicy", - "read-only": "1", - "type": "ReferrerPolicy" - }, - { - "name": "type", - "read-only": "1", - "type": "RequestType" - }, - { - "name": "url", - "read-only": "1", - "type": "DOMString", - "type-original": "USVString" - } - ] - } - }, - "Response": { - "name": "Response", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "body", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "(Blob or BufferSource or FormData or DOMString)", - "type-original": "BodyInit" - }, - { - "name": "init", - "optional": "1", - "type": "ResponseInit" - } - ] - }, - "implements": [ - "Body" - ], - "methods": { - "method": [ - { - "name": "clone", - "type": "Response" - } - ] - }, - "properties": { - "property": [ - { - "name": "body", - "nullable": "1", - "read-only": "1", - "type": "ReadableStream" - }, - { - "name": "headers", - "read-only": "1", - "type": "Headers" - }, - { - "name": "ok", - "read-only": "1", - "type": "boolean" - }, - { - "name": "status", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "statusText", - "read-only": "1", - "type": "DOMString", - "type-original": "ByteString" - }, - { - "name": "type", - "read-only": "1", - "type": "ResponseType" - }, - { - "name": "url", - "read-only": "1", - "type": "DOMString", - "type-original": "USVString" - } - ] - } - }, - "RTCDtlsTransport": { - "name": "RTCDtlsTransport", - "extends": "RTCStatsProvider", - "constructor": { - "param": [ - { - "name": "transport", - "type": "RTCIceTransport" - } - ] - }, - "events": { - "event": [ - { - "name": "dtlsstatechange", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCDtlsTransportStateChangedEvent" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getLocalParameters", - "type": "RTCDtlsParameters" - }, - { - "name": "getRemoteCertificates", - "type": "sequence" - }, - { - "name": "getRemoteParameters", - "nullable": "1", - "type": "RTCDtlsParameters" - }, - { - "name": "start", - "type": "void", - "param": [ - { - "name": "remoteParameters", - "type": "RTCDtlsParameters" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "ondtlsstatechange", - "event-handler": "dtlsstatechange", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "state", - "read-only": "1", - "type": "RTCDtlsTransportState" - }, - { - "name": "transport", - "read-only": "1", - "type": "RTCIceTransport" - } - ] - } - }, - "RTCDtlsTransportStateChangedEvent": { - "name": "RTCDtlsTransportStateChangedEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "state", - "read-only": "1", - "type": "RTCDtlsTransportState" - } - ] - } - }, - "RTCDtmfSender": { - "name": "RTCDtmfSender", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "sender", - "type": "RTCRtpSender" - } - ] - }, - "events": { - "event": [ - { - "name": "tonechange", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCDTMFToneChangeEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "insertDTMF", - "type": "void", - "param": [ - { - "name": "tones", - "type": "DOMString" - }, - { - "name": "duration", - "optional": "1", - "type": "long" - }, - { - "name": "interToneGap", - "optional": "1", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "canInsertDTMF", - "read-only": "1", - "type": "boolean" - }, - { - "name": "duration", - "read-only": "1", - "type": "long" - }, - { - "name": "interToneGap", - "read-only": "1", - "type": "long" - }, - { - "name": "ontonechange", - "event-handler": "tonechange", - "type": "EventHandler" - }, - { - "name": "sender", - "read-only": "1", - "type": "RTCRtpSender" - }, - { - "name": "toneBuffer", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "RTCDTMFToneChangeEvent": { - "name": "RTCDTMFToneChangeEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "RTCDTMFToneChangeEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "tone", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "RTCIceCandidate": { - "name": "RTCIceCandidate", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "candidateInitDict", - "optional": "1", - "type": "RTCIceCandidateInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "toJSON", - "serializer": "1", - "serializer-info": "attribute", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "candidate", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "sdpMid", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "sdpMLineIndex", - "nullable": "1", - "type": "unsigned short" - } - ] - } - }, - "RTCIceCandidatePairChangedEvent": { - "name": "RTCIceCandidatePairChangedEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "pair", - "read-only": "1", - "type": "RTCIceCandidatePair" - } - ] - } - }, - "RTCIceGatherer": { - "name": "RTCIceGatherer", - "extends": "RTCStatsProvider", - "constructor": { - "param": [ - { - "name": "options", - "type": "RTCIceGatherOptions" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "localcandidate", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCIceGathererEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "createAssociatedGatherer", - "type": "RTCIceGatherer" - }, - { - "name": "getLocalCandidates", - "type": "sequence" - }, - { - "name": "getLocalParameters", - "type": "RTCIceParameters" - } - ] - }, - "properties": { - "property": [ - { - "name": "component", - "read-only": "1", - "type": "RTCIceComponent" - }, - { - "name": "onerror", - "event-handler": "error", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "onlocalcandidate", - "event-handler": "localcandidate", - "nullable": "1", - "type": "EventHandler" - } - ] - } - }, - "RTCIceGathererEvent": { - "name": "RTCIceGathererEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "candidate", - "read-only": "1", - "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)", - "type-original": "RTCIceGatherCandidate" - } - ] - } - }, - "RTCIceTransport": { - "name": "RTCIceTransport", - "extends": "RTCStatsProvider", - "constructor": {}, - "events": { - "event": [ - { - "name": "icestatechange", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCIceTransportStateChangedEvent" - }, - { - "name": "candidatepairchange", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCIceCandidatePairChangedEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "addRemoteCandidate", - "type": "void", - "param": [ - { - "name": "remoteCandidate", - "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)", - "type-original": "RTCIceGatherCandidate" - } - ] - }, - { - "name": "createAssociatedTransport", - "type": "RTCIceTransport" - }, - { - "name": "getNominatedCandidatePair", - "nullable": "1", - "type": "RTCIceCandidatePair" - }, - { - "name": "getRemoteCandidates", - "type": "sequence" - }, - { - "name": "getRemoteParameters", - "nullable": "1", - "type": "RTCIceParameters" - }, - { - "name": "setRemoteCandidates", - "type": "void", - "param": [ - { - "name": "remoteCandidates", - "type": "sequence" - } - ] - }, - { - "name": "start", - "type": "void", - "param": [ - { - "name": "gatherer", - "type": "RTCIceGatherer" - }, - { - "name": "remoteParameters", - "type": "RTCIceParameters" - }, - { - "name": "role", - "optional": "1", - "type": "RTCIceRole" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "component", - "read-only": "1", - "type": "RTCIceComponent" - }, - { - "name": "iceGatherer", - "nullable": "1", - "read-only": "1", - "type": "RTCIceGatherer" - }, - { - "name": "oncandidatepairchange", - "event-handler": "candidatepairchange", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "onicestatechange", - "event-handler": "icestatechange", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "role", - "read-only": "1", - "type": "RTCIceRole" - }, - { - "name": "state", - "read-only": "1", - "type": "RTCIceTransportState" - } - ] - } - }, - "RTCIceTransportStateChangedEvent": { - "name": "RTCIceTransportStateChangedEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "state", - "read-only": "1", - "type": "RTCIceTransportState" - } - ] - } - }, - "RTCPeerConnection": { - "name": "RTCPeerConnection", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "configuration", - "type": "RTCConfiguration" - } - ] - }, - "events": { - "event": [ - { - "name": "negotiationneeded", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "icecandidate", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCPeerConnectionIceEvent" - }, - { - "name": "signalingstatechange", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "addstream", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamEvent" - }, - { - "name": "removestream", - "dispatch": "sync", - "skips-window": "1", - "type": "MediaStreamEvent" - }, - { - "name": "iceconnectionstatechange", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "icegatheringstatechange", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "addIceCandidate", - "type": "Promise", - "param": [ - { - "name": "candidate", - "type": "RTCIceCandidate" - }, - { - "name": "successCallback", - "optional": "1", - "type": "VoidFunction" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - } - ] - }, - { - "name": "addStream", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MediaStream" - } - ] - }, - { - "name": "close", - "type": "void" - }, - { - "name": "createAnswer", - "type": "Promise", - "param": [ - { - "name": "successCallback", - "optional": "1", - "type": "RTCSessionDescriptionCallback" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - } - ] - }, - { - "name": "createOffer", - "type": "Promise", - "param": [ - { - "name": "successCallback", - "optional": "1", - "type": "RTCSessionDescriptionCallback" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - }, - { - "name": "options", - "optional": "1", - "type": "RTCOfferOptions" - } - ] - }, - { - "name": "getConfiguration", - "type": "RTCConfiguration" - }, - { - "name": "getLocalStreams", - "type": "sequence" - }, - { - "name": "getRemoteStreams", - "type": "sequence" - }, - { - "name": "getStats", - "type": "Promise", - "param": [ - { - "name": "selector", - "nullable": "1", - "type": "MediaStreamTrack" - }, - { - "name": "successCallback", - "optional": "1", - "type": "RTCStatsCallback" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - } - ] - }, - { - "name": "getStreamById", - "nullable": "1", - "type": "MediaStream", - "param": [ - { - "name": "streamId", - "type": "DOMString" - } - ] - }, - { - "name": "removeStream", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MediaStream" - } - ] - }, - { - "name": "setLocalDescription", - "type": "Promise", - "param": [ - { - "name": "description", - "type": "RTCSessionDescription" - }, - { - "name": "successCallback", - "optional": "1", - "type": "VoidFunction" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - } - ] - }, - { - "name": "setRemoteDescription", - "type": "Promise", - "param": [ - { - "name": "description", - "type": "RTCSessionDescription" - }, - { - "name": "successCallback", - "optional": "1", - "type": "VoidFunction" - }, - { - "name": "failureCallback", - "optional": "1", - "type": "RTCPeerConnectionErrorCallback" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "canTrickleIceCandidates", - "nullable": "1", - "read-only": "1", - "type": "boolean" - }, - { - "name": "iceConnectionState", - "read-only": "1", - "type": "RTCIceConnectionState" - }, - { - "name": "iceGatheringState", - "read-only": "1", - "type": "RTCIceGatheringState" - }, - { - "name": "localDescription", - "nullable": "1", - "read-only": "1", - "type": "RTCSessionDescription" - }, - { - "name": "onaddstream", - "event-handler": "addstream", - "type": "EventHandler" - }, - { - "name": "onicecandidate", - "event-handler": "icecandidate", - "type": "EventHandler" - }, - { - "name": "oniceconnectionstatechange", - "event-handler": "iceconnectionstatechange", - "type": "EventHandler" - }, - { - "name": "onicegatheringstatechange", - "event-handler": "icegatheringstatechange", - "type": "EventHandler" - }, - { - "name": "onnegotiationneeded", - "event-handler": "negotiationneeded", - "type": "EventHandler" - }, - { - "name": "onremovestream", - "event-handler": "removestream", - "type": "EventHandler" - }, - { - "name": "onsignalingstatechange", - "event-handler": "signalingstatechange", - "type": "EventHandler" - }, - { - "name": "remoteDescription", - "nullable": "1", - "read-only": "1", - "type": "RTCSessionDescription" - }, - { - "name": "signalingState", - "read-only": "1", - "type": "RTCSignalingState" - } - ] - } - }, - "RTCPeerConnectionIceEvent": { - "name": "RTCPeerConnectionIceEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "RTCPeerConnectionIceEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "candidate", - "read-only": "1", - "type": "RTCIceCandidate" - } - ] - } - }, - "RTCRtpReceiver": { - "name": "RTCRtpReceiver", - "extends": "RTCStatsProvider", - "constructor": { - "param": [ - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCapabilities", - "static": "1", - "type": "RTCRtpCapabilities", - "param": [ - { - "name": "kind", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getContributingSources", - "type": "sequence" - }, - { - "name": "receive", - "type": "void", - "param": [ - { - "name": "parameters", - "type": "RTCRtpParameters" - } - ] - }, - { - "name": "requestSendCSRC", - "type": "void", - "param": [ - { - "name": "csrc", - "type": "unsigned long" - } - ] - }, - { - "name": "setTransport", - "type": "void", - "param": [ - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "onerror", - "event-handler": "error", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "rtcpTransport", - "read-only": "1", - "type": "RTCDtlsTransport" - }, - { - "name": "track", - "nullable": "1", - "read-only": "1", - "type": "MediaStreamTrack" - }, - { - "name": "transport", - "read-only": "1", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - } - ] - } - }, - "RTCRtpSender": { - "name": "RTCRtpSender", - "extends": "RTCStatsProvider", - "constructor": { - "param": [ - { - "name": "track", - "type": "MediaStreamTrack" - }, - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "ssrcconflict", - "dispatch": "sync", - "skips-window": "1", - "type": "RTCSsrcConflictEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCapabilities", - "static": "1", - "type": "RTCRtpCapabilities", - "param": [ - { - "name": "kind", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "send", - "type": "void", - "param": [ - { - "name": "parameters", - "type": "RTCRtpParameters" - } - ] - }, - { - "name": "setTrack", - "type": "void", - "param": [ - { - "name": "track", - "type": "MediaStreamTrack" - } - ] - }, - { - "name": "setTransport", - "type": "void", - "param": [ - { - "name": "transport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - }, - { - "name": "rtcpTransport", - "optional": "1", - "type": "RTCDtlsTransport" - } - ] - }, - { - "name": "stop", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "onerror", - "event-handler": "error", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "onssrcconflict", - "event-handler": "ssrcconflict", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "rtcpTransport", - "read-only": "1", - "type": "RTCDtlsTransport" - }, - { - "name": "track", - "read-only": "1", - "type": "MediaStreamTrack" - }, - { - "name": "transport", - "read-only": "1", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)", - "type-original": "RTCTransport" - } - ] - } - }, - "RTCSessionDescription": { - "name": "RTCSessionDescription", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "descriptionInitDict", - "optional": "1", - "type": "RTCSessionDescriptionInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "toJSON", - "serializer": "1", - "serializer-info": "attribute", - "type": "any" - } - ] - }, - "properties": { - "property": [ - { - "name": "sdp", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "type", - "nullable": "1", - "type": "RTCSdpType" - } - ] - } - }, - "RTCSrtpSdesTransport": { - "name": "RTCSrtpSdesTransport", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "transport", - "type": "RTCIceTransport" - }, - { - "name": "encryptParameters", - "type": "RTCSrtpSdesParameters" - }, - { - "name": "decryptParameters", - "type": "RTCSrtpSdesParameters" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getLocalParameters", - "static": "1", - "type": "sequence" - } - ] - }, - "properties": { - "property": [ - { - "name": "onerror", - "event-handler": "error", - "nullable": "1", - "type": "EventHandler" - }, - { - "name": "transport", - "read-only": "1", - "type": "RTCIceTransport" - } - ] - } - }, - "RTCSsrcConflictEvent": { - "name": "RTCSsrcConflictEvent", - "extends": "Event", - "properties": { - "property": [ - { - "name": "ssrc", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "RTCStatsProvider": { - "name": "RTCStatsProvider", - "extends": "EventTarget", - "methods": { - "method": [ - { - "name": "getStats", - "type": "Promise" - }, - { - "name": "msGetStats", - "type": "Promise" - } - ] - } - }, - "ScopedCredential": { - "name": "ScopedCredential", - "extends": "Object", - "secure-context": "1", - "properties": { - "property": [ - { - "name": "id", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "type", - "read-only": "1", - "type": "ScopedCredentialType" - } - ] - } - }, - "ScopedCredentialInfo": { - "name": "ScopedCredentialInfo", - "extends": "Object", - "secure-context": "1", - "properties": { - "property": [ - { - "name": "credential", - "read-only": "1", - "type": "ScopedCredential" - }, - { - "name": "publicKey", - "read-only": "1", - "type": "CryptoKey" - } - ] - } - }, - "Screen": { - "name": "Screen", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "MSOrientationChange", - "dispatch": "async", - "skips-window": "1", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "msLockOrientation", - "type": "boolean", - "param": [ - { - "name": "orientations", - "type": "(DOMString or sequence)" - } - ] - }, - { - "name": "msUnlockOrientation", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "availHeight", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "availWidth", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "bufferDepth", - "type": "long" - }, - { - "name": "colorDepth", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "deviceXDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "deviceYDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "fontSmoothingEnabled", - "read-only": "1", - "type": "boolean" - }, - { - "name": "height", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "logicalXDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "logicalYDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "msOrientation", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "onmsorientationchange", - "event-handler": "MSOrientationChange", - "type": "EventHandler" - }, - { - "name": "pixelDepth", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "systemXDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "systemYDPI", - "read-only": "1", - "type": "long" - }, - { - "name": "width", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "ScriptNotifyEvent": { - "name": "ScriptNotifyEvent", - "extends": "Event", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "callingUri", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - }, - { - "name": "value", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - } - ] - } - }, - "ScriptProcessorNode": { - "name": "ScriptProcessorNode", - "extends": "AudioNode", - "events": { - "event": [ - { - "name": "audioprocess", - "dispatch": "sync", - "skips-window": "1", - "type": "AudioProcessingEvent" - } - ] - }, - "properties": { - "property": [ - { - "name": "bufferSize", - "read-only": "1", - "type": "long" - }, - { - "name": "onaudioprocess", - "event-handler": "audioprocess", - "type": "EventHandler" - } - ] - } - }, - "Selection": { - "name": "Selection", - "extends": "Object", - "methods": { - "method": [ - { - "name": "addRange", - "type": "void", - "param": [ - { - "name": "range", - "type": "Range" - } - ] - }, - { - "name": "collapse", - "type": "void", - "param": [ - { - "name": "parentNode", - "type": "Node" - }, - { - "name": "offset", - "type": "long" - } - ] - }, - { - "name": "collapseToEnd", - "type": "void" - }, - { - "name": "collapseToStart", - "type": "void" - }, - { - "name": "containsNode", - "type": "boolean", - "param": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "partlyContained", - "type": "boolean" - } - ] - }, - { - "name": "deleteFromDocument", - "type": "void" - }, - { - "name": "empty", - "type": "void" - }, - { - "name": "extend", - "type": "void", - "param": [ - { - "name": "newNode", - "type": "Node" - }, - { - "name": "offset", - "type": "long" - } - ] - }, - { - "name": "getRangeAt", - "type": "Range", - "param": [ - { - "name": "index", - "type": "long" - } - ] - }, - { - "name": "removeAllRanges", - "type": "void" - }, - { - "name": "removeRange", - "type": "void", - "param": [ - { - "name": "range", - "type": "Range" - } - ] - }, - { - "name": "selectAllChildren", - "type": "void", - "param": [ - { - "name": "parentNode", - "type": "Node" - } - ] - }, - { - "name": "setBaseAndExtent", - "type": "void", - "param": [ - { - "name": "baseNode", - "type": "Node" - }, - { - "name": "baseOffset", - "type": "long" - }, - { - "name": "extentNode", - "type": "Node" - }, - { - "name": "extentOffset", - "type": "long" - } - ] - }, - { - "name": "setPosition", - "type": "void", - "param": [ - { - "name": "parentNode", - "type": "Node" - }, - { - "name": "offset", - "type": "long" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "anchorNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "anchorOffset", - "read-only": "1", - "type": "long" - }, - { - "name": "baseNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "baseOffset", - "read-only": "1", - "type": "long" - }, - { - "name": "extentNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "extentOffset", - "read-only": "1", - "type": "long" - }, - { - "name": "focusNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "focusOffset", - "read-only": "1", - "type": "long" - }, - { - "name": "isCollapsed", - "read-only": "1", - "type": "boolean" - }, - { - "name": "rangeCount", - "read-only": "1", - "type": "long" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "ServiceWorker": { - "name": "ServiceWorker", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "error", - "dispatch": "async", - "skips-window": "1", - "type": "ErrorEvent" - }, - { - "name": "statechange", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "implements": [ - "AbstractWorker" - ], - "methods": { - "method": [ - { - "name": "postMessage", - "type": "void", - "param": [ - { - "name": "message", - "type": "any" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "onstatechange", - "event-handler": "statechange", - "type": "EventHandler" - }, - { - "name": "scriptURL", - "read-only": "1", - "type": "USVString" - }, - { - "name": "state", - "read-only": "1", - "type": "ServiceWorkerState" - } - ] - } - }, - "ServiceWorkerContainer": { - "name": "ServiceWorkerContainer", - "extends": "EventTarget", - "secure-context": "1", - "events": { - "event": [ - { - "name": "controllerchange", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "async", - "skips-window": "1", - "type": "ErrorEvent" - }, - { - "name": "message", - "dispatch": "async", - "skips-window": "1", - "type": "ServiceWorkerMessageEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "getRegistration", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "clientURL", - "default": "\"\"", - "optional": "1", - "type": "USVString" - } - ] - }, - { - "name": "getRegistrations", - "new-object": "1", - "type": "Promise>" - }, - { - "name": "register", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "scriptURL", - "type": "USVString" - }, - { - "name": "options", - "optional": "1", - "type": "RegistrationOptions" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "controller", - "nullable": "1", - "read-only": "1", - "type": "ServiceWorker" - }, - { - "name": "oncontrollerchange", - "event-handler": "controllerchange", - "type": "EventHandler" - }, - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - }, - { - "name": "ready", - "read-only": "1", - "same-object": "1", - "type": "Promise" - } - ] - } - }, - "ServiceWorkerMessageEvent": { - "name": "ServiceWorkerMessageEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ServiceWorkerMessageEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "any" - }, - { - "name": "lastEventId", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "ports", - "nullable": "1", - "read-only": "1", - "type": "sequence" - }, - { - "name": "source", - "nullable": "1", - "read-only": "1", - "same-object": "1", - "type": "(ServiceWorker or MessagePort)" - } - ] - } - }, - "ServiceWorkerRegistration": { - "name": "ServiceWorkerRegistration", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "updatefound", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getNotifications", - "type": "Promise>", - "param": [ - { - "name": "filter", - "optional": "1", - "type": "GetNotificationOptions" - } - ] - }, - { - "name": "showNotification", - "type": "Promise", - "param": [ - { - "name": "title", - "type": "DOMString" - }, - { - "name": "options", - "optional": "1", - "type": "NotificationOptions" - } - ] - }, - { - "name": "unregister", - "new-object": "1", - "type": "Promise" - }, - { - "name": "update", - "new-object": "1", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "active", - "nullable": "1", - "read-only": "1", - "type": "ServiceWorker" - }, - { - "name": "installing", - "nullable": "1", - "read-only": "1", - "type": "ServiceWorker" - }, - { - "name": "onupdatefound", - "event-handler": "updatefound", - "type": "EventHandler" - }, - { - "name": "pushManager", - "read-only": "1", - "type": "PushManager" - }, - { - "name": "scope", - "read-only": "1", - "type": "USVString" - }, - { - "name": "sync", - "read-only": "1", - "type": "SyncManager" - }, - { - "name": "waiting", - "nullable": "1", - "read-only": "1", - "type": "ServiceWorker" - } - ] - } - }, - "SourceBuffer": { - "name": "SourceBuffer", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "abort", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "updatestart", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "update", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "updateend", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "type": "void" - }, - { - "name": "appendBuffer", - "type": "void", - "param": [ - { - "name": "data", - "type": "(ArrayBuffer or ArrayBufferView)" - } - ] - }, - { - "name": "appendStream", - "type": "void", - "param": [ - { - "name": "stream", - "type": "MSStream" - }, - { - "name": "maxSize", - "optional": "1", - "type": "unsigned long long" - } - ] - }, - { - "name": "remove", - "type": "void", - "param": [ - { - "name": "start", - "type": "double" - }, - { - "name": "end", - "type": "double" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "appendWindowEnd", - "type": "double" - }, - { - "name": "appendWindowStart", - "type": "double" - }, - { - "name": "audioTracks", - "read-only": "1", - "type": "AudioTrackList" - }, - { - "name": "buffered", - "read-only": "1", - "type": "TimeRanges" - }, - { - "name": "mode", - "type": "AppendMode" - }, - { - "name": "timestampOffset", - "type": "double" - }, - { - "name": "updating", - "read-only": "1", - "type": "boolean" - }, - { - "name": "videoTracks", - "read-only": "1", - "type": "VideoTrackList" - } - ] - } - }, - "SourceBufferList": { - "name": "SourceBufferList", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "addsourcebuffer", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "removesourcebuffer", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "SourceBuffer", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SpeechSynthesis": { - "name": "SpeechSynthesis", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "voiceschanged", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "cancel", - "type": "void" - }, - { - "name": "getVoices", - "type": "sequence" - }, - { - "name": "pause", - "type": "void" - }, - { - "name": "resume", - "type": "void" - }, - { - "name": "speak", - "type": "void", - "param": [ - { - "name": "utterance", - "type": "SpeechSynthesisUtterance" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "onvoiceschanged", - "event-handler": "voiceschanged", - "type": "EventHandler" - }, - { - "name": "paused", - "read-only": "1", - "type": "boolean" - }, - { - "name": "pending", - "read-only": "1", - "type": "boolean" - }, - { - "name": "speaking", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "SpeechSynthesisEvent": { - "name": "SpeechSynthesisEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "SpeechSynthesisEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "charIndex", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "elapsedTime", - "read-only": "1", - "type": "float" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "utterance", - "nullable": "1", - "read-only": "1", - "type": "SpeechSynthesisUtterance" - } - ] - } - }, - "SpeechSynthesisUtterance": { - "name": "SpeechSynthesisUtterance", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "text", - "optional": "1", - "type": "DOMString" - } - ] - }, - "events": { - "event": [ - { - "name": "start", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "pause", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "resume", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "end", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "mark", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "boundary", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "lang", - "type": "DOMString" - }, - { - "name": "onboundary", - "event-handler": "boundary", - "type": "EventHandler" - }, - { - "name": "onend", - "event-handler": "end", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onmark", - "event-handler": "mark", - "type": "EventHandler" - }, - { - "name": "onpause", - "event-handler": "pause", - "type": "EventHandler" - }, - { - "name": "onresume", - "event-handler": "resume", - "type": "EventHandler" - }, - { - "name": "onstart", - "event-handler": "start", - "type": "EventHandler" - }, - { - "name": "pitch", - "type": "float" - }, - { - "name": "rate", - "type": "float" - }, - { - "name": "text", - "type": "DOMString" - }, - { - "name": "voice", - "type": "SpeechSynthesisVoice" - }, - { - "name": "volume", - "type": "float" - } - ] - } - }, - "SpeechSynthesisVoice": { - "name": "SpeechSynthesisVoice", - "extends": "Object", - "properties": { - "property": [ - { - "name": "default", - "read-only": "1", - "type": "boolean" - }, - { - "name": "lang", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "localService", - "read-only": "1", - "type": "boolean" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "voiceURI", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "StereoPannerNode": { - "name": "StereoPannerNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "pan", - "read-only": "1", - "type": "AudioParam" - } - ] - } - }, - "Storage": { - "name": "Storage", - "extends": "Object", - "override-builtins": "1", - "methods": { - "method": [ - { - "name": "clear", - "property-descriptor-not-enumerable": "1", - "type": "void" - }, - { - "name": "getItem", - "getter": "1", - "property-descriptor-not-enumerable": "1", - "type": "any", - "param": [ - { - "name": "key", - "type": "DOMString" - } - ] - }, - { - "name": "key", - "getter": "1", - "property-descriptor-not-enumerable": "1", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "deleter": "1", - "property-descriptor-not-enumerable": "1", - "type": "void", - "param": [ - { - "name": "key", - "type": "DOMString" - } - ] - }, - { - "name": "setItem", - "creator": "1", - "property-descriptor-not-enumerable": "1", - "setter": "1", - "type": "void", - "param": [ - { - "name": "key", - "type": "DOMString" - }, - { - "name": "data", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "property-descriptor-not-enumerable": "1", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "StorageEvent": { - "name": "StorageEvent", - "extends": "Event", - "methods": { - "method": [ - { - "name": "initStorageEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "keyArg", - "type": "DOMString" - }, - { - "name": "oldValueArg", - "type": "any" - }, - { - "name": "newValueArg", - "type": "any" - }, - { - "name": "urlArg", - "type": "DOMString" - }, - { - "name": "storageAreaArg", - "type": "Storage" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "key", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "newValue", - "read-only": "1", - "type": "any" - }, - { - "name": "oldValue", - "read-only": "1", - "type": "any" - }, - { - "name": "storageArea", - "read-only": "1", - "type": "Storage" - }, - { - "name": "url", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "StyleMedia": { - "name": "StyleMedia", - "extends": "Object", - "methods": { - "method": [ - { - "name": "matchMedium", - "type": "boolean", - "param": [ - { - "name": "mediaquery", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "StyleSheet": { - "name": "StyleSheet", - "extends": "Object", - "properties": { - "property": [ - { - "name": "disabled", - "type": "boolean" - }, - { - "name": "href", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "media", - "put-forwards": "mediaText", - "read-only": "1", - "type": "MediaList" - }, - { - "name": "ownerNode", - "read-only": "1", - "type": "Node" - }, - { - "name": "parentStyleSheet", - "read-only": "1", - "type": "StyleSheet" - }, - { - "name": "title", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "type", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "StyleSheetList": { - "name": "StyleSheetList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "StyleSheet", - "param": [ - { - "name": "index", - "default": "0", - "optional": "1", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "long" - } - ] - } - }, - "StyleSheetPageList": { - "name": "StyleSheetPageList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "CSSPageRule", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "long" - } - ] - } - }, - "SubtleCrypto": { - "name": "SubtleCrypto", - "extends": "Object", - "methods": { - "method": [ - { - "name": "decrypt", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "data", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - } - ] - }, - { - "name": "deriveBits", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "baseKey", - "type": "CryptoKey" - }, - { - "name": "length", - "type": "unsigned long" - } - ] - }, - { - "name": "deriveKey", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "baseKey", - "type": "CryptoKey" - }, - { - "name": "derivedKeyType", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "extractable", - "type": "boolean" - }, - { - "name": "keyUsages", - "type": "sequence" - } - ] - }, - { - "name": "digest", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "data", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - } - ] - }, - { - "name": "encrypt", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "data", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - } - ] - }, - { - "name": "exportKey", - "type": "Promise", - "param": [ - { - "name": "format", - "type": "DOMString", - "type-original": "KeyFormat" - }, - { - "name": "key", - "type": "CryptoKey" - } - ] - }, - { - "name": "generateKey", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "extractable", - "type": "boolean" - }, - { - "name": "keyUsages", - "type": "sequence" - } - ] - }, - { - "name": "importKey", - "type": "Promise", - "param": [ - { - "name": "format", - "type": "DOMString", - "type-original": "KeyFormat" - }, - { - "name": "keyData", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - }, - { - "name": "algorithm", - "nullable": "1", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "extractable", - "type": "boolean" - }, - { - "name": "keyUsages", - "type": "sequence" - } - ] - }, - { - "name": "sign", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "data", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - } - ] - }, - { - "name": "unwrapKey", - "type": "Promise", - "param": [ - { - "name": "format", - "type": "DOMString", - "type-original": "KeyFormat" - }, - { - "name": "wrappedKey", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - }, - { - "name": "unwrappingKey", - "type": "CryptoKey" - }, - { - "name": "unwrapAlgorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "unwrappedKeyAlgorithm", - "nullable": "1", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "extractable", - "type": "boolean" - }, - { - "name": "keyUsages", - "type": "sequence" - } - ] - }, - { - "name": "verify", - "type": "Promise", - "param": [ - { - "name": "algorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - }, - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "signature", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - }, - { - "name": "data", - "type": "ArrayBufferView", - "type-original": "CryptoOperationData" - } - ] - }, - { - "name": "wrapKey", - "type": "Promise", - "param": [ - { - "name": "format", - "type": "DOMString", - "type-original": "KeyFormat" - }, - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "wrappingKey", - "type": "CryptoKey" - }, - { - "name": "wrapAlgorithm", - "type": "(DOMString or Algorithm)", - "type-original": "AlgorithmIdentifier" - } - ] - } - ] - } - }, - "SVGAElement": { - "name": "SVGAElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "a", - "namespace": "SVG" - } - ], - "implements": [ - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "target", - "content-attribute": "target", - "content-attribute-enum-values": "_blank _self _parent _top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "name_ref", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "SVGAngle": { - "name": "SVGAngle", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "SVG_ANGLETYPE_DEG", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_ANGLETYPE_GRAD", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_ANGLETYPE_RAD", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_ANGLETYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_ANGLETYPE_UNSPECIFIED", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "convertToSpecifiedUnits", - "type": "void", - "param": [ - { - "name": "unitType", - "type": "unsigned short" - } - ] - }, - { - "name": "newValueSpecifiedUnits", - "type": "void", - "param": [ - { - "name": "unitType", - "type": "unsigned short" - }, - { - "name": "valueInSpecifiedUnits", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "unitType", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "value", - "type": "float" - }, - { - "name": "valueAsString", - "type": "DOMString" - }, - { - "name": "valueInSpecifiedUnits", - "type": "float" - } - ] - } - }, - "SVGAnimatedAngle": { - "name": "SVGAnimatedAngle", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGAngle" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGAngle" - } - ] - } - }, - "SVGAnimatedBoolean": { - "name": "SVGAnimatedBoolean", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "boolean" - }, - { - "name": "baseVal", - "type": "boolean" - } - ] - } - }, - "SVGAnimatedEnumeration": { - "name": "SVGAnimatedEnumeration", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "baseVal", - "type": "unsigned short" - } - ] - } - }, - "SVGAnimatedInteger": { - "name": "SVGAnimatedInteger", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "long" - }, - { - "name": "baseVal", - "type": "long" - } - ] - } - }, - "SVGAnimatedLength": { - "name": "SVGAnimatedLength", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGLength" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGLength" - } - ] - } - }, - "SVGAnimatedLengthList": { - "name": "SVGAnimatedLengthList", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGLengthList" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGLengthList" - } - ] - } - }, - "SVGAnimatedNumber": { - "name": "SVGAnimatedNumber", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "float" - }, - { - "name": "baseVal", - "type": "float" - } - ] - } - }, - "SVGAnimatedNumberList": { - "name": "SVGAnimatedNumberList", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGNumberList" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGNumberList" - } - ] - } - }, - "SVGAnimatedPreserveAspectRatio": { - "name": "SVGAnimatedPreserveAspectRatio", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGPreserveAspectRatio" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGPreserveAspectRatio" - } - ] - } - }, - "SVGAnimatedRect": { - "name": "SVGAnimatedRect", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGRect" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGRect" - } - ] - } - }, - "SVGAnimatedString": { - "name": "SVGAnimatedString", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "baseVal", - "type": "DOMString" - } - ] - } - }, - "SVGAnimatedTransformList": { - "name": "SVGAnimatedTransformList", - "extends": "Object", - "properties": { - "property": [ - { - "name": "animVal", - "read-only": "1", - "type": "SVGTransformList" - }, - { - "name": "baseVal", - "read-only": "1", - "type": "SVGTransformList" - } - ] - } - }, - "SVGCircleElement": { - "name": "SVGCircleElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "circle", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "cx", - "content-attribute": "cx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "cy", - "content-attribute": "cy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "r", - "content-attribute": "r", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGClipPathElement": { - "name": "SVGClipPathElement", - "extends": "SVGGraphicsElement", - "element": [ - { - "name": "clipPath", - "namespace": "SVG" - } - ], - "implements": [ - "SVGUnitTypes" - ], - "properties": { - "property": [ - { - "name": "clipPathUnits", - "content-attribute": "clipPathUnits", - "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGComponentTransferFunctionElement": { - "name": "SVGComponentTransferFunctionElement", - "extends": "SVGElement", - "constants": { - "constant": [ - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "amplitude", - "content-attribute": "amplitude", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "exponent", - "content-attribute": "exponent", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "intercept", - "content-attribute": "intercept", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "offset", - "content-attribute": "offset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "slope", - "content-attribute": "slope", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "tableValues", - "content-attribute": "tableValues", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", - "read-only": "1", - "type": "SVGAnimatedNumberList" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "identity table discrete linear gamma", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGDefsElement": { - "name": "SVGDefsElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - } - ] - }, - "element": [ - { - "name": "defs", - "namespace": "SVG" - } - ] - }, - "SVGDescElement": { - "name": "SVGDescElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "desc", - "namespace": "SVG" - } - ] - }, - "SVGElement": { - "name": "SVGElement", - "extends": "Element", - "events": { - "event": [ - { - "name": "SVGLoad", - "dispatch": "async", - "type": "Event" - } - ] - }, - "properties": { - "property": [ - { - "name": "className", - "content-attribute": "class", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "onclick", - "content-attribute": "onclick", - "content-attribute-value-syntax": "javascript", - "event-handler": "click", - "type": "EventHandler" - }, - { - "name": "ondblclick", - "content-attribute": "ondblclick", - "content-attribute-value-syntax": "javascript", - "event-handler": "dblclick", - "type": "EventHandler" - }, - { - "name": "onfocusin", - "content-attribute": "onfocusin", - "content-attribute-value-syntax": "javascript", - "event-handler": "focusin", - "type": "EventHandler" - }, - { - "name": "onfocusout", - "content-attribute": "onfocusout", - "content-attribute-value-syntax": "javascript", - "event-handler": "focusout", - "type": "EventHandler" - }, - { - "name": "onload", - "content-attribute": "onload", - "content-attribute-value-syntax": "javascript", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onmousedown", - "content-attribute": "onmousedown", - "content-attribute-value-syntax": "javascript", - "event-handler": "mousedown", - "type": "EventHandler" - }, - { - "name": "onmousemove", - "content-attribute": "onmousemove", - "content-attribute-value-syntax": "javascript", - "event-handler": "mousemove", - "type": "EventHandler" - }, - { - "name": "onmouseout", - "content-attribute": "onmouseout", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseout", - "type": "EventHandler" - }, - { - "name": "onmouseover", - "content-attribute": "onmouseover", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseover", - "type": "EventHandler" - }, - { - "name": "onmouseup", - "content-attribute": "onmouseup", - "content-attribute-value-syntax": "javascript", - "event-handler": "mouseup", - "type": "EventHandler" - }, - { - "name": "ownerSVGElement", - "read-only": "1", - "type": "SVGSVGElement" - }, - { - "name": "style", - "content-attribute": "style", - "content-attribute-value-syntax": "css", - "read-only": "1", - "type": "CSSStyleDeclaration" - }, - { - "name": "viewportElement", - "read-only": "1", - "type": "SVGElement" - }, - { - "name": "xmlbase", - "type": "DOMString" - } - ] - } - }, - "SVGElementInstance": { - "name": "SVGElementInstance", - "extends": "EventTarget", - "properties": { - "property": [ - { - "name": "childNodes", - "read-only": "1", - "type": "SVGElementInstanceList" - }, - { - "name": "correspondingElement", - "read-only": "1", - "type": "SVGElement" - }, - { - "name": "correspondingUseElement", - "read-only": "1", - "type": "SVGUseElement" - }, - { - "name": "firstChild", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "lastChild", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "nextSibling", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "parentNode", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "previousSibling", - "read-only": "1", - "type": "SVGElementInstance" - } - ] - } - }, - "SVGElementInstanceList": { - "name": "SVGElementInstanceList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "type": "SVGElementInstance", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGEllipseElement": { - "name": "SVGEllipseElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "ellipse", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "cx", - "content-attribute": "cx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "cy", - "content-attribute": "cy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "rx", - "content-attribute": "rx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "ry", - "content-attribute": "ry", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGFEBlendElement": { - "name": "SVGFEBlendElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_FEBLEND_MODE_COLOR", - "type": "unsigned short", - "value": [ - "15" - ] - }, - { - "name": "SVG_FEBLEND_MODE_COLOR_BURN", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "SVG_FEBLEND_MODE_COLOR_DODGE", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "SVG_FEBLEND_MODE_DARKEN", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_FEBLEND_MODE_DIFFERENCE", - "type": "unsigned short", - "value": [ - "11" - ] - }, - { - "name": "SVG_FEBLEND_MODE_EXCLUSION", - "type": "unsigned short", - "value": [ - "12" - ] - }, - { - "name": "SVG_FEBLEND_MODE_HARD_LIGHT", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "SVG_FEBLEND_MODE_HUE", - "type": "unsigned short", - "value": [ - "13" - ] - }, - { - "name": "SVG_FEBLEND_MODE_LIGHTEN", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "SVG_FEBLEND_MODE_LUMINOSITY", - "type": "unsigned short", - "value": [ - "16" - ] - }, - { - "name": "SVG_FEBLEND_MODE_MULTIPLY", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_FEBLEND_MODE_NORMAL", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_FEBLEND_MODE_OVERLAY", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "SVG_FEBLEND_MODE_SATURATION", - "type": "unsigned short", - "value": [ - "14" - ] - }, - { - "name": "SVG_FEBLEND_MODE_SCREEN", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_FEBLEND_MODE_SOFT_LIGHT", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "SVG_FEBLEND_MODE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "feBlend", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "in2", - "content-attribute": "in2", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "mode", - "content-attribute": "mode", - "content-attribute-enum-values": "normal multiply screen darken lighten", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGFEColorMatrixElement": { - "name": "SVGFEColorMatrixElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_FECOLORMATRIX_TYPE_HUEROTATE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_FECOLORMATRIX_TYPE_MATRIX", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_FECOLORMATRIX_TYPE_SATURATE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_FECOLORMATRIX_TYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "feColorMatrix", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "matrix saturate hueRotate luminanceToAlpha", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "values", - "content-attribute": "values", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_5x5_matrix_values_or_single_floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumberList" - } - ] - } - }, - "SVGFEComponentTransferElement": { - "name": "SVGFEComponentTransferElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feComponentTransfer", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "SVGFECompositeElement": { - "name": "SVGFECompositeElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_ATOP", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_IN", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_OUT", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_OVER", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_FECOMPOSITE_OPERATOR_XOR", - "type": "unsigned short", - "value": [ - "5" - ] - } - ] - }, - "element": [ - { - "name": "feComposite", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "in2", - "content-attribute": "in2", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "k1", - "content-attribute": "k1", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "k2", - "content-attribute": "k2", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "k3", - "content-attribute": "k3", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "k4", - "content-attribute": "k4", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "operator", - "content-attribute": "operator", - "content-attribute-enum-values": "over in out atop xor arithmetic", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGFEConvolveMatrixElement": { - "name": "SVGFEConvolveMatrixElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_EDGEMODE_DUPLICATE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_EDGEMODE_NONE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_EDGEMODE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_EDGEMODE_WRAP", - "type": "unsigned short", - "value": [ - "2" - ] - } - ] - }, - "element": [ - { - "name": "feConvolveMatrix", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "bias", - "content-attribute": "bias", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "divisor", - "content-attribute": "divisor", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "edgeMode", - "content-attribute": "edgeMode", - "content-attribute-enum-values": "duplicate wrap none", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "kernelMatrix", - "content-attribute": "kernelMatrix", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", - "read-only": "1", - "type": "SVGAnimatedNumberList" - }, - { - "name": "kernelUnitLengthX", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "kernelUnitLengthY", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "orderX", - "content-attribute": "order", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "orderY", - "content-attribute": "order", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "preserveAlpha", - "content-attribute": "preserveAlpha", - "content-attribute-enum-values": "false true", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedBoolean" - }, - { - "name": "targetX", - "content-attribute": "targetX", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "targetY", - "content-attribute": "targetY", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "read-only": "1", - "type": "SVGAnimatedInteger" - } - ] - } - }, - "SVGFEDiffuseLightingElement": { - "name": "SVGFEDiffuseLightingElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - }, - { - "enum-values": "currentColor inherit initial", - "name": "lighting-color", - "value-syntax": "css_color" - } - ] - }, - "element": [ - { - "name": "feDiffuseLighting", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "diffuseConstant", - "content-attribute": "diffuseConstant", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "kernelUnitLengthX", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "kernelUnitLengthY", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "surfaceScale", - "content-attribute": "surfaceScale", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFEDisplacementMapElement": { - "name": "SVGFEDisplacementMapElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_CHANNEL_A", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_CHANNEL_B", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_CHANNEL_G", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_CHANNEL_R", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_CHANNEL_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "feDisplacementMap", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "in2", - "content-attribute": "in2", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "scale", - "content-attribute": "scale", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "xChannelSelector", - "content-attribute": "xChannelSelector", - "content-attribute-enum-values": "A R G B", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "yChannelSelector", - "content-attribute": "yChannelSelector", - "content-attribute-enum-values": "A R G B", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGFEDistantLightElement": { - "name": "SVGFEDistantLightElement", - "extends": "SVGElement", - "element": [ - { - "name": "feDistantLight", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "azimuth", - "content-attribute": "azimuth", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "elevation", - "content-attribute": "elevation", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFEFloodElement": { - "name": "SVGFEFloodElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - }, - { - "enum-values": "currentColor inherit initial", - "name": "flood-color", - "value-syntax": "css_color" - }, - { - "enum-values": "inherit", - "name": "flood-opacity", - "value-syntax": "0_to_1_floating_point_number" - } - ] - }, - "element": [ - { - "name": "feFlood", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ] - }, - "SVGFEFuncAElement": { - "name": "SVGFEFuncAElement", - "extends": "SVGComponentTransferFunctionElement", - "element": [ - { - "name": "feFuncA", - "namespace": "SVG" - } - ] - }, - "SVGFEFuncBElement": { - "name": "SVGFEFuncBElement", - "extends": "SVGComponentTransferFunctionElement", - "element": [ - { - "name": "feFuncB", - "namespace": "SVG" - } - ] - }, - "SVGFEFuncGElement": { - "name": "SVGFEFuncGElement", - "extends": "SVGComponentTransferFunctionElement", - "element": [ - { - "name": "feFuncG", - "namespace": "SVG" - } - ] - }, - "SVGFEFuncRElement": { - "name": "SVGFEFuncRElement", - "extends": "SVGComponentTransferFunctionElement", - "element": [ - { - "name": "feFuncR", - "namespace": "SVG" - } - ] - }, - "SVGFEGaussianBlurElement": { - "name": "SVGFEGaussianBlurElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feGaussianBlur", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "methods": { - "method": [ - { - "name": "setStdDeviation", - "type": "void", - "param": [ - { - "name": "stdDeviationX", - "type": "float" - }, - { - "name": "stdDeviationY", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "stdDeviationX", - "content-attribute": "stdDeviation", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "stdDeviationY", - "content-attribute": "stdDeviation", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFEImageElement": { - "name": "SVGFEImageElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - }, - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feImage", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes", - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "preserveAspectRatio", - "read-only": "1", - "type": "SVGAnimatedPreserveAspectRatio" - } - ] - } - }, - "SVGFEMergeElement": { - "name": "SVGFEMergeElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feMerge", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ] - }, - "SVGFEMergeNodeElement": { - "name": "SVGFEMergeNodeElement", - "extends": "SVGElement", - "element": [ - { - "name": "feMergeNode", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "SVGFEMorphologyElement": { - "name": "SVGFEMorphologyElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_MORPHOLOGY_OPERATOR_DILATE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_MORPHOLOGY_OPERATOR_ERODE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_MORPHOLOGY_OPERATOR_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "feMorphology", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "operator", - "content-attribute": "operator", - "content-attribute-enum-values": "erode dilate", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "radiusX", - "content-attribute": "radius", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "radiusY", - "content-attribute": "radius", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFEOffsetElement": { - "name": "SVGFEOffsetElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feOffset", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "dx", - "content-attribute": "dx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "dy", - "content-attribute": "dy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "SVGFEPointLightElement": { - "name": "SVGFEPointLightElement", - "extends": "SVGElement", - "element": [ - { - "name": "fePointLight", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "z", - "content-attribute": "z", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFESpecularLightingElement": { - "name": "SVGFESpecularLightingElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - }, - { - "enum-values": "currentColor inherit initial", - "name": "lighting-color", - "value-syntax": "css_color" - } - ] - }, - "element": [ - { - "name": "feSpecularLighting", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "kernelUnitLengthX", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "kernelUnitLengthY", - "content-attribute": "kernelUnitLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "specularConstant", - "content-attribute": "specularConstant", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "specularExponent", - "content-attribute": "specularExponent", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "surfaceScale", - "content-attribute": "surfaceScale", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFESpotLightElement": { - "name": "SVGFESpotLightElement", - "extends": "SVGElement", - "element": [ - { - "name": "feSpotLight", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "limitingConeAngle", - "content-attribute": "limitingConeAngle", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "pointsAtX", - "content-attribute": "pointsAtX", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "pointsAtY", - "content-attribute": "pointsAtY", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "pointsAtZ", - "content-attribute": "pointsAtZ", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "specularExponent", - "content-attribute": "specularExponent", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "z", - "content-attribute": "z", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGFETileElement": { - "name": "SVGFETileElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "feTile", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "in1", - "content-attribute": "in", - "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "filter_result_ref", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "SVGFETurbulenceElement": { - "name": "SVGFETurbulenceElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "linearRGB auto sRGB inherit", - "name": "color-interpolation-filters", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_STITCHTYPE_NOSTITCH", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_STITCHTYPE_STITCH", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_STITCHTYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_TURBULENCE_TYPE_FRACTALNOISE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_TURBULENCE_TYPE_TURBULENCE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_TURBULENCE_TYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "feTurbulence", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFilterPrimitiveStandardAttributes" - ], - "properties": { - "property": [ - { - "name": "baseFrequencyX", - "content-attribute": "baseFrequency", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "baseFrequencyY", - "content-attribute": "baseFrequency", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "numOctaves", - "content-attribute": "numOctaves", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "signed_integer", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "seed", - "content-attribute": "seed", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - }, - { - "name": "stitchTiles", - "content-attribute": "stitchTiles", - "content-attribute-enum-values": "noStitch stitch", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-enum-values": "turbulence fractalNoise", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGFilterElement": { - "name": "SVGFilterElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "filter", - "namespace": "SVG" - } - ], - "implements": [ - "SVGUnitTypes", - "SVGURIReference" - ], - "methods": { - "method": [ - { - "name": "setFilterRes", - "type": "void", - "param": [ - { - "name": "filterResX", - "type": "unsigned long" - }, - { - "name": "filterResY", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "filterResX", - "content-attribute": "filterRes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "filterResY", - "content-attribute": "filterRes", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_x_y_pair", - "read-only": "1", - "type": "SVGAnimatedInteger" - }, - { - "name": "filterUnits", - "content-attribute": "filterUnits", - "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "primitiveUnits", - "content-attribute": "primitiveUnits", - "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGForeignObjectElement": { - "name": "SVGForeignObjectElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "foreignObject", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "height", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "width", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGGElement": { - "name": "SVGGElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - } - ] - }, - "element": [ - { - "name": "g", - "namespace": "SVG" - } - ] - }, - "SVGGradientElement": { - "name": "SVGGradientElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_SPREADMETHOD_PAD", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_SPREADMETHOD_REFLECT", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_SPREADMETHOD_REPEAT", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_SPREADMETHOD_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "implements": [ - "SVGUnitTypes", - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "gradientTransform", - "content-attribute": "gradientTransform", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_transform_list", - "read-only": "1", - "type": "SVGAnimatedTransformList" - }, - { - "name": "gradientUnits", - "content-attribute": "gradientUnits", - "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "spreadMethod", - "content-attribute": "spreadMethod", - "content-attribute-enum-values": "pad reflect repeat", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - } - ] - } - }, - "SVGGraphicsElement": { - "name": "SVGGraphicsElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - } - ] - }, - "implements": [ - "SVGTests" - ], - "methods": { - "method": [ - { - "name": "getBBox", - "type": "SVGRect" - }, - { - "name": "getCTM", - "type": "SVGMatrix" - }, - { - "name": "getScreenCTM", - "type": "SVGMatrix" - }, - { - "name": "getTransformToElement", - "type": "SVGMatrix", - "param": [ - { - "name": "element", - "type": "SVGElement" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "farthestViewportElement", - "read-only": "1", - "type": "SVGElement" - }, - { - "name": "nearestViewportElement", - "read-only": "1", - "type": "SVGElement" - }, - { - "name": "transform", - "content-attribute": "transform", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_transform_list", - "read-only": "1", - "same-object": "1", - "type": "SVGAnimatedTransformList" - } - ] - } - }, - "SVGImageElement": { - "name": "SVGImageElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - } - ] - }, - "element": [ - { - "name": "image", - "namespace": "SVG" - } - ], - "events": { - "event": [ - { - "name": "SVGAbort", - "bubbles": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "SVGError", - "bubbles": "1", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "error", - "bubbles": "1", - "dispatch": "async", - "tags": "IEOnly", - "type": "Event" - } - ] - }, - "implements": [ - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "preserveAspectRatio", - "content-attribute": "preserveAspectRatio", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_aspect_ratio", - "read-only": "1", - "type": "SVGAnimatedPreserveAspectRatio" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGLength": { - "name": "SVGLength", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "SVG_LENGTHTYPE_CM", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "SVG_LENGTHTYPE_EMS", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_LENGTHTYPE_EXS", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_LENGTHTYPE_IN", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "SVG_LENGTHTYPE_MM", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "SVG_LENGTHTYPE_NUMBER", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_LENGTHTYPE_PC", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "SVG_LENGTHTYPE_PERCENTAGE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_LENGTHTYPE_PT", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "SVG_LENGTHTYPE_PX", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "SVG_LENGTHTYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "convertToSpecifiedUnits", - "type": "void", - "param": [ - { - "name": "unitType", - "type": "unsigned short" - } - ] - }, - { - "name": "newValueSpecifiedUnits", - "type": "void", - "param": [ - { - "name": "unitType", - "type": "unsigned short" - }, - { - "name": "valueInSpecifiedUnits", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "unitType", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "value", - "type": "float" - }, - { - "name": "valueAsString", - "type": "DOMString" - }, - { - "name": "valueInSpecifiedUnits", - "type": "float" - } - ] - } - }, - "SVGLengthList": { - "name": "SVGLengthList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "SVGLength", - "param": [ - { - "name": "newItem", - "type": "SVGLength" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "getItem", - "type": "SVGLength", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "SVGLength", - "param": [ - { - "name": "newItem", - "type": "SVGLength" - } - ] - }, - { - "name": "insertItemBefore", - "type": "SVGLength", - "param": [ - { - "name": "newItem", - "type": "SVGLength" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "SVGLength", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "SVGLength", - "param": [ - { - "name": "newItem", - "type": "SVGLength" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGLinearGradientElement": { - "name": "SVGLinearGradientElement", - "extends": "SVGGradientElement", - "element": [ - { - "name": "linearGradient", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "x1", - "content-attribute": "x1", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x2", - "content-attribute": "x2", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y1", - "content-attribute": "y1", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y2", - "content-attribute": "y2", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGLineElement": { - "name": "SVGLineElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-end", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-mid", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-start", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "line", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "x1", - "content-attribute": "x1", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x2", - "content-attribute": "x2", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y1", - "content-attribute": "y1", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y2", - "content-attribute": "y2", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGMarkerElement": { - "name": "SVGMarkerElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "constants": { - "constant": [ - { - "name": "SVG_MARKER_ORIENT_ANGLE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_MARKER_ORIENT_AUTO", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_MARKER_ORIENT_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_MARKERUNITS_STROKEWIDTH", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_MARKERUNITS_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_MARKERUNITS_USERSPACEONUSE", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "element": [ - { - "name": "marker", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFitToViewBox" - ], - "methods": { - "method": [ - { - "name": "setOrientToAngle", - "type": "void", - "param": [ - { - "name": "angle", - "type": "SVGAngle" - } - ] - }, - { - "name": "setOrientToAuto", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "markerHeight", - "content-attribute": "markerHeight", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "markerUnits", - "content-attribute": "markerUnits", - "content-attribute-enum-values": "strokeWidth userSpaceOnUse", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "markerWidth", - "content-attribute": "markerWidth", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "orientAngle", - "content-attribute": "orient", - "content-attribute-enum-values": "auto", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedAngle" - }, - { - "name": "orientType", - "content-attribute": "orient", - "content-attribute-enum-values": "auto", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "refX", - "content-attribute": "refX", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "refY", - "content-attribute": "refY", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGMaskElement": { - "name": "SVGMaskElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "mask", - "namespace": "SVG" - } - ], - "implements": [ - "SVGTests", - "SVGUnitTypes" - ], - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "maskContentUnits", - "content-attribute": "maskContentUnits", - "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "maskUnits", - "content-attribute": "maskUnits", - "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGMatrix": { - "name": "SVGMatrix", - "extends": "Object", - "methods": { - "method": [ - { - "name": "flipX", - "type": "SVGMatrix" - }, - { - "name": "flipY", - "type": "SVGMatrix" - }, - { - "name": "inverse", - "type": "SVGMatrix" - }, - { - "name": "multiply", - "type": "SVGMatrix", - "param": [ - { - "name": "secondMatrix", - "type": "SVGMatrix" - } - ] - }, - { - "name": "rotate", - "type": "SVGMatrix", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "rotateFromVector", - "type": "SVGMatrix", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "scale", - "type": "SVGMatrix", - "param": [ - { - "name": "scaleFactor", - "type": "float" - } - ] - }, - { - "name": "scaleNonUniform", - "type": "SVGMatrix", - "param": [ - { - "name": "scaleFactorX", - "type": "float" - }, - { - "name": "scaleFactorY", - "type": "float" - } - ] - }, - { - "name": "skewX", - "type": "SVGMatrix", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "skewY", - "type": "SVGMatrix", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "translate", - "type": "SVGMatrix", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "a", - "type": "float" - }, - { - "name": "b", - "type": "float" - }, - { - "name": "c", - "type": "float" - }, - { - "name": "d", - "type": "float" - }, - { - "name": "e", - "type": "float" - }, - { - "name": "f", - "type": "float" - } - ] - } - }, - "SVGMetadataElement": { - "name": "SVGMetadataElement", - "extends": "SVGElement", - "element": [ - { - "name": "metadata", - "namespace": "SVG" - } - ] - }, - "SVGNumber": { - "name": "SVGNumber", - "extends": "Object", - "properties": { - "property": [ - { - "name": "value", - "type": "float" - } - ] - } - }, - "SVGNumberList": { - "name": "SVGNumberList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "SVGNumber", - "param": [ - { - "name": "newItem", - "type": "SVGNumber" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "getItem", - "type": "SVGNumber", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "SVGNumber", - "param": [ - { - "name": "newItem", - "type": "SVGNumber" - } - ] - }, - { - "name": "insertItemBefore", - "type": "SVGNumber", - "param": [ - { - "name": "newItem", - "type": "SVGNumber" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "SVGNumber", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "SVGNumber", - "param": [ - { - "name": "newItem", - "type": "SVGNumber" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGPathElement": { - "name": "SVGPathElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "name": "d", - "value-syntax": "svg_path_data" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-end", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-mid", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-start", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "path", - "namespace": "SVG" - } - ], - "methods": { - "method": [ - { - "name": "createSVGPathSegArcAbs", - "type": "SVGPathSegArcAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "r1", - "type": "float" - }, - { - "name": "r2", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "largeArcFlag", - "type": "boolean" - }, - { - "name": "sweepFlag", - "type": "boolean" - } - ] - }, - { - "name": "createSVGPathSegArcRel", - "type": "SVGPathSegArcRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "r1", - "type": "float" - }, - { - "name": "r2", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "largeArcFlag", - "type": "boolean" - }, - { - "name": "sweepFlag", - "type": "boolean" - } - ] - }, - { - "name": "createSVGPathSegClosePath", - "type": "SVGPathSegClosePath" - }, - { - "name": "createSVGPathSegCurvetoCubicAbs", - "type": "SVGPathSegCurvetoCubicAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoCubicRel", - "type": "SVGPathSegCurvetoCubicRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoCubicSmoothAbs", - "type": "SVGPathSegCurvetoCubicSmoothAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoCubicSmoothRel", - "type": "SVGPathSegCurvetoCubicSmoothRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoQuadraticAbs", - "type": "SVGPathSegCurvetoQuadraticAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoQuadraticRel", - "type": "SVGPathSegCurvetoQuadraticRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoQuadraticSmoothAbs", - "type": "SVGPathSegCurvetoQuadraticSmoothAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegCurvetoQuadraticSmoothRel", - "type": "SVGPathSegCurvetoQuadraticSmoothRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoAbs", - "type": "SVGPathSegLinetoAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoHorizontalAbs", - "type": "SVGPathSegLinetoHorizontalAbs", - "param": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoHorizontalRel", - "type": "SVGPathSegLinetoHorizontalRel", - "param": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoRel", - "type": "SVGPathSegLinetoRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoVerticalAbs", - "type": "SVGPathSegLinetoVerticalAbs", - "param": [ - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegLinetoVerticalRel", - "type": "SVGPathSegLinetoVerticalRel", - "param": [ - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegMovetoAbs", - "type": "SVGPathSegMovetoAbs", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "createSVGPathSegMovetoRel", - "type": "SVGPathSegMovetoRel", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "getPathSegAtLength", - "type": "unsigned long", - "param": [ - { - "name": "distance", - "type": "float" - } - ] - }, - { - "name": "getPointAtLength", - "type": "SVGPoint", - "param": [ - { - "name": "distance", - "type": "float" - } - ] - }, - { - "name": "getTotalLength", - "type": "float" - } - ] - }, - "properties": { - "property": [ - { - "name": "pathSegList", - "read-only": "1", - "type": "SVGPathSegList" - } - ] - } - }, - "SVGPathSeg": { - "name": "SVGPathSeg", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "PATHSEG_ARC_ABS", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "PATHSEG_ARC_REL", - "type": "unsigned short", - "value": [ - "11" - ] - }, - { - "name": "PATHSEG_CLOSEPATH", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "PATHSEG_CURVETO_CUBIC_ABS", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "PATHSEG_CURVETO_CUBIC_REL", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS", - "type": "unsigned short", - "value": [ - "16" - ] - }, - { - "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_REL", - "type": "unsigned short", - "value": [ - "17" - ] - }, - { - "name": "PATHSEG_CURVETO_QUADRATIC_ABS", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "PATHSEG_CURVETO_QUADRATIC_REL", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS", - "type": "unsigned short", - "value": [ - "18" - ] - }, - { - "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL", - "type": "unsigned short", - "value": [ - "19" - ] - }, - { - "name": "PATHSEG_LINETO_ABS", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "PATHSEG_LINETO_HORIZONTAL_ABS", - "type": "unsigned short", - "value": [ - "12" - ] - }, - { - "name": "PATHSEG_LINETO_HORIZONTAL_REL", - "type": "unsigned short", - "value": [ - "13" - ] - }, - { - "name": "PATHSEG_LINETO_REL", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "PATHSEG_LINETO_VERTICAL_ABS", - "type": "unsigned short", - "value": [ - "14" - ] - }, - { - "name": "PATHSEG_LINETO_VERTICAL_REL", - "type": "unsigned short", - "value": [ - "15" - ] - }, - { - "name": "PATHSEG_MOVETO_ABS", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "PATHSEG_MOVETO_REL", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "PATHSEG_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "pathSegType", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "pathSegTypeAsLetter", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "SVGPathSegArcAbs": { - "name": "SVGPathSegArcAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "angle", - "type": "float" - }, - { - "name": "largeArcFlag", - "type": "boolean" - }, - { - "name": "r1", - "type": "float" - }, - { - "name": "r2", - "type": "float" - }, - { - "name": "sweepFlag", - "type": "boolean" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegArcRel": { - "name": "SVGPathSegArcRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "angle", - "type": "float" - }, - { - "name": "largeArcFlag", - "type": "boolean" - }, - { - "name": "r1", - "type": "float" - }, - { - "name": "r2", - "type": "float" - }, - { - "name": "sweepFlag", - "type": "boolean" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegClosePath": { - "name": "SVGPathSegClosePath", - "extends": "SVGPathSeg" - }, - "SVGPathSegCurvetoCubicAbs": { - "name": "SVGPathSegCurvetoCubicAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoCubicRel": { - "name": "SVGPathSegCurvetoCubicRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoCubicSmoothAbs": { - "name": "SVGPathSegCurvetoCubicSmoothAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoCubicSmoothRel": { - "name": "SVGPathSegCurvetoCubicSmoothRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y2", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoQuadraticAbs": { - "name": "SVGPathSegCurvetoQuadraticAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y1", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoQuadraticRel": { - "name": "SVGPathSegCurvetoQuadraticRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "x1", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "y1", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoQuadraticSmoothAbs": { - "name": "SVGPathSegCurvetoQuadraticSmoothAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegCurvetoQuadraticSmoothRel": { - "name": "SVGPathSegCurvetoQuadraticSmoothRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoAbs": { - "name": "SVGPathSegLinetoAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoHorizontalAbs": { - "name": "SVGPathSegLinetoHorizontalAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoHorizontalRel": { - "name": "SVGPathSegLinetoHorizontalRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoRel": { - "name": "SVGPathSegLinetoRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoVerticalAbs": { - "name": "SVGPathSegLinetoVerticalAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegLinetoVerticalRel": { - "name": "SVGPathSegLinetoVerticalRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegList": { - "name": "SVGPathSegList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "SVGPathSeg", - "param": [ - { - "name": "newItem", - "type": "SVGPathSeg" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "getItem", - "type": "SVGPathSeg", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "SVGPathSeg", - "param": [ - { - "name": "newItem", - "type": "SVGPathSeg" - } - ] - }, - { - "name": "insertItemBefore", - "type": "SVGPathSeg", - "param": [ - { - "name": "newItem", - "type": "SVGPathSeg" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "SVGPathSeg", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "SVGPathSeg", - "param": [ - { - "name": "newItem", - "type": "SVGPathSeg" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGPathSegMovetoAbs": { - "name": "SVGPathSegMovetoAbs", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPathSegMovetoRel": { - "name": "SVGPathSegMovetoRel", - "extends": "SVGPathSeg", - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPatternElement": { - "name": "SVGPatternElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "pattern", - "namespace": "SVG" - } - ], - "implements": [ - "SVGTests", - "SVGUnitTypes", - "SVGFitToViewBox", - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "patternContentUnits", - "content-attribute": "patternContentUnits", - "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "patternTransform", - "content-attribute": "patternTransform", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_transform_list", - "read-only": "1", - "type": "SVGAnimatedTransformList" - }, - { - "name": "patternUnits", - "content-attribute": "patternUnits", - "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGPoint": { - "name": "SVGPoint", - "extends": "Object", - "methods": { - "method": [ - { - "name": "matrixTransform", - "type": "SVGPoint", - "param": [ - { - "name": "matrix", - "type": "SVGMatrix" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGPointList": { - "name": "SVGPointList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "SVGPoint", - "param": [ - { - "name": "newItem", - "type": "SVGPoint" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "getItem", - "type": "SVGPoint", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "SVGPoint", - "param": [ - { - "name": "newItem", - "type": "SVGPoint" - } - ] - }, - { - "name": "insertItemBefore", - "type": "SVGPoint", - "param": [ - { - "name": "newItem", - "type": "SVGPoint" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "SVGPoint", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "SVGPoint", - "param": [ - { - "name": "newItem", - "type": "SVGPoint" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGPolygonElement": { - "name": "SVGPolygonElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-end", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-mid", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-start", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "polygon", - "namespace": "SVG" - } - ], - "implements": [ - "SVGAnimatedPoints" - ] - }, - "SVGPolylineElement": { - "name": "SVGPolylineElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-end", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-mid", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "marker-start", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "polyline", - "namespace": "SVG" - } - ], - "implements": [ - "SVGAnimatedPoints" - ] - }, - "SVGPreserveAspectRatio": { - "name": "SVGPreserveAspectRatio", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "SVG_MEETORSLICE_MEET", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_MEETORSLICE_SLICE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_MEETORSLICE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_NONE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMAXYMAX", - "type": "unsigned short", - "value": [ - "10" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMAXYMID", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMAXYMIN", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMIDYMAX", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMIDYMID", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMIDYMIN", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMINYMAX", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMINYMID", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "SVG_PRESERVEASPECTRATIO_XMINYMIN", - "type": "unsigned short", - "value": [ - "2" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "align", - "type": "unsigned short" - }, - { - "name": "meetOrSlice", - "type": "unsigned short" - } - ] - } - }, - "SVGRadialGradientElement": { - "name": "SVGRadialGradientElement", - "extends": "SVGGradientElement", - "element": [ - { - "name": "radialGradient", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "cx", - "content-attribute": "cx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "cy", - "content-attribute": "cy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "fx", - "content-attribute": "fx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "fy", - "content-attribute": "fy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "r", - "content-attribute": "r", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGRect": { - "name": "SVGRect", - "extends": "Object", - "properties": { - "property": [ - { - "name": "height", - "type": "float" - }, - { - "name": "width", - "type": "float" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "SVGRectElement": { - "name": "SVGRectElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "rect", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "rx", - "content-attribute": "rx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "ry", - "content-attribute": "ry", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGScriptElement": { - "name": "SVGScriptElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "script", - "namespace": "SVG" - } - ], - "implements": [ - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "SVGStopElement": { - "name": "SVGStopElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "currentColor inherit initial", - "name": "stop-color", - "value-syntax": "css_color" - }, - { - "enum-values": "inherit", - "name": "stop-opacity", - "value-syntax": "0_to_1_floating_point_number" - } - ] - }, - "element": [ - { - "name": "stop", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "offset", - "content-attribute": "offset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "floating_point_number", - "read-only": "1", - "type": "SVGAnimatedNumber" - } - ] - } - }, - "SVGStringList": { - "name": "SVGStringList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "DOMString", - "param": [ - { - "name": "newItem", - "type": "DOMString" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "getItem", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "DOMString", - "param": [ - { - "name": "newItem", - "type": "DOMString" - } - ] - }, - { - "name": "insertItemBefore", - "type": "DOMString", - "param": [ - { - "name": "newItem", - "type": "DOMString" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "DOMString", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "DOMString", - "param": [ - { - "name": "newItem", - "type": "DOMString" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGStyleElement": { - "name": "SVGStyleElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "style", - "namespace": "SVG" - } - ], - "properties": { - "property": [ - { - "name": "disabled", - "type": "boolean" - }, - { - "name": "media", - "content-attribute": "media", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "media_query", - "type": "DOMString" - }, - { - "name": "title", - "content-attribute": "title", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "type", - "content-attribute": "type", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - } - ] - } - }, - "SVGSVGElement": { - "name": "SVGSVGElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "name": "version", - "value-syntax": "floating_point_number" - }, - { - "name": "baseProfile" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - }, - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - } - ] - }, - "element": [ - { - "name": "svg", - "namespace": "SVG" - } - ], - "events": { - "event": [ - { - "name": "SVGScroll", - "bubbles": "1", - "dispatch": "sync-or-async", - "type": "Event" - }, - { - "name": "SVGZoom", - "bubbles": "1", - "dispatch": "sync", - "type": "SVGZoomEvent" - } - ] - }, - "implements": [ - "DocumentEvent", - "SVGFitToViewBox", - "SVGZoomAndPan" - ], - "methods": { - "method": [ - { - "name": "checkEnclosure", - "type": "boolean", - "param": [ - { - "name": "element", - "type": "SVGElement" - }, - { - "name": "rect", - "type": "SVGRect" - } - ] - }, - { - "name": "checkIntersection", - "type": "boolean", - "param": [ - { - "name": "element", - "type": "SVGElement" - }, - { - "name": "rect", - "type": "SVGRect" - } - ] - }, - { - "name": "createSVGAngle", - "type": "SVGAngle" - }, - { - "name": "createSVGLength", - "type": "SVGLength" - }, - { - "name": "createSVGMatrix", - "type": "SVGMatrix" - }, - { - "name": "createSVGNumber", - "type": "SVGNumber" - }, - { - "name": "createSVGPoint", - "type": "SVGPoint" - }, - { - "name": "createSVGRect", - "type": "SVGRect" - }, - { - "name": "createSVGTransform", - "type": "SVGTransform" - }, - { - "name": "createSVGTransformFromMatrix", - "type": "SVGTransform", - "param": [ - { - "name": "matrix", - "type": "SVGMatrix" - } - ] - }, - { - "name": "deselectAll", - "type": "void" - }, - { - "name": "forceRedraw", - "type": "void" - }, - { - "name": "getComputedStyle", - "type": "CSSStyleDeclaration", - "param": [ - { - "name": "elt", - "type": "Element" - }, - { - "name": "pseudoElt", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getCurrentTime", - "type": "float" - }, - { - "name": "getElementById", - "type": "Element", - "param": [ - { - "name": "elementId", - "type": "DOMString" - } - ] - }, - { - "name": "getEnclosureList", - "type": "NodeList", - "param": [ - { - "name": "rect", - "type": "SVGRect" - }, - { - "name": "referenceElement", - "type": "SVGElement" - } - ] - }, - { - "name": "getIntersectionList", - "type": "NodeList", - "param": [ - { - "name": "rect", - "type": "SVGRect" - }, - { - "name": "referenceElement", - "type": "SVGElement" - } - ] - }, - { - "name": "pauseAnimations", - "type": "void" - }, - { - "name": "setCurrentTime", - "type": "void", - "param": [ - { - "name": "seconds", - "type": "float" - } - ] - }, - { - "name": "suspendRedraw", - "type": "unsigned long", - "param": [ - { - "name": "maxWaitMilliseconds", - "type": "unsigned long" - } - ] - }, - { - "name": "unpauseAnimations", - "type": "void" - }, - { - "name": "unsuspendRedraw", - "type": "void", - "param": [ - { - "name": "suspendHandleID", - "type": "unsigned long" - } - ] - }, - { - "name": "unsuspendRedrawAll", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "contentScriptType", - "content-attribute": "contentScriptType", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "contentStyleType", - "content-attribute": "contentStyleType", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "mime_type", - "type": "DOMString" - }, - { - "name": "currentScale", - "type": "float" - }, - { - "name": "currentTranslate", - "read-only": "1", - "type": "SVGPoint" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "onabort", - "content-attribute": "onabort", - "content-attribute-value-syntax": "javascript", - "event-handler": "SVGAbort", - "type": "EventHandler" - }, - { - "name": "onerror", - "content-attribute": "onerror", - "content-attribute-value-syntax": "javascript", - "event-handler": "SVGError", - "type": "EventHandler" - }, - { - "name": "onresize", - "content-attribute": "onresize", - "content-attribute-value-syntax": "javascript", - "event-handler": "resize", - "type": "EventHandler" - }, - { - "name": "onscroll", - "content-attribute": "onscroll", - "content-attribute-value-syntax": "javascript", - "event-handler": "scroll", - "type": "EventHandler" - }, - { - "name": "onunload", - "content-attribute": "onunload", - "content-attribute-value-syntax": "javascript", - "event-handler": "SVGUnload", - "type": "EventHandler" - }, - { - "name": "onzoom", - "content-attribute": "onzoom", - "content-attribute-value-syntax": "javascript", - "event-handler": "SVGZoom", - "type": "EventHandler" - }, - { - "name": "pixelUnitToMillimeterX", - "read-only": "1", - "type": "float" - }, - { - "name": "pixelUnitToMillimeterY", - "read-only": "1", - "type": "float" - }, - { - "name": "screenPixelToMillimeterX", - "read-only": "1", - "type": "float" - }, - { - "name": "screenPixelToMillimeterY", - "read-only": "1", - "type": "float" - }, - { - "name": "viewport", - "read-only": "1", - "type": "SVGRect" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGSwitchElement": { - "name": "SVGSwitchElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - } - ] - }, - "element": [ - { - "name": "switch", - "namespace": "SVG" - } - ] - }, - "SVGSymbolElement": { - "name": "SVGSymbolElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto inherit", - "name": "clip", - "value-syntax": "css_shape_rect" - }, - { - "enum-values": "visible hidden scroll auto inherit", - "name": "overflow", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "accumulate inherit", - "name": "enable-background", - "value-syntax": "svg_enum_new_followed_by_svg_viewbox" - }, - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "symbol", - "namespace": "SVG" - } - ], - "implements": [ - "SVGFitToViewBox" - ] - }, - "SVGTextContentElement": { - "name": "SVGTextContentElement", - "extends": "SVGGraphicsElement", - "constants": { - "constant": [ - { - "name": "LENGTHADJUST_SPACING", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "LENGTHADJUST_SPACINGANDGLYPHS", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "LENGTHADJUST_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "getCharNumAtPosition", - "type": "long", - "param": [ - { - "name": "point", - "type": "SVGPoint" - } - ] - }, - { - "name": "getComputedTextLength", - "type": "float" - }, - { - "name": "getEndPositionOfChar", - "type": "SVGPoint", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - } - ] - }, - { - "name": "getExtentOfChar", - "type": "SVGRect", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - } - ] - }, - { - "name": "getNumberOfChars", - "type": "long" - }, - { - "name": "getRotationOfChar", - "type": "float", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - } - ] - }, - { - "name": "getStartPositionOfChar", - "type": "SVGPoint", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - } - ] - }, - { - "name": "getSubStringLength", - "type": "float", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - }, - { - "name": "nchars", - "type": "unsigned long" - } - ] - }, - { - "name": "selectSubString", - "type": "void", - "param": [ - { - "name": "charnum", - "type": "unsigned long" - }, - { - "name": "nchars", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "lengthAdjust", - "content-attribute": "lengthAdjust", - "content-attribute-enum-values": "spacing spacingAndGlyphs", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "textLength", - "content-attribute": "textLength", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGTextElement": { - "name": "SVGTextElement", - "extends": "SVGTextPositioningElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "ltr rtl inherit", - "name": "direction", - "value-syntax": "enum" - }, - { - "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", - "name": "dominant-baseline", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "caption icon menu message-box small-caption status-bar inherit", - "name": "font", - "value-syntax": "css_font" - }, - { - "enum-values": "inherit", - "name": "font-family", - "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" - }, - { - "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", - "name": "font-size", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "none inherit", - "name": "font-size-adjust", - "value-syntax": "floating_point_number" - }, - { - "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", - "name": "font-stretch", - "value-syntax": "enum" - }, - { - "enum-values": "normal italic oblique inherit initial", - "name": "font-style", - "value-syntax": "enum" - }, - { - "enum-values": "normal small-caps inherit initial", - "name": "font-variant", - "value-syntax": "enum" - }, - { - "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", - "name": "font-weight", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "glyph-orientation-horizontal", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "glyph-orientation-vertical", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "kerning", - "value-syntax": "css_length" - }, - { - "enum-values": "normal inherit initial", - "name": "letter-spacing", - "value-syntax": "css_length" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "start middle end inherit", - "name": "text-anchor", - "value-syntax": "enum" - }, - { - "enum-values": "none underline overline line-through blink inherit", - "name": "text-decoration", - "value-syntax": "enum" - }, - { - "enum-values": "normal embed bidi-override inherit", - "name": "unicode-bidi", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - }, - { - "enum-values": "normal inherit initial", - "name": "word-spacing", - "value-syntax": "css_length" - }, - { - "enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit", - "name": "writing-mode", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "text", - "namespace": "SVG" - } - ] - }, - "SVGTextPathElement": { - "name": "SVGTextPathElement", - "extends": "SVGTextContentElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", - "name": "alignment-baseline", - "value-syntax": "enum" - }, - { - "enum-values": "baseline sub super inherit", - "name": "baseline-shift", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "ltr rtl inherit", - "name": "direction", - "value-syntax": "enum" - }, - { - "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", - "name": "dominant-baseline", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "caption icon menu message-box small-caption status-bar inherit", - "name": "font", - "value-syntax": "css_font" - }, - { - "enum-values": "inherit", - "name": "font-family", - "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" - }, - { - "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", - "name": "font-size", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "none inherit", - "name": "font-size-adjust", - "value-syntax": "floating_point_number" - }, - { - "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", - "name": "font-stretch", - "value-syntax": "enum" - }, - { - "enum-values": "normal italic oblique inherit initial", - "name": "font-style", - "value-syntax": "enum" - }, - { - "enum-values": "normal small-caps inherit initial", - "name": "font-variant", - "value-syntax": "enum" - }, - { - "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", - "name": "font-weight", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "glyph-orientation-horizontal", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "glyph-orientation-vertical", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "kerning", - "value-syntax": "css_length" - }, - { - "enum-values": "normal inherit initial", - "name": "letter-spacing", - "value-syntax": "css_length" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "start middle end inherit", - "name": "text-anchor", - "value-syntax": "enum" - }, - { - "enum-values": "none underline overline line-through blink inherit", - "name": "text-decoration", - "value-syntax": "enum" - }, - { - "enum-values": "normal embed bidi-override inherit", - "name": "unicode-bidi", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - }, - { - "enum-values": "normal inherit initial", - "name": "word-spacing", - "value-syntax": "css_length" - } - ] - }, - "constants": { - "constant": [ - { - "name": "TEXTPATH_METHODTYPE_ALIGN", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "TEXTPATH_METHODTYPE_STRETCH", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "TEXTPATH_METHODTYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "TEXTPATH_SPACINGTYPE_AUTO", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "TEXTPATH_SPACINGTYPE_EXACT", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "TEXTPATH_SPACINGTYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "element": [ - { - "name": "textPath", - "namespace": "SVG" - } - ], - "implements": [ - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "method", - "content-attribute": "method", - "content-attribute-enum-values": "align stretch", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "spacing", - "content-attribute": "spacing", - "content-attribute-enum-values": "auto exact", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "SVGAnimatedEnumeration" - }, - { - "name": "startOffset", - "content-attribute": "startOffset", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGTextPositioningElement": { - "name": "SVGTextPositioningElement", - "extends": "SVGTextContentElement", - "properties": { - "property": [ - { - "name": "dx", - "content-attribute": "dx", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", - "read-only": "1", - "type": "SVGAnimatedLengthList" - }, - { - "name": "dy", - "content-attribute": "dy", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", - "read-only": "1", - "type": "SVGAnimatedLengthList" - }, - { - "name": "rotate", - "content-attribute": "rotate", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", - "read-only": "1", - "type": "SVGAnimatedNumberList" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", - "read-only": "1", - "type": "SVGAnimatedLengthList" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", - "read-only": "1", - "type": "SVGAnimatedLengthList" - } - ] - } - }, - "SVGTitleElement": { - "name": "SVGTitleElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "default preserve", - "name": "xml:space", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "title", - "namespace": "SVG" - } - ] - }, - "SVGTransform": { - "name": "SVGTransform", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "SVG_TRANSFORM_MATRIX", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_TRANSFORM_ROTATE", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "SVG_TRANSFORM_SCALE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "SVG_TRANSFORM_SKEWX", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "SVG_TRANSFORM_SKEWY", - "type": "unsigned short", - "value": [ - "6" - ] - }, - { - "name": "SVG_TRANSFORM_TRANSLATE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_TRANSFORM_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "setMatrix", - "type": "void", - "param": [ - { - "name": "matrix", - "type": "SVGMatrix" - } - ] - }, - { - "name": "setRotate", - "type": "void", - "param": [ - { - "name": "angle", - "type": "float" - }, - { - "name": "cx", - "type": "float" - }, - { - "name": "cy", - "type": "float" - } - ] - }, - { - "name": "setScale", - "type": "void", - "param": [ - { - "name": "sx", - "type": "float" - }, - { - "name": "sy", - "type": "float" - } - ] - }, - { - "name": "setSkewX", - "type": "void", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "setSkewY", - "type": "void", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "setTranslate", - "type": "void", - "param": [ - { - "name": "tx", - "type": "float" - }, - { - "name": "ty", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "angle", - "read-only": "1", - "type": "float" - }, - { - "name": "matrix", - "read-only": "1", - "type": "SVGMatrix" - }, - { - "name": "type", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "SVGTransformList": { - "name": "SVGTransformList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "appendItem", - "type": "SVGTransform", - "param": [ - { - "name": "newItem", - "type": "SVGTransform" - } - ] - }, - { - "name": "clear", - "type": "void" - }, - { - "name": "consolidate", - "type": "SVGTransform" - }, - { - "name": "createSVGTransformFromMatrix", - "type": "SVGTransform", - "param": [ - { - "name": "matrix", - "type": "SVGMatrix" - } - ] - }, - { - "name": "getItem", - "type": "SVGTransform", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "initialize", - "type": "SVGTransform", - "param": [ - { - "name": "newItem", - "type": "SVGTransform" - } - ] - }, - { - "name": "insertItemBefore", - "type": "SVGTransform", - "param": [ - { - "name": "newItem", - "type": "SVGTransform" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "removeItem", - "type": "SVGTransform", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "replaceItem", - "type": "SVGTransform", - "param": [ - { - "name": "newItem", - "type": "SVGTransform" - }, - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "numberOfItems", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "SVGTSpanElement": { - "name": "SVGTSpanElement", - "extends": "SVGTextPositioningElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", - "name": "alignment-baseline", - "value-syntax": "enum" - }, - { - "enum-values": "baseline sub super inherit", - "name": "baseline-shift", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "inherit initial", - "name": "color", - "value-syntax": "css_color" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "ltr rtl inherit", - "name": "direction", - "value-syntax": "enum" - }, - { - "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", - "name": "dominant-baseline", - "value-syntax": "enum" - }, - { - "enum-values": "none currentColor inherit", - "name": "fill", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "inherit", - "name": "fill-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "fill-rule", - "value-syntax": "enum" - }, - { - "enum-values": "caption icon menu message-box small-caption status-bar inherit", - "name": "font", - "value-syntax": "css_font" - }, - { - "enum-values": "inherit", - "name": "font-family", - "value-syntax": "comma_separated_css_font_family_followed_by_generic_family" - }, - { - "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", - "name": "font-size", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "none inherit", - "name": "font-size-adjust", - "value-syntax": "floating_point_number" - }, - { - "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", - "name": "font-stretch", - "value-syntax": "enum" - }, - { - "enum-values": "normal italic oblique inherit initial", - "name": "font-style", - "value-syntax": "enum" - }, - { - "enum-values": "normal small-caps inherit initial", - "name": "font-variant", - "value-syntax": "enum" - }, - { - "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", - "name": "font-weight", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "glyph-orientation-horizontal", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "glyph-orientation-vertical", - "value-syntax": "css_angle" - }, - { - "enum-values": "auto inherit", - "name": "kerning", - "value-syntax": "css_length" - }, - { - "enum-values": "normal inherit initial", - "name": "letter-spacing", - "value-syntax": "css_length" - }, - { - "enum-values": "none currentColor inherit", - "name": "stroke", - "value-syntax": "svg_paint_or_css_color" - }, - { - "enum-values": "none inherit", - "name": "stroke-dasharray", - "value-syntax": "comma_or_space_separated_css_percentage_or_length" - }, - { - "enum-values": "inherit", - "name": "stroke-dashoffset", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "butt round square inherit", - "name": "stroke-linecap", - "value-syntax": "enum" - }, - { - "enum-values": "miter round bevel inherit", - "name": "stroke-linejoin", - "value-syntax": "enum" - }, - { - "enum-values": "inherit", - "name": "stroke-miterlimit", - "value-syntax": "1_or_greater_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "inherit", - "name": "stroke-width", - "value-syntax": "css_percentage_or_length" - }, - { - "enum-values": "start middle end inherit", - "name": "text-anchor", - "value-syntax": "enum" - }, - { - "enum-values": "none underline overline line-through blink inherit", - "name": "text-decoration", - "value-syntax": "enum" - }, - { - "enum-values": "normal embed bidi-override inherit", - "name": "unicode-bidi", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - }, - { - "enum-values": "normal inherit initial", - "name": "word-spacing", - "value-syntax": "css_length" - } - ] - }, - "element": [ - { - "name": "tspan", - "namespace": "SVG" - } - ] - }, - "SVGUnitTypes": { - "name": "SVGUnitTypes", - "extends": "Object", - "static": "1", - "constants": { - "constant": [ - { - "name": "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_UNIT_TYPE_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SVG_UNIT_TYPE_USERSPACEONUSE", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - } - }, - "SVGUseElement": { - "name": "SVGUseElement", - "extends": "SVGGraphicsElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "none inherit", - "name": "clip-path", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "nonzero evenodd inherit", - "name": "clip-rule", - "value-syntax": "enum" - }, - { - "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", - "name": "cursor", - "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" - }, - { - "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", - "name": "display", - "value-syntax": "enum" - }, - { - "enum-values": "none inherit", - "name": "filter", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "none inherit", - "name": "mask", - "value-syntax": "css_url_of_local_id_ref" - }, - { - "enum-values": "inherit initial", - "name": "opacity", - "value-syntax": "0_to_1_floating_point_number" - }, - { - "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", - "name": "pointer-events", - "value-syntax": "enum" - }, - { - "enum-values": "visible hidden collapse inherit initial", - "name": "visibility", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "use", - "namespace": "SVG" - } - ], - "implements": [ - "SVGURIReference" - ], - "properties": { - "property": [ - { - "name": "animatedInstanceRoot", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "instanceRoot", - "read-only": "1", - "type": "SVGElementInstance" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGViewElement": { - "name": "SVGViewElement", - "extends": "SVGElement", - "anonymous-content-attributes": { - "parsedattribute": [ - { - "enum-values": "false true", - "name": "externalResourcesRequired", - "value-syntax": "enum" - } - ] - }, - "element": [ - { - "name": "view", - "namespace": "SVG" - } - ], - "implements": [ - "SVGZoomAndPan", - "SVGFitToViewBox" - ], - "properties": { - "property": [ - { - "name": "viewTarget", - "content-attribute": "viewTarget", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_urls", - "read-only": "1", - "type": "SVGStringList" - } - ] - } - }, - "SVGZoomAndPan": { - "name": "SVGZoomAndPan", - "extends": "Object", - "static": "1", - "constants": { - "constant": [ - { - "name": "SVG_ZOOMANDPAN_DISABLE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "SVG_ZOOMANDPAN_MAGNIFY", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "SVG_ZOOMANDPAN_UNKNOWN", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "zoomAndPan", - "content-attribute": "zoomAndPan", - "content-attribute-enum-values": "disable magnify", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "SVGZoomEvent": { - "name": "SVGZoomEvent", - "extends": "UIEvent", - "properties": { - "property": [ - { - "name": "newScale", - "read-only": "1", - "type": "float" - }, - { - "name": "newTranslate", - "read-only": "1", - "type": "SVGPoint" - }, - { - "name": "previousScale", - "read-only": "1", - "type": "float" - }, - { - "name": "previousTranslate", - "read-only": "1", - "type": "SVGPoint" - }, - { - "name": "zoomRectScreen", - "read-only": "1", - "type": "SVGRect" - } - ] - } - }, - "SyncManager": { - "name": "SyncManager", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getTags", - "type": "Promise>" - }, - { - "name": "register", - "type": "Promise", - "param": [ - { - "name": "tag", - "type": "DOMString" - } - ] - } - ] - } - }, - "Text": { - "name": "Text", - "extends": "CharacterData", - "events": { - "event": [ - { - "name": "DOMNodeInserted", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - }, - { - "name": "DOMNodeRemoved", - "bubbles": "1", - "dispatch": "sync", - "type": "MutationEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "splitText", - "type": "Text", - "param": [ - { - "name": "offset", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "wholeText", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "TextEvent": { - "name": "TextEvent", - "extends": "UIEvent", - "constants": { - "constant": [ - { - "name": "DOM_INPUT_METHOD_DROP", - "type": "unsigned long", - "value": [ - "0x03" - ] - }, - { - "name": "DOM_INPUT_METHOD_HANDWRITING", - "type": "unsigned long", - "value": [ - "0x06" - ] - }, - { - "name": "DOM_INPUT_METHOD_IME", - "type": "unsigned long", - "value": [ - "0x04" - ] - }, - { - "name": "DOM_INPUT_METHOD_KEYBOARD", - "type": "unsigned long", - "value": [ - "0x01" - ] - }, - { - "name": "DOM_INPUT_METHOD_MULTIMODAL", - "type": "unsigned long", - "value": [ - "0x08" - ] - }, - { - "name": "DOM_INPUT_METHOD_OPTION", - "type": "unsigned long", - "value": [ - "0x05" - ] - }, - { - "name": "DOM_INPUT_METHOD_PASTE", - "type": "unsigned long", - "value": [ - "0x02" - ] - }, - { - "name": "DOM_INPUT_METHOD_SCRIPT", - "type": "unsigned long", - "value": [ - "0x09" - ] - }, - { - "name": "DOM_INPUT_METHOD_UNKNOWN", - "type": "unsigned long", - "value": [ - "0x00" - ] - }, - { - "name": "DOM_INPUT_METHOD_VOICE", - "type": "unsigned long", - "value": [ - "0x07" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "initTextEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "dataArg", - "type": "DOMString" - }, - { - "name": "inputMethod", - "type": "unsigned long" - }, - { - "name": "locale", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "inputMethod", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "locale", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "TextMetrics": { - "name": "TextMetrics", - "extends": "Object", - "properties": { - "property": [ - { - "name": "width", - "read-only": "1", - "type": "float" - } - ] - } - }, - "TextTrack": { - "name": "TextTrack", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "DISABLED", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "ERROR", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "HIDDEN", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "LOADED", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "LOADING", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "NONE", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "SHOWING", - "type": "unsigned short", - "value": [ - "2" - ] - } - ] - }, - "events": { - "event": [ - { - "name": "cuechange", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "load", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "addCue", - "type": "void", - "param": [ - { - "name": "cue", - "type": "TextTrackCue" - } - ] - }, - { - "name": "removeCue", - "type": "void", - "param": [ - { - "name": "cue", - "type": "TextTrackCue" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "activeCues", - "read-only": "1", - "type": "TextTrackCueList" - }, - { - "name": "cues", - "read-only": "1", - "type": "TextTrackCueList" - }, - { - "name": "inBandMetadataTrackDispatchType", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "kind", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "label", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "language", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "mode", - "type": "(TextTrackMode or unsigned short)" - }, - { - "name": "oncuechange", - "event-handler": "cuechange", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "TextTrackCue": { - "name": "TextTrackCue", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "startTime", - "type": "double" - }, - { - "name": "endTime", - "type": "double" - }, - { - "name": "text", - "type": "DOMString" - } - ] - }, - "events": { - "event": [ - { - "name": "enter", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "exit", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCueAsHTML", - "type": "DocumentFragment" - } - ] - }, - "properties": { - "property": [ - { - "name": "endTime", - "type": "double" - }, - { - "name": "id", - "type": "DOMString" - }, - { - "name": "onenter", - "event-handler": "enter", - "type": "EventHandler" - }, - { - "name": "onexit", - "event-handler": "exit", - "type": "EventHandler" - }, - { - "name": "pauseOnExit", - "type": "boolean" - }, - { - "name": "startTime", - "type": "double" - }, - { - "name": "text", - "type": "DOMString" - }, - { - "name": "track", - "read-only": "1", - "type": "TextTrack" - } - ] - } - }, - "TextTrackCueList": { - "name": "TextTrackCueList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "getCueById", - "type": "TextTrackCue", - "param": [ - { - "name": "id", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "TextTrackCue", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "TextTrackList": { - "name": "TextTrackList", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "addtrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - }, - { - "name": "removetrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "type": "TextTrack", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "onaddtrack", - "event-handler": "addtrack", - "nullable": "1", - "type": "EventHandler" - } - ] - } - }, - "TimeRanges": { - "name": "TimeRanges", - "extends": "Object", - "methods": { - "method": [ - { - "name": "end", - "type": "double", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "name": "start", - "type": "double", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "Touch": { - "name": "Touch", - "extends": "Object", - "properties": { - "property": [ - { - "name": "clientX", - "read-only": "1", - "type": "long" - }, - { - "name": "clientY", - "read-only": "1", - "type": "long" - }, - { - "name": "identifier", - "read-only": "1", - "type": "long" - }, - { - "name": "pageX", - "read-only": "1", - "type": "long" - }, - { - "name": "pageY", - "read-only": "1", - "type": "long" - }, - { - "name": "screenX", - "read-only": "1", - "type": "long" - }, - { - "name": "screenY", - "read-only": "1", - "type": "long" - }, - { - "name": "target", - "read-only": "1", - "type": "EventTarget" - } - ] - } - }, - "TouchEvent": { - "name": "TouchEvent", - "extends": "UIEvent", - "properties": { - "property": [ - { - "name": "altKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "changedTouches", - "read-only": "1", - "type": "TouchList" - }, - { - "name": "charCode", - "read-only": "1", - "type": "short" - }, - { - "name": "ctrlKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "keyCode", - "read-only": "1", - "type": "short" - }, - { - "name": "metaKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "shiftKey", - "read-only": "1", - "type": "boolean" - }, - { - "name": "targetTouches", - "read-only": "1", - "type": "TouchList" - }, - { - "name": "touches", - "read-only": "1", - "type": "TouchList" - }, - { - "name": "which", - "read-only": "1", - "type": "unsigned short" - } - ] - } - }, - "TouchList": { - "name": "TouchList", - "extends": "Object", - "methods": { - "method": [ - { - "name": "item", - "getter": "1", - "nullable": "1", - "type": "Touch", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "TrackEvent": { - "name": "TrackEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "TrackEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "track", - "nullable": "1", - "read-only": "1", - "type": "(VideoTrack or AudioTrack or TextTrack)" - } - ] - } - }, - "TransitionEvent": { - "name": "TransitionEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "TransitionEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initTransitionEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "propertyNameArg", - "type": "DOMString" - }, - { - "name": "elapsedTimeArg", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "elapsedTime", - "read-only": "1", - "type": "float" - }, - { - "name": "propertyName", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "TreeWalker": { - "name": "TreeWalker", - "extends": "Object", - "methods": { - "method": [ - { - "name": "firstChild", - "type": "Node" - }, - { - "name": "lastChild", - "type": "Node" - }, - { - "name": "nextNode", - "type": "Node" - }, - { - "name": "nextSibling", - "type": "Node" - }, - { - "name": "parentNode", - "type": "Node" - }, - { - "name": "previousNode", - "type": "Node" - }, - { - "name": "previousSibling", - "type": "Node" - } - ] - }, - "properties": { - "property": [ - { - "name": "currentNode", - "type": "Node" - }, - { - "name": "expandEntityReferences", - "read-only": "1", - "type": "boolean" - }, - { - "name": "filter", - "read-only": "1", - "type": "NodeFilter" - }, - { - "name": "root", - "read-only": "1", - "type": "Node" - }, - { - "name": "whatToShow", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "UIEvent": { - "name": "UIEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "UIEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "initUIEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "detail", - "read-only": "1", - "type": "long" - }, - { - "name": "view", - "read-only": "1", - "type": "Window" - } - ] - } - }, - "UnviewableContentIdentifiedEvent": { - "name": "UnviewableContentIdentifiedEvent", - "extends": "NavigationEventWithReferrer", - "tags": "MSAppOnly", - "properties": { - "property": [ - { - "name": "mediaType", - "read-only": "1", - "tags": "MSAppOnly", - "type": "DOMString" - } - ] - } - }, - "URL": { - "name": "URL", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "url", - "type": "DOMString" - }, - { - "name": "base", - "optional": "1", - "type": "DOMString" - } - ] - }, - "methods": { - "method": [ - { - "name": "createObjectURL", - "static": "1", - "type": "DOMString", - "param": [ - { - "name": "object", - "type": "any" - }, - { - "name": "options", - "default": "0", - "optional": "1", - "type": "ObjectURLOptions" - } - ] - }, - { - "name": "revokeObjectURL", - "static": "1", - "type": "void", - "param": [ - { - "name": "url", - "type": "DOMString" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "hash", - "type": "DOMString" - }, - { - "name": "host", - "type": "DOMString" - }, - { - "name": "hostname", - "type": "DOMString" - }, - { - "name": "href", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "password", - "type": "DOMString" - }, - { - "name": "pathname", - "type": "DOMString" - }, - { - "name": "port", - "type": "DOMString" - }, - { - "name": "protocol", - "type": "DOMString" - }, - { - "name": "search", - "type": "DOMString" - }, - { - "name": "username", - "type": "DOMString" - } - ] - } - }, - "ValidityState": { - "name": "ValidityState", - "extends": "Object", - "properties": { - "property": [ - { - "name": "badInput", - "read-only": "1", - "type": "boolean" - }, - { - "name": "customError", - "read-only": "1", - "type": "boolean" - }, - { - "name": "patternMismatch", - "read-only": "1", - "type": "boolean" - }, - { - "name": "rangeOverflow", - "read-only": "1", - "type": "boolean" - }, - { - "name": "rangeUnderflow", - "read-only": "1", - "type": "boolean" - }, - { - "name": "stepMismatch", - "read-only": "1", - "type": "boolean" - }, - { - "name": "tooLong", - "read-only": "1", - "type": "boolean" - }, - { - "name": "typeMismatch", - "read-only": "1", - "type": "boolean" - }, - { - "name": "valid", - "read-only": "1", - "type": "boolean" - }, - { - "name": "valueMissing", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "VideoPlaybackQuality": { - "name": "VideoPlaybackQuality", - "extends": "Object", - "properties": { - "property": [ - { - "name": "corruptedVideoFrames", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "creationTime", - "read-only": "1", - "type": "DOMHighResTimeStamp" - }, - { - "name": "droppedVideoFrames", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "totalFrameDelay", - "read-only": "1", - "type": "double" - }, - { - "name": "totalVideoFrames", - "read-only": "1", - "type": "unsigned long" - } - ] - } - }, - "VideoTrack": { - "name": "VideoTrack", - "extends": "Object", - "properties": { - "property": [ - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "kind", - "type": "DOMString" - }, - { - "name": "label", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "language", - "type": "DOMString" - }, - { - "name": "selected", - "type": "boolean" - }, - { - "name": "sourceBuffer", - "read-only": "1", - "type": "SourceBuffer" - } - ] - } - }, - "VideoTrackList": { - "name": "VideoTrackList", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "addtrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - }, - { - "name": "removetrack", - "dispatch": "async", - "skips-window": "1", - "type": "TrackEvent" - }, - { - "name": "change", - "dispatch": "async", - "skips-window": "1", - "type": "Event" - } - ] - }, - "methods": { - "method": [ - { - "name": "getTrackById", - "nullable": "1", - "type": "VideoTrack", - "param": [ - { - "name": "id", - "type": "DOMString" - } - ] - }, - { - "name": "item", - "getter": "1", - "type": "VideoTrack", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "length", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "onaddtrack", - "event-handler": "addtrack", - "type": "EventHandler" - }, - { - "name": "onchange", - "event-handler": "change", - "type": "EventHandler" - }, - { - "name": "onremovetrack", - "event-handler": "removetrack", - "type": "EventHandler" - }, - { - "name": "selectedIndex", - "read-only": "1", - "type": "long" - } - ] - } - }, - "WaveShaperNode": { - "name": "WaveShaperNode", - "extends": "AudioNode", - "properties": { - "property": [ - { - "name": "curve", - "nullable": "1", - "type": "Float32Array" - }, - { - "name": "oversample", - "type": "OverSampleType" - } - ] - } - }, - "WebAuthentication": { - "name": "WebAuthentication", - "extends": "Object", - "secure-context": "1", - "methods": { - "method": [ - { - "name": "getAssertion", - "type": "Promise", - "param": [ - { - "name": "assertionChallenge", - "type": "BufferSource" - }, - { - "name": "options", - "optional": "1", - "type": "AssertionOptions" - } - ] - }, - { - "name": "makeCredential", - "type": "Promise", - "param": [ - { - "name": "accountInformation", - "type": "Account" - }, - { - "name": "cryptoParameters", - "type": "sequence" - }, - { - "name": "attestationChallenge", - "type": "BufferSource" - }, - { - "name": "options", - "optional": "1", - "type": "ScopedCredentialOptions" - } - ] - } - ] - } - }, - "WebAuthnAssertion": { - "name": "WebAuthnAssertion", - "extends": "Object", - "secure-context": "1", - "properties": { - "property": [ - { - "name": "authenticatorData", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "clientData", - "read-only": "1", - "type": "ArrayBuffer" - }, - { - "name": "credential", - "read-only": "1", - "type": "ScopedCredential" - }, - { - "name": "signature", - "read-only": "1", - "type": "ArrayBuffer" - } - ] - } - }, - "WEBGL_compressed_texture_s3tc": { - "name": "WEBGL_compressed_texture_s3tc", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "COMPRESSED_RGB_S3TC_DXT1_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x83F0" - ] - }, - { - "name": "COMPRESSED_RGBA_S3TC_DXT1_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x83F1" - ] - }, - { - "name": "COMPRESSED_RGBA_S3TC_DXT3_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x83F2" - ] - }, - { - "name": "COMPRESSED_RGBA_S3TC_DXT5_EXT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x83F3" - ] - } - ] - } - }, - "WEBGL_debug_renderer_info": { - "name": "WEBGL_debug_renderer_info", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "UNMASKED_RENDERER_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9246" - ] - }, - { - "name": "UNMASKED_VENDOR_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9245" - ] - } - ] - } - }, - "WEBGL_depth_texture": { - "name": "WEBGL_depth_texture", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "UNSIGNED_INT_24_8_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84FA" - ] - } - ] - } - }, - "WebGLActiveInfo": { - "name": "WebGLActiveInfo", - "extends": "Object", - "properties": { - "property": [ - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "size", - "read-only": "1", - "type": "long", - "type-original": "GLint" - }, - { - "name": "type", - "read-only": "1", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - } - }, - "WebGLBuffer": { - "name": "WebGLBuffer", - "extends": "WebGLObject" - }, - "WebGLContextEvent": { - "name": "WebGLContextEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "WebGLContextEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "statusMessage", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "WebGLFramebuffer": { - "name": "WebGLFramebuffer", - "extends": "WebGLObject" - }, - "WebGLObject": { - "name": "WebGLObject", - "extends": "Object" - }, - "WebGLProgram": { - "name": "WebGLProgram", - "extends": "WebGLObject" - }, - "WebGLRenderbuffer": { - "name": "WebGLRenderbuffer", - "extends": "WebGLObject" - }, - "WebGLRenderingContext": { - "name": "WebGLRenderingContext", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "ACTIVE_ATTRIBUTES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B89" - ] - }, - { - "name": "ACTIVE_TEXTURE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84E0" - ] - }, - { - "name": "ACTIVE_UNIFORMS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B86" - ] - }, - { - "name": "ALIASED_LINE_WIDTH_RANGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x846E" - ] - }, - { - "name": "ALIASED_POINT_SIZE_RANGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x846D" - ] - }, - { - "name": "ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1906" - ] - }, - { - "name": "ALPHA_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D55" - ] - }, - { - "name": "ALWAYS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0207" - ] - }, - { - "name": "ARRAY_BUFFER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8892" - ] - }, - { - "name": "ARRAY_BUFFER_BINDING", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8894" - ] - }, - { - "name": "ATTACHED_SHADERS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B85" - ] - }, - { - "name": "BACK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0405" - ] - }, - { - "name": "BLEND", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0BE2" - ] - }, - { - "name": "BLEND_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8005" - ] - }, - { - "name": "BLEND_DST_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80CA" - ] - }, - { - "name": "BLEND_DST_RGB", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80C8" - ] - }, - { - "name": "BLEND_EQUATION", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8009" - ] - }, - { - "name": "BLEND_EQUATION_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x883D" - ] - }, - { - "name": "BLEND_EQUATION_RGB", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8009" - ] - }, - { - "name": "BLEND_SRC_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80CB" - ] - }, - { - "name": "BLEND_SRC_RGB", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80C9" - ] - }, - { - "name": "BLUE_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D54" - ] - }, - { - "name": "BOOL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B56" - ] - }, - { - "name": "BOOL_VEC2", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B57" - ] - }, - { - "name": "BOOL_VEC3", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B58" - ] - }, - { - "name": "BOOL_VEC4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B59" - ] - }, - { - "name": "BROWSER_DEFAULT_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9244" - ] - }, - { - "name": "BUFFER_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8764" - ] - }, - { - "name": "BUFFER_USAGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8765" - ] - }, - { - "name": "BYTE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1400" - ] - }, - { - "name": "CCW", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0901" - ] - }, - { - "name": "CLAMP_TO_EDGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x812F" - ] - }, - { - "name": "COLOR_ATTACHMENT0", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CE0" - ] - }, - { - "name": "COLOR_BUFFER_BIT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x00004000" - ] - }, - { - "name": "COLOR_CLEAR_VALUE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0C22" - ] - }, - { - "name": "COLOR_WRITEMASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0C23" - ] - }, - { - "name": "COMPILE_STATUS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B81" - ] - }, - { - "name": "COMPRESSED_TEXTURE_FORMATS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x86A3" - ] - }, - { - "name": "CONSTANT_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8003" - ] - }, - { - "name": "CONSTANT_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8001" - ] - }, - { - "name": "CONTEXT_LOST_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9242" - ] - }, - { - "name": "CULL_FACE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B44" - ] - }, - { - "name": "CULL_FACE_MODE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B45" - ] - }, - { - "name": "CURRENT_PROGRAM", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B8D" - ] - }, - { - "name": "CURRENT_VERTEX_ATTRIB", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8626" - ] - }, - { - "name": "CW", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0900" - ] - }, - { - "name": "DECR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1E03" - ] - }, - { - "name": "DECR_WRAP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8508" - ] - }, - { - "name": "DELETE_STATUS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B80" - ] - }, - { - "name": "DEPTH_ATTACHMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D00" - ] - }, - { - "name": "DEPTH_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D56" - ] - }, - { - "name": "DEPTH_BUFFER_BIT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x00000100" - ] - }, - { - "name": "DEPTH_CLEAR_VALUE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B73" - ] - }, - { - "name": "DEPTH_COMPONENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1902" - ] - }, - { - "name": "DEPTH_COMPONENT16", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x81A5" - ] - }, - { - "name": "DEPTH_FUNC", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B74" - ] - }, - { - "name": "DEPTH_RANGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B70" - ] - }, - { - "name": "DEPTH_STENCIL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84F9" - ] - }, - { - "name": "DEPTH_STENCIL_ATTACHMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x821A" - ] - }, - { - "name": "DEPTH_TEST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B71" - ] - }, - { - "name": "DEPTH_WRITEMASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B72" - ] - }, - { - "name": "DITHER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0BD0" - ] - }, - { - "name": "DONT_CARE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1100" - ] - }, - { - "name": "DST_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0304" - ] - }, - { - "name": "DST_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0306" - ] - }, - { - "name": "DYNAMIC_DRAW", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x88E8" - ] - }, - { - "name": "ELEMENT_ARRAY_BUFFER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8893" - ] - }, - { - "name": "ELEMENT_ARRAY_BUFFER_BINDING", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8895" - ] - }, - { - "name": "EQUAL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0202" - ] - }, - { - "name": "FASTEST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1101" - ] - }, - { - "name": "FLOAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1406" - ] - }, - { - "name": "FLOAT_MAT2", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B5A" - ] - }, - { - "name": "FLOAT_MAT3", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B5B" - ] - }, - { - "name": "FLOAT_MAT4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B5C" - ] - }, - { - "name": "FLOAT_VEC2", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B50" - ] - }, - { - "name": "FLOAT_VEC3", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B51" - ] - }, - { - "name": "FLOAT_VEC4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B52" - ] - }, - { - "name": "FRAGMENT_SHADER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B30" - ] - }, - { - "name": "FRAMEBUFFER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D40" - ] - }, - { - "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD1" - ] - }, - { - "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD0" - ] - }, - { - "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD3" - ] - }, - { - "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD2" - ] - }, - { - "name": "FRAMEBUFFER_BINDING", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CA6" - ] - }, - { - "name": "FRAMEBUFFER_COMPLETE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD5" - ] - }, - { - "name": "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD6" - ] - }, - { - "name": "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD9" - ] - }, - { - "name": "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CD7" - ] - }, - { - "name": "FRAMEBUFFER_UNSUPPORTED", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CDD" - ] - }, - { - "name": "FRONT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0404" - ] - }, - { - "name": "FRONT_AND_BACK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0408" - ] - }, - { - "name": "FRONT_FACE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B46" - ] - }, - { - "name": "FUNC_ADD", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8006" - ] - }, - { - "name": "FUNC_REVERSE_SUBTRACT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x800B" - ] - }, - { - "name": "FUNC_SUBTRACT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x800A" - ] - }, - { - "name": "GENERATE_MIPMAP_HINT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8192" - ] - }, - { - "name": "GEQUAL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0206" - ] - }, - { - "name": "GREATER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0204" - ] - }, - { - "name": "GREEN_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D53" - ] - }, - { - "name": "HIGH_FLOAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF2" - ] - }, - { - "name": "HIGH_INT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF5" - ] - }, - { - "name": "IMPLEMENTATION_COLOR_READ_FORMAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B9B" - ] - }, - { - "name": "IMPLEMENTATION_COLOR_READ_TYPE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B9A" - ] - }, - { - "name": "INCR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1E02" - ] - }, - { - "name": "INCR_WRAP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8507" - ] - }, - { - "name": "INT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1404" - ] - }, - { - "name": "INT_VEC2", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B53" - ] - }, - { - "name": "INT_VEC3", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B54" - ] - }, - { - "name": "INT_VEC4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B55" - ] - }, - { - "name": "INVALID_ENUM", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0500" - ] - }, - { - "name": "INVALID_FRAMEBUFFER_OPERATION", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0506" - ] - }, - { - "name": "INVALID_OPERATION", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0502" - ] - }, - { - "name": "INVALID_VALUE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0501" - ] - }, - { - "name": "INVERT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x150A" - ] - }, - { - "name": "KEEP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1E00" - ] - }, - { - "name": "LEQUAL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0203" - ] - }, - { - "name": "LESS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0201" - ] - }, - { - "name": "LINE_LOOP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0002" - ] - }, - { - "name": "LINE_STRIP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0003" - ] - }, - { - "name": "LINE_WIDTH", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B21" - ] - }, - { - "name": "LINEAR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2601" - ] - }, - { - "name": "LINEAR_MIPMAP_LINEAR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2703" - ] - }, - { - "name": "LINEAR_MIPMAP_NEAREST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2701" - ] - }, - { - "name": "LINES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0001" - ] - }, - { - "name": "LINK_STATUS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B82" - ] - }, - { - "name": "LOW_FLOAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF0" - ] - }, - { - "name": "LOW_INT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF3" - ] - }, - { - "name": "LUMINANCE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1909" - ] - }, - { - "name": "LUMINANCE_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x190A" - ] - }, - { - "name": "MAX_COMBINED_TEXTURE_IMAGE_UNITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B4D" - ] - }, - { - "name": "MAX_CUBE_MAP_TEXTURE_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x851C" - ] - }, - { - "name": "MAX_FRAGMENT_UNIFORM_VECTORS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DFD" - ] - }, - { - "name": "MAX_RENDERBUFFER_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84E8" - ] - }, - { - "name": "MAX_TEXTURE_IMAGE_UNITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8872" - ] - }, - { - "name": "MAX_TEXTURE_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D33" - ] - }, - { - "name": "MAX_VARYING_VECTORS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DFC" - ] - }, - { - "name": "MAX_VERTEX_ATTRIBS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8869" - ] - }, - { - "name": "MAX_VERTEX_TEXTURE_IMAGE_UNITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B4C" - ] - }, - { - "name": "MAX_VERTEX_UNIFORM_VECTORS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DFB" - ] - }, - { - "name": "MAX_VIEWPORT_DIMS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D3A" - ] - }, - { - "name": "MEDIUM_FLOAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF1" - ] - }, - { - "name": "MEDIUM_INT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8DF4" - ] - }, - { - "name": "MIRRORED_REPEAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8370" - ] - }, - { - "name": "NEAREST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2600" - ] - }, - { - "name": "NEAREST_MIPMAP_LINEAR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2702" - ] - }, - { - "name": "NEAREST_MIPMAP_NEAREST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2700" - ] - }, - { - "name": "NEVER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0200" - ] - }, - { - "name": "NICEST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1102" - ] - }, - { - "name": "NO_ERROR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0" - ] - }, - { - "name": "NONE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0" - ] - }, - { - "name": "NOTEQUAL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0205" - ] - }, - { - "name": "ONE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "1" - ] - }, - { - "name": "ONE_MINUS_CONSTANT_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8004" - ] - }, - { - "name": "ONE_MINUS_CONSTANT_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8002" - ] - }, - { - "name": "ONE_MINUS_DST_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0305" - ] - }, - { - "name": "ONE_MINUS_DST_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0307" - ] - }, - { - "name": "ONE_MINUS_SRC_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0303" - ] - }, - { - "name": "ONE_MINUS_SRC_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0301" - ] - }, - { - "name": "OUT_OF_MEMORY", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0505" - ] - }, - { - "name": "PACK_ALIGNMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D05" - ] - }, - { - "name": "POINTS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0000" - ] - }, - { - "name": "POLYGON_OFFSET_FACTOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8038" - ] - }, - { - "name": "POLYGON_OFFSET_FILL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8037" - ] - }, - { - "name": "POLYGON_OFFSET_UNITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2A00" - ] - }, - { - "name": "RED_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D52" - ] - }, - { - "name": "RENDERBUFFER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D41" - ] - }, - { - "name": "RENDERBUFFER_ALPHA_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D53" - ] - }, - { - "name": "RENDERBUFFER_BINDING", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CA7" - ] - }, - { - "name": "RENDERBUFFER_BLUE_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D52" - ] - }, - { - "name": "RENDERBUFFER_DEPTH_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D54" - ] - }, - { - "name": "RENDERBUFFER_GREEN_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D51" - ] - }, - { - "name": "RENDERBUFFER_HEIGHT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D43" - ] - }, - { - "name": "RENDERBUFFER_INTERNAL_FORMAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D44" - ] - }, - { - "name": "RENDERBUFFER_RED_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D50" - ] - }, - { - "name": "RENDERBUFFER_STENCIL_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D55" - ] - }, - { - "name": "RENDERBUFFER_WIDTH", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D42" - ] - }, - { - "name": "RENDERER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1F01" - ] - }, - { - "name": "REPEAT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2901" - ] - }, - { - "name": "REPLACE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1E01" - ] - }, - { - "name": "RGB", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1907" - ] - }, - { - "name": "RGB5_A1", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8057" - ] - }, - { - "name": "RGB565", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D62" - ] - }, - { - "name": "RGBA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1908" - ] - }, - { - "name": "RGBA4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8056" - ] - }, - { - "name": "SAMPLE_ALPHA_TO_COVERAGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x809E" - ] - }, - { - "name": "SAMPLE_BUFFERS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80A8" - ] - }, - { - "name": "SAMPLE_COVERAGE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80A0" - ] - }, - { - "name": "SAMPLE_COVERAGE_INVERT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80AB" - ] - }, - { - "name": "SAMPLE_COVERAGE_VALUE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80AA" - ] - }, - { - "name": "SAMPLER_2D", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B5E" - ] - }, - { - "name": "SAMPLER_CUBE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B60" - ] - }, - { - "name": "SAMPLES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x80A9" - ] - }, - { - "name": "SCISSOR_BOX", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0C10" - ] - }, - { - "name": "SCISSOR_TEST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0C11" - ] - }, - { - "name": "SHADER_TYPE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B4F" - ] - }, - { - "name": "SHADING_LANGUAGE_VERSION", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B8C" - ] - }, - { - "name": "SHORT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1402" - ] - }, - { - "name": "SRC_ALPHA", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0302" - ] - }, - { - "name": "SRC_ALPHA_SATURATE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0308" - ] - }, - { - "name": "SRC_COLOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0300" - ] - }, - { - "name": "STATIC_DRAW", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x88E4" - ] - }, - { - "name": "STENCIL_ATTACHMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D20" - ] - }, - { - "name": "STENCIL_BACK_FAIL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8801" - ] - }, - { - "name": "STENCIL_BACK_FUNC", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8800" - ] - }, - { - "name": "STENCIL_BACK_PASS_DEPTH_FAIL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8802" - ] - }, - { - "name": "STENCIL_BACK_PASS_DEPTH_PASS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8803" - ] - }, - { - "name": "STENCIL_BACK_REF", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CA3" - ] - }, - { - "name": "STENCIL_BACK_VALUE_MASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CA4" - ] - }, - { - "name": "STENCIL_BACK_WRITEMASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8CA5" - ] - }, - { - "name": "STENCIL_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D57" - ] - }, - { - "name": "STENCIL_BUFFER_BIT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x00000400" - ] - }, - { - "name": "STENCIL_CLEAR_VALUE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B91" - ] - }, - { - "name": "STENCIL_FAIL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B94" - ] - }, - { - "name": "STENCIL_FUNC", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B92" - ] - }, - { - "name": "STENCIL_INDEX", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1901" - ] - }, - { - "name": "STENCIL_INDEX8", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8D48" - ] - }, - { - "name": "STENCIL_PASS_DEPTH_FAIL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B95" - ] - }, - { - "name": "STENCIL_PASS_DEPTH_PASS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B96" - ] - }, - { - "name": "STENCIL_REF", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B97" - ] - }, - { - "name": "STENCIL_TEST", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B90" - ] - }, - { - "name": "STENCIL_VALUE_MASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B93" - ] - }, - { - "name": "STENCIL_WRITEMASK", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0B98" - ] - }, - { - "name": "STREAM_DRAW", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x88E0" - ] - }, - { - "name": "SUBPIXEL_BITS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0D50" - ] - }, - { - "name": "TEXTURE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1702" - ] - }, - { - "name": "TEXTURE_2D", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0DE1" - ] - }, - { - "name": "TEXTURE_BINDING_2D", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8069" - ] - }, - { - "name": "TEXTURE_BINDING_CUBE_MAP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8514" - ] - }, - { - "name": "TEXTURE_CUBE_MAP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8513" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_NEGATIVE_X", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8516" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_NEGATIVE_Y", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8518" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_NEGATIVE_Z", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x851A" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_POSITIVE_X", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8515" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_POSITIVE_Y", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8517" - ] - }, - { - "name": "TEXTURE_CUBE_MAP_POSITIVE_Z", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8519" - ] - }, - { - "name": "TEXTURE_MAG_FILTER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2800" - ] - }, - { - "name": "TEXTURE_MIN_FILTER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2801" - ] - }, - { - "name": "TEXTURE_WRAP_S", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2802" - ] - }, - { - "name": "TEXTURE_WRAP_T", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x2803" - ] - }, - { - "name": "TEXTURE0", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C0" - ] - }, - { - "name": "TEXTURE1", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C1" - ] - }, - { - "name": "TEXTURE10", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CA" - ] - }, - { - "name": "TEXTURE11", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CB" - ] - }, - { - "name": "TEXTURE12", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CC" - ] - }, - { - "name": "TEXTURE13", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CD" - ] - }, - { - "name": "TEXTURE14", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CE" - ] - }, - { - "name": "TEXTURE15", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84CF" - ] - }, - { - "name": "TEXTURE16", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D0" - ] - }, - { - "name": "TEXTURE17", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D1" - ] - }, - { - "name": "TEXTURE18", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D2" - ] - }, - { - "name": "TEXTURE19", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D3" - ] - }, - { - "name": "TEXTURE2", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C2" - ] - }, - { - "name": "TEXTURE20", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D4" - ] - }, - { - "name": "TEXTURE21", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D5" - ] - }, - { - "name": "TEXTURE22", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D6" - ] - }, - { - "name": "TEXTURE23", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D7" - ] - }, - { - "name": "TEXTURE24", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D8" - ] - }, - { - "name": "TEXTURE25", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84D9" - ] - }, - { - "name": "TEXTURE26", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DA" - ] - }, - { - "name": "TEXTURE27", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DB" - ] - }, - { - "name": "TEXTURE28", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DC" - ] - }, - { - "name": "TEXTURE29", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DD" - ] - }, - { - "name": "TEXTURE3", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C3" - ] - }, - { - "name": "TEXTURE30", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DE" - ] - }, - { - "name": "TEXTURE31", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84DF" - ] - }, - { - "name": "TEXTURE4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C4" - ] - }, - { - "name": "TEXTURE5", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C5" - ] - }, - { - "name": "TEXTURE6", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C6" - ] - }, - { - "name": "TEXTURE7", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C7" - ] - }, - { - "name": "TEXTURE8", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C8" - ] - }, - { - "name": "TEXTURE9", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x84C9" - ] - }, - { - "name": "TRIANGLE_FAN", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0006" - ] - }, - { - "name": "TRIANGLE_STRIP", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0005" - ] - }, - { - "name": "TRIANGLES", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0004" - ] - }, - { - "name": "UNPACK_ALIGNMENT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0CF5" - ] - }, - { - "name": "UNPACK_COLORSPACE_CONVERSION_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9243" - ] - }, - { - "name": "UNPACK_FLIP_Y_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9240" - ] - }, - { - "name": "UNPACK_PREMULTIPLY_ALPHA_WEBGL", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x9241" - ] - }, - { - "name": "UNSIGNED_BYTE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1401" - ] - }, - { - "name": "UNSIGNED_INT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1405" - ] - }, - { - "name": "UNSIGNED_SHORT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1403" - ] - }, - { - "name": "UNSIGNED_SHORT_4_4_4_4", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8033" - ] - }, - { - "name": "UNSIGNED_SHORT_5_5_5_1", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8034" - ] - }, - { - "name": "UNSIGNED_SHORT_5_6_5", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8363" - ] - }, - { - "name": "VALIDATE_STATUS", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B83" - ] - }, - { - "name": "VENDOR", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1F00" - ] - }, - { - "name": "VERSION", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x1F02" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x889F" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_ENABLED", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8622" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_NORMALIZED", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x886A" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_POINTER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8645" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_SIZE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8623" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_STRIDE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8624" - ] - }, - { - "name": "VERTEX_ATTRIB_ARRAY_TYPE", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8625" - ] - }, - { - "name": "VERTEX_SHADER", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x8B31" - ] - }, - { - "name": "VIEWPORT", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0x0BA2" - ] - }, - { - "name": "ZERO", - "type": "unsigned long", - "type-original": "GLenum", - "value": [ - "0" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "activeTexture", - "type": "void", - "param": [ - { - "name": "texture", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "attachShader", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "bindAttribLocation", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "bindBuffer", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "buffer", - "nullable": "1", - "type": "WebGLBuffer" - } - ] - }, - { - "name": "bindFramebuffer", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "framebuffer", - "nullable": "1", - "type": "WebGLFramebuffer" - } - ] - }, - { - "name": "bindRenderbuffer", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "renderbuffer", - "nullable": "1", - "type": "WebGLRenderbuffer" - } - ] - }, - { - "name": "bindTexture", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "texture", - "nullable": "1", - "type": "WebGLTexture" - } - ] - }, - { - "name": "blendColor", - "type": "void", - "param": [ - { - "name": "red", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "green", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "blue", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "alpha", - "type": "float", - "type-original": "GLclampf" - } - ] - }, - { - "name": "blendEquation", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "blendEquationSeparate", - "type": "void", - "param": [ - { - "name": "modeRGB", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "modeAlpha", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "blendFunc", - "type": "void", - "param": [ - { - "name": "sfactor", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "dfactor", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "blendFuncSeparate", - "type": "void", - "param": [ - { - "name": "srcRGB", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "dstRGB", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "srcAlpha", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "dstAlpha", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "bufferData", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "size", - "type": "(long long or ArrayBufferView or ArrayBuffer?)" - }, - { - "name": "usage", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "bufferSubData", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "offset", - "type": "long long", - "type-original": "GLintptr" - }, - { - "name": "data", - "type": "(ArrayBufferView or ArrayBuffer?)" - } - ] - }, - { - "name": "checkFramebufferStatus", - "type": "unsigned long", - "type-original": "GLenum", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "clear", - "type": "void", - "param": [ - { - "name": "mask", - "type": "unsigned long", - "type-original": "GLbitfield" - } - ] - }, - { - "name": "clearColor", - "type": "void", - "param": [ - { - "name": "red", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "green", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "blue", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "alpha", - "type": "float", - "type-original": "GLclampf" - } - ] - }, - { - "name": "clearDepth", - "type": "void", - "param": [ - { - "name": "depth", - "type": "float", - "type-original": "GLclampf" - } - ] - }, - { - "name": "clearStencil", - "type": "void", - "param": [ - { - "name": "s", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "colorMask", - "type": "void", - "param": [ - { - "name": "red", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "green", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "blue", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "alpha", - "type": "boolean", - "type-original": "GLboolean" - } - ] - }, - { - "name": "compileShader", - "type": "void", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "compressedTexImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "internalformat", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "border", - "type": "long", - "type-original": "GLint" - }, - { - "name": "data", - "type": "ArrayBufferView" - } - ] - }, - { - "name": "compressedTexSubImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "xoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "yoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "format", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "data", - "type": "ArrayBufferView" - } - ] - }, - { - "name": "copyTexImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "internalformat", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "border", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "copyTexSubImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "xoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "yoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "createBuffer", - "nullable": "1", - "type": "WebGLBuffer" - }, - { - "name": "createFramebuffer", - "nullable": "1", - "type": "WebGLFramebuffer" - }, - { - "name": "createProgram", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "createRenderbuffer", - "nullable": "1", - "type": "WebGLRenderbuffer" - }, - { - "name": "createShader", - "nullable": "1", - "type": "WebGLShader", - "param": [ - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "createTexture", - "nullable": "1", - "type": "WebGLTexture" - }, - { - "name": "cullFace", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "deleteBuffer", - "type": "void", - "param": [ - { - "name": "buffer", - "nullable": "1", - "type": "WebGLBuffer" - } - ] - }, - { - "name": "deleteFramebuffer", - "type": "void", - "param": [ - { - "name": "framebuffer", - "nullable": "1", - "type": "WebGLFramebuffer" - } - ] - }, - { - "name": "deleteProgram", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "deleteRenderbuffer", - "type": "void", - "param": [ - { - "name": "renderbuffer", - "nullable": "1", - "type": "WebGLRenderbuffer" - } - ] - }, - { - "name": "deleteShader", - "type": "void", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "deleteTexture", - "type": "void", - "param": [ - { - "name": "texture", - "nullable": "1", - "type": "WebGLTexture" - } - ] - }, - { - "name": "depthFunc", - "type": "void", - "param": [ - { - "name": "func", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "depthMask", - "type": "void", - "param": [ - { - "name": "flag", - "type": "boolean", - "type-original": "GLboolean" - } - ] - }, - { - "name": "depthRange", - "type": "void", - "param": [ - { - "name": "zNear", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "zFar", - "type": "float", - "type-original": "GLclampf" - } - ] - }, - { - "name": "detachShader", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "disable", - "type": "void", - "param": [ - { - "name": "cap", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "disableVertexAttribArray", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "drawArrays", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "first", - "type": "long", - "type-original": "GLint" - }, - { - "name": "count", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "drawElements", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "count", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "offset", - "type": "long long", - "type-original": "GLintptr" - } - ] - }, - { - "name": "enable", - "type": "void", - "param": [ - { - "name": "cap", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "enableVertexAttribArray", - "type": "void", - "param": [ - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "finish", - "type": "void" - }, - { - "name": "flush", - "type": "void" - }, - { - "name": "framebufferRenderbuffer", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "attachment", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "renderbuffertarget", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "renderbuffer", - "nullable": "1", - "type": "WebGLRenderbuffer" - } - ] - }, - { - "name": "framebufferTexture2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "attachment", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "textarget", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "texture", - "nullable": "1", - "type": "WebGLTexture" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "frontFace", - "type": "void", - "param": [ - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "generateMipmap", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getActiveAttrib", - "nullable": "1", - "type": "WebGLActiveInfo", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "getActiveUniform", - "nullable": "1", - "type": "WebGLActiveInfo", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "getAttachedShaders", - "nullable": "1", - "type": "sequence", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "getAttribLocation", - "type": "long", - "type-original": "GLint", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getBufferParameter", - "type": "any", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getContextAttributes", - "type": "WebGLContextAttributes" - }, - { - "name": "getError", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "getExtension", - "nullable": "1", - "type": "object", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getFramebufferAttachmentParameter", - "type": "any", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "attachment", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getParameter", - "type": "any", - "param": [ - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getProgramInfoLog", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "getProgramParameter", - "type": "any", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getRenderbufferParameter", - "type": "any", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getShaderInfoLog", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "getShaderParameter", - "type": "any", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getShaderPrecisionFormat", - "nullable": "1", - "type": "WebGLShaderPrecisionFormat", - "param": [ - { - "name": "shadertype", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "precisiontype", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getShaderSource", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "getSupportedExtensions", - "nullable": "1", - "type": "sequence" - }, - { - "name": "getTexParameter", - "type": "any", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getUniform", - "type": "any", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - } - ] - }, - { - "name": "getUniformLocation", - "nullable": "1", - "type": "WebGLUniformLocation", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - }, - { - "name": "name", - "type": "DOMString" - } - ] - }, - { - "name": "getVertexAttrib", - "type": "any", - "param": [ - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "getVertexAttribOffset", - "type": "long long", - "type-original": "GLsizeiptr", - "param": [ - { - "name": "index", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "hint", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "mode", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "isBuffer", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "buffer", - "nullable": "1", - "type": "WebGLBuffer" - } - ] - }, - { - "name": "isContextLost", - "type": "boolean" - }, - { - "name": "isEnabled", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "cap", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "isFramebuffer", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "framebuffer", - "nullable": "1", - "type": "WebGLFramebuffer" - } - ] - }, - { - "name": "isProgram", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "isRenderbuffer", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "renderbuffer", - "nullable": "1", - "type": "WebGLRenderbuffer" - } - ] - }, - { - "name": "isShader", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - } - ] - }, - { - "name": "isTexture", - "type": "boolean", - "type-original": "GLboolean", - "param": [ - { - "name": "texture", - "nullable": "1", - "type": "WebGLTexture" - } - ] - }, - { - "name": "lineWidth", - "type": "void", - "param": [ - { - "name": "width", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "linkProgram", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "pixelStorei", - "type": "void", - "param": [ - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "param", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "polygonOffset", - "type": "void", - "param": [ - { - "name": "factor", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "units", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "readPixels", - "type": "void", - "param": [ - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "format", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pixels", - "nullable": "1", - "type": "ArrayBufferView" - } - ] - }, - { - "name": "renderbufferStorage", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "internalformat", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "sampleCoverage", - "type": "void", - "param": [ - { - "name": "value", - "type": "float", - "type-original": "GLclampf" - }, - { - "name": "invert", - "type": "boolean", - "type-original": "GLboolean" - } - ] - }, - { - "name": "scissor", - "type": "void", - "param": [ - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - } - ] - }, - { - "name": "shaderSource", - "type": "void", - "param": [ - { - "name": "shader", - "nullable": "1", - "type": "WebGLShader" - }, - { - "name": "source", - "type": "DOMString" - } - ] - }, - { - "name": "stencilFunc", - "type": "void", - "param": [ - { - "name": "func", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "ref", - "type": "long", - "type-original": "GLint" - }, - { - "name": "mask", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "stencilFuncSeparate", - "type": "void", - "param": [ - { - "name": "face", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "func", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "ref", - "type": "long", - "type-original": "GLint" - }, - { - "name": "mask", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "stencilMask", - "type": "void", - "param": [ - { - "name": "mask", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "stencilMaskSeparate", - "type": "void", - "param": [ - { - "name": "face", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "mask", - "type": "unsigned long", - "type-original": "GLuint" - } - ] - }, - { - "name": "stencilOp", - "type": "void", - "param": [ - { - "name": "fail", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "zfail", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "zpass", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "stencilOpSeparate", - "type": "void", - "param": [ - { - "name": "face", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "fail", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "zfail", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "zpass", - "type": "unsigned long", - "type-original": "GLenum" - } - ] - }, - { - "name": "texImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "internalformat", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "format", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pixels", - "nullable": "1", - "type": "ImageData" - } - ] - }, - { - "name": "texParameterf", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "param", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "texParameteri", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pname", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "param", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "texSubImage2D", - "type": "void", - "param": [ - { - "name": "target", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "level", - "type": "long", - "type-original": "GLint" - }, - { - "name": "xoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "yoffset", - "type": "long", - "type-original": "GLint" - }, - { - "name": "format", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "pixels", - "nullable": "1", - "type": "ImageData" - } - ] - }, - { - "name": "uniform1f", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "uniform1fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Float32Array" - } - ] - }, - { - "name": "uniform1i", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "uniform1iv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Int32Array" - } - ] - }, - { - "name": "uniform2f", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "uniform2fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Float32Array" - } - ] - }, - { - "name": "uniform2i", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "uniform2iv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Int32Array" - } - ] - }, - { - "name": "uniform3f", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "z", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "uniform3fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Float32Array" - } - ] - }, - { - "name": "uniform3i", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "z", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "uniform3iv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Int32Array" - } - ] - }, - { - "name": "uniform4f", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "z", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "w", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "uniform4fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Float32Array" - } - ] - }, - { - "name": "uniform4i", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "z", - "type": "long", - "type-original": "GLint" - }, - { - "name": "w", - "type": "long", - "type-original": "GLint" - } - ] - }, - { - "name": "uniform4iv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "v", - "type": "Int32Array" - } - ] - }, - { - "name": "uniformMatrix2fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "transpose", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "value", - "type": "Float32Array" - } - ] - }, - { - "name": "uniformMatrix3fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "transpose", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "value", - "type": "Float32Array" - } - ] - }, - { - "name": "uniformMatrix4fv", - "type": "void", - "param": [ - { - "name": "location", - "nullable": "1", - "type": "WebGLUniformLocation" - }, - { - "name": "transpose", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "value", - "type": "Float32Array" - } - ] - }, - { - "name": "useProgram", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "validateProgram", - "type": "void", - "param": [ - { - "name": "program", - "nullable": "1", - "type": "WebGLProgram" - } - ] - }, - { - "name": "vertexAttrib1f", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "vertexAttrib1fv", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "values", - "type": "Float32Array" - } - ] - }, - { - "name": "vertexAttrib2f", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "vertexAttrib2fv", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "values", - "type": "Float32Array" - } - ] - }, - { - "name": "vertexAttrib3f", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "z", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "vertexAttrib3fv", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "values", - "type": "Float32Array" - } - ] - }, - { - "name": "vertexAttrib4f", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "x", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "y", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "z", - "type": "float", - "type-original": "GLfloat" - }, - { - "name": "w", - "type": "float", - "type-original": "GLfloat" - } - ] - }, - { - "name": "vertexAttrib4fv", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "values", - "type": "Float32Array" - } - ] - }, - { - "name": "vertexAttribPointer", - "type": "void", - "param": [ - { - "name": "indx", - "type": "unsigned long", - "type-original": "GLuint" - }, - { - "name": "size", - "type": "long", - "type-original": "GLint" - }, - { - "name": "type", - "type": "unsigned long", - "type-original": "GLenum" - }, - { - "name": "normalized", - "type": "boolean", - "type-original": "GLboolean" - }, - { - "name": "stride", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "offset", - "type": "long long", - "type-original": "GLintptr" - } - ] - }, - { - "name": "viewport", - "type": "void", - "param": [ - { - "name": "x", - "type": "long", - "type-original": "GLint" - }, - { - "name": "y", - "type": "long", - "type-original": "GLint" - }, - { - "name": "width", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "height", - "type": "long", - "type-original": "GLsizei" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "canvas", - "read-only": "1", - "type": "HTMLCanvasElement" - }, - { - "name": "drawingBufferHeight", - "read-only": "1", - "type": "long", - "type-original": "GLsizei" - }, - { - "name": "drawingBufferWidth", - "read-only": "1", - "type": "long", - "type-original": "GLsizei" - } - ] - } - }, - "WebGLShader": { - "name": "WebGLShader", - "extends": "WebGLObject" - }, - "WebGLShaderPrecisionFormat": { - "name": "WebGLShaderPrecisionFormat", - "extends": "Object", - "properties": { - "property": [ - { - "name": "precision", - "read-only": "1", - "type": "long", - "type-original": "GLint" - }, - { - "name": "rangeMax", - "read-only": "1", - "type": "long", - "type-original": "GLint" - }, - { - "name": "rangeMin", - "read-only": "1", - "type": "long", - "type-original": "GLint" - } - ] - } - }, - "WebGLTexture": { - "name": "WebGLTexture", - "extends": "WebGLObject" - }, - "WebGLUniformLocation": { - "name": "WebGLUniformLocation", - "extends": "Object" - }, - "WebKitCSSMatrix": { - "name": "WebKitCSSMatrix", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "text", - "optional": "1", - "type": "DOMString" - } - ] - }, - "methods": { - "method": [ - { - "name": "inverse", - "type": "WebKitCSSMatrix" - }, - { - "name": "multiply", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "secondMatrix", - "type": "WebKitCSSMatrix" - } - ] - }, - { - "name": "rotate", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "angleX", - "type": "float" - }, - { - "name": "angleY", - "default": "0", - "optional": "1", - "type": "float" - }, - { - "name": "angleZ", - "default": "0", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "rotateAxisAngle", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "scale", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "scaleX", - "type": "float" - }, - { - "name": "scaleY", - "optional": "1", - "type": "float" - }, - { - "name": "scaleZ", - "default": "1", - "optional": "1", - "type": "float" - } - ] - }, - { - "name": "setMatrixValue", - "type": "void", - "param": [ - { - "name": "value", - "type": "DOMString" - } - ] - }, - { - "name": "skewX", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "skewY", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "translate", - "type": "WebKitCSSMatrix", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "default": "0", - "optional": "1", - "type": "float" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "a", - "type": "float" - }, - { - "name": "b", - "type": "float" - }, - { - "name": "c", - "type": "float" - }, - { - "name": "d", - "type": "float" - }, - { - "name": "e", - "type": "float" - }, - { - "name": "f", - "type": "float" - }, - { - "name": "m11", - "type": "float" - }, - { - "name": "m12", - "type": "float" - }, - { - "name": "m13", - "type": "float" - }, - { - "name": "m14", - "type": "float" - }, - { - "name": "m21", - "type": "float" - }, - { - "name": "m22", - "type": "float" - }, - { - "name": "m23", - "type": "float" - }, - { - "name": "m24", - "type": "float" - }, - { - "name": "m31", - "type": "float" - }, - { - "name": "m32", - "type": "float" - }, - { - "name": "m33", - "type": "float" - }, - { - "name": "m34", - "type": "float" - }, - { - "name": "m41", - "type": "float" - }, - { - "name": "m42", - "type": "float" - }, - { - "name": "m43", - "type": "float" - }, - { - "name": "m44", - "type": "float" - } - ] - } - }, - "WebKitDirectoryEntry": { - "name": "WebKitDirectoryEntry", - "extends": "WebKitEntry", - "methods": { - "method": [ - { - "name": "createReader", - "type": "WebKitDirectoryReader" - } - ] - } - }, - "WebKitDirectoryReader": { - "name": "WebKitDirectoryReader", - "extends": "Object", - "methods": { - "method": [ - { - "name": "readEntries", - "type": "void", - "param": [ - { - "name": "successCallback", - "type": "WebKitEntriesCallback" - }, - { - "name": "errorCallback", - "optional": "1", - "type": "WebKitErrorCallback" - } - ] - } - ] - } - }, - "WebKitEntry": { - "name": "WebKitEntry", - "extends": "Object", - "properties": { - "property": [ - { - "name": "filesystem", - "read-only": "1", - "type": "WebKitFileSystem" - }, - { - "name": "fullPath", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "isDirectory", - "read-only": "1", - "type": "boolean" - }, - { - "name": "isFile", - "read-only": "1", - "type": "boolean" - }, - { - "name": "name", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "WebKitFileEntry": { - "name": "WebKitFileEntry", - "extends": "WebKitEntry", - "methods": { - "method": [ - { - "name": "file", - "type": "void", - "param": [ - { - "name": "successCallback", - "type": "WebKitFileCallback" - }, - { - "name": "errorCallback", - "optional": "1", - "type": "WebKitErrorCallback" - } - ] - } - ] - } - }, - "WebKitFileSystem": { - "name": "WebKitFileSystem", - "extends": "Object", - "properties": { - "property": [ - { - "name": "name", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "root", - "read-only": "1", - "type": "WebKitDirectoryEntry" - } - ] - } - }, - "WebKitPoint": { - "name": "WebKitPoint", - "extends": "Object", - "constructor": { - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "float" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "float" - } - ] - }, - "properties": { - "property": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - } - }, - "webkitRTCPeerConnection": { - "name": "webkitRTCPeerConnection", - "extends": "RTCPeerConnection", - "constructor": { - "param": [ - { - "name": "configuration", - "type": "RTCConfiguration" - } - ] - } - }, - "WebSocket": { - "name": "WebSocket", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "CLOSED", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "CLOSING", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "CONNECTING", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "OPEN", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "constructor": { - "param": [ - { - "name": "url", - "type": "DOMString" - }, - { - "name": "protocols", - "optional": "1", - "type": "(DOMString or DOMString[])" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "message", - "dispatch": "async", - "skips-window": "1", - "type": "MessageEvent" - }, - { - "name": "open", - "dispatch": "sync", - "skips-window": "1", - "type": "Event" - }, - { - "name": "close", - "dispatch": "sync", - "skips-window": "1", - "type": "CloseEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "close", - "type": "void", - "param": [ - { - "name": "code", - "optional": "1", - "type": "unsigned short" - }, - { - "name": "reason", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "send", - "type": "void", - "param": [ - { - "name": "data", - "type": "any" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "binaryType", - "type": "DOMString" - }, - { - "name": "bufferedAmount", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "extensions", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "onclose", - "event-handler": "close", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - }, - { - "name": "onopen", - "event-handler": "open", - "type": "EventHandler" - }, - { - "name": "protocol", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "url", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "WheelEvent": { - "name": "WheelEvent", - "extends": "MouseEvent", - "constants": { - "constant": [ - { - "name": "DOM_DELTA_LINE", - "type": "unsigned long", - "value": [ - "0x01" - ] - }, - { - "name": "DOM_DELTA_PAGE", - "type": "unsigned long", - "value": [ - "0x02" - ] - }, - { - "name": "DOM_DELTA_PIXEL", - "type": "unsigned long", - "value": [ - "0x00" - ] - } - ] - }, - "constructor": { - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "WheelEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "getCurrentPoint", - "type": "void", - "param": [ - { - "name": "element", - "type": "Element" - } - ] - }, - { - "name": "initWheelEvent", - "type": "void", - "param": [ - { - "name": "typeArg", - "type": "DOMString" - }, - { - "name": "canBubbleArg", - "type": "boolean" - }, - { - "name": "cancelableArg", - "type": "boolean" - }, - { - "name": "viewArg", - "type": "Window" - }, - { - "name": "detailArg", - "type": "long" - }, - { - "name": "screenXArg", - "type": "long" - }, - { - "name": "screenYArg", - "type": "long" - }, - { - "name": "clientXArg", - "type": "long" - }, - { - "name": "clientYArg", - "type": "long" - }, - { - "name": "buttonArg", - "type": "unsigned short" - }, - { - "name": "relatedTargetArg", - "type": "EventTarget" - }, - { - "name": "modifiersListArg", - "type": "DOMString" - }, - { - "name": "deltaXArg", - "type": "long" - }, - { - "name": "deltaYArg", - "type": "long" - }, - { - "name": "deltaZArg", - "type": "long" - }, - { - "name": "deltaMode", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "deltaMode", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "deltaX", - "read-only": "1", - "type": "long" - }, - { - "name": "deltaY", - "read-only": "1", - "type": "long" - }, - { - "name": "deltaZ", - "read-only": "1", - "type": "long" - }, - { - "name": "wheelDelta", - "read-only": "1", - "type": "long" - }, - { - "name": "wheelDeltaX", - "read-only": "1", - "type": "long" - }, - { - "name": "wheelDeltaY", - "read-only": "1", - "type": "long" - } - ] - } - }, - "Window": { - "name": "Window", - "extends": "EventTarget", - "implicit-this": "1", - "primary-global": "Window", - "anonymous-methods": { - "method": [ - { - "getter": "1", - "type": "Window", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - }, - { - "getter": "1", - "type": "(Window or Element or HTMLCollection)", - "param": [ - { - "name": "name", - "type": "DOMString" - } - ] - } - ] - }, - "events": { - "event": [ - { - "name": "load", - "alternate-target": "Document", - "dispatch": "sync", - "follows": "DOMContentLoaded readystatechange", - "type": "Event" - }, - { - "name": "SVGUnload", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "unload", - "dispatch": "sync", - "follows": "beforeunload", - "type": "Event" - }, - { - "name": "beforeunload", - "cancelable": "1", - "dispatch": "sync", - "precedes": "unload", - "type": "BeforeUnloadEvent" - }, - { - "name": "hashchange", - "dispatch": "async", - "type": "HashChangeEvent" - }, - { - "name": "popstate", - "dispatch": "sync", - "type": "PopStateEvent" - }, - { - "name": "SVGResize", - "dispatch": "sync", - "type": "Event" - }, - { - "name": "resize", - "dispatch": "async", - "type": "UIEvent" - }, - { - "name": "beforeprint", - "dispatch": "sync", - "precedes": "afterprint", - "type": "Event" - }, - { - "name": "afterprint", - "dispatch": "sync", - "follows": "beforeprint", - "type": "Event" - }, - { - "name": "focus", - "dispatch": "sync", - "type": "FocusEvent" - }, - { - "name": "blur", - "dispatch": "sync", - "type": "FocusEvent" - }, - { - "name": "storage", - "dispatch": "sync", - "type": "StorageEvent" - }, - { - "name": "error", - "dispatch": "sync", - "type": "ErrorEvent" - }, - { - "name": "message", - "dispatch": "async", - "type": "MessageEvent" - }, - { - "name": "orientationchange", - "dispatch": "async", - "type": "Event" - }, - { - "name": "deviceorientation", - "dispatch": "sync", - "type": "DeviceOrientationEvent" - }, - { - "name": "devicemotion", - "dispatch": "sync", - "type": "DeviceMotionEvent" - }, - { - "name": "devicelight", - "dispatch": "sync", - "type": "DeviceLightEvent" - }, - { - "name": "compassneedscalibration", - "dispatch": "async", - "type": "Event" - }, - { - "name": "pageshow", - "dispatch": "sync", - "type": "PageTransitionEvent" - }, - { - "name": "pagehide", - "dispatch": "sync", - "type": "PageTransitionEvent" - }, - { - "name": "gamepadconnected", - "dispatch": "sync", - "type": "GamepadEvent" - }, - { - "name": "gamepaddisconnected", - "dispatch": "sync", - "type": "GamepadEvent" - }, - { - "name": "navigatingfocus", - "dispatch": "sync", - "type": "FocusNavigationEvent" - } - ] - }, - "implements": [ - "WindowTimers", - "WindowSessionStorage", - "WindowLocalStorage", - "WindowConsole", - "GlobalEventHandlers", - "IDBEnvironment", - "WindowBase64", - "GlobalFetch" - ], - "methods": { - "method": [ - { - "name": "alert", - "type": "void", - "param": [ - { - "name": "message", - "default": "\"\"", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "blur", - "do-not-check-domain-security": "1", - "type": "void" - }, - { - "name": "cancelAnimationFrame", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "captureEvents", - "type": "void" - }, - { - "name": "close", - "do-not-check-domain-security": "1", - "type": "void" - }, - { - "name": "confirm", - "type": "boolean", - "param": [ - { - "name": "message", - "default": "\"\"", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "departFocus", - "type": "void", - "param": [ - { - "name": "navigationReason", - "type": "NavigationReason" - }, - { - "name": "origin", - "type": "FocusNavigationOrigin" - } - ] - }, - { - "name": "focus", - "do-not-check-domain-security": "1", - "type": "void" - }, - { - "name": "getComputedStyle", - "type": "CSSStyleDeclaration", - "param": [ - { - "name": "elt", - "type": "Element" - }, - { - "name": "pseudoElt", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getMatchedCSSRules", - "type": "CSSRuleList", - "param": [ - { - "name": "elt", - "type": "Element" - }, - { - "name": "pseudoElt", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "getSelection", - "type": "Selection" - }, - { - "name": "matchMedia", - "type": "MediaQueryList", - "param": [ - { - "name": "mediaQuery", - "type": "DOMString" - } - ] - }, - { - "name": "moveBy", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "moveTo", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "msWriteProfilerMark", - "type": "void", - "param": [ - { - "name": "profilerMarkName", - "type": "DOMString" - } - ] - }, - { - "name": "open", - "type": "Window", - "param": [ - { - "name": "url", - "default": "\"about:blank\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "target", - "default": "\"_blank\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "features", - "default": "\"\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "replace", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "postMessage", - "do-not-check-domain-security": "1", - "type": "void", - "param": [ - { - "name": "message", - "type": "any" - }, - { - "name": "targetOrigin", - "type": "DOMString" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - }, - { - "name": "print", - "type": "void" - }, - { - "name": "prompt", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "message", - "default": "\"\"", - "optional": "1", - "type": "DOMString" - }, - { - "name": "default", - "default": "\"\"", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "releaseEvents", - "type": "void" - }, - { - "name": "requestAnimationFrame", - "type": "long", - "param": [ - { - "name": "callback", - "type": "FrameRequestCallback" - } - ] - }, - { - "name": "resizeBy", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "resizeTo", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "scroll", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "scrollBy", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "scrollTo", - "type": "void", - "param": [ - { - "name": "x", - "default": "0", - "optional": "1", - "type": "long" - }, - { - "name": "y", - "default": "0", - "optional": "1", - "type": "long" - } - ] - }, - { - "name": "stop", - "type": "void" - }, - { - "name": "webkitCancelAnimationFrame", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "webkitConvertPointFromNodeToPage", - "type": "WebKitPoint", - "param": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "pt", - "type": "WebKitPoint" - } - ] - }, - { - "name": "webkitConvertPointFromPageToNode", - "type": "WebKitPoint", - "param": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "pt", - "type": "WebKitPoint" - } - ] - }, - { - "name": "webkitRequestAnimationFrame", - "type": "long", - "param": [ - { - "name": "callback", - "type": "FrameRequestCallback" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "applicationCache", - "read-only": "1", - "type": "ApplicationCache" - }, - { - "name": "caches", - "read-only": "1", - "same-object": "1", - "secure-context": "1", - "type": "CacheStorage" - }, - { - "name": "clientInformation", - "read-only": "1", - "type": "Navigator" - }, - { - "name": "closed", - "do-not-check-domain-security": "1", - "read-only": "1", - "type": "boolean" - }, - { - "name": "crypto", - "read-only": "1", - "type": "Crypto" - }, - { - "name": "defaultStatus", - "type": "DOMString" - }, - { - "name": "devicePixelRatio", - "read-only": "1", - "replaceable": "1", - "type": "double" - }, - { - "name": "document", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "Document", - "unforgeable": "1" - }, - { - "name": "doNotTrack", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "event", - "type": "Event" - }, - { - "name": "external", - "read-only": "1", - "replaceable": "1", - "type": "External" - }, - { - "name": "frameElement", - "read-only": "1", - "type": "Element" - }, - { - "name": "frames", - "do-not-check-domain-security": "1", - "read-only": "1", - "replaceable": "1", - "type": "Window" - }, - { - "name": "history", - "read-only": "1", - "type": "History" - }, - { - "name": "innerHeight", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "innerWidth", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "isSecureContext", - "read-only": "1", - "type": "boolean" - }, - { - "name": "length", - "do-not-check-domain-security": "1", - "read-only": "1", - "replaceable": "1", - "type": "unsigned long" - }, - { - "name": "location", - "do-not-check-domain-security": "1", - "property-descriptor-not-configurable": "1", - "put-forwards": "href", - "read-only": "1", - "type": "Location", - "unforgeable": "1" - }, - { - "name": "locationbar", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "menubar", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "msContentScript", - "read-only": "1", - "type": "ExtensionScriptApis" - }, - { - "name": "msCredentials", - "read-only": "1", - "type": "MSCredentials" - }, - { - "name": "name", - "type": "DOMString" - }, - { - "name": "navigator", - "read-only": "1", - "type": "Navigator" - }, - { - "name": "offscreenBuffering", - "type": "(DOMString or boolean)" - }, - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onafterprint", - "event-handler": "afterprint", - "type": "EventHandler" - }, - { - "name": "onbeforeprint", - "event-handler": "beforeprint", - "type": "EventHandler" - }, - { - "name": "onbeforeunload", - "event-handler": "beforeunload", - "type": "EventHandler" - }, - { - "name": "onblur", - "event-handler": "blur", - "type": "EventHandler" - }, - { - "name": "oncanplay", - "event-handler": "canplay", - "type": "EventHandler" - }, - { - "name": "oncanplaythrough", - "event-handler": "canplaythrough", - "type": "EventHandler" - }, - { - "name": "onchange", - "event-handler": "change", - "type": "EventHandler" - }, - { - "name": "onclick", - "event-handler": "click", - "type": "EventHandler" - }, - { - "name": "oncompassneedscalibration", - "event-handler": "compassneedscalibration", - "type": "EventHandler" - }, - { - "name": "oncontextmenu", - "event-handler": "contextmenu", - "type": "EventHandler" - }, - { - "name": "ondblclick", - "event-handler": "dblclick", - "type": "EventHandler" - }, - { - "name": "ondevicelight", - "event-handler": "devicelight", - "type": "EventHandler" - }, - { - "name": "ondevicemotion", - "event-handler": "devicemotion", - "type": "EventHandler" - }, - { - "name": "ondeviceorientation", - "event-handler": "deviceorientation", - "type": "EventHandler" - }, - { - "name": "ondrag", - "event-handler": "drag", - "type": "EventHandler" - }, - { - "name": "ondragend", - "event-handler": "dragend", - "type": "EventHandler" - }, - { - "name": "ondragenter", - "event-handler": "dragenter", - "type": "EventHandler" - }, - { - "name": "ondragleave", - "event-handler": "dragleave", - "type": "EventHandler" - }, - { - "name": "ondragover", - "event-handler": "dragover", - "type": "EventHandler" - }, - { - "name": "ondragstart", - "event-handler": "dragstart", - "type": "EventHandler" - }, - { - "name": "ondrop", - "event-handler": "drop", - "type": "EventHandler" - }, - { - "name": "ondurationchange", - "event-handler": "durationchange", - "type": "EventHandler" - }, - { - "name": "onemptied", - "event-handler": "emptied", - "type": "EventHandler" - }, - { - "name": "onended", - "event-handler": "ended", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "ErrorEventHandler" - }, - { - "name": "onfocus", - "event-handler": "focus", - "type": "EventHandler" - }, - { - "name": "onhashchange", - "event-handler": "hashchange", - "type": "EventHandler" - }, - { - "name": "oninput", - "event-handler": "input", - "type": "EventHandler" - }, - { - "name": "oninvalid", - "event-handler": "invalid", - "type": "EventHandler" - }, - { - "name": "onkeydown", - "event-handler": "keydown", - "type": "EventHandler" - }, - { - "name": "onkeypress", - "event-handler": "keypress", - "type": "EventHandler" - }, - { - "name": "onkeyup", - "event-handler": "keyup", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onloadeddata", - "event-handler": "loadeddata", - "type": "EventHandler" - }, - { - "name": "onloadedmetadata", - "event-handler": "loadedmetadata", - "type": "EventHandler" - }, - { - "name": "onloadstart", - "event-handler": "loadstart", - "type": "EventHandler" - }, - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - }, - { - "name": "onmousedown", - "event-handler": "mousedown", - "type": "EventHandler" - }, - { - "name": "onmouseenter", - "event-handler": "mouseenter", - "type": "EventHandler" - }, - { - "name": "onmouseleave", - "event-handler": "mouseleave", - "type": "EventHandler" - }, - { - "name": "onmousemove", - "event-handler": "mousemove", - "type": "EventHandler" - }, - { - "name": "onmouseout", - "event-handler": "mouseout", - "type": "EventHandler" - }, - { - "name": "onmouseover", - "event-handler": "mouseover", - "type": "EventHandler" - }, - { - "name": "onmouseup", - "event-handler": "mouseup", - "type": "EventHandler" - }, - { - "name": "onmousewheel", - "event-handler": "mousewheel", - "type": "EventHandler" - }, - { - "name": "onmsgesturechange", - "event-handler": "MSGestureChange", - "type": "EventHandler" - }, - { - "name": "onmsgesturedoubletap", - "event-handler": "MSGestureDoubleTap", - "type": "EventHandler" - }, - { - "name": "onmsgestureend", - "event-handler": "MSGestureEnd", - "type": "EventHandler" - }, - { - "name": "onmsgesturehold", - "event-handler": "MSGestureHold", - "type": "EventHandler" - }, - { - "name": "onmsgesturestart", - "event-handler": "MSGestureStart", - "type": "EventHandler" - }, - { - "name": "onmsgesturetap", - "event-handler": "MSGestureTap", - "type": "EventHandler" - }, - { - "name": "onmsinertiastart", - "event-handler": "MSInertiaStart", - "type": "EventHandler" - }, - { - "name": "onmspointercancel", - "event-handler": "MSPointerCancel", - "type": "EventHandler" - }, - { - "name": "onmspointerdown", - "event-handler": "MSPointerDown", - "type": "EventHandler" - }, - { - "name": "onmspointerenter", - "event-handler": "MSPointerEnter", - "type": "EventHandler" - }, - { - "name": "onmspointerleave", - "event-handler": "MSPointerLeave", - "type": "EventHandler" - }, - { - "name": "onmspointermove", - "event-handler": "MSPointerMove", - "type": "EventHandler" - }, - { - "name": "onmspointerout", - "event-handler": "MSPointerOut", - "type": "EventHandler" - }, - { - "name": "onmspointerover", - "event-handler": "MSPointerOver", - "type": "EventHandler" - }, - { - "name": "onmspointerup", - "event-handler": "MSPointerUp", - "type": "EventHandler" - }, - { - "name": "onoffline", - "event-handler": "offline", - "type": "EventHandler" - }, - { - "name": "ononline", - "event-handler": "online", - "type": "EventHandler" - }, - { - "name": "onorientationchange", - "event-handler": "orientationchange", - "type": "EventHandler" - }, - { - "name": "onpagehide", - "event-handler": "pagehide", - "type": "EventHandler" - }, - { - "name": "onpageshow", - "event-handler": "pageshow", - "type": "EventHandler" - }, - { - "name": "onpause", - "event-handler": "pause", - "type": "EventHandler" - }, - { - "name": "onplay", - "event-handler": "play", - "type": "EventHandler" - }, - { - "name": "onplaying", - "event-handler": "playing", - "type": "EventHandler" - }, - { - "name": "onpopstate", - "event-handler": "popstate", - "type": "EventHandler" - }, - { - "name": "onprogress", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "onratechange", - "event-handler": "ratechange", - "type": "EventHandler" - }, - { - "name": "onreadystatechange", - "event-handler": "readystatechange", - "type": "EventHandler" - }, - { - "name": "onreset", - "event-handler": "reset", - "type": "EventHandler" - }, - { - "name": "onresize", - "event-handler": "resize", - "type": "EventHandler" - }, - { - "name": "onscroll", - "event-handler": "scroll", - "type": "EventHandler" - }, - { - "name": "onseeked", - "event-handler": "seeked", - "type": "EventHandler" - }, - { - "name": "onseeking", - "event-handler": "seeking", - "type": "EventHandler" - }, - { - "name": "onselect", - "event-handler": "select", - "type": "EventHandler" - }, - { - "name": "onstalled", - "event-handler": "stalled", - "type": "EventHandler" - }, - { - "name": "onstorage", - "event-handler": "storage", - "type": "EventHandler" - }, - { - "name": "onsubmit", - "event-handler": "submit", - "type": "EventHandler" - }, - { - "name": "onsuspend", - "event-handler": "suspend", - "type": "EventHandler" - }, - { - "name": "ontimeupdate", - "event-handler": "timeupdate", - "type": "EventHandler" - }, - { - "name": "ontouchcancel", - "event-handler": "touchcancel", - "type": "any" - }, - { - "name": "ontouchend", - "event-handler": "touchend", - "type": "any" - }, - { - "name": "ontouchmove", - "event-handler": "touchmove", - "type": "any" - }, - { - "name": "ontouchstart", - "event-handler": "touchstart", - "type": "any" - }, - { - "name": "onunload", - "event-handler": "unload", - "type": "EventHandler" - }, - { - "name": "onvolumechange", - "event-handler": "volumechange", - "type": "EventHandler" - }, - { - "name": "onwaiting", - "event-handler": "waiting", - "type": "EventHandler" - }, - { - "name": "opener", - "do-not-check-domain-security": "1", - "read-only": "1", - "replaceable": "1", - "type": "Window" - }, - { - "name": "orientation", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "outerHeight", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "outerWidth", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "pageXOffset", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "pageYOffset", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "parent", - "do-not-check-domain-security": "1", - "read-only": "1", - "replaceable": "1", - "type": "Window" - }, - { - "name": "performance", - "read-only": "1", - "replaceable": "1", - "type": "Performance" - }, - { - "name": "personalbar", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "screen", - "read-only": "1", - "type": "Screen" - }, - { - "name": "screenLeft", - "read-only": "1", - "type": "long" - }, - { - "name": "screenTop", - "read-only": "1", - "type": "long" - }, - { - "name": "screenX", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "screenY", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "scrollbars", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "scrollX", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "scrollY", - "read-only": "1", - "replaceable": "1", - "type": "long" - }, - { - "name": "self", - "do-not-check-domain-security": "1", - "read-only": "1", - "replaceable": "1", - "type": "Window" - }, - { - "name": "speechSynthesis", - "read-only": "1", - "type": "SpeechSynthesis" - }, - { - "name": "status", - "type": "DOMString" - }, - { - "name": "statusbar", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "styleMedia", - "read-only": "1", - "type": "StyleMedia" - }, - { - "name": "toolbar", - "read-only": "1", - "replaceable": "1", - "type": "BarProp" - }, - { - "name": "top", - "do-not-check-domain-security": "1", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "Window" - }, - { - "name": "window", - "do-not-check-domain-security": "1", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "Window", - "unforgeable": "1" - } - ] - } - }, - "Worker": { - "name": "Worker", - "extends": "EventTarget", - "constructor": { - "param": [ - { - "name": "stringUrl", - "type": "DOMString" - } - ] - }, - "events": { - "event": [ - { - "name": "error", - "dispatch": "async", - "skips-window": "1", - "type": "ErrorEvent" - }, - { - "name": "message", - "dispatch": "async", - "skips-window": "1", - "type": "MessageEvent" - } - ] - }, - "implements": [ - "AbstractWorker" - ], - "methods": { - "method": [ - { - "name": "postMessage", - "type": "void", - "param": [ - { - "name": "message", - "type": "any" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - }, - { - "name": "terminate", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - } - ] - } - }, - "XMLDocument": { - "name": "XMLDocument", - "extends": "Document" - }, - "XMLHttpRequest": { - "name": "XMLHttpRequest", - "extends": "EventTarget", - "constants": { - "constant": [ - { - "name": "DONE", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "HEADERS_RECEIVED", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "LOADING", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "OPENED", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "UNSENT", - "type": "unsigned short", - "value": [ - "0" - ] - } - ] - }, - "constructor": {}, - "events": { - "event": [ - { - "name": "readystatechange", - "dispatch": "sync-or-async", - "precedes": "load", - "skips-window": "1", - "type": "Event" - }, - { - "name": "load", - "dispatch": "sync-or-async", - "follows": "progress readystatechange", - "precedes": "loadend", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "timeout", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "Event" - }, - { - "name": "progress", - "dispatch": "sync-or-async", - "follows": "readystatechange", - "precedes": "load", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "abort", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "Event" - }, - { - "name": "error", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "Event" - }, - { - "name": "loadstart", - "dispatch": "sync-or-async", - "precedes": "readystatechange", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "loadend", - "dispatch": "sync-or-async", - "follows": "load", - "skips-window": "1", - "type": "ProgressEvent" - } - ] - }, - "implements": [ - "XMLHttpRequestEventTarget" - ], - "methods": { - "method": [ - { - "name": "abort", - "type": "void" - }, - { - "name": "getAllResponseHeaders", - "type": "DOMString" - }, - { - "name": "getResponseHeader", - "nullable": "1", - "type": "DOMString", - "param": [ - { - "name": "header", - "type": "DOMString" - } - ] - }, - { - "name": "msCachingEnabled", - "type": "boolean" - }, - { - "name": "open", - "type": "void", - "param": [ - { - "name": "method", - "type": "DOMString" - }, - { - "name": "url", - "type": "DOMString" - }, - { - "name": "async", - "default": "true", - "optional": "1", - "type": "boolean" - }, - { - "name": "user", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "DOMString" - }, - { - "name": "password", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "overrideMimeType", - "type": "void", - "param": [ - { - "name": "mime", - "type": "DOMString" - } - ] - }, - { - "name": "send", - "type": "void", - "param": [ - { - "name": "data", - "optional": "1", - "type": "(Document or DOMString)" - } - ] - }, - { - "name": "setRequestHeader", - "type": "void", - "param": [ - { - "name": "header", - "type": "DOMString" - }, - { - "name": "value", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "msCaching", - "type": "DOMString" - }, - { - "name": "onreadystatechange", - "event-handler": "readystatechange", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "response", - "read-only": "1", - "type": "any" - }, - { - "name": "responseText", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "responseType", - "type": "XMLHttpRequestResponseType" - }, - { - "name": "responseURL", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "responseXML", - "nullable": "1", - "read-only": "1", - "type": "Document" - }, - { - "name": "status", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "statusText", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "timeout", - "type": "unsigned long" - }, - { - "name": "upload", - "read-only": "1", - "type": "XMLHttpRequestUpload" - }, - { - "name": "withCredentials", - "type": "boolean" - } - ] - } - }, - "XMLHttpRequestUpload": { - "name": "XMLHttpRequestUpload", - "extends": "EventTarget", - "events": { - "event": [ - { - "name": "readystatechange", - "dispatch": "sync-or-async", - "follows": "loadstart", - "precedes": "progress", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "progress", - "dispatch": "sync-or-async", - "follows": "readystatechange", - "precedes": "load", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "abort", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "error", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "load", - "dispatch": "sync-or-async", - "follows": "progress", - "precedes": "loadend", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "loadstart", - "dispatch": "sync-or-async", - "precedes": "readystatechange", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "loadend", - "dispatch": "sync-or-async", - "follows": "load", - "skips-window": "1", - "type": "ProgressEvent" - }, - { - "name": "timeout", - "dispatch": "sync-or-async", - "skips-window": "1", - "type": "ProgressEvent" - } - ] - }, - "implements": [ - "XMLHttpRequestEventTarget" - ] - }, - "XMLSerializer": { - "name": "XMLSerializer", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "serializeToString", - "type": "DOMString", - "param": [ - { - "name": "target", - "type": "Node" - } - ] - } - ] - } - }, - "XPathEvaluator": { - "name": "XPathEvaluator", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "createExpression", - "type": "XPathExpression", - "param": [ - { - "name": "expression", - "type": "DOMString" - }, - { - "name": "resolver", - "type": "XPathNSResolver" - } - ] - }, - { - "name": "createNSResolver", - "type": "XPathNSResolver", - "param": [ - { - "name": "nodeResolver", - "optional": "1", - "type": "Node" - } - ] - }, - { - "name": "evaluate", - "type": "XPathResult", - "param": [ - { - "name": "expression", - "type": "DOMString" - }, - { - "name": "contextNode", - "type": "Node" - }, - { - "name": "resolver", - "type": "XPathNSResolver" - }, - { - "name": "type", - "type": "unsigned short" - }, - { - "name": "result", - "type": "XPathResult" - } - ] - } - ] - } - }, - "XPathExpression": { - "name": "XPathExpression", - "extends": "Object", - "methods": { - "method": [ - { - "name": "evaluate", - "type": "XPathExpression", - "param": [ - { - "name": "contextNode", - "type": "Node" - }, - { - "name": "type", - "type": "unsigned short" - }, - { - "name": "result", - "type": "XPathResult" - } - ] - } - ] - } - }, - "XPathNSResolver": { - "name": "XPathNSResolver", - "extends": "Object", - "methods": { - "method": [ - { - "name": "lookupNamespaceURI", - "type": "DOMString", - "param": [ - { - "name": "prefix", - "type": "DOMString" - } - ] - } - ] - } - }, - "XPathResult": { - "name": "XPathResult", - "extends": "Object", - "constants": { - "constant": [ - { - "name": "ANY_TYPE", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "ANY_UNORDERED_NODE_TYPE", - "type": "unsigned short", - "value": [ - "8" - ] - }, - { - "name": "BOOLEAN_TYPE", - "type": "unsigned short", - "value": [ - "3" - ] - }, - { - "name": "FIRST_ORDERED_NODE_TYPE", - "type": "unsigned short", - "value": [ - "9" - ] - }, - { - "name": "NUMBER_TYPE", - "type": "unsigned short", - "value": [ - "1" - ] - }, - { - "name": "ORDERED_NODE_ITERATOR_TYPE", - "type": "unsigned short", - "value": [ - "5" - ] - }, - { - "name": "ORDERED_NODE_SNAPSHOT_TYPE", - "type": "unsigned short", - "value": [ - "7" - ] - }, - { - "name": "STRING_TYPE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "UNORDERED_NODE_ITERATOR_TYPE", - "type": "unsigned short", - "value": [ - "4" - ] - }, - { - "name": "UNORDERED_NODE_SNAPSHOT_TYPE", - "type": "unsigned short", - "value": [ - "6" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "iterateNext", - "type": "Node" - }, - { - "name": "snapshotItem", - "type": "Node", - "param": [ - { - "name": "index", - "type": "unsigned long" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "booleanValue", - "read-only": "1", - "type": "boolean" - }, - { - "name": "invalidIteratorState", - "read-only": "1", - "type": "boolean" - }, - { - "name": "numberValue", - "read-only": "1", - "type": "double" - }, - { - "name": "resultType", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "singleNodeValue", - "read-only": "1", - "type": "Node" - }, - { - "name": "snapshotLength", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "stringValue", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "XSLTProcessor": { - "name": "XSLTProcessor", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "clearParameters", - "type": "void" - }, - { - "name": "getParameter", - "type": "any", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "importStylesheet", - "type": "void", - "param": [ - { - "name": "style", - "type": "Node" - } - ] - }, - { - "name": "removeParameter", - "type": "void", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - } - ] - }, - { - "name": "reset", - "type": "void" - }, - { - "name": "setParameter", - "type": "void", - "param": [ - { - "name": "namespaceURI", - "treat-null-as": "EmptyString", - "type": "DOMString" - }, - { - "name": "localName", - "type": "DOMString" - }, - { - "name": "value", - "type": "any" - } - ] - }, - { - "name": "transformToDocument", - "type": "Document", - "param": [ - { - "name": "source", - "type": "Node" - } - ] - }, - { - "name": "transformToFragment", - "type": "DocumentFragment", - "param": [ - { - "name": "source", - "type": "Node" - }, - { - "name": "document", - "type": "Document" - } - ] - } - ] - } - } - } - }, - "mixin-interfaces": { - "interface": { - "AbstractWorker": { - "name": "AbstractWorker", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - } - ] - } - }, - "Body": { - "name": "Body", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "arrayBuffer", - "type": "Promise" - }, - { - "name": "blob", - "type": "Promise" - }, - { - "name": "json", - "type": "Promise" - }, - { - "name": "text", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "bodyUsed", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "CanvasPathMethods": { - "name": "CanvasPathMethods", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "arc", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "startAngle", - "type": "float" - }, - { - "name": "endAngle", - "type": "float" - }, - { - "name": "anticlockwise", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "arcTo", - "type": "void", - "param": [ - { - "name": "x1", - "type": "float" - }, - { - "name": "y1", - "type": "float" - }, - { - "name": "x2", - "type": "float" - }, - { - "name": "y2", - "type": "float" - }, - { - "name": "radius", - "type": "float" - } - ] - }, - { - "name": "bezierCurveTo", - "type": "void", - "param": [ - { - "name": "cp1x", - "type": "float" - }, - { - "name": "cp1y", - "type": "float" - }, - { - "name": "cp2x", - "type": "float" - }, - { - "name": "cp2y", - "type": "float" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "closePath", - "type": "void" - }, - { - "name": "ellipse", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "radiusX", - "type": "float" - }, - { - "name": "radiusY", - "type": "float" - }, - { - "name": "rotation", - "type": "float" - }, - { - "name": "startAngle", - "type": "float" - }, - { - "name": "endAngle", - "type": "float" - }, - { - "name": "anticlockwise", - "default": "false", - "optional": "1", - "type": "boolean" - } - ] - }, - { - "name": "lineTo", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "moveTo", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "quadraticCurveTo", - "type": "void", - "param": [ - { - "name": "cpx", - "type": "float" - }, - { - "name": "cpy", - "type": "float" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "rect", - "type": "void", - "param": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "w", - "type": "float" - }, - { - "name": "h", - "type": "float" - } - ] - } - ] - } - }, - "ChildNode": { - "name": "ChildNode", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "remove", - "type": "void" - } - ] - } - }, - "DocumentEvent": { - "name": "DocumentEvent", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "createEvent", - "type": "Event", - "param": [ - { - "name": "eventInterface", - "type": "DOMString" - } - ] - } - ] - } - }, - "DOML2DeprecatedColorProperty": { - "name": "DOML2DeprecatedColorProperty", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "color", - "content-attribute": "color", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "simple_color", - "type": "DOMString" - } - ] - } - }, - "DOML2DeprecatedSizeProperty": { - "name": "DOML2DeprecatedSizeProperty", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "size", - "content-attribute": "size", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "1_or_greater_integer", - "type": "long" - } - ] - } - }, - "ElementTraversal": { - "name": "ElementTraversal", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "childElementCount", - "read-only": "1", - "type": "unsigned long" - }, - { - "name": "firstElementChild", - "read-only": "1", - "type": "Element" - }, - { - "name": "lastElementChild", - "read-only": "1", - "type": "Element" - }, - { - "name": "nextElementSibling", - "read-only": "1", - "type": "Element" - }, - { - "name": "previousElementSibling", - "read-only": "1", - "type": "Element" - } - ] - } - }, - "GetSVGDocument": { - "name": "GetSVGDocument", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "getSVGDocument", - "type": "Document" - } - ] - } - }, - "GlobalEventHandlers": { - "name": "GlobalEventHandlers", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "onpointercancel", - "content-attribute": "onpointercancel", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointercancel", - "type": "EventHandler" - }, - { - "name": "onpointerdown", - "content-attribute": "onpointerdown", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerdown", - "type": "EventHandler" - }, - { - "name": "onpointerenter", - "content-attribute": "onpointerenter", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerenter", - "type": "EventHandler" - }, - { - "name": "onpointerleave", - "content-attribute": "onpointerleave", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerleave", - "type": "EventHandler" - }, - { - "name": "onpointermove", - "content-attribute": "onpointermove", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointermove", - "type": "EventHandler" - }, - { - "name": "onpointerout", - "content-attribute": "onpointerout", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerout", - "type": "EventHandler" - }, - { - "name": "onpointerover", - "content-attribute": "onpointerover", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerover", - "type": "EventHandler" - }, - { - "name": "onpointerup", - "content-attribute": "onpointerup", - "content-attribute-value-syntax": "javascript", - "event-handler": "pointerup", - "type": "EventHandler" - }, - { - "name": "onwheel", - "content-attribute": "onwheel", - "content-attribute-value-syntax": "javascript", - "event-handler": "wheel", - "type": "EventHandler" - } - ] - } - }, - "GlobalFetch": { - "name": "GlobalFetch", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "fetch", - "type": "Promise", - "param": [ - { - "name": "input", - "type": "RequestInfo" - }, - { - "name": "init", - "optional": "1", - "type": "RequestInit" - } - ] - } - ] - } - }, - "HTMLTableAlignment": { - "name": "HTMLTableAlignment", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "ch", - "content-attribute": "char", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "chOff", - "content-attribute": "charoff", - "content-attribute-reflects": "1", - "type": "DOMString" - }, - { - "name": "vAlign", - "content-attribute": "valign", - "content-attribute-enum-values": "middle baseline bottom top", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "enum", - "type": "DOMString" - } - ] - } - }, - "IDBEnvironment": { - "name": "IDBEnvironment", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "indexedDB", - "read-only": "1", - "type": "IDBFactory" - } - ] - } - }, - "LinkStyle": { - "name": "LinkStyle", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "sheet", - "read-only": "1", - "type": "StyleSheet" - } - ] - } - }, - "MSBaseReader": { - "name": "MSBaseReader", - "extends": "Object", - "no-interface-object": "1", - "constants": { - "constant": [ - { - "name": "DONE", - "type": "unsigned short", - "value": [ - "2" - ] - }, - { - "name": "EMPTY", - "type": "unsigned short", - "value": [ - "0" - ] - }, - { - "name": "LOADING", - "type": "unsigned short", - "value": [ - "1" - ] - } - ] - }, - "methods": { - "method": [ - { - "name": "abort", - "type": "void" - } - ] - }, - "properties": { - "property": [ - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onloadend", - "event-handler": "loadend", - "type": "EventHandler" - }, - { - "name": "onloadstart", - "event-handler": "loadstart", - "type": "EventHandler" - }, - { - "name": "onprogress", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "readyState", - "read-only": "1", - "type": "unsigned short" - }, - { - "name": "result", - "read-only": "1", - "type": "any" - } - ] - } - }, - "MSFileSaver": { - "name": "MSFileSaver", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "msSaveBlob", - "type": "boolean", - "param": [ - { - "name": "blob", - "type": "any" - }, - { - "name": "defaultName", - "optional": "1", - "type": "DOMString" - } - ] - }, - { - "name": "msSaveOrOpenBlob", - "type": "boolean", - "param": [ - { - "name": "blob", - "type": "any" - }, - { - "name": "defaultName", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "MSNavigatorDoNotTrack": { - "name": "MSNavigatorDoNotTrack", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "confirmSiteSpecificTrackingException", - "type": "boolean", - "param": [ - { - "name": "args", - "type": "ConfirmSiteSpecificExceptionsInformation" - } - ] - }, - { - "name": "confirmWebWideTrackingException", - "type": "boolean", - "param": [ - { - "name": "args", - "type": "ExceptionInformation" - } - ] - }, - { - "name": "removeSiteSpecificTrackingException", - "type": "void", - "param": [ - { - "name": "args", - "type": "ExceptionInformation" - } - ] - }, - { - "name": "removeWebWideTrackingException", - "type": "void", - "param": [ - { - "name": "args", - "type": "ExceptionInformation" - } - ] - }, - { - "name": "storeSiteSpecificTrackingException", - "type": "void", - "param": [ - { - "name": "args", - "type": "StoreSiteSpecificExceptionsInformation" - } - ] - }, - { - "name": "storeWebWideTrackingException", - "type": "void", - "param": [ - { - "name": "args", - "type": "StoreExceptionsInformation" - } - ] - } - ] - } - }, - "NavigatorBeacon": { - "name": "NavigatorBeacon", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "sendBeacon", - "type": "boolean", - "param": [ - { - "name": "url", - "type": "USVString" - }, - { - "name": "data", - "default": "null", - "nullable": "1", - "optional": "1", - "type": "BodyInit" - } - ] - } - ] - } - }, - "NavigatorConcurrentHardware": { - "name": "NavigatorConcurrentHardware", - "exposed": "Window Worker", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "hardwareConcurrency", - "read-only": "1", - "type": "unsigned long long" - } - ] - } - }, - "NavigatorContentUtils": { - "name": "NavigatorContentUtils", - "extends": "Object", - "no-interface-object": "1" - }, - "NavigatorGeolocation": { - "name": "NavigatorGeolocation", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "geolocation", - "read-only": "1", - "type": "Geolocation" - } - ] - } - }, - "NavigatorID": { - "name": "NavigatorID", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "appCodeName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "appName", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "appVersion", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "platform", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "product", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "productSub", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "userAgent", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "vendor", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "vendorSub", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "NavigatorOnLine": { - "name": "NavigatorOnLine", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "onLine", - "read-only": "1", - "type": "boolean" - } - ] - } - }, - "NavigatorStorageUtils": { - "name": "NavigatorStorageUtils", - "extends": "Object", - "no-interface-object": "1" - }, - "NavigatorUserMedia": { - "name": "NavigatorUserMedia", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "getUserMedia", - "type": "void", - "param": [ - { - "name": "constraints", - "type": "MediaStreamConstraints" - }, - { - "name": "successCallback", - "type": "NavigatorUserMediaSuccessCallback" - }, - { - "name": "errorCallback", - "type": "NavigatorUserMediaErrorCallback" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "mediaDevices", - "read-only": "1", - "type": "MediaDevices" - } - ] - } - }, - "NodeSelector": { - "name": "NodeSelector", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "querySelector", - "type": "Element", - "param": [ - { - "name": "selectors", - "type": "DOMString" - } - ] - }, - { - "name": "querySelectorAll", - "type": "NodeList", - "param": [ - { - "name": "selectors", - "type": "DOMString" - } - ] - } - ] - } - }, - "RandomSource": { - "name": "RandomSource", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "getRandomValues", - "type": "ArrayBufferView", - "param": [ - { - "name": "array", - "type": "ArrayBufferView" - } - ] - } - ] - } - }, - "SVGAnimatedPoints": { - "name": "SVGAnimatedPoints", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "animatedPoints", - "read-only": "1", - "type": "SVGPointList" - }, - { - "name": "points", - "content-attribute": "points", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_coordinate_pair_list", - "read-only": "1", - "type": "SVGPointList" - } - ] - } - }, - "SVGFilterPrimitiveStandardAttributes": { - "name": "SVGFilterPrimitiveStandardAttributes", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "height", - "content-attribute": "height", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "result", - "content-attribute": "result", - "content-attribute-reflects": "1", - "read-only": "1", - "type": "SVGAnimatedString" - }, - { - "name": "width", - "content-attribute": "width", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "x", - "content-attribute": "x", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - }, - { - "name": "y", - "content-attribute": "y", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_number_with_optional_unit", - "read-only": "1", - "type": "SVGAnimatedLength" - } - ] - } - }, - "SVGFitToViewBox": { - "name": "SVGFitToViewBox", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "preserveAspectRatio", - "content-attribute": "preserveAspectRatio", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_aspect_ratio", - "read-only": "1", - "type": "SVGAnimatedPreserveAspectRatio" - }, - { - "name": "viewBox", - "content-attribute": "viewBox", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "svg_viewbox", - "read-only": "1", - "type": "SVGAnimatedRect" - } - ] - } - }, - "SVGTests": { - "name": "SVGTests", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "hasExtension", - "type": "boolean", - "param": [ - { - "name": "extension", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "requiredExtensions", - "content-attribute": "requiredExtensions", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_urls", - "read-only": "1", - "type": "SVGStringList" - }, - { - "name": "requiredFeatures", - "content-attribute": "requiredFeatures", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "space_separated_tokens", - "read-only": "1", - "type": "SVGStringList" - }, - { - "name": "systemLanguage", - "content-attribute": "systemLanguage", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "comma_separated_bcp47_langs", - "read-only": "1", - "type": "SVGStringList" - } - ] - } - }, - "SVGURIReference": { - "name": "SVGURIReference", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "href", - "content-attribute": "href", - "content-attribute-aliases": "xlink:href", - "content-attribute-reflects": "1", - "content-attribute-value-syntax": "url", - "read-only": "1", - "type": "SVGAnimatedString" - } - ] - } - }, - "WindowBase64": { - "name": "WindowBase64", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "atob", - "type": "DOMString", - "param": [ - { - "name": "encodedString", - "type": "DOMString" - } - ] - }, - { - "name": "btoa", - "type": "DOMString", - "param": [ - { - "name": "rawString", - "type": "DOMString" - } - ] - } - ] - } - }, - "WindowConsole": { - "name": "WindowConsole", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "console", - "read-only": "1", - "replaceable": "1", - "type": "Console" - } - ] - } - }, - "WindowLocalStorage": { - "name": "WindowLocalStorage", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "localStorage", - "read-only": "1", - "type": "Storage" - } - ] - } - }, - "WindowSessionStorage": { - "name": "WindowSessionStorage", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "sessionStorage", - "read-only": "1", - "type": "Storage" - } - ] - } - }, - "WindowTimers": { - "name": "WindowTimers", - "extends": "Object", - "no-interface-object": "1", - "implements": [ - "WindowTimersExtension" - ], - "methods": { - "method": [ - { - "name": "clearInterval", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "clearTimeout", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "setInterval", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "setTimeout", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - } - ] - } - }, - "WindowTimersExtension": { - "name": "WindowTimersExtension", - "extends": "Object", - "no-interface-object": "1", - "methods": { - "method": [ - { - "name": "clearImmediate", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "setImmediate", - "type": "long", - "param": [ - { - "name": "expression", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - } - ] - } - }, - "XMLHttpRequestEventTarget": { - "name": "XMLHttpRequestEventTarget", - "extends": "Object", - "no-interface-object": "1", - "properties": { - "property": [ - { - "name": "onabort", - "event-handler": "abort", - "type": "EventHandler" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "onload", - "event-handler": "load", - "type": "EventHandler" - }, - { - "name": "onloadend", - "event-handler": "loadend", - "type": "EventHandler" - }, - { - "name": "onloadstart", - "event-handler": "loadstart", - "type": "EventHandler" - }, - { - "name": "onprogress", - "event-handler": "progress", - "type": "EventHandler" - }, - { - "name": "ontimeout", - "event-handler": "timeout", - "type": "EventHandler" - } - ] - } - } - } - }, - "typedefs": { - "typedef": [ - { - "new-type": "AAGUID", - "type": "DOMString" - }, - { - "new-type": "AlgorithmIdentifier", - "type": "(DOMString or Algorithm)" - }, - { - "new-type": "BodyInit", - "type": "(Blob or BufferSource or FormData or DOMString)" - }, - { - "new-type": "ByteString", - "type": "DOMString" - }, - { - "new-type": "ConstrainBoolean", - "type": "(boolean or ConstrainBooleanParameters)" - }, - { - "new-type": "ConstrainDOMString", - "type": "(DOMString or sequence or ConstrainDOMStringParameters)" - }, - { - "new-type": "ConstrainDouble", - "type": "(double or ConstrainDoubleRange)" - }, - { - "new-type": "ConstrainLong", - "type": "(long or ConstrainLongRange)" - }, - { - "new-type": "CryptoOperationData", - "type": "ArrayBufferView" - }, - { - "new-type": "GLbitfield", - "type": "unsigned long" - }, - { - "new-type": "GLboolean", - "type": "boolean" - }, - { - "new-type": "GLbyte", - "type": "byte" - }, - { - "new-type": "GLclampf", - "type": "float" - }, - { - "new-type": "GLenum", - "type": "unsigned long" - }, - { - "new-type": "GLfloat", - "type": "float" - }, - { - "new-type": "GLint", - "type": "long" - }, - { - "new-type": "GLintptr", - "type": "long long" - }, - { - "new-type": "GLshort", - "type": "short" - }, - { - "new-type": "GLsizei", - "type": "long" - }, - { - "new-type": "GLsizeiptr", - "type": "long long" - }, - { - "new-type": "GLubyte", - "type": "octet" - }, - { - "new-type": "GLuint", - "type": "unsigned long" - }, - { - "new-type": "GLushort", - "type": "unsigned short" - }, - { - "new-type": "HeadersInit", - "type": "(Headers or sequence>)" - }, - { - "new-type": "IDBKeyPath", - "type": "DOMString" - }, - { - "new-type": "JSON", - "type": "any" - }, - { - "new-type": "KeyFormat", - "type": "DOMString" - }, - { - "new-type": "KeyType", - "type": "DOMString" - }, - { - "new-type": "KeyUsage", - "type": "DOMString" - }, - { - "new-type": "MSInboundPayload", - "type": "(MSVideoRecvPayload or MSAudioRecvPayload)" - }, - { - "new-type": "MSLocalClientEvent", - "type": "(MSLocalClientEventBase or MSAudioLocalClientEvent)" - }, - { - "new-type": "MSOutboundPayload", - "type": "(MSVideoSendPayload or MSAudioSendPayload)" - }, - { - "new-type": "RTCIceGatherCandidate", - "type": "(RTCIceCandidateDictionary or RTCIceCandidateComplete)" - }, - { - "new-type": "RTCTransport", - "type": "(RTCDtlsTransport or RTCSrtpSdesTransport)" - }, - { - "new-type": "RequestInfo", - "type": "(Request or DOMString)" - }, - { - "new-type": "USVString", - "type": "DOMString" - }, - { - "new-type": "payloadtype", - "type": "octet" - } - ] - } -} \ No newline at end of file diff --git a/inputfiles/json/knownWorkerEnums.json b/inputfiles/json/knownWorkerEnums.json deleted file mode 100644 index cd779c566..000000000 --- a/inputfiles/json/knownWorkerEnums.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - "IDBCursorDirection", - "IDBRequestReadyState", - "IDBTransactionMode", - "MediaKeyStatus", - "NotificationDirection", - "NotificationPermission", - "PushPermissionState", - "PushEncryptionKeyName", - "ReferrerPolicy", - "RequestCache", - "RequestCredentials", - "RequestDestination", - "RequestMode", - "RequestRedirect", - "RequestType", - "ResponseType", - "ServiceWorkerState", - "VisibilityState", - "XMLHttpRequestResponseType" -] \ No newline at end of file diff --git a/inputfiles/json/knownWorkerInterfaces.json b/inputfiles/json/knownWorkerInterfaces.json deleted file mode 100644 index c8e8d36dc..000000000 --- a/inputfiles/json/knownWorkerInterfaces.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - "AbstractWorker", - "Algorithm", - "AlgorithmIdentifier", - "AudioBuffer", - "Blob", - "Body", - "BodyInit", - "Cache", - "CacheQueryOptions", - "CacheStorage", - "ClientQueryOptions", - "CloseEvent", - "CloseEventInit", - "Console", - "Coordinates", - "CryptoKey", - "DOMError", - "DOMException", - "DOMStringList", - "DecodeErrorCallback", - "DecodeSuccessCallback", - "ErrorEvent", - "ErrorEventHandler", - "Event", - "EventInit", - "EventListener", - "EventTarget", - "ExtendableEventInit", - "ExtendableMessageEventInit", - "FetchEventInit", - "File", - "FileList", - "FileReader", - "ForEachCallback", - "FormData", - "FunctionStringCallback", - "GetNotificationOptions", - "GlobalFetch", - "Headers", - "IDBCursor", - "IDBCursorWithValue", - "IDBDatabase", - "IDBFactory", - "IDBIndex", - "IDBIndexParameters", - "IDBKeyPath", - "IDBKeyRange", - "IDBObjectStore", - "IDBObjectStoreParameters", - "IDBOpenDBRequest", - "IDBRequest", - "IDBTransaction", - "IDBVersionChangeEvent", - "ImageData", - "KeyAlgorithm", - "MessageChannel", - "MessageEvent", - "MessageEventInit", - "MessagePort", - "MSBaseReader", - "NavigatorBeacon", - "NavigatorConcurrentHardware", - "NavigatorID", - "NavigatorOnLine", - "Notification", - "NotificationEventInit", - "NotificationOptions", - "NotificationPermissionCallback", - "ObjectURLOptions", - "Performance", - "PerformanceNavigation", - "PerformanceTiming", - "Position", - "PositionCallback", - "PositionError", - "PositionErrorCallback", - "ProgressEvent", - "PushEventInit", - "PushManager", - "PushSubscription", - "PushSubscriptionOptions", - "PushSubscriptionOptionsInit", - "ReadableStream", - "ReadableStreamReader", - "Request", - "RequestInfo", - "RequestInit", - "Response", - "ResponseInit", - "ServiceWorker", - "ServiceWorkerRegistration", - "SyncEventInit", - "SyncManager", - "USVString", - "URL", - "URLSearchParams", - "WebSocket", - "WindowBase64", - "WindowConsole", - "Worker", - "XMLHttpRequest", - "XMLHttpRequestEventTarget", - "XMLHttpRequestUpload" -] \ No newline at end of file diff --git a/inputfiles/json/webworkers.specidl.xml.json b/inputfiles/json/webworkers.specidl.xml.json deleted file mode 100644 index c4f399ad3..000000000 --- a/inputfiles/json/webworkers.specidl.xml.json +++ /dev/null @@ -1,1007 +0,0 @@ -{ - "dictionaries": { - "dictionary": { - "ClientQueryOptions": { - "name": "ClientQueryOptions", - "extends": "Object", - "members": { - "member": [ - { - "name": "includeUncontrolled", - "default": "false", - "type": "boolean" - }, - { - "name": "type", - "default": "\"window\"", - "type": "ClientType" - } - ] - } - }, - "ExtendableEventInit": { - "name": "ExtendableEventInit", - "extends": "EventInit" - }, - "ExtendableMessageEventInit": { - "name": "ExtendableMessageEventInit", - "extends": "ExtendableEventInit", - "members": { - "member": [ - { - "name": "data", - "type": "any" - }, - { - "name": "origin", - "type": "DOMString" - }, - { - "name": "lastEventId", - "type": "DOMString" - }, - { - "name": "source", - "nullable": "1", - "type": "(Client or ServiceWorker or MessagePort)" - }, - { - "name": "ports", - "nullable": "1", - "type": "sequence" - } - ] - } - }, - "FetchEventInit": { - "name": "FetchEventInit", - "extends": "ExtendableEventInit", - "members": { - "member": [ - { - "name": "request", - "required": "1", - "type": "Request" - }, - { - "name": "clientId", - "default": "null", - "nullable": "1", - "type": "DOMString" - }, - { - "name": "isReload", - "default": "false", - "type": "boolean" - } - ] - } - }, - "NotificationEventInit": { - "name": "NotificationEventInit", - "extends": "ExtendableEventInit", - "members": { - "member": [ - { - "name": "notification", - "required": "1", - "type": "Notification" - }, - { - "name": "action", - "default": "\"\"", - "type": "DOMString" - } - ] - } - }, - "PushEventInit": { - "name": "PushEventInit", - "extends": "ExtendableEventInit", - "members": { - "member": [ - { - "name": "data", - "type": "(BufferSource or USVString)", - "type-original": "PushMessageDataInit" - } - ] - } - }, - "SyncEventInit": { - "name": "SyncEventInit", - "extends": "ExtendableEventInit", - "members": { - "member": [ - { - "name": "tag", - "required": "1", - "type": "DOMString" - }, - { - "name": "lastChance", - "default": "false", - "type": "boolean" - } - ] - } - } - } - }, - "enums": { - "enum": { - "ClientType": { - "name": "ClientType", - "value": [ - "window", - "worker", - "sharedworker", - "all" - ] - }, - "FrameType": { - "name": "FrameType", - "value": [ - "auxiliary", - "top-level", - "nested", - "none" - ] - } - } - }, - "interfaces": { - "interface": { - "Client": { - "name": "Client", - "extends": "Object", - "methods": { - "method": [ - { - "name": "postMessage", - "type": "void", - "param": [ - { - "name": "message", - "type": "any" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "frameType", - "read-only": "1", - "type": "FrameType" - }, - { - "name": "id", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "url", - "read-only": "1", - "type": "USVString" - } - ] - } - }, - "Clients": { - "name": "Clients", - "extends": "Object", - "methods": { - "method": [ - { - "name": "claim", - "new-object": "1", - "type": "Promise" - }, - { - "name": "get", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "id", - "type": "DOMString" - } - ] - }, - { - "name": "matchAll", - "new-object": "1", - "type": "Promise>", - "param": [ - { - "name": "options", - "optional": "1", - "type": "ClientQueryOptions" - } - ] - }, - { - "name": "openWindow", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "url", - "type": "USVString" - } - ] - } - ] - } - }, - "DedicatedWorkerGlobalScope": { - "name": "DedicatedWorkerGlobalScope", - "extends": "WorkerGlobalScope", - "global": "Worker", - "methods": { - "method": [ - { - "name": "close", - "type": "void" - }, - { - "name": "postMessage", - "type": "void", - "param": [ - { - "name": "message", - "type": "any" - }, - { - "name": "transfer", - "optional": "1", - "type": "sequence" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - } - ] - } - }, - "ExtendableEvent": { - "name": "ExtendableEvent", - "extends": "Event", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ExtendableEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "waitUntil", - "type": "void", - "param": [ - { - "name": "f", - "type": "Promise" - } - ] - } - ] - } - }, - "ExtendableMessageEvent": { - "name": "ExtendableMessageEvent", - "extends": "ExtendableEvent", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "ExtendableMessageEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "read-only": "1", - "type": "any" - }, - { - "name": "lastEventId", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "ports", - "nullable": "1", - "read-only": "1", - "type": "sequence" - }, - { - "name": "source", - "nullable": "1", - "read-only": "1", - "same-object": "1", - "type": "(Client or ServiceWorker or MessagePort)" - } - ] - } - }, - "FetchEvent": { - "name": "FetchEvent", - "extends": "ExtendableEvent", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "FetchEventInit" - } - ] - }, - "methods": { - "method": [ - { - "name": "respondWith", - "type": "void", - "param": [ - { - "name": "r", - "type": "Promise" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "clientId", - "nullable": "1", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "isReload", - "read-only": "1", - "type": "boolean" - }, - { - "name": "request", - "read-only": "1", - "same-object": "1", - "type": "Request" - } - ] - } - }, - "FileReaderSync": { - "name": "FileReaderSync", - "extends": "Object", - "constructor": {}, - "methods": { - "method": [ - { - "name": "readAsArrayBuffer", - "type": "any", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsBinaryString", - "type": "void", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsDataURL", - "type": "DOMString", - "param": [ - { - "name": "blob", - "type": "Blob" - } - ] - }, - { - "name": "readAsText", - "type": "DOMString", - "param": [ - { - "name": "blob", - "type": "Blob" - }, - { - "name": "encoding", - "optional": "1", - "type": "DOMString" - } - ] - } - ] - } - }, - "NotificationEvent": { - "name": "NotificationEvent", - "extends": "ExtendableEvent", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "type": "NotificationEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "action", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "notification", - "read-only": "1", - "type": "Notification" - } - ] - } - }, - "PushEvent": { - "name": "PushEvent", - "extends": "ExtendableEvent", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "eventInitDict", - "optional": "1", - "type": "PushEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "data", - "nullable": "1", - "read-only": "1", - "type": "PushMessageData" - } - ] - } - }, - "PushMessageData": { - "name": "PushMessageData", - "extends": "Object", - "methods": { - "method": [ - { - "name": "arrayBuffer", - "type": "ArrayBuffer" - }, - { - "name": "blob", - "type": "Blob" - }, - { - "name": "json", - "type": "JSON" - }, - { - "name": "text", - "type": "USVString" - } - ] - } - }, - "ServiceWorkerGlobalScope": { - "name": "ServiceWorkerGlobalScope", - "extends": "WorkerGlobalScope", - "events": { - "event": [ - { - "name": "install", - "type": "ExtendableEvent" - }, - { - "name": "activate", - "type": "ExtendableEvent" - }, - { - "name": "fetch", - "type": "FetchEvent" - }, - { - "name": "message", - "type": "ExtendableMessageEvent" - }, - { - "name": "notificationclick", - "type": "NotificationEvent" - }, - { - "name": "notificationclose", - "type": "NotificationEvent" - }, - { - "name": "push", - "type": "PushEvent" - }, - { - "name": "pushsubscriptionchange", - "type": "ExtendableEvent" - }, - { - "name": "sync", - "type": "SyncEvent" - } - ] - }, - "methods": { - "method": [ - { - "name": "skipWaiting", - "new-object": "1", - "type": "Promise" - } - ] - }, - "properties": { - "property": [ - { - "name": "clients", - "read-only": "1", - "same-object": "1", - "type": "Clients" - }, - { - "name": "onactivate", - "event-handler": "activate", - "type": "EventHandler" - }, - { - "name": "onfetch", - "event-handler": "fetch", - "type": "EventHandler" - }, - { - "name": "oninstall", - "event-handler": "install", - "type": "EventHandler" - }, - { - "name": "onmessage", - "event-handler": "message", - "type": "EventHandler" - }, - { - "name": "onnotificationclick", - "event-handler": "notificationclick", - "type": "EventHandler" - }, - { - "name": "onnotificationclose", - "event-handler": "notificationclose", - "type": "EventHandler" - }, - { - "name": "onpush", - "event-handler": "push", - "type": "EventHandler" - }, - { - "name": "onpushsubscriptionchange", - "event-handler": "pushsubscriptionchange", - "type": "EventHandler" - }, - { - "name": "onsync", - "event-handler": "sync", - "type": "EventHandler" - }, - { - "name": "registration", - "read-only": "1", - "same-object": "1", - "type": "ServiceWorkerRegistration" - } - ] - } - }, - "SyncEvent": { - "name": "SyncEvent", - "extends": "ExtendableEvent", - "constructor": { - "param": [ - { - "name": "type", - "type": "DOMString" - }, - { - "name": "init", - "type": "SyncEventInit" - } - ] - }, - "properties": { - "property": [ - { - "name": "lastChance", - "read-only": "1", - "type": "boolean" - }, - { - "name": "tag", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "WindowClient": { - "name": "WindowClient", - "extends": "Client", - "methods": { - "method": [ - { - "name": "focus", - "new-object": "1", - "type": "Promise" - }, - { - "name": "navigate", - "new-object": "1", - "type": "Promise", - "param": [ - { - "name": "url", - "type": "USVString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "focused", - "read-only": "1", - "type": "boolean" - }, - { - "name": "visibilityState", - "read-only": "1", - "type": "VisibilityState" - } - ] - } - }, - "WorkerGlobalScope": { - "name": "WorkerGlobalScope", - "extends": "EventTarget", - "implements": [ - "WorkerUtils", - "WindowConsole", - "GlobalFetch" - ], - "methods": { - "method": [ - { - "name": "msWriteProfilerMark", - "type": "void", - "param": [ - { - "name": "profilerMarkName", - "type": "DOMString" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "caches", - "read-only": "1", - "same-object": "1", - "secure-context": "1", - "type": "CacheStorage" - }, - { - "name": "isSecureContext", - "read-only": "1", - "type": "boolean" - }, - { - "name": "location", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "WorkerLocation" - }, - { - "name": "onerror", - "event-handler": "error", - "type": "EventHandler" - }, - { - "name": "performance", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "Performance" - }, - { - "name": "self", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "WorkerGlobalScope" - } - ] - } - }, - "WorkerLocation": { - "name": "WorkerLocation", - "extends": "Object", - "methods": { - "method": [ - { - "name": "toString", - "stringifier": "1", - "type": "DOMString" - } - ] - }, - "properties": { - "property": [ - { - "name": "hash", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "host", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "hostname", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "href", - "read-only": "1", - "stringifier": "1", - "type": "DOMString" - }, - { - "name": "origin", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "pathname", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "port", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "protocol", - "read-only": "1", - "type": "DOMString" - }, - { - "name": "search", - "read-only": "1", - "type": "DOMString" - } - ] - } - }, - "WorkerNavigator": { - "name": "WorkerNavigator", - "extends": "Object", - "implements": [ - "NavigatorID", - "NavigatorOnLine", - "NavigatorBeacon", - "NavigatorConcurrentHardware" - ] - } - } - }, - "mixin-interfaces": { - "interface": { - "WorkerUtils": { - "name": "WorkerUtils", - "extends": "Object", - "no-interface-object": "1", - "implements": [ - "WindowBase64" - ], - "methods": { - "method": [ - { - "name": "clearImmediate", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "clearInterval", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "clearTimeout", - "type": "void", - "param": [ - { - "name": "handle", - "type": "long" - } - ] - }, - { - "name": "importScripts", - "type": "void", - "param": [ - { - "name": "urls", - "type": "DOMString", - "variadic": "1" - } - ] - }, - { - "name": "setImmediate", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "args", - "optional": "1", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "setInterval", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - }, - { - "name": "setTimeout", - "type": "long", - "param": [ - { - "name": "handler", - "type": "any" - }, - { - "name": "timeout", - "optional": "1", - "type": "any" - }, - { - "name": "args", - "type": "any", - "variadic": "1" - } - ] - } - ] - }, - "properties": { - "property": [ - { - "name": "indexedDB", - "read-only": "1", - "type": "IDBFactory" - }, - { - "name": "msIndexedDB", - "read-only": "1", - "type": "IDBFactory" - }, - { - "name": "navigator", - "property-descriptor-not-configurable": "1", - "read-only": "1", - "type": "WorkerNavigator" - } - ] - } - } - } - }, - "typedefs": { - "typedef": [ - { - "new-type": "PushMessageDataInit", - "type": "(BufferSource or USVString)" - } - ] - } -} \ No newline at end of file diff --git a/inputfiles/knownWorkerEnums.json b/inputfiles/knownWorkerEnums.json deleted file mode 100644 index cd779c566..000000000 --- a/inputfiles/knownWorkerEnums.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - "IDBCursorDirection", - "IDBRequestReadyState", - "IDBTransactionMode", - "MediaKeyStatus", - "NotificationDirection", - "NotificationPermission", - "PushPermissionState", - "PushEncryptionKeyName", - "ReferrerPolicy", - "RequestCache", - "RequestCredentials", - "RequestDestination", - "RequestMode", - "RequestRedirect", - "RequestType", - "ResponseType", - "ServiceWorkerState", - "VisibilityState", - "XMLHttpRequestResponseType" -] \ No newline at end of file diff --git a/inputfiles/knownWorkerInterfaces.json b/inputfiles/knownWorkerInterfaces.json deleted file mode 100644 index c8e8d36dc..000000000 --- a/inputfiles/knownWorkerInterfaces.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - "AbstractWorker", - "Algorithm", - "AlgorithmIdentifier", - "AudioBuffer", - "Blob", - "Body", - "BodyInit", - "Cache", - "CacheQueryOptions", - "CacheStorage", - "ClientQueryOptions", - "CloseEvent", - "CloseEventInit", - "Console", - "Coordinates", - "CryptoKey", - "DOMError", - "DOMException", - "DOMStringList", - "DecodeErrorCallback", - "DecodeSuccessCallback", - "ErrorEvent", - "ErrorEventHandler", - "Event", - "EventInit", - "EventListener", - "EventTarget", - "ExtendableEventInit", - "ExtendableMessageEventInit", - "FetchEventInit", - "File", - "FileList", - "FileReader", - "ForEachCallback", - "FormData", - "FunctionStringCallback", - "GetNotificationOptions", - "GlobalFetch", - "Headers", - "IDBCursor", - "IDBCursorWithValue", - "IDBDatabase", - "IDBFactory", - "IDBIndex", - "IDBIndexParameters", - "IDBKeyPath", - "IDBKeyRange", - "IDBObjectStore", - "IDBObjectStoreParameters", - "IDBOpenDBRequest", - "IDBRequest", - "IDBTransaction", - "IDBVersionChangeEvent", - "ImageData", - "KeyAlgorithm", - "MessageChannel", - "MessageEvent", - "MessageEventInit", - "MessagePort", - "MSBaseReader", - "NavigatorBeacon", - "NavigatorConcurrentHardware", - "NavigatorID", - "NavigatorOnLine", - "Notification", - "NotificationEventInit", - "NotificationOptions", - "NotificationPermissionCallback", - "ObjectURLOptions", - "Performance", - "PerformanceNavigation", - "PerformanceTiming", - "Position", - "PositionCallback", - "PositionError", - "PositionErrorCallback", - "ProgressEvent", - "PushEventInit", - "PushManager", - "PushSubscription", - "PushSubscriptionOptions", - "PushSubscriptionOptionsInit", - "ReadableStream", - "ReadableStreamReader", - "Request", - "RequestInfo", - "RequestInit", - "Response", - "ResponseInit", - "ServiceWorker", - "ServiceWorkerRegistration", - "SyncEventInit", - "SyncManager", - "USVString", - "URL", - "URLSearchParams", - "WebSocket", - "WindowBase64", - "WindowConsole", - "Worker", - "XMLHttpRequest", - "XMLHttpRequestEventTarget", - "XMLHttpRequestUpload" -] \ No newline at end of file diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json deleted file mode 100644 index f741f918d..000000000 --- a/inputfiles/overridingTypes.json +++ /dev/null @@ -1,1851 +0,0 @@ -[ - { - "kind": "interface", - "interface": "CustomEventInit", - "typeParameters": [ - "T = any" - ] - }, - { - "kind": "property", - "interface": "CustomEventInit", - "name": "detail?", - "type": "T" - }, - { - "kind": "interface", - "interface": "CustomEvent", - "typeParameters": [ - "T = any" - ] - }, - { - "kind": "property", - "interface": "CustomEvent", - "readonly": true, - "name": "detail", - "type": "T" - }, - { - "kind": "method", - "interface": "CustomEvent", - "name": "initCustomEvent", - "signatures": [ - "initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void" - ] - }, - { - "kind": "constructor", - "interface": "CustomEvent", - "signatures": [ - "new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent" - ] - }, - { - "kind": "constructor", - "interface": "Response", - "signatures": [ - "new(body?: any, init?: ResponseInit): Response", - "error: () => Response", - "redirect: (url: string, status?: number) => Response" - ] - }, - { - "kind": "constructor", - "interface": "ErrorEvent", - "signatures": [ - "new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent" - ] - }, - { - "kind": "property", - "interface": "Window", - "name": "event", - "type": "Event | undefined" - }, - { - "kind": "method", - "interface": "Document", - "name": "adoptNode", - "signatures": [ - "adoptNode(source: T): T" - ] - }, - { - "kind": "property", - "interface": "Document", - "readonly": true, - "name": "currentScript", - "type": "HTMLScriptElement | SVGScriptElement | null" - }, - { - "kind": "method", - "interface": "Document", - "name": "importNode", - "signatures": [ - "importNode(importedNode: T, deep: boolean): T" - ] - }, - { - "kind": "method", - "interface": "Node", - "name": "appendChild", - "signatures": [ - "appendChild(newChild: T): T" - ] - }, - { - "kind": "method", - "interface": "Node", - "name": "insertBefore", - "signatures": [ - "insertBefore(newChild: T, refChild: Node | null): T" - ] - }, - { - "kind": "method", - "interface": "Node", - "name": "removeChild", - "signatures": [ - "removeChild(oldChild: T): T" - ] - }, - { - "kind": "method", - "interface": "Node", - "name": "replaceChild", - "signatures": [ - "replaceChild(newChild: Node, oldChild: T): T" - ] - }, - { - "kind": "method", - "interface": "HTMLCollection", - "name": "item", - "signatures": [ - "item(index: number): Element" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "createIndex", - "signatures": [ - "createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex" - ] - }, - { - "kind": "property", - "interface": "IDBIndex", - "name": "keyPath", - "type": "string | string[]" - }, - { - "kind": "method", - "interface": "IDBDatabase", - "name": "createObjectStore", - "signatures": [ - "createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore" - ] - }, - { - "kind": "method", - "interface": "CanvasRenderingContext2D", - "name": "drawImage", - "signatures": [ - "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void", - "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number, dstW: number, dstH: number): void", - "drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "texSubImage2D", - "signatures": [ - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void", - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "texImage2D", - "signatures": [ - "texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void", - "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "pixelStorei", - "signatures": [ - "pixelStorei(pname: number, param: number | boolean): void" - ] - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onload", - "type": "(this: XMLHttpRequest, ev: Event) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onabort", - "type": "(this: XMLHttpRequest, ev: Event) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onerror", - "type": "(this: XMLHttpRequest, ev: ErrorEvent) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onloadend", - "type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onloadstart", - "type": "(this: XMLHttpRequest, ev: Event) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onprogress", - "type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "onprogress", - "type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" - }, - { - "kind": "property", - "interface": "XMLHttpRequestEventTarget", - "name": "ontimeout", - "type": "(this: XMLHttpRequest, ev: ProgressEvent) => any" - }, - { - "kind": "method", - "interface": "XMLHttpRequest", - "name": "send", - "signatures": [ - "send(data?: string): void", - "send(data?: any): void" - ], - "webOnlySignatures": [ - "send(data?: Document): void" - ] - }, - { - "kind": "method", - "interface": "HTMLCanvasElement", - "name": "getContext", - "signatures": [ - "getContext(contextId: \"2d\", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null", - "getContext(contextId: \"webgl\" | \"experimental-webgl\", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null", - "getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null" - ] - }, - { - "kind": "method", - "name": "alert", - "signatures": [ - "alert(message?: any): void" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "open", - "signatures": [ - "open(url?: string, name?: string, features?: string, replace?: boolean): Document" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "getElementById", - "signatures": [ - "getElementById(elementId: string): HTMLElement | null" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "msElementsFromRect", - "signatures": [ - "msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "msElementsFromPoint", - "signatures": [ - "msElementsFromPoint(x: number, y: number): NodeListOf" - ] - }, - { - "kind": "method", - "name": "getElementsByTagNameNS", - "signatures": [ - "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/1999/xhtml\", localName: string): HTMLCollectionOf", - "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", - "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" - ] - }, - { - "kind": "method", - "name": "getElementsByClassName", - "signatures": [ - "getElementsByClassName(classNames: string): HTMLCollectionOf" - ] - }, - { - "kind": "method", - "name": "getElementsByName", - "signatures": [ - "getElementsByName(elementName: string): NodeListOf" - ] - }, - { - "kind": "property", - "interface": "Document", - "name": "anchors", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "applets", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "embeds", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "forms", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "images", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "links", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "plugins", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "Document", - "name": "scripts", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "fillStyle", - "type": "string | CanvasGradient | CanvasPattern" - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "strokeStyle", - "type": "string | CanvasGradient | CanvasPattern" - }, - { - "kind": "property", - "interface": "BeforeUnloadEvent", - "name": "returnValue", - "type": "any" - }, - { - "kind": "property", - "interface": "HTMLEmbedElement", - "name": "hidden", - "type": "any" - }, - { - "kind": "property", - "name": "documentElement", - "type": "HTMLElement" - }, - { - "kind": "property", - "interface": "SVGStylable", - "name": "className", - "type": "any" - }, - { - "kind": "property", - "interface": "SVGElement", - "name": "className", - "type": "any" - }, - { - "kind": "method", - "interface": "SVGSVGElement", - "name": "getEnclosureList", - "signatures": [ - "getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" - ] - }, - { - "kind": "method", - "interface": "SVGSVGElement", - "name": "getIntersectionList", - "signatures": [ - "getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf" - ] - }, - { - "kind": "property", - "interface": "Window", - "name": "orientation", - "type": "string | number" - }, - { - "kind": "method", - "interface": "Console", - "name": "debug", - "signatures": [ - "debug(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "dir", - "signatures": [ - "dir(value?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "dirxml", - "signatures": [ - "dirxml(value: any): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "error", - "signatures": [ - "error(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "info", - "signatures": [ - "info(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "log", - "signatures": [ - "log(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "warn", - "signatures": [ - "warn(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "group", - "signatures": [ - "group(groupTitle?: string, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "Console", - "name": "groupCollapsed", - "signatures": [ - "groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void" - ] - }, - { - "kind": "callback", - "name": "ErrorEventHandler", - "signatures": [ - "(message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void" - ] - }, - { - "kind": "constructor", - "interface": "Blob", - "signatures": [ - "new (blobParts?: any[], options?: BlobPropertyBag): Blob" - ] - }, - { - "kind": "constructor", - "interface": "FormData", - "flavor": "Web", - "signatures": [ - "new (form?: HTMLFormElement): FormData" - ] - }, - { - "kind": "constructor", - "interface": "MessageEvent", - "signatures": [ - "new(type: string, eventInitDict?: MessageEventInit): MessageEvent" - ] - }, - { - "kind": "constructor", - "interface": "ProgressEvent", - "signatures": [ - "new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent" - ] - }, - { - "kind": "constructor", - "interface": "File", - "signatures": [ - "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" - ] - }, - { - "kind": "constructor", - "interface": "ImageData", - "signatures": [ - "new(width: number, height: number): ImageData", - "new(array: Uint8ClampedArray, width: number, height: number): ImageData" - ] - }, - { - "kind": "constructor", - "interface": "DOMException", - "signatures": [ - "new(message?: string, name?: string): DOMException" - ] - }, - { - "kind": "property", - "interface": "HTMLSelectElement", - "name": "selectedOptions", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "HTMLDataListElement", - "name": "options", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "ImageData", - "name": "data", - "type": "Uint8ClampedArray" - }, - { - "kind": "method", - "interface": "HTMLTableElement", - "name": "insertRow", - "signatures": [ - "insertRow(index?: number): HTMLTableRowElement" - ] - }, - { - "kind": "method", - "interface": "HTMLTableElement", - "name": "createTHead", - "signatures": [ - "createTHead(): HTMLTableSectionElement" - ] - }, - { - "kind": "method", - "interface": "HTMLTableElement", - "name": "createTBody", - "signatures": [ - "createTBody(): HTMLTableSectionElement" - ] - }, - { - "kind": "method", - "interface": "HTMLTableElement", - "name": "createTFoot", - "signatures": [ - "createTFoot(): HTMLTableSectionElement" - ] - }, - { - "kind": "method", - "interface": "HTMLTableElement", - "name": "createCaption", - "signatures": [ - "createCaption(): HTMLTableCaptionElement" - ] - }, - { - "kind": "property", - "interface": "HTMLTableElement", - "name": "rows", - "type": "HTMLCollectionOf" - }, - { - "kind": "property", - "interface": "HTMLTableElement", - "name": "tBodies", - "type": "HTMLCollectionOf" - }, - { - "kind": "method", - "interface": "HTMLTableSectionElement", - "name": "insertRow", - "signatures": [ - "insertRow(index?: number): HTMLTableRowElement" - ] - }, - { - "kind": "property", - "interface": "HTMLTableSectionElement", - "name": "rows", - "type": "HTMLCollectionOf" - }, - { - "kind": "method", - "interface": "HTMLTableRowElement", - "name": "insertCell", - "signatures": [ - "insertCell(index?: number): HTMLTableDataCellElement" - ] - }, - { - "kind": "property", - "interface": "HTMLTableRowElement", - "name": "cells", - "type": "HTMLCollectionOf" - }, - { - "kind": "method", - "interface": "Element", - "name": "setAttribute", - "signatures": [ - "setAttribute(name: string, value: string): void" - ] - }, - { - "kind": "property", - "interface": "HTMLMediaElement", - "name": "readyState", - "type": "number" - }, - { - "kind": "property", - "interface": "IDBDatabase", - "name": "version", - "type": "number" - }, - { - "kind": "method", - "interface": "Console", - "name": "trace", - "signatures": [ - "trace(message?: any, ...optionalParams: any[]): void" - ] - }, - { - "kind": "method", - "interface": "DataTransferItemList", - "name": "item", - "signatures": [ - "item(index: number): DataTransferItem" - ] - }, - { - "kind": "indexer", - "interface": "DataTransferItemList", - "signatures": [ - "[index: number]: DataTransferItem" - ] - }, - { - "kind": "constructor", - "interface": "StorageEvent", - "signatures": [ - "new (type: string, eventInitDict?: StorageEventInit): StorageEvent" - ] - }, - { - "kind": "property", - "interface": "IDBCursor", - "name": "source", - "type": "IDBObjectStore | IDBIndex" - }, - { - "kind": "method", - "interface": "IDBDatabase", - "name": "transaction", - "signatures": [ - "transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction" - ] - }, - { - "kind": "property", - "interface": "IDBObjectStore", - "name": "keyPath", - "type": "string | string[]" - }, - { - "kind": "property", - "interface": "IDBRequest", - "readonly": true, - "name": "error", - "type": "DOMException" - }, - { - "kind": "property", - "interface": "IDBRequest", - "name": "source", - "type": "IDBObjectStore | IDBIndex | IDBCursor" - }, - { - "kind": "property", - "interface": "IDBTransaction", - "readonly": true, - "name": "error", - "type": "DOMException" - }, - { - "kind": "method", - "interface": "Window", - "name": "open", - "signatures": [ - "open(url?: string, target?: string, features?: string, replace?: boolean): Window | null" - ] - }, - { - "kind": "method", - "interface": "AudioNode", - "name": "connect", - "signatures": [ - "connect(destination: AudioNode, output?: number, input?: number): AudioNode", - "connect(destination: AudioParam, output?: number): void" - ] - }, - { - "kind": "method", - "interface": "AudioNode", - "name": "disconnect", - "signatures": [ - "disconnect(output?: number): void", - "disconnect(destination: AudioNode, output?: number, input?: number): void", - "disconnect(destination: AudioParam, output?: number): void" - ] - }, - { - "kind": "callback", - "name": "DecodeErrorCallback", - "signatures": [ - "(error: DOMException): void" - ] - }, - { - "kind": "property", - "name": "ontouchcancel", - "type": "(ev: TouchEvent) => any" - }, - { - "kind": "property", - "name": "ontouchend", - "type": "(ev: TouchEvent) => any" - }, - { - "kind": "property", - "name": "ontouchmove", - "type": "(ev: TouchEvent) => any" - }, - { - "kind": "property", - "name": "ontouchstart", - "type": "(ev: TouchEvent) => any" - }, - { - "kind": "property", - "name": "keyPath?", - "interface": "IDBObjectStoreParameters", - "type": "string | string[]" - }, - { - "kind": "constructor", - "interface": "ClipboardEvent", - "signatures": [ - "new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent" - ] - }, - { - "kind": "method", - "interface": "IDBIndex", - "name": "openCursor", - "signatures": [ - "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBIndex", - "name": "openKeyCursor", - "signatures": [ - "openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "openCursor", - "signatures": [ - "openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "add", - "signatures": [ - "add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "count", - "signatures": [ - "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "delete", - "signatures": [ - "delete(key: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBObjectStore", - "name": "put", - "signatures": [ - "put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "property", - "interface": "IDBCursor", - "name": "key", - "type": "IDBKeyRange | IDBValidKey" - }, - { - "kind": "method", - "interface": "IDBCursor", - "name": "continue", - "signatures": [ - "continue(key?: IDBKeyRange | IDBValidKey): void" - ] - }, - { - "kind": "method", - "interface": "IDBIndex", - "name": "count", - "signatures": [ - "count(key?: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBIndex", - "name": "get", - "signatures": [ - "get(key: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "IDBIndex", - "name": "getKey", - "signatures": [ - "getKey(key: IDBKeyRange | IDBValidKey): IDBRequest" - ] - }, - { - "kind": "method", - "interface": "Storage", - "name": "getItem", - "signatures": [ - "getItem(key: string): string | null" - ] - }, - { - "kind": "method", - "interface": "Storage", - "name": "key", - "signatures": [ - "key(index: number): string | null" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform1fv", - "signatures": [ - "uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform2fv", - "signatures": [ - "uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform3fv", - "signatures": [ - "uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform4fv", - "signatures": [ - "uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform1iv", - "signatures": [ - "uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform2iv", - "signatures": [ - "uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform3iv", - "signatures": [ - "uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniform4iv", - "signatures": [ - "uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniformMatrix2fv", - "signatures": [ - "uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniformMatrix3fv", - "signatures": [ - "uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "uniformMatrix4fv", - "signatures": [ - "uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "vertexAttrib1fv", - "signatures": [ - "vertexAttrib1fv(indx: number, values: Float32Array | number[]): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "vertexAttrib2fv", - "signatures": [ - "vertexAttrib2fv(indx: number, values: Float32Array | number[]): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "vertexAttrib3fv", - "signatures": [ - "vertexAttrib3fv(indx: number, values: Float32Array | number[]): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "vertexAttrib4fv", - "signatures": [ - "vertexAttrib4fv(indx: number, values: Float32Array | number[]): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "getExtension", - "signatures": [ - "getExtension(extensionName: \"EXT_blend_minmax\"): EXT_blend_minmax | null", - "getExtension(extensionName: \"EXT_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null", - "getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null", - "getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null", - "getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null", - "getExtension(extensionName: \"OES_vertex_array_object\"): OES_vertex_array_object | null", - "getExtension(extensionName: \"WEBGL_color_buffer_float\"): WEBGL_color_buffer_float | null", - "getExtension(extensionName: \"WEBGL_compressed_texture_astc\"): WEBGL_compressed_texture_astc | null", - "getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null", - "getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | null", - "getExtension(extensionName: \"WEBGL_draw_buffers\"): WEBGL_draw_buffers | null", - "getExtension(extensionName: \"WEBGL_lose_context\"): WEBGL_lose_context | null", - "getExtension(extensionName: \"WEBGL_depth_texture\"): WEBGL_depth_texture | null", - "getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null", - "getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null", - "getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null", - "getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null", - "getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null", - "getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null", - "getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null", - "getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null", - "getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | null", - "getExtension(extensionName: string): any" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "getAttribute", - "signatures": [ - "getAttribute(name: string): string | null" - ] - }, - { - "kind": "extends", - "baseInterface": "HTMLCollectionOf", - "interface": "HTMLOptionsCollection" - }, - { - "kind": "property", - "interface": "Algorithm", - "name": "name", - "type": "string" - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "decrypt", - "signatures": [ - "decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "deriveBits", - "signatures": [ - "deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "deriveKey", - "signatures": [ - "deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "digest", - "signatures": [ - "digest(algorithm: AlgorithmIdentifier, data: BufferSource): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "encrypt", - "signatures": [ - "encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "exportKey", - "signatures": [ - "exportKey(format: \"jwk\", key: CryptoKey): PromiseLike", - "exportKey(format: \"raw\" | \"pkcs8\" | \"spki\", key: CryptoKey): PromiseLike", - "exportKey(format: string, key: CryptoKey): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "generateKey", - "signatures": [ - "generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike", - "generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike", - "generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "importKey", - "signatures": [ - "importKey(format: \"jwk\", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", - "importKey(format: \"raw\" | \"pkcs8\" | \"spki\", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike", - "importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "sign", - "signatures": [ - "sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "unwrapKey", - "signatures": [ - "unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "verify", - "signatures": [ - "verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike" - ] - }, - { - "kind": "method", - "interface": "SubtleCrypto", - "name": "wrapKey", - "signatures": [ - "wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): PromiseLike" - ] - }, - { - "kind": "method", - "name": "setTimeout", - "signatures": [ - "setTimeout(handler: (...args: any[]) => void, timeout: number): number", - "setTimeout(handler: any, timeout?: any, ...args: any[]): number" - ] - }, - { - "kind": "method", - "name": "setImmediate", - "signatures": [ - "setImmediate(handler: (...args: any[]) => void): number", - "setImmediate(handler: any, ...args: any[]): number" - ] - }, - { - "kind": "method", - "name": "setInterval", - "signatures": [ - "setInterval(handler: (...args: any[]) => void, timeout: number): number", - "setInterval(handler: any, timeout?: any, ...args: any[]): number" - ] - }, - { - "kind": "property", - "interface": "HTMLInputElement", - "readonly": true, - "name": "files", - "type": "FileList | null" - }, - { - "kind": "property", - "interface": "Window", - "name": "opener", - "type": "any" - }, - { - "kind": "method", - "interface": "History", - "name": "back", - "signatures": [ - "back(): void" - ] - }, - { - "kind": "method", - "interface": "History", - "name": "forward", - "signatures": [ - "forward(): void" - ] - }, - { - "kind": "method", - "interface": "History", - "name": "go", - "signatures": [ - "go(delta?: number): void" - ] - }, - { - "kind": "method", - "interface": "History", - "name": "pushState", - "signatures": [ - "pushState(data: any, title: string, url?: string | null): void" - ] - }, - { - "kind": "method", - "interface": "History", - "name": "replaceState", - "signatures": [ - "replaceState(data: any, title: string, url?: string | null): void" - ] - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "firstChild", - "type": "Node | null" - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "lastChild", - "type": "Node | null" - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "nextSibling", - "type": "Node | null" - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "previousSibling", - "type": "Node | null" - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "parentNode", - "type": "Node | null" - }, - { - "kind": "property", - "interface": "Node", - "readonly": true, - "name": "parentElement", - "type": "HTMLElement | null" - }, - { - "kind": "method", - "interface": "MouseEvent", - "name": "initMouseEvent", - "signatures": [ - "initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void" - ] - }, - { - "kind": "property", - "interface": "DataTransfer", - "readonly": true, - "name": "types", - "type": "string[]" - }, - { - "kind": "method", - "interface": "XPathEvaluator", - "name": "evaluate", - "signatures": [ - "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "evaluate", - "signatures": [ - "evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult" - ] - }, - { - "kind": "method", - "interface": "XPathExpression", - "name": "evaluate", - "signatures": [ - "evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult" - ] - }, - { - "kind": "extends", - "baseInterface": "Node, GlobalEventHandlers, NodeSelector, DocumentEvent, ParentNode, DocumentOrShadowRoot", - "interface": "Document" - }, - { - "kind": "property", - "interface": "ElementTraversal", - "readonly": true, - "name": "firstElementChild", - "type": "Element | null" - }, - { - "kind": "property", - "interface": "ElementTraversal", - "readonly": true, - "name": "lastElementChild", - "type": "Element | null" - }, - { - "kind": "property", - "interface": "ElementTraversal", - "readonly": true, - "name": "nextElementSibling", - "type": "Element | null" - }, - { - "kind": "property", - "interface": "ElementTraversal", - "readonly": true, - "name": "previousElementSibling", - "type": "Element | null" - }, - { - "kind": "indexer", - "interface": "DOMStringMap", - "signatures": [ - "[name: string]: string | undefined" - ] - }, - { - "kind": "method", - "interface": "DOMImplementation", - "name": "hasFeature", - "signatures": [ - "hasFeature(feature: string | null, version: string | null): boolean" - ] - }, - { - "kind": "method", - "interface": "DOMImplementation", - "name": "createDocument", - "signatures": [ - "createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document" - ] - }, - { - "kind": "method", - "interface": "FormData", - "name": "append", - "flavor": "Web", - "signatures": [ - "append(name: string, value: string | Blob, fileName?: string): void" - ] - }, - { - "kind": "method", - "interface": "EventTarget", - "name": "addEventListener", - "signatures": [ - "addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void" - ] - }, - { - "kind": "method", - "interface": "EventTarget", - "name": "removeEventListener", - "signatures": [ - "removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void" - ] - }, - { - "kind": "constructor", - "interface": "TouchEvent", - "signatures": [ - "new(type: string, touchEventInit?: TouchEventInit): TouchEvent" - ] - }, - { - "kind": "constructor", - "interface": "Text", - "signatures": [ - "new(data?: string): Text" - ] - }, - { - "kind": "method", - "interface": "HTMLMediaElement", - "name": "play", - "signatures": [ - "play(): Promise" - ] - }, - { - "kind": "constructor", - "interface": "DragEvent", - "signatures": [ - "new(type: \"drag\" | \"dragend\" | \"dragenter\" | \"dragexit\" | \"dragleave\" | \"dragover\" | \"dragstart\" | \"drop\", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent" - ] - }, - { - "kind": "property", - "interface": "HTMLAppletElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLButtonElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLFieldSetElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLInputElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLLabelElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLLegendElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLObjectElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOptGroupElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOptionElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOutputElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLProgressElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLSelectElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLTextAreaElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "method", - "interface": "RandomSource", - "name": "getRandomValues", - "signatures": [ - "getRandomValues(array: T): T" - ] - }, - { - "kind": "property", - "interface": "HTMLAppletElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLButtonElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLFieldSetElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLInputElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLLabelElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLegendElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLObjectElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOptGroupElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOptionElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLOutputElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLProgressElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLSelectElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "property", - "interface": "HTMLTextAreaElement", - "readonly": true, - "name": "form", - "type": "HTMLFormElement | null" - }, - { - "kind": "constructor", - "interface": "Headers", - "signatures": [ - "new(init?: HeadersInit): Headers" - ] - }, - { - "kind": "method", - "interface": "ServiceWorkerContainer", - "name": "getRegistration", - "signatures": [ - "getRegistration(clientURL?: USVString): Promise" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "getBoundingClientRect", - "signatures": [ - "getBoundingClientRect(): ClientRect | DOMRect" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "getClientRects", - "signatures": [ - "getClientRects(): ClientRectList | DOMRectList" - ] - }, - { - "kind": "property", - "interface": "IntersectionObserverEntry", - "name": "boundingClientRect", - "readonly": true, - "type": "ClientRect | DOMRect" - }, - { - "kind": "property", - "interface": "IntersectionObserverEntry", - "name": "intersectionRect", - "readonly": true, - "type": "ClientRect | DOMRect" - }, - { - "kind": "property", - "interface": "IntersectionObserverEntry", - "name": "rootBounds", - "readonly": true, - "type": "ClientRect | DOMRect" - }, - { - "kind": "method", - "interface": "Range", - "name": "getBoundingClientRect", - "signatures": [ - "getBoundingClientRect(): ClientRect | DOMRect" - ] - }, - { - "kind": "property", - "interface": "RequestInit", - "name": "headers?", - "type": "HeadersInit" - }, - { - "kind": "property", - "interface": "ResponseInit", - "name": "headers?", - "type": "HeadersInit" - }, - { - "kind": "property", - "interface": "PaymentMethodData", - "name": "supportedMethods", - "type": "string | string[]" - }, - { - "kind": "property", - "interface": "PaymentDetailsModifier", - "name": "supportedMethods", - "type": "string | string[]" - }, - { - "kind": "method", - "interface": "CanvasRenderingContext2D", - "name": "clip", - "signatures": [ - "clip(fillRule?: CanvasFillRule): void", - "clip(path: Path2D, fillRule?: CanvasFillRule): void" - ] - }, - { - "kind": "method", - "interface": "CanvasRenderingContext2D", - "name": "fill", - "signatures": [ - "fill(fillRule?: CanvasFillRule): void", - "fill(path: Path2D, fillRule?: CanvasFillRule): void" - ] - }, - { - "kind": "method", - "interface": "Range", - "name": "getClientRects", - "signatures": [ - "getClientRects(): ClientRectList | DOMRectList" - ] - }, - { - "kind": "method", - "interface": "CanvasRenderingContext2D", - "name": "isPointInPath", - "signatures": [ - "isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean", - "isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" - ] - }, - { - "kind": "method", - "interface": "CanvasRenderingContext2D", - "name": "isPointInStroke", - "signatures": [ - "isPointInStroke(x: number, y: number, fillRule?: CanvasFillRule): boolean", - "isPointInStroke(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean" - ] - }, - { - "kind": "constructor", - "interface": "URL", - "signatures": [ - "new(url: string, base?: string | URL): URL" - ] - }, - { - "kind": "property", - "interface": "File", - "readonly": true, - "name": "lastModifiedDate", - "type": "Date" - }, - { - "kind": "method", - "interface": "HTMLInputElement", - "name": "setSelectionRange", - "signatures": [ - "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" - ] - }, - { - "kind": "method", - "interface": "HTMLTextAreaElement", - "name": "setSelectionRange", - "signatures": [ - "setSelectionRange(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\"): void" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "getAttributeNodeNS", - "signatures": [ - "getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null" - ] - }, - { - "kind": "method", - "interface": "Element", - "name": "getAttributeNode", - "signatures": [ - "getAttributeNode(name: string): Attr | null" - ] - }, - { - "kind": "method", - "interface": "WebSocket", - "name": "send", - "signatures": [ - "send(data: USVString | ArrayBuffer | Blob | ArrayBufferView): void" - ] - }, - { - "kind": "callback", - "name": "ForEachCallback", - "signatures": [ - "(keyId: any, status: MediaKeyStatus): void" - ] - }, - { - "kind": "method", - "name": "getSubscription", - "interface": "PushManager", - "signatures": [ - "getSubscription(): Promise" - ] - } -] \ No newline at end of file diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json deleted file mode 100644 index f3ce0bfbc..000000000 --- a/inputfiles/removedTypes.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "kind": "method", - "interface": "HTMLElement", - "name": "getElementsByClassName" - }, - { - "kind": "property", - "interface": "HTMLElement", - "name": "id" - }, - { - "kind": "property", - "interface": "HTMLElement", - "name": "className" - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "contains" - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "scrollIntoView" - }, - { - "kind": "method", - "interface": "StorageEvent", - "name": "initStorageEvent" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "key" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "oldValue" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "newValue" - }, - { - "kind": "property", - "interface": "StorageEvent", - "name": "storageArea" - }, - { - "kind": "property", - "interface": "XMLHttpRequest", - "name": "msCaching" - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "insertAdjacentElement" - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "insertAdjacentHTML" - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "insertAdjacentText" - }, - { - "kind": "indexer", - "interface": "Window", - "signatures": [ - "[index: number]: Window" - ] - }, - { - "kind": "typedef", - "name": "JSON" - }, - { - "kind": "typedef", - "name": "HeadersInit" - }, - { - "kind": "property", - "interface": "HTMLObjectElement", - "name": "alt" - }, - { - "kind": "interface", - "interface": "WebKitEntriesCallback", - "flavor": "Worker" - }, - { - "kind": "interface", - "interface": "WebKitErrorCallback", - "flavor": "Worker" - }, - { - "kind": "interface", - "interface": "WebKitFileCallback", - "flavor": "Worker" - } -] \ No newline at end of file diff --git a/inputfiles/sample.json b/inputfiles/sample.json deleted file mode 100644 index 000f0820f..000000000 --- a/inputfiles/sample.json +++ /dev/null @@ -1,380 +0,0 @@ -[ - { - "kind": "property", - "interface": "Window", - "exposeGlobally": false, - "name": "URL", - "type": "URL" - }, - { - "kind": "property", - "interface": "Element", - "name": "id", - "type": "string" - }, - { - "kind": "property", - "interface": "Element", - "name": "className", - "readonly": true, - "type": "string" - }, - { - "kind": "property", - "interface": "SVGElement", - "name": "className", - "type": "any" - }, - { - "kind": "interface", - "name": "NodeListOf", - "flavor": "web", - "extends": "NodeList", - "properties": [ - { - "name": "length", - "type": "number" - } - ], - "methods": [ - { - "name": "item", - "signatures": [ - "item(index: number): TNode" - ] - } - ], - "indexer": [ - { - "signatures": [ - "[index: number]: TNode" - ] - } - ] - }, - { - "kind": "interface", - "name": "BlobPropertyBag", - "constructorSignatures": [ - "new(): NodeList" - ], - "properties": [ - { - "name": "type?", - "type": "string" - }, - { - "name": "endings?", - "type": "string" - } - ] - }, - { - "kind": "interface", - "name": "FilePropertyBag", - "properties": [ - { - "name": "type?", - "type": "string" - }, - { - "name": "lastModified?", - "type": "number" - } - ] - }, - { - "kind": "interface", - "name": "EventListenerObject", - "methods": [ - { - "name": "handleEvent", - "signatures": [ - "handleEvent(evt: Event): void" - ] - } - ] - }, - { - "kind": "interface", - "name": "MessageEventInit", - "extends": "EventInit", - "properties": [ - { - "name": "data?", - "type": "any" - }, - { - "name": "origin?", - "type": "string" - }, - { - "name": "lastEventId?", - "type": "string" - }, - { - "name": "channel?", - "type": "string" - }, - { - "name": "source?", - "type": "any" - }, - { - "name": "ports?", - "type": "MessagePort[]" - } - ] - }, - { - "kind": "interface", - "name": "ProgressEventInit", - "extends": "EventInit", - "properties": [ - { - "name": "lengthComputable?", - "type": "boolean" - }, - { - "name": "loaded?", - "type": "number" - }, - { - "name": "total?", - "type": "number" - } - ] - }, - { - "kind": "method", - "interface": "HTMLElement", - "name": "getElementsByClassName" - }, - { - "kind": "property", - "interface": "HTMLElement", - "name": "id" - }, - { - "kind": "property", - "interface": "HTMLElement", - "name": "className" - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "texSubImage2D", - "signatures": [ - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView): void", - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, image: HTMLImageElement): void", - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, canvas: HTMLCanvasElement): void", - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, video: HTMLVideoElement): void", - "texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageData): void" - ] - }, - { - "kind": "method", - "interface": "WebGLRenderingContext", - "name": "texImage2D", - "signatures": [ - "texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView): void", - "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, image: HTMLImageElement): void", - "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, canvas: HTMLCanvasElement): void", - "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, video: HTMLVideoElement): void", - "texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageData): void" - ] - }, - { - "kind": "method", - "interface": "XMLHttpRequest", - "name": "send", - "signatures": [ - "send(data?: string): void", - "send(data?: any): void" - ], - "webOnlySignatures": [ - "send(data?: Document): void" - ] - }, - { - "kind": "method", - "interface": "HTMLCanvasElement", - "name": "getContext", - "signatures": [ - "getContext(contextId: \"2d\"): CanvasRenderingContext2D", - "getContext(contextId: \"experimental-webgl\"): WebGLRenderingContext", - "getContext(contextId: string, ...args: any[]): CanvasRenderingContext2D | WebGLRenderingContext" - ] - }, - { - "kind": "method", - "name": "alert", - "signatures": [ - "alert(message?: any): void" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "open", - "signatures": [ - "open(url?: string, name?: string, features?: string, replace?: boolean): Document" - ] - }, - { - "kind": "method", - "interface": "Document", - "name": "getElementById", - "signatures": [ - "getElementById(elementId: string): HTMLElement" - ] - }, - { - "kind": "method", - "interface": "NodeSelector", - "name": "querySelectorAll", - "signatures": [ - "querySelectorAll(selectors: string): NodeListOf" - ] - }, - { - "kind": "method", - "name": "getElementsByTagNameNS", - "signatures": [ - "getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf" - ] - }, - { - "kind": "method", - "name": "getElementsByClassName", - "signatures": [ - "getElementsByClassName(classNames: string): NodeListOf" - ] - }, - { - "kind": "method", - "name": "getElementsByName", - "signatures": [ - "getElementsByName(elementName: string): NodeListOf" - ] - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "fillStyle", - "type": "string | CanvasGradient | CanvasPattern" - }, - { - "kind": "property", - "interface": "CanvasRenderingContext2D", - "name": "strokeStyle", - "type": "string | CanvasGradient | CanvasPattern" - }, - { - "kind": "property", - "interface": "BeforeUnloadEvent", - "name": "returnValue", - "type": "any" - }, - { - "kind": "property", - "interface": "HTMLEmbedElement", - "name": "hidden", - "type": "any" - }, - { - "kind": "property", - "name": "documentElement", - "type": "HTMLElement" - }, - { - "kind": "property", - "interface": "SVGStylable", - "name": "className", - "type": "any" - }, - { - "kind": "property", - "interface": "SVGElement", - "name": "className", - "type": "any" - }, - { - "kind": "property", - "interface": "Window", - "name": "orientation", - "type": "string | number" - }, - { - "kind": "method", - "interface": "Element", - "static": true, - "signatures": [ "getElementsByClassName(classNames: string): NodeListOf" ] - }, - { - "kind": "constructor", - "interface": "File", - "signatures": [ "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" ] - }, - { - "kind": "indexer", - "interface": "HTMLCollection", - "signatures": [ "[index: number]: Element" ] - }, - { - "kind": "signatureoverload", - "name": "createElementNS", - "interface": "Document", - "signatures": [ "createElementNS(namespaceURI: \"http://www.w3.org/2000/svg\", qualifiedName: \"a\"): SVGAElement" ] - }, - { - "kind": "typedef", - "name": "IDBValidKey", - "type": "number | string | Date | IDBArrayKey" - }, - { - "kind": "extends", - "baseInterface": "ParentNode", - "interface": "Document" - }, - { - "kind": "interface", - "interface": "CustomEventInit", - "typeParameters": [ - "T = any" - ] - }, - { - "kind": "interface", - "name": "ParentNode", - "flavor": "DOM", - "properties": [ - { - "name": "children", - "readonly": true, - "type": "HTMLCollection" - } - ] - }, - { - "kind": "interface", - "name": "HTMLSlotElement", - "extends": "HTMLElement", - "flavor": "Web", - "tagNames": [ "slot" ], - "properties": [ - { - "name": "name", - "type": "string" - } - ], - "methods": [ - { - "name": "assignedNodes", - "signatures": [ - "assignedNodes(options?: AssignedNodesOptions): Node[]" - ] - } - ] - } -] diff --git a/inputfiles/webworkers.specidl.xml b/inputfiles/webworkers.specidl.xml deleted file mode 100644 index 2929d918d..000000000 --- a/inputfiles/webworkers.specidl.xml +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - window - worker - sharedworker - all - - - auxiliary - top-level - nested - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WorkerUtils - WindowConsole - GlobalFetch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NavigatorID - NavigatorOnLine - NavigatorBeacon - NavigatorConcurrentHardware - - - - - WindowBase64 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/paket.dependencies b/paket.dependencies deleted file mode 100644 index b0804b5c6..000000000 --- a/paket.dependencies +++ /dev/null @@ -1,4 +0,0 @@ -source https://nuget.org/api/v2 - -nuget FSharp.Data -nuget FAKE diff --git a/paket.lock b/paket.lock deleted file mode 100644 index 4ee6620a3..000000000 --- a/paket.lock +++ /dev/null @@ -1,6 +0,0 @@ -NUGET - remote: https://www.nuget.org/api/v2 - FAKE (4.61) - FSharp.Data (2.3.2) - Zlib.Portable (>= 1.11) - framework: portable-net45+sl5+win8, portable-net45+win8, portable-net45+win8+wp8+wpa81 - Zlib.Portable (1.11) - framework: portable-net45+sl5+win8, portable-net45+win8, portable-net45+win8+wp8+wpa81 diff --git a/sample.xml b/sample.xml deleted file mode 100644 index 3cea2a352..000000000 --- a/sample.xml +++ /dev/null @@ -1,13519 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - segments - sequence - - - suspended - running - closed - - - lowpass - highpass - bandpass - lowshelf - highshelf - peaking - notch - allpass - - - nonzero - evenodd - - - max - clamped-max - explicit - - - speakers - discrete - - - linear - inverse - exponential - - - character - word - sentence - textedit - - - mouse - keyboard - gamepad - - - next - nextunique - prev - prevunique - - - pending - done - - - readonly - readwrite - versionchange - - - inactive - active - disambiguation - - - FIDO_2_0 - - - os - stun - turn - peer-derived - - - failed - direct - relay - - - description - localclientevent - inbound-network - outbound-network - inbound-payload - outbound-payload - transportdiagnostics - - - Embedded - USB - NFC - BT - - - unknown - defer - allow - deny - - - geolocation - unlimitedIndexedDBQuota - media - pointerlock - webnotifications - - - audioinput - audiooutput - videoinput - - - license-request - license-renewal - license-release - individualization-request - - - temporary - persistent-license - persistent-release-message - - - usable - expired - output-downscaled - output-not-allowed - status-pending - internal-error - - - required - optional - not-allowed - - - live - ended - - - up - down - left - right - - - navigate - reload - back_forward - prerender - - - auto - ltr - rtl - - - default - denied - granted - - - sine - square - sawtooth - triangle - custom - - - none - 2x - 4x - - - equalpower - - - success - fail - - - - shipping - delivery - pickup - - - p256dh - auth - - - granted - denied - prompt - - - balanced - max-compat - max-bundle - - - maintain-framerate - maintain-resolution - balanced - - - auto - client - server - - - new - connecting - connected - closed - - - host - srflx - prflx - relay - - - RTP - RTCP - - - new - checking - connected - completed - failed - disconnected - closed - - - all - nohost - relay - - - new - gathering - complete - - - new - gathering - complete - - - udp - tcp - - - controlling - controlled - - - active - passive - so - - - none - relay - all - - - new - checking - connected - completed - disconnected - closed - - - offer - pranswer - answer - - - stable - have-local-offer - have-remote-offer - have-local-pranswer - have-remote-pranswer - closed - - - frozen - waiting - inprogress - failed - succeeded - cancelled - - - host - serverreflexive - peerreflexive - relayed - - - inboundrtp - outboundrtp - session - datachannel - track - transport - candidatepair - localcandidate - remotecandidate - - - - no-referrer - no-referrer-when-downgrade - origin-only - origin-when-cross-origin - unsafe-url - - - default - no-store - reload - no-cache - force-cache - - - omit - same-origin - include - - - - document - sharedworker - subresource - unknown - worker - - - navigate - same-origin - no-cors - cors - - - follow - error - manual - - - - audio - font - image - script - style - track - video - - - basic - cors - default - error - opaque - opaqueredirect - - - ScopedCred - - - installing - installed - activating - activated - redundant - - - usb - nfc - ble - - - user - environment - left - right - - - hidden - visible - prerender - unloaded - - - - arraybuffer - blob - document - json - text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CanvasPathMethods - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RandomSource - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GlobalEventHandlers - NodeSelector - DocumentEvent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NodeSelector - - - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GlobalEventHandlers - ElementTraversal - NodeSelector - ChildNode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MSBaseReader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - DOML2DeprecatedSizeProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DOML2DeprecatedColorProperty - DOML2DeprecatedSizeProperty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkStyle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GetSVGDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkStyle - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - HTMLTableAlignment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MSBaseReader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NavigatorID - NavigatorOnLine - NavigatorContentUtils - NavigatorStorageUtils - NavigatorGeolocation - MSNavigatorDoNotTrack - MSFileSaver - NavigatorBeacon - NavigatorConcurrentHardware - NavigatorUserMedia - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CanvasPathMethods - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGUnitTypes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - SVGURIReference - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - - - SVGFilterPrimitiveStandardAttributes - - - - - - - - - - - - - - - - SVGUnitTypes - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGUnitTypes - SVGURIReference - - - - - - - - - - - - SVGTests - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGTests - SVGUnitTypes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGTests - SVGUnitTypes - SVGFitToViewBox - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGAnimatedPoints - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGAnimatedPoints - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DocumentEvent - SVGFitToViewBox - SVGZoomAndPan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVGURIReference - - - - - - - - - - - - - - - SVGZoomAndPan - SVGFitToViewBox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AbstractWorker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WindowTimers - WindowSessionStorage - WindowLocalStorage - WindowConsole - GlobalEventHandlers - IDBEnvironment - WindowBase64 - GlobalFetch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AbstractWorker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XMLHttpRequestEventTarget - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XMLHttpRequestEventTarget - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WindowTimersExtension - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From baa3af7cadd7f65d0f5b59c9e3b52f96ef4c409b Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 13:34:33 -0800 Subject: [PATCH 32/93] Move files around --- inputfiles/{json => }/addedTypes.json | 0 inputfiles/{json => }/comments.json | 0 inputfiles/{json => }/knownWorkerTypes.json | 0 inputfiles/{json => }/overridingTypes.json | 0 inputfiles/{json => }/removedTypes.json | 0 index.ts => src/index.ts | 4 ++-- types.d.ts => src/types.d.ts | 0 tsconfig.json | 6 +++--- 8 files changed, 5 insertions(+), 5 deletions(-) rename inputfiles/{json => }/addedTypes.json (100%) rename inputfiles/{json => }/comments.json (100%) rename inputfiles/{json => }/knownWorkerTypes.json (100%) rename inputfiles/{json => }/overridingTypes.json (100%) rename inputfiles/{json => }/removedTypes.json (100%) rename index.ts => src/index.ts (99%) rename types.d.ts => src/types.d.ts (100%) diff --git a/inputfiles/json/addedTypes.json b/inputfiles/addedTypes.json similarity index 100% rename from inputfiles/json/addedTypes.json rename to inputfiles/addedTypes.json diff --git a/inputfiles/json/comments.json b/inputfiles/comments.json similarity index 100% rename from inputfiles/json/comments.json rename to inputfiles/comments.json diff --git a/inputfiles/json/knownWorkerTypes.json b/inputfiles/knownWorkerTypes.json similarity index 100% rename from inputfiles/json/knownWorkerTypes.json rename to inputfiles/knownWorkerTypes.json diff --git a/inputfiles/json/overridingTypes.json b/inputfiles/overridingTypes.json similarity index 100% rename from inputfiles/json/overridingTypes.json rename to inputfiles/overridingTypes.json diff --git a/inputfiles/json/removedTypes.json b/inputfiles/removedTypes.json similarity index 100% rename from inputfiles/json/removedTypes.json rename to inputfiles/removedTypes.json diff --git a/index.ts b/src/index.ts similarity index 99% rename from index.ts rename to src/index.ts index 1aa0f4c02..2a2c747e4 100644 --- a/index.ts +++ b/src/index.ts @@ -1352,8 +1352,8 @@ function EmitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { function EmitDom() { const __SOURCE_DIRECTORY__ = __dirname; - const inputFolder = path.join(__SOURCE_DIRECTORY__, "inputfiles", "json"); - const outputFolder = path.join(__SOURCE_DIRECTORY__, "generated", "new"); + const inputFolder = path.join(__SOURCE_DIRECTORY__, "../", "inputfiles"); + const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); // Create output folder if (!fs.existsSync(outputFolder)) { diff --git a/types.d.ts b/src/types.d.ts similarity index 100% rename from types.d.ts rename to src/types.d.ts diff --git a/tsconfig.json b/tsconfig.json index 41d2952a0..42ee03d79 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,14 +3,14 @@ "target": "es6", "module": "commonjs", "lib": ["es2016"], + "outDir": "./lib", "strict": true, "esModuleInterop": true, "sourceMap": true, "noUnusedLocals": true, "noUnusedParameters": true }, - "files": [ - "index.ts", - "types.d.ts" + "include": [ + "./src" ] } \ No newline at end of file From 3cec77991dc3b1135721b89c9f80010566d0078b Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 14:35:56 -0800 Subject: [PATCH 33/93] Update readme --- inputfiles/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inputfiles/README.md b/inputfiles/README.md index 8841beb99..9be4babad 100644 --- a/inputfiles/README.md +++ b/inputfiles/README.md @@ -4,7 +4,6 @@ Some files in this directory are generated. Please do not edit them. This specifically includes: -* `browser.webidl.xml` -* `webworkers.webidl.xml` +* `browser.webidl.json` Feel free to send a pull request with changes to any other files. \ No newline at end of file From 5b21243f64c5529ca03222767e0b44324036f934 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 14:36:08 -0800 Subject: [PATCH 34/93] Remove function --- inputfiles/removedTypes.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index 93946812f..988ec22e3 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -1,4 +1,9 @@ { + "callback-functions": { + "callback-function": { + "Function": {} + } + }, "mixin-interfaces": { "interface": {} }, From 624201b24652a81d8f1d3e759fa13d3304c09315 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 14:36:40 -0800 Subject: [PATCH 35/93] Change filtering logic --- src/index.ts | 102 +++++++++++++++++++++++++++++---------------------- 1 file changed, 58 insertions(+), 44 deletions(-) diff --git a/src/index.ts b/src/index.ts index 2a2c747e4..dbdf5f891 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1291,16 +1291,16 @@ function EmitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, ts const result = EmitWebIDl(worker, Flavor.Worker); fs.writeFileSync(tsWorkerOutput, result); return; +} - function filterProperties(obj: Record, fn: (o: T) => boolean): Record { - const result: Record = {}; - for (const e in obj) { - if (fn(obj[e])) { - result[e] = obj[e]; - } +function filterProperties(obj: Record, fn: (o: T) => boolean): Record { + const result: Record = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = obj[e]; } - return result; } + return result; } function EmitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { @@ -1373,7 +1373,7 @@ function EmitDom() { /// Load the input file let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.json")); - const knownWorkerTypes = new Set(require(path.join(inputFolder,"knownWorkerTypes.json"))); + const knownWorkerTypes = new Set(require(path.join(inputFolder, "knownWorkerTypes.json"))); webidl = prune(webidl, removedItems); webidl = merge(webidl, addedItems); @@ -1424,50 +1424,64 @@ function EmitDom() { } function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { - if (template.interfaces && obj.interfaces) { - pruneInterfaces(obj.interfaces.interface, template.interfaces.interface); - } - if (template["callback-interfaces"] && obj["callback-interfaces"]) { - pruneInterfaces(obj["callback-interfaces"]!.interface, template["callback-interfaces"]!.interface); - } - if (template.typedefs && obj.typedefs) { - obj.typedefs.typedef = pruneKeyedArray(obj.typedefs.typedef, template.typedefs.typedef, "new-type"); - } + const result: Browser.WebIdl = { + "callback-functions": { + "callback-function": {} + }, + "callback-interfaces": { + "interface": {} + }, + "dictionaries": { + "dictionary": {} + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": {} + }, + "mixins": { + "mixin": {} + }, + "typedefs": { + "typedef": [] + } + }; - return obj; + if (obj["callback-functions"]) result["callback-functions"]!["callback-function"] = filterProperties(obj["callback-functions"]!["callback-function"], (cb) => !(template["callback-functions"] && template["callback-functions"]!["callback-function"][cb.name])); + if (obj["callback-interfaces"]) result["callback-interfaces"]!.interface = filterInterface(obj["callback-interfaces"]!.interface, template["callback-interfaces"] && template["callback-interfaces"]!.interface); + if (obj.dictionaries) result.dictionaries!.dictionary = filterDictinary(obj.dictionaries.dictionary, template.dictionaries && template.dictionaries.dictionary); + if (obj.enums) result.enums!.enum = filterEnum(obj.enums.enum, template.enums && template.enums.enum); + if (obj.mixins) result.mixins!.mixin = filterInterface(obj.mixins.mixin, template.mixins && template.mixins.mixin); + if (obj.interfaces) result.interfaces!.interface = filterInterface(obj.interfaces.interface, template.interfaces && template.interfaces.interface); + if (obj.typedefs) result.typedefs!.typedef = obj.typedefs.typedef.filter(t => template.typedefs && template.typedefs.typedef.find(o => o["new-type"] === t["new-type"])); - function pruneInterfaces(obj: Record, template: Record) { - for (const i in template) { - if (obj[i]) { - if (!template[i].properties && !template[i].methods) { - delete obj[i]; - } - if (template[i].properties && obj[i].properties) { - obj[i].properties!.property = pruneMap(obj[i].properties!.property, template[i].properties!.property); - } - if (template[i].methods && obj[i].methods) { - obj[i].methods!.method = pruneMap(obj[i].methods!.method, template[i].methods!.method); - } - } - } - } + return result; - function pruneMap(obj: Record, template: Record): Record { - const result: Record = {}; - for (const k in obj) { - if (typeof template[k] === "undefined") { - result[k] = obj[k] - } + function filterInterface(interfaces: Record, template: Record | undefined) { + if (!template) return interfaces; + const result = interfaces; + for (const k in result) { + if (result[k].properties) + result[k].properties!.property = filterProperties(interfaces[k].properties!.property, p => !(template[k] && template[k].properties && template[k].properties!.property[p.name])); + if (result[k].methods) + result[k].methods!.method = filterProperties(interfaces[k].methods!.method, m => !(template[k] && template[k].methods && template[k].methods!.method[m.name])); } return result; } - function pruneKeyedArray(obj: T[], template: T[], k: K) { - const map: any = {}; - for (const e of template) { - map[e[k]] = true; + function filterDictinary(dictinaries: Record, template: Record | undefined) { + if (!template) return dictinaries; + const result = filterProperties(dictinaries, i => !template[i.name]); + for (const k in result) { + if (result[k].members) + result[k].members!.member = filterProperties(dictinaries[k].members!.member, m => !(template[k] && template[k].members && template[k].members!.member[m.name])); } - return obj.filter(e => !map[e[k]]); + return result; + } + function filterEnum(enums: Record, template: Record | undefined) { + if (!template) return enums; + return filterProperties(enums, i => !template[i.name]); } } } From b92083b8df174e36e2fb133c01348604a9a365ad Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 14:44:11 -0800 Subject: [PATCH 36/93] Use camel case --- src/index.ts | 200 +++++++++++++++++++++++++-------------------------- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/src/index.ts b/src/index.ts index dbdf5f891..a5e9b4c64 100644 --- a/src/index.ts +++ b/src/index.ts @@ -167,7 +167,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 eNameToEType[p["event-handler"]!] || defaultEventType; - return eType === "Event" || IsDependsOn(eType, "Event") + return eType === "Event" || dependsOn(eType, "Event") ? eType : defaultEventType; } @@ -215,7 +215,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return arrayToMap(allInterfaces.map(i => [i.name, getParentsWithEventHandler(i)] as [string, Browser.Interface[]])); })(); - return flavor === Flavor.ES6Iterators ? EmitES6DomIterators() : EmitTheWholeThing(); + return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emitTheWholeThing(); // Used to decide if a member should be emitted given its static property and // the intended scope level. @@ -287,7 +287,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Determine if interface1 depends on interface2 - function IsDependsOn(i1Name: string, i2Name: string) { + function dependsOn(i1Name: string, i2Name: string) { return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] ? iNameToIDependList[i1Name].indexOf(i2Name) > -1 : i2Name === "Object"; @@ -367,19 +367,19 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Get typescript type using object dom type, object name, and it's associated interface name - function DomTypeToTsType(obj: Browser.Typed): string { + function convertDomTypeToTsType(obj: Browser.Typed): string { if (!obj || !obj.type) throw new Error("Missing type " + JSON.stringify(obj)); - const type = DomTypeToTsTypeWorker(obj) + const type = convertDomTypeToTsTypeWorker(obj) return type.nullable ? makeNullable(type.name) : type.name; } - function DomTypeToTsTypeWorker(obj: Browser.Typed): { name: string; nullable: boolean } { + function convertDomTypeToTsTypeWorker(obj: Browser.Typed): { name: string; nullable: boolean } { let type; if (typeof obj.type === "string") { - type = { name: DomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; + type = { name: covertDomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; } else { - const types = obj.type.map(DomTypeToTsTypeWorker); + const types = obj.type.map(convertDomTypeToTsTypeWorker); const isAny = types.find(t => t.name === "any"); if (isAny) { type = { @@ -395,7 +395,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - const subtype = obj.subtype ? DomTypeToTsTypeWorker(obj.subtype) : undefined; + const subtype = obj.subtype ? convertDomTypeToTsTypeWorker(obj.subtype) : undefined; const subtypeString = subtype ? subtype.nullable ? makeNullable(subtype.name) : subtype.name : undefined; return { @@ -408,7 +408,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return elementType.indexOf("|") > -1 ? `Array<${elementType}>` : `${elementType}[]`; } - function DomTypeToTsTypeSimple(objDomType: string): string { + function covertDomTypeToTsTypeSimple(objDomType: string): string { if (typeof objDomType !== "string") { throw new Error("Invalid type " + JSON.stringify(objDomType)); } @@ -454,7 +454,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (allTypeDefsMap.has(objDomType)) return objDomType; // Union types if (objDomType.indexOf(" or ") > -1) { - let allTypes: string[] = decomposeTypes(objDomType).map(t => DomTypeToTsTypeSimple(t.replace("?", ""))); + let allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); } else { @@ -463,12 +463,12 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { let genericMatch = /^(\w+)<([\w, <>]+)>$/; let match = genericMatch.exec(unescaped); if (match) { - let tName: string = DomTypeToTsTypeSimple(match[1]); - let paramName: string = DomTypeToTsTypeSimple(match[2]); + let tName: string = covertDomTypeToTsTypeSimple(match[1]); + let paramName: string = covertDomTypeToTsTypeSimple(match[2]); return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; } if (objDomType.endsWith("[]")) { - return DomTypeToTsTypeSimple(objDomType.replace("[]", "").trim()) + "[]"; + return covertDomTypeToTsTypeSimple(objDomType.replace("[]", "").trim()) + "[]"; } } } @@ -487,16 +487,16 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function DomTypeToNullableTsType(obj: Browser.Typed) { - let resolvedType = DomTypeToTsType(obj); + function convertDomTypeToNullableTsType(obj: Browser.Typed) { + let resolvedType = convertDomTypeToTsType(obj); return obj.nullable ? makeNullable(resolvedType) : resolvedType; } function emitConstant(c: Browser.Constant) { - Pt.Printl(`readonly ${c.name}: ${DomTypeToTsType(c)};`); + Pt.Printl(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); } - function EmitConstants(i: Browser.Interface) { + function emitConstants(i: Browser.Interface) { if (i.constants) mapToArray(i.constants.constant) .sort(compareName) @@ -506,9 +506,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { return expectedMName === m.name && m.signature && m.signature.length === 1 && - DomTypeToNullableTsType(m.signature[0]) === expectedMType && + convertDomTypeToNullableTsType(m.signature[0]) === expectedMType && m.signature[0].param && m.signature[0].param!.length === 1 && - DomTypeToTsType(m.signature[0].param![0]) === expectedParamType; + convertDomTypeToTsType(m.signature[0].param![0]) === expectedParamType; } function processInterfaceType(i: Browser.Interface | Browser.Dictionary, name: string) { @@ -516,7 +516,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Emit overloads for the createElement method - function EmitCreateElementOverloads(m: Browser.Method) { + function emitCreateElementOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { Pt.Printl("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); Pt.Printl("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); @@ -524,7 +524,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Emit overloads for the getElementsByTagName method - function EmitGetElementsByTagNameOverloads(m: Browser.Method) { + function emitGetElementsByTagNameOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); @@ -533,7 +533,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Emit overloads for the querySelector method - function EmitQuerySelectorOverloads(m: Browser.Method) { + function emitQuerySelectorOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelector", "Element", "string")) { Pt.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); Pt.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); @@ -542,7 +542,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Emit overloads for the querySelectorAll method - function EmitQuerySelectorAllOverloads(m: Browser.Method) { + function emitQuerySelectorAllOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); @@ -550,7 +550,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitHTMLElementTagNameMap() { + function emitHTMLElementTagNameMap() { Pt.Printl("interface HTMLElementTagNameMap {"); Pt.IncreaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { @@ -564,7 +564,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(""); } - function EmitSVGElementTagNameMap() { + function emitSVGElementTagNameMap() { Pt.Printl("interface SVGElementTagNameMap {"); Pt.IncreaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { @@ -578,14 +578,14 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(""); } - function EmitElementTagNameMap() { + function emitElementTagNameMap() { Pt.Printl("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); Pt.Printl("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); Pt.Printl(""); } /// Emit overloads for the createEvent method - function EmitCreateEventOverloads(m: Browser.Method) { + function emitCreateEventOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "createEvent", "Event", "string")) { // Emit plurals. For example, "Events", "MutationEvents" let hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; @@ -600,10 +600,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Generate the parameters string for function signatures - function ParamsToString(ps: Browser.Param[]) { + function paramsToString(ps: Browser.Param[]) { function paramToString(p: Browser.Param) { let isOptional = !p.variadic && p.optional; - let pType = isOptional ? DomTypeToTsType(p) : DomTypeToNullableTsType(p); + let pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); return (p.variadic ? "..." : "") + AdjustParamName(p.name) + (isOptional ? "?: " : ": ") + @@ -613,7 +613,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return ps.map(paramToString).join(", "); } - function EmitCallBackInterface(i: Browser.Interface) { + function emitCallBackInterface(i: Browser.Interface) { if (i.name === "EventListener") { Pt.Printl(`interface ${i.name} {`); Pt.PrintWithAddedIndent("(evt: Event): void;"); @@ -623,8 +623,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { let methods = mapToArray(i.methods.method); let m = methods[0]; let overload = m.signature[0]; - let paramsString = overload.param ? ParamsToString(overload.param) : ""; - let returnType = overload.type ? DomTypeToTsType(overload) : "void"; + let paramsString = overload.param ? paramsToString(overload.param) : ""; + let returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); } Pt.Printl(""); @@ -644,7 +644,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(""); } - function EmitCallBackFunctions() { + function emitCallBackFunctions() { getElements(webidl["callback-functions"], "callback-function") .sort(compareName) .forEach(emitCallBackFunction); @@ -654,13 +654,13 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); } - function EmitEnums() { + function emitEnums() { getElements(webidl.enums, "enum") .sort(compareName) .forEach(emitEnum); } - function EmitEventHandlerThis(prefix: string, i: Browser.Interface) { + function emitEventHandlerThis(prefix: string, i: Browser.Interface) { if (prefix === "") { return `this: ${i.name} , `; } @@ -710,10 +710,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // events in different interfaces. For example, "onerror" handles "ErrorEvent" // normally, but in "SVGSVGElement" it handles "SVGError" event instead. let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; - pType = `(${EmitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; + pType = `(${emitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; } else { - pType = DomTypeToTsType(p); + pType = convertDomTypeToTsType(p); } } let requiredModifier = !p.required || p.required === "1" ? "" : "?"; @@ -734,7 +734,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + function emitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // Note: the schema file shows the property doesn't have "static" attribute, // therefore all properties are emited for the instance type. if (emitScope !== EmitScope.StaticOnly) { @@ -762,11 +762,11 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } else { switch (m.name) { - case "createElement": return EmitCreateElementOverloads(m); - case "createEvent": return EmitCreateEventOverloads(m); - case "getElementsByTagName": return EmitGetElementsByTagNameOverloads(m); - case "querySelector": return EmitQuerySelectorOverloads(m); - case "querySelectorAll": return EmitQuerySelectorAllOverloads(m); + case "createElement": return emitCreateElementOverloads(m); + case "createEvent": return emitCreateEventOverloads(m); + case "getElementsByTagName": return emitGetElementsByTagNameOverloads(m); + case "querySelector": return emitQuerySelectorOverloads(m); + case "querySelectorAll": return emitQuerySelectorAllOverloads(m); } if (m["additional-signatures"]) { m["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); @@ -777,8 +777,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { - let paramsString = s.param ? ParamsToString(s.param) : ""; - let returnType = DomTypeToTsType(s); + let paramsString = s.param ? paramsToString(s.param) : ""; + let returnType = convertDomTypeToTsType(s); returnType = s.nullable ? makeNullable(returnType) : returnType; printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); } @@ -789,7 +789,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + function emitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // If prefix is not empty, then this is the global declare function addEventListener, we want to override this // Otherwise, this is EventTarget.addEventListener, we want to keep that. function mFilter(m: Browser.Method) { @@ -812,28 +812,28 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Emit the properties and methods of a given interface - function EmitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { + function emitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { let conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); - EmitProperties(prefix, emitScope, i, conflictedMembers); + emitProperties(prefix, emitScope, i, conflictedMembers); let methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; - EmitMethods(methodPrefix, emitScope, i, conflictedMembers); + emitMethods(methodPrefix, emitScope, i, conflictedMembers); } /// Emit all members of every interfaces at the root level. /// Called only once on the global polluter object - function EmitAllMembers(i: Browser.Interface) { + function emitAllMembers(i: Browser.Interface) { let prefix = "declare var "; - EmitMembers(prefix, EmitScope.All, i); + emitMembers(prefix, EmitScope.All, i); for (const relatedIName of iNameToIDependList[i.name]) { const i = allInterfacesMap[relatedIName]; if (i) { - EmitAllMembers(i); + emitAllMembers(i); } } } - function EmitEventHandlers(prefix: string, i: Browser.Interface) { + function emitEventHandlers(prefix: string, i: Browser.Interface) { function getOptionsType(addOrRemove: string) { return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; } @@ -884,7 +884,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } else if (constructor) { for (const s of constructor.signature) { - let paramsString = s.param ? ParamsToString(s.param) : ""; + let paramsString = s.param ? paramsToString(s.param) : ""; Pt.Printl(`new(${paramsString}): ${i.name};`); } } @@ -899,8 +899,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(`prototype: ${i.name};`); EmitConstructorSignature(i); - EmitConstants(i); - EmitMembers("", EmitScope.StaticOnly, i); + emitConstants(i); + emitMembers("", EmitScope.StaticOnly, i); Pt.DecreaseIndent(); Pt.Printl("};"); @@ -911,7 +911,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const nc = i["named-constructor"]; if (nc) { Pt.Printl(`declare var ${nc.name}: {`); - nc.signature.forEach(s => Pt.PrintWithAddedIndent(`new(${s.param ? ParamsToString(s.param) : ""}): ${i.name};`)); + nc.signature.forEach(s => Pt.PrintWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); Pt.Printl(`};`); } } @@ -952,10 +952,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // TypeScript array indexer can only be number or string // for string, it must return a more generic type then all // the other properties, following the Dictionary pattern - switch (DomTypeToTsType(m.signature[0].param![0])) { + switch (convertDomTypeToTsType(m.signature[0].param![0])) { case "number": return true; case "string": - if (DomTypeToTsType(m.signature[0]) === "any") { + if (convertDomTypeToTsType(m.signature[0]) === "any") { return true; } let sig = m.signature[0]; @@ -984,7 +984,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { .forEach(m => { let indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; if (indexer) { - Pt.Printl(`[${indexer.name}: ${DomTypeToTsType(indexer)}]: ${DomTypeToTsType(m.signature[0])};`); + Pt.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType(m.signature[0])};`); } }); } @@ -1021,9 +1021,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(prefix, EmitScope.InstanceOnly, i); - EmitConstants(i); - EmitEventHandlers(prefix, i); + emitMembers(prefix, EmitScope.InstanceOnly, i); + emitConstants(i); + emitEventHandlers(prefix, i); EmitIndexers(EmitScope.InstanceOnly, i); Pt.DecreaseIndent(); @@ -1056,8 +1056,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(prefix, EmitScope.InstanceOnly, i); - EmitEventHandlers(prefix, i); + emitMembers(prefix, EmitScope.InstanceOnly, i); + emitEventHandlers(prefix, i); EmitIndexers(EmitScope.InstanceOnly, i); Pt.DecreaseIndent(); @@ -1065,8 +1065,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(""); Pt.Printl(`declare var ${i.name}: {`); Pt.IncreaseIndent(); - EmitConstants(i); - EmitMembers(prefix, EmitScope.StaticOnly, i); + emitConstants(i); + emitMembers(prefix, EmitScope.StaticOnly, i); Pt.DecreaseIndent(); Pt.Printl("};"); Pt.Printl(""); @@ -1078,9 +1078,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.IncreaseIndent(); let prefix = ""; - EmitMembers(prefix, EmitScope.StaticOnly, i); - EmitConstants(i); - EmitEventHandlers(prefix, i); + emitMembers(prefix, EmitScope.StaticOnly, i); + emitConstants(i); + emitEventHandlers(prefix, i); EmitIndexers(EmitScope.StaticOnly, i); Pt.DecreaseIndent(); Pt.Printl("}"); @@ -1096,7 +1096,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitNonCallbackInterfaces() { + function emitNonCallbackInterfaces() { for (const i of allNonCallbackInterfaces.sort(compareName)) { // If the static attribute has a value, it means the type doesn't have a constructor if (i.static) { @@ -1129,7 +1129,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { tsType = m["override-type"]; } else { - tsType = DomTypeToTsType(m); + tsType = convertDomTypeToTsType(m); tsType = m.nullable ? makeNullable(tsType) : tsType; } let requiredModifier = m.required === 1 ? "" : "?"; @@ -1141,17 +1141,17 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl(""); } - function EmitDictionaries() { + function emitDictionaries() { getElements(webidl.dictionaries, "dictionary") .sort(compareName) .forEach(emitDictionary); } function emitTypeDef(typeDef: Browser.TypeDef) { - Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || DomTypeToTsType(typeDef)};`); + Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || convertDomTypeToTsType(typeDef)};`); } - function EmitTypeDefs() { + function emitTypeDefs() { if (webidl.typedefs) { webidl.typedefs.typedef .forEach(emitTypeDef); @@ -1162,7 +1162,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; } - function EmitTheWholeThing() { + function emitTheWholeThing() { Pt.Reset() Pt.Printl("/////////////////////////////"); if (flavor === Flavor.Worker) { @@ -1174,11 +1174,11 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl("/////////////////////////////"); Pt.Printl(""); - EmitDictionaries(); + emitDictionaries(); getElements(webidl["callback-interfaces"], "interface") .sort(compareName) - .forEach(i => EmitCallBackInterface(i)); - EmitNonCallbackInterfaces(); + .forEach(i => emitCallBackInterface(i)); + emitNonCallbackInterfaces(); // // Add missed interface definition from the spec // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface @@ -1186,27 +1186,27 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { Pt.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); Pt.Printl(""); - EmitCallBackFunctions(); + emitCallBackFunctions(); if (flavor !== Flavor.Worker) { - EmitHTMLElementTagNameMap(); - EmitSVGElementTagNameMap(); - EmitElementTagNameMap(); + emitHTMLElementTagNameMap(); + emitSVGElementTagNameMap(); + emitElementTagNameMap(); EmitNamedConstructors(); } if (pollutor) { - EmitAllMembers(pollutor); - EmitEventHandlers("declare var ", pollutor); + emitAllMembers(pollutor); + emitEventHandlers("declare var ", pollutor); } - EmitTypeDefs(); - EmitEnums(); + emitTypeDefs(); + emitEnums(); return Pt.GetResult(); } - function EmitIterator(i: Browser.Interface) { + function emitIterator(i: Browser.Interface) { // check anonymous unsigned long getter and length property let isIterableGetter = (m: Browser.Method) => @@ -1230,7 +1230,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (iterableGetter && lengthProperty) { Pt.Printl(`interface ${i.name} {`); Pt.IncreaseIndent(); - Pt.Printl(`[Symbol.iterator](): IterableIterator<${DomTypeToTsType(iterableGetter.signature[0])}>`); + Pt.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType(iterableGetter.signature[0])}>`); Pt.DecreaseIndent() Pt.Printl("}"); Pt.Printl(""); @@ -1238,7 +1238,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitES6DomIterators() { + function emitES6DomIterators() { Pt.Reset(); Pt.Printl("/////////////////////////////"); Pt.Printl("/// DOM ES6 APIs"); @@ -1247,13 +1247,13 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { allInterfaces .sort(compareName) - .forEach(EmitIterator); + .forEach(emitIterator); return Pt.GetResult(); } } -function EmitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, tsWorkerOutput: string) { +function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, tsWorkerOutput: string) { const worker: Browser.WebIdl = { "callback-functions": { "callback-function": {} @@ -1303,7 +1303,7 @@ function filterProperties(obj: Record, fn: (o: T) => boolean): Rec return result; } -function EmitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { +function emitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { const browser = filter(webidl, o => { if (o) { if (typeof o.tags === "string") { @@ -1346,11 +1346,11 @@ function EmitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { } } -function EmitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { +function emitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { fs.writeFileSync(tsWebES6Output, EmitWebIDl(webidl, Flavor.ES6Iterators)); } -function EmitDom() { +function emitDom() { const __SOURCE_DIRECTORY__ = __dirname; const inputFolder = path.join(__SOURCE_DIRECTORY__, "../", "inputfiles"); const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); @@ -1380,9 +1380,9 @@ function EmitDom() { webidl = merge(webidl, overriddenItems); webidl = merge(webidl, comments); - EmitDomWeb(webidl, tsWebOutput); - EmitDomWorker(webidl, knownWorkerTypes, tsWorkerOutput); - EmitES6DomIterators(webidl, tsWebES6Output); + emitDomWeb(webidl, tsWebOutput); + emitDomWorker(webidl, knownWorkerTypes, tsWorkerOutput); + emitES6DomIterators(webidl, tsWebES6Output); function mergeNamedArrays(srcProp: T[], targetProp: T[]) { const map: any = {}; @@ -1486,4 +1486,4 @@ function EmitDom() { } } -EmitDom(); \ No newline at end of file +emitDom(); \ No newline at end of file From a0af64d3a59a8faee6777a7a5c30cef9eb217d3f Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 16:37:46 -0800 Subject: [PATCH 37/93] Add test script --- src/test.ts | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/test.ts diff --git a/src/test.ts b/src/test.ts new file mode 100644 index 000000000..681b61a82 --- /dev/null +++ b/src/test.ts @@ -0,0 +1,48 @@ + +import * as fs from "fs"; +import * as path from "path"; +import child_process from "child_process"; + +const __SOURCE_DIRECTORY__ = __dirname; +const baselineFolder = path.join(__SOURCE_DIRECTORY__, "../", "baselines"); +const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); + +function compareToBaselines() { + let success = true; + for (const file of fs.readdirSync(baselineFolder)) { + let baseline = fs.readFileSync(path.join(baselineFolder, file)).toString().replace(/\r\n/, "\n"); + let generated = fs.readFileSync(path.join(outputFolder, file)).toString().replace(/\r\n/, "\n"); + if (baseline !== generated) { + console.error(`Test failed: '${file}' is different from baseline file.`); + success = false; + } + } + return success; + +} + +function compileGeneratedFile(file: string) { + let success = true; + try { + child_process.execSync(`tsc --strict --lib es5 --noEmit ${path.join(outputFolder, file)}`); + } catch (e) { + console.error(`Test failed: could not compile '${file}':`); + console.error(e.stdout.toString()); + console.error(); + success = false; + } + return success; +} + +function test() { + if (compareToBaselines()) { + if (compileGeneratedFile("dom.generated.d.ts") && + compileGeneratedFile("webworker.generated.d.ts")) { + console.log("All tests passed."); + process.exit(0); + } + } + process.exit(1); +} + +test(); \ No newline at end of file From cba9e4811ca49a6e607826e6666efb0c083bbc52 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 16:38:10 -0800 Subject: [PATCH 38/93] Add some build scripts --- build.cmd | 23 +---------------------- build.sh | 5 +++++ package.json | 4 +++- 3 files changed, 9 insertions(+), 23 deletions(-) create mode 100644 build.sh diff --git a/build.cmd b/build.cmd index 3e1dbf3ad..1f2c7e04a 100644 --- a/build.cmd +++ b/build.cmd @@ -1,26 +1,5 @@ @echo off cls -if not exist .paket mkdir .paket - -if not exist .paket/paket.bootstrapper.exe ( - @echo "Installing Paket" - Powershell.exe -NoProfile -Command "Invoke-WebRequest -Uri https://github.com/fsprojects/Paket/releases/download/2.12.5/paket.bootstrapper.exe -OutFile .paket\paket.bootstrapper.exe" - - - .paket\paket.bootstrapper.exe prerelease - if errorlevel 1 ( - exit /b %errorlevel% - ) -) - -if not exist paket.lock ( - @echo "Installing dependencies" - .paket\paket.exe install -) else ( - @echo "Restoring dependencies" - .paket\paket.exe restore -) - @echo "Building..." -packages\FAKE\tools\FAKE.exe %* --fsiargs --optimize+ build.fsx +npm run build & npm run test diff --git a/build.sh b/build.sh new file mode 100644 index 000000000..28911063e --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -eu + +npm run build & npm run test diff --git a/package.json b/package.json index 0ab92da8e..e530e98c9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "description": "AppVeyor Status: [![Build status](https://ci.appveyor.com/api/projects/status/8oj3j7u6nvag1xvu/branch/master?svg=true)](https://ci.appveyor.com/project/zhengbli/tsjs-lib-generator/branch/master)\r Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator)", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "build": "tsc --p ./tsconfig.json & node ./lib/index.js", + "baseline-accept": "copy /Y generated\\* baselines\\", + "test": "tsc --p ./tsconfig.json & node ./lib/test.js" }, "repository": { "type": "git", From 9fc168323d45420acf4310f949b511bca5308c43 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 16:38:34 -0800 Subject: [PATCH 39/93] Accept baselines --- baselines/dom.es6.generated.d.ts | 45 +- baselines/dom.generated.d.ts | 26638 ++++++++++++++------------- baselines/webworker.generated.d.ts | 1516 +- 3 files changed, 14258 insertions(+), 13941 deletions(-) diff --git a/baselines/dom.es6.generated.d.ts b/baselines/dom.es6.generated.d.ts index 6eaf13f32..e5b928721 100644 --- a/baselines/dom.es6.generated.d.ts +++ b/baselines/dom.es6.generated.d.ts @@ -1,4 +1,3 @@ - ///////////////////////////// /// DOM ES6 APIs ///////////////////////////// @@ -7,56 +6,56 @@ interface AudioTrackList { [Symbol.iterator](): IterableIterator } -interface ClientRectList { - [Symbol.iterator](): IterableIterator -} - interface CSSRuleList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface CSSStyleDeclaration { [Symbol.iterator](): IterableIterator } -interface DataTransferItemList { - [Symbol.iterator](): IterableIterator +interface ClientRectList { + [Symbol.iterator](): IterableIterator } interface DOMStringList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface DOMTokenList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } -interface FileList { +interface DataTransferItemList { [Symbol.iterator](): IterableIterator } +interface FileList { + [Symbol.iterator](): IterableIterator +} + interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface HTMLCollection { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator +} + +interface MSRangeCollection { + [Symbol.iterator](): IterableIterator } interface MediaList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface MimeTypeArray { [Symbol.iterator](): IterableIterator } -interface MSRangeCollection { - [Symbol.iterator](): IterableIterator -} - interface NamedNodeMap { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface NodeList { @@ -75,12 +74,8 @@ interface SourceBufferList { [Symbol.iterator](): IterableIterator } -interface Storage { - [Symbol.iterator](): IterableIterator -} - interface StyleSheetList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface StyleSheetPageList { @@ -96,7 +91,7 @@ interface TextTrackList { } interface TouchList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface VideoTrackList { diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a7a5fe039..76a6f0681 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -1,4 +1,3 @@ - ///////////////////////////// /// DOM APIs ///////////////////////////// @@ -11,10 +10,49 @@ interface Account { rpDisplayName: string; } +interface AddEventListenerOptions extends EventListenerOptions { + once?: boolean; + passive?: boolean; +} + +interface AesCbcParams extends Algorithm { + iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; +} + +interface AesCtrParams extends Algorithm { + counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; + length: number; +} + +interface AesDerivedKeyParams extends Algorithm { + length: number; +} + +interface AesGcmParams extends Algorithm { + additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; + iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; + tagLength?: number; +} + +interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; +} + +interface AesKeyGenParams extends Algorithm { + length: number; +} + interface Algorithm { name: string; } +interface AnalyserOptions extends AudioNodeOptions { + fftSize?: number; + maxDecibels?: number; + minDecibels?: number; + smoothingTimeConstant?: number; +} + interface AnimationEventInit extends EventInit { animationName?: string; elapsedTime?: number; @@ -23,10 +61,71 @@ interface AnimationEventInit extends EventInit { interface AssertionOptions { allowList?: ScopedCredentialDescriptor[]; extensions?: WebAuthnExtensions; - rpId?: USVString; + rpId?: string; timeoutSeconds?: number; } +interface AudioBufferOptions { + length: number; + numberOfChannels?: number; + sampleRate: number; +} + +interface AudioBufferSourceOptions { + buffer?: AudioBuffer | null; + detune?: number; + loop?: boolean; + loopEnd?: number; + loopStart?: number; + playbackRate?: number; +} + +interface AudioContextInfo { + currentTime?: number; + sampleRate?: number; +} + +interface AudioContextOptions { + latencyHint?: AudioContextLatencyCategory | number; + sampleRate?: number; +} + +interface AudioNodeOptions { + channelCount?: number; + channelCountMode?: ChannelCountMode; + channelInterpretation?: ChannelInterpretation; +} + +interface AudioParamDescriptor { + defaultValue?: number; + maxValue?: number; + minValue?: number; + name?: string; +} + +interface AudioProcessingEventInit extends EventInit { + inputBuffer: AudioBuffer; + outputBuffer: AudioBuffer; + playbackTime: number; +} + +interface AudioTimestamp { + contextTime?: number; + performanceTime?: number; +} + +interface BiquadFilterOptions extends AudioNodeOptions { + Q?: number; + detune?: number; + frequency?: number; + gain?: number; + type?: BiquadFilterType; +} + +interface ByteLengthChunk { + byteLength?: number; +} + interface CacheQueryOptions { cacheName?: string; ignoreMethod?: boolean; @@ -34,6 +133,14 @@ interface CacheQueryOptions { ignoreVary?: boolean; } +interface ChannelMergerOptions extends AudioNodeOptions { + numberOfInputs?: number; +} + +interface ChannelSplitterOptions extends AudioNodeOptions { + numberOfOutputs?: number; +} + interface ClientData { challenge: string; extensions?: WebAuthnExtensions; @@ -43,6 +150,12 @@ interface ClientData { tokenBinding?: string; } +interface ClientQueryOptions { + includeReserved?: boolean; + includeUncontrolled?: boolean; + type?: ClientType; +} + interface CloseEventInit extends EventInit { code?: number; reason?: string; @@ -57,6 +170,10 @@ interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation arrayOfDomainStrings?: string[]; } +interface ConstantSourceOptions { + offset?: number; +} + interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; @@ -82,10 +199,27 @@ interface ConstrainVideoFacingModeParameters { ideal?: VideoFacingModeEnum | VideoFacingModeEnum[]; } +interface ConvolverOptions extends AudioNodeOptions { + buffer?: AudioBuffer | null; + disableNormalization?: boolean; +} + interface CustomEventInit extends EventInit { detail?: T; } +interface DOMRectInit { + height?: number; + width?: number; + x?: number; + y?: number; +} + +interface DelayOptions extends AudioNodeOptions { + delayTime?: number; + maxDelayTime?: number; +} + interface DeviceAccelerationDict { x?: number | null; y?: number | null; @@ -116,18 +250,39 @@ interface DeviceRotationRateDict { gamma?: number | null; } -interface DOMRectInit { - height?: number; - width?: number; - x?: number; - y?: number; -} - interface DoubleRange { max?: number; min?: number; } +interface DynamicsCompressorOptions extends AudioNodeOptions { + attack?: number; + knee?: number; + ratio?: number; + release?: number; + threshold?: number; +} + +interface EcKeyAlgorithm extends KeyAlgorithm { + namedCurve: string; +} + +interface EcKeyGenParams extends Algorithm { + namedCurve: string; +} + +interface EcKeyImportParams extends Algorithm { + namedCurve: string; +} + +interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; +} + +interface EcdsaParams extends Algorithm { + hash: string | Algorithm; +} + interface ErrorEventInit extends EventInit { colno?: number; error?: any; @@ -137,9 +292,13 @@ interface ErrorEventInit extends EventInit { } interface EventInit { - scoped?: boolean; bubbles?: boolean; cancelable?: boolean; + scoped?: boolean; +} + +interface EventListenerOptions { + capture?: boolean; } interface EventModifierInit extends UIEventInit { @@ -164,6 +323,24 @@ interface ExceptionInformation { domain?: string | null; } +interface ExtendableEventInit extends EventInit { +} + +interface ExtendableMessageEventInit extends ExtendableEventInit { + data?: any; + lastEventId?: string; + origin?: string; + ports?: MessagePort[] | null; + source?: any; +} + +interface FetchEventInit extends ExtendableEventInit { + clientId?: string; + request: Request; + reservedClientId?: string; + targetClientId?: string; +} + interface FocusEventInit extends UIEventInit { relatedTarget?: EventTarget | null; } @@ -183,8 +360,12 @@ interface FocusNavigationOrigin { originWidth?: number; } +interface GainOptions extends AudioNodeOptions { + gain?: number; +} + interface GamepadEventInit extends EventInit { - gamepad?: Gamepad | null; + gamepad?: Gamepad; } interface GetNotificationOptions { @@ -192,8 +373,29 @@ interface GetNotificationOptions { } interface HashChangeEventInit extends EventInit { - newURL?: string | null; - oldURL?: string | null; + newURL?: string; + oldURL?: string; +} + +interface HkdfParams extends Algorithm { + hash: string | Algorithm; + info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; + salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; +} + +interface HmacImportParams extends Algorithm { + hash: string | Algorithm; + length?: number; +} + +interface HmacKeyAlgorithm extends KeyAlgorithm { + hash: KeyAlgorithm; + length: number; +} + +interface HmacKeyGenParams extends Algorithm { + hash: string | Algorithm; + length?: number; } interface IDBIndexParameters { @@ -206,10 +408,15 @@ interface IDBObjectStoreParameters { keyPath?: string | string[]; } +interface IIRFilterOptions extends AudioNodeOptions { + feedback: number[]; + feedforward: number[]; +} + interface IntersectionObserverEntryInit { - isIntersecting: boolean; boundingClientRect: DOMRectInit; intersectionRect: DOMRectInit; + isIntersecting: boolean; rootBounds: DOMRectInit; target: Element; time: number; @@ -221,8 +428,29 @@ interface IntersectionObserverInit { threshold?: number | number[]; } +interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; +} + interface KeyAlgorithm { - name?: string; + name: string; } interface KeyboardEventInit extends EventModifierInit { @@ -237,204 +465,85 @@ interface LongRange { min?: number; } -interface MediaEncryptedEventInit extends EventInit { - initData?: ArrayBuffer | null; - initDataType?: string; +interface MSAccountInfo { + accountImageUri?: string; + accountName?: string; + rpDisplayName: string; + userDisplayName: string; + userId?: string; } -interface MediaKeyMessageEventInit extends EventInit { - message?: ArrayBuffer | null; - messageType?: MediaKeyMessageType; +interface MSAudioLocalClientEvent extends MSLocalClientEventBase { + cpuInsufficientEventRatio?: number; + deviceCaptureNotFunctioningEventRatio?: number; + deviceClippingEventRatio?: number; + deviceEchoEventRatio?: number; + deviceGlitchesEventRatio?: number; + deviceHalfDuplexAECEventRatio?: number; + deviceHowlingEventCount?: number; + deviceLowSNREventRatio?: number; + deviceLowSpeechLevelEventRatio?: number; + deviceMultipleEndpointsEventCount?: number; + deviceNearEndToEchoRatioEventRatio?: number; + deviceRenderMuteEventRatio?: number; + deviceRenderNotFunctioningEventRatio?: number; + deviceRenderZeroVolumeEventRatio?: number; + networkDelayEventRatio?: number; + networkSendQualityEventRatio?: number; } -interface MediaKeySystemConfiguration { - audioCapabilities?: MediaKeySystemMediaCapability[]; - distinctiveIdentifier?: MediaKeysRequirement; - initDataTypes?: string[]; - persistentState?: MediaKeysRequirement; - videoCapabilities?: MediaKeySystemMediaCapability[]; +interface MSAudioRecvPayload extends MSPayloadBase { + burstLossLength1?: number; + burstLossLength2?: number; + burstLossLength3?: number; + burstLossLength4?: number; + burstLossLength5?: number; + burstLossLength6?: number; + burstLossLength7?: number; + burstLossLength8OrHigher?: number; + fecRecvDistance1?: number; + fecRecvDistance2?: number; + fecRecvDistance3?: number; + packetReorderDepthAvg?: number; + packetReorderDepthMax?: number; + packetReorderRatio?: number; + ratioCompressedSamplesAvg?: number; + ratioConcealedSamplesAvg?: number; + ratioStretchedSamplesAvg?: number; + samplingRate?: number; + signal?: MSAudioRecvSignal; } -interface MediaKeySystemMediaCapability { - contentType?: string; - robustness?: string; +interface MSAudioRecvSignal { + initialSignalLevelRMS?: number; + recvNoiseLevelCh1?: number; + recvSignalLevelCh1?: number; + renderLoopbackSignalLevel?: number; + renderNoiseLevel?: number; + renderSignalLevel?: number; } -interface MediaStreamConstraints { - audio?: boolean | MediaTrackConstraints; - video?: boolean | MediaTrackConstraints; +interface MSAudioSendPayload extends MSPayloadBase { + audioFECUsed?: boolean; + samplingRate?: number; + sendMutePercent?: number; + signal?: MSAudioSendSignal; } -interface MediaStreamErrorEventInit extends EventInit { - error?: MediaStreamError | null; +interface MSAudioSendSignal { + noiseLevel?: number; + sendNoiseLevelCh1?: number; + sendSignalLevelCh1?: number; } -interface MediaStreamEventInit extends EventInit { - stream?: MediaStream; +interface MSConnectivity { + iceType?: MSIceType; + iceWarningFlags?: MSIceWarningFlags; + relayAddress?: MSRelayAddress; } -interface MediaStreamTrackEventInit extends EventInit { - track?: MediaStreamTrack | null; -} - -interface MediaTrackCapabilities { - aspectRatio?: number | DoubleRange; - deviceId?: string; - echoCancellation?: boolean[]; - facingMode?: string; - frameRate?: number | DoubleRange; - groupId?: string; - height?: number | LongRange; - sampleRate?: number | LongRange; - sampleSize?: number | LongRange; - volume?: number | DoubleRange; - width?: number | LongRange; -} - -interface MediaTrackConstraints extends MediaTrackConstraintSet { - advanced?: MediaTrackConstraintSet[]; -} - -interface MediaTrackConstraintSet { - aspectRatio?: number | ConstrainDoubleRange; - deviceId?: string | string[] | ConstrainDOMStringParameters; - echoCancelation?: boolean | ConstrainBooleanParameters; - facingMode?: string | string[] | ConstrainDOMStringParameters; - frameRate?: number | ConstrainDoubleRange; - groupId?: string | string[] | ConstrainDOMStringParameters; - height?: number | ConstrainLongRange; - sampleRate?: number | ConstrainLongRange; - sampleSize?: number | ConstrainLongRange; - volume?: number | ConstrainDoubleRange; - width?: number | ConstrainLongRange; -} - -interface MediaTrackSettings { - aspectRatio?: number; - deviceId?: string; - echoCancellation?: boolean; - facingMode?: string; - frameRate?: number; - groupId?: string; - height?: number; - sampleRate?: number; - sampleSize?: number; - volume?: number; - width?: number; -} - -interface MediaTrackSupportedConstraints { - aspectRatio?: boolean; - deviceId?: boolean; - echoCancellation?: boolean; - facingMode?: boolean; - frameRate?: boolean; - groupId?: boolean; - height?: boolean; - sampleRate?: boolean; - sampleSize?: boolean; - volume?: boolean; - width?: boolean; -} - -interface MessageEventInit extends EventInit { - lastEventId?: string; - channel?: string; - data?: any; - origin?: string; - ports?: MessagePort[]; - source?: Window; -} - -interface MouseEventInit extends EventModifierInit { - button?: number; - buttons?: number; - clientX?: number; - clientY?: number; - relatedTarget?: EventTarget | null; - screenX?: number; - screenY?: number; -} - -interface MSAccountInfo { - accountImageUri?: string; - accountName?: string; - rpDisplayName: string; - userDisplayName: string; - userId?: string; -} - -interface MSAudioLocalClientEvent extends MSLocalClientEventBase { - cpuInsufficientEventRatio?: number; - deviceCaptureNotFunctioningEventRatio?: number; - deviceClippingEventRatio?: number; - deviceEchoEventRatio?: number; - deviceGlitchesEventRatio?: number; - deviceHalfDuplexAECEventRatio?: number; - deviceHowlingEventCount?: number; - deviceLowSNREventRatio?: number; - deviceLowSpeechLevelEventRatio?: number; - deviceMultipleEndpointsEventCount?: number; - deviceNearEndToEchoRatioEventRatio?: number; - deviceRenderMuteEventRatio?: number; - deviceRenderNotFunctioningEventRatio?: number; - deviceRenderZeroVolumeEventRatio?: number; - networkDelayEventRatio?: number; - networkSendQualityEventRatio?: number; -} - -interface MSAudioRecvPayload extends MSPayloadBase { - burstLossLength1?: number; - burstLossLength2?: number; - burstLossLength3?: number; - burstLossLength4?: number; - burstLossLength5?: number; - burstLossLength6?: number; - burstLossLength7?: number; - burstLossLength8OrHigher?: number; - fecRecvDistance1?: number; - fecRecvDistance2?: number; - fecRecvDistance3?: number; - packetReorderDepthAvg?: number; - packetReorderDepthMax?: number; - packetReorderRatio?: number; - ratioCompressedSamplesAvg?: number; - ratioConcealedSamplesAvg?: number; - ratioStretchedSamplesAvg?: number; - samplingRate?: number; - signal?: MSAudioRecvSignal; -} - -interface MSAudioRecvSignal { - initialSignalLevelRMS?: number; - recvNoiseLevelCh1?: number; - recvSignalLevelCh1?: number; - renderLoopbackSignalLevel?: number; - renderNoiseLevel?: number; - renderSignalLevel?: number; -} - -interface MSAudioSendPayload extends MSPayloadBase { - audioFECUsed?: boolean; - samplingRate?: number; - sendMutePercent?: number; - signal?: MSAudioSendSignal; -} - -interface MSAudioSendSignal { - noiseLevel?: number; - sendNoiseLevelCh1?: number; - sendSignalLevelCh1?: number; -} - -interface MSConnectivity { - iceType?: MSIceType; - iceWarningFlags?: MSIceWarningFlags; - relayAddress?: MSRelayAddress; -} - -interface MSCredentialFilter { - accept?: MSCredentialSpec[]; +interface MSCredentialFilter { + accept?: MSCredentialSpec[]; } interface MSCredentialParameters { @@ -446,6 +555,16 @@ interface MSCredentialSpec { type: MSCredentialType; } +interface MSDCCEventInit extends EventInit { + maxFr?: number; + maxFs?: number; +} + +interface MSDSHEventInit extends EventInit { + sources?: number[]; + timestamp?: number; +} + interface MSDelay { roundTrip?: number; roundTripMax?: number; @@ -463,7 +582,13 @@ interface MSDescription extends RTCStats { interface MSFIDOCredentialParameters extends MSCredentialParameters { algorithm?: string | Algorithm; - authenticators?: AAGUID[]; + authenticators?: string[]; +} + +interface MSIPAddressInfo { + ipAddr?: string; + manufacturerMacAddrMask?: string; + port?: number; } interface MSIceWarningFlags { @@ -491,12 +616,6 @@ interface MSIceWarningFlags { useCandidateChecksFailed?: boolean; } -interface MSIPAddressInfo { - ipAddr?: string; - manufacturerMacAddrMask?: string; - port?: number; -} - interface MSJitter { interArrival?: number; interArrivalMax?: number; @@ -525,8 +644,8 @@ interface MSNetworkInterfaceType { interfaceTypeEthernet?: boolean; interfaceTypePPP?: boolean; interfaceTypeTunnel?: boolean; - interfaceTypeWireless?: boolean; interfaceTypeWWAN?: boolean; + interfaceTypeWireless?: boolean; } interface MSOutboundNetwork extends MSNetwork { @@ -563,8 +682,8 @@ interface MSTransportDiagnosticsStats extends RTCStats { iceRole?: RTCIceRole; iceWarningFlags?: MSIceWarningFlags; interfaces?: MSNetworkInterfaceType; - localAddress?: string; localAddrType?: MSIceAddrType; + localAddress?: string; localInterface?: MSNetworkInterfaceType; localMR?: string; localMRTCPPort?: number; @@ -578,8 +697,8 @@ interface MSTransportDiagnosticsStats extends RTCStats { portRangeMax?: number; portRangeMin?: number; protocol?: RTCIceProtocol; - remoteAddress?: string; remoteAddrType?: MSIceAddrType; + remoteAddress?: string; remoteMR?: string; remoteMRTCPPort?: number; remoteSite?: string; @@ -648,91 +767,269 @@ interface MSVideoSendPayload extends MSVideoPayload { sendVideoStreamsMax?: number; } -interface MsZoomToOptions { - animate?: string; - contentX?: number; - contentY?: number; - scaleFactor?: number; - viewportX?: string | null; - viewportY?: string | null; -} - -interface MutationObserverInit { - attributeFilter?: string[]; - attributeOldValue?: boolean; - attributes?: boolean; - characterData?: boolean; - characterDataOldValue?: boolean; - childList?: boolean; - subtree?: boolean; -} - -interface NotificationOptions { - body?: string; - dir?: NotificationDirection; - icon?: string; - lang?: string; - tag?: string; +interface MediaElementAudioSourceOptions { + mediaElement: HTMLMediaElement; } -interface ObjectURLOptions { - oneTimeOnly?: boolean; +interface MediaEncryptedEventInit extends EventInit { + initData?: ArrayBuffer | null; + initDataType?: string; } -interface PaymentCurrencyAmount { - currency: string; - currencySystem?: string; - value: string; +interface MediaKeyMessageEventInit extends EventInit { + message?: ArrayBuffer | null; + messageType?: MediaKeyMessageType; } -interface PaymentDetails { - displayItems?: PaymentItem[]; - error?: string; - modifiers?: PaymentDetailsModifier[]; - shippingOptions?: PaymentShippingOption[]; - total?: PaymentItem; +interface MediaKeySystemConfiguration { + audioCapabilities?: MediaKeySystemMediaCapability[]; + distinctiveIdentifier?: MediaKeysRequirement; + initDataTypes?: string[]; + persistentState?: MediaKeysRequirement; + videoCapabilities?: MediaKeySystemMediaCapability[]; } -interface PaymentDetailsModifier { - additionalDisplayItems?: PaymentItem[]; - data?: any; - supportedMethods: string | string[]; - total?: PaymentItem; +interface MediaKeySystemMediaCapability { + contentType?: string; + robustness?: string; } -interface PaymentItem { - amount: PaymentCurrencyAmount; - label: string; - pending?: boolean; +interface MediaStreamConstraints { + audio?: boolean | MediaTrackConstraints; + video?: boolean | MediaTrackConstraints; } -interface PaymentMethodData { - data?: any; - supportedMethods: string | string[]; +interface MediaStreamErrorEventInit extends EventInit { + error?: MediaStreamError | null; } -interface PaymentOptions { - requestPayerEmail?: boolean; - requestPayerName?: boolean; - requestPayerPhone?: boolean; - requestShipping?: boolean; - shippingType?: string; +interface MediaStreamEventInit extends EventInit { + stream?: MediaStream; } -interface PaymentRequestUpdateEventInit extends EventInit { +interface MediaStreamTrackEventInit extends EventInit { + track?: MediaStreamTrack | null; } -interface PaymentShippingOption { +interface MediaTrackCapabilities { + aspectRatio?: number | DoubleRange; + deviceId?: string; + echoCancellation?: boolean[]; + facingMode?: string; + frameRate?: number | DoubleRange; + groupId?: string; + height?: number | LongRange; + sampleRate?: number | LongRange; + sampleSize?: number | LongRange; + volume?: number | DoubleRange; + width?: number | LongRange; +} + +interface MediaTrackConstraintSet { + aspectRatio?: number | ConstrainDoubleRange; + deviceId?: string | string[] | ConstrainDOMStringParameters; + displaySurface?: string | string[] | ConstrainDOMStringParameters; + echoCancelation?: boolean | ConstrainBooleanParameters; + facingMode?: string | string[] | ConstrainDOMStringParameters; + frameRate?: number | ConstrainDoubleRange; + groupId?: string | string[] | ConstrainDOMStringParameters; + height?: number | ConstrainLongRange; + logicalSurface?: boolean | ConstrainBooleanParameters; + sampleRate?: number | ConstrainLongRange; + sampleSize?: number | ConstrainLongRange; + volume?: number | ConstrainDoubleRange; + width?: number | ConstrainLongRange; +} + +interface MediaTrackConstraints extends MediaTrackConstraintSet { + advanced?: MediaTrackConstraintSet[]; +} + +interface MediaTrackSettings { + aspectRatio?: number; + deviceId?: string; + echoCancellation?: boolean; + facingMode?: string; + frameRate?: number; + groupId?: string; + height?: number; + sampleRate?: number; + sampleSize?: number; + volume?: number; + width?: number; +} + +interface MediaTrackSupportedConstraints { + aspectRatio?: boolean; + deviceId?: boolean; + echoCancellation?: boolean; + facingMode?: boolean; + frameRate?: boolean; + groupId?: boolean; + height?: boolean; + sampleRate?: boolean; + sampleSize?: boolean; + volume?: boolean; + width?: boolean; +} + +interface MessageEventInit extends EventInit { + channel?: string; + data?: any; + lastEventId?: string; + origin?: string; + ports?: MessagePort[]; + source?: Window | null; +} + +interface MouseEventInit extends EventModifierInit { + button?: number; + buttons?: number; + clientX?: number; + clientY?: number; + relatedTarget?: EventTarget | null; + screenX?: number; + screenY?: number; +} + +interface MsZoomToOptions { + animate?: string; + contentX?: number; + contentY?: number; + scaleFactor?: number; + viewportX?: string | null; + viewportY?: string | null; +} + +interface MutationObserverInit { + attributeFilter?: string[]; + attributeOldValue?: boolean; + attributes?: boolean; + characterData?: boolean; + characterDataOldValue?: boolean; + childList?: boolean; + subtree?: boolean; +} + +interface NotificationEventInit extends ExtendableEventInit { + action?: string; + notification: Notification; +} + +interface NotificationOptions { + body?: string; + data?: any; + dir?: NotificationDirection; + icon?: string; + lang?: string; + tag?: string; +} + +interface ObjectURLOptions { + oneTimeOnly?: boolean; +} + +interface OfflineAudioCompletionEventInit extends EventInit { + renderedBuffer: AudioBuffer; +} + +interface OscillatorOptions extends AudioNodeOptions { + detune?: number; + frequency?: number; + periodicWave?: PeriodicWave; + type?: OscillatorType; +} + +interface PannerOptions extends AudioNodeOptions { + coneInnerAngle?: number; + coneOuterAngle?: number; + coneOuterGain?: number; + distanceModel?: DistanceModelType; + maxDistance?: number; + orientationX?: number; + orientationY?: number; + orientationZ?: number; + panningModel?: PanningModelType; + positionX?: number; + positionY?: number; + positionZ?: number; + refDistance?: number; + rolloffFactor?: number; +} + +interface PaymentCurrencyAmount { + currency: string; + currencySystem?: string; + value: string; +} + +interface PaymentDetailsBase { + displayItems?: PaymentItem[]; + modifiers?: PaymentDetailsModifier[]; + shippingOptions?: PaymentShippingOption[]; +} + +interface PaymentDetailsInit extends PaymentDetailsBase { + id?: string; + total: PaymentItem; +} + +interface PaymentDetailsModifier { + additionalDisplayItems?: PaymentItem[]; + data?: any; + supportedMethods: string | string[]; + total?: PaymentItem; +} + +interface PaymentDetailsUpdate extends PaymentDetailsBase { + error?: string; + total?: PaymentItem; +} + +interface PaymentItem { + amount: PaymentCurrencyAmount; + label: string; + pending?: boolean; +} + +interface PaymentMethodData { + data?: any; + supportedMethods: string | string[]; +} + +interface PaymentOptions { + requestPayerEmail?: boolean; + requestPayerName?: boolean; + requestPayerPhone?: boolean; + requestShipping?: boolean; + shippingType?: string; +} + +interface PaymentRequestUpdateEventInit extends EventInit { +} + +interface PaymentShippingOption { amount: PaymentCurrencyAmount; id: string; label: string; selected?: boolean; } +interface Pbkdf2Params extends Algorithm { + hash: string | Algorithm; + iterations: number; + salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; +} + interface PeriodicWaveConstraints { disableNormalization?: boolean; } +interface PeriodicWaveOptions extends PeriodicWaveConstraints { + imag?: number[]; + real?: number[]; +} + interface PointerEventInit extends MouseEventInit { height?: number; isPrimary?: boolean; @@ -760,35 +1057,23 @@ interface ProgressEventInit extends EventInit { total?: number; } -interface PushSubscriptionOptionsInit { - applicationServerKey?: BufferSource | null; - userVisibleOnly?: boolean; +interface PushEventInit extends ExtendableEventInit { + data?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | string | null; } -interface RegistrationOptions { - scope?: string; +interface PushSubscriptionChangeInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; } -interface RequestInit { - signal?: AbortSignal; - body?: Blob | BufferSource | FormData | string | null; - cache?: RequestCache; - credentials?: RequestCredentials; - headers?: HeadersInit; - integrity?: string; - keepalive?: boolean; - method?: string; - mode?: RequestMode; - redirect?: RequestRedirect; - referrer?: string; - referrerPolicy?: ReferrerPolicy; - window?: any; +interface PushSubscriptionOptionsInit { + applicationServerKey?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | string | null; + userVisibleOnly?: boolean; } -interface ResponseInit { - headers?: HeadersInit; - status?: number; - statusText?: string; +interface QueuingStrategy { + highWaterMark?: number; + size?: WritableStreamChunkCallback; } interface RTCConfiguration { @@ -798,6 +1083,10 @@ interface RTCConfiguration { peerIdentity?: string; } +interface RTCDTMFToneChangeEventInit extends EventInit { + tone?: string; +} + interface RTCDtlsFingerprint { algorithm?: string; value?: string; @@ -808,10 +1097,6 @@ interface RTCDtlsParameters { role?: RTCDtlsRole; } -interface RTCDTMFToneChangeEventInit extends EventInit { - tone?: string; -} - interface RTCIceCandidateAttributes extends RTCStats { addressSourceUrl?: string; candidateType?: RTCStatsIceCandidateType; @@ -839,8 +1124,8 @@ interface RTCIceCandidateDictionary { interface RTCIceCandidateInit { candidate?: string; - sdpMid?: string; sdpMLineIndex?: number; + sdpMid?: string; } interface RTCIceCandidatePair { @@ -895,13 +1180,13 @@ interface RTCMediaStreamTrackStats extends RTCStats { echoReturnLoss?: number; echoReturnLossEnhancement?: number; frameHeight?: number; + frameWidth?: number; framesCorrupted?: number; framesDecoded?: number; framesDropped?: number; framesPerSecond?: number; framesReceived?: number; framesSent?: number; - frameWidth?: number; remoteSource?: boolean; ssrcIds?: string[]; trackIdentifier?: string; @@ -925,6 +1210,20 @@ interface RTCPeerConnectionIceEventInit extends EventInit { candidate?: RTCIceCandidate; } +interface RTCRTPStreamStats extends RTCStats { + associateStatsId?: string; + codecId?: string; + firCount?: number; + isRemote?: boolean; + mediaTrackId?: string; + mediaType?: string; + nackCount?: number; + pliCount?: number; + sliCount?: number; + ssrc?: string; + transportId?: string; +} + interface RTCRtcpFeedback { parameter?: string; type?: string; @@ -946,9 +1245,9 @@ interface RTCRtpCapabilities { interface RTCRtpCodecCapability { clockRate?: number; kind?: string; - maxptime?: number; maxSpatialLayers?: number; maxTemporalLayers?: number; + maxptime?: number; name?: string; numChannels?: number; options?: any; @@ -965,7 +1264,7 @@ interface RTCRtpCodecParameters { name?: string; numChannels?: number; parameters?: any; - payloadType?: any; + payloadType?: number; ptime?: number; rtcpFeedback?: RTCRtcpFeedback[]; } @@ -1024,19 +1323,6 @@ interface RTCRtpRtxParameters { ssrc?: number; } -interface RTCRTPStreamStats extends RTCStats { - associateStatsId?: string; - codecId?: string; - firCount?: number; - isRemote?: boolean; - mediaTrackId?: string; - nackCount?: number; - pliCount?: number; - sliCount?: number; - ssrc?: string; - transportId?: string; -} - interface RTCRtpUnhandled { muxId?: string; payloadType?: number; @@ -1088,39 +1374,119 @@ interface RTCTransportStats extends RTCStats { selectedCandidatePairId?: string; } -interface ScopedCredentialDescriptor { - id: BufferSource; - transports?: Transport[]; - type: ScopedCredentialType; -} - -interface ScopedCredentialOptions { - excludeList?: ScopedCredentialDescriptor[]; - extensions?: WebAuthnExtensions; - rpId?: USVString; - timeoutSeconds?: number; -} - -interface ScopedCredentialParameters { - algorithm: string | Algorithm; - type: ScopedCredentialType; +interface RegistrationOptions { + scope?: string; } -interface ServiceWorkerMessageEventInit extends EventInit { - data?: any; - lastEventId?: string; - origin?: string; +interface RequestInit { + body?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null; + cache?: RequestCache; + credentials?: RequestCredentials; + headers?: HeadersInit; + integrity?: string; + keepalive?: boolean; + method?: string; + mode?: RequestMode; + redirect?: RequestRedirect; + referrer?: string; + referrerPolicy?: ReferrerPolicy; + signal?: AbortSignal; + window?: any; +} + +interface ResponseInit { + headers?: HeadersInit; + status?: number; + statusText?: string; +} + +interface RsaHashedImportParams extends Algorithm { + hash: string | Algorithm; +} + +interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { + hash: KeyAlgorithm; +} + +interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: string | Algorithm; +} + +interface RsaKeyAlgorithm extends KeyAlgorithm { + modulusLength: number; + publicExponent: Uint8Array; +} + +interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: Uint8Array; +} + +interface RsaOaepParams extends Algorithm { + label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; +} + +interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; +} + +interface RsaPssParams extends Algorithm { + saltLength: number; +} + +interface ScopedCredentialDescriptor { + id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null; + transports?: Transport[]; + type: ScopedCredentialType; +} + +interface ScopedCredentialOptions { + excludeList?: ScopedCredentialDescriptor[]; + extensions?: WebAuthnExtensions; + rpId?: string; + timeoutSeconds?: number; +} + +interface ScopedCredentialParameters { + algorithm: string | Algorithm; + type: ScopedCredentialType; +} + +interface SecurityPolicyViolationEventInit extends EventInit { + blockedURI?: string; + columnNumber?: number; + documentURI?: string; + effectiveDirective?: string; + lineNumber?: number; + originalPolicy?: string; + referrer?: string; + sourceFile?: string; + statusCode?: number; + violatedDirective?: string; +} + +interface ServiceWorkerMessageEventInit extends EventInit { + data?: any; + lastEventId?: string; + origin?: string; ports?: MessagePort[] | null; source?: ServiceWorker | MessagePort | null; } interface SpeechSynthesisEventInit extends EventInit { charIndex?: number; + charLength?: number; elapsedTime?: number; name?: string; utterance?: SpeechSynthesisUtterance | null; } +interface StereoPannerOptions extends AudioNodeOptions { + pan?: number; +} + interface StoreExceptionsInformation extends ExceptionInformation { detailURI?: string | null; explanationString?: string | null; @@ -1131,6 +1497,20 @@ interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformat arrayOfDomainStrings?: string[]; } +interface SyncEventInit extends ExtendableEventInit { + lastChance?: boolean; + tag: string; +} + +interface TextDecodeOptions { + stream?: boolean; +} + +interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; +} + interface TrackEventInit extends EventInit { track?: VideoTrack | AudioTrack | TextTrack | null; } @@ -1145,14 +1525,43 @@ interface UIEventInit extends EventInit { view?: Window | null; } +interface UnderlyingSink { + abort?: WritableStreamErrorCallback; + close?: WritableStreamDefaultControllerCallback; + start: WritableStreamDefaultControllerCallback; + write?: WritableStreamChunkCallback; +} + +interface VRDisplayEventInit extends EventInit { + display: VRDisplay; + reason?: VRDisplayEventReason; +} + +interface VRLayer { + leftBounds?: number[] | null; + rightBounds?: number[] | null; + source?: HTMLCanvasElement | null; +} + +interface VRStageParameters { + sittingToStandingTransform?: Float32Array; + sizeX?: number; + sizeY?: number; +} + +interface WaveShaperOptions extends AudioNodeOptions { + curve?: number[]; + oversample?: OverSampleType; +} + interface WebAuthnExtensions { } interface WebGLContextAttributes { - failIfMajorPerformanceCaveat?: boolean; alpha?: boolean; antialias?: boolean; depth?: boolean; + failIfMajorPerformanceCaveat?: boolean; premultipliedAlpha?: boolean; preserveDrawingBuffer?: boolean; stencil?: boolean; @@ -1179,6 +1588,67 @@ type WebKitErrorCallback = ((err: DOMError) => void) | { handleEvent(err: DOMErr type WebKitFileCallback = ((file: File) => void) | { handleEvent(file: File): void; }; +interface ANGLE_instanced_arrays { + drawArraysInstancedANGLE(mode: number, first: number, count: number, primcount: number): void; + drawElementsInstancedANGLE(mode: number, count: number, type: number, offset: number, primcount: number): void; + vertexAttribDivisorANGLE(index: number, divisor: number): void; + readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number; +} + +declare var ANGLE_instanced_arrays: { + prototype: ANGLE_instanced_arrays; + new(): ANGLE_instanced_arrays; + readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number; +}; + +interface AbortController { + readonly signal: AbortSignal; + abort(): void; +} + +declare var AbortController: { + prototype: AbortController; + new(): AbortController; +}; + +interface AbortSignalEventMap { + "abort": ProgressEvent; +} + +interface AbortSignal extends EventTarget { + readonly aborted: boolean; + onabort: ((this: AbortSignal , ev: ProgressEvent) => any) | null; + addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AbortSignal: { + prototype: AbortSignal; + new(): AbortSignal; +}; + +interface AbstractWorkerEventMap { + "error": ErrorEvent; +} + +interface AbstractWorker { + onerror: ((this: AbstractWorker , ev: ErrorEvent) => any) | null; + addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +interface AesCfbParams extends Algorithm { + iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; +} + +interface AesCmacParams extends Algorithm { + length: number; +} + interface AnalyserNode extends AudioNode { fftSize: number; readonly frequencyBinCount: number; @@ -1196,23 +1666,39 @@ declare var AnalyserNode: { new(): AnalyserNode; }; -interface ANGLE_instanced_arrays { - drawArraysInstancedANGLE(mode: number, first: number, count: number, primcount: number): void; - drawElementsInstancedANGLE(mode: number, count: number, type: number, offset: number, primcount: number): void; - vertexAttribDivisorANGLE(index: number, divisor: number): void; - readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number; +interface Animation { + currentTime: number | null; + effect: AnimationEffectReadOnly; + readonly finished: Promise; + id: string; + readonly pending: boolean; + readonly playState: "idle" | "running" | "paused" | "finished"; + playbackRate: number; + readonly ready: Promise; + startTime: number; + timeline: AnimationTimeline; + cancel(): void; + finish(): void; + oncancel: (this: Animation, ev: AnimationPlaybackEvent) => any; + onfinish: (this: Animation, ev: AnimationPlaybackEvent) => any; + pause(): void; + play(): void; + reverse(): void; } -declare var ANGLE_instanced_arrays: { - prototype: ANGLE_instanced_arrays; - new(): ANGLE_instanced_arrays; - readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number; +declare var Animation: { + prototype: Animation; + new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; }; +interface AnimationEffectReadOnly { + readonly timing: number; + getComputedTiming(): ComputedTimingProperties; +} + interface AnimationEvent extends Event { readonly animationName: string; readonly elapsedTime: number; - initAnimationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, animationNameArg: string, elapsedTimeArg: number): void; } declare var AnimationEvent: { @@ -1220,6 +1706,43 @@ declare var AnimationEvent: { new(typeArg: string, eventInitDict?: AnimationEventInit): AnimationEvent; }; +interface AnimationKeyFrame { + easing?: string | string[]; + offset?: number | null | (number | null)[]; + [index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined; +} + +interface AnimationOptions { + delay?: number; + direction?: "normal" | "reverse" | "alternate" | "alternate-reverse"; + duration?: number; + easing?: string; + endDelay?: number; + fill?: "none" | "forwards" | "backwards" | "both"| "auto"; + id?: string; + iterationStart?: number; + iterations?: number; +} + +interface AnimationPlaybackEvent extends Event { + readonly currentTime: number | null; + readonly timelineTime: number | null; +} + +declare var AnimationPlaybackEvent: { + prototype: AnimationPlaybackEvent; + new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; +}; + +interface AnimationPlaybackEventInit extends EventInit { + currentTime?: number | null; + timelineTime?: number | null; +} + +interface AnimationTimeline { + readonly currentTime: number | null; +} + interface ApplicationCacheEventMap { "cached": Event; "checking": Event; @@ -1232,14 +1755,14 @@ interface ApplicationCacheEventMap { } interface ApplicationCache extends EventTarget { - oncached: (this: ApplicationCache, ev: Event) => any; - onchecking: (this: ApplicationCache, ev: Event) => any; - ondownloading: (this: ApplicationCache, ev: Event) => any; - onerror: (this: ApplicationCache, ev: Event) => any; - onnoupdate: (this: ApplicationCache, ev: Event) => any; - onobsolete: (this: ApplicationCache, ev: Event) => any; - onprogress: (this: ApplicationCache, ev: ProgressEvent) => any; - onupdateready: (this: ApplicationCache, ev: Event) => any; + oncached: ((this: ApplicationCache , ev: Event) => any) | null; + onchecking: ((this: ApplicationCache , ev: Event) => any) | null; + ondownloading: ((this: ApplicationCache , ev: Event) => any) | null; + onerror: ((this: ApplicationCache , ev: Event) => any) | null; + onnoupdate: ((this: ApplicationCache , ev: Event) => any) | null; + onobsolete: ((this: ApplicationCache , ev: Event) => any) | null; + onprogress: ((this: ApplicationCache , ev: ProgressEvent) => any) | null; + onupdateready: ((this: ApplicationCache , ev: Event) => any) | null; readonly status: number; abort(): void; swapCache(): void; @@ -1267,9 +1790,13 @@ declare var ApplicationCache: { readonly UPDATEREADY: number; }; +interface AssignedNodesOptions { + flatten?: boolean; +} + interface Attr extends Node { readonly name: string; - readonly ownerElement: Element; + readonly ownerElement: Element | null; readonly prefix: string | null; readonly specified: boolean; value: string; @@ -1296,7 +1823,7 @@ declare var AudioBuffer: { }; interface AudioBufferSourceNodeEventMap { - "ended": MediaStreamErrorEvent; + "ended": Event; } interface AudioBufferSourceNode extends AudioNode { @@ -1305,7 +1832,7 @@ interface AudioBufferSourceNode extends AudioNode { loop: boolean; loopEnd: number; loopStart: number; - onended: (this: AudioBufferSourceNode, ev: MediaStreamErrorEvent) => any; + onended: ((this: AudioBufferSourceNode , ev: Event) => any) | null; readonly playbackRate: AudioParam; start(when?: number, offset?: number, duration?: number): void; stop(when?: number): void; @@ -1328,7 +1855,7 @@ interface AudioContextBase extends EventTarget { readonly currentTime: number; readonly destination: AudioDestinationNode; readonly listener: AudioListener; - onstatechange: (this: AudioContext, ev: Event) => any; + onstatechange: ((this: AudioContext , ev: Event) => any) | null; readonly sampleRate: number; readonly state: AudioContextState; close(): Promise; @@ -1378,10 +1905,15 @@ declare var AudioDestinationNode: { }; interface AudioListener { + /** @deprecated */ dopplerFactor: number; + /** @deprecated */ speedOfSound: number; + /** @deprecated */ setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; + /** @deprecated */ setPosition(x: number, y: number, z: number): void; + /** @deprecated */ setVelocity(x: number, y: number, z: number): void; } @@ -1399,9 +1931,13 @@ interface AudioNode extends EventTarget { readonly numberOfOutputs: number; connect(destination: AudioNode, output?: number, input?: number): AudioNode; connect(destination: AudioParam, output?: number): void; - disconnect(output?: number): void; - disconnect(destination: AudioNode, output?: number, input?: number): void; - disconnect(destination: AudioParam, output?: number): void; + disconnect(): void; + disconnect(output: number): void; + disconnect(destination: AudioNode): void; + disconnect(destination: AudioNode, output: number): void; + disconnect(destination: AudioNode, output: number, input: number): void; + disconnect(destination: AudioParam): void; + disconnect(destination: AudioParam, output: number): void; } declare var AudioNode: { @@ -1412,12 +1948,12 @@ declare var AudioNode: { interface AudioParam { readonly defaultValue: number; value: number; - cancelScheduledValues(startTime: number): AudioParam; + cancelScheduledValues(cancelTime: number): AudioParam; exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; linearRampToValueAtTime(value: number, endTime: number): AudioParam; setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; setValueAtTime(value: number, startTime: number): AudioParam; - setValueCurveAtTime(values: Float32Array, startTime: number, duration: number): AudioParam; + setValueCurveAtTime(values: number[], startTime: number, duration: number): AudioParam; } declare var AudioParam: { @@ -1458,9 +1994,9 @@ interface AudioTrackListEventMap { interface AudioTrackList extends EventTarget { readonly length: number; - onaddtrack: (this: AudioTrackList, ev: TrackEvent) => any; - onchange: (this: AudioTrackList, ev: Event) => any; - onremovetrack: (this: AudioTrackList, ev: TrackEvent) => any; + onaddtrack: ((this: AudioTrackList , ev: TrackEvent) => any) | null; + onchange: ((this: AudioTrackList , ev: Event) => any) | null; + onremovetrack: ((this: AudioTrackList , ev: TrackEvent) => any) | null; getTrackById(id: string): AudioTrack | null; item(index: number): AudioTrack; addEventListener(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -1493,11 +2029,33 @@ declare var BeforeUnloadEvent: { new(): BeforeUnloadEvent; }; +interface BhxBrowser { + readonly lastError: DOMException; + checkMatchesGlobExpression(pattern: string, value: string): boolean; + checkMatchesUriExpression(pattern: string, value: string): boolean; + clearLastError(): void; + currentWindowId(): number; + fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; + genericFunction(functionId: number, destination: any, parameters?: string, callbackId?: number): void; + genericSynchronousFunction(functionId: number, parameters?: string): string; + getExtensionId(): string; + getThisAddress(): any; + registerGenericFunctionCallbackHandler(callbackHandler: Function): void; + registerGenericListenerHandler(eventHandler: Function): void; + setLastError(parameters: string): void; + webPlatformGenericFunction(destination: any, parameters?: string, callbackId?: number): void; +} + +declare var BhxBrowser: { + prototype: BhxBrowser; + new(): BhxBrowser; +}; + interface BiquadFilterNode extends AudioNode { + readonly Q: AudioParam; readonly detune: AudioParam; readonly frequency: AudioParam; readonly gain: AudioParam; - readonly Q: AudioParam; type: BiquadFilterType; getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; } @@ -1520,113 +2078,50 @@ declare var Blob: { new (blobParts?: any[], options?: BlobPropertyBag): Blob; }; -interface Cache { - add(request: RequestInfo): Promise; - addAll(requests: RequestInfo[]): Promise; - delete(request: RequestInfo, options?: CacheQueryOptions): Promise; - keys(request?: RequestInfo, options?: CacheQueryOptions): Promise; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; - matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise; - put(request: RequestInfo, response: Response): Promise; +interface BlobPropertyBag { + endings?: string; + type?: string; } -declare var Cache: { - prototype: Cache; - new(): Cache; -}; - -interface CacheStorage { - delete(cacheName: string): Promise; - has(cacheName: string): Promise; - keys(): Promise; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; - open(cacheName: string): Promise; +interface Body { + readonly bodyUsed: boolean; + arrayBuffer(): Promise; + blob(): Promise; + formData(): Promise; + json(): Promise; + text(): Promise; } -declare var CacheStorage: { - prototype: CacheStorage; - new(): CacheStorage; -}; - -interface CanvasGradient { - addColorStop(offset: number, color: string): void; +interface BroadcastChannel extends EventTarget { + readonly name: string; + onmessage: (ev: MessageEvent) => any; + onmessageerror: (ev: MessageEvent) => any; + addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + close(): void; + postMessage(message: any): void; + removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var CanvasGradient: { - prototype: CanvasGradient; - new(): CanvasGradient; +declare var BroadcastChannel: { + prototype: BroadcastChannel; + new(name: string): BroadcastChannel; }; -interface CanvasPattern { - setTransform(matrix: SVGMatrix): void; +interface BroadcastChannelEventMap { + message: MessageEvent; + messageerror: MessageEvent; } -declare var CanvasPattern: { - prototype: CanvasPattern; - new(): CanvasPattern; -}; - -interface CanvasRenderingContext2D extends Object, CanvasPathMethods { - readonly canvas: HTMLCanvasElement; - fillStyle: string | CanvasGradient | CanvasPattern; - font: string; - globalAlpha: number; - globalCompositeOperation: string; - imageSmoothingEnabled: boolean; - lineCap: string; - lineDashOffset: number; - lineJoin: string; - lineWidth: number; - miterLimit: number; - msFillRule: CanvasFillRule; - shadowBlur: number; - shadowColor: string; - shadowOffsetX: number; - shadowOffsetY: number; - strokeStyle: string | CanvasGradient | CanvasPattern; - textAlign: string; - textBaseline: string; - mozImageSmoothingEnabled: boolean; - webkitImageSmoothingEnabled: boolean; - oImageSmoothingEnabled: boolean; - beginPath(): void; - clearRect(x: number, y: number, w: number, h: number): void; - clip(fillRule?: CanvasFillRule): void; - clip(path: Path2D, fillRule?: CanvasFillRule): void; - createImageData(imageDataOrSw: number | ImageData, sh?: number): ImageData; - createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; - createPattern(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, repetition: string): CanvasPattern; - createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; - drawFocusIfNeeded(element: Element): void; - drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void; - drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number, dstW: number, dstH: number): void; - drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void; - fill(fillRule?: CanvasFillRule): void; - fill(path: Path2D, fillRule?: CanvasFillRule): void; - fillRect(x: number, y: number, w: number, h: number): void; - fillText(text: string, x: number, y: number, maxWidth?: number): void; - getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; - getLineDash(): number[]; - isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; - isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; - measureText(text: string): TextMetrics; - putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX?: number, dirtyY?: number, dirtyWidth?: number, dirtyHeight?: number): void; - restore(): void; - rotate(angle: number): void; - save(): void; - scale(x: number, y: number): void; - setLineDash(segments: number[]): void; - setTransform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; - stroke(path?: Path2D): void; - strokeRect(x: number, y: number, w: number, h: number): void; - strokeText(text: string, x: number, y: number, maxWidth?: number): void; - transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; - translate(x: number, y: number): void; +interface ByteLengthQueuingStrategy { + highWaterMark: number; + size(chunk?: any): number; } -declare var CanvasRenderingContext2D: { - prototype: CanvasRenderingContext2D; - new(): CanvasRenderingContext2D; +declare var ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new(strategy: QueuingStrategy): ByteLengthQueuingStrategy; }; interface CDATASection extends Text { @@ -1637,305 +2132,122 @@ declare var CDATASection: { new(): CDATASection; }; -interface ChannelMergerNode extends AudioNode { +interface CSS { + supports(property: string, value?: string): boolean; } +declare var CSS: CSS; -declare var ChannelMergerNode: { - prototype: ChannelMergerNode; - new(): ChannelMergerNode; -}; - -interface ChannelSplitterNode extends AudioNode { +interface CSSConditionRule extends CSSGroupingRule { + conditionText: string; } -declare var ChannelSplitterNode: { - prototype: ChannelSplitterNode; - new(): ChannelSplitterNode; +declare var CSSConditionRule: { + prototype: CSSConditionRule; + new(): CSSConditionRule; }; -interface CharacterData extends Node, ChildNode { - data: string; - readonly length: number; - appendData(arg: string): void; - deleteData(offset: number, count: number): void; - insertData(offset: number, arg: string): void; - replaceData(offset: number, count: number, arg: string): void; - substringData(offset: number, count: number): string; +interface CSSFontFaceRule extends CSSRule { + readonly style: CSSStyleDeclaration; } -declare var CharacterData: { - prototype: CharacterData; - new(): CharacterData; +declare var CSSFontFaceRule: { + prototype: CSSFontFaceRule; + new(): CSSFontFaceRule; }; -interface ClientRect { - bottom: number; - readonly height: number; - left: number; - right: number; - top: number; - readonly width: number; +interface CSSGroupingRule extends CSSRule { + readonly cssRules: CSSRuleList; + deleteRule(index: number): void; + insertRule(rule: string, index: number): number; } -declare var ClientRect: { - prototype: ClientRect; - new(): ClientRect; +declare var CSSGroupingRule: { + prototype: CSSGroupingRule; + new(): CSSGroupingRule; }; -interface ClientRectList { - readonly length: number; - item(index: number): ClientRect; - [index: number]: ClientRect; +interface CSSImportRule extends CSSRule { + readonly href: string; + readonly media: MediaList; + readonly styleSheet: CSSStyleSheet; } -declare var ClientRectList: { - prototype: ClientRectList; - new(): ClientRectList; +declare var CSSImportRule: { + prototype: CSSImportRule; + new(): CSSImportRule; }; -interface ClipboardEvent extends Event { - readonly clipboardData: DataTransfer; +interface CSSKeyframeRule extends CSSRule { + keyText: string; + readonly style: CSSStyleDeclaration; } -declare var ClipboardEvent: { - prototype: ClipboardEvent; - new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; +declare var CSSKeyframeRule: { + prototype: CSSKeyframeRule; + new(): CSSKeyframeRule; }; -interface CloseEvent extends Event { - readonly code: number; - readonly reason: string; - readonly wasClean: boolean; - initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void; +interface CSSKeyframesRule extends CSSRule { + readonly cssRules: CSSRuleList; + name: string; + appendRule(rule: string): void; + deleteRule(rule: string): void; + findRule(rule: string): CSSKeyframeRule | null; } -declare var CloseEvent: { - prototype: CloseEvent; - new(typeArg: string, eventInitDict?: CloseEventInit): CloseEvent; +declare var CSSKeyframesRule: { + prototype: CSSKeyframesRule; + new(): CSSKeyframesRule; }; -interface Comment extends CharacterData { - text: string; +interface CSSMediaRule extends CSSConditionRule { + readonly media: MediaList; } -declare var Comment: { - prototype: Comment; - new(): Comment; +declare var CSSMediaRule: { + prototype: CSSMediaRule; + new(): CSSMediaRule; }; -interface CompositionEvent extends UIEvent { - readonly data: string; - readonly locale: string; - initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void; +interface CSSNamespaceRule extends CSSRule { + readonly namespaceURI: string; + readonly prefix: string; } -declare var CompositionEvent: { - prototype: CompositionEvent; - new(typeArg: string, eventInitDict?: CompositionEventInit): CompositionEvent; +declare var CSSNamespaceRule: { + prototype: CSSNamespaceRule; + new(): CSSNamespaceRule; }; -interface Console { - assert(test?: boolean, message?: string, ...optionalParams: any[]): void; - clear(): void; - count(countTitle?: string): void; - debug(message?: any, ...optionalParams: any[]): void; - dir(value?: any, ...optionalParams: any[]): void; - dirxml(value: any): void; - error(message?: any, ...optionalParams: any[]): void; - exception(message?: string, ...optionalParams: any[]): void; - group(groupTitle?: string, ...optionalParams: any[]): void; - groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void; - groupEnd(): void; - info(message?: any, ...optionalParams: any[]): void; - log(message?: any, ...optionalParams: any[]): void; - msIsIndependentlyComposed(element: Element): boolean; - profile(reportName?: string): void; - profileEnd(): void; - select(element: Element): void; - table(...data: any[]): void; - time(timerName?: string): void; - timeEnd(timerName?: string): void; - trace(message?: any, ...optionalParams: any[]): void; - warn(message?: any, ...optionalParams: any[]): void; +interface CSSPageRule extends CSSRule { + readonly pseudoClass: string; + readonly selector: string; + selectorText: string; + readonly style: CSSStyleDeclaration; } -declare var Console: { - prototype: Console; - new(): Console; +declare var CSSPageRule: { + prototype: CSSPageRule; + new(): CSSPageRule; }; -interface ConvolverNode extends AudioNode { - buffer: AudioBuffer | null; - normalize: boolean; -} - -declare var ConvolverNode: { - prototype: ConvolverNode; - new(): ConvolverNode; -}; - -interface Coordinates { - readonly accuracy: number; - readonly altitude: number | null; - readonly altitudeAccuracy: number | null; - readonly heading: number | null; - readonly latitude: number; - readonly longitude: number; - readonly speed: number | null; -} - -declare var Coordinates: { - prototype: Coordinates; - new(): Coordinates; -}; - -interface Crypto extends Object, RandomSource { - readonly subtle: SubtleCrypto; -} - -declare var Crypto: { - prototype: Crypto; - new(): Crypto; -}; - -interface CryptoKey { - readonly algorithm: KeyAlgorithm; - readonly extractable: boolean; - readonly type: string; - readonly usages: string[]; -} - -declare var CryptoKey: { - prototype: CryptoKey; - new(): CryptoKey; -}; - -interface CryptoKeyPair { - privateKey: CryptoKey; - publicKey: CryptoKey; -} - -declare var CryptoKeyPair: { - prototype: CryptoKeyPair; - new(): CryptoKeyPair; -}; - -interface CSS { - supports(property: string, value?: string): boolean; -} -declare var CSS: CSS; - -interface CSSConditionRule extends CSSGroupingRule { - conditionText: string; -} - -declare var CSSConditionRule: { - prototype: CSSConditionRule; - new(): CSSConditionRule; -}; - -interface CSSFontFaceRule extends CSSRule { - readonly style: CSSStyleDeclaration; -} - -declare var CSSFontFaceRule: { - prototype: CSSFontFaceRule; - new(): CSSFontFaceRule; -}; - -interface CSSGroupingRule extends CSSRule { - readonly cssRules: CSSRuleList; - deleteRule(index: number): void; - insertRule(rule: string, index: number): number; -} - -declare var CSSGroupingRule: { - prototype: CSSGroupingRule; - new(): CSSGroupingRule; -}; - -interface CSSImportRule extends CSSRule { - readonly href: string; - readonly media: MediaList; - readonly styleSheet: CSSStyleSheet; -} - -declare var CSSImportRule: { - prototype: CSSImportRule; - new(): CSSImportRule; -}; - -interface CSSKeyframeRule extends CSSRule { - keyText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSKeyframeRule: { - prototype: CSSKeyframeRule; - new(): CSSKeyframeRule; -}; - -interface CSSKeyframesRule extends CSSRule { - readonly cssRules: CSSRuleList; - name: string; - appendRule(rule: string): void; - deleteRule(rule: string): void; - findRule(rule: string): CSSKeyframeRule; -} - -declare var CSSKeyframesRule: { - prototype: CSSKeyframesRule; - new(): CSSKeyframesRule; -}; - -interface CSSMediaRule extends CSSConditionRule { - readonly media: MediaList; -} - -declare var CSSMediaRule: { - prototype: CSSMediaRule; - new(): CSSMediaRule; -}; - -interface CSSNamespaceRule extends CSSRule { - readonly namespaceURI: string; - readonly prefix: string; -} - -declare var CSSNamespaceRule: { - prototype: CSSNamespaceRule; - new(): CSSNamespaceRule; -}; - -interface CSSPageRule extends CSSRule { - readonly pseudoClass: string; - readonly selector: string; - selectorText: string; - readonly style: CSSStyleDeclaration; -} - -declare var CSSPageRule: { - prototype: CSSPageRule; - new(): CSSPageRule; -}; - -interface CSSRule { - cssText: string; - readonly parentRule: CSSRule; - readonly parentStyleSheet: CSSStyleSheet; - readonly type: number; - readonly CHARSET_RULE: number; - readonly FONT_FACE_RULE: number; - readonly IMPORT_RULE: number; - readonly KEYFRAME_RULE: number; - readonly KEYFRAMES_RULE: number; - readonly MEDIA_RULE: number; - readonly NAMESPACE_RULE: number; - readonly PAGE_RULE: number; - readonly STYLE_RULE: number; - readonly SUPPORTS_RULE: number; - readonly UNKNOWN_RULE: number; - readonly VIEWPORT_RULE: number; +interface CSSRule { + cssText: string; + readonly parentRule: CSSRule | null; + readonly parentStyleSheet: CSSStyleSheet | null; + readonly type: number; + readonly CHARSET_RULE: number; + readonly FONT_FACE_RULE: number; + readonly IMPORT_RULE: number; + readonly KEYFRAMES_RULE: number; + readonly KEYFRAME_RULE: number; + readonly MEDIA_RULE: number; + readonly NAMESPACE_RULE: number; + readonly PAGE_RULE: number; + readonly STYLE_RULE: number; + readonly SUPPORTS_RULE: number; + readonly UNKNOWN_RULE: number; + readonly VIEWPORT_RULE: number; } declare var CSSRule: { @@ -1944,8 +2256,8 @@ declare var CSSRule: { readonly CHARSET_RULE: number; readonly FONT_FACE_RULE: number; readonly IMPORT_RULE: number; - readonly KEYFRAME_RULE: number; readonly KEYFRAMES_RULE: number; + readonly KEYFRAME_RULE: number; readonly MEDIA_RULE: number; readonly NAMESPACE_RULE: number; readonly PAGE_RULE: number; @@ -1957,8 +2269,8 @@ declare var CSSRule: { interface CSSRuleList { readonly length: number; - item(index: number): CSSRule; - [index: number]: CSSRule; + item(index: number): CSSRule | null; + [index: number]: CSSRule | null; } declare var CSSRuleList: { @@ -1969,8 +2281,8 @@ declare var CSSRuleList: { interface CSSStyleDeclaration { alignContent: string | null; alignItems: string | null; - alignmentBaseline: string | null; alignSelf: string | null; + alignmentBaseline: string | null; animation: string | null; animationDelay: string | null; animationDirection: string | null; @@ -2046,9 +2358,9 @@ interface CSSStyleDeclaration { columnRuleColor: any; columnRuleStyle: string | null; columnRuleWidth: any; - columns: string | null; columnSpan: string | null; columnWidth: any; + columns: string | null; content: string | null; counterIncrement: string | null; counterReset: string | null; @@ -2082,11 +2394,32 @@ interface CSSStyleDeclaration { fontStyle: string | null; fontVariant: string | null; fontWeight: string | null; + gap: string | null; glyphOrientationHorizontal: string | null; glyphOrientationVertical: string | null; + grid: string | null; + gridArea: string | null; + gridAutoColumns: string | null; + gridAutoFlow: string | null; + gridAutoRows: string | null; + gridColumn: string | null; + gridColumnEnd: string | null; + gridColumnGap: string | null; + gridColumnStart: string | null; + gridGap: string | null; + gridRow: string | null; + gridRowEnd: string | null; + gridRowGap: string | null; + gridRowStart: string | null; + gridTemplate: string | null; + gridTemplateAreas: string | null; + gridTemplateColumns: string | null; + gridTemplateRows: string | null; height: string | null; imeMode: string | null; justifyContent: string | null; + justifyItems: string | null; + justifySelf: string | null; kerning: string | null; layoutGrid: string | null; layoutGridChar: string | null; @@ -2113,29 +2446,30 @@ interface CSSStyleDeclaration { markerMid: string | null; markerStart: string | null; mask: string | null; + maskImage: string | null; maxHeight: string | null; maxWidth: string | null; minHeight: string | null; minWidth: string | null; msContentZoomChaining: string | null; - msContentZooming: string | null; msContentZoomLimit: string | null; msContentZoomLimitMax: any; msContentZoomLimitMin: any; msContentZoomSnap: string | null; msContentZoomSnapPoints: string | null; msContentZoomSnapType: string | null; + msContentZooming: string | null; msFlowFrom: string | null; msFlowInto: string | null; msFontFeatureSettings: string | null; msGridColumn: any; msGridColumnAlign: string | null; - msGridColumns: string | null; msGridColumnSpan: any; + msGridColumns: string | null; msGridRow: any; msGridRowAlign: string | null; - msGridRows: string | null; msGridRowSpan: any; + msGridRows: string | null; msHighContrastAdjust: string | null; msHyphenateLimitChars: string | null; msHyphenateLimitLines: any; @@ -2164,6 +2498,8 @@ interface CSSStyleDeclaration { msWrapFlow: string; msWrapMargin: any; msWrapThrough: string; + objectFit: string | null; + objectPosition: string | null; opacity: string | null; order: string | null; orphans: string | null; @@ -2184,13 +2520,16 @@ interface CSSStyleDeclaration { pageBreakBefore: string | null; pageBreakInside: string | null; readonly parentRule: CSSRule; + penAction: string | null; perspective: string | null; perspectiveOrigin: string | null; pointerEvents: string | null; position: string | null; quotes: string | null; + resize: string | null; right: string | null; rotate: string | null; + rowGap: string | null; rubyAlign: string | null; rubyOverhang: string | null; rubyPosition: string | null; @@ -2209,6 +2548,7 @@ interface CSSStyleDeclaration { textAlign: string | null; textAlignLast: string | null; textAnchor: string | null; + textCombineUpright: string | null; textDecoration: string | null; textIndent: string | null; textJustify: string | null; @@ -2230,6 +2570,7 @@ interface CSSStyleDeclaration { transitionTimingFunction: string | null; translate: string | null; unicodeBidi: string | null; + userSelect: string | null; verticalAlign: string | null; visibility: string | null; webkitAlignContent: string | null; @@ -2271,9 +2612,9 @@ interface CSSStyleDeclaration { webkitColumnRuleColor: any; webkitColumnRuleStyle: string | null; webkitColumnRuleWidth: any; - webkitColumns: string | null; webkitColumnSpan: string | null; webkitColumnWidth: any; + webkitColumns: string | null; webkitFilter: string | null; webkitFlex: string | null; webkitFlexBasis: string | null; @@ -2312,13 +2653,11 @@ interface CSSStyleDeclaration { writingMode: string | null; zIndex: string | null; zoom: string | null; - resize: string | null; - userSelect: string | null; getPropertyPriority(propertyName: string): string; getPropertyValue(propertyName: string): string; item(index: number): string; removeProperty(propertyName: string): string; - setProperty(propertyName: string, value: string | null, priority?: string): void; + setProperty(propertyName: string, value: string | null, priority?: string | null): void; [index: number]: string; } @@ -2328,7 +2667,6 @@ declare var CSSStyleDeclaration: { }; interface CSSStyleRule extends CSSRule { - readonly readOnly: boolean; selectorText: string; readonly style: CSSStyleDeclaration; } @@ -2340,21 +2678,32 @@ declare var CSSStyleRule: { interface CSSStyleSheet extends StyleSheet { readonly cssRules: CSSRuleList; + /** @deprecated */ cssText: string; + /** @deprecated */ readonly id: string; + /** @deprecated */ readonly imports: StyleSheetList; + /** @deprecated */ readonly isAlternate: boolean; + /** @deprecated */ readonly isPrefAlternate: boolean; - readonly ownerRule: CSSRule; + readonly ownerRule: CSSRule | null; + /** @deprecated */ readonly owningElement: Element; + /** @deprecated */ readonly pages: StyleSheetPageList; + /** @deprecated */ readonly readOnly: boolean; readonly rules: CSSRuleList; + /** @deprecated */ addImport(bstrURL: string, lIndex?: number): number; + /** @deprecated */ addPageRule(bstrSelector: string, bstrStyle: string, lIndex?: number): number; addRule(bstrSelector: string, bstrStyle?: string, lIndex?: number): number; deleteRule(index?: number): void; insertRule(rule: string, index?: number): number; + /** @deprecated */ removeImport(lIndex: number): void; removeRule(lIndex: number): void; } @@ -2372,12568 +2721,12708 @@ declare var CSSSupportsRule: { new(): CSSSupportsRule; }; -interface CustomEvent extends Event { - readonly detail: T; - initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void; +interface Cache { + add(request: Request | string): Promise; + addAll(requests: Array): Promise; + delete(request: Request | string, options?: CacheQueryOptions): Promise; + keys(request?: Request | string, options?: CacheQueryOptions): Promise; + match(request: Request | string, options?: CacheQueryOptions): Promise; + matchAll(request?: Request | string, options?: CacheQueryOptions): Promise; + put(request: Request | string, response: Response): Promise; } -declare var CustomEvent: { - prototype: CustomEvent; - new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent; +declare var Cache: { + prototype: Cache; + new(): Cache; }; -interface DataCue extends TextTrackCue { - data: ArrayBuffer; - addEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +interface CacheStorage { + delete(cacheName: string): Promise; + has(cacheName: string): Promise; + keys(): Promise; + match(request: Request | string, options?: CacheQueryOptions): Promise; + open(cacheName: string): Promise; } -declare var DataCue: { - prototype: DataCue; - new(): DataCue; +declare var CacheStorage: { + prototype: CacheStorage; + new(): CacheStorage; }; -interface DataTransfer { - dropEffect: string; - effectAllowed: string; - readonly files: FileList; - readonly items: DataTransferItemList; - readonly types: string[]; - clearData(format?: string): boolean; - getData(format: string): string; - setData(format: string, data: string): boolean; - setDragImage(image: Element, x: number, y: number): void; +interface Canvas2DContextAttributes { + alpha?: boolean; + storage?: boolean; + willReadFrequently?: boolean; + [attribute: string]: boolean | string | undefined; } -declare var DataTransfer: { - prototype: DataTransfer; - new(): DataTransfer; -}; - -interface DataTransferItem { - readonly kind: string; - readonly type: string; - getAsFile(): File | null; - getAsString(_callback: FunctionStringCallback | null): void; - webkitGetAsEntry(): any; +interface CanvasGradient { + addColorStop(offset: number, color: string): void; } -declare var DataTransferItem: { - prototype: DataTransferItem; - new(): DataTransferItem; +declare var CanvasGradient: { + prototype: CanvasGradient; + new(): CanvasGradient; }; -interface DataTransferItemList { - readonly length: number; - add(data: File): DataTransferItem | null; - clear(): void; - item(index: number): DataTransferItem; - remove(index: number): void; - [index: number]: DataTransferItem; +interface CanvasPathMethods { + arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radiusX: number, radiusY: number, rotation: number): void; + bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; + closePath(): void; + ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; + lineTo(x: number, y: number): void; + moveTo(x: number, y: number): void; + quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; + rect(x: number, y: number, w: number, h: number): void; } -declare var DataTransferItemList: { - prototype: DataTransferItemList; - new(): DataTransferItemList; -}; - -interface DeferredPermissionRequest { - readonly id: number; - readonly type: MSWebViewPermissionType; - readonly uri: string; - allow(): void; - deny(): void; +interface CanvasPattern { + setTransform(matrix: SVGMatrix): void; } -declare var DeferredPermissionRequest: { - prototype: DeferredPermissionRequest; - new(): DeferredPermissionRequest; +declare var CanvasPattern: { + prototype: CanvasPattern; + new(): CanvasPattern; }; -interface DelayNode extends AudioNode { - readonly delayTime: AudioParam; +interface CanvasRenderingContext2D extends CanvasPathMethods { + readonly canvas: HTMLCanvasElement; + fillStyle: string | CanvasGradient | CanvasPattern; + font: string; + globalAlpha: number; + globalCompositeOperation: string; + imageSmoothingEnabled: boolean; + lineCap: string; + lineDashOffset: number; + lineJoin: string; + lineWidth: number; + miterLimit: number; + mozImageSmoothingEnabled: boolean; + msFillRule: CanvasFillRule; + oImageSmoothingEnabled: boolean; + shadowBlur: number; + shadowColor: string; + shadowOffsetX: number; + shadowOffsetY: number; + strokeStyle: string | CanvasGradient | CanvasPattern; + textAlign: string; + textBaseline: string; + webkitImageSmoothingEnabled: boolean; + beginPath(): void; + clearRect(x: number, y: number, w: number, h: number): void; + clip(fillRule?: CanvasFillRule): void; + clip(path: Path2D, fillRule?: CanvasFillRule): void; + createImageData(imageDataOrSw: number | ImageData, sh?: number): ImageData; + createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; + createPattern(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, repetition: string): CanvasPattern; + createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; + drawFocusIfNeeded(element: Element): void; + drawFocusIfNeeded(path: Path2D, element: Element): void; + drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void; + drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number, dstW: number, dstH: number): void; + drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void; + fill(fillRule?: CanvasFillRule): void; + fill(path: Path2D, fillRule?: CanvasFillRule): void; + fillRect(x: number, y: number, w: number, h: number): void; + fillText(text: string, x: number, y: number, maxWidth?: number): void; + getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; + getLineDash(): number[]; + isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInStroke(x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInStroke(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; + measureText(text: string): TextMetrics; + putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX?: number, dirtyY?: number, dirtyWidth?: number, dirtyHeight?: number): void; + restore(): void; + rotate(angle: number): void; + save(): void; + scale(x: number, y: number): void; + setLineDash(segments: number[]): void; + setTransform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; + stroke(path?: Path2D): void; + strokeRect(x: number, y: number, w: number, h: number): void; + strokeText(text: string, x: number, y: number, maxWidth?: number): void; + transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; + translate(x: number, y: number): void; } -declare var DelayNode: { - prototype: DelayNode; - new(): DelayNode; +declare var CanvasRenderingContext2D: { + prototype: CanvasRenderingContext2D; + new(): CanvasRenderingContext2D; }; -interface DeviceAcceleration { - readonly x: number | null; - readonly y: number | null; - readonly z: number | null; +interface ChannelMergerNode extends AudioNode { } -declare var DeviceAcceleration: { - prototype: DeviceAcceleration; - new(): DeviceAcceleration; +declare var ChannelMergerNode: { + prototype: ChannelMergerNode; + new(): ChannelMergerNode; }; -interface DeviceLightEvent extends Event { - readonly value: number; +interface ChannelSplitterNode extends AudioNode { } -declare var DeviceLightEvent: { - prototype: DeviceLightEvent; - new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent; +declare var ChannelSplitterNode: { + prototype: ChannelSplitterNode; + new(): ChannelSplitterNode; }; -interface DeviceMotionEvent extends Event { - readonly acceleration: DeviceAcceleration | null; - readonly accelerationIncludingGravity: DeviceAcceleration | null; - readonly interval: number | null; - readonly rotationRate: DeviceRotationRate | null; - initDeviceMotionEvent(type: string, bubbles: boolean, cancelable: boolean, acceleration: DeviceAccelerationDict | null, accelerationIncludingGravity: DeviceAccelerationDict | null, rotationRate: DeviceRotationRateDict | null, interval: number | null): void; +interface CharacterData extends Node, ChildNode { + data: string; + readonly length: number; + appendData(arg: string): void; + deleteData(offset: number, count: number): void; + insertData(offset: number, arg: string): void; + replaceData(offset: number, count: number, arg: string): void; + substringData(offset: number, count: number): string; } -declare var DeviceMotionEvent: { - prototype: DeviceMotionEvent; - new(typeArg: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; +declare var CharacterData: { + prototype: CharacterData; + new(): CharacterData; }; -interface DeviceOrientationEvent extends Event { - readonly absolute: boolean; - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; - initDeviceOrientationEvent(type: string, bubbles: boolean, cancelable: boolean, alpha: number | null, beta: number | null, gamma: number | null, absolute: boolean): void; +interface ChildNode { + remove(): void; } -declare var DeviceOrientationEvent: { - prototype: DeviceOrientationEvent; - new(typeArg: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; +interface ClientRect { + bottom: number; + readonly height: number; + left: number; + right: number; + top: number; + readonly width: number; +} + +declare var ClientRect: { + prototype: ClientRect; + new(): ClientRect; }; -interface DeviceRotationRate { - readonly alpha: number | null; - readonly beta: number | null; - readonly gamma: number | null; +interface ClientRectList { + readonly length: number; + item(index: number): ClientRect; + [index: number]: ClientRect; } -declare var DeviceRotationRate: { - prototype: DeviceRotationRate; - new(): DeviceRotationRate; +declare var ClientRectList: { + prototype: ClientRectList; + new(): ClientRectList; }; -interface DocumentEventMap extends GlobalEventHandlersEventMap { - "abort": UIEvent; - "activate": UIEvent; - "beforeactivate": UIEvent; - "beforedeactivate": UIEvent; - "blur": FocusEvent; - "canplay": Event; - "canplaythrough": Event; - "change": Event; - "click": MouseEvent; - "contextmenu": PointerEvent; - "dblclick": MouseEvent; - "deactivate": UIEvent; - "drag": DragEvent; - "dragend": DragEvent; - "dragenter": DragEvent; - "dragleave": DragEvent; - "dragover": DragEvent; - "dragstart": DragEvent; - "drop": DragEvent; - "durationchange": Event; - "emptied": Event; - "ended": MediaStreamErrorEvent; - "error": ErrorEvent; - "focus": FocusEvent; - "fullscreenchange": Event; - "fullscreenerror": Event; - "input": Event; - "invalid": Event; - "keydown": KeyboardEvent; - "keypress": KeyboardEvent; - "keyup": KeyboardEvent; - "load": Event; - "loadeddata": Event; - "loadedmetadata": Event; - "loadstart": Event; - "mousedown": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; - "mousewheel": WheelEvent; - "MSContentZoom": UIEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSInertiaStart": MSGestureEvent; - "MSManipulationStateChanged": MSManipulationEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; - "mssitemodejumplistitemremoved": MSSiteModeEvent; - "msthumbnailclick": MSSiteModeEvent; - "pause": Event; - "play": Event; - "playing": Event; - "pointerlockchange": Event; - "pointerlockerror": Event; - "progress": ProgressEvent; - "ratechange": Event; - "readystatechange": Event; - "reset": Event; - "scroll": UIEvent; - "seeked": Event; - "seeking": Event; - "select": UIEvent; - "selectionchange": Event; - "selectstart": Event; - "stalled": Event; - "stop": Event; - "submit": Event; - "suspend": Event; - "timeupdate": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; - "volumechange": Event; - "waiting": Event; - "webkitfullscreenchange": Event; - "webkitfullscreenerror": Event; +interface ClipboardEvent extends Event { + readonly clipboardData: DataTransfer; } -interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEvent, ParentNode, DocumentOrShadowRoot { - /** - * Gets the object that has the focus when the parent document has focus. - */ - readonly activeElement: Element; - /** - * Sets or gets the color of all active links in the document. - */ - alinkColor: string; - /** - * Returns a reference to the collection of elements contained by the object. - */ - readonly all: HTMLAllCollection; - /** - * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. - */ - anchors: HTMLCollectionOf; - /** - * Retrieves a collection of all applet objects in the document. - */ - applets: HTMLCollectionOf; - /** - * Deprecated. Sets or retrieves a value that indicates the background color behind the object. - */ - bgColor: string; - /** - * Specifies the beginning and end of the document body. - */ - body: HTMLElement; - readonly characterSet: string; - /** - * Gets or sets the character set used to encode the object. - */ - charset: string; - /** - * Gets a value that indicates whether standards-compliant mode is switched on for the object. - */ - readonly compatMode: string; - cookie: string; - readonly currentScript: HTMLScriptElement | SVGScriptElement | null; - readonly defaultView: Window; - /** - * Sets or gets a value that indicates whether the document can be edited. - */ - designMode: string; - /** - * Sets or retrieves a value that indicates the reading order of the object. - */ - dir: string; - /** - * Gets an object representing the document type declaration associated with the current document. - */ - readonly doctype: DocumentType; - /** - * Gets a reference to the root node of the document. - */ - documentElement: HTMLElement; - /** - * Sets or gets the security domain of the document. - */ - domain: string; - /** - * Retrieves a collection of all embed objects in the document. - */ - embeds: HTMLCollectionOf; - /** - * Sets or gets the foreground (text) color of the document. - */ - fgColor: string; - /** - * Retrieves a collection, in source order, of all form objects in the document. - */ - forms: HTMLCollectionOf; - readonly fullscreenElement: Element | null; - readonly fullscreenEnabled: boolean; - readonly head: HTMLHeadElement; - readonly hidden: boolean; - /** - * Retrieves a collection, in source order, of img objects in the document. - */ - images: HTMLCollectionOf; - /** - * Gets the implementation object of the current document. - */ - readonly implementation: DOMImplementation; - /** - * Returns the character encoding used to create the webpage that is loaded into the document object. - */ - readonly inputEncoding: string | null; - /** - * Gets the date that the page was last modified, if the page supplies one. - */ - readonly lastModified: string; - /** - * Sets or gets the color of the document links. - */ - linkColor: string; - /** - * Retrieves a collection of all a objects that specify the href property and all area objects in the document. - */ - links: HTMLCollectionOf; - /** - * Contains information about the current URL. - */ - readonly location: Location; - msCapsLockWarningOff: boolean; - msCSSOMElementFloatMetrics: boolean; - /** - * Fires when the user aborts the download. - * @param ev The event. - */ - onabort: (this: Document, ev: UIEvent) => any; - /** - * Fires when the object is set as the active element. - * @param ev The event. - */ - onactivate: (this: Document, ev: UIEvent) => any; - /** - * Fires immediately before the object is set as the active element. - * @param ev The event. - */ - onbeforeactivate: (this: Document, ev: UIEvent) => any; - /** - * Fires immediately before the activeElement is changed from the current object to another object in the parent document. - * @param ev The event. - */ - onbeforedeactivate: (this: Document, ev: UIEvent) => any; - /** - * Fires when the object loses the input focus. - * @param ev The focus event. - */ - onblur: (this: Document, ev: FocusEvent) => any; - /** - * Occurs when playback is possible, but would require further buffering. - * @param ev The event. - */ - oncanplay: (this: Document, ev: Event) => any; - oncanplaythrough: (this: Document, ev: Event) => any; - /** - * Fires when the contents of the object or selection have changed. - * @param ev The event. - */ - onchange: (this: Document, ev: Event) => any; - /** - * Fires when the user clicks the left mouse button on the object - * @param ev The mouse event. - */ - onclick: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the user clicks the right mouse button in the client area, opening the context menu. - * @param ev The mouse event. - */ - oncontextmenu: (this: Document, ev: PointerEvent) => any; - /** - * Fires when the user double-clicks the object. - * @param ev The mouse event. - */ - ondblclick: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the activeElement is changed from the current object to another object in the parent document. - * @param ev The UI Event - */ - ondeactivate: (this: Document, ev: UIEvent) => any; - /** - * Fires on the source object continuously during a drag operation. - * @param ev The event. - */ - ondrag: (this: Document, ev: DragEvent) => any; - /** - * Fires on the source object when the user releases the mouse at the close of a drag operation. - * @param ev The event. - */ - ondragend: (this: Document, ev: DragEvent) => any; - /** - * Fires on the target element when the user drags the object to a valid drop target. - * @param ev The drag event. - */ - ondragenter: (this: Document, ev: DragEvent) => any; - /** - * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. - * @param ev The drag event. - */ - ondragleave: (this: Document, ev: DragEvent) => any; - /** - * Fires on the target element continuously while the user drags the object over a valid drop target. - * @param ev The event. - */ - ondragover: (this: Document, ev: DragEvent) => any; - /** - * Fires on the source object when the user starts to drag a text selection or selected object. - * @param ev The event. - */ - ondragstart: (this: Document, ev: DragEvent) => any; - ondrop: (this: Document, ev: DragEvent) => any; - /** - * Occurs when the duration attribute is updated. - * @param ev The event. - */ - ondurationchange: (this: Document, ev: Event) => any; - /** - * Occurs when the media element is reset to its initial state. - * @param ev The event. - */ - onemptied: (this: Document, ev: Event) => any; - /** - * Occurs when the end of playback is reached. - * @param ev The event - */ - onended: (this: Document, ev: MediaStreamErrorEvent) => any; - /** - * Fires when an error occurs during object loading. - * @param ev The event. - */ - onerror: (this: Document, ev: ErrorEvent) => any; - /** - * Fires when the object receives focus. - * @param ev The event. - */ - onfocus: (this: Document, ev: FocusEvent) => any; - onfullscreenchange: (this: Document, ev: Event) => any; - onfullscreenerror: (this: Document, ev: Event) => any; - oninput: (this: Document, ev: Event) => any; - oninvalid: (this: Document, ev: Event) => any; - /** - * Fires when the user presses a key. - * @param ev The keyboard event - */ - onkeydown: (this: Document, ev: KeyboardEvent) => any; - /** - * Fires when the user presses an alphanumeric key. - * @param ev The event. - */ - onkeypress: (this: Document, ev: KeyboardEvent) => any; - /** - * Fires when the user releases a key. - * @param ev The keyboard event - */ - onkeyup: (this: Document, ev: KeyboardEvent) => any; - /** - * Fires immediately after the browser loads the object. - * @param ev The event. - */ - onload: (this: Document, ev: Event) => any; - /** - * Occurs when media data is loaded at the current playback position. - * @param ev The event. - */ - onloadeddata: (this: Document, ev: Event) => any; - /** - * Occurs when the duration and dimensions of the media have been determined. - * @param ev The event. - */ - onloadedmetadata: (this: Document, ev: Event) => any; - /** - * Occurs when Internet Explorer begins looking for media data. - * @param ev The event. - */ - onloadstart: (this: Document, ev: Event) => any; - /** - * Fires when the user clicks the object with either mouse button. - * @param ev The mouse event. - */ - onmousedown: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the user moves the mouse over the object. - * @param ev The mouse event. - */ - onmousemove: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the user moves the mouse pointer outside the boundaries of the object. - * @param ev The mouse event. - */ - onmouseout: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the user moves the mouse pointer into the object. - * @param ev The mouse event. - */ - onmouseover: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the user releases a mouse button while the mouse is over the object. - * @param ev The mouse event. - */ - onmouseup: (this: Document, ev: MouseEvent) => any; - /** - * Fires when the wheel button is rotated. - * @param ev The mouse event - */ - onmousewheel: (this: Document, ev: WheelEvent) => any; - onmscontentzoom: (this: Document, ev: UIEvent) => any; - onmsgesturechange: (this: Document, ev: MSGestureEvent) => any; - onmsgesturedoubletap: (this: Document, ev: MSGestureEvent) => any; - onmsgestureend: (this: Document, ev: MSGestureEvent) => any; - onmsgesturehold: (this: Document, ev: MSGestureEvent) => any; - onmsgesturestart: (this: Document, ev: MSGestureEvent) => any; - onmsgesturetap: (this: Document, ev: MSGestureEvent) => any; - onmsinertiastart: (this: Document, ev: MSGestureEvent) => any; - onmsmanipulationstatechanged: (this: Document, ev: MSManipulationEvent) => any; - onmspointercancel: (this: Document, ev: MSPointerEvent) => any; - onmspointerdown: (this: Document, ev: MSPointerEvent) => any; - onmspointerenter: (this: Document, ev: MSPointerEvent) => any; - onmspointerleave: (this: Document, ev: MSPointerEvent) => any; - onmspointermove: (this: Document, ev: MSPointerEvent) => any; - onmspointerout: (this: Document, ev: MSPointerEvent) => any; - onmspointerover: (this: Document, ev: MSPointerEvent) => any; - onmspointerup: (this: Document, ev: MSPointerEvent) => any; - /** - * Occurs when an item is removed from a Jump List of a webpage running in Site Mode. - * @param ev The event. - */ - onmssitemodejumplistitemremoved: (this: Document, ev: MSSiteModeEvent) => any; - /** - * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode. - * @param ev The event. - */ - onmsthumbnailclick: (this: Document, ev: MSSiteModeEvent) => any; - /** - * Occurs when playback is paused. - * @param ev The event. - */ - onpause: (this: Document, ev: Event) => any; - /** - * Occurs when the play method is requested. - * @param ev The event. - */ - onplay: (this: Document, ev: Event) => any; - /** - * Occurs when the audio or video has started playing. - * @param ev The event. - */ - onplaying: (this: Document, ev: Event) => any; - onpointerlockchange: (this: Document, ev: Event) => any; - onpointerlockerror: (this: Document, ev: Event) => any; - /** - * Occurs to indicate progress while downloading media data. - * @param ev The event. - */ - onprogress: (this: Document, ev: ProgressEvent) => any; - /** - * Occurs when the playback rate is increased or decreased. - * @param ev The event. - */ - onratechange: (this: Document, ev: Event) => any; - /** - * Fires when the state of the object has changed. - * @param ev The event - */ - onreadystatechange: (this: Document, ev: Event) => any; - /** - * Fires when the user resets a form. - * @param ev The event. - */ - onreset: (this: Document, ev: Event) => any; - /** - * Fires when the user repositions the scroll box in the scroll bar on the object. - * @param ev The event. - */ - onscroll: (this: Document, ev: UIEvent) => any; - /** - * Occurs when the seek operation ends. - * @param ev The event. - */ - onseeked: (this: Document, ev: Event) => any; - /** - * Occurs when the current playback position is moved. - * @param ev The event. - */ - onseeking: (this: Document, ev: Event) => any; - /** - * Fires when the current selection changes. - * @param ev The event. - */ - onselect: (this: Document, ev: UIEvent) => any; - /** - * Fires when the selection state of a document changes. - * @param ev The event. - */ - onselectionchange: (this: Document, ev: Event) => any; - onselectstart: (this: Document, ev: Event) => any; - /** - * Occurs when the download has stopped. - * @param ev The event. - */ - onstalled: (this: Document, ev: Event) => any; - /** - * Fires when the user clicks the Stop button or leaves the Web page. - * @param ev The event. - */ - onstop: (this: Document, ev: Event) => any; - onsubmit: (this: Document, ev: Event) => any; - /** - * Occurs if the load operation has been intentionally halted. - * @param ev The event. - */ - onsuspend: (this: Document, ev: Event) => any; - /** - * Occurs to indicate the current playback position. - * @param ev The event. - */ - ontimeupdate: (this: Document, ev: Event) => any; - ontouchcancel: (ev: TouchEvent) => any; - ontouchend: (ev: TouchEvent) => any; - ontouchmove: (ev: TouchEvent) => any; - ontouchstart: (ev: TouchEvent) => any; - /** - * Occurs when the volume is changed, or playback is muted or unmuted. - * @param ev The event. - */ - onvolumechange: (this: Document, ev: Event) => any; - /** - * Occurs when playback stops because the next frame of a video resource is not available. - * @param ev The event. - */ - onwaiting: (this: Document, ev: Event) => any; - onwebkitfullscreenchange: (this: Document, ev: Event) => any; - onwebkitfullscreenerror: (this: Document, ev: Event) => any; - plugins: HTMLCollectionOf; - readonly pointerLockElement: Element; - /** - * Retrieves a value that indicates the current state of the object. - */ - readonly readyState: string; - /** - * Gets the URL of the location that referred the user to the current page. - */ - readonly referrer: string; - /** - * Gets the root svg element in the document hierarchy. - */ - readonly rootElement: SVGSVGElement; - /** - * Retrieves a collection of all script objects in the document. - */ - scripts: HTMLCollectionOf; - readonly scrollingElement: Element | null; - /** - * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. - */ - readonly styleSheets: StyleSheetList; - /** - * Contains the title of the document. - */ - title: string; - /** - * Sets or gets the URL for the current document. - */ - readonly URL: string; - /** - * Gets the URL for the document, stripped of any character encoding. - */ - readonly URLUnencoded: string; - readonly visibilityState: VisibilityState; - /** - * Sets or gets the color of the links that the user has visited. - */ - vlinkColor: string; - readonly webkitCurrentFullScreenElement: Element | null; - readonly webkitFullscreenElement: Element | null; - readonly webkitFullscreenEnabled: boolean; - readonly webkitIsFullScreen: boolean; - readonly xmlEncoding: string | null; - xmlStandalone: boolean; - /** - * Gets or sets the version attribute specified in the declaration of an XML document. - */ - xmlVersion: string | null; - onvisibilitychange: (this: Document, ev: Event) => any; - adoptNode(source: T): T; - captureEvents(): void; - caretRangeFromPoint(x: number, y: number): Range; - clear(): void; - /** - * Closes an output stream and forces the sent data to display. - */ - close(): void; - /** - * Creates an attribute object with a specified name. - * @param name String that sets the attribute object's name. - */ - createAttribute(name: string): Attr; - createAttributeNS(namespaceURI: string | null, qualifiedName: string): Attr; - createCDATASection(data: string): CDATASection; - /** - * Creates a comment object with the specified data. - * @param data Sets the comment object's data. - */ - createComment(data: string): Comment; - /** - * Creates a new document. - */ - createDocumentFragment(): DocumentFragment; - /** - * Creates an instance of the element for the specified tag. - * @param tagName The name of an element. - */ - createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; - createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; - createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "circle"): SVGCircleElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "clipPath"): SVGClipPathElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "componentTransferFunction"): SVGComponentTransferFunctionElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "defs"): SVGDefsElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "desc"): SVGDescElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "ellipse"): SVGEllipseElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feBlend"): SVGFEBlendElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feColorMatrix"): SVGFEColorMatrixElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComponentTransfer"): SVGFEComponentTransferElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComposite"): SVGFECompositeElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feConvolveMatrix"): SVGFEConvolveMatrixElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDiffuseLighting"): SVGFEDiffuseLightingElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDisplacementMap"): SVGFEDisplacementMapElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDistantLight"): SVGFEDistantLightElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFlood"): SVGFEFloodElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncA"): SVGFEFuncAElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncB"): SVGFEFuncBElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncG"): SVGFEFuncGElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncR"): SVGFEFuncRElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feGaussianBlur"): SVGFEGaussianBlurElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feImage"): SVGFEImageElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMerge"): SVGFEMergeElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMergeNode"): SVGFEMergeNodeElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMorphology"): SVGFEMorphologyElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feOffset"): SVGFEOffsetElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "fePointLight"): SVGFEPointLightElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpecularLighting"): SVGFESpecularLightingElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpotLight"): SVGFESpotLightElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTile"): SVGFETileElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTurbulence"): SVGFETurbulenceElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "filter"): SVGFilterElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "foreignObject"): SVGForeignObjectElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "g"): SVGGElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "image"): SVGImageElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "gradient"): SVGGradientElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "line"): SVGLineElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "linearGradient"): SVGLinearGradientElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "marker"): SVGMarkerElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "mask"): SVGMaskElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "path"): SVGPathElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "metadata"): SVGMetadataElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "pattern"): SVGPatternElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polygon"): SVGPolygonElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polyline"): SVGPolylineElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "radialGradient"): SVGRadialGradientElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "rect"): SVGRectElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "svg"): SVGSVGElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "script"): SVGScriptElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "stop"): SVGStopElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "style"): SVGStyleElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "switch"): SVGSwitchElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "symbol"): SVGSymbolElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "tspan"): SVGTSpanElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textContent"): SVGTextContentElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "text"): SVGTextElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPath"): SVGTextPathElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPositioning"): SVGTextPositioningElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "title"): SVGTitleElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "use"): SVGUseElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "view"): SVGViewElement; - createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; - createElementNS(namespaceURI: string | null, qualifiedName: string): Element; - createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; - /** - * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list - * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): NodeIterator; - createNSResolver(nodeResolver: Node): XPathNSResolver; - createProcessingInstruction(target: string, data: string): ProcessingInstruction; - /** - * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. - */ - createRange(): Range; - /** - * Creates a text string from the specified value. - * @param data String that specifies the nodeValue property of the text node. - */ - createTextNode(data: string): Text; - createTouch(view: Window, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch; - createTouchList(...touches: Touch[]): TouchList; - /** - * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. - * @param root The root element or node to start traversing on. - * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. - * @param filter A custom NodeFilter function to use. - * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. - */ - createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): TreeWalker; - /** - * Returns the element for the specified x coordinate and the specified y coordinate. - * @param x The x-offset - * @param y The y-offset - */ - elementFromPoint(x: number, y: number): Element; - evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult; - /** - * Executes a command on the current document, current selection, or the given range. - * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. - * @param showUI Display the user interface, defaults to false. - * @param value Value to assign. - */ - execCommand(commandId: string, showUI?: boolean, value?: any): boolean; - /** - * Displays help information for the given command identifier. - * @param commandId Displays help information for the given command identifier. - */ - execCommandShowHelp(commandId: string): boolean; - exitFullscreen(): void; - exitPointerLock(): void; - /** - * Causes the element to receive the focus and executes the code specified by the onfocus event. - */ - focus(): void; - /** - * Returns a reference to the first object with the specified value of the ID or NAME attribute. - * @param elementId String that specifies the ID value. Case-insensitive. - */ - getElementById(elementId: string): HTMLElement | null; - getElementsByClassName(classNames: string): HTMLCollectionOf; - /** - * Gets a collection of objects based on the value of the NAME or ID attribute. - * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. - */ - getElementsByName(elementName: string): NodeListOf; - /** - * Retrieves a collection of objects based on the specified element name. - * @param name Specifies the name of an element. - */ - getElementsByTagName(tagname: K): NodeListOf; - getElementsByTagName(tagname: K): NodeListOf; - getElementsByTagName(tagname: string): NodeListOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - /** - * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. - */ - getSelection(): Selection; - /** - * Gets a value indicating whether the object currently has focus. - */ - hasFocus(): boolean; - importNode(importedNode: T, deep: boolean): T; - msElementsFromPoint(x: number, y: number): NodeListOf; - msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf; - /** - * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. - * @param url Specifies a MIME type for the document. - * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. - * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. - * @param replace Specifies whether the existing entry for the document is replaced in the history list. - */ - open(url?: string, name?: string, features?: string, replace?: boolean): Document; - /** - * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. - * @param commandId Specifies a command identifier. - */ - queryCommandEnabled(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. - * @param commandId String that specifies a command identifier. - */ - queryCommandIndeterm(commandId: string): boolean; - /** - * Returns a Boolean value that indicates the current state of the command. - * @param commandId String that specifies a command identifier. - */ - queryCommandState(commandId: string): boolean; - /** - * Returns a Boolean value that indicates whether the current command is supported on the current range. - * @param commandId Specifies a command identifier. - */ - queryCommandSupported(commandId: string): boolean; - /** - * Retrieves the string associated with a command. - * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers. - */ - queryCommandText(commandId: string): string; - /** - * Returns the current value of the document, range, or current selection for the given command. - * @param commandId String that specifies a command identifier. - */ - queryCommandValue(commandId: string): string; - releaseEvents(): void; - /** - * Allows updating the print settings for the page. - */ - updateSettings(): void; - webkitCancelFullScreen(): void; - webkitExitFullscreen(): void; - /** - * Writes one or more HTML expressions to a document in the specified window. - * @param content Specifies the text and HTML tags to write. - */ - write(...content: string[]): void; - /** - * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. - * @param content The text and HTML tags to write. - */ - writeln(...content: string[]): void; - addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Document: { - prototype: Document; - new(): Document; -}; - -interface DocumentFragment extends Node, NodeSelector, ParentNode { - getElementById(elementId: string): HTMLElement | null; -} - -declare var DocumentFragment: { - prototype: DocumentFragment; - new(): DocumentFragment; -}; - -interface DocumentType extends Node, ChildNode { - readonly entities: NamedNodeMap; - readonly internalSubset: string | null; - readonly name: string; - readonly notations: NamedNodeMap; - readonly publicId: string; - readonly systemId: string; -} - -declare var DocumentType: { - prototype: DocumentType; - new(): DocumentType; -}; - -interface DOMError { - readonly name: string; - toString(): string; -} - -declare var DOMError: { - prototype: DOMError; - new(): DOMError; -}; - -interface DOMException { - readonly code: number; - readonly message: string; - readonly name: string; - toString(): string; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly PARSE_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SERIALIZE_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -} - -declare var DOMException: { - prototype: DOMException; - new(message?: string, name?: string): DOMException; - readonly ABORT_ERR: number; - readonly DATA_CLONE_ERR: number; - readonly DOMSTRING_SIZE_ERR: number; - readonly HIERARCHY_REQUEST_ERR: number; - readonly INDEX_SIZE_ERR: number; - readonly INUSE_ATTRIBUTE_ERR: number; - readonly INVALID_ACCESS_ERR: number; - readonly INVALID_CHARACTER_ERR: number; - readonly INVALID_MODIFICATION_ERR: number; - readonly INVALID_NODE_TYPE_ERR: number; - readonly INVALID_STATE_ERR: number; - readonly NAMESPACE_ERR: number; - readonly NETWORK_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; - readonly NOT_FOUND_ERR: number; - readonly NOT_SUPPORTED_ERR: number; - readonly PARSE_ERR: number; - readonly QUOTA_EXCEEDED_ERR: number; - readonly SECURITY_ERR: number; - readonly SERIALIZE_ERR: number; - readonly SYNTAX_ERR: number; - readonly TIMEOUT_ERR: number; - readonly TYPE_MISMATCH_ERR: number; - readonly URL_MISMATCH_ERR: number; - readonly VALIDATION_ERR: number; - readonly WRONG_DOCUMENT_ERR: number; -}; - -interface DOMImplementation { - createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document; - createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; - createHTMLDocument(title: string): Document; - hasFeature(feature: string | null, version: string | null): boolean; -} - -declare var DOMImplementation: { - prototype: DOMImplementation; - new(): DOMImplementation; -}; - -interface DOMParser { - parseFromString(source: string, mimeType: string): Document; -} - -declare var DOMParser: { - prototype: DOMParser; - new(): DOMParser; -}; - -interface DOMSettableTokenList extends DOMTokenList { - value: string; -} - -declare var DOMSettableTokenList: { - prototype: DOMSettableTokenList; - new(): DOMSettableTokenList; -}; - -interface DOMStringList { - readonly length: number; - contains(str: string): boolean; - item(index: number): string | null; - [index: number]: string; -} - -declare var DOMStringList: { - prototype: DOMStringList; - new(): DOMStringList; -}; - -interface DOMStringMap { - [name: string]: string | undefined; -} - -declare var DOMStringMap: { - prototype: DOMStringMap; - new(): DOMStringMap; -}; - -interface DOMTokenList { - readonly length: number; - add(...token: string[]): void; - contains(token: string): boolean; - item(index: number): string; - remove(...token: string[]): void; - toggle(token: string, force?: boolean): boolean; - toString(): string; - [index: number]: string; -} - -declare var DOMTokenList: { - prototype: DOMTokenList; - new(): DOMTokenList; -}; - -interface DragEvent extends MouseEvent { - readonly dataTransfer: DataTransfer; - initDragEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, dataTransferArg: DataTransfer): void; - msConvertURL(file: File, targetType: string, targetURL?: string): void; -} - -declare var DragEvent: { - prototype: DragEvent; - new(type: "drag" | "dragend" | "dragenter" | "dragexit" | "dragleave" | "dragover" | "dragstart" | "drop", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent; -}; - -interface DynamicsCompressorNode extends AudioNode { - readonly attack: AudioParam; - readonly knee: AudioParam; - readonly ratio: AudioParam; - readonly reduction: number; - readonly release: AudioParam; - readonly threshold: AudioParam; -} - -declare var DynamicsCompressorNode: { - prototype: DynamicsCompressorNode; - new(): DynamicsCompressorNode; -}; - -interface ElementEventMap extends GlobalEventHandlersEventMap { - "ariarequest": Event; - "command": Event; - "gotpointercapture": PointerEvent; - "lostpointercapture": PointerEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSGotPointerCapture": MSPointerEvent; - "MSInertiaStart": MSGestureEvent; - "MSLostPointerCapture": MSPointerEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; - "webkitfullscreenchange": Event; - "webkitfullscreenerror": Event; -} - -interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelector, ChildNode, ParentNode { - readonly classList: DOMTokenList; - className: string; - readonly clientHeight: number; - readonly clientLeft: number; - readonly clientTop: number; - readonly clientWidth: number; - id: string; - innerHTML: string; - msContentZoomFactor: number; - readonly msRegionOverflow: string; - onariarequest: (this: Element, ev: Event) => any; - oncommand: (this: Element, ev: Event) => any; - ongotpointercapture: (this: Element, ev: PointerEvent) => any; - onlostpointercapture: (this: Element, ev: PointerEvent) => any; - onmsgesturechange: (this: Element, ev: MSGestureEvent) => any; - onmsgesturedoubletap: (this: Element, ev: MSGestureEvent) => any; - onmsgestureend: (this: Element, ev: MSGestureEvent) => any; - onmsgesturehold: (this: Element, ev: MSGestureEvent) => any; - onmsgesturestart: (this: Element, ev: MSGestureEvent) => any; - onmsgesturetap: (this: Element, ev: MSGestureEvent) => any; - onmsgotpointercapture: (this: Element, ev: MSPointerEvent) => any; - onmsinertiastart: (this: Element, ev: MSGestureEvent) => any; - onmslostpointercapture: (this: Element, ev: MSPointerEvent) => any; - onmspointercancel: (this: Element, ev: MSPointerEvent) => any; - onmspointerdown: (this: Element, ev: MSPointerEvent) => any; - onmspointerenter: (this: Element, ev: MSPointerEvent) => any; - onmspointerleave: (this: Element, ev: MSPointerEvent) => any; - onmspointermove: (this: Element, ev: MSPointerEvent) => any; - onmspointerout: (this: Element, ev: MSPointerEvent) => any; - onmspointerover: (this: Element, ev: MSPointerEvent) => any; - onmspointerup: (this: Element, ev: MSPointerEvent) => any; - ontouchcancel: (ev: TouchEvent) => any; - ontouchend: (ev: TouchEvent) => any; - ontouchmove: (ev: TouchEvent) => any; - ontouchstart: (ev: TouchEvent) => any; - onwebkitfullscreenchange: (this: Element, ev: Event) => any; - onwebkitfullscreenerror: (this: Element, ev: Event) => any; - outerHTML: string; - readonly prefix: string | null; - readonly scrollHeight: number; - scrollLeft: number; - scrollTop: number; - readonly scrollWidth: number; - readonly tagName: string; - readonly assignedSlot: HTMLSlotElement | null; - slot: string; - readonly shadowRoot: ShadowRoot | null; - getAttribute(name: string): string | null; - getAttributeNode(name: string): Attr | null; - getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null; - getAttributeNS(namespaceURI: string, localName: string): string; - getBoundingClientRect(): ClientRect | DOMRect; - getClientRects(): ClientRectList | DOMRectList; - getElementsByTagName(name: K): NodeListOf; - getElementsByTagName(name: K): NodeListOf; - getElementsByTagName(name: string): NodeListOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; - getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; - hasAttribute(name: string): boolean; - hasAttributeNS(namespaceURI: string, localName: string): boolean; - msGetRegionContent(): MSRangeCollection; - msGetUntransformedBounds(): ClientRect; - msMatchesSelector(selectors: string): boolean; - msReleasePointerCapture(pointerId: number): void; - msSetPointerCapture(pointerId: number): void; - msZoomTo(args: MsZoomToOptions): void; - releasePointerCapture(pointerId: number): void; - removeAttribute(qualifiedName: string): void; - removeAttributeNode(oldAttr: Attr): Attr; - removeAttributeNS(namespaceURI: string, localName: string): void; - requestFullscreen(): void; - requestPointerLock(): void; - setAttribute(name: string, value: string): void; - setAttributeNode(newAttr: Attr): Attr; - setAttributeNodeNS(newAttr: Attr): Attr; - setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; - setPointerCapture(pointerId: number): void; - webkitMatchesSelector(selectors: string): boolean; - webkitRequestFullscreen(): void; - webkitRequestFullScreen(): void; - getElementsByClassName(classNames: string): NodeListOf; - matches(selector: string): boolean; - closest(selector: K): HTMLElementTagNameMap[K] | null; - closest(selector: K): SVGElementTagNameMap[K] | null; - closest(selector: string): Element | null; - scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; - scroll(options?: ScrollToOptions): void; - scroll(x: number, y: number): void; - scrollTo(options?: ScrollToOptions): void; - scrollTo(x: number, y: number): void; - scrollBy(options?: ScrollToOptions): void; - scrollBy(x: number, y: number): void; - insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null; - insertAdjacentHTML(where: InsertPosition, html: string): void; - insertAdjacentText(where: InsertPosition, text: string): void; - attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot; - addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Element: { - prototype: Element; - new(): Element; -}; - -interface ErrorEvent extends Event { - readonly colno: number; - readonly error: any; - readonly filename: string; - readonly lineno: number; - readonly message: string; - initErrorEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, messageArg: string, filenameArg: string, linenoArg: number): void; -} - -declare var ErrorEvent: { - prototype: ErrorEvent; - new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent; -}; - -interface Event { - readonly bubbles: boolean; - readonly cancelable: boolean; - cancelBubble: boolean; - readonly currentTarget: EventTarget; - readonly defaultPrevented: boolean; - readonly eventPhase: number; - readonly isTrusted: boolean; - returnValue: boolean; - readonly srcElement: Element | null; - readonly target: EventTarget; - readonly timeStamp: number; - readonly type: string; - readonly scoped: boolean; - initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void; - preventDefault(): void; - stopImmediatePropagation(): void; - stopPropagation(): void; - deepPath(): EventTarget[]; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; -} - -declare var Event: { - prototype: Event; - new(typeArg: string, eventInitDict?: EventInit): Event; - readonly AT_TARGET: number; - readonly BUBBLING_PHASE: number; - readonly CAPTURING_PHASE: number; -}; - -interface EventTarget { - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - dispatchEvent(evt: Event): boolean; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var EventTarget: { - prototype: EventTarget; - new(): EventTarget; -}; - -interface EXT_frag_depth { -} - -declare var EXT_frag_depth: { - prototype: EXT_frag_depth; - new(): EXT_frag_depth; -}; - -interface EXT_texture_filter_anisotropic { - readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number; - readonly TEXTURE_MAX_ANISOTROPY_EXT: number; -} - -declare var EXT_texture_filter_anisotropic: { - prototype: EXT_texture_filter_anisotropic; - new(): EXT_texture_filter_anisotropic; - readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number; - readonly TEXTURE_MAX_ANISOTROPY_EXT: number; -}; - -interface ExtensionScriptApis { - extensionIdToShortId(extensionId: string): number; - fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean): void; - genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void; - genericSynchronousFunction(functionId: number, parameters?: string): string; - getExtensionId(): string; - registerGenericFunctionCallbackHandler(callbackHandler: any): void; - registerGenericPersistentCallbackHandler(callbackHandler: any): void; -} - -declare var ExtensionScriptApis: { - prototype: ExtensionScriptApis; - new(): ExtensionScriptApis; -}; - -interface External { -} - -declare var External: { - prototype: External; - new(): External; -}; - -interface File extends Blob { - readonly lastModifiedDate: Date; - readonly name: string; - readonly webkitRelativePath: string; - readonly lastModified: number; -} - -declare var File: { - prototype: File; - new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File; -}; - -interface FileList { - readonly length: number; - item(index: number): File; - [index: number]: File; -} - -declare var FileList: { - prototype: FileList; - new(): FileList; -}; - -interface FileReader extends EventTarget, MSBaseReader { - readonly error: DOMError; - readAsArrayBuffer(blob: Blob): void; - readAsBinaryString(blob: Blob): void; - readAsDataURL(blob: Blob): void; - readAsText(blob: Blob, encoding?: string): void; - addEventListener(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var FileReader: { - prototype: FileReader; - new(): FileReader; -}; - -interface FocusEvent extends UIEvent { - readonly relatedTarget: EventTarget; - initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void; -} - -declare var FocusEvent: { - prototype: FocusEvent; - new(typeArg: string, eventInitDict?: FocusEventInit): FocusEvent; -}; - -interface FocusNavigationEvent extends Event { - readonly navigationReason: NavigationReason; - readonly originHeight: number; - readonly originLeft: number; - readonly originTop: number; - readonly originWidth: number; - requestFocus(): void; -} - -declare var FocusNavigationEvent: { - prototype: FocusNavigationEvent; - new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent; -}; - -interface FormData { - append(name: string, value: string | Blob, fileName?: string): void; - delete(name: string): void; - get(name: string): FormDataEntryValue | null; - getAll(name: string): FormDataEntryValue[]; - has(name: string): boolean; - set(name: string, value: string | Blob, fileName?: string): void; -} - -declare var FormData: { - prototype: FormData; - new (form?: HTMLFormElement): FormData; -}; - -interface GainNode extends AudioNode { - readonly gain: AudioParam; -} - -declare var GainNode: { - prototype: GainNode; - new(): GainNode; -}; - -interface Gamepad { - readonly axes: number[]; - readonly buttons: GamepadButton[]; - readonly connected: boolean; - readonly id: string; - readonly index: number; - readonly mapping: string; - readonly timestamp: number; -} - -declare var Gamepad: { - prototype: Gamepad; - new(): Gamepad; -}; - -interface GamepadButton { - readonly pressed: boolean; - readonly value: number; -} - -declare var GamepadButton: { - prototype: GamepadButton; - new(): GamepadButton; -}; - -interface GamepadEvent extends Event { - readonly gamepad: Gamepad; -} - -declare var GamepadEvent: { - prototype: GamepadEvent; - new(typeArg: string, eventInitDict?: GamepadEventInit): GamepadEvent; -}; - -interface Geolocation { - clearWatch(watchId: number): void; - getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void; - watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number; -} - -declare var Geolocation: { - prototype: Geolocation; - new(): Geolocation; -}; - -interface HashChangeEvent extends Event { - readonly newURL: string | null; - readonly oldURL: string | null; -} - -declare var HashChangeEvent: { - prototype: HashChangeEvent; - new(typeArg: string, eventInitDict?: HashChangeEventInit): HashChangeEvent; -}; - -interface Headers { - append(name: string, value: string): void; - delete(name: string): void; - forEach(callback: ForEachCallback): void; - get(name: string): string | null; - has(name: string): boolean; - set(name: string, value: string): void; -} - -declare var Headers: { - prototype: Headers; - new(init?: HeadersInit): Headers; -}; - -interface History { - readonly length: number; - readonly state: any; - scrollRestoration: ScrollRestoration; - back(): void; - forward(): void; - go(delta?: number): void; - pushState(data: any, title: string, url?: string | null): void; - replaceState(data: any, title: string, url?: string | null): void; -} - -declare var History: { - prototype: History; - new(): History; -}; - -interface HTMLAllCollection { - readonly length: number; - item(nameOrIndex?: string): HTMLCollection | Element | null; - namedItem(name: string): HTMLCollection | Element | null; - [index: number]: Element; -} - -declare var HTMLAllCollection: { - prototype: HTMLAllCollection; - new(): HTMLAllCollection; -}; - -interface HTMLAnchorElement extends HTMLElement { - /** - * Sets or retrieves the character set used to encode the object. - */ - charset: string; - /** - * Sets or retrieves the coordinates of the object. - */ - coords: string; - download: string; - /** - * Contains the anchor portion of the URL including the hash sign (#). - */ - hash: string; - /** - * Contains the hostname and port values of the URL. - */ - host: string; - /** - * Contains the hostname of a URL. - */ - hostname: string; - /** - * Sets or retrieves a destination URL or an anchor point. - */ - href: string; - /** - * Sets or retrieves the language code of the object. - */ - hreflang: string; - Methods: string; - readonly mimeType: string; - /** - * Sets or retrieves the shape of the object. - */ - name: string; - readonly nameProp: string; - /** - * Contains the pathname of the URL. - */ - pathname: string; - /** - * Sets or retrieves the port number associated with a URL. - */ - port: string; - /** - * Contains the protocol of the URL. - */ - protocol: string; - readonly protocolLong: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rel: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rev: string; - /** - * Sets or retrieves the substring of the href property that follows the question mark. - */ - search: string; - /** - * Sets or retrieves the shape of the object. - */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Retrieves or sets the text of the object as a string. - */ - text: string; - type: string; - urn: string; - /** - * Returns a string representation of an object. - */ - toString(): string; - addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAnchorElement: { - prototype: HTMLAnchorElement; - new(): HTMLAnchorElement; -}; - -interface HTMLAppletElement extends HTMLElement { - align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Gets or sets the optional alternative HTML script to execute if the object fails to load. - */ - altHtml: string; - /** - * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. - */ - archive: string; - /** - * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element. - */ - readonly BaseHref: string; - border: string; - code: string; - /** - * Sets or retrieves the URL of the component. - */ - codeBase: string; - /** - * Sets or retrieves the Internet media type for the code associated with the object. - */ - codeType: string; - /** - * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned. - */ - readonly contentDocument: Document; - /** - * Sets or retrieves the URL that references the data of the object. - */ - data: string; - /** - * Sets or retrieves a character string that can be used to implement your own declare functionality for the object. - */ - declare: boolean; - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the height of the object. - */ - height: string; - hspace: number; - /** - * Sets or retrieves the shape of the object. - */ - name: string; - object: string | null; - /** - * Sets or retrieves a message to be displayed while an object is loading. - */ - standby: string; - /** - * Returns the content type of the object. - */ - type: string; - /** - * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. - */ - useMap: string; - vspace: number; - width: number; - addEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAppletElement: { - prototype: HTMLAppletElement; - new(): HTMLAppletElement; -}; - -interface HTMLAreaElement extends HTMLElement { - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Sets or retrieves the coordinates of the object. - */ - coords: string; - download: string; - /** - * Sets or retrieves the subsection of the href property that follows the number sign (#). - */ - hash: string; - /** - * Sets or retrieves the hostname and port number of the location or URL. - */ - host: string; - /** - * Sets or retrieves the host name part of the location or URL. - */ - hostname: string; - /** - * Sets or retrieves a destination URL or an anchor point. - */ - href: string; - /** - * Sets or gets whether clicks in this region cause action. - */ - noHref: boolean; - /** - * Sets or retrieves the file name or path specified by the object. - */ - pathname: string; - /** - * Sets or retrieves the port number associated with a URL. - */ - port: string; - /** - * Sets or retrieves the protocol portion of a URL. - */ - protocol: string; - rel: string; - /** - * Sets or retrieves the substring of the href property that follows the question mark. - */ - search: string; - /** - * Sets or retrieves the shape of the object. - */ - shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Returns a string representation of an object. - */ - toString(): string; - addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAreaElement: { - prototype: HTMLAreaElement; - new(): HTMLAreaElement; -}; - -interface HTMLAreasCollection extends HTMLCollectionBase { -} - -declare var HTMLAreasCollection: { - prototype: HTMLAreasCollection; - new(): HTMLAreasCollection; -}; - -interface HTMLAudioElement extends HTMLMediaElement { - addEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLAudioElement: { - prototype: HTMLAudioElement; - new(): HTMLAudioElement; -}; - -interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - */ - href: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - addEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLBaseElement: { - prototype: HTMLBaseElement; - new(): HTMLBaseElement; -}; - -interface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty { - /** - * Sets or retrieves the current typeface family. - */ - face: string; - /** - * Sets or retrieves the font size of the object. - */ - size: number; - addEventListener(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLBaseFontElement: { - prototype: HTMLBaseFontElement; - new(): HTMLBaseFontElement; -}; - -interface HTMLBodyElementEventMap extends HTMLElementEventMap { - "afterprint": Event; - "beforeprint": Event; - "beforeunload": BeforeUnloadEvent; - "blur": FocusEvent; - "error": ErrorEvent; - "focus": FocusEvent; - "hashchange": HashChangeEvent; - "load": Event; - "message": MessageEvent; - "offline": Event; - "online": Event; - "orientationchange": Event; - "pagehide": PageTransitionEvent; - "pageshow": PageTransitionEvent; - "popstate": PopStateEvent; - "resize": UIEvent; - "scroll": UIEvent; - "storage": StorageEvent; - "unload": Event; -} - -interface HTMLBodyElement extends HTMLElement { - aLink: any; - background: string; - bgColor: any; - bgProperties: string; - link: any; - noWrap: boolean; - onafterprint: (this: HTMLBodyElement, ev: Event) => any; - onbeforeprint: (this: HTMLBodyElement, ev: Event) => any; - onbeforeunload: (this: HTMLBodyElement, ev: BeforeUnloadEvent) => any; - onhashchange: (this: HTMLBodyElement, ev: HashChangeEvent) => any; - onmessage: (this: HTMLBodyElement, ev: MessageEvent) => any; - onoffline: (this: HTMLBodyElement, ev: Event) => any; - ononline: (this: HTMLBodyElement, ev: Event) => any; - onorientationchange: (this: HTMLBodyElement, ev: Event) => any; - onpagehide: (this: HTMLBodyElement, ev: PageTransitionEvent) => any; - onpageshow: (this: HTMLBodyElement, ev: PageTransitionEvent) => any; - onpopstate: (this: HTMLBodyElement, ev: PopStateEvent) => any; - onresize: (this: HTMLBodyElement, ev: UIEvent) => any; - onstorage: (this: HTMLBodyElement, ev: StorageEvent) => any; - onunload: (this: HTMLBodyElement, ev: Event) => any; - text: any; - vLink: any; - addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLBodyElement: { - prototype: HTMLBodyElement; - new(): HTMLBodyElement; -}; - -interface HTMLBRElement extends HTMLElement { - /** - * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document. - */ - clear: string; - addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLBRElement: { - prototype: HTMLBRElement; - new(): HTMLBRElement; -}; - -interface HTMLButtonElement extends HTMLElement { - /** - * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. - */ - autofocus: boolean; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - */ - formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - */ - formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - */ - formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - */ - formNoValidate: string; - /** - * Overrides the target attribute on a form element. - */ - formTarget: string; - /** - * Sets or retrieves the name of the object. - */ - name: string; - status: any; - /** - * Gets the classification and default behavior of the button. - */ - type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - /** - * Sets or retrieves the default or selected value of the control. - */ - value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLButtonElement: { - prototype: HTMLButtonElement; - new(): HTMLButtonElement; -}; - -interface HTMLCanvasElement extends HTMLElement { - /** - * Gets or sets the height of a canvas element on a document. - */ - height: number; - /** - * Gets or sets the width of a canvas element on a document. - */ - width: number; - /** - * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas. - * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl"); - */ - getContext(contextId: "2d", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null; - getContext(contextId: "webgl" | "experimental-webgl", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null; - getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null; - /** - * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing. - */ - msToBlob(): Blob; - /** - * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element. - * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image. - */ - toDataURL(type?: string, ...args: any[]): string; - toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void; - addEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLCanvasElement: { - prototype: HTMLCanvasElement; - new(): HTMLCanvasElement; -}; - -interface HTMLCollectionBase { - /** - * Sets or retrieves the number of objects in a collection. - */ - readonly length: number; - /** - * Retrieves an object from various collections. - */ - item(index: number): Element; - [index: number]: Element; -} - -interface HTMLCollection extends HTMLCollectionBase { - /** - * Retrieves a select object or an object from an options collection. - */ - namedItem(name: string): Element | null; -} - -declare var HTMLCollection: { - prototype: HTMLCollection; - new(): HTMLCollection; -}; - -interface HTMLDataElement extends HTMLElement { - value: string; - addEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDataElement: { - prototype: HTMLDataElement; - new(): HTMLDataElement; -}; - -interface HTMLDataListElement extends HTMLElement { - options: HTMLCollectionOf; - addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDataListElement: { - prototype: HTMLDataListElement; - new(): HTMLDataListElement; -}; - -interface HTMLDirectoryElement extends HTMLElement { - compact: boolean; - addEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDirectoryElement: { - prototype: HTMLDirectoryElement; - new(): HTMLDirectoryElement; -}; - -interface HTMLDivElement extends HTMLElement { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - /** - * Sets or retrieves whether the browser automatically performs wordwrap. - */ - noWrap: boolean; - addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDivElement: { - prototype: HTMLDivElement; - new(): HTMLDivElement; -}; - -interface HTMLDListElement extends HTMLElement { - compact: boolean; - addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDListElement: { - prototype: HTMLDListElement; - new(): HTMLDListElement; -}; - -interface HTMLDocument extends Document { - addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLDocument: { - prototype: HTMLDocument; - new(): HTMLDocument; -}; - -interface HTMLElementEventMap extends ElementEventMap { - "abort": UIEvent; - "activate": UIEvent; - "beforeactivate": UIEvent; - "beforecopy": ClipboardEvent; - "beforecut": ClipboardEvent; - "beforedeactivate": UIEvent; - "beforepaste": ClipboardEvent; - "blur": FocusEvent; - "canplay": Event; - "canplaythrough": Event; - "change": Event; - "click": MouseEvent; - "contextmenu": PointerEvent; - "copy": ClipboardEvent; - "cuechange": Event; - "cut": ClipboardEvent; - "dblclick": MouseEvent; - "deactivate": UIEvent; - "drag": DragEvent; - "dragend": DragEvent; - "dragenter": DragEvent; - "dragleave": DragEvent; - "dragover": DragEvent; - "dragstart": DragEvent; - "drop": DragEvent; - "durationchange": Event; - "emptied": Event; - "ended": MediaStreamErrorEvent; - "error": ErrorEvent; - "focus": FocusEvent; - "input": Event; - "invalid": Event; - "keydown": KeyboardEvent; - "keypress": KeyboardEvent; - "keyup": KeyboardEvent; - "load": Event; - "loadeddata": Event; - "loadedmetadata": Event; - "loadstart": Event; - "mousedown": MouseEvent; - "mouseenter": MouseEvent; - "mouseleave": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; - "mousewheel": WheelEvent; - "MSContentZoom": UIEvent; - "MSManipulationStateChanged": MSManipulationEvent; - "paste": ClipboardEvent; - "pause": Event; - "play": Event; - "playing": Event; - "progress": ProgressEvent; - "ratechange": Event; - "reset": Event; - "scroll": UIEvent; - "seeked": Event; - "seeking": Event; - "select": UIEvent; - "selectstart": Event; - "stalled": Event; - "submit": Event; - "suspend": Event; - "timeupdate": Event; - "volumechange": Event; - "waiting": Event; -} - -interface HTMLElement extends Element { - accessKey: string; - readonly children: HTMLCollection; - contentEditable: string; - readonly dataset: DOMStringMap; - dir: string; - draggable: boolean; - hidden: boolean; - hideFocus: boolean; - innerText: string; - readonly isContentEditable: boolean; - lang: string; - readonly offsetHeight: number; - readonly offsetLeft: number; - readonly offsetParent: Element; - readonly offsetTop: number; - readonly offsetWidth: number; - onabort: (this: HTMLElement, ev: UIEvent) => any; - onactivate: (this: HTMLElement, ev: UIEvent) => any; - onbeforeactivate: (this: HTMLElement, ev: UIEvent) => any; - onbeforecopy: (this: HTMLElement, ev: ClipboardEvent) => any; - onbeforecut: (this: HTMLElement, ev: ClipboardEvent) => any; - onbeforedeactivate: (this: HTMLElement, ev: UIEvent) => any; - onbeforepaste: (this: HTMLElement, ev: ClipboardEvent) => any; - onblur: (this: HTMLElement, ev: FocusEvent) => any; - oncanplay: (this: HTMLElement, ev: Event) => any; - oncanplaythrough: (this: HTMLElement, ev: Event) => any; - onchange: (this: HTMLElement, ev: Event) => any; - onclick: (this: HTMLElement, ev: MouseEvent) => any; - oncontextmenu: (this: HTMLElement, ev: PointerEvent) => any; - oncopy: (this: HTMLElement, ev: ClipboardEvent) => any; - oncuechange: (this: HTMLElement, ev: Event) => any; - oncut: (this: HTMLElement, ev: ClipboardEvent) => any; - ondblclick: (this: HTMLElement, ev: MouseEvent) => any; - ondeactivate: (this: HTMLElement, ev: UIEvent) => any; - ondrag: (this: HTMLElement, ev: DragEvent) => any; - ondragend: (this: HTMLElement, ev: DragEvent) => any; - ondragenter: (this: HTMLElement, ev: DragEvent) => any; - ondragleave: (this: HTMLElement, ev: DragEvent) => any; - ondragover: (this: HTMLElement, ev: DragEvent) => any; - ondragstart: (this: HTMLElement, ev: DragEvent) => any; - ondrop: (this: HTMLElement, ev: DragEvent) => any; - ondurationchange: (this: HTMLElement, ev: Event) => any; - onemptied: (this: HTMLElement, ev: Event) => any; - onended: (this: HTMLElement, ev: MediaStreamErrorEvent) => any; - onerror: (this: HTMLElement, ev: ErrorEvent) => any; - onfocus: (this: HTMLElement, ev: FocusEvent) => any; - oninput: (this: HTMLElement, ev: Event) => any; - oninvalid: (this: HTMLElement, ev: Event) => any; - onkeydown: (this: HTMLElement, ev: KeyboardEvent) => any; - onkeypress: (this: HTMLElement, ev: KeyboardEvent) => any; - onkeyup: (this: HTMLElement, ev: KeyboardEvent) => any; - onload: (this: HTMLElement, ev: Event) => any; - onloadeddata: (this: HTMLElement, ev: Event) => any; - onloadedmetadata: (this: HTMLElement, ev: Event) => any; - onloadstart: (this: HTMLElement, ev: Event) => any; - onmousedown: (this: HTMLElement, ev: MouseEvent) => any; - onmouseenter: (this: HTMLElement, ev: MouseEvent) => any; - onmouseleave: (this: HTMLElement, ev: MouseEvent) => any; - onmousemove: (this: HTMLElement, ev: MouseEvent) => any; - onmouseout: (this: HTMLElement, ev: MouseEvent) => any; - onmouseover: (this: HTMLElement, ev: MouseEvent) => any; - onmouseup: (this: HTMLElement, ev: MouseEvent) => any; - onmousewheel: (this: HTMLElement, ev: WheelEvent) => any; - onmscontentzoom: (this: HTMLElement, ev: UIEvent) => any; - onmsmanipulationstatechanged: (this: HTMLElement, ev: MSManipulationEvent) => any; - onpaste: (this: HTMLElement, ev: ClipboardEvent) => any; - onpause: (this: HTMLElement, ev: Event) => any; - onplay: (this: HTMLElement, ev: Event) => any; - onplaying: (this: HTMLElement, ev: Event) => any; - onprogress: (this: HTMLElement, ev: ProgressEvent) => any; - onratechange: (this: HTMLElement, ev: Event) => any; - onreset: (this: HTMLElement, ev: Event) => any; - onscroll: (this: HTMLElement, ev: UIEvent) => any; - onseeked: (this: HTMLElement, ev: Event) => any; - onseeking: (this: HTMLElement, ev: Event) => any; - onselect: (this: HTMLElement, ev: UIEvent) => any; - onselectstart: (this: HTMLElement, ev: Event) => any; - onstalled: (this: HTMLElement, ev: Event) => any; - onsubmit: (this: HTMLElement, ev: Event) => any; - onsuspend: (this: HTMLElement, ev: Event) => any; - ontimeupdate: (this: HTMLElement, ev: Event) => any; - onvolumechange: (this: HTMLElement, ev: Event) => any; - onwaiting: (this: HTMLElement, ev: Event) => any; - outerText: string; - spellcheck: boolean; - readonly style: CSSStyleDeclaration; - tabIndex: number; - title: string; - blur(): void; - click(): void; - dragDrop(): boolean; - focus(): void; - msGetInputContext(): MSInputMethodContext; - animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation; - addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLElement: { - prototype: HTMLElement; - new(): HTMLElement; -}; - -interface HTMLEmbedElement extends HTMLElement, GetSVGDocument { - /** - * Sets or retrieves the height of the object. - */ - height: string; - hidden: any; - /** - * Gets or sets whether the DLNA PlayTo device is available. - */ - msPlayToDisabled: boolean; - /** - * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. - */ - msPlayToPreferredSourceUri: string; - /** - * Gets or sets the primary DLNA PlayTo device. - */ - msPlayToPrimary: boolean; - /** - * Gets the source associated with the media element for use by the PlayToManager. - */ - readonly msPlayToSource: any; - /** - * Sets or retrieves the name of the object. - */ - name: string; - /** - * Retrieves the palette used for the embedded document. - */ - readonly palette: string; - /** - * Retrieves the URL of the plug-in used to view an embedded document. - */ - readonly pluginspage: string; - readonly readyState: string; - /** - * Sets or retrieves a URL to be loaded by the object. - */ - src: string; - /** - * Sets or retrieves the height and width units of the embed object. - */ - units: string; - /** - * Sets or retrieves the width of the object. - */ - width: string; - addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLEmbedElement: { - prototype: HTMLEmbedElement; - new(): HTMLEmbedElement; -}; - -interface HTMLFieldSetElement extends HTMLElement { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - name: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLFieldSetElement: { - prototype: HTMLFieldSetElement; - new(): HTMLFieldSetElement; -}; - -interface HTMLFontElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { - /** - * Sets or retrieves the current typeface family. - */ - face: string; - addEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLFontElement: { - prototype: HTMLFontElement; - new(): HTMLFontElement; -}; - -interface HTMLFormControlsCollection extends HTMLCollectionBase { - namedItem(name: string): HTMLCollection | Element | null; -} - -declare var HTMLFormControlsCollection: { - prototype: HTMLFormControlsCollection; - new(): HTMLFormControlsCollection; -}; - -interface HTMLFormElement extends HTMLElement { - /** - * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. - */ - acceptCharset: string; - /** - * Sets or retrieves the URL to which the form content is sent for processing. - */ - action: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - */ - autocomplete: string; - /** - * Retrieves a collection, in source order, of all controls in a given form. - */ - readonly elements: HTMLFormControlsCollection; - /** - * Sets or retrieves the MIME encoding for the form. - */ - encoding: string; - /** - * Sets or retrieves the encoding type for the form. - */ - enctype: string; - /** - * Sets or retrieves the number of objects in a collection. - */ - readonly length: number; - /** - * Sets or retrieves how to send the form data to the server. - */ - method: string; - /** - * Sets or retrieves the name of the object. - */ - name: string; - /** - * Designates a form that is not validated when submitted. - */ - noValidate: boolean; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Retrieves a form object or an object from an elements collection. - * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made. - * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned. - */ - item(name?: any, index?: any): any; - /** - * Retrieves a form object or an object from an elements collection. - */ - namedItem(name: string): any; - /** - * Fires when the user resets a form. - */ - reset(): void; - /** - * Fires when a FORM is about to be submitted. - */ - submit(): void; - reportValidity(): boolean; - reportValidity(): boolean; - addEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - [name: string]: any; -} - -declare var HTMLFormElement: { - prototype: HTMLFormElement; - new(): HTMLFormElement; -}; - -interface HTMLFrameElementEventMap extends HTMLElementEventMap { - "load": Event; -} - -interface HTMLFrameElement extends HTMLElement, GetSVGDocument { - /** - * Specifies the properties of a border drawn around an object. - */ - border: string; - /** - * Sets or retrieves the border color of the object. - */ - borderColor: any; - /** - * Retrieves the document object of the page or frame. - */ - readonly contentDocument: Document; - /** - * Retrieves the object of the specified. - */ - readonly contentWindow: Window; - /** - * Sets or retrieves whether to display a border for the frame. - */ - frameBorder: string; - /** - * Sets or retrieves the amount of additional space between the frames. - */ - frameSpacing: any; - /** - * Sets or retrieves the height of the object. - */ - height: string | number; - /** - * Sets or retrieves a URI to a long description of the object. - */ - longDesc: string; - /** - * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. - */ - marginHeight: string; - /** - * Sets or retrieves the left and right margin widths before displaying the text in a frame. - */ - marginWidth: string; - /** - * Sets or retrieves the frame name. - */ - name: string; - /** - * Sets or retrieves whether the user can resize the frame. - */ - noResize: boolean; - /** - * Sets or retrieves whether the frame can be scrolled. - */ - scrolling: string; - /** - * Sets or retrieves a URL to be loaded by the object. - */ - src: string; - /** - * Sets or retrieves the width of the object. - */ - width: string | number; - addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLFrameElement: { - prototype: HTMLFrameElement; - new(): HTMLFrameElement; -}; - -interface HTMLFrameSetElementEventMap extends HTMLElementEventMap { - "afterprint": Event; - "beforeprint": Event; - "beforeunload": BeforeUnloadEvent; - "blur": FocusEvent; - "error": ErrorEvent; - "focus": FocusEvent; - "hashchange": HashChangeEvent; - "load": Event; - "message": MessageEvent; - "offline": Event; - "online": Event; - "orientationchange": Event; - "pagehide": PageTransitionEvent; - "pageshow": PageTransitionEvent; - "popstate": PopStateEvent; - "resize": UIEvent; - "scroll": UIEvent; - "storage": StorageEvent; - "unload": Event; -} - -interface HTMLFrameSetElement extends HTMLElement { - border: string; - /** - * Sets or retrieves the border color of the object. - */ - borderColor: any; - /** - * Sets or retrieves the frame widths of the object. - */ - cols: string; - /** - * Sets or retrieves whether to display a border for the frame. - */ - frameBorder: string; - /** - * Sets or retrieves the amount of additional space between the frames. - */ - frameSpacing: any; - name: string; - onafterprint: (this: HTMLFrameSetElement, ev: Event) => any; - onbeforeprint: (this: HTMLFrameSetElement, ev: Event) => any; - onbeforeunload: (this: HTMLFrameSetElement, ev: BeforeUnloadEvent) => any; - onhashchange: (this: HTMLFrameSetElement, ev: HashChangeEvent) => any; - onmessage: (this: HTMLFrameSetElement, ev: MessageEvent) => any; - onoffline: (this: HTMLFrameSetElement, ev: Event) => any; - ononline: (this: HTMLFrameSetElement, ev: Event) => any; - onorientationchange: (this: HTMLFrameSetElement, ev: Event) => any; - onpagehide: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any; - onpageshow: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any; - onpopstate: (this: HTMLFrameSetElement, ev: PopStateEvent) => any; - onresize: (this: HTMLFrameSetElement, ev: UIEvent) => any; - onstorage: (this: HTMLFrameSetElement, ev: StorageEvent) => any; - onunload: (this: HTMLFrameSetElement, ev: Event) => any; - /** - * Sets or retrieves the frame heights of the object. - */ - rows: string; - addEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLFrameSetElement: { - prototype: HTMLFrameSetElement; - new(): HTMLFrameSetElement; -}; - -interface HTMLHeadElement extends HTMLElement { - profile: string; - addEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLHeadElement: { - prototype: HTMLHeadElement; - new(): HTMLHeadElement; -}; - -interface HTMLHeadingElement extends HTMLElement { - /** - * Sets or retrieves a value that indicates the table alignment. - */ - align: string; - addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLHeadingElement: { - prototype: HTMLHeadingElement; - new(): HTMLHeadingElement; -}; - -interface HTMLHRElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - /** - * Sets or retrieves whether the horizontal rule is drawn with 3-D shading. - */ - noShade: boolean; - /** - * Sets or retrieves the width of the object. - */ - width: number; - addEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLHRElement: { - prototype: HTMLHRElement; - new(): HTMLHRElement; -}; - -interface HTMLHtmlElement extends HTMLElement { - /** - * Sets or retrieves the DTD version that governs the current document. - */ - version: string; - addEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLHtmlElement: { - prototype: HTMLHtmlElement; - new(): HTMLHtmlElement; -}; - -interface HTMLIFrameElementEventMap extends HTMLElementEventMap { - "load": Event; -} - -interface HTMLIFrameElement extends HTMLElement, GetSVGDocument { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - allowFullscreen: boolean; - allowPaymentRequest: boolean; - /** - * Specifies the properties of a border drawn around an object. - */ - border: string; - /** - * Retrieves the document object of the page or frame. - */ - readonly contentDocument: Document; - /** - * Retrieves the object of the specified. - */ - readonly contentWindow: Window; - /** - * Sets or retrieves whether to display a border for the frame. - */ - frameBorder: string; - /** - * Sets or retrieves the amount of additional space between the frames. - */ - frameSpacing: any; - /** - * Sets or retrieves the height of the object. - */ - height: string; - /** - * Sets or retrieves the horizontal margin for the object. - */ - hspace: number; - /** - * Sets or retrieves a URI to a long description of the object. - */ - longDesc: string; - /** - * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. - */ - marginHeight: string; - /** - * Sets or retrieves the left and right margin widths before displaying the text in a frame. - */ - marginWidth: string; - /** - * Sets or retrieves the frame name. - */ - name: string; - /** - * Sets or retrieves whether the user can resize the frame. - */ - noResize: boolean; - readonly sandbox: DOMSettableTokenList; - /** - * Sets or retrieves whether the frame can be scrolled. - */ - scrolling: string; - /** - * Sets or retrieves a URL to be loaded by the object. - */ - src: string; - /** - * Sets or retrieves the vertical margin for the object. - */ - vspace: number; - /** - * Sets or retrieves the width of the object. - */ - width: string; - /** - * Sets or retrives the content of the page that is to contain. - */ - srcdoc: string; - addEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLIFrameElement: { - prototype: HTMLIFrameElement; - new(): HTMLIFrameElement; -}; - -interface HTMLImageElement extends HTMLElement { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Specifies the properties of a border drawn around an object. - */ - border: string; - /** - * Retrieves whether the object is fully loaded. - */ - readonly complete: boolean; - crossOrigin: string | null; - readonly currentSrc: string; - /** - * Sets or retrieves the height of the object. - */ - height: number; - /** - * Sets or retrieves the width of the border to draw around the object. - */ - hspace: number; - /** - * Sets or retrieves whether the image is a server-side image map. - */ - isMap: boolean; - /** - * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object. - */ - longDesc: string; - lowsrc: string; - /** - * Gets or sets whether the DLNA PlayTo device is available. - */ - msPlayToDisabled: boolean; - msPlayToPreferredSourceUri: string; - /** - * Gets or sets the primary DLNA PlayTo device. - */ - msPlayToPrimary: boolean; - /** - * Gets the source associated with the media element for use by the PlayToManager. - */ - readonly msPlayToSource: any; - /** - * Sets or retrieves the name of the object. - */ - name: string; - /** - * The original height of the image resource before sizing. - */ - readonly naturalHeight: number; - /** - * The original width of the image resource before sizing. - */ - readonly naturalWidth: number; - sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - */ - src: string; - srcset: string; - /** - * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. - */ - useMap: string; - /** - * Sets or retrieves the vertical margin for the object. - */ - vspace: number; - /** - * Sets or retrieves the width of the object. - */ - width: number; - readonly x: number; - readonly y: number; - msGetAsCastingSource(): any; - addEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLImageElement: { - prototype: HTMLImageElement; - new(): HTMLImageElement; -}; - -interface HTMLInputElement extends HTMLElement { - /** - * Sets or retrieves a comma-separated list of content types. - */ - accept: string; - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; - /** - * Specifies whether autocomplete is applied to an editable text field. - */ - autocomplete: string; - /** - * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. - */ - autofocus: boolean; - /** - * Sets or retrieves the width of the border to draw around the object. - */ - border: string; - /** - * Sets or retrieves the state of the check box or radio button. - */ - checked: boolean; - /** - * Retrieves whether the object is fully loaded. - */ - readonly complete: boolean; - /** - * Sets or retrieves the state of the check box or radio button. - */ - defaultChecked: boolean; - /** - * Sets or retrieves the initial contents of the object. - */ - defaultValue: string; - disabled: boolean; - /** - * Returns a FileList object on a file type input object. - */ - readonly files: FileList | null; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Overrides the action attribute (where the data on a form is sent) on the parent form element. - */ - formAction: string; - /** - * Used to override the encoding (formEnctype attribute) specified on the form element. - */ - formEnctype: string; - /** - * Overrides the submit method attribute previously specified on a form element. - */ - formMethod: string; - /** - * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - */ - formNoValidate: string; - /** - * Overrides the target attribute on a form element. - */ - formTarget: string; - /** - * Sets or retrieves the height of the object. - */ - height: string; - /** - * Sets or retrieves the width of the border to draw around the object. - */ - hspace: number; - indeterminate: boolean; - /** - * Specifies the ID of a pre-defined datalist of options for an input element. - */ - readonly list: HTMLElement; - /** - * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. - */ - max: string; - /** - * Sets or retrieves the maximum number of characters that the user can enter in a text control. - */ - maxLength: number; - /** - * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. - */ - min: string; - /** - * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. - */ - multiple: boolean; - /** - * Sets or retrieves the name of the object. - */ - name: string; - /** - * Gets or sets a string containing a regular expression that the user's input must match. - */ - pattern: string; - /** - * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. - */ - placeholder: string; - readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - */ - required: boolean; - selectionDirection: string; - /** - * Gets or sets the end position or offset of a text selection. - */ - selectionEnd: number; - /** - * Gets or sets the starting position or offset of a text selection. - */ - selectionStart: number; - size: number; - /** - * The address or URL of the a media resource that is to be considered. - */ - src: string; - status: boolean; - /** - * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. - */ - step: string; - /** - * Returns the content type of the object. - */ - type: string; - /** - * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. - */ - useMap: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - /** - * Returns the value of the data at the cursor's current position. - */ - value: string; - valueAsDate: Date; - /** - * Returns the input field value as a number. - */ - valueAsNumber: number; - /** - * Sets or retrieves the vertical margin for the object. - */ - vspace: number; - webkitdirectory: boolean; - /** - * Sets or retrieves the width of the object. - */ - width: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - minLength: number; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Makes the selection equal to the current object. - */ - select(): void; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - /** - * Sets the start and end positions of a selection in a text field. - * @param start The offset into the text field for the start of the selection. - * @param end The offset into the text field for the end of the selection. - * @param direction The direction in which the selection is performed. - */ - setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void; - /** - * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value. - * @param n Value to decrement the value by. - */ - stepDown(n?: number): void; - /** - * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value. - * @param n Value to increment the value by. - */ - stepUp(n?: number): void; - addEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLInputElement: { - prototype: HTMLInputElement; - new(): HTMLInputElement; -}; - -interface HTMLLabelElement extends HTMLElement { - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the object to which the given label object is assigned. - */ - htmlFor: string; - readonly control: HTMLInputElement | null; - addEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLLabelElement: { - prototype: HTMLLabelElement; - new(): HTMLLabelElement; -}; - -interface HTMLLegendElement extends HTMLElement { - /** - * Retrieves a reference to the form that the object is embedded in. - */ - align: string; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLLegendElement: { - prototype: HTMLLegendElement; - new(): HTMLLegendElement; -}; - -interface HTMLLIElement extends HTMLElement { - type: string; - /** - * Sets or retrieves the value of a list item. - */ - value: number; - addEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLLIElement: { - prototype: HTMLLIElement; - new(): HTMLLIElement; -}; - -interface HTMLLinkElement extends HTMLElement, LinkStyle { - /** - * Sets or retrieves the character set used to encode the object. - */ - charset: string; - disabled: boolean; - /** - * Sets or retrieves a destination URL or an anchor point. - */ - href: string; - /** - * Sets or retrieves the language code of the object. - */ - hreflang: string; - /** - * Sets or retrieves the media type. - */ - media: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rel: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ - rev: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ - target: string; - /** - * Sets or retrieves the MIME type of the object. - */ - type: string; - import?: Document; - integrity: string; - addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLLinkElement: { - prototype: HTMLLinkElement; - new(): HTMLLinkElement; -}; - -interface HTMLMapElement extends HTMLElement { - /** - * Retrieves a collection of the area objects defined for the given map object. - */ - readonly areas: HTMLAreasCollection; - /** - * Sets or retrieves the name of the object. - */ - name: string; - addEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMapElement: { - prototype: HTMLMapElement; - new(): HTMLMapElement; -}; - -interface HTMLMarqueeElementEventMap extends HTMLElementEventMap { - "bounce": Event; - "finish": Event; - "start": Event; -} - -interface HTMLMarqueeElement extends HTMLElement { - behavior: string; - bgColor: any; - direction: string; - height: string; - hspace: number; - loop: number; - onbounce: (this: HTMLMarqueeElement, ev: Event) => any; - onfinish: (this: HTMLMarqueeElement, ev: Event) => any; - onstart: (this: HTMLMarqueeElement, ev: Event) => any; - scrollAmount: number; - scrollDelay: number; - trueSpeed: boolean; - vspace: number; - width: string; - start(): void; - stop(): void; - addEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMarqueeElement: { - prototype: HTMLMarqueeElement; - new(): HTMLMarqueeElement; -}; - -interface HTMLMediaElementEventMap extends HTMLElementEventMap { - "encrypted": MediaEncryptedEvent; - "msneedkey": MSMediaKeyNeededEvent; -} - -interface HTMLMediaElement extends HTMLElement { - /** - * Returns an AudioTrackList object with the audio tracks for a given video element. - */ - readonly audioTracks: AudioTrackList; - /** - * Gets or sets a value that indicates whether to start playing the media automatically. - */ - autoplay: boolean; - /** - * Gets a collection of buffered time ranges. - */ - readonly buffered: TimeRanges; - /** - * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). - */ - controls: boolean; - crossOrigin: string | null; - /** - * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. - */ - readonly currentSrc: string; - /** - * Gets or sets the current playback position, in seconds. - */ - currentTime: number; - defaultMuted: boolean; - /** - * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. - */ - defaultPlaybackRate: number; - /** - * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming. - */ - readonly duration: number; - /** - * Gets information about whether the playback has ended or not. - */ - readonly ended: boolean; - /** - * Returns an object representing the current error state of the audio or video element. - */ - readonly error: MediaError; - /** - * Gets or sets a flag to specify whether playback should restart after it completes. - */ - loop: boolean; - readonly mediaKeys: MediaKeys | null; - /** - * Specifies the purpose of the audio or video media, such as background audio or alerts. - */ - msAudioCategory: string; - /** - * Specifies the output device id that the audio will be sent to. - */ - msAudioDeviceType: string; - readonly msGraphicsTrustStatus: MSGraphicsTrust; - /** - * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element. - */ - readonly msKeys: MSMediaKeys; - /** - * Gets or sets whether the DLNA PlayTo device is available. - */ - msPlayToDisabled: boolean; - /** - * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. - */ - msPlayToPreferredSourceUri: string; - /** - * Gets or sets the primary DLNA PlayTo device. - */ - msPlayToPrimary: boolean; - /** - * Gets the source associated with the media element for use by the PlayToManager. - */ - readonly msPlayToSource: any; - /** - * Specifies whether or not to enable low-latency playback on the media element. - */ - msRealTime: boolean; - /** - * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. - */ - muted: boolean; - /** - * Gets the current network activity for the element. - */ - readonly networkState: number; - onencrypted: (this: HTMLMediaElement, ev: MediaEncryptedEvent) => any; - onmsneedkey: (this: HTMLMediaElement, ev: MSMediaKeyNeededEvent) => any; - /** - * Gets a flag that specifies whether playback is paused. - */ - readonly paused: boolean; - /** - * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. - */ - playbackRate: number; - /** - * Gets TimeRanges for the current media resource that has been played. - */ - readonly played: TimeRanges; - /** - * Gets or sets the current playback position, in seconds. - */ - preload: string; - readyState: number; - /** - * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. - */ - readonly seekable: TimeRanges; - /** - * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource. - */ - readonly seeking: boolean; - /** - * The address or URL of the a media resource that is to be considered. - */ - src: string; - srcObject: MediaStream | null; - readonly textTracks: TextTrackList; - readonly videoTracks: VideoTrackList; - /** - * Gets or sets the volume level for audio portions of the media element. - */ - volume: number; - addTextTrack(kind: string, label?: string, language?: string): TextTrack; - /** - * Returns a string that specifies whether the client can play a given media resource type. - */ - canPlayType(type: string): string; - /** - * Resets the audio or video object and loads a new media resource. - */ - load(): void; - /** - * Clears all effects from the media pipeline. - */ - msClearEffects(): void; - msGetAsCastingSource(): any; - /** - * Inserts the specified audio effect into media pipeline. - */ - msInsertAudioEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; - msSetMediaKeys(mediaKeys: MSMediaKeys): void; - /** - * Specifies the media protection manager for a given media pipeline. - */ - msSetMediaProtectionManager(mediaProtectionManager?: any): void; - /** - * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not. - */ - pause(): void; - /** - * Loads and starts playback of a media resource. - */ - play(): Promise; - setMediaKeys(mediaKeys: MediaKeys | null): Promise; - readonly HAVE_CURRENT_DATA: number; - readonly HAVE_ENOUGH_DATA: number; - readonly HAVE_FUTURE_DATA: number; - readonly HAVE_METADATA: number; - readonly HAVE_NOTHING: number; - readonly NETWORK_EMPTY: number; - readonly NETWORK_IDLE: number; - readonly NETWORK_LOADING: number; - readonly NETWORK_NO_SOURCE: number; - addEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMediaElement: { - prototype: HTMLMediaElement; - new(): HTMLMediaElement; - readonly HAVE_CURRENT_DATA: number; - readonly HAVE_ENOUGH_DATA: number; - readonly HAVE_FUTURE_DATA: number; - readonly HAVE_METADATA: number; - readonly HAVE_NOTHING: number; - readonly NETWORK_EMPTY: number; - readonly NETWORK_IDLE: number; - readonly NETWORK_LOADING: number; - readonly NETWORK_NO_SOURCE: number; -}; - -interface HTMLMenuElement extends HTMLElement { - compact: boolean; - type: string; - addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMenuElement: { - prototype: HTMLMenuElement; - new(): HTMLMenuElement; -}; - -interface HTMLMetaElement extends HTMLElement { - /** - * Sets or retrieves the character set used to encode the object. - */ - charset: string; - /** - * Gets or sets meta-information to associate with httpEquiv or name. - */ - content: string; - /** - * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. - */ - httpEquiv: string; - /** - * Sets or retrieves the value specified in the content attribute of the meta object. - */ - name: string; - /** - * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object. - */ - scheme: string; - /** - * Sets or retrieves the URL property that will be loaded after the specified time has elapsed. - */ - url: string; - addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMetaElement: { - prototype: HTMLMetaElement; - new(): HTMLMetaElement; -}; - -interface HTMLMeterElement extends HTMLElement { - high: number; - low: number; - max: number; - min: number; - optimum: number; - value: number; - addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLMeterElement: { - prototype: HTMLMeterElement; - new(): HTMLMeterElement; -}; - -interface HTMLModElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - */ - cite: string; - /** - * Sets or retrieves the date and time of a modification to the object. - */ - dateTime: string; - addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLModElement: { - prototype: HTMLModElement; - new(): HTMLModElement; -}; - -interface HTMLObjectElement extends HTMLElement, GetSVGDocument { - align: string; - /** - * Gets or sets the optional alternative HTML script to execute if the object fails to load. - */ - altHtml: string; - /** - * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. - */ - archive: string; - /** - * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element. - */ - readonly BaseHref: string; - border: string; - /** - * Sets or retrieves the URL of the file containing the compiled Java class. - */ - code: string; - /** - * Sets or retrieves the URL of the component. - */ - codeBase: string; - /** - * Sets or retrieves the Internet media type for the code associated with the object. - */ - codeType: string; - /** - * Retrieves the document object of the page or frame. - */ - readonly contentDocument: Document; - /** - * Sets or retrieves the URL that references the data of the object. - */ - data: string; - declare: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the height of the object. - */ - height: string; - hspace: number; - /** - * Gets or sets whether the DLNA PlayTo device is available. - */ - msPlayToDisabled: boolean; - /** - * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. - */ - msPlayToPreferredSourceUri: string; - /** - * Gets or sets the primary DLNA PlayTo device. - */ - msPlayToPrimary: boolean; - /** - * Gets the source associated with the media element for use by the PlayToManager. - */ - readonly msPlayToSource: any; - /** - * Sets or retrieves the name of the object. - */ - name: string; - readonly readyState: number; - /** - * Sets or retrieves a message to be displayed while an object is loading. - */ - standby: string; - /** - * Sets or retrieves the MIME type of the object. - */ - type: string; - /** - * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. - */ - useMap: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - vspace: number; - /** - * Sets or retrieves the width of the object. - */ - width: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - typemustmatch: boolean; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - addEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLObjectElement: { - prototype: HTMLObjectElement; - new(): HTMLObjectElement; -}; - -interface HTMLOListElement extends HTMLElement { - compact: boolean; - /** - * The starting number. - */ - start: number; - type: string; - addEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLOListElement: { - prototype: HTMLOListElement; - new(): HTMLOListElement; -}; - -interface HTMLOptGroupElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - */ - defaultSelected: boolean; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - */ - readonly index: number; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - */ - label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - */ - selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - */ - readonly text: string; - /** - * Sets or retrieves the value which is returned to the server when the form control is submitted. - */ - value: string; - addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLOptGroupElement: { - prototype: HTMLOptGroupElement; - new(): HTMLOptGroupElement; -}; - -interface HTMLOptionElement extends HTMLElement { - /** - * Sets or retrieves the status of an option. - */ - defaultSelected: boolean; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the ordinal position of an option in a list box. - */ - readonly index: number; - /** - * Sets or retrieves a value that you can use to implement your own label functionality for the object. - */ - label: string; - /** - * Sets or retrieves whether the option in the list box is the default item. - */ - selected: boolean; - /** - * Sets or retrieves the text string specified by the option tag. - */ - text: string; - /** - * Sets or retrieves the value which is returned to the server when the form control is submitted. - */ - value: string; - addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLOptionElement: { - prototype: HTMLOptionElement; - new(): HTMLOptionElement; -}; - -interface HTMLOptionsCollection extends HTMLCollectionOf { - length: number; - selectedIndex: number; - add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number): void; - remove(index: number): void; -} - -declare var HTMLOptionsCollection: { - prototype: HTMLOptionsCollection; - new(): HTMLOptionsCollection; -}; - -interface HTMLOutputElement extends HTMLElement { - defaultValue: string; - readonly form: HTMLFormElement | null; - readonly htmlFor: DOMSettableTokenList; - name: string; - readonly type: string; - readonly validationMessage: string; - readonly validity: ValidityState; - value: string; - readonly willValidate: boolean; - checkValidity(): boolean; - reportValidity(): boolean; - setCustomValidity(error: string): void; - addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLOutputElement: { - prototype: HTMLOutputElement; - new(): HTMLOutputElement; -}; - -interface HTMLParagraphElement extends HTMLElement { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - clear: string; - addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLParagraphElement: { - prototype: HTMLParagraphElement; - new(): HTMLParagraphElement; -}; - -interface HTMLParamElement extends HTMLElement { - /** - * Sets or retrieves the name of an input parameter for an element. - */ - name: string; - /** - * Sets or retrieves the content type of the resource designated by the value attribute. - */ - type: string; - /** - * Sets or retrieves the value of an input parameter for an element. - */ - value: string; - /** - * Sets or retrieves the data type of the value attribute. - */ - valueType: string; - addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLParamElement: { - prototype: HTMLParamElement; - new(): HTMLParamElement; -}; - -interface HTMLPictureElement extends HTMLElement { - addEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLPictureElement: { - prototype: HTMLPictureElement; - new(): HTMLPictureElement; -}; - -interface HTMLPreElement extends HTMLElement { - /** - * Sets or gets a value that you can use to implement your own width functionality for the object. - */ - width: number; - addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLPreElement: { - prototype: HTMLPreElement; - new(): HTMLPreElement; -}; - -interface HTMLProgressElement extends HTMLElement { - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Defines the maximum, or "done" value for a progress element. - */ - max: number; - /** - * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar). - */ - readonly position: number; - /** - * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value. - */ - value: number; - addEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLProgressElement: { - prototype: HTMLProgressElement; - new(): HTMLProgressElement; -}; - -interface HTMLQuoteElement extends HTMLElement { - /** - * Sets or retrieves reference information about the object. - */ - cite: string; - addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLQuoteElement: { - prototype: HTMLQuoteElement; - new(): HTMLQuoteElement; -}; - -interface HTMLScriptElement extends HTMLElement { - async: boolean; - /** - * Sets or retrieves the character set used to encode the object. - */ - charset: string; - crossOrigin: string | null; - /** - * Sets or retrieves the status of the script. - */ - defer: boolean; - /** - * Sets or retrieves the event for which the script is written. - */ - event: string; - /** - * Sets or retrieves the object that is bound to the event script. - */ - htmlFor: string; - /** - * Retrieves the URL to an external file that contains the source code or data. - */ - src: string; - /** - * Retrieves or sets the text of the object as a string. - */ - text: string; - /** - * Sets or retrieves the MIME type for the associated scripting engine. - */ - type: string; - integrity: string; - addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLScriptElement: { - prototype: HTMLScriptElement; - new(): HTMLScriptElement; -}; - -interface HTMLSelectElement extends HTMLElement { - /** - * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. - */ - autofocus: boolean; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the number of objects in a collection. - */ - length: number; - /** - * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. - */ - multiple: boolean; - /** - * Sets or retrieves the name of the object. - */ - name: string; - readonly options: HTMLOptionsCollection; - /** - * When present, marks an element that can't be submitted without a value. - */ - required: boolean; - /** - * Sets or retrieves the index of the selected option in a select object. - */ - selectedIndex: number; - selectedOptions: HTMLCollectionOf; - /** - * Sets or retrieves the number of rows in the list box. - */ - size: number; - /** - * Retrieves the type of select control based on the value of the MULTIPLE attribute. - */ - readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - /** - * Sets or retrieves the value which is returned to the server when the form control is submitted. - */ - value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - /** - * Adds an element to the areas, controlRange, or options collection. - * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection. - * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection. - */ - add(element: HTMLElement, before?: HTMLElement | number): void; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Retrieves a select object or an object from an options collection. - * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made. - * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned. - */ - item(name?: any, index?: any): any; - /** - * Retrieves a select object or an object from an options collection. - * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made. - */ - namedItem(name: string): any; - /** - * Removes an element from the collection. - * @param index Number that specifies the zero-based index of the element to remove from the collection. - */ - remove(index?: number): void; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - addEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - [name: string]: any; -} - -declare var HTMLSelectElement: { - prototype: HTMLSelectElement; - new(): HTMLSelectElement; -}; - -interface HTMLSourceElement extends HTMLElement { - /** - * Gets or sets the intended media type of the media source. - */ - media: string; - msKeySystem: string; - sizes: string; - /** - * The address or URL of the a media resource that is to be considered. - */ - src: string; - srcset: string; - /** - * Gets or sets the MIME type of a media resource. - */ - type: string; - addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLSourceElement: { - prototype: HTMLSourceElement; - new(): HTMLSourceElement; -}; - -interface HTMLSpanElement extends HTMLElement { - addEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLSpanElement: { - prototype: HTMLSpanElement; - new(): HTMLSpanElement; -}; - -interface HTMLStyleElement extends HTMLElement, LinkStyle { - disabled: boolean; - /** - * Sets or retrieves the media type. - */ - media: string; - /** - * Retrieves the CSS language in which the style sheet is written. - */ - type: string; - addEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLStyleElement: { - prototype: HTMLStyleElement; - new(): HTMLStyleElement; -}; - -interface HTMLTableCaptionElement extends HTMLElement { - /** - * Sets or retrieves the alignment of the caption or legend. - */ - align: string; - /** - * Sets or retrieves whether the caption appears at the top or bottom of the table. - */ - vAlign: string; - addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableCaptionElement: { - prototype: HTMLTableCaptionElement; - new(): HTMLTableCaptionElement; -}; - -interface HTMLTableCellElement extends HTMLElement, HTMLTableAlignment { - /** - * Sets or retrieves abbreviated text for the object. - */ - abbr: string; - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - /** - * Sets or retrieves a comma-delimited list of conceptual categories associated with the object. - */ - axis: string; - bgColor: any; - /** - * Retrieves the position of the object in the cells collection of a row. - */ - readonly cellIndex: number; - /** - * Sets or retrieves the number columns in the table that the object should span. - */ - colSpan: number; - /** - * Sets or retrieves a list of header cells that provide information for the object. - */ - headers: string; - /** - * Sets or retrieves the height of the object. - */ - height: any; - /** - * Sets or retrieves whether the browser automatically performs wordwrap. - */ - noWrap: boolean; - /** - * Sets or retrieves how many rows in a table the cell should span. - */ - rowSpan: number; - /** - * Sets or retrieves the group of cells in a table to which the object's information applies. - */ - scope: string; - /** - * Sets or retrieves the width of the object. - */ - width: string; - addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableCellElement: { - prototype: HTMLTableCellElement; - new(): HTMLTableCellElement; -}; - -interface HTMLTableColElement extends HTMLElement, HTMLTableAlignment { - /** - * Sets or retrieves the alignment of the object relative to the display or table. - */ - align: string; - /** - * Sets or retrieves the number of columns in the group. - */ - span: number; - /** - * Sets or retrieves the width of the object. - */ - width: any; - addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableColElement: { - prototype: HTMLTableColElement; - new(): HTMLTableColElement; -}; - -interface HTMLTableDataCellElement extends HTMLTableCellElement { - addEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableDataCellElement: { - prototype: HTMLTableDataCellElement; - new(): HTMLTableDataCellElement; -}; - -interface HTMLTableElement extends HTMLElement { - /** - * Sets or retrieves a value that indicates the table alignment. - */ - align: string; - bgColor: any; - /** - * Sets or retrieves the width of the border to draw around the object. - */ - border: string; - /** - * Sets or retrieves the border color of the object. - */ - borderColor: any; - /** - * Retrieves the caption object of a table. - */ - caption: HTMLTableCaptionElement; - /** - * Sets or retrieves the amount of space between the border of the cell and the content of the cell. - */ - cellPadding: string; - /** - * Sets or retrieves the amount of space between cells in a table. - */ - cellSpacing: string; - /** - * Sets or retrieves the number of columns in the table. - */ - cols: number; - /** - * Sets or retrieves the way the border frame around the table is displayed. - */ - frame: string; - /** - * Sets or retrieves the height of the object. - */ - height: any; - /** - * Sets or retrieves the number of horizontal rows contained in the object. - */ - rows: HTMLCollectionOf; - /** - * Sets or retrieves which dividing lines (inner borders) are displayed. - */ - rules: string; - /** - * Sets or retrieves a description and/or structure of the object. - */ - summary: string; - /** - * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. - */ - tBodies: HTMLCollectionOf; - /** - * Retrieves the tFoot object of the table. - */ - tFoot: HTMLTableSectionElement; - /** - * Retrieves the tHead object of the table. - */ - tHead: HTMLTableSectionElement; - /** - * Sets or retrieves the width of the object. - */ - width: string; - /** - * Creates an empty caption element in the table. - */ - createCaption(): HTMLTableCaptionElement; - /** - * Creates an empty tBody element in the table. - */ - createTBody(): HTMLTableSectionElement; - /** - * Creates an empty tFoot element in the table. - */ - createTFoot(): HTMLTableSectionElement; - /** - * Returns the tHead element object if successful, or null otherwise. - */ - createTHead(): HTMLTableSectionElement; - /** - * Deletes the caption element and its contents from the table. - */ - deleteCaption(): void; - /** - * Removes the specified row (tr) from the element and from the rows collection. - * @param index Number that specifies the zero-based position in the rows collection of the row to remove. - */ - deleteRow(index?: number): void; - /** - * Deletes the tFoot element and its contents from the table. - */ - deleteTFoot(): void; - /** - * Deletes the tHead element and its contents from the table. - */ - deleteTHead(): void; - /** - * Creates a new row (tr) in the table, and adds the row to the rows collection. - * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. - */ - insertRow(index?: number): HTMLTableRowElement; - addEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableElement: { - prototype: HTMLTableElement; - new(): HTMLTableElement; -}; - -interface HTMLTableHeaderCellElement extends HTMLTableCellElement { - /** - * Sets or retrieves the group of cells in a table to which the object's information applies. - */ - scope: string; - addEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableHeaderCellElement: { - prototype: HTMLTableHeaderCellElement; - new(): HTMLTableHeaderCellElement; -}; - -interface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment { - /** - * Sets or retrieves how the object is aligned with adjacent text. - */ - align: string; - bgColor: any; - /** - * Retrieves a collection of all cells in the table row. - */ - cells: HTMLCollectionOf; - /** - * Sets or retrieves the height of the object. - */ - height: any; - /** - * Retrieves the position of the object in the rows collection for the table. - */ - readonly rowIndex: number; - /** - * Retrieves the position of the object in the collection. - */ - readonly sectionRowIndex: number; - /** - * Removes the specified cell from the table row, as well as from the cells collection. - * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted. - */ - deleteCell(index?: number): void; - /** - * Creates a new cell in the table row, and adds the cell to the cells collection. - * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection. - */ - insertCell(index?: number): HTMLTableDataCellElement; - addEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableRowElement: { - prototype: HTMLTableRowElement; - new(): HTMLTableRowElement; -}; - -interface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment { - /** - * Sets or retrieves a value that indicates the table alignment. - */ - align: string; - /** - * Sets or retrieves the number of horizontal rows contained in the object. - */ - rows: HTMLCollectionOf; - /** - * Removes the specified row (tr) from the element and from the rows collection. - * @param index Number that specifies the zero-based position in the rows collection of the row to remove. - */ - deleteRow(index?: number): void; - /** - * Creates a new row (tr) in the table, and adds the row to the rows collection. - * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. - */ - insertRow(index?: number): HTMLTableRowElement; - addEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTableSectionElement: { - prototype: HTMLTableSectionElement; - new(): HTMLTableSectionElement; -}; - -interface HTMLTemplateElement extends HTMLElement { - readonly content: DocumentFragment; - addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTemplateElement: { - prototype: HTMLTemplateElement; - new(): HTMLTemplateElement; -}; - -interface HTMLTextAreaElement extends HTMLElement { - /** - * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. - */ - autofocus: boolean; - /** - * Sets or retrieves the width of the object. - */ - cols: number; - /** - * Sets or retrieves the initial contents of the object. - */ - defaultValue: string; - disabled: boolean; - /** - * Retrieves a reference to the form that the object is embedded in. - */ - readonly form: HTMLFormElement | null; - /** - * Sets or retrieves the maximum number of characters that the user can enter in a text control. - */ - maxLength: number; - /** - * Sets or retrieves the name of the object. - */ - name: string; - /** - * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. - */ - placeholder: string; - /** - * Sets or retrieves the value indicated whether the content of the object is read-only. - */ - readOnly: boolean; - /** - * When present, marks an element that can't be submitted without a value. - */ - required: boolean; - /** - * Sets or retrieves the number of horizontal rows contained in the object. - */ - rows: number; - /** - * Gets or sets the end position or offset of a text selection. - */ - selectionEnd: number; - /** - * Gets or sets the starting position or offset of a text selection. - */ - selectionStart: number; - /** - * Sets or retrieves the value indicating whether the control is selected. - */ - status: any; - /** - * Retrieves the type of control. - */ - readonly type: string; - /** - * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - */ - readonly validationMessage: string; - /** - * Returns a ValidityState object that represents the validity states of an element. - */ - readonly validity: ValidityState; - /** - * Retrieves or sets the text in the entry field of the textArea element. - */ - value: string; - /** - * Returns whether an element will successfully validate based on forms validation rules and constraints. - */ - readonly willValidate: boolean; - /** - * Sets or retrieves how to handle wordwrapping in the object. - */ - wrap: string; - minLength: number; - /** - * Returns whether a form will validate when it is submitted, without having to submit it. - */ - checkValidity(): boolean; - /** - * Highlights the input area of a form element. - */ - select(): void; - /** - * Sets a custom error message that is displayed when a form is submitted. - * @param error Sets a custom error message that is displayed when a form is submitted. - */ - setCustomValidity(error: string): void; - /** - * Sets the start and end positions of a selection in a text field. - * @param start The offset into the text field for the start of the selection. - * @param end The offset into the text field for the end of the selection. - * @param direction The direction in which the selection is performed. - */ - setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void; - addEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTextAreaElement: { - prototype: HTMLTextAreaElement; - new(): HTMLTextAreaElement; -}; - -interface HTMLTimeElement extends HTMLElement { - dateTime: string; - addEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTimeElement: { - prototype: HTMLTimeElement; - new(): HTMLTimeElement; -}; - -interface HTMLTitleElement extends HTMLElement { - /** - * Retrieves or sets the text of the object as a string. - */ - text: string; - addEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTitleElement: { - prototype: HTMLTitleElement; - new(): HTMLTitleElement; -}; - -interface HTMLTrackElement extends HTMLElement { - default: boolean; - kind: string; - label: string; - readonly readyState: number; - src: string; - srclang: string; - readonly track: TextTrack; - readonly ERROR: number; - readonly LOADED: number; - readonly LOADING: number; - readonly NONE: number; - addEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLTrackElement: { - prototype: HTMLTrackElement; - new(): HTMLTrackElement; - readonly ERROR: number; - readonly LOADED: number; - readonly LOADING: number; - readonly NONE: number; -}; - -interface HTMLUListElement extends HTMLElement { - compact: boolean; - type: string; - addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLUListElement: { - prototype: HTMLUListElement; - new(): HTMLUListElement; -}; - -interface HTMLUnknownElement extends HTMLElement { - addEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLUnknownElement: { - prototype: HTMLUnknownElement; - new(): HTMLUnknownElement; -}; - -interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap { - "MSVideoFormatChanged": Event; - "MSVideoFrameStepCompleted": Event; - "MSVideoOptimalLayoutChanged": Event; -} - -interface HTMLVideoElement extends HTMLMediaElement { - /** - * Gets or sets the height of the video element. - */ - height: number; - msHorizontalMirror: boolean; - readonly msIsLayoutOptimalForPlayback: boolean; - readonly msIsStereo3D: boolean; - msStereo3DPackingMode: string; - msStereo3DRenderMode: string; - msZoom: boolean; - onMSVideoFormatChanged: (this: HTMLVideoElement, ev: Event) => any; - onMSVideoFrameStepCompleted: (this: HTMLVideoElement, ev: Event) => any; - onMSVideoOptimalLayoutChanged: (this: HTMLVideoElement, ev: Event) => any; - /** - * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. - */ - poster: string; - /** - * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. - */ - readonly videoHeight: number; - /** - * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. - */ - readonly videoWidth: number; - readonly webkitDisplayingFullscreen: boolean; - readonly webkitSupportsFullscreen: boolean; - /** - * Gets or sets the width of the video element. - */ - width: number; - getVideoPlaybackQuality(): VideoPlaybackQuality; - msFrameStep(forward: boolean): void; - msInsertVideoEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; - msSetVideoRectangle(left: number, top: number, right: number, bottom: number): void; - webkitEnterFullscreen(): void; - webkitEnterFullScreen(): void; - webkitExitFullscreen(): void; - webkitExitFullScreen(): void; - addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var HTMLVideoElement: { - prototype: HTMLVideoElement; - new(): HTMLVideoElement; -}; - -interface IDBCursor { - readonly direction: IDBCursorDirection; - key: IDBKeyRange | IDBValidKey; - readonly primaryKey: any; - source: IDBObjectStore | IDBIndex; - advance(count: number): void; - continue(key?: IDBKeyRange | IDBValidKey): void; - delete(): IDBRequest; - update(value: any): IDBRequest; - readonly NEXT: string; - readonly NEXT_NO_DUPLICATE: string; - readonly PREV: string; - readonly PREV_NO_DUPLICATE: string; -} - -declare var IDBCursor: { - prototype: IDBCursor; - new(): IDBCursor; - readonly NEXT: string; - readonly NEXT_NO_DUPLICATE: string; - readonly PREV: string; - readonly PREV_NO_DUPLICATE: string; -}; - -interface IDBCursorWithValue extends IDBCursor { - readonly value: any; -} - -declare var IDBCursorWithValue: { - prototype: IDBCursorWithValue; - new(): IDBCursorWithValue; -}; - -interface IDBDatabaseEventMap { - "abort": Event; - "error": Event; -} - -interface IDBDatabase extends EventTarget { - readonly name: string; - readonly objectStoreNames: DOMStringList; - onabort: (this: IDBDatabase, ev: Event) => any; - onerror: (this: IDBDatabase, ev: Event) => any; - version: number; - onversionchange: (ev: IDBVersionChangeEvent) => any; - close(): void; - createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; - deleteObjectStore(name: string): void; - transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction; - addEventListener(type: "versionchange", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: "versionchange", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | EventListenerOptions): void; - addEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var IDBDatabase: { - prototype: IDBDatabase; - new(): IDBDatabase; -}; - -interface IDBFactory { - cmp(first: any, second: any): number; - deleteDatabase(name: string): IDBOpenDBRequest; - open(name: string, version?: number): IDBOpenDBRequest; -} - -declare var IDBFactory: { - prototype: IDBFactory; - new(): IDBFactory; -}; - -interface IDBIndex { - keyPath: string | string[]; - readonly name: string; - readonly objectStore: IDBObjectStore; - readonly unique: boolean; - multiEntry: boolean; - count(key?: IDBKeyRange | IDBValidKey): IDBRequest; - get(key: IDBKeyRange | IDBValidKey): IDBRequest; - getKey(key: IDBKeyRange | IDBValidKey): IDBRequest; - openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; - openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; -} - -declare var IDBIndex: { - prototype: IDBIndex; - new(): IDBIndex; -}; - -interface IDBKeyRange { - readonly lower: any; - readonly lowerOpen: boolean; - readonly upper: any; - readonly upperOpen: boolean; -} - -declare var IDBKeyRange: { - prototype: IDBKeyRange; - new(): IDBKeyRange; - bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange; - lowerBound(lower: any, open?: boolean): IDBKeyRange; - only(value: any): IDBKeyRange; - upperBound(upper: any, open?: boolean): IDBKeyRange; -}; - -interface IDBObjectStore { - readonly indexNames: DOMStringList; - keyPath: string | string[]; - readonly name: string; - readonly transaction: IDBTransaction; - autoIncrement: boolean; - add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest; - clear(): IDBRequest; - count(key?: IDBKeyRange | IDBValidKey): IDBRequest; - createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex; - delete(key: IDBKeyRange | IDBValidKey): IDBRequest; - deleteIndex(indexName: string): void; - get(key: any): IDBRequest; - index(name: string): IDBIndex; - openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; - put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest; -} - -declare var IDBObjectStore: { - prototype: IDBObjectStore; - new(): IDBObjectStore; -}; - -interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { - "blocked": Event; - "upgradeneeded": IDBVersionChangeEvent; -} - -interface IDBOpenDBRequest extends IDBRequest { - onblocked: (this: IDBOpenDBRequest, ev: Event) => any; - onupgradeneeded: (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any; - addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var IDBOpenDBRequest: { - prototype: IDBOpenDBRequest; - new(): IDBOpenDBRequest; -}; - -interface IDBRequestEventMap { - "error": Event; - "success": Event; -} - -interface IDBRequest extends EventTarget { - readonly error: DOMException; - onerror: (this: IDBRequest, ev: Event) => any; - onsuccess: (this: IDBRequest, ev: Event) => any; - readonly readyState: IDBRequestReadyState; - readonly result: any; - source: IDBObjectStore | IDBIndex | IDBCursor; - readonly transaction: IDBTransaction; - addEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var IDBRequest: { - prototype: IDBRequest; - new(): IDBRequest; -}; - -interface IDBTransactionEventMap { - "abort": Event; - "complete": Event; - "error": Event; -} - -interface IDBTransaction extends EventTarget { - readonly db: IDBDatabase; - readonly error: DOMException; - readonly mode: IDBTransactionMode; - onabort: (this: IDBTransaction, ev: Event) => any; - oncomplete: (this: IDBTransaction, ev: Event) => any; - onerror: (this: IDBTransaction, ev: Event) => any; - abort(): void; - objectStore(name: string): IDBObjectStore; - readonly READ_ONLY: string; - readonly READ_WRITE: string; - readonly VERSION_CHANGE: string; - addEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var IDBTransaction: { - prototype: IDBTransaction; - new(): IDBTransaction; - readonly READ_ONLY: string; - readonly READ_WRITE: string; - readonly VERSION_CHANGE: string; -}; - -interface IDBVersionChangeEvent extends Event { - readonly newVersion: number | null; - readonly oldVersion: number; -} - -declare var IDBVersionChangeEvent: { - prototype: IDBVersionChangeEvent; - new(): IDBVersionChangeEvent; -}; - -interface IIRFilterNode extends AudioNode { - getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; -} - -declare var IIRFilterNode: { - prototype: IIRFilterNode; - new(): IIRFilterNode; -}; - -interface ImageData { - data: Uint8ClampedArray; - readonly height: number; - readonly width: number; -} - -declare var ImageData: { - prototype: ImageData; - new(width: number, height: number): ImageData; - new(array: Uint8ClampedArray, width: number, height: number): ImageData; -}; - -interface IntersectionObserver { - readonly root: Element | null; - readonly rootMargin: string; - readonly thresholds: number[]; - disconnect(): void; - observe(target: Element): void; - takeRecords(): IntersectionObserverEntry[]; - unobserve(target: Element): void; -} - -declare var IntersectionObserver: { - prototype: IntersectionObserver; - new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver; -}; - -interface IntersectionObserverEntry { - readonly boundingClientRect: ClientRect | DOMRect; - readonly intersectionRatio: number; - readonly intersectionRect: ClientRect | DOMRect; - readonly rootBounds: ClientRect | DOMRect; - readonly target: Element; - readonly time: number; - readonly isIntersecting: boolean; -} - -declare var IntersectionObserverEntry: { - prototype: IntersectionObserverEntry; - new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry; -}; - -interface KeyboardEvent extends UIEvent { - readonly altKey: boolean; - readonly char: string | null; - readonly charCode: number; - readonly ctrlKey: boolean; - readonly key: string; - readonly keyCode: number; - readonly locale: string; - readonly location: number; - readonly metaKey: boolean; - readonly repeat: boolean; - readonly shiftKey: boolean; - readonly which: number; - readonly code: string; - getModifierState(keyArg: string): boolean; - initKeyboardEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, keyArg: string, locationArg: number, modifiersListArg: string, repeat: boolean, locale: string): void; - readonly DOM_KEY_LOCATION_JOYSTICK: number; - readonly DOM_KEY_LOCATION_LEFT: number; - readonly DOM_KEY_LOCATION_MOBILE: number; - readonly DOM_KEY_LOCATION_NUMPAD: number; - readonly DOM_KEY_LOCATION_RIGHT: number; - readonly DOM_KEY_LOCATION_STANDARD: number; -} - -declare var KeyboardEvent: { - prototype: KeyboardEvent; - new(typeArg: string, eventInitDict?: KeyboardEventInit): KeyboardEvent; - readonly DOM_KEY_LOCATION_JOYSTICK: number; - readonly DOM_KEY_LOCATION_LEFT: number; - readonly DOM_KEY_LOCATION_MOBILE: number; - readonly DOM_KEY_LOCATION_NUMPAD: number; - readonly DOM_KEY_LOCATION_RIGHT: number; - readonly DOM_KEY_LOCATION_STANDARD: number; -}; - -interface ListeningStateChangedEvent extends Event { - readonly label: string; - readonly state: ListeningState; -} - -declare var ListeningStateChangedEvent: { - prototype: ListeningStateChangedEvent; - new(): ListeningStateChangedEvent; -}; - -interface Location { - hash: string; - host: string; - hostname: string; - href: string; - readonly origin: string; - pathname: string; - port: string; - protocol: string; - search: string; - assign(url: string): void; - reload(forcedReload?: boolean): void; - replace(url: string): void; - toString(): string; -} - -declare var Location: { - prototype: Location; - new(): Location; -}; - -interface LongRunningScriptDetectedEvent extends Event { - readonly executionTime: number; - stopPageScriptExecution: boolean; -} - -declare var LongRunningScriptDetectedEvent: { - prototype: LongRunningScriptDetectedEvent; - new(): LongRunningScriptDetectedEvent; -}; - -interface MediaDeviceInfo { - readonly deviceId: string; - readonly groupId: string; - readonly kind: MediaDeviceKind; - readonly label: string; -} - -declare var MediaDeviceInfo: { - prototype: MediaDeviceInfo; - new(): MediaDeviceInfo; -}; - -interface MediaDevicesEventMap { - "devicechange": Event; -} - -interface MediaDevices extends EventTarget { - ondevicechange: (this: MediaDevices, ev: Event) => any; - enumerateDevices(): Promise; - getSupportedConstraints(): MediaTrackSupportedConstraints; - getUserMedia(constraints: MediaStreamConstraints): Promise; - addEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MediaDevices: { - prototype: MediaDevices; - new(): MediaDevices; -}; - -interface MediaElementAudioSourceNode extends AudioNode { -} - -declare var MediaElementAudioSourceNode: { - prototype: MediaElementAudioSourceNode; - new(): MediaElementAudioSourceNode; -}; - -interface MediaEncryptedEvent extends Event { - readonly initData: ArrayBuffer | null; - readonly initDataType: string; -} - -declare var MediaEncryptedEvent: { - prototype: MediaEncryptedEvent; - new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent; -}; - -interface MediaError { - readonly code: number; - readonly msExtendedCode: number; - readonly MEDIA_ERR_ABORTED: number; - readonly MEDIA_ERR_DECODE: number; - readonly MEDIA_ERR_NETWORK: number; - readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number; - readonly MS_MEDIA_ERR_ENCRYPTED: number; -} - -declare var MediaError: { - prototype: MediaError; - new(): MediaError; - readonly MEDIA_ERR_ABORTED: number; - readonly MEDIA_ERR_DECODE: number; - readonly MEDIA_ERR_NETWORK: number; - readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number; - readonly MS_MEDIA_ERR_ENCRYPTED: number; -}; - -interface MediaKeyMessageEvent extends Event { - readonly message: ArrayBuffer; - readonly messageType: MediaKeyMessageType; -} - -declare var MediaKeyMessageEvent: { - prototype: MediaKeyMessageEvent; - new(type: string, eventInitDict?: MediaKeyMessageEventInit): MediaKeyMessageEvent; -}; - -interface MediaKeys { - createSession(sessionType?: MediaKeySessionType): MediaKeySession; - setServerCertificate(serverCertificate: BufferSource): Promise; -} - -declare var MediaKeys: { - prototype: MediaKeys; - new(): MediaKeys; -}; - -interface MediaKeySession extends EventTarget { - readonly closed: Promise; - readonly expiration: number; - readonly keyStatuses: MediaKeyStatusMap; - readonly sessionId: string; - close(): Promise; - generateRequest(initDataType: string, initData: BufferSource): Promise; - load(sessionId: string): Promise; - remove(): Promise; - update(response: BufferSource): Promise; -} - -declare var MediaKeySession: { - prototype: MediaKeySession; - new(): MediaKeySession; -}; - -interface MediaKeyStatusMap { - readonly size: number; - forEach(callback: ForEachCallback): void; - get(keyId: BufferSource): MediaKeyStatus; - has(keyId: BufferSource): boolean; -} - -declare var MediaKeyStatusMap: { - prototype: MediaKeyStatusMap; - new(): MediaKeyStatusMap; -}; - -interface MediaKeySystemAccess { - readonly keySystem: string; - createMediaKeys(): Promise; - getConfiguration(): MediaKeySystemConfiguration; -} - -declare var MediaKeySystemAccess: { - prototype: MediaKeySystemAccess; - new(): MediaKeySystemAccess; -}; - -interface MediaList { - readonly length: number; - mediaText: string; - appendMedium(newMedium: string): void; - deleteMedium(oldMedium: string): void; - item(index: number): string; - toString(): string; - [index: number]: string; -} - -declare var MediaList: { - prototype: MediaList; - new(): MediaList; -}; - -interface MediaQueryList { - readonly matches: boolean; - readonly media: string; - addListener(listener: MediaQueryListListener): void; - removeListener(listener: MediaQueryListListener): void; -} - -declare var MediaQueryList: { - prototype: MediaQueryList; - new(): MediaQueryList; -}; - -interface MediaSource extends EventTarget { - readonly activeSourceBuffers: SourceBufferList; - duration: number; - readonly readyState: string; - readonly sourceBuffers: SourceBufferList; - addSourceBuffer(type: string): SourceBuffer; - endOfStream(error?: number): void; - removeSourceBuffer(sourceBuffer: SourceBuffer): void; -} - -declare var MediaSource: { - prototype: MediaSource; - new(): MediaSource; - isTypeSupported(type: string): boolean; -}; - -interface MediaStreamEventMap { - "active": Event; - "addtrack": MediaStreamTrackEvent; - "inactive": Event; - "removetrack": MediaStreamTrackEvent; -} - -interface MediaStream extends EventTarget { - readonly active: boolean; - readonly id: string; - onactive: (this: MediaStream, ev: Event) => any; - onaddtrack: (this: MediaStream, ev: MediaStreamTrackEvent) => any; - oninactive: (this: MediaStream, ev: Event) => any; - onremovetrack: (this: MediaStream, ev: MediaStreamTrackEvent) => any; - addTrack(track: MediaStreamTrack): void; - clone(): MediaStream; - getAudioTracks(): MediaStreamTrack[]; - getTrackById(trackId: string): MediaStreamTrack | null; - getTracks(): MediaStreamTrack[]; - getVideoTracks(): MediaStreamTrack[]; - removeTrack(track: MediaStreamTrack): void; - stop(): void; - addEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MediaStream: { - prototype: MediaStream; - new(streamOrTracks?: MediaStream | MediaStreamTrack[]): MediaStream; -}; - -interface MediaStreamAudioSourceNode extends AudioNode { -} - -declare var MediaStreamAudioSourceNode: { - prototype: MediaStreamAudioSourceNode; - new(): MediaStreamAudioSourceNode; -}; - -interface MediaStreamError { - readonly constraintName: string | null; - readonly message: string | null; - readonly name: string; -} - -declare var MediaStreamError: { - prototype: MediaStreamError; - new(): MediaStreamError; -}; - -interface MediaStreamErrorEvent extends Event { - readonly error: MediaStreamError | null; -} - -declare var MediaStreamErrorEvent: { - prototype: MediaStreamErrorEvent; - new(typeArg: string, eventInitDict?: MediaStreamErrorEventInit): MediaStreamErrorEvent; -}; - -interface MediaStreamEvent extends Event { - readonly stream: MediaStream | null; -} - -declare var MediaStreamEvent: { - prototype: MediaStreamEvent; - new(type: string, eventInitDict: MediaStreamEventInit): MediaStreamEvent; -}; - -interface MediaStreamTrackEventMap { - "ended": MediaStreamErrorEvent; - "mute": Event; - "overconstrained": MediaStreamErrorEvent; - "unmute": Event; -} - -interface MediaStreamTrack extends EventTarget { - enabled: boolean; - readonly id: string; - readonly kind: string; - readonly label: string; - readonly muted: boolean; - onended: (this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any; - onmute: (this: MediaStreamTrack, ev: Event) => any; - onoverconstrained: (this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any; - onunmute: (this: MediaStreamTrack, ev: Event) => any; - readonly readonly: boolean; - readonly readyState: MediaStreamTrackState; - readonly remote: boolean; - applyConstraints(constraints: MediaTrackConstraints): Promise; - clone(): MediaStreamTrack; - getCapabilities(): MediaTrackCapabilities; - getConstraints(): MediaTrackConstraints; - getSettings(): MediaTrackSettings; - stop(): void; - addEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MediaStreamTrack: { - prototype: MediaStreamTrack; - new(): MediaStreamTrack; -}; - -interface MediaStreamTrackEvent extends Event { - readonly track: MediaStreamTrack; -} - -declare var MediaStreamTrackEvent: { - prototype: MediaStreamTrackEvent; - new(typeArg: string, eventInitDict?: MediaStreamTrackEventInit): MediaStreamTrackEvent; -}; - -interface MessageChannel { - readonly port1: MessagePort; - readonly port2: MessagePort; -} - -declare var MessageChannel: { - prototype: MessageChannel; - new(): MessageChannel; -}; - -interface MessageEvent extends Event { - readonly data: any; - readonly origin: string; - readonly ports: any; - readonly source: Window; - initMessageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, dataArg: any, originArg: string, lastEventIdArg: string, sourceArg: Window): void; -} - -declare var MessageEvent: { - prototype: MessageEvent; - new(type: string, eventInitDict?: MessageEventInit): MessageEvent; -}; - -interface MessagePortEventMap { - "message": MessageEvent; -} - -interface MessagePort extends EventTarget { - onmessage: (this: MessagePort, ev: MessageEvent) => any; - close(): void; - postMessage(message?: any, transfer?: any[]): void; - start(): void; - addEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MessagePort: { - prototype: MessagePort; - new(): MessagePort; -}; - -interface MimeType { - readonly description: string; - readonly enabledPlugin: Plugin; - readonly suffixes: string; - readonly type: string; -} - -declare var MimeType: { - prototype: MimeType; - new(): MimeType; -}; - -interface MimeTypeArray { - readonly length: number; - item(index: number): Plugin; - namedItem(type: string): Plugin; - [index: number]: Plugin; -} - -declare var MimeTypeArray: { - prototype: MimeTypeArray; - new(): MimeTypeArray; -}; - -interface MouseEvent extends UIEvent { - readonly altKey: boolean; - readonly button: number; - readonly buttons: number; - readonly clientX: number; - readonly clientY: number; - readonly ctrlKey: boolean; - readonly fromElement: Element; - readonly layerX: number; - readonly layerY: number; - readonly metaKey: boolean; - readonly movementX: number; - readonly movementY: number; - readonly offsetX: number; - readonly offsetY: number; - readonly pageX: number; - readonly pageY: number; - readonly relatedTarget: EventTarget; - readonly screenX: number; - readonly screenY: number; - readonly shiftKey: boolean; - readonly toElement: Element; - readonly which: number; - readonly x: number; - readonly y: number; - getModifierState(keyArg: string): boolean; - initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void; -} - -declare var MouseEvent: { - prototype: MouseEvent; - new(typeArg: string, eventInitDict?: MouseEventInit): MouseEvent; -}; - -interface MSApp { - clearTemporaryWebDataAsync(): MSAppAsyncOperation; - createBlobFromRandomAccessStream(type: string, seeker: any): Blob; - createDataPackage(object: any): any; - createDataPackageFromSelection(): any; - createFileFromStorageFile(storageFile: any): File; - createStreamFromInputStream(type: string, inputStream: any): MSStream; - execAsyncAtPriority(asynchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): void; - execAtPriority(synchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): any; - getCurrentPriority(): string; - getHtmlPrintDocumentSourceAsync(htmlDoc: any): Promise; - getViewId(view: any): any; - isTaskScheduledAtPriorityOrHigher(priority: string): boolean; - pageHandlesAllApplicationActivations(enabled: boolean): void; - suppressSubdownloadCredentialPrompts(suppress: boolean): void; - terminateApp(exceptionObject: any): void; - readonly CURRENT: string; - readonly HIGH: string; - readonly IDLE: string; - readonly NORMAL: string; -} -declare var MSApp: MSApp; - -interface MSAppAsyncOperationEventMap { - "complete": Event; - "error": Event; -} - -interface MSAppAsyncOperation extends EventTarget { - readonly error: DOMError; - oncomplete: (this: MSAppAsyncOperation, ev: Event) => any; - onerror: (this: MSAppAsyncOperation, ev: Event) => any; - readonly readyState: number; - readonly result: any; - start(): void; - readonly COMPLETED: number; - readonly ERROR: number; - readonly STARTED: number; - addEventListener(type: K, listener: (this: MSAppAsyncOperation, ev: MSAppAsyncOperationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSAppAsyncOperation, ev: MSAppAsyncOperationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MSAppAsyncOperation: { - prototype: MSAppAsyncOperation; - new(): MSAppAsyncOperation; - readonly COMPLETED: number; - readonly ERROR: number; - readonly STARTED: number; -}; - -interface MSAssertion { - readonly id: string; - readonly type: MSCredentialType; -} - -declare var MSAssertion: { - prototype: MSAssertion; - new(): MSAssertion; -}; - -interface MSBlobBuilder { - append(data: any, endings?: string): void; - getBlob(contentType?: string): Blob; -} - -declare var MSBlobBuilder: { - prototype: MSBlobBuilder; - new(): MSBlobBuilder; -}; - -interface MSCredentials { - getAssertion(challenge: string, filter?: MSCredentialFilter, params?: MSSignatureParameters): Promise; - makeCredential(accountInfo: MSAccountInfo, params: MSCredentialParameters[], challenge?: string): Promise; -} - -declare var MSCredentials: { - prototype: MSCredentials; - new(): MSCredentials; -}; - -interface MSFIDOCredentialAssertion extends MSAssertion { - readonly algorithm: string | Algorithm; - readonly attestation: any; - readonly publicKey: string; - readonly transportHints: MSTransportType[]; -} - -declare var MSFIDOCredentialAssertion: { - prototype: MSFIDOCredentialAssertion; - new(): MSFIDOCredentialAssertion; -}; - -interface MSFIDOSignature { - readonly authnrData: string; - readonly clientData: string; - readonly signature: string; -} - -declare var MSFIDOSignature: { - prototype: MSFIDOSignature; - new(): MSFIDOSignature; -}; - -interface MSFIDOSignatureAssertion extends MSAssertion { - readonly signature: MSFIDOSignature; -} - -declare var MSFIDOSignatureAssertion: { - prototype: MSFIDOSignatureAssertion; - new(): MSFIDOSignatureAssertion; -}; - -interface MSGesture { - target: Element; - addPointer(pointerId: number): void; - stop(): void; -} - -declare var MSGesture: { - prototype: MSGesture; - new(): MSGesture; -}; - -interface MSGestureEvent extends UIEvent { - readonly clientX: number; - readonly clientY: number; - readonly expansion: number; - readonly gestureObject: any; - readonly hwTimestamp: number; - readonly offsetX: number; - readonly offsetY: number; - readonly rotation: number; - readonly scale: number; - readonly screenX: number; - readonly screenY: number; - readonly translationX: number; - readonly translationY: number; - readonly velocityAngular: number; - readonly velocityExpansion: number; - readonly velocityX: number; - readonly velocityY: number; - initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void; - readonly MSGESTURE_FLAG_BEGIN: number; - readonly MSGESTURE_FLAG_CANCEL: number; - readonly MSGESTURE_FLAG_END: number; - readonly MSGESTURE_FLAG_INERTIA: number; - readonly MSGESTURE_FLAG_NONE: number; -} - -declare var MSGestureEvent: { - prototype: MSGestureEvent; - new(): MSGestureEvent; - readonly MSGESTURE_FLAG_BEGIN: number; - readonly MSGESTURE_FLAG_CANCEL: number; - readonly MSGESTURE_FLAG_END: number; - readonly MSGESTURE_FLAG_INERTIA: number; - readonly MSGESTURE_FLAG_NONE: number; -}; - -interface MSGraphicsTrust { - readonly constrictionActive: boolean; - readonly status: string; -} - -declare var MSGraphicsTrust: { - prototype: MSGraphicsTrust; - new(): MSGraphicsTrust; -}; - -interface MSHTMLWebViewElement extends HTMLElement { - readonly canGoBack: boolean; - readonly canGoForward: boolean; - readonly containsFullScreenElement: boolean; - readonly documentTitle: string; - height: number; - readonly settings: MSWebViewSettings; - src: string; - width: number; - addWebAllowedObject(name: string, applicationObject: any): void; - buildLocalStreamUri(contentIdentifier: string, relativePath: string): string; - capturePreviewToBlobAsync(): MSWebViewAsyncOperation; - captureSelectedContentToDataPackageAsync(): MSWebViewAsyncOperation; - getDeferredPermissionRequestById(id: number): DeferredPermissionRequest; - getDeferredPermissionRequests(): DeferredPermissionRequest[]; - goBack(): void; - goForward(): void; - invokeScriptAsync(scriptName: string, ...args: any[]): MSWebViewAsyncOperation; - navigate(uri: string): void; - navigateFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void; - navigateToLocalStreamUri(source: string, streamResolver: any): void; - navigateToString(contents: string): void; - navigateWithHttpRequestMessage(requestMessage: any): void; - refresh(): void; - stop(): void; - addEventListener(type: K, listener: (this: MSHTMLWebViewElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSHTMLWebViewElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MSHTMLWebViewElement: { - prototype: MSHTMLWebViewElement; - new(): MSHTMLWebViewElement; -}; - -interface MSInputMethodContextEventMap { - "MSCandidateWindowHide": Event; - "MSCandidateWindowShow": Event; - "MSCandidateWindowUpdate": Event; -} - -interface MSInputMethodContext extends EventTarget { - readonly compositionEndOffset: number; - readonly compositionStartOffset: number; - oncandidatewindowhide: (this: MSInputMethodContext, ev: Event) => any; - oncandidatewindowshow: (this: MSInputMethodContext, ev: Event) => any; - oncandidatewindowupdate: (this: MSInputMethodContext, ev: Event) => any; - readonly target: HTMLElement; - getCandidateWindowClientRect(): ClientRect; - getCompositionAlternatives(): string[]; - hasComposition(): boolean; - isCandidateWindowVisible(): boolean; - addEventListener(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MSInputMethodContext: { - prototype: MSInputMethodContext; - new(): MSInputMethodContext; -}; - -interface MSManipulationEvent extends UIEvent { - readonly currentState: number; - readonly inertiaDestinationX: number; - readonly inertiaDestinationY: number; - readonly lastState: number; - initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void; - readonly MS_MANIPULATION_STATE_ACTIVE: number; - readonly MS_MANIPULATION_STATE_CANCELLED: number; - readonly MS_MANIPULATION_STATE_COMMITTED: number; - readonly MS_MANIPULATION_STATE_DRAGGING: number; - readonly MS_MANIPULATION_STATE_INERTIA: number; - readonly MS_MANIPULATION_STATE_PRESELECT: number; - readonly MS_MANIPULATION_STATE_SELECTING: number; - readonly MS_MANIPULATION_STATE_STOPPED: number; -} - -declare var MSManipulationEvent: { - prototype: MSManipulationEvent; - new(): MSManipulationEvent; - readonly MS_MANIPULATION_STATE_ACTIVE: number; - readonly MS_MANIPULATION_STATE_CANCELLED: number; - readonly MS_MANIPULATION_STATE_COMMITTED: number; - readonly MS_MANIPULATION_STATE_DRAGGING: number; - readonly MS_MANIPULATION_STATE_INERTIA: number; - readonly MS_MANIPULATION_STATE_PRESELECT: number; - readonly MS_MANIPULATION_STATE_SELECTING: number; - readonly MS_MANIPULATION_STATE_STOPPED: number; -}; - -interface MSMediaKeyError { - readonly code: number; - readonly systemCode: number; - readonly MS_MEDIA_KEYERR_CLIENT: number; - readonly MS_MEDIA_KEYERR_DOMAIN: number; - readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number; - readonly MS_MEDIA_KEYERR_OUTPUT: number; - readonly MS_MEDIA_KEYERR_SERVICE: number; - readonly MS_MEDIA_KEYERR_UNKNOWN: number; -} - -declare var MSMediaKeyError: { - prototype: MSMediaKeyError; - new(): MSMediaKeyError; - readonly MS_MEDIA_KEYERR_CLIENT: number; - readonly MS_MEDIA_KEYERR_DOMAIN: number; - readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number; - readonly MS_MEDIA_KEYERR_OUTPUT: number; - readonly MS_MEDIA_KEYERR_SERVICE: number; - readonly MS_MEDIA_KEYERR_UNKNOWN: number; -}; - -interface MSMediaKeyMessageEvent extends Event { - readonly destinationURL: string | null; - readonly message: Uint8Array; -} - -declare var MSMediaKeyMessageEvent: { - prototype: MSMediaKeyMessageEvent; - new(): MSMediaKeyMessageEvent; -}; - -interface MSMediaKeyNeededEvent extends Event { - readonly initData: Uint8Array | null; -} - -declare var MSMediaKeyNeededEvent: { - prototype: MSMediaKeyNeededEvent; - new(): MSMediaKeyNeededEvent; -}; - -interface MSMediaKeys { - readonly keySystem: string; - createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array): MSMediaKeySession; -} - -declare var MSMediaKeys: { - prototype: MSMediaKeys; - new(keySystem: string): MSMediaKeys; - isTypeSupported(keySystem: string, type?: string): boolean; - isTypeSupportedWithFeatures(keySystem: string, type?: string): string; -}; - -interface MSMediaKeySession extends EventTarget { - readonly error: MSMediaKeyError | null; - readonly keySystem: string; - readonly sessionId: string; - close(): void; - update(key: Uint8Array): void; -} - -declare var MSMediaKeySession: { - prototype: MSMediaKeySession; - new(): MSMediaKeySession; -}; - -interface MSPointerEvent extends MouseEvent { - readonly currentPoint: any; - readonly height: number; - readonly hwTimestamp: number; - readonly intermediatePoints: any; - readonly isPrimary: boolean; - readonly pointerId: number; - readonly pointerType: any; - readonly pressure: number; - readonly rotation: number; - readonly tiltX: number; - readonly tiltY: number; - readonly width: number; - getCurrentPoint(element: Element): void; - getIntermediatePoints(element: Element): void; - initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void; -} - -declare var MSPointerEvent: { - prototype: MSPointerEvent; - new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent; -}; - -interface MSRangeCollection { - readonly length: number; - item(index: number): Range; - [index: number]: Range; -} - -declare var MSRangeCollection: { - prototype: MSRangeCollection; - new(): MSRangeCollection; -}; - -interface MSSiteModeEvent extends Event { - readonly actionURL: string; - readonly buttonID: number; -} - -declare var MSSiteModeEvent: { - prototype: MSSiteModeEvent; - new(): MSSiteModeEvent; -}; - -interface MSStream { - readonly type: string; - msClose(): void; - msDetachStream(): any; -} - -declare var MSStream: { - prototype: MSStream; - new(): MSStream; -}; - -interface MSStreamReader extends EventTarget, MSBaseReader { - readonly error: DOMError; - readAsArrayBuffer(stream: MSStream, size?: number): void; - readAsBinaryString(stream: MSStream, size?: number): void; - readAsBlob(stream: MSStream, size?: number): void; - readAsDataURL(stream: MSStream, size?: number): void; - readAsText(stream: MSStream, encoding?: string, size?: number): void; - addEventListener(type: K, listener: (this: MSStreamReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSStreamReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MSStreamReader: { - prototype: MSStreamReader; - new(): MSStreamReader; -}; - -interface MSWebViewAsyncOperationEventMap { - "complete": Event; - "error": Event; -} - -interface MSWebViewAsyncOperation extends EventTarget { - readonly error: DOMError; - oncomplete: (this: MSWebViewAsyncOperation, ev: Event) => any; - onerror: (this: MSWebViewAsyncOperation, ev: Event) => any; - readonly readyState: number; - readonly result: any; - readonly target: MSHTMLWebViewElement; - readonly type: number; - start(): void; - readonly COMPLETED: number; - readonly ERROR: number; - readonly STARTED: number; - readonly TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number; - readonly TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number; - readonly TYPE_INVOKE_SCRIPT: number; - addEventListener(type: K, listener: (this: MSWebViewAsyncOperation, ev: MSWebViewAsyncOperationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSWebViewAsyncOperation, ev: MSWebViewAsyncOperationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var MSWebViewAsyncOperation: { - prototype: MSWebViewAsyncOperation; - new(): MSWebViewAsyncOperation; - readonly COMPLETED: number; - readonly ERROR: number; - readonly STARTED: number; - readonly TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number; - readonly TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number; - readonly TYPE_INVOKE_SCRIPT: number; -}; - -interface MSWebViewSettings { - isIndexedDBEnabled: boolean; - isJavaScriptEnabled: boolean; -} - -declare var MSWebViewSettings: { - prototype: MSWebViewSettings; - new(): MSWebViewSettings; -}; - -interface MutationEvent extends Event { - readonly attrChange: number; - readonly attrName: string; - readonly newValue: string; - readonly prevValue: string; - readonly relatedNode: Node; - initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void; - readonly ADDITION: number; - readonly MODIFICATION: number; - readonly REMOVAL: number; -} - -declare var MutationEvent: { - prototype: MutationEvent; - new(): MutationEvent; - readonly ADDITION: number; - readonly MODIFICATION: number; - readonly REMOVAL: number; -}; - -interface MutationObserver { - disconnect(): void; - observe(target: Node, options: MutationObserverInit): void; - takeRecords(): MutationRecord[]; -} - -declare var MutationObserver: { - prototype: MutationObserver; - new(callback: MutationCallback): MutationObserver; -}; - -interface MutationRecord { - readonly addedNodes: NodeList; - readonly attributeName: string | null; - readonly attributeNamespace: string | null; - readonly nextSibling: Node | null; - readonly oldValue: string | null; - readonly previousSibling: Node | null; - readonly removedNodes: NodeList; - readonly target: Node; - readonly type: string; -} - -declare var MutationRecord: { - prototype: MutationRecord; - new(): MutationRecord; -}; - -interface NamedNodeMap { - readonly length: number; - getNamedItem(name: string): Attr; - getNamedItemNS(namespaceURI: string | null, localName: string | null): Attr; - item(index: number): Attr; - removeNamedItem(name: string): Attr; - removeNamedItemNS(namespaceURI: string | null, localName: string | null): Attr; - setNamedItem(arg: Attr): Attr; - setNamedItemNS(arg: Attr): Attr; - [index: number]: Attr; -} - -declare var NamedNodeMap: { - prototype: NamedNodeMap; - new(): NamedNodeMap; -}; - -interface NavigationCompletedEvent extends NavigationEvent { - readonly isSuccess: boolean; - readonly webErrorStatus: number; -} - -declare var NavigationCompletedEvent: { - prototype: NavigationCompletedEvent; - new(): NavigationCompletedEvent; -}; - -interface NavigationEvent extends Event { - readonly uri: string; -} - -declare var NavigationEvent: { - prototype: NavigationEvent; - new(): NavigationEvent; -}; - -interface NavigationEventWithReferrer extends NavigationEvent { - readonly referer: string; -} - -declare var NavigationEventWithReferrer: { - prototype: NavigationEventWithReferrer; - new(): NavigationEventWithReferrer; -}; - -interface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorContentUtils, NavigatorStorageUtils, NavigatorGeolocation, MSNavigatorDoNotTrack, MSFileSaver, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorUserMedia { - readonly authentication: WebAuthentication; - readonly cookieEnabled: boolean; - gamepadInputEmulation: GamepadInputEmulationType; - readonly language: string; - readonly maxTouchPoints: number; - readonly mimeTypes: MimeTypeArray; - readonly msManipulationViewsEnabled: boolean; - readonly msMaxTouchPoints: number; - readonly msPointerEnabled: boolean; - readonly plugins: PluginArray; - readonly pointerEnabled: boolean; - readonly serviceWorker: ServiceWorkerContainer; - readonly webdriver: boolean; - readonly doNotTrack: string | null; - readonly hardwareConcurrency: number; - readonly languages: string[]; - getGamepads(): Gamepad[]; - javaEnabled(): boolean; - msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; - requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise; - vibrate(pattern: number | number[]): boolean; -} - -declare var Navigator: { - prototype: Navigator; - new(): Navigator; -}; - -interface Node extends EventTarget { - readonly attributes: NamedNodeMap; - readonly baseURI: string | null; - readonly childNodes: NodeList; - readonly firstChild: Node | null; - readonly lastChild: Node | null; - readonly localName: string | null; - readonly namespaceURI: string | null; - readonly nextSibling: Node | null; - readonly nodeName: string; - readonly nodeType: number; - nodeValue: string | null; - readonly ownerDocument: Document; - readonly parentElement: HTMLElement | null; - readonly parentNode: Node | null; - readonly previousSibling: Node | null; - textContent: string | null; - appendChild(newChild: T): T; - cloneNode(deep?: boolean): Node; - compareDocumentPosition(other: Node): number; - contains(child: Node): boolean; - hasAttributes(): boolean; - hasChildNodes(): boolean; - insertBefore(newChild: T, refChild: Node | null): T; - isDefaultNamespace(namespaceURI: string | null): boolean; - isEqualNode(arg: Node): boolean; - isSameNode(other: Node): boolean; - lookupNamespaceURI(prefix: string | null): string | null; - lookupPrefix(namespaceURI: string | null): string | null; - normalize(): void; - removeChild(oldChild: T): T; - replaceChild(newChild: Node, oldChild: T): T; - readonly ATTRIBUTE_NODE: number; - readonly CDATA_SECTION_NODE: number; - readonly COMMENT_NODE: number; - readonly DOCUMENT_FRAGMENT_NODE: number; - readonly DOCUMENT_NODE: number; - readonly DOCUMENT_POSITION_CONTAINED_BY: number; - readonly DOCUMENT_POSITION_CONTAINS: number; - readonly DOCUMENT_POSITION_DISCONNECTED: number; - readonly DOCUMENT_POSITION_FOLLOWING: number; - readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; - readonly DOCUMENT_POSITION_PRECEDING: number; - readonly DOCUMENT_TYPE_NODE: number; - readonly ELEMENT_NODE: number; - readonly ENTITY_NODE: number; - readonly ENTITY_REFERENCE_NODE: number; - readonly NOTATION_NODE: number; - readonly PROCESSING_INSTRUCTION_NODE: number; - readonly TEXT_NODE: number; -} - -declare var Node: { - prototype: Node; - new(): Node; - readonly ATTRIBUTE_NODE: number; - readonly CDATA_SECTION_NODE: number; - readonly COMMENT_NODE: number; - readonly DOCUMENT_FRAGMENT_NODE: number; - readonly DOCUMENT_NODE: number; - readonly DOCUMENT_POSITION_CONTAINED_BY: number; - readonly DOCUMENT_POSITION_CONTAINS: number; - readonly DOCUMENT_POSITION_DISCONNECTED: number; - readonly DOCUMENT_POSITION_FOLLOWING: number; - readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; - readonly DOCUMENT_POSITION_PRECEDING: number; - readonly DOCUMENT_TYPE_NODE: number; - readonly ELEMENT_NODE: number; - readonly ENTITY_NODE: number; - readonly ENTITY_REFERENCE_NODE: number; - readonly NOTATION_NODE: number; - readonly PROCESSING_INSTRUCTION_NODE: number; - readonly TEXT_NODE: number; -}; - -interface NodeFilter { - acceptNode(n: Node): number; -} - -declare var NodeFilter: { - readonly FILTER_ACCEPT: number; - readonly FILTER_REJECT: number; - readonly FILTER_SKIP: number; - readonly SHOW_ALL: number; - readonly SHOW_ATTRIBUTE: number; - readonly SHOW_CDATA_SECTION: number; - readonly SHOW_COMMENT: number; - readonly SHOW_DOCUMENT: number; - readonly SHOW_DOCUMENT_FRAGMENT: number; - readonly SHOW_DOCUMENT_TYPE: number; - readonly SHOW_ELEMENT: number; - readonly SHOW_ENTITY: number; - readonly SHOW_ENTITY_REFERENCE: number; - readonly SHOW_NOTATION: number; - readonly SHOW_PROCESSING_INSTRUCTION: number; - readonly SHOW_TEXT: number; -}; - -interface NodeIterator { - readonly expandEntityReferences: boolean; - readonly filter: NodeFilter; - readonly root: Node; - readonly whatToShow: number; - detach(): void; - nextNode(): Node; - previousNode(): Node; -} - -declare var NodeIterator: { - prototype: NodeIterator; - new(): NodeIterator; -}; - -interface NodeList { - readonly length: number; - item(index: number): Node; - [index: number]: Node; -} - -declare var NodeList: { - prototype: NodeList; - new(): NodeList; -}; - -interface NotificationEventMap { - "click": Event; - "close": Event; - "error": Event; - "show": Event; -} - -interface Notification extends EventTarget { - readonly body: string; - readonly dir: NotificationDirection; - readonly icon: string; - readonly lang: string; - onclick: (this: Notification, ev: Event) => any; - onclose: (this: Notification, ev: Event) => any; - onerror: (this: Notification, ev: Event) => any; - onshow: (this: Notification, ev: Event) => any; - readonly permission: NotificationPermission; - readonly tag: string; - readonly title: string; - close(): void; - addEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Notification: { - prototype: Notification; - new(title: string, options?: NotificationOptions): Notification; - requestPermission(callback?: NotificationPermissionCallback): Promise; -}; - -interface OES_element_index_uint { -} - -declare var OES_element_index_uint: { - prototype: OES_element_index_uint; - new(): OES_element_index_uint; -}; - -interface OES_standard_derivatives { - readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number; -} - -declare var OES_standard_derivatives: { - prototype: OES_standard_derivatives; - new(): OES_standard_derivatives; - readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number; -}; - -interface OES_texture_float { -} - -declare var OES_texture_float: { - prototype: OES_texture_float; - new(): OES_texture_float; -}; - -interface OES_texture_float_linear { -} - -declare var OES_texture_float_linear: { - prototype: OES_texture_float_linear; - new(): OES_texture_float_linear; -}; - -interface OES_texture_half_float { - readonly HALF_FLOAT_OES: number; -} - -declare var OES_texture_half_float: { - prototype: OES_texture_half_float; - new(): OES_texture_half_float; - readonly HALF_FLOAT_OES: number; -}; - -interface OES_texture_half_float_linear { -} - -declare var OES_texture_half_float_linear: { - prototype: OES_texture_half_float_linear; - new(): OES_texture_half_float_linear; -}; - -interface OfflineAudioCompletionEvent extends Event { - readonly renderedBuffer: AudioBuffer; -} - -declare var OfflineAudioCompletionEvent: { - prototype: OfflineAudioCompletionEvent; - new(): OfflineAudioCompletionEvent; -}; - -interface OfflineAudioContextEventMap extends AudioContextEventMap { - "complete": OfflineAudioCompletionEvent; -} - -interface OfflineAudioContext extends AudioContextBase { - readonly length: number; - oncomplete: (this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any; - startRendering(): Promise; - suspend(suspendTime: number): Promise; - addEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var OfflineAudioContext: { - prototype: OfflineAudioContext; - new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext; -}; - -interface OscillatorNodeEventMap { - "ended": MediaStreamErrorEvent; -} - -interface OscillatorNode extends AudioNode { - readonly detune: AudioParam; - readonly frequency: AudioParam; - onended: (this: OscillatorNode, ev: MediaStreamErrorEvent) => any; - type: OscillatorType; - setPeriodicWave(periodicWave: PeriodicWave): void; - start(when?: number): void; - stop(when?: number): void; - addEventListener(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var OscillatorNode: { - prototype: OscillatorNode; - new(): OscillatorNode; -}; - -interface OverflowEvent extends UIEvent { - readonly horizontalOverflow: boolean; - readonly orient: number; - readonly verticalOverflow: boolean; - readonly BOTH: number; - readonly HORIZONTAL: number; - readonly VERTICAL: number; -} - -declare var OverflowEvent: { - prototype: OverflowEvent; - new(): OverflowEvent; - readonly BOTH: number; - readonly HORIZONTAL: number; - readonly VERTICAL: number; -}; - -interface PageTransitionEvent extends Event { - readonly persisted: boolean; -} - -declare var PageTransitionEvent: { - prototype: PageTransitionEvent; - new(): PageTransitionEvent; -}; - -interface PannerNode extends AudioNode { - coneInnerAngle: number; - coneOuterAngle: number; - coneOuterGain: number; - distanceModel: DistanceModelType; - maxDistance: number; - panningModel: PanningModelType; - refDistance: number; - rolloffFactor: number; - setOrientation(x: number, y: number, z: number): void; - setPosition(x: number, y: number, z: number): void; - setVelocity(x: number, y: number, z: number): void; -} - -declare var PannerNode: { - prototype: PannerNode; - new(): PannerNode; -}; - -interface Path2D extends Object, CanvasPathMethods { -} - -declare var Path2D: { - prototype: Path2D; - new(path?: Path2D): Path2D; -}; - -interface PaymentAddress { - readonly addressLine: string[]; - readonly city: string; - readonly country: string; - readonly dependentLocality: string; - readonly languageCode: string; - readonly organization: string; - readonly phone: string; - readonly postalCode: string; - readonly recipient: string; - readonly region: string; - readonly sortingCode: string; - toJSON(): any; -} - -declare var PaymentAddress: { - prototype: PaymentAddress; - new(): PaymentAddress; -}; - -interface PaymentRequestEventMap { - "shippingaddresschange": Event; - "shippingoptionchange": Event; -} - -interface PaymentRequest extends EventTarget { - onshippingaddresschange: (this: PaymentRequest, ev: Event) => any; - onshippingoptionchange: (this: PaymentRequest, ev: Event) => any; - readonly shippingAddress: PaymentAddress | null; - readonly shippingOption: string | null; - readonly shippingType: PaymentShippingType | null; - abort(): Promise; - show(): Promise; - addEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var PaymentRequest: { - prototype: PaymentRequest; - new(methodData: PaymentMethodData[], details: PaymentDetails, options?: PaymentOptions): PaymentRequest; -}; - -interface PaymentRequestUpdateEvent extends Event { - updateWith(d: Promise): void; -} - -declare var PaymentRequestUpdateEvent: { - prototype: PaymentRequestUpdateEvent; - new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent; -}; - -interface PaymentResponse { - readonly details: any; - readonly methodName: string; - readonly payerEmail: string | null; - readonly payerName: string | null; - readonly payerPhone: string | null; - readonly shippingAddress: PaymentAddress | null; - readonly shippingOption: string | null; - complete(result?: PaymentComplete): Promise; - toJSON(): any; -} - -declare var PaymentResponse: { - prototype: PaymentResponse; - new(): PaymentResponse; -}; - -interface Performance { - readonly navigation: PerformanceNavigation; - readonly timing: PerformanceTiming; - clearMarks(markName?: string): void; - clearMeasures(measureName?: string): void; - clearResourceTimings(): void; - getEntries(): any; - getEntriesByName(name: string, entryType?: string): any; - getEntriesByType(entryType: string): any; - getMarks(markName?: string): any; - getMeasures(measureName?: string): any; - mark(markName: string): void; - measure(measureName: string, startMarkName?: string, endMarkName?: string): void; - now(): number; - setResourceTimingBufferSize(maxSize: number): void; - toJSON(): any; -} - -declare var Performance: { - prototype: Performance; - new(): Performance; -}; - -interface PerformanceEntry { - readonly duration: number; - readonly entryType: string; - readonly name: string; - readonly startTime: number; -} - -declare var PerformanceEntry: { - prototype: PerformanceEntry; - new(): PerformanceEntry; -}; - -interface PerformanceMark extends PerformanceEntry { -} - -declare var PerformanceMark: { - prototype: PerformanceMark; - new(): PerformanceMark; -}; - -interface PerformanceMeasure extends PerformanceEntry { -} - -declare var PerformanceMeasure: { - prototype: PerformanceMeasure; - new(): PerformanceMeasure; -}; - -interface PerformanceNavigation { - readonly redirectCount: number; - readonly type: number; - toJSON(): any; - readonly TYPE_BACK_FORWARD: number; - readonly TYPE_NAVIGATE: number; - readonly TYPE_RELOAD: number; - readonly TYPE_RESERVED: number; -} - -declare var PerformanceNavigation: { - prototype: PerformanceNavigation; - new(): PerformanceNavigation; - readonly TYPE_BACK_FORWARD: number; - readonly TYPE_NAVIGATE: number; - readonly TYPE_RELOAD: number; - readonly TYPE_RESERVED: number; -}; - -interface PerformanceNavigationTiming extends PerformanceEntry { - readonly connectEnd: number; - readonly connectStart: number; - readonly domainLookupEnd: number; - readonly domainLookupStart: number; - readonly domComplete: number; - readonly domContentLoadedEventEnd: number; - readonly domContentLoadedEventStart: number; - readonly domInteractive: number; - readonly domLoading: number; - readonly fetchStart: number; - readonly loadEventEnd: number; - readonly loadEventStart: number; - readonly navigationStart: number; - readonly redirectCount: number; - readonly redirectEnd: number; - readonly redirectStart: number; - readonly requestStart: number; - readonly responseEnd: number; - readonly responseStart: number; - readonly type: NavigationType; - readonly unloadEventEnd: number; - readonly unloadEventStart: number; -} - -declare var PerformanceNavigationTiming: { - prototype: PerformanceNavigationTiming; - new(): PerformanceNavigationTiming; -}; - -interface PerformanceResourceTiming extends PerformanceEntry { - readonly connectEnd: number; - readonly connectStart: number; - readonly domainLookupEnd: number; - readonly domainLookupStart: number; - readonly fetchStart: number; - readonly initiatorType: string; - readonly redirectEnd: number; - readonly redirectStart: number; - readonly requestStart: number; - readonly responseEnd: number; - readonly responseStart: number; -} - -declare var PerformanceResourceTiming: { - prototype: PerformanceResourceTiming; - new(): PerformanceResourceTiming; -}; - -interface PerformanceTiming { - readonly connectEnd: number; - readonly connectStart: number; - readonly domainLookupEnd: number; - readonly domainLookupStart: number; - readonly domComplete: number; - readonly domContentLoadedEventEnd: number; - readonly domContentLoadedEventStart: number; - readonly domInteractive: number; - readonly domLoading: number; - readonly fetchStart: number; - readonly loadEventEnd: number; - readonly loadEventStart: number; - readonly msFirstPaint: number; - readonly navigationStart: number; - readonly redirectEnd: number; - readonly redirectStart: number; - readonly requestStart: number; - readonly responseEnd: number; - readonly responseStart: number; - readonly unloadEventEnd: number; - readonly unloadEventStart: number; - readonly secureConnectionStart: number; - toJSON(): any; -} - -declare var PerformanceTiming: { - prototype: PerformanceTiming; - new(): PerformanceTiming; -}; - -interface PerfWidgetExternal { - readonly activeNetworkRequestCount: number; - readonly averageFrameTime: number; - readonly averagePaintTime: number; - readonly extraInformationEnabled: boolean; - readonly independentRenderingEnabled: boolean; - readonly irDisablingContentString: string; - readonly irStatusAvailable: boolean; - readonly maxCpuSpeed: number; - readonly paintRequestsPerSecond: number; - readonly performanceCounter: number; - readonly performanceCounterFrequency: number; - addEventListener(eventType: string, callback: Function): void; - getMemoryUsage(): number; - getProcessCpuUsage(): number; - getRecentCpuUsage(last: number | null): any; - getRecentFrames(last: number | null): any; - getRecentMemoryUsage(last: number | null): any; - getRecentPaintRequests(last: number | null): any; - removeEventListener(eventType: string, callback: Function): void; - repositionWindow(x: number, y: number): void; - resizeWindow(width: number, height: number): void; -} - -declare var PerfWidgetExternal: { - prototype: PerfWidgetExternal; - new(): PerfWidgetExternal; -}; - -interface PeriodicWave { -} - -declare var PeriodicWave: { - prototype: PeriodicWave; - new(): PeriodicWave; -}; - -interface PermissionRequest extends DeferredPermissionRequest { - readonly state: MSWebViewPermissionState; - defer(): void; -} - -declare var PermissionRequest: { - prototype: PermissionRequest; - new(): PermissionRequest; -}; - -interface PermissionRequestedEvent extends Event { - readonly permissionRequest: PermissionRequest; -} - -declare var PermissionRequestedEvent: { - prototype: PermissionRequestedEvent; - new(): PermissionRequestedEvent; -}; - -interface Plugin { - readonly description: string; - readonly filename: string; - readonly length: number; - readonly name: string; - readonly version: string; - item(index: number): MimeType; - namedItem(type: string): MimeType; - [index: number]: MimeType; -} - -declare var Plugin: { - prototype: Plugin; - new(): Plugin; -}; - -interface PluginArray { - readonly length: number; - item(index: number): Plugin; - namedItem(name: string): Plugin; - refresh(reload?: boolean): void; - [index: number]: Plugin; -} - -declare var PluginArray: { - prototype: PluginArray; - new(): PluginArray; -}; - -interface PointerEvent extends MouseEvent { - readonly currentPoint: any; - readonly height: number; - readonly hwTimestamp: number; - readonly intermediatePoints: any; - readonly isPrimary: boolean; - readonly pointerId: number; - readonly pointerType: any; - readonly pressure: number; - readonly rotation: number; - readonly tiltX: number; - readonly tiltY: number; - readonly width: number; - getCurrentPoint(element: Element): void; - getIntermediatePoints(element: Element): void; - initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void; -} - -declare var PointerEvent: { - prototype: PointerEvent; - new(typeArg: string, eventInitDict?: PointerEventInit): PointerEvent; -}; - -interface PopStateEvent extends Event { - readonly state: any; - initPopStateEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, stateArg: any): void; -} - -declare var PopStateEvent: { - prototype: PopStateEvent; - new(typeArg: string, eventInitDict?: PopStateEventInit): PopStateEvent; -}; - -interface Position { - readonly coords: Coordinates; - readonly timestamp: number; -} - -declare var Position: { - prototype: Position; - new(): Position; -}; - -interface PositionError { - readonly code: number; - readonly message: string; - toString(): string; - readonly PERMISSION_DENIED: number; - readonly POSITION_UNAVAILABLE: number; - readonly TIMEOUT: number; -} - -declare var PositionError: { - prototype: PositionError; - new(): PositionError; - readonly PERMISSION_DENIED: number; - readonly POSITION_UNAVAILABLE: number; - readonly TIMEOUT: number; -}; - -interface ProcessingInstruction extends CharacterData { - readonly target: string; -} - -declare var ProcessingInstruction: { - prototype: ProcessingInstruction; - new(): ProcessingInstruction; -}; - -interface ProgressEvent extends Event { - readonly lengthComputable: boolean; - readonly loaded: number; - readonly total: number; - initProgressEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, lengthComputableArg: boolean, loadedArg: number, totalArg: number): void; -} - -declare var ProgressEvent: { - prototype: ProgressEvent; - new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent; -}; - -interface PushManager { - getSubscription(): Promise; - permissionState(options?: PushSubscriptionOptionsInit): Promise; - subscribe(options?: PushSubscriptionOptionsInit): Promise; -} - -declare var PushManager: { - prototype: PushManager; - new(): PushManager; -}; - -interface PushSubscription { - readonly endpoint: USVString; - readonly options: PushSubscriptionOptions; - getKey(name: PushEncryptionKeyName): ArrayBuffer | null; - toJSON(): any; - unsubscribe(): Promise; -} - -declare var PushSubscription: { - prototype: PushSubscription; - new(): PushSubscription; -}; - -interface PushSubscriptionOptions { - readonly applicationServerKey: ArrayBuffer | null; - readonly userVisibleOnly: boolean; -} - -declare var PushSubscriptionOptions: { - prototype: PushSubscriptionOptions; - new(): PushSubscriptionOptions; -}; - -interface Range { - readonly collapsed: boolean; - readonly commonAncestorContainer: Node; - readonly endContainer: Node; - readonly endOffset: number; - readonly startContainer: Node; - readonly startOffset: number; - cloneContents(): DocumentFragment; - cloneRange(): Range; - collapse(toStart: boolean): void; - compareBoundaryPoints(how: number, sourceRange: Range): number; - createContextualFragment(fragment: string): DocumentFragment; - deleteContents(): void; - detach(): void; - expand(Unit: ExpandGranularity): boolean; - extractContents(): DocumentFragment; - getBoundingClientRect(): ClientRect | DOMRect; - getClientRects(): ClientRectList | DOMRectList; - insertNode(newNode: Node): void; - selectNode(refNode: Node): void; - selectNodeContents(refNode: Node): void; - setEnd(refNode: Node, offset: number): void; - setEndAfter(refNode: Node): void; - setEndBefore(refNode: Node): void; - setStart(refNode: Node, offset: number): void; - setStartAfter(refNode: Node): void; - setStartBefore(refNode: Node): void; - surroundContents(newParent: Node): void; - toString(): string; - readonly END_TO_END: number; - readonly END_TO_START: number; - readonly START_TO_END: number; - readonly START_TO_START: number; -} - -declare var Range: { - prototype: Range; - new(): Range; - readonly END_TO_END: number; - readonly END_TO_START: number; - readonly START_TO_END: number; - readonly START_TO_START: number; -}; - -interface ReadableStream { - readonly locked: boolean; - cancel(): Promise; - getReader(): ReadableStreamReader; -} - -declare var ReadableStream: { - prototype: ReadableStream; - new(): ReadableStream; -}; - -interface ReadableStreamReader { - cancel(): Promise; - read(): Promise; - releaseLock(): void; -} - -declare var ReadableStreamReader: { - prototype: ReadableStreamReader; - new(): ReadableStreamReader; -}; - -interface Request extends Object, Body { - readonly cache: RequestCache; - readonly credentials: RequestCredentials; - readonly destination: RequestDestination; - readonly headers: Headers; - readonly integrity: string; - readonly keepalive: boolean; - readonly method: string; - readonly mode: RequestMode; - readonly redirect: RequestRedirect; - readonly referrer: string; - readonly referrerPolicy: ReferrerPolicy; - readonly type: RequestType; - readonly url: string; - readonly signal: AbortSignal; - clone(): Request; -} - -declare var Request: { - prototype: Request; - new(input: Request | string, init?: RequestInit): Request; -}; - -interface Response extends Object, Body { - readonly body: ReadableStream | null; - readonly headers: Headers; - readonly ok: boolean; - readonly status: number; - readonly statusText: string; - readonly type: ResponseType; - readonly url: string; - readonly redirected: boolean; - clone(): Response; -} - -declare var Response: { - prototype: Response; - new(body?: any, init?: ResponseInit): Response; - error: () => Response; - redirect: (url: string, status?: number) => Response; -}; - -interface RTCDtlsTransportEventMap { - "dtlsstatechange": RTCDtlsTransportStateChangedEvent; - "error": Event; -} - -interface RTCDtlsTransport extends RTCStatsProvider { - ondtlsstatechange: ((this: RTCDtlsTransport, ev: RTCDtlsTransportStateChangedEvent) => any) | null; - onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; - readonly state: RTCDtlsTransportState; - readonly transport: RTCIceTransport; - getLocalParameters(): RTCDtlsParameters; - getRemoteCertificates(): ArrayBuffer[]; - getRemoteParameters(): RTCDtlsParameters | null; - start(remoteParameters: RTCDtlsParameters): void; - stop(): void; - addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCDtlsTransport: { - prototype: RTCDtlsTransport; - new(transport: RTCIceTransport): RTCDtlsTransport; -}; - -interface RTCDtlsTransportStateChangedEvent extends Event { - readonly state: RTCDtlsTransportState; -} - -declare var RTCDtlsTransportStateChangedEvent: { - prototype: RTCDtlsTransportStateChangedEvent; - new(): RTCDtlsTransportStateChangedEvent; -}; - -interface RTCDtmfSenderEventMap { - "tonechange": RTCDTMFToneChangeEvent; -} - -interface RTCDtmfSender extends EventTarget { - readonly canInsertDTMF: boolean; - readonly duration: number; - readonly interToneGap: number; - ontonechange: (this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any; - readonly sender: RTCRtpSender; - readonly toneBuffer: string; - insertDTMF(tones: string, duration?: number, interToneGap?: number): void; - addEventListener(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCDtmfSender: { - prototype: RTCDtmfSender; - new(sender: RTCRtpSender): RTCDtmfSender; -}; - -interface RTCDTMFToneChangeEvent extends Event { - readonly tone: string; -} - -declare var RTCDTMFToneChangeEvent: { - prototype: RTCDTMFToneChangeEvent; - new(typeArg: string, eventInitDict: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent; -}; - -interface RTCIceCandidate { - candidate: string | null; - sdpMid: string | null; - sdpMLineIndex: number | null; - toJSON(): any; -} - -declare var RTCIceCandidate: { - prototype: RTCIceCandidate; - new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; -}; - -interface RTCIceCandidatePairChangedEvent extends Event { - readonly pair: RTCIceCandidatePair; -} - -declare var RTCIceCandidatePairChangedEvent: { - prototype: RTCIceCandidatePairChangedEvent; - new(): RTCIceCandidatePairChangedEvent; -}; - -interface RTCIceGathererEventMap { - "error": Event; - "localcandidate": RTCIceGathererEvent; -} - -interface RTCIceGatherer extends RTCStatsProvider { - readonly component: RTCIceComponent; - onerror: ((this: RTCIceGatherer, ev: Event) => any) | null; - onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null; - createAssociatedGatherer(): RTCIceGatherer; - getLocalCandidates(): RTCIceCandidateDictionary[]; - getLocalParameters(): RTCIceParameters; - addEventListener(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCIceGatherer: { - prototype: RTCIceGatherer; - new(options: RTCIceGatherOptions): RTCIceGatherer; -}; - -interface RTCIceGathererEvent extends Event { - readonly candidate: RTCIceCandidateDictionary | RTCIceCandidateComplete; -} - -declare var RTCIceGathererEvent: { - prototype: RTCIceGathererEvent; - new(): RTCIceGathererEvent; -}; - -interface RTCIceTransportEventMap { - "candidatepairchange": RTCIceCandidatePairChangedEvent; - "icestatechange": RTCIceTransportStateChangedEvent; -} - -interface RTCIceTransport extends RTCStatsProvider { - readonly component: RTCIceComponent; - readonly iceGatherer: RTCIceGatherer | null; - oncandidatepairchange: ((this: RTCIceTransport, ev: RTCIceCandidatePairChangedEvent) => any) | null; - onicestatechange: ((this: RTCIceTransport, ev: RTCIceTransportStateChangedEvent) => any) | null; - readonly role: RTCIceRole; - readonly state: RTCIceTransportState; - addRemoteCandidate(remoteCandidate: RTCIceCandidateDictionary | RTCIceCandidateComplete): void; - createAssociatedTransport(): RTCIceTransport; - getNominatedCandidatePair(): RTCIceCandidatePair | null; - getRemoteCandidates(): RTCIceCandidateDictionary[]; - getRemoteParameters(): RTCIceParameters | null; - setRemoteCandidates(remoteCandidates: RTCIceCandidateDictionary[]): void; - start(gatherer: RTCIceGatherer, remoteParameters: RTCIceParameters, role?: RTCIceRole): void; - stop(): void; - addEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCIceTransport: { - prototype: RTCIceTransport; - new(): RTCIceTransport; -}; - -interface RTCIceTransportStateChangedEvent extends Event { - readonly state: RTCIceTransportState; -} - -declare var RTCIceTransportStateChangedEvent: { - prototype: RTCIceTransportStateChangedEvent; - new(): RTCIceTransportStateChangedEvent; -}; - -interface RTCPeerConnectionEventMap { - "addstream": MediaStreamEvent; - "icecandidate": RTCPeerConnectionIceEvent; - "iceconnectionstatechange": Event; - "icegatheringstatechange": Event; - "negotiationneeded": Event; - "removestream": MediaStreamEvent; - "signalingstatechange": Event; -} - -interface RTCPeerConnection extends EventTarget { - readonly canTrickleIceCandidates: boolean | null; - readonly iceConnectionState: RTCIceConnectionState; - readonly iceGatheringState: RTCIceGatheringState; - readonly localDescription: RTCSessionDescription | null; - onaddstream: (this: RTCPeerConnection, ev: MediaStreamEvent) => any; - onicecandidate: (this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any; - oniceconnectionstatechange: (this: RTCPeerConnection, ev: Event) => any; - onicegatheringstatechange: (this: RTCPeerConnection, ev: Event) => any; - onnegotiationneeded: (this: RTCPeerConnection, ev: Event) => any; - onremovestream: (this: RTCPeerConnection, ev: MediaStreamEvent) => any; - onsignalingstatechange: (this: RTCPeerConnection, ev: Event) => any; - readonly remoteDescription: RTCSessionDescription | null; - readonly signalingState: RTCSignalingState; - addIceCandidate(candidate: RTCIceCandidate, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; - addStream(stream: MediaStream): void; - close(): void; - createAnswer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise; - createOffer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise; - getConfiguration(): RTCConfiguration; - getLocalStreams(): MediaStream[]; - getRemoteStreams(): MediaStream[]; - getStats(selector: MediaStreamTrack | null, successCallback?: RTCStatsCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise; - getStreamById(streamId: string): MediaStream | null; - removeStream(stream: MediaStream): void; - setLocalDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; - setRemoteDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; - addEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCPeerConnection: { - prototype: RTCPeerConnection; - new(configuration: RTCConfiguration): RTCPeerConnection; -}; - -interface RTCPeerConnectionIceEvent extends Event { - readonly candidate: RTCIceCandidate; -} - -declare var RTCPeerConnectionIceEvent: { - prototype: RTCPeerConnectionIceEvent; - new(type: string, eventInitDict: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent; -}; - -interface RTCRtpReceiverEventMap { - "error": Event; -} - -interface RTCRtpReceiver extends RTCStatsProvider { - onerror: ((this: RTCRtpReceiver, ev: Event) => any) | null; - readonly rtcpTransport: RTCDtlsTransport; - readonly track: MediaStreamTrack | null; - readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; - getContributingSources(): RTCRtpContributingSource[]; - receive(parameters: RTCRtpParameters): void; - requestSendCSRC(csrc: number): void; - setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void; - stop(): void; - addEventListener(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCRtpReceiver: { - prototype: RTCRtpReceiver; - new(transport: RTCDtlsTransport | RTCSrtpSdesTransport, kind: string, rtcpTransport?: RTCDtlsTransport): RTCRtpReceiver; - getCapabilities(kind?: string): RTCRtpCapabilities; -}; - -interface RTCRtpSenderEventMap { - "error": Event; - "ssrcconflict": RTCSsrcConflictEvent; -} - -interface RTCRtpSender extends RTCStatsProvider { - onerror: ((this: RTCRtpSender, ev: Event) => any) | null; - onssrcconflict: ((this: RTCRtpSender, ev: RTCSsrcConflictEvent) => any) | null; - readonly rtcpTransport: RTCDtlsTransport; - readonly track: MediaStreamTrack; - readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; - send(parameters: RTCRtpParameters): void; - setTrack(track: MediaStreamTrack): void; - setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void; - stop(): void; - addEventListener(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCRtpSender: { - prototype: RTCRtpSender; - new(track: MediaStreamTrack, transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): RTCRtpSender; - getCapabilities(kind?: string): RTCRtpCapabilities; -}; - -interface RTCSessionDescription { - sdp: string | null; - type: RTCSdpType | null; - toJSON(): any; -} - -declare var RTCSessionDescription: { - prototype: RTCSessionDescription; - new(descriptionInitDict?: RTCSessionDescriptionInit): RTCSessionDescription; -}; - -interface RTCSrtpSdesTransportEventMap { - "error": Event; -} - -interface RTCSrtpSdesTransport extends EventTarget { - onerror: ((this: RTCSrtpSdesTransport, ev: Event) => any) | null; - readonly transport: RTCIceTransport; - addEventListener(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var RTCSrtpSdesTransport: { - prototype: RTCSrtpSdesTransport; - new(transport: RTCIceTransport, encryptParameters: RTCSrtpSdesParameters, decryptParameters: RTCSrtpSdesParameters): RTCSrtpSdesTransport; - getLocalParameters(): RTCSrtpSdesParameters[]; -}; - -interface RTCSsrcConflictEvent extends Event { - readonly ssrc: number; -} - -declare var RTCSsrcConflictEvent: { - prototype: RTCSsrcConflictEvent; - new(): RTCSsrcConflictEvent; -}; - -interface RTCStatsProvider extends EventTarget { - getStats(): Promise; - msGetStats(): Promise; -} - -declare var RTCStatsProvider: { - prototype: RTCStatsProvider; - new(): RTCStatsProvider; -}; - -interface ScopedCredential { - readonly id: ArrayBuffer; - readonly type: ScopedCredentialType; -} - -declare var ScopedCredential: { - prototype: ScopedCredential; - new(): ScopedCredential; -}; - -interface ScopedCredentialInfo { - readonly credential: ScopedCredential; - readonly publicKey: CryptoKey; -} - -declare var ScopedCredentialInfo: { - prototype: ScopedCredentialInfo; - new(): ScopedCredentialInfo; -}; - -interface ScreenEventMap { - "MSOrientationChange": Event; -} - -interface Screen extends EventTarget { - readonly availHeight: number; - readonly availWidth: number; - bufferDepth: number; - readonly colorDepth: number; - readonly deviceXDPI: number; - readonly deviceYDPI: number; - readonly fontSmoothingEnabled: boolean; - readonly height: number; - readonly logicalXDPI: number; - readonly logicalYDPI: number; - readonly msOrientation: string; - onmsorientationchange: (this: Screen, ev: Event) => any; - readonly pixelDepth: number; - readonly systemXDPI: number; - readonly systemYDPI: number; - readonly width: number; - msLockOrientation(orientations: string | string[]): boolean; - msUnlockOrientation(): void; - lockOrientation(orientations: OrientationLockType | OrientationLockType[]): boolean; - unlockOrientation(): void; - addEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var Screen: { - prototype: Screen; - new(): Screen; -}; - -interface ScriptNotifyEvent extends Event { - readonly callingUri: string; - readonly value: string; -} - -declare var ScriptNotifyEvent: { - prototype: ScriptNotifyEvent; - new(): ScriptNotifyEvent; -}; - -interface ScriptProcessorNodeEventMap { - "audioprocess": AudioProcessingEvent; -} - -interface ScriptProcessorNode extends AudioNode { - readonly bufferSize: number; - onaudioprocess: (this: ScriptProcessorNode, ev: AudioProcessingEvent) => any; - addEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ScriptProcessorNode: { - prototype: ScriptProcessorNode; - new(): ScriptProcessorNode; -}; - -interface Selection { - readonly anchorNode: Node; - readonly anchorOffset: number; - readonly baseNode: Node; - readonly baseOffset: number; - readonly extentNode: Node; - readonly extentOffset: number; - readonly focusNode: Node; - readonly focusOffset: number; - readonly isCollapsed: boolean; - readonly rangeCount: number; - readonly type: string; - addRange(range: Range): void; - collapse(parentNode: Node, offset: number): void; - collapseToEnd(): void; - collapseToStart(): void; - containsNode(node: Node, partlyContained: boolean): boolean; - deleteFromDocument(): void; - empty(): void; - extend(newNode: Node, offset: number): void; - getRangeAt(index: number): Range; - removeAllRanges(): void; - removeRange(range: Range): void; - selectAllChildren(parentNode: Node): void; - setBaseAndExtent(baseNode: Node, baseOffset: number, extentNode: Node, extentOffset: number): void; - setPosition(parentNode: Node, offset: number): void; - toString(): string; -} - -declare var Selection: { - prototype: Selection; - new(): Selection; -}; - -interface ServiceWorkerEventMap extends AbstractWorkerEventMap { - "statechange": Event; -} - -interface ServiceWorker extends EventTarget, AbstractWorker { - onstatechange: (this: ServiceWorker, ev: Event) => any; - readonly scriptURL: USVString; - readonly state: ServiceWorkerState; - postMessage(message: any, transfer?: any[]): void; - addEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ServiceWorker: { - prototype: ServiceWorker; - new(): ServiceWorker; -}; - -interface ServiceWorkerContainerEventMap { - "controllerchange": Event; - "message": ServiceWorkerMessageEvent; -} - -interface ServiceWorkerContainer extends EventTarget { - readonly controller: ServiceWorker | null; - oncontrollerchange: (this: ServiceWorkerContainer, ev: Event) => any; - onmessage: (this: ServiceWorkerContainer, ev: ServiceWorkerMessageEvent) => any; - readonly ready: Promise; - getRegistration(clientURL?: USVString): Promise; - getRegistrations(): Promise; - register(scriptURL: USVString, options?: RegistrationOptions): Promise; - addEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ServiceWorkerContainer: { - prototype: ServiceWorkerContainer; - new(): ServiceWorkerContainer; -}; - -interface ServiceWorkerMessageEvent extends Event { - readonly data: any; - readonly lastEventId: string; - readonly origin: string; - readonly ports: MessagePort[] | null; - readonly source: ServiceWorker | MessagePort | null; -} - -declare var ServiceWorkerMessageEvent: { - prototype: ServiceWorkerMessageEvent; - new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent; -}; - -interface ServiceWorkerRegistrationEventMap { - "updatefound": Event; -} - -interface ServiceWorkerRegistration extends EventTarget { - readonly active: ServiceWorker | null; - readonly installing: ServiceWorker | null; - onupdatefound: (this: ServiceWorkerRegistration, ev: Event) => any; - readonly pushManager: PushManager; - readonly scope: USVString; - readonly sync: SyncManager; - readonly waiting: ServiceWorker | null; - getNotifications(filter?: GetNotificationOptions): Promise; - showNotification(title: string, options?: NotificationOptions): Promise; - unregister(): Promise; - update(): Promise; - addEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ServiceWorkerRegistration: { - prototype: ServiceWorkerRegistration; - new(): ServiceWorkerRegistration; -}; - -interface SourceBuffer extends EventTarget { - appendWindowEnd: number; - appendWindowStart: number; - readonly audioTracks: AudioTrackList; - readonly buffered: TimeRanges; - mode: AppendMode; - timestampOffset: number; - readonly updating: boolean; - readonly videoTracks: VideoTrackList; - abort(): void; - appendBuffer(data: ArrayBuffer | ArrayBufferView): void; - appendStream(stream: MSStream, maxSize?: number): void; - remove(start: number, end: number): void; -} - -declare var SourceBuffer: { - prototype: SourceBuffer; - new(): SourceBuffer; -}; - -interface SourceBufferList extends EventTarget { - readonly length: number; - item(index: number): SourceBuffer; - [index: number]: SourceBuffer; -} - -declare var SourceBufferList: { - prototype: SourceBufferList; - new(): SourceBufferList; -}; - -interface SpeechSynthesisEventMap { - "voiceschanged": Event; -} - -interface SpeechSynthesis extends EventTarget { - onvoiceschanged: (this: SpeechSynthesis, ev: Event) => any; - readonly paused: boolean; - readonly pending: boolean; - readonly speaking: boolean; - cancel(): void; - getVoices(): SpeechSynthesisVoice[]; - pause(): void; - resume(): void; - speak(utterance: SpeechSynthesisUtterance): void; - addEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SpeechSynthesis: { - prototype: SpeechSynthesis; - new(): SpeechSynthesis; -}; - -interface SpeechSynthesisEvent extends Event { - readonly charIndex: number; - readonly elapsedTime: number; - readonly name: string; - readonly utterance: SpeechSynthesisUtterance | null; -} - -declare var SpeechSynthesisEvent: { - prototype: SpeechSynthesisEvent; - new(type: string, eventInitDict?: SpeechSynthesisEventInit): SpeechSynthesisEvent; -}; - -interface SpeechSynthesisUtteranceEventMap { - "boundary": Event; - "end": Event; - "error": Event; - "mark": Event; - "pause": Event; - "resume": Event; - "start": Event; -} - -interface SpeechSynthesisUtterance extends EventTarget { - lang: string; - onboundary: (this: SpeechSynthesisUtterance, ev: Event) => any; - onend: (this: SpeechSynthesisUtterance, ev: Event) => any; - onerror: (this: SpeechSynthesisUtterance, ev: Event) => any; - onmark: (this: SpeechSynthesisUtterance, ev: Event) => any; - onpause: (this: SpeechSynthesisUtterance, ev: Event) => any; - onresume: (this: SpeechSynthesisUtterance, ev: Event) => any; - onstart: (this: SpeechSynthesisUtterance, ev: Event) => any; - pitch: number; - rate: number; - text: string; - voice: SpeechSynthesisVoice; - volume: number; - addEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SpeechSynthesisUtterance: { - prototype: SpeechSynthesisUtterance; - new(text?: string): SpeechSynthesisUtterance; -}; - -interface SpeechSynthesisVoice { - readonly default: boolean; - readonly lang: string; - readonly localService: boolean; - readonly name: string; - readonly voiceURI: string; -} - -declare var SpeechSynthesisVoice: { - prototype: SpeechSynthesisVoice; - new(): SpeechSynthesisVoice; -}; - -interface StereoPannerNode extends AudioNode { - readonly pan: AudioParam; -} - -declare var StereoPannerNode: { - prototype: StereoPannerNode; - new(): StereoPannerNode; -}; - -interface Storage { - readonly length: number; - clear(): void; - getItem(key: string): string | null; - key(index: number): string | null; - removeItem(key: string): void; - setItem(key: string, data: string): void; - [key: string]: any; - [index: number]: string; -} - -declare var Storage: { - prototype: Storage; - new(): Storage; -}; - -interface StorageEvent extends Event { - readonly url: string; - key?: string; - oldValue?: string; - newValue?: string; - storageArea?: Storage; -} - -declare var StorageEvent: { - prototype: StorageEvent; - new (type: string, eventInitDict?: StorageEventInit): StorageEvent; -}; - -interface StyleMedia { - readonly type: string; - matchMedium(mediaquery: string): boolean; -} - -declare var StyleMedia: { - prototype: StyleMedia; - new(): StyleMedia; -}; - -interface StyleSheet { - disabled: boolean; - readonly href: string; - readonly media: MediaList; - readonly ownerNode: Node; - readonly parentStyleSheet: StyleSheet; - readonly title: string; - readonly type: string; -} - -declare var StyleSheet: { - prototype: StyleSheet; - new(): StyleSheet; -}; - -interface StyleSheetList { - readonly length: number; - item(index?: number): StyleSheet; - [index: number]: StyleSheet; -} - -declare var StyleSheetList: { - prototype: StyleSheetList; - new(): StyleSheetList; -}; - -interface StyleSheetPageList { - readonly length: number; - item(index: number): CSSPageRule; - [index: number]: CSSPageRule; -} - -declare var StyleSheetPageList: { - prototype: StyleSheetPageList; - new(): StyleSheetPageList; -}; - -interface SubtleCrypto { - decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike; - deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike; - deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike; - digest(algorithm: AlgorithmIdentifier, data: BufferSource): PromiseLike; - encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike; - exportKey(format: "jwk", key: CryptoKey): PromiseLike; - exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): PromiseLike; - exportKey(format: string, key: CryptoKey): PromiseLike; - generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike; - generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike; - generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike; - importKey(format: "jwk", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; - importKey(format: "raw" | "pkcs8" | "spki", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; - importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; - sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike; - unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike; - verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike; - wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): PromiseLike; -} - -declare var SubtleCrypto: { - prototype: SubtleCrypto; - new(): SubtleCrypto; -}; - -interface SVGAElement extends SVGGraphicsElement, SVGURIReference { - readonly target: SVGAnimatedString; - addEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGAElement: { - prototype: SVGAElement; - new(): SVGAElement; -}; - -interface SVGAngle { - readonly unitType: number; - value: number; - valueAsString: string; - valueInSpecifiedUnits: number; - convertToSpecifiedUnits(unitType: number): void; - newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; - readonly SVG_ANGLETYPE_DEG: number; - readonly SVG_ANGLETYPE_GRAD: number; - readonly SVG_ANGLETYPE_RAD: number; - readonly SVG_ANGLETYPE_UNKNOWN: number; - readonly SVG_ANGLETYPE_UNSPECIFIED: number; -} - -declare var SVGAngle: { - prototype: SVGAngle; - new(): SVGAngle; - readonly SVG_ANGLETYPE_DEG: number; - readonly SVG_ANGLETYPE_GRAD: number; - readonly SVG_ANGLETYPE_RAD: number; - readonly SVG_ANGLETYPE_UNKNOWN: number; - readonly SVG_ANGLETYPE_UNSPECIFIED: number; -}; - -interface SVGAnimatedAngle { - readonly animVal: SVGAngle; - readonly baseVal: SVGAngle; -} - -declare var SVGAnimatedAngle: { - prototype: SVGAnimatedAngle; - new(): SVGAnimatedAngle; -}; - -interface SVGAnimatedBoolean { - readonly animVal: boolean; - baseVal: boolean; -} - -declare var SVGAnimatedBoolean: { - prototype: SVGAnimatedBoolean; - new(): SVGAnimatedBoolean; -}; - -interface SVGAnimatedEnumeration { - readonly animVal: number; - baseVal: number; -} - -declare var SVGAnimatedEnumeration: { - prototype: SVGAnimatedEnumeration; - new(): SVGAnimatedEnumeration; -}; - -interface SVGAnimatedInteger { - readonly animVal: number; - baseVal: number; -} - -declare var SVGAnimatedInteger: { - prototype: SVGAnimatedInteger; - new(): SVGAnimatedInteger; -}; - -interface SVGAnimatedLength { - readonly animVal: SVGLength; - readonly baseVal: SVGLength; -} - -declare var SVGAnimatedLength: { - prototype: SVGAnimatedLength; - new(): SVGAnimatedLength; -}; - -interface SVGAnimatedLengthList { - readonly animVal: SVGLengthList; - readonly baseVal: SVGLengthList; -} - -declare var SVGAnimatedLengthList: { - prototype: SVGAnimatedLengthList; - new(): SVGAnimatedLengthList; -}; - -interface SVGAnimatedNumber { - readonly animVal: number; - baseVal: number; -} - -declare var SVGAnimatedNumber: { - prototype: SVGAnimatedNumber; - new(): SVGAnimatedNumber; -}; - -interface SVGAnimatedNumberList { - readonly animVal: SVGNumberList; - readonly baseVal: SVGNumberList; -} - -declare var SVGAnimatedNumberList: { - prototype: SVGAnimatedNumberList; - new(): SVGAnimatedNumberList; -}; - -interface SVGAnimatedPreserveAspectRatio { - readonly animVal: SVGPreserveAspectRatio; - readonly baseVal: SVGPreserveAspectRatio; -} - -declare var SVGAnimatedPreserveAspectRatio: { - prototype: SVGAnimatedPreserveAspectRatio; - new(): SVGAnimatedPreserveAspectRatio; -}; - -interface SVGAnimatedRect { - readonly animVal: SVGRect; - readonly baseVal: SVGRect; -} - -declare var SVGAnimatedRect: { - prototype: SVGAnimatedRect; - new(): SVGAnimatedRect; -}; - -interface SVGAnimatedString { - readonly animVal: string; - baseVal: string; -} - -declare var SVGAnimatedString: { - prototype: SVGAnimatedString; - new(): SVGAnimatedString; -}; - -interface SVGAnimatedTransformList { - readonly animVal: SVGTransformList; - readonly baseVal: SVGTransformList; -} - -declare var SVGAnimatedTransformList: { - prototype: SVGAnimatedTransformList; - new(): SVGAnimatedTransformList; -}; - -interface SVGCircleElement extends SVGGraphicsElement { - readonly cx: SVGAnimatedLength; - readonly cy: SVGAnimatedLength; - readonly r: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGCircleElement: { - prototype: SVGCircleElement; - new(): SVGCircleElement; -}; - -interface SVGClipPathElement extends SVGGraphicsElement, SVGUnitTypes { - readonly clipPathUnits: SVGAnimatedEnumeration; - addEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGClipPathElement: { - prototype: SVGClipPathElement; - new(): SVGClipPathElement; -}; - -interface SVGComponentTransferFunctionElement extends SVGElement { - readonly amplitude: SVGAnimatedNumber; - readonly exponent: SVGAnimatedNumber; - readonly intercept: SVGAnimatedNumber; - readonly offset: SVGAnimatedNumber; - readonly slope: SVGAnimatedNumber; - readonly tableValues: SVGAnimatedNumberList; - readonly type: SVGAnimatedEnumeration; - readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGComponentTransferFunctionElement: { - prototype: SVGComponentTransferFunctionElement; - new(): SVGComponentTransferFunctionElement; - readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; - readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; -}; - -interface SVGDefsElement extends SVGGraphicsElement { - addEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGDefsElement: { - prototype: SVGDefsElement; - new(): SVGDefsElement; -}; - -interface SVGDescElement extends SVGElement { - addEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGDescElement: { - prototype: SVGDescElement; - new(): SVGDescElement; -}; - -interface SVGElementEventMap extends ElementEventMap { - "click": MouseEvent; - "dblclick": MouseEvent; - "focusin": FocusEvent; - "focusout": FocusEvent; - "load": Event; - "mousedown": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; -} - -interface SVGElement extends Element { - className: any; - onclick: (this: SVGElement, ev: MouseEvent) => any; - ondblclick: (this: SVGElement, ev: MouseEvent) => any; - onfocusin: (this: SVGElement, ev: FocusEvent) => any; - onfocusout: (this: SVGElement, ev: FocusEvent) => any; - onload: (this: SVGElement, ev: Event) => any; - onmousedown: (this: SVGElement, ev: MouseEvent) => any; - onmousemove: (this: SVGElement, ev: MouseEvent) => any; - onmouseout: (this: SVGElement, ev: MouseEvent) => any; - onmouseover: (this: SVGElement, ev: MouseEvent) => any; - onmouseup: (this: SVGElement, ev: MouseEvent) => any; - readonly ownerSVGElement: SVGSVGElement; - readonly style: CSSStyleDeclaration; - readonly viewportElement: SVGElement; - xmlbase: string; - addEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGElement: { - prototype: SVGElement; - new(): SVGElement; -}; - -interface SVGElementInstance extends EventTarget { - readonly childNodes: SVGElementInstanceList; - readonly correspondingElement: SVGElement; - readonly correspondingUseElement: SVGUseElement; - readonly firstChild: SVGElementInstance; - readonly lastChild: SVGElementInstance; - readonly nextSibling: SVGElementInstance; - readonly parentNode: SVGElementInstance; - readonly previousSibling: SVGElementInstance; -} - -declare var SVGElementInstance: { - prototype: SVGElementInstance; - new(): SVGElementInstance; -}; - -interface SVGElementInstanceList { - readonly length: number; - item(index: number): SVGElementInstance; -} - -declare var SVGElementInstanceList: { - prototype: SVGElementInstanceList; - new(): SVGElementInstanceList; -}; - -interface SVGEllipseElement extends SVGGraphicsElement { - readonly cx: SVGAnimatedLength; - readonly cy: SVGAnimatedLength; - readonly rx: SVGAnimatedLength; - readonly ry: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGEllipseElement: { - prototype: SVGEllipseElement; - new(): SVGEllipseElement; -}; - -interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly in2: SVGAnimatedString; - readonly mode: SVGAnimatedEnumeration; - readonly SVG_FEBLEND_MODE_COLOR: number; - readonly SVG_FEBLEND_MODE_COLOR_BURN: number; - readonly SVG_FEBLEND_MODE_COLOR_DODGE: number; - readonly SVG_FEBLEND_MODE_DARKEN: number; - readonly SVG_FEBLEND_MODE_DIFFERENCE: number; - readonly SVG_FEBLEND_MODE_EXCLUSION: number; - readonly SVG_FEBLEND_MODE_HARD_LIGHT: number; - readonly SVG_FEBLEND_MODE_HUE: number; - readonly SVG_FEBLEND_MODE_LIGHTEN: number; - readonly SVG_FEBLEND_MODE_LUMINOSITY: number; - readonly SVG_FEBLEND_MODE_MULTIPLY: number; - readonly SVG_FEBLEND_MODE_NORMAL: number; - readonly SVG_FEBLEND_MODE_OVERLAY: number; - readonly SVG_FEBLEND_MODE_SATURATION: number; - readonly SVG_FEBLEND_MODE_SCREEN: number; - readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number; - readonly SVG_FEBLEND_MODE_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEBlendElement: { - prototype: SVGFEBlendElement; - new(): SVGFEBlendElement; - readonly SVG_FEBLEND_MODE_COLOR: number; - readonly SVG_FEBLEND_MODE_COLOR_BURN: number; - readonly SVG_FEBLEND_MODE_COLOR_DODGE: number; - readonly SVG_FEBLEND_MODE_DARKEN: number; - readonly SVG_FEBLEND_MODE_DIFFERENCE: number; - readonly SVG_FEBLEND_MODE_EXCLUSION: number; - readonly SVG_FEBLEND_MODE_HARD_LIGHT: number; - readonly SVG_FEBLEND_MODE_HUE: number; - readonly SVG_FEBLEND_MODE_LIGHTEN: number; - readonly SVG_FEBLEND_MODE_LUMINOSITY: number; - readonly SVG_FEBLEND_MODE_MULTIPLY: number; - readonly SVG_FEBLEND_MODE_NORMAL: number; - readonly SVG_FEBLEND_MODE_OVERLAY: number; - readonly SVG_FEBLEND_MODE_SATURATION: number; - readonly SVG_FEBLEND_MODE_SCREEN: number; - readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number; - readonly SVG_FEBLEND_MODE_UNKNOWN: number; -}; - -interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly type: SVGAnimatedEnumeration; - readonly values: SVGAnimatedNumberList; - readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; - readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; - readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number; - readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number; - readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEColorMatrixElement: { - prototype: SVGFEColorMatrixElement; - new(): SVGFEColorMatrixElement; - readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; - readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; - readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number; - readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number; - readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; -}; - -interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - addEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEComponentTransferElement: { - prototype: SVGFEComponentTransferElement; - new(): SVGFEComponentTransferElement; -}; - -interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly in2: SVGAnimatedString; - readonly k1: SVGAnimatedNumber; - readonly k2: SVGAnimatedNumber; - readonly k3: SVGAnimatedNumber; - readonly k4: SVGAnimatedNumber; - readonly operator: SVGAnimatedEnumeration; - readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; - readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number; - readonly SVG_FECOMPOSITE_OPERATOR_IN: number; - readonly SVG_FECOMPOSITE_OPERATOR_OUT: number; - readonly SVG_FECOMPOSITE_OPERATOR_OVER: number; - readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; - readonly SVG_FECOMPOSITE_OPERATOR_XOR: number; - addEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFECompositeElement: { - prototype: SVGFECompositeElement; - new(): SVGFECompositeElement; - readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; - readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number; - readonly SVG_FECOMPOSITE_OPERATOR_IN: number; - readonly SVG_FECOMPOSITE_OPERATOR_OUT: number; - readonly SVG_FECOMPOSITE_OPERATOR_OVER: number; - readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; - readonly SVG_FECOMPOSITE_OPERATOR_XOR: number; -}; - -interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly bias: SVGAnimatedNumber; - readonly divisor: SVGAnimatedNumber; - readonly edgeMode: SVGAnimatedEnumeration; - readonly in1: SVGAnimatedString; - readonly kernelMatrix: SVGAnimatedNumberList; - readonly kernelUnitLengthX: SVGAnimatedNumber; - readonly kernelUnitLengthY: SVGAnimatedNumber; - readonly orderX: SVGAnimatedInteger; - readonly orderY: SVGAnimatedInteger; - readonly preserveAlpha: SVGAnimatedBoolean; - readonly targetX: SVGAnimatedInteger; - readonly targetY: SVGAnimatedInteger; - readonly SVG_EDGEMODE_DUPLICATE: number; - readonly SVG_EDGEMODE_NONE: number; - readonly SVG_EDGEMODE_UNKNOWN: number; - readonly SVG_EDGEMODE_WRAP: number; - addEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEConvolveMatrixElement: { - prototype: SVGFEConvolveMatrixElement; - new(): SVGFEConvolveMatrixElement; - readonly SVG_EDGEMODE_DUPLICATE: number; - readonly SVG_EDGEMODE_NONE: number; - readonly SVG_EDGEMODE_UNKNOWN: number; - readonly SVG_EDGEMODE_WRAP: number; -}; - -interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly diffuseConstant: SVGAnimatedNumber; - readonly in1: SVGAnimatedString; - readonly kernelUnitLengthX: SVGAnimatedNumber; - readonly kernelUnitLengthY: SVGAnimatedNumber; - readonly surfaceScale: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEDiffuseLightingElement: { - prototype: SVGFEDiffuseLightingElement; - new(): SVGFEDiffuseLightingElement; -}; - -interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly in2: SVGAnimatedString; - readonly scale: SVGAnimatedNumber; - readonly xChannelSelector: SVGAnimatedEnumeration; - readonly yChannelSelector: SVGAnimatedEnumeration; - readonly SVG_CHANNEL_A: number; - readonly SVG_CHANNEL_B: number; - readonly SVG_CHANNEL_G: number; - readonly SVG_CHANNEL_R: number; - readonly SVG_CHANNEL_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEDisplacementMapElement: { - prototype: SVGFEDisplacementMapElement; - new(): SVGFEDisplacementMapElement; - readonly SVG_CHANNEL_A: number; - readonly SVG_CHANNEL_B: number; - readonly SVG_CHANNEL_G: number; - readonly SVG_CHANNEL_R: number; - readonly SVG_CHANNEL_UNKNOWN: number; -}; - -interface SVGFEDistantLightElement extends SVGElement { - readonly azimuth: SVGAnimatedNumber; - readonly elevation: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEDistantLightElement: { - prototype: SVGFEDistantLightElement; - new(): SVGFEDistantLightElement; -}; - -interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - addEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEFloodElement: { - prototype: SVGFEFloodElement; - new(): SVGFEFloodElement; -}; - -interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { - addEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEFuncAElement: { - prototype: SVGFEFuncAElement; - new(): SVGFEFuncAElement; -}; - -interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { - addEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEFuncBElement: { - prototype: SVGFEFuncBElement; - new(): SVGFEFuncBElement; -}; - -interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { - addEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEFuncGElement: { - prototype: SVGFEFuncGElement; - new(): SVGFEFuncGElement; -}; - -interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { - addEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEFuncRElement: { - prototype: SVGFEFuncRElement; - new(): SVGFEFuncRElement; -}; - -interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly stdDeviationX: SVGAnimatedNumber; - readonly stdDeviationY: SVGAnimatedNumber; - setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; - addEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEGaussianBlurElement: { - prototype: SVGFEGaussianBlurElement; - new(): SVGFEGaussianBlurElement; -}; - -interface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference { - readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; - addEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEImageElement: { - prototype: SVGFEImageElement; - new(): SVGFEImageElement; -}; - -interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - addEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEMergeElement: { - prototype: SVGFEMergeElement; - new(): SVGFEMergeElement; -}; - -interface SVGFEMergeNodeElement extends SVGElement { - readonly in1: SVGAnimatedString; - addEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEMergeNodeElement: { - prototype: SVGFEMergeNodeElement; - new(): SVGFEMergeNodeElement; -}; - -interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly operator: SVGAnimatedEnumeration; - readonly radiusX: SVGAnimatedNumber; - readonly radiusY: SVGAnimatedNumber; - readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number; - readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number; - readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEMorphologyElement: { - prototype: SVGFEMorphologyElement; - new(): SVGFEMorphologyElement; - readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number; - readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number; - readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; -}; - -interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly dx: SVGAnimatedNumber; - readonly dy: SVGAnimatedNumber; - readonly in1: SVGAnimatedString; - addEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEOffsetElement: { - prototype: SVGFEOffsetElement; - new(): SVGFEOffsetElement; -}; - -interface SVGFEPointLightElement extends SVGElement { - readonly x: SVGAnimatedNumber; - readonly y: SVGAnimatedNumber; - readonly z: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFEPointLightElement: { - prototype: SVGFEPointLightElement; - new(): SVGFEPointLightElement; -}; - -interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - readonly kernelUnitLengthX: SVGAnimatedNumber; - readonly kernelUnitLengthY: SVGAnimatedNumber; - readonly specularConstant: SVGAnimatedNumber; - readonly specularExponent: SVGAnimatedNumber; - readonly surfaceScale: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFESpecularLightingElement: { - prototype: SVGFESpecularLightingElement; - new(): SVGFESpecularLightingElement; -}; - -interface SVGFESpotLightElement extends SVGElement { - readonly limitingConeAngle: SVGAnimatedNumber; - readonly pointsAtX: SVGAnimatedNumber; - readonly pointsAtY: SVGAnimatedNumber; - readonly pointsAtZ: SVGAnimatedNumber; - readonly specularExponent: SVGAnimatedNumber; - readonly x: SVGAnimatedNumber; - readonly y: SVGAnimatedNumber; - readonly z: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFESpotLightElement: { - prototype: SVGFESpotLightElement; - new(): SVGFESpotLightElement; -}; - -interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly in1: SVGAnimatedString; - addEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFETileElement: { - prototype: SVGFETileElement; - new(): SVGFETileElement; -}; - -interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { - readonly baseFrequencyX: SVGAnimatedNumber; - readonly baseFrequencyY: SVGAnimatedNumber; - readonly numOctaves: SVGAnimatedInteger; - readonly seed: SVGAnimatedNumber; - readonly stitchTiles: SVGAnimatedEnumeration; - readonly type: SVGAnimatedEnumeration; - readonly SVG_STITCHTYPE_NOSTITCH: number; - readonly SVG_STITCHTYPE_STITCH: number; - readonly SVG_STITCHTYPE_UNKNOWN: number; - readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number; - readonly SVG_TURBULENCE_TYPE_TURBULENCE: number; - readonly SVG_TURBULENCE_TYPE_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFETurbulenceElement: { - prototype: SVGFETurbulenceElement; - new(): SVGFETurbulenceElement; - readonly SVG_STITCHTYPE_NOSTITCH: number; - readonly SVG_STITCHTYPE_STITCH: number; - readonly SVG_STITCHTYPE_UNKNOWN: number; - readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number; - readonly SVG_TURBULENCE_TYPE_TURBULENCE: number; - readonly SVG_TURBULENCE_TYPE_UNKNOWN: number; -}; - -interface SVGFilterElement extends SVGElement, SVGUnitTypes, SVGURIReference { - readonly filterResX: SVGAnimatedInteger; - readonly filterResY: SVGAnimatedInteger; - readonly filterUnits: SVGAnimatedEnumeration; - readonly height: SVGAnimatedLength; - readonly primitiveUnits: SVGAnimatedEnumeration; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - setFilterRes(filterResX: number, filterResY: number): void; - addEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGFilterElement: { - prototype: SVGFilterElement; - new(): SVGFilterElement; -}; - -interface SVGForeignObjectElement extends SVGGraphicsElement { - readonly height: SVGAnimatedLength; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGForeignObjectElement: { - prototype: SVGForeignObjectElement; - new(): SVGForeignObjectElement; -}; - -interface SVGGElement extends SVGGraphicsElement { - addEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGGElement: { - prototype: SVGGElement; - new(): SVGGElement; -}; - -interface SVGGradientElement extends SVGElement, SVGUnitTypes, SVGURIReference { - readonly gradientTransform: SVGAnimatedTransformList; - readonly gradientUnits: SVGAnimatedEnumeration; - readonly spreadMethod: SVGAnimatedEnumeration; - readonly SVG_SPREADMETHOD_PAD: number; - readonly SVG_SPREADMETHOD_REFLECT: number; - readonly SVG_SPREADMETHOD_REPEAT: number; - readonly SVG_SPREADMETHOD_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGGradientElement: { - prototype: SVGGradientElement; - new(): SVGGradientElement; - readonly SVG_SPREADMETHOD_PAD: number; - readonly SVG_SPREADMETHOD_REFLECT: number; - readonly SVG_SPREADMETHOD_REPEAT: number; - readonly SVG_SPREADMETHOD_UNKNOWN: number; -}; - -interface SVGGraphicsElement extends SVGElement, SVGTests { - readonly farthestViewportElement: SVGElement; - readonly nearestViewportElement: SVGElement; - readonly transform: SVGAnimatedTransformList; - getBBox(): SVGRect; - getCTM(): SVGMatrix; - getScreenCTM(): SVGMatrix; - getTransformToElement(element: SVGElement): SVGMatrix; - addEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGGraphicsElement: { - prototype: SVGGraphicsElement; - new(): SVGGraphicsElement; -}; - -interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { - readonly height: SVGAnimatedLength; - readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGImageElement: { - prototype: SVGImageElement; - new(): SVGImageElement; -}; - -interface SVGLength { - readonly unitType: number; - value: number; - valueAsString: string; - valueInSpecifiedUnits: number; - convertToSpecifiedUnits(unitType: number): void; - newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; - readonly SVG_LENGTHTYPE_CM: number; - readonly SVG_LENGTHTYPE_EMS: number; - readonly SVG_LENGTHTYPE_EXS: number; - readonly SVG_LENGTHTYPE_IN: number; - readonly SVG_LENGTHTYPE_MM: number; - readonly SVG_LENGTHTYPE_NUMBER: number; - readonly SVG_LENGTHTYPE_PC: number; - readonly SVG_LENGTHTYPE_PERCENTAGE: number; - readonly SVG_LENGTHTYPE_PT: number; - readonly SVG_LENGTHTYPE_PX: number; - readonly SVG_LENGTHTYPE_UNKNOWN: number; -} - -declare var SVGLength: { - prototype: SVGLength; - new(): SVGLength; - readonly SVG_LENGTHTYPE_CM: number; - readonly SVG_LENGTHTYPE_EMS: number; - readonly SVG_LENGTHTYPE_EXS: number; - readonly SVG_LENGTHTYPE_IN: number; - readonly SVG_LENGTHTYPE_MM: number; - readonly SVG_LENGTHTYPE_NUMBER: number; - readonly SVG_LENGTHTYPE_PC: number; - readonly SVG_LENGTHTYPE_PERCENTAGE: number; - readonly SVG_LENGTHTYPE_PT: number; - readonly SVG_LENGTHTYPE_PX: number; - readonly SVG_LENGTHTYPE_UNKNOWN: number; -}; - -interface SVGLengthList { - readonly numberOfItems: number; - appendItem(newItem: SVGLength): SVGLength; - clear(): void; - getItem(index: number): SVGLength; - initialize(newItem: SVGLength): SVGLength; - insertItemBefore(newItem: SVGLength, index: number): SVGLength; - removeItem(index: number): SVGLength; - replaceItem(newItem: SVGLength, index: number): SVGLength; -} - -declare var SVGLengthList: { - prototype: SVGLengthList; - new(): SVGLengthList; -}; - -interface SVGLinearGradientElement extends SVGGradientElement { - readonly x1: SVGAnimatedLength; - readonly x2: SVGAnimatedLength; - readonly y1: SVGAnimatedLength; - readonly y2: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGLinearGradientElement: { - prototype: SVGLinearGradientElement; - new(): SVGLinearGradientElement; -}; - -interface SVGLineElement extends SVGGraphicsElement { - readonly x1: SVGAnimatedLength; - readonly x2: SVGAnimatedLength; - readonly y1: SVGAnimatedLength; - readonly y2: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGLineElement: { - prototype: SVGLineElement; - new(): SVGLineElement; -}; - -interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { - readonly markerHeight: SVGAnimatedLength; - readonly markerUnits: SVGAnimatedEnumeration; - readonly markerWidth: SVGAnimatedLength; - readonly orientAngle: SVGAnimatedAngle; - readonly orientType: SVGAnimatedEnumeration; - readonly refX: SVGAnimatedLength; - readonly refY: SVGAnimatedLength; - setOrientToAngle(angle: SVGAngle): void; - setOrientToAuto(): void; - readonly SVG_MARKER_ORIENT_ANGLE: number; - readonly SVG_MARKER_ORIENT_AUTO: number; - readonly SVG_MARKER_ORIENT_UNKNOWN: number; - readonly SVG_MARKERUNITS_STROKEWIDTH: number; - readonly SVG_MARKERUNITS_UNKNOWN: number; - readonly SVG_MARKERUNITS_USERSPACEONUSE: number; - addEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGMarkerElement: { - prototype: SVGMarkerElement; - new(): SVGMarkerElement; - readonly SVG_MARKER_ORIENT_ANGLE: number; - readonly SVG_MARKER_ORIENT_AUTO: number; - readonly SVG_MARKER_ORIENT_UNKNOWN: number; - readonly SVG_MARKERUNITS_STROKEWIDTH: number; - readonly SVG_MARKERUNITS_UNKNOWN: number; - readonly SVG_MARKERUNITS_USERSPACEONUSE: number; -}; - -interface SVGMaskElement extends SVGElement, SVGTests, SVGUnitTypes { - readonly height: SVGAnimatedLength; - readonly maskContentUnits: SVGAnimatedEnumeration; - readonly maskUnits: SVGAnimatedEnumeration; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGMaskElement: { - prototype: SVGMaskElement; - new(): SVGMaskElement; -}; - -interface SVGMatrix { - a: number; - b: number; - c: number; - d: number; - e: number; - f: number; - flipX(): SVGMatrix; - flipY(): SVGMatrix; - inverse(): SVGMatrix; - multiply(secondMatrix: SVGMatrix): SVGMatrix; - rotate(angle: number): SVGMatrix; - rotateFromVector(x: number, y: number): SVGMatrix; - scale(scaleFactor: number): SVGMatrix; - scaleNonUniform(scaleFactorX: number, scaleFactorY: number): SVGMatrix; - skewX(angle: number): SVGMatrix; - skewY(angle: number): SVGMatrix; - translate(x: number, y: number): SVGMatrix; -} - -declare var SVGMatrix: { - prototype: SVGMatrix; - new(): SVGMatrix; -}; - -interface SVGMetadataElement extends SVGElement { - addEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGMetadataElement: { - prototype: SVGMetadataElement; - new(): SVGMetadataElement; -}; - -interface SVGNumber { - value: number; -} - -declare var SVGNumber: { - prototype: SVGNumber; - new(): SVGNumber; -}; - -interface SVGNumberList { - readonly numberOfItems: number; - appendItem(newItem: SVGNumber): SVGNumber; - clear(): void; - getItem(index: number): SVGNumber; - initialize(newItem: SVGNumber): SVGNumber; - insertItemBefore(newItem: SVGNumber, index: number): SVGNumber; - removeItem(index: number): SVGNumber; - replaceItem(newItem: SVGNumber, index: number): SVGNumber; -} - -declare var SVGNumberList: { - prototype: SVGNumberList; - new(): SVGNumberList; -}; - -interface SVGPathElement extends SVGGraphicsElement { - readonly pathSegList: SVGPathSegList; - createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs; - createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel; - createSVGPathSegClosePath(): SVGPathSegClosePath; - createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs; - createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel; - createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs; - createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel; - createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs; - createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel; - createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs; - createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel; - createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs; - createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs; - createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel; - createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel; - createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs; - createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel; - createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs; - createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel; - getPathSegAtLength(distance: number): number; - getPointAtLength(distance: number): SVGPoint; - getTotalLength(): number; - addEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGPathElement: { - prototype: SVGPathElement; - new(): SVGPathElement; -}; - -interface SVGPathSeg { - readonly pathSegType: number; - readonly pathSegTypeAsLetter: string; - readonly PATHSEG_ARC_ABS: number; - readonly PATHSEG_ARC_REL: number; - readonly PATHSEG_CLOSEPATH: number; - readonly PATHSEG_CURVETO_CUBIC_ABS: number; - readonly PATHSEG_CURVETO_CUBIC_REL: number; - readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; - readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; - readonly PATHSEG_CURVETO_QUADRATIC_ABS: number; - readonly PATHSEG_CURVETO_QUADRATIC_REL: number; - readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; - readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; - readonly PATHSEG_LINETO_ABS: number; - readonly PATHSEG_LINETO_HORIZONTAL_ABS: number; - readonly PATHSEG_LINETO_HORIZONTAL_REL: number; - readonly PATHSEG_LINETO_REL: number; - readonly PATHSEG_LINETO_VERTICAL_ABS: number; - readonly PATHSEG_LINETO_VERTICAL_REL: number; - readonly PATHSEG_MOVETO_ABS: number; - readonly PATHSEG_MOVETO_REL: number; - readonly PATHSEG_UNKNOWN: number; -} - -declare var SVGPathSeg: { - prototype: SVGPathSeg; - new(): SVGPathSeg; - readonly PATHSEG_ARC_ABS: number; - readonly PATHSEG_ARC_REL: number; - readonly PATHSEG_CLOSEPATH: number; - readonly PATHSEG_CURVETO_CUBIC_ABS: number; - readonly PATHSEG_CURVETO_CUBIC_REL: number; - readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; - readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; - readonly PATHSEG_CURVETO_QUADRATIC_ABS: number; - readonly PATHSEG_CURVETO_QUADRATIC_REL: number; - readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; - readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; - readonly PATHSEG_LINETO_ABS: number; - readonly PATHSEG_LINETO_HORIZONTAL_ABS: number; - readonly PATHSEG_LINETO_HORIZONTAL_REL: number; - readonly PATHSEG_LINETO_REL: number; - readonly PATHSEG_LINETO_VERTICAL_ABS: number; - readonly PATHSEG_LINETO_VERTICAL_REL: number; - readonly PATHSEG_MOVETO_ABS: number; - readonly PATHSEG_MOVETO_REL: number; - readonly PATHSEG_UNKNOWN: number; -}; - -interface SVGPathSegArcAbs extends SVGPathSeg { - angle: number; - largeArcFlag: boolean; - r1: number; - r2: number; - sweepFlag: boolean; - x: number; - y: number; -} - -declare var SVGPathSegArcAbs: { - prototype: SVGPathSegArcAbs; - new(): SVGPathSegArcAbs; -}; - -interface SVGPathSegArcRel extends SVGPathSeg { - angle: number; - largeArcFlag: boolean; - r1: number; - r2: number; - sweepFlag: boolean; - x: number; - y: number; -} - -declare var SVGPathSegArcRel: { - prototype: SVGPathSegArcRel; - new(): SVGPathSegArcRel; -}; - -interface SVGPathSegClosePath extends SVGPathSeg { -} - -declare var SVGPathSegClosePath: { - prototype: SVGPathSegClosePath; - new(): SVGPathSegClosePath; -}; - -interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { - x: number; - x1: number; - x2: number; - y: number; - y1: number; - y2: number; -} - -declare var SVGPathSegCurvetoCubicAbs: { - prototype: SVGPathSegCurvetoCubicAbs; - new(): SVGPathSegCurvetoCubicAbs; -}; - -interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { - x: number; - x1: number; - x2: number; - y: number; - y1: number; - y2: number; -} - -declare var SVGPathSegCurvetoCubicRel: { - prototype: SVGPathSegCurvetoCubicRel; - new(): SVGPathSegCurvetoCubicRel; -}; - -interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { - x: number; - x2: number; - y: number; - y2: number; -} - -declare var SVGPathSegCurvetoCubicSmoothAbs: { - prototype: SVGPathSegCurvetoCubicSmoothAbs; - new(): SVGPathSegCurvetoCubicSmoothAbs; -}; - -interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { - x: number; - x2: number; - y: number; - y2: number; -} - -declare var SVGPathSegCurvetoCubicSmoothRel: { - prototype: SVGPathSegCurvetoCubicSmoothRel; - new(): SVGPathSegCurvetoCubicSmoothRel; -}; - -interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { - x: number; - x1: number; - y: number; - y1: number; -} - -declare var SVGPathSegCurvetoQuadraticAbs: { - prototype: SVGPathSegCurvetoQuadraticAbs; - new(): SVGPathSegCurvetoQuadraticAbs; -}; - -interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { - x: number; - x1: number; - y: number; - y1: number; -} - -declare var SVGPathSegCurvetoQuadraticRel: { - prototype: SVGPathSegCurvetoQuadraticRel; - new(): SVGPathSegCurvetoQuadraticRel; -}; - -interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegCurvetoQuadraticSmoothAbs: { - prototype: SVGPathSegCurvetoQuadraticSmoothAbs; - new(): SVGPathSegCurvetoQuadraticSmoothAbs; -}; - -interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegCurvetoQuadraticSmoothRel: { - prototype: SVGPathSegCurvetoQuadraticSmoothRel; - new(): SVGPathSegCurvetoQuadraticSmoothRel; -}; - -interface SVGPathSegLinetoAbs extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegLinetoAbs: { - prototype: SVGPathSegLinetoAbs; - new(): SVGPathSegLinetoAbs; -}; - -interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { - x: number; -} - -declare var SVGPathSegLinetoHorizontalAbs: { - prototype: SVGPathSegLinetoHorizontalAbs; - new(): SVGPathSegLinetoHorizontalAbs; -}; - -interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { - x: number; -} - -declare var SVGPathSegLinetoHorizontalRel: { - prototype: SVGPathSegLinetoHorizontalRel; - new(): SVGPathSegLinetoHorizontalRel; -}; - -interface SVGPathSegLinetoRel extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegLinetoRel: { - prototype: SVGPathSegLinetoRel; - new(): SVGPathSegLinetoRel; -}; - -interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { - y: number; -} - -declare var SVGPathSegLinetoVerticalAbs: { - prototype: SVGPathSegLinetoVerticalAbs; - new(): SVGPathSegLinetoVerticalAbs; -}; - -interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { - y: number; -} - -declare var SVGPathSegLinetoVerticalRel: { - prototype: SVGPathSegLinetoVerticalRel; - new(): SVGPathSegLinetoVerticalRel; -}; - -interface SVGPathSegList { - readonly numberOfItems: number; - appendItem(newItem: SVGPathSeg): SVGPathSeg; - clear(): void; - getItem(index: number): SVGPathSeg; - initialize(newItem: SVGPathSeg): SVGPathSeg; - insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg; - removeItem(index: number): SVGPathSeg; - replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg; -} - -declare var SVGPathSegList: { - prototype: SVGPathSegList; - new(): SVGPathSegList; -}; - -interface SVGPathSegMovetoAbs extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegMovetoAbs: { - prototype: SVGPathSegMovetoAbs; - new(): SVGPathSegMovetoAbs; -}; - -interface SVGPathSegMovetoRel extends SVGPathSeg { - x: number; - y: number; -} - -declare var SVGPathSegMovetoRel: { - prototype: SVGPathSegMovetoRel; - new(): SVGPathSegMovetoRel; -}; - -interface SVGPatternElement extends SVGElement, SVGTests, SVGUnitTypes, SVGFitToViewBox, SVGURIReference { - readonly height: SVGAnimatedLength; - readonly patternContentUnits: SVGAnimatedEnumeration; - readonly patternTransform: SVGAnimatedTransformList; - readonly patternUnits: SVGAnimatedEnumeration; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGPatternElement: { - prototype: SVGPatternElement; - new(): SVGPatternElement; -}; - -interface SVGPoint { - x: number; - y: number; - matrixTransform(matrix: SVGMatrix): SVGPoint; -} - -declare var SVGPoint: { - prototype: SVGPoint; - new(): SVGPoint; -}; - -interface SVGPointList { - readonly numberOfItems: number; - appendItem(newItem: SVGPoint): SVGPoint; - clear(): void; - getItem(index: number): SVGPoint; - initialize(newItem: SVGPoint): SVGPoint; - insertItemBefore(newItem: SVGPoint, index: number): SVGPoint; - removeItem(index: number): SVGPoint; - replaceItem(newItem: SVGPoint, index: number): SVGPoint; -} - -declare var SVGPointList: { - prototype: SVGPointList; - new(): SVGPointList; -}; - -interface SVGPolygonElement extends SVGGraphicsElement, SVGAnimatedPoints { - addEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGPolygonElement: { - prototype: SVGPolygonElement; - new(): SVGPolygonElement; -}; - -interface SVGPolylineElement extends SVGGraphicsElement, SVGAnimatedPoints { - addEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGPolylineElement: { - prototype: SVGPolylineElement; - new(): SVGPolylineElement; -}; - -interface SVGPreserveAspectRatio { - align: number; - meetOrSlice: number; - readonly SVG_MEETORSLICE_MEET: number; - readonly SVG_MEETORSLICE_SLICE: number; - readonly SVG_MEETORSLICE_UNKNOWN: number; - readonly SVG_PRESERVEASPECTRATIO_NONE: number; - readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number; -} - -declare var SVGPreserveAspectRatio: { - prototype: SVGPreserveAspectRatio; - new(): SVGPreserveAspectRatio; - readonly SVG_MEETORSLICE_MEET: number; - readonly SVG_MEETORSLICE_SLICE: number; - readonly SVG_MEETORSLICE_UNKNOWN: number; - readonly SVG_PRESERVEASPECTRATIO_NONE: number; - readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number; - readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number; -}; - -interface SVGRadialGradientElement extends SVGGradientElement { - readonly cx: SVGAnimatedLength; - readonly cy: SVGAnimatedLength; - readonly fx: SVGAnimatedLength; - readonly fy: SVGAnimatedLength; - readonly r: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGRadialGradientElement: { - prototype: SVGRadialGradientElement; - new(): SVGRadialGradientElement; -}; - -interface SVGRect { - height: number; - width: number; - x: number; - y: number; -} - -declare var SVGRect: { - prototype: SVGRect; - new(): SVGRect; -}; - -interface SVGRectElement extends SVGGraphicsElement { - readonly height: SVGAnimatedLength; - readonly rx: SVGAnimatedLength; - readonly ry: SVGAnimatedLength; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGRectElement: { - prototype: SVGRectElement; - new(): SVGRectElement; -}; - -interface SVGScriptElement extends SVGElement, SVGURIReference { - type: string; - addEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGScriptElement: { - prototype: SVGScriptElement; - new(): SVGScriptElement; -}; - -interface SVGStopElement extends SVGElement { - readonly offset: SVGAnimatedNumber; - addEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGStopElement: { - prototype: SVGStopElement; - new(): SVGStopElement; -}; - -interface SVGStringList { - readonly numberOfItems: number; - appendItem(newItem: string): string; - clear(): void; - getItem(index: number): string; - initialize(newItem: string): string; - insertItemBefore(newItem: string, index: number): string; - removeItem(index: number): string; - replaceItem(newItem: string, index: number): string; -} - -declare var SVGStringList: { - prototype: SVGStringList; - new(): SVGStringList; -}; - -interface SVGStyleElement extends SVGElement { - disabled: boolean; - media: string; - title: string; - type: string; - addEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGStyleElement: { - prototype: SVGStyleElement; - new(): SVGStyleElement; -}; - -interface SVGSVGElementEventMap extends SVGElementEventMap { - "SVGAbort": Event; - "SVGError": Event; - "resize": UIEvent; - "scroll": UIEvent; - "SVGUnload": Event; - "SVGZoom": SVGZoomEvent; -} - -interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan { - contentScriptType: string; - contentStyleType: string; - currentScale: number; - readonly currentTranslate: SVGPoint; - readonly height: SVGAnimatedLength; - onabort: (this: SVGSVGElement, ev: Event) => any; - onerror: (this: SVGSVGElement, ev: Event) => any; - onresize: (this: SVGSVGElement, ev: UIEvent) => any; - onscroll: (this: SVGSVGElement, ev: UIEvent) => any; - onunload: (this: SVGSVGElement, ev: Event) => any; - onzoom: (this: SVGSVGElement, ev: SVGZoomEvent) => any; - readonly pixelUnitToMillimeterX: number; - readonly pixelUnitToMillimeterY: number; - readonly screenPixelToMillimeterX: number; - readonly screenPixelToMillimeterY: number; - readonly viewport: SVGRect; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - checkEnclosure(element: SVGElement, rect: SVGRect): boolean; - checkIntersection(element: SVGElement, rect: SVGRect): boolean; - createSVGAngle(): SVGAngle; - createSVGLength(): SVGLength; - createSVGMatrix(): SVGMatrix; - createSVGNumber(): SVGNumber; - createSVGPoint(): SVGPoint; - createSVGRect(): SVGRect; - createSVGTransform(): SVGTransform; - createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; - deselectAll(): void; - forceRedraw(): void; - getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; - getCurrentTime(): number; - getElementById(elementId: string): Element; - getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf; - getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf; - pauseAnimations(): void; - setCurrentTime(seconds: number): void; - suspendRedraw(maxWaitMilliseconds: number): number; - unpauseAnimations(): void; - unsuspendRedraw(suspendHandleID: number): void; - unsuspendRedrawAll(): void; - addEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGSVGElement: { - prototype: SVGSVGElement; - new(): SVGSVGElement; -}; - -interface SVGSwitchElement extends SVGGraphicsElement { - addEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGSwitchElement: { - prototype: SVGSwitchElement; - new(): SVGSwitchElement; -}; - -interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { - addEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGSymbolElement: { - prototype: SVGSymbolElement; - new(): SVGSymbolElement; -}; - -interface SVGTextContentElement extends SVGGraphicsElement { - readonly lengthAdjust: SVGAnimatedEnumeration; - readonly textLength: SVGAnimatedLength; - getCharNumAtPosition(point: SVGPoint): number; - getComputedTextLength(): number; - getEndPositionOfChar(charnum: number): SVGPoint; - getExtentOfChar(charnum: number): SVGRect; - getNumberOfChars(): number; - getRotationOfChar(charnum: number): number; - getStartPositionOfChar(charnum: number): SVGPoint; - getSubStringLength(charnum: number, nchars: number): number; - selectSubString(charnum: number, nchars: number): void; - readonly LENGTHADJUST_SPACING: number; - readonly LENGTHADJUST_SPACINGANDGLYPHS: number; - readonly LENGTHADJUST_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTextContentElement: { - prototype: SVGTextContentElement; - new(): SVGTextContentElement; - readonly LENGTHADJUST_SPACING: number; - readonly LENGTHADJUST_SPACINGANDGLYPHS: number; - readonly LENGTHADJUST_UNKNOWN: number; -}; - -interface SVGTextElement extends SVGTextPositioningElement { - addEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTextElement: { - prototype: SVGTextElement; - new(): SVGTextElement; -}; - -interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { - readonly method: SVGAnimatedEnumeration; - readonly spacing: SVGAnimatedEnumeration; - readonly startOffset: SVGAnimatedLength; - readonly TEXTPATH_METHODTYPE_ALIGN: number; - readonly TEXTPATH_METHODTYPE_STRETCH: number; - readonly TEXTPATH_METHODTYPE_UNKNOWN: number; - readonly TEXTPATH_SPACINGTYPE_AUTO: number; - readonly TEXTPATH_SPACINGTYPE_EXACT: number; - readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number; - addEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTextPathElement: { - prototype: SVGTextPathElement; - new(): SVGTextPathElement; - readonly TEXTPATH_METHODTYPE_ALIGN: number; - readonly TEXTPATH_METHODTYPE_STRETCH: number; - readonly TEXTPATH_METHODTYPE_UNKNOWN: number; - readonly TEXTPATH_SPACINGTYPE_AUTO: number; - readonly TEXTPATH_SPACINGTYPE_EXACT: number; - readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number; -}; - -interface SVGTextPositioningElement extends SVGTextContentElement { - readonly dx: SVGAnimatedLengthList; - readonly dy: SVGAnimatedLengthList; - readonly rotate: SVGAnimatedNumberList; - readonly x: SVGAnimatedLengthList; - readonly y: SVGAnimatedLengthList; - addEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTextPositioningElement: { - prototype: SVGTextPositioningElement; - new(): SVGTextPositioningElement; -}; - -interface SVGTitleElement extends SVGElement { - addEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTitleElement: { - prototype: SVGTitleElement; - new(): SVGTitleElement; -}; - -interface SVGTransform { - readonly angle: number; - readonly matrix: SVGMatrix; - readonly type: number; - setMatrix(matrix: SVGMatrix): void; - setRotate(angle: number, cx: number, cy: number): void; - setScale(sx: number, sy: number): void; - setSkewX(angle: number): void; - setSkewY(angle: number): void; - setTranslate(tx: number, ty: number): void; - readonly SVG_TRANSFORM_MATRIX: number; - readonly SVG_TRANSFORM_ROTATE: number; - readonly SVG_TRANSFORM_SCALE: number; - readonly SVG_TRANSFORM_SKEWX: number; - readonly SVG_TRANSFORM_SKEWY: number; - readonly SVG_TRANSFORM_TRANSLATE: number; - readonly SVG_TRANSFORM_UNKNOWN: number; -} - -declare var SVGTransform: { - prototype: SVGTransform; - new(): SVGTransform; - readonly SVG_TRANSFORM_MATRIX: number; - readonly SVG_TRANSFORM_ROTATE: number; - readonly SVG_TRANSFORM_SCALE: number; - readonly SVG_TRANSFORM_SKEWX: number; - readonly SVG_TRANSFORM_SKEWY: number; - readonly SVG_TRANSFORM_TRANSLATE: number; - readonly SVG_TRANSFORM_UNKNOWN: number; -}; - -interface SVGTransformList { - readonly numberOfItems: number; - appendItem(newItem: SVGTransform): SVGTransform; - clear(): void; - consolidate(): SVGTransform; - createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; - getItem(index: number): SVGTransform; - initialize(newItem: SVGTransform): SVGTransform; - insertItemBefore(newItem: SVGTransform, index: number): SVGTransform; - removeItem(index: number): SVGTransform; - replaceItem(newItem: SVGTransform, index: number): SVGTransform; -} - -declare var SVGTransformList: { - prototype: SVGTransformList; - new(): SVGTransformList; -}; - -interface SVGTSpanElement extends SVGTextPositioningElement { - addEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGTSpanElement: { - prototype: SVGTSpanElement; - new(): SVGTSpanElement; -}; - -interface SVGUnitTypes { - readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number; - readonly SVG_UNIT_TYPE_UNKNOWN: number; - readonly SVG_UNIT_TYPE_USERSPACEONUSE: number; -} -declare var SVGUnitTypes: SVGUnitTypes; - -interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { - readonly animatedInstanceRoot: SVGElementInstance; - readonly height: SVGAnimatedLength; - readonly instanceRoot: SVGElementInstance; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; - addEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGUseElement: { - prototype: SVGUseElement; - new(): SVGUseElement; -}; - -interface SVGViewElement extends SVGElement, SVGZoomAndPan, SVGFitToViewBox { - readonly viewTarget: SVGStringList; - addEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var SVGViewElement: { - prototype: SVGViewElement; - new(): SVGViewElement; -}; - -interface SVGZoomAndPan { - readonly zoomAndPan: number; -} - -declare var SVGZoomAndPan: { - readonly SVG_ZOOMANDPAN_DISABLE: number; - readonly SVG_ZOOMANDPAN_MAGNIFY: number; - readonly SVG_ZOOMANDPAN_UNKNOWN: number; -}; - -interface SVGZoomEvent extends UIEvent { - readonly newScale: number; - readonly newTranslate: SVGPoint; - readonly previousScale: number; - readonly previousTranslate: SVGPoint; - readonly zoomRectScreen: SVGRect; -} - -declare var SVGZoomEvent: { - prototype: SVGZoomEvent; - new(): SVGZoomEvent; -}; - -interface SyncManager { - getTags(): Promise; - register(tag: string): Promise; -} - -declare var SyncManager: { - prototype: SyncManager; - new(): SyncManager; -}; - -interface Text extends CharacterData { - readonly wholeText: string; - readonly assignedSlot: HTMLSlotElement | null; - splitText(offset: number): Text; -} - -declare var Text: { - prototype: Text; - new(data?: string): Text; -}; - -interface TextEvent extends UIEvent { - readonly data: string; - readonly inputMethod: number; - readonly locale: string; - initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void; - readonly DOM_INPUT_METHOD_DROP: number; - readonly DOM_INPUT_METHOD_HANDWRITING: number; - readonly DOM_INPUT_METHOD_IME: number; - readonly DOM_INPUT_METHOD_KEYBOARD: number; - readonly DOM_INPUT_METHOD_MULTIMODAL: number; - readonly DOM_INPUT_METHOD_OPTION: number; - readonly DOM_INPUT_METHOD_PASTE: number; - readonly DOM_INPUT_METHOD_SCRIPT: number; - readonly DOM_INPUT_METHOD_UNKNOWN: number; - readonly DOM_INPUT_METHOD_VOICE: number; -} - -declare var TextEvent: { - prototype: TextEvent; - new(): TextEvent; - readonly DOM_INPUT_METHOD_DROP: number; - readonly DOM_INPUT_METHOD_HANDWRITING: number; - readonly DOM_INPUT_METHOD_IME: number; - readonly DOM_INPUT_METHOD_KEYBOARD: number; - readonly DOM_INPUT_METHOD_MULTIMODAL: number; - readonly DOM_INPUT_METHOD_OPTION: number; - readonly DOM_INPUT_METHOD_PASTE: number; - readonly DOM_INPUT_METHOD_SCRIPT: number; - readonly DOM_INPUT_METHOD_UNKNOWN: number; - readonly DOM_INPUT_METHOD_VOICE: number; -}; - -interface TextMetrics { - readonly width: number; -} - -declare var TextMetrics: { - prototype: TextMetrics; - new(): TextMetrics; -}; - -interface TextTrackEventMap { - "cuechange": Event; - "error": Event; - "load": Event; -} - -interface TextTrack extends EventTarget { - readonly activeCues: TextTrackCueList; - readonly cues: TextTrackCueList; - readonly inBandMetadataTrackDispatchType: string; - readonly kind: string; - readonly label: string; - readonly language: string; - mode: any; - oncuechange: (this: TextTrack, ev: Event) => any; - onerror: (this: TextTrack, ev: Event) => any; - onload: (this: TextTrack, ev: Event) => any; - readonly readyState: number; - addCue(cue: TextTrackCue): void; - removeCue(cue: TextTrackCue): void; - readonly DISABLED: number; - readonly ERROR: number; - readonly HIDDEN: number; - readonly LOADED: number; - readonly LOADING: number; - readonly NONE: number; - readonly SHOWING: number; - addEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var TextTrack: { - prototype: TextTrack; - new(): TextTrack; - readonly DISABLED: number; - readonly ERROR: number; - readonly HIDDEN: number; - readonly LOADED: number; - readonly LOADING: number; - readonly NONE: number; - readonly SHOWING: number; -}; - -interface TextTrackCueEventMap { - "enter": Event; - "exit": Event; -} - -interface TextTrackCue extends EventTarget { - endTime: number; - id: string; - onenter: (this: TextTrackCue, ev: Event) => any; - onexit: (this: TextTrackCue, ev: Event) => any; - pauseOnExit: boolean; - startTime: number; - text: string; - readonly track: TextTrack; - getCueAsHTML(): DocumentFragment; - addEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var TextTrackCue: { - prototype: TextTrackCue; - new(startTime: number, endTime: number, text: string): TextTrackCue; -}; - -interface TextTrackCueList { - readonly length: number; - getCueById(id: string): TextTrackCue; - item(index: number): TextTrackCue; - [index: number]: TextTrackCue; -} - -declare var TextTrackCueList: { - prototype: TextTrackCueList; - new(): TextTrackCueList; -}; - -interface TextTrackListEventMap { - "addtrack": TrackEvent; -} - -interface TextTrackList extends EventTarget { - readonly length: number; - onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; - item(index: number): TextTrack; - addEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - [index: number]: TextTrack; -} - -declare var TextTrackList: { - prototype: TextTrackList; - new(): TextTrackList; -}; - -interface TimeRanges { - readonly length: number; - end(index: number): number; - start(index: number): number; -} - -declare var TimeRanges: { - prototype: TimeRanges; - new(): TimeRanges; -}; - -interface Touch { - readonly clientX: number; - readonly clientY: number; - readonly identifier: number; - readonly pageX: number; - readonly pageY: number; - readonly screenX: number; - readonly screenY: number; - readonly target: EventTarget; -} - -declare var Touch: { - prototype: Touch; - new(): Touch; -}; - -interface TouchEvent extends UIEvent { - readonly altKey: boolean; - readonly changedTouches: TouchList; - readonly charCode: number; - readonly ctrlKey: boolean; - readonly keyCode: number; - readonly metaKey: boolean; - readonly shiftKey: boolean; - readonly targetTouches: TouchList; - readonly touches: TouchList; - readonly which: number; -} - -declare var TouchEvent: { - prototype: TouchEvent; - new(type: string, touchEventInit?: TouchEventInit): TouchEvent; -}; - -interface TouchList { - readonly length: number; - item(index: number): Touch | null; - [index: number]: Touch; -} - -declare var TouchList: { - prototype: TouchList; - new(): TouchList; -}; - -interface TrackEvent extends Event { - readonly track: VideoTrack | AudioTrack | TextTrack | null; -} - -declare var TrackEvent: { - prototype: TrackEvent; - new(typeArg: string, eventInitDict?: TrackEventInit): TrackEvent; -}; - -interface TransitionEvent extends Event { - readonly elapsedTime: number; - readonly propertyName: string; - initTransitionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, propertyNameArg: string, elapsedTimeArg: number): void; -} - -declare var TransitionEvent: { - prototype: TransitionEvent; - new(typeArg: string, eventInitDict?: TransitionEventInit): TransitionEvent; -}; - -interface TreeWalker { - currentNode: Node; - readonly expandEntityReferences: boolean; - readonly filter: NodeFilter; - readonly root: Node; - readonly whatToShow: number; - firstChild(): Node; - lastChild(): Node; - nextNode(): Node; - nextSibling(): Node; - parentNode(): Node; - previousNode(): Node; - previousSibling(): Node; -} - -declare var TreeWalker: { - prototype: TreeWalker; - new(): TreeWalker; -}; - -interface UIEvent extends Event { - readonly detail: number; - readonly view: Window; - initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void; -} - -declare var UIEvent: { - prototype: UIEvent; - new(typeArg: string, eventInitDict?: UIEventInit): UIEvent; -}; - -interface UnviewableContentIdentifiedEvent extends NavigationEventWithReferrer { - readonly mediaType: string; -} - -declare var UnviewableContentIdentifiedEvent: { - prototype: UnviewableContentIdentifiedEvent; - new(): UnviewableContentIdentifiedEvent; -}; - -interface URL { - hash: string; - host: string; - hostname: string; - href: string; - readonly origin: string; - password: string; - pathname: string; - port: string; - protocol: string; - search: string; - username: string; - readonly searchParams: URLSearchParams; - toString(): string; -} - -declare var URL: { - prototype: URL; - new(url: string, base?: string | URL): URL; - createObjectURL(object: any, options?: ObjectURLOptions): string; - revokeObjectURL(url: string): void; -}; - -interface ValidityState { - readonly badInput: boolean; - readonly customError: boolean; - readonly patternMismatch: boolean; - readonly rangeOverflow: boolean; - readonly rangeUnderflow: boolean; - readonly stepMismatch: boolean; - readonly tooLong: boolean; - readonly typeMismatch: boolean; - readonly valid: boolean; - readonly valueMissing: boolean; - readonly tooShort: boolean; -} - -declare var ValidityState: { - prototype: ValidityState; - new(): ValidityState; -}; - -interface VideoPlaybackQuality { - readonly corruptedVideoFrames: number; - readonly creationTime: number; - readonly droppedVideoFrames: number; - readonly totalFrameDelay: number; - readonly totalVideoFrames: number; -} - -declare var VideoPlaybackQuality: { - prototype: VideoPlaybackQuality; - new(): VideoPlaybackQuality; -}; - -interface VideoTrack { - readonly id: string; - kind: string; - readonly label: string; - language: string; - selected: boolean; - readonly sourceBuffer: SourceBuffer; -} - -declare var VideoTrack: { - prototype: VideoTrack; - new(): VideoTrack; -}; - -interface VideoTrackListEventMap { - "addtrack": TrackEvent; - "change": Event; - "removetrack": TrackEvent; -} - -interface VideoTrackList extends EventTarget { - readonly length: number; - onaddtrack: (this: VideoTrackList, ev: TrackEvent) => any; - onchange: (this: VideoTrackList, ev: Event) => any; - onremovetrack: (this: VideoTrackList, ev: TrackEvent) => any; - readonly selectedIndex: number; - getTrackById(id: string): VideoTrack | null; - item(index: number): VideoTrack; - addEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - [index: number]: VideoTrack; -} - -declare var VideoTrackList: { - prototype: VideoTrackList; - new(): VideoTrackList; -}; - -interface WaveShaperNode extends AudioNode { - curve: Float32Array | null; - oversample: OverSampleType; -} - -declare var WaveShaperNode: { - prototype: WaveShaperNode; - new(): WaveShaperNode; -}; - -interface WebAuthentication { - getAssertion(assertionChallenge: BufferSource, options?: AssertionOptions): Promise; - makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: BufferSource, options?: ScopedCredentialOptions): Promise; -} - -declare var WebAuthentication: { - prototype: WebAuthentication; - new(): WebAuthentication; -}; - -interface WebAuthnAssertion { - readonly authenticatorData: ArrayBuffer; - readonly clientData: ArrayBuffer; - readonly credential: ScopedCredential; - readonly signature: ArrayBuffer; -} - -declare var WebAuthnAssertion: { - prototype: WebAuthnAssertion; - new(): WebAuthnAssertion; -}; - -interface WEBGL_compressed_texture_s3tc { - readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number; -} - -declare var WEBGL_compressed_texture_s3tc: { - prototype: WEBGL_compressed_texture_s3tc; - new(): WEBGL_compressed_texture_s3tc; - readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number; - readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number; -}; - -interface WEBGL_debug_renderer_info { - readonly UNMASKED_RENDERER_WEBGL: number; - readonly UNMASKED_VENDOR_WEBGL: number; -} - -declare var WEBGL_debug_renderer_info: { - prototype: WEBGL_debug_renderer_info; - new(): WEBGL_debug_renderer_info; - readonly UNMASKED_RENDERER_WEBGL: number; - readonly UNMASKED_VENDOR_WEBGL: number; -}; - -interface WEBGL_depth_texture { - readonly UNSIGNED_INT_24_8_WEBGL: number; -} - -declare var WEBGL_depth_texture: { - prototype: WEBGL_depth_texture; - new(): WEBGL_depth_texture; - readonly UNSIGNED_INT_24_8_WEBGL: number; -}; - -interface WebGLActiveInfo { - readonly name: string; - readonly size: number; - readonly type: number; -} - -declare var WebGLActiveInfo: { - prototype: WebGLActiveInfo; - new(): WebGLActiveInfo; -}; - -interface WebGLBuffer extends WebGLObject { -} - -declare var WebGLBuffer: { - prototype: WebGLBuffer; - new(): WebGLBuffer; -}; - -interface WebGLContextEvent extends Event { - readonly statusMessage: string; -} - -declare var WebGLContextEvent: { - prototype: WebGLContextEvent; - new(typeArg: string, eventInitDict?: WebGLContextEventInit): WebGLContextEvent; -}; - -interface WebGLFramebuffer extends WebGLObject { -} - -declare var WebGLFramebuffer: { - prototype: WebGLFramebuffer; - new(): WebGLFramebuffer; -}; - -interface WebGLObject { -} - -declare var WebGLObject: { - prototype: WebGLObject; - new(): WebGLObject; -}; - -interface WebGLProgram extends WebGLObject { -} - -declare var WebGLProgram: { - prototype: WebGLProgram; - new(): WebGLProgram; -}; - -interface WebGLRenderbuffer extends WebGLObject { -} - -declare var WebGLRenderbuffer: { - prototype: WebGLRenderbuffer; - new(): WebGLRenderbuffer; -}; - -interface WebGLRenderingContext { - readonly canvas: HTMLCanvasElement; - readonly drawingBufferHeight: number; - readonly drawingBufferWidth: number; - activeTexture(texture: number): void; - attachShader(program: WebGLProgram | null, shader: WebGLShader | null): void; - bindAttribLocation(program: WebGLProgram | null, index: number, name: string): void; - bindBuffer(target: number, buffer: WebGLBuffer | null): void; - bindFramebuffer(target: number, framebuffer: WebGLFramebuffer | null): void; - bindRenderbuffer(target: number, renderbuffer: WebGLRenderbuffer | null): void; - bindTexture(target: number, texture: WebGLTexture | null): void; - blendColor(red: number, green: number, blue: number, alpha: number): void; - blendEquation(mode: number): void; - blendEquationSeparate(modeRGB: number, modeAlpha: number): void; - blendFunc(sfactor: number, dfactor: number): void; - blendFuncSeparate(srcRGB: number, dstRGB: number, srcAlpha: number, dstAlpha: number): void; - bufferData(target: number, size: number | ArrayBufferView | ArrayBuffer, usage: number): void; - bufferSubData(target: number, offset: number, data: ArrayBufferView | ArrayBuffer): void; - checkFramebufferStatus(target: number): number; - clear(mask: number): void; - clearColor(red: number, green: number, blue: number, alpha: number): void; - clearDepth(depth: number): void; - clearStencil(s: number): void; - colorMask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void; - compileShader(shader: WebGLShader | null): void; - compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void; - compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void; - copyTexImage2D(target: number, level: number, internalformat: number, x: number, y: number, width: number, height: number, border: number): void; - copyTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, x: number, y: number, width: number, height: number): void; - createBuffer(): WebGLBuffer | null; - createFramebuffer(): WebGLFramebuffer | null; - createProgram(): WebGLProgram | null; - createRenderbuffer(): WebGLRenderbuffer | null; - createShader(type: number): WebGLShader | null; - createTexture(): WebGLTexture | null; - cullFace(mode: number): void; - deleteBuffer(buffer: WebGLBuffer | null): void; - deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void; - deleteProgram(program: WebGLProgram | null): void; - deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void; - deleteShader(shader: WebGLShader | null): void; - deleteTexture(texture: WebGLTexture | null): void; - depthFunc(func: number): void; - depthMask(flag: boolean): void; - depthRange(zNear: number, zFar: number): void; - detachShader(program: WebGLProgram | null, shader: WebGLShader | null): void; - disable(cap: number): void; - disableVertexAttribArray(index: number): void; - drawArrays(mode: number, first: number, count: number): void; - drawElements(mode: number, count: number, type: number, offset: number): void; - enable(cap: number): void; - enableVertexAttribArray(index: number): void; - finish(): void; - flush(): void; - framebufferRenderbuffer(target: number, attachment: number, renderbuffertarget: number, renderbuffer: WebGLRenderbuffer | null): void; - framebufferTexture2D(target: number, attachment: number, textarget: number, texture: WebGLTexture | null, level: number): void; - frontFace(mode: number): void; - generateMipmap(target: number): void; - getActiveAttrib(program: WebGLProgram | null, index: number): WebGLActiveInfo | null; - getActiveUniform(program: WebGLProgram | null, index: number): WebGLActiveInfo | null; - getAttachedShaders(program: WebGLProgram | null): WebGLShader[] | null; - getAttribLocation(program: WebGLProgram | null, name: string): number; - getBufferParameter(target: number, pname: number): any; - getContextAttributes(): WebGLContextAttributes; - getError(): number; - getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null; - getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null; - getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null; - getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null; - getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null; - getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null; - getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null; - getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null; - getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null; - getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null; - getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null; - getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null; - getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null; - getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null; - getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null; - getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null; - getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null; - getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null; - getExtension(extensionName: "OES_texture_float"): OES_texture_float | null; - getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null; - getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null; - getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null; - getExtension(extensionName: string): any; - getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any; - getParameter(pname: number): any; - getProgramInfoLog(program: WebGLProgram | null): string | null; - getProgramParameter(program: WebGLProgram | null, pname: number): any; - getRenderbufferParameter(target: number, pname: number): any; - getShaderInfoLog(shader: WebGLShader | null): string | null; - getShaderParameter(shader: WebGLShader | null, pname: number): any; - getShaderPrecisionFormat(shadertype: number, precisiontype: number): WebGLShaderPrecisionFormat | null; - getShaderSource(shader: WebGLShader | null): string | null; - getSupportedExtensions(): string[] | null; - getTexParameter(target: number, pname: number): any; - getUniform(program: WebGLProgram | null, location: WebGLUniformLocation | null): any; - getUniformLocation(program: WebGLProgram | null, name: string): WebGLUniformLocation | null; - getVertexAttrib(index: number, pname: number): any; - getVertexAttribOffset(index: number, pname: number): number; - hint(target: number, mode: number): void; - isBuffer(buffer: WebGLBuffer | null): boolean; - isContextLost(): boolean; - isEnabled(cap: number): boolean; - isFramebuffer(framebuffer: WebGLFramebuffer | null): boolean; - isProgram(program: WebGLProgram | null): boolean; - isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): boolean; - isShader(shader: WebGLShader | null): boolean; - isTexture(texture: WebGLTexture | null): boolean; - lineWidth(width: number): void; - linkProgram(program: WebGLProgram | null): void; - pixelStorei(pname: number, param: number | boolean): void; - polygonOffset(factor: number, units: number): void; - readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void; - renderbufferStorage(target: number, internalformat: number, width: number, height: number): void; - sampleCoverage(value: number, invert: boolean): void; - scissor(x: number, y: number, width: number, height: number): void; - shaderSource(shader: WebGLShader | null, source: string): void; - stencilFunc(func: number, ref: number, mask: number): void; - stencilFuncSeparate(face: number, func: number, ref: number, mask: number): void; - stencilMask(mask: number): void; - stencilMaskSeparate(face: number, mask: number): void; - stencilOp(fail: number, zfail: number, zpass: number): void; - stencilOpSeparate(face: number, fail: number, zfail: number, zpass: number): void; - texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void; - texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void; - texParameterf(target: number, pname: number, param: number): void; - texParameteri(target: number, pname: number, param: number): void; - texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void; - texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void; - uniform1f(location: WebGLUniformLocation | null, x: number): void; - uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; - uniform1i(location: WebGLUniformLocation | null, x: number): void; - uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; - uniform2f(location: WebGLUniformLocation | null, x: number, y: number): void; - uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; - uniform2i(location: WebGLUniformLocation | null, x: number, y: number): void; - uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; - uniform3f(location: WebGLUniformLocation | null, x: number, y: number, z: number): void; - uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; - uniform3i(location: WebGLUniformLocation | null, x: number, y: number, z: number): void; - uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; - uniform4f(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void; - uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; - uniform4i(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void; - uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; - uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; - uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; - uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; - useProgram(program: WebGLProgram | null): void; - validateProgram(program: WebGLProgram | null): void; - vertexAttrib1f(indx: number, x: number): void; - vertexAttrib1fv(indx: number, values: Float32Array | number[]): void; - vertexAttrib2f(indx: number, x: number, y: number): void; - vertexAttrib2fv(indx: number, values: Float32Array | number[]): void; - vertexAttrib3f(indx: number, x: number, y: number, z: number): void; - vertexAttrib3fv(indx: number, values: Float32Array | number[]): void; - vertexAttrib4f(indx: number, x: number, y: number, z: number, w: number): void; - vertexAttrib4fv(indx: number, values: Float32Array | number[]): void; - vertexAttribPointer(indx: number, size: number, type: number, normalized: boolean, stride: number, offset: number): void; - viewport(x: number, y: number, width: number, height: number): void; - readonly ACTIVE_ATTRIBUTES: number; - readonly ACTIVE_TEXTURE: number; - readonly ACTIVE_UNIFORMS: number; - readonly ALIASED_LINE_WIDTH_RANGE: number; - readonly ALIASED_POINT_SIZE_RANGE: number; - readonly ALPHA: number; - readonly ALPHA_BITS: number; - readonly ALWAYS: number; - readonly ARRAY_BUFFER: number; - readonly ARRAY_BUFFER_BINDING: number; - readonly ATTACHED_SHADERS: number; - readonly BACK: number; - readonly BLEND: number; - readonly BLEND_COLOR: number; - readonly BLEND_DST_ALPHA: number; - readonly BLEND_DST_RGB: number; - readonly BLEND_EQUATION: number; - readonly BLEND_EQUATION_ALPHA: number; - readonly BLEND_EQUATION_RGB: number; - readonly BLEND_SRC_ALPHA: number; - readonly BLEND_SRC_RGB: number; - readonly BLUE_BITS: number; - readonly BOOL: number; - readonly BOOL_VEC2: number; - readonly BOOL_VEC3: number; - readonly BOOL_VEC4: number; - readonly BROWSER_DEFAULT_WEBGL: number; - readonly BUFFER_SIZE: number; - readonly BUFFER_USAGE: number; - readonly BYTE: number; - readonly CCW: number; - readonly CLAMP_TO_EDGE: number; - readonly COLOR_ATTACHMENT0: number; - readonly COLOR_BUFFER_BIT: number; - readonly COLOR_CLEAR_VALUE: number; - readonly COLOR_WRITEMASK: number; - readonly COMPILE_STATUS: number; - readonly COMPRESSED_TEXTURE_FORMATS: number; - readonly CONSTANT_ALPHA: number; - readonly CONSTANT_COLOR: number; - readonly CONTEXT_LOST_WEBGL: number; - readonly CULL_FACE: number; - readonly CULL_FACE_MODE: number; - readonly CURRENT_PROGRAM: number; - readonly CURRENT_VERTEX_ATTRIB: number; - readonly CW: number; - readonly DECR: number; - readonly DECR_WRAP: number; - readonly DELETE_STATUS: number; - readonly DEPTH_ATTACHMENT: number; - readonly DEPTH_BITS: number; - readonly DEPTH_BUFFER_BIT: number; - readonly DEPTH_CLEAR_VALUE: number; - readonly DEPTH_COMPONENT: number; - readonly DEPTH_COMPONENT16: number; - readonly DEPTH_FUNC: number; - readonly DEPTH_RANGE: number; - readonly DEPTH_STENCIL: number; - readonly DEPTH_STENCIL_ATTACHMENT: number; - readonly DEPTH_TEST: number; - readonly DEPTH_WRITEMASK: number; - readonly DITHER: number; - readonly DONT_CARE: number; - readonly DST_ALPHA: number; - readonly DST_COLOR: number; - readonly DYNAMIC_DRAW: number; - readonly ELEMENT_ARRAY_BUFFER: number; - readonly ELEMENT_ARRAY_BUFFER_BINDING: number; - readonly EQUAL: number; - readonly FASTEST: number; - readonly FLOAT: number; - readonly FLOAT_MAT2: number; - readonly FLOAT_MAT3: number; - readonly FLOAT_MAT4: number; - readonly FLOAT_VEC2: number; - readonly FLOAT_VEC3: number; - readonly FLOAT_VEC4: number; - readonly FRAGMENT_SHADER: number; - readonly FRAMEBUFFER: number; - readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number; - readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number; - readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number; - readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number; - readonly FRAMEBUFFER_BINDING: number; - readonly FRAMEBUFFER_COMPLETE: number; - readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number; - readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number; - readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number; - readonly FRAMEBUFFER_UNSUPPORTED: number; - readonly FRONT: number; - readonly FRONT_AND_BACK: number; - readonly FRONT_FACE: number; - readonly FUNC_ADD: number; - readonly FUNC_REVERSE_SUBTRACT: number; - readonly FUNC_SUBTRACT: number; - readonly GENERATE_MIPMAP_HINT: number; - readonly GEQUAL: number; - readonly GREATER: number; - readonly GREEN_BITS: number; - readonly HIGH_FLOAT: number; - readonly HIGH_INT: number; - readonly IMPLEMENTATION_COLOR_READ_FORMAT: number; - readonly IMPLEMENTATION_COLOR_READ_TYPE: number; - readonly INCR: number; - readonly INCR_WRAP: number; - readonly INT: number; - readonly INT_VEC2: number; - readonly INT_VEC3: number; - readonly INT_VEC4: number; - readonly INVALID_ENUM: number; - readonly INVALID_FRAMEBUFFER_OPERATION: number; - readonly INVALID_OPERATION: number; - readonly INVALID_VALUE: number; - readonly INVERT: number; - readonly KEEP: number; - readonly LEQUAL: number; - readonly LESS: number; - readonly LINE_LOOP: number; - readonly LINE_STRIP: number; - readonly LINE_WIDTH: number; - readonly LINEAR: number; - readonly LINEAR_MIPMAP_LINEAR: number; - readonly LINEAR_MIPMAP_NEAREST: number; - readonly LINES: number; - readonly LINK_STATUS: number; - readonly LOW_FLOAT: number; - readonly LOW_INT: number; - readonly LUMINANCE: number; - readonly LUMINANCE_ALPHA: number; - readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number; - readonly MAX_CUBE_MAP_TEXTURE_SIZE: number; - readonly MAX_FRAGMENT_UNIFORM_VECTORS: number; - readonly MAX_RENDERBUFFER_SIZE: number; - readonly MAX_TEXTURE_IMAGE_UNITS: number; - readonly MAX_TEXTURE_SIZE: number; - readonly MAX_VARYING_VECTORS: number; - readonly MAX_VERTEX_ATTRIBS: number; - readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number; - readonly MAX_VERTEX_UNIFORM_VECTORS: number; - readonly MAX_VIEWPORT_DIMS: number; - readonly MEDIUM_FLOAT: number; - readonly MEDIUM_INT: number; - readonly MIRRORED_REPEAT: number; - readonly NEAREST: number; - readonly NEAREST_MIPMAP_LINEAR: number; - readonly NEAREST_MIPMAP_NEAREST: number; - readonly NEVER: number; - readonly NICEST: number; - readonly NO_ERROR: number; +declare var ClipboardEvent: { + prototype: ClipboardEvent; + new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; +}; + +interface ClipboardEventInit extends EventInit { + data?: string; + dataType?: string; +} + +interface CloseEvent extends Event { + readonly code: number; + readonly reason: string; + readonly wasClean: boolean; + /** @deprecated */ + initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void; +} + +declare var CloseEvent: { + prototype: CloseEvent; + new(type: string, eventInitDict?: CloseEventInit): CloseEvent; +}; + +interface Comment extends CharacterData { + text: string; +} + +declare var Comment: { + prototype: Comment; + new(data?: string): Comment; +}; + +interface CompositionEvent extends UIEvent { + readonly data: string; + readonly locale: string; + initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void; +} + +declare var CompositionEvent: { + prototype: CompositionEvent; + new(typeArg: string, eventInitDict?: CompositionEventInit): CompositionEvent; +}; + +interface ComputedTimingProperties { + activeDuration: number; + currentIteration: number | null; + endTime: number; + localTime: number | null; + progress: number | null; +} + +interface ConcatParams extends Algorithm { + algorithmId: Uint8Array; + hash?: string | Algorithm; + partyUInfo: Uint8Array; + partyVInfo: Uint8Array; + privateInfo?: Uint8Array; + publicInfo?: Uint8Array; +} + +interface Console { + memory: any; + assert(condition?: boolean, message?: string, ...data: any[]): void; + clear(): void; + count(label?: string): void; + debug(message?: any, ...optionalParams: any[]): void; + dir(value?: any, ...optionalParams: any[]): void; + dirxml(value: any): void; + error(message?: any, ...optionalParams: any[]): void; + exception(message?: string, ...optionalParams: any[]): void; + group(groupTitle?: string, ...optionalParams: any[]): void; + groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void; + groupEnd(): void; + info(message?: any, ...optionalParams: any[]): void; + log(message?: any, ...optionalParams: any[]): void; + markTimeline(label?: string): void; + msIsIndependentlyComposed(element: Element): boolean; + profile(reportName?: string): void; + profileEnd(): void; + select(element: Element): void; + table(...tabularData: any[]): void; + time(label?: string): void; + timeEnd(label?: string): void; + timeStamp(label?: string): void; + timeline(label?: string): void; + timelineEnd(label?: string): void; + trace(message?: any, ...optionalParams: any[]): void; + warn(message?: any, ...optionalParams: any[]): void; +} + +declare var Console: { + prototype: Console; + new(): Console; +}; + +interface ContentScriptGlobalScope extends EventTarget { + readonly msContentScript: ExtensionScriptApis; + readonly window: Window; +} + +declare var ContentScriptGlobalScope: { + prototype: ContentScriptGlobalScope; + new(): ContentScriptGlobalScope; +}; + +interface ConvolverNode extends AudioNode { + buffer: AudioBuffer | null; + normalize: boolean; +} + +declare var ConvolverNode: { + prototype: ConvolverNode; + new(): ConvolverNode; +}; + +interface Coordinates { + readonly accuracy: number; + readonly altitude: number | null; + readonly altitudeAccuracy: number | null; + readonly heading: number | null; + readonly latitude: number; + readonly longitude: number; + readonly speed: number | null; +} + +declare var Coordinates: { + prototype: Coordinates; + new(): Coordinates; +}; + +interface CountQueuingStrategy { + highWaterMark: number; + size(): number; +} + +declare var CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new(strategy: QueuingStrategy): CountQueuingStrategy; +}; + +interface Crypto { + readonly subtle: SubtleCrypto; + getRandomValues(array: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null): Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null; +} + +declare var Crypto: { + prototype: Crypto; + new(): Crypto; +}; + +interface CryptoKey { + readonly algorithm: KeyAlgorithm; + readonly extractable: boolean; + readonly type: string; + readonly usages: string[]; +} + +declare var CryptoKey: { + prototype: CryptoKey; + new(): CryptoKey; +}; + +interface CryptoKeyPair { + privateKey: CryptoKey; + publicKey: CryptoKey; +} + +declare var CryptoKeyPair: { + prototype: CryptoKeyPair; + new(): CryptoKeyPair; +}; + +interface CustomElementRegistry { + define(name: string, constructor: Function, options?: ElementDefinitionOptions): void; + get(name: string): any; + whenDefined(name: string): PromiseLike; +} + +interface CustomEvent extends Event { + readonly detail: T; + initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void; +} + +declare var CustomEvent: { + prototype: CustomEvent; + new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent; +}; + +interface DOMError { + readonly name: string; + toString(): string; +} + +declare var DOMError: { + prototype: DOMError; + new(): DOMError; +}; + +interface DOMException { + readonly code: number; + readonly message: string; + readonly name: string; + toString(): string; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly PARSE_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SERIALIZE_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +} + +declare var DOMException: { + prototype: DOMException; + new(message?: string, name?: string): DOMException; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly PARSE_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SERIALIZE_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +}; + +interface DOMImplementation { + createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document; + createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; + createHTMLDocument(title?: string): Document; + hasFeature(feature: string | null, version: string | null): boolean; +} + +declare var DOMImplementation: { + prototype: DOMImplementation; + new(): DOMImplementation; +}; + +interface DOML2DeprecatedColorProperty { + color: string; +} + +interface DOML2DeprecatedSizeProperty { + size: number; +} + +interface DOMParser { + parseFromString(source: string, mimeType: string): Document; +} + +declare var DOMParser: { + prototype: DOMParser; + new(): DOMParser; +}; + +interface DOMRect extends DOMRectReadOnly { + height: number; + width: number; + x: number; + y: number; +} + +declare var DOMRect: { + prototype: DOMRect; + new (x?: number, y?: number, width?: number, height?: number): DOMRect; + fromRect(rectangle?: DOMRectInit): DOMRect; +}; + +interface DOMRectList { + readonly length: number; + item(index: number): DOMRect | null; + [index: number]: DOMRect; +} + +interface DOMRectReadOnly { + readonly bottom: number; + readonly height: number; + readonly left: number; + readonly right: number; + readonly top: number; + readonly width: number; + readonly x: number; + readonly y: number; +} + +declare var DOMRectReadOnly: { + prototype: DOMRectReadOnly; + new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; + fromRect(rectangle?: DOMRectInit): DOMRectReadOnly; +}; + +interface DOMSettableTokenList extends DOMTokenList { + value: string; +} + +declare var DOMSettableTokenList: { + prototype: DOMSettableTokenList; + new(): DOMSettableTokenList; +}; + +interface DOMStringList { + readonly length: number; + contains(str: string): boolean; + item(index: number): string | null; + [index: number]: string | null; +} + +declare var DOMStringList: { + prototype: DOMStringList; + new(): DOMStringList; +}; + +interface DOMStringMap { + [name: string]: string | undefined; +} + +declare var DOMStringMap: { + prototype: DOMStringMap; + new(): DOMStringMap; +}; + +interface DOMTokenList { + readonly length: number; + add(...tokens: string[]): void; + contains(token: string): boolean; + item(index: number): string | null; + remove(...tokens: string[]): void; + toString(): string; + toggle(token: string, force?: boolean): boolean; + [index: number]: string | null; +} + +declare var DOMTokenList: { + prototype: DOMTokenList; + new(): DOMTokenList; +}; + +interface DataCue extends TextTrackCue { + data: ArrayBuffer; + addEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var DataCue: { + prototype: DataCue; + new(): DataCue; +}; + +interface DataTransfer { + dropEffect: string; + effectAllowed: string; + readonly files: FileList; + readonly items: DataTransferItemList; + readonly types: string[]; + clearData(format?: string): boolean; + getData(format: string): string; + setData(format: string, data: string): boolean; + setDragImage(image: Element, x: number, y: number): void; +} + +declare var DataTransfer: { + prototype: DataTransfer; + new(): DataTransfer; +}; + +interface DataTransferItem { + readonly kind: string; + readonly type: string; + getAsFile(): File | null; + getAsString(_callback: FunctionStringCallback | null): void; + webkitGetAsEntry(): WebKitEntry | null; +} + +declare var DataTransferItem: { + prototype: DataTransferItem; + new(): DataTransferItem; +}; + +interface DataTransferItemList { + readonly length: number; + add(data: File): DataTransferItem | null; + add(data: string, type: string): DataTransferItem | null; + clear(): void; + item(index: number): DataTransferItem; + remove(index: number): void; + [name: number]: DataTransferItem; +} + +declare var DataTransferItemList: { + prototype: DataTransferItemList; + new(): DataTransferItemList; +}; + +interface DeferredPermissionRequest { + readonly id: number; + readonly type: MSWebViewPermissionType; + readonly uri: string; + allow(): void; + deny(): void; +} + +declare var DeferredPermissionRequest: { + prototype: DeferredPermissionRequest; + new(): DeferredPermissionRequest; +}; + +interface DelayNode extends AudioNode { + readonly delayTime: AudioParam; +} + +declare var DelayNode: { + prototype: DelayNode; + new(): DelayNode; +}; + +interface DeviceAcceleration { + readonly x: number | null; + readonly y: number | null; + readonly z: number | null; +} + +declare var DeviceAcceleration: { + prototype: DeviceAcceleration; + new(): DeviceAcceleration; +}; + +interface DeviceLightEvent extends Event { + readonly value: number; +} + +declare var DeviceLightEvent: { + prototype: DeviceLightEvent; + new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent; +}; + +interface DeviceMotionEvent extends Event { + readonly acceleration: DeviceAcceleration | null; + readonly accelerationIncludingGravity: DeviceAcceleration | null; + readonly interval: number | null; + readonly rotationRate: DeviceRotationRate | null; + initDeviceMotionEvent(type: string, bubbles: boolean, cancelable: boolean, acceleration: DeviceAccelerationDict | null, accelerationIncludingGravity: DeviceAccelerationDict | null, rotationRate: DeviceRotationRateDict | null, interval: number | null): void; +} + +declare var DeviceMotionEvent: { + prototype: DeviceMotionEvent; + new(typeArg: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; +}; + +interface DeviceOrientationEvent extends Event { + readonly absolute: boolean; + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; + initDeviceOrientationEvent(type: string, bubbles: boolean, cancelable: boolean, alpha: number | null, beta: number | null, gamma: number | null, absolute: boolean): void; +} + +declare var DeviceOrientationEvent: { + prototype: DeviceOrientationEvent; + new(typeArg: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; +}; + +interface DeviceRotationRate { + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; +} + +declare var DeviceRotationRate: { + prototype: DeviceRotationRate; + new(): DeviceRotationRate; +}; + +interface DhImportKeyParams extends Algorithm { + generator: Uint8Array; + prime: Uint8Array; +} + +interface DhKeyAlgorithm extends KeyAlgorithm { + generator: Uint8Array; + prime: Uint8Array; +} + +interface DhKeyDeriveParams extends Algorithm { + public: CryptoKey; +} + +interface DhKeyGenParams extends Algorithm { + generator: Uint8Array; + prime: Uint8Array; +} + +interface DocumentEventMap extends GlobalEventHandlersEventMap { + "abort": UIEvent; + "activate": UIEvent; + "beforeactivate": UIEvent; + "beforedeactivate": UIEvent; + "blur": FocusEvent; + "canplay": Event; + "canplaythrough": Event; + "change": Event; + "click": MouseEvent; + "contextmenu": PointerEvent; + "dblclick": MouseEvent; + "deactivate": UIEvent; + "drag": DragEvent; + "dragend": DragEvent; + "dragenter": DragEvent; + "dragleave": DragEvent; + "dragover": DragEvent; + "dragstart": DragEvent; + "drop": DragEvent; + "durationchange": Event; + "emptied": Event; + "ended": Event; + "error": ErrorEvent; + "focus": FocusEvent; + "fullscreenchange": Event; + "fullscreenerror": Event; + "input": Event; + "invalid": Event; + "keydown": KeyboardEvent; + "keypress": KeyboardEvent; + "keyup": KeyboardEvent; + "load": Event; + "loadeddata": Event; + "loadedmetadata": Event; + "loadstart": Event; + "mousedown": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; + "mousewheel": WheelEvent; + "MSContentZoom": UIEvent; + "MSGestureChange": MSGestureEvent; + "MSGestureDoubleTap": MSGestureEvent; + "MSGestureEnd": MSGestureEvent; + "MSGestureHold": MSGestureEvent; + "MSGestureStart": MSGestureEvent; + "MSGestureTap": MSGestureEvent; + "MSInertiaStart": MSGestureEvent; + "MSManipulationStateChanged": MSManipulationEvent; + "MSPointerCancel": MSPointerEvent; + "MSPointerDown": MSPointerEvent; + "MSPointerEnter": MSPointerEvent; + "MSPointerLeave": MSPointerEvent; + "MSPointerMove": MSPointerEvent; + "MSPointerOut": MSPointerEvent; + "MSPointerOver": MSPointerEvent; + "MSPointerUp": MSPointerEvent; + "mssitemodejumplistitemremoved": MSSiteModeEvent; + "msthumbnailclick": MSSiteModeEvent; + "pause": Event; + "play": Event; + "playing": Event; + "pointerlockchange": Event; + "pointerlockerror": Event; + "progress": ProgressEvent; + "ratechange": Event; + "readystatechange": Event; + "reset": Event; + "scroll": UIEvent; + "seeked": Event; + "seeking": Event; + "select": UIEvent; + "selectionchange": Event; + "selectstart": Event; + "stalled": Event; + "stop": Event; + "submit": Event; + "suspend": Event; + "timeupdate": Event; + "touchcancel": TouchEvent; + "touchend": TouchEvent; + "touchmove": TouchEvent; + "touchstart": TouchEvent; + "volumechange": Event; + "waiting": Event; + "webkitfullscreenchange": Event; + "webkitfullscreenerror": Event; +} + +interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent { + /** + * Sets or gets the URL for the current document. + */ + readonly URL: string; + /** + * Gets the URL for the document, stripped of any character encoding. + */ + readonly URLUnencoded: string; + /** + * Gets the object that has the focus when the parent document has focus. + */ + readonly activeElement: Element; + /** + * Sets or gets the color of all active links in the document. + */ + alinkColor: string; + /** + * Returns a reference to the collection of elements contained by the object. + */ + readonly all: HTMLAllCollection; + /** + * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. + */ + readonly anchors: HTMLCollectionOf; + /** + * Retrieves a collection of all applet objects in the document. + */ + readonly applets: HTMLCollectionOf; + /** + * Deprecated. Sets or retrieves a value that indicates the background color behind the object. + */ + bgColor: string; + /** + * Specifies the beginning and end of the document body. + */ + body: HTMLElement; + readonly characterSet: string; + /** + * Gets or sets the character set used to encode the object. + */ + charset: string; + /** + * Gets a value that indicates whether standards-compliant mode is switched on for the object. + */ + readonly compatMode: string; + cookie: string; + readonly currentScript: HTMLScriptElement | SVGScriptElement | null; + readonly defaultView: Window; + /** + * Sets or gets a value that indicates whether the document can be edited. + */ + designMode: string; + /** + * Sets or retrieves a value that indicates the reading order of the object. + */ + dir: string; + /** + * Gets an object representing the document type declaration associated with the current document. + */ + readonly doctype: DocumentType; + /** + * Gets a reference to the root node of the document. + */ + readonly documentElement: HTMLElement; + /** + * Sets or gets the security domain of the document. + */ + domain: string; + /** + * Retrieves a collection of all embed objects in the document. + */ + readonly embeds: HTMLCollectionOf; + /** + * Sets or gets the foreground (text) color of the document. + */ + fgColor: string; + /** + * Retrieves a collection, in source order, of all form objects in the document. + */ + readonly forms: HTMLCollectionOf; + readonly fullscreenElement: Element | null; + readonly fullscreenEnabled: boolean; + readonly head: HTMLHeadElement; + readonly hidden: boolean; + /** + * Retrieves a collection, in source order, of img objects in the document. + */ + readonly images: HTMLCollectionOf; + /** + * Gets the implementation object of the current document. + */ + readonly implementation: DOMImplementation; + /** + * Returns the character encoding used to create the webpage that is loaded into the document object. + */ + readonly inputEncoding: string | null; + /** + * Gets the date that the page was last modified, if the page supplies one. + */ + readonly lastModified: string; + /** + * Sets or gets the color of the document links. + */ + linkColor: string; + /** + * Retrieves a collection of all a objects that specify the href property and all area objects in the document. + */ + readonly links: HTMLCollectionOf; + /** + * Contains information about the current URL. + */ + readonly location: Location; + msCSSOMElementFloatMetrics: boolean; + msCapsLockWarningOff: boolean; + /** + * Fires when the user aborts the download. + * @param ev The event. + */ + onabort: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires when the object is set as the active element. + * @param ev The event. + */ + onactivate: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires immediately before the object is set as the active element. + * @param ev The event. + */ + onbeforeactivate: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires immediately before the activeElement is changed from the current object to another object in the parent document. + * @param ev The event. + */ + onbeforedeactivate: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires when the object loses the input focus. + * @param ev The focus event. + */ + onblur: ((this: Document , ev: FocusEvent) => any) | null; + /** + * Occurs when playback is possible, but would require further buffering. + * @param ev The event. + */ + oncanplay: ((this: Document , ev: Event) => any) | null; + oncanplaythrough: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the contents of the object or selection have changed. + * @param ev The event. + */ + onchange: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user clicks the left mouse button on the object + * @param ev The mouse event. + */ + onclick: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the user clicks the right mouse button in the client area, opening the context menu. + * @param ev The mouse event. + */ + oncontextmenu: ((this: Document , ev: PointerEvent) => any) | null; + /** + * Fires when the user double-clicks the object. + * @param ev The mouse event. + */ + ondblclick: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the activeElement is changed from the current object to another object in the parent document. + * @param ev The UI Event + */ + ondeactivate: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires on the source object continuously during a drag operation. + * @param ev The event. + */ + ondrag: ((this: Document , ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user releases the mouse at the close of a drag operation. + * @param ev The event. + */ + ondragend: ((this: Document , ev: DragEvent) => any) | null; + /** + * Fires on the target element when the user drags the object to a valid drop target. + * @param ev The drag event. + */ + ondragenter: ((this: Document , ev: DragEvent) => any) | null; + /** + * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. + * @param ev The drag event. + */ + ondragleave: ((this: Document , ev: DragEvent) => any) | null; + /** + * Fires on the target element continuously while the user drags the object over a valid drop target. + * @param ev The event. + */ + ondragover: ((this: Document , ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user starts to drag a text selection or selected object. + * @param ev The event. + */ + ondragstart: ((this: Document , ev: DragEvent) => any) | null; + ondrop: ((this: Document , ev: DragEvent) => any) | null; + /** + * Occurs when the duration attribute is updated. + * @param ev The event. + */ + ondurationchange: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the media element is reset to its initial state. + * @param ev The event. + */ + onemptied: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the end of playback is reached. + * @param ev The event + */ + onended: ((this: Document , ev: Event) => any) | null; + /** + * Fires when an error occurs during object loading. + * @param ev The event. + */ + onerror: ((this: Document , ev: ErrorEvent) => any) | null; + /** + * Fires when the object receives focus. + * @param ev The event. + */ + onfocus: ((this: Document , ev: FocusEvent) => any) | null; + onfullscreenchange: ((this: Document , ev: Event) => any) | null; + onfullscreenerror: ((this: Document , ev: Event) => any) | null; + oninput: ((this: Document , ev: Event) => any) | null; + oninvalid: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user presses a key. + * @param ev The keyboard event + */ + onkeydown: ((this: Document , ev: KeyboardEvent) => any) | null; + /** + * Fires when the user presses an alphanumeric key. + * @param ev The event. + */ + onkeypress: ((this: Document , ev: KeyboardEvent) => any) | null; + /** + * Fires when the user releases a key. + * @param ev The keyboard event + */ + onkeyup: ((this: Document , ev: KeyboardEvent) => any) | null; + /** + * Fires immediately after the browser loads the object. + * @param ev The event. + */ + onload: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when media data is loaded at the current playback position. + * @param ev The event. + */ + onloadeddata: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the duration and dimensions of the media have been determined. + * @param ev The event. + */ + onloadedmetadata: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when Internet Explorer begins looking for media data. + * @param ev The event. + */ + onloadstart: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user clicks the object with either mouse button. + * @param ev The mouse event. + */ + onmousedown: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse over the object. + * @param ev The mouse event. + */ + onmousemove: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer outside the boundaries of the object. + * @param ev The mouse event. + */ + onmouseout: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer into the object. + * @param ev The mouse event. + */ + onmouseover: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the user releases a mouse button while the mouse is over the object. + * @param ev The mouse event. + */ + onmouseup: ((this: Document , ev: MouseEvent) => any) | null; + /** + * Fires when the wheel button is rotated. + * @param ev The mouse event + */ + onmousewheel: ((this: Document , ev: WheelEvent) => any) | null; + onmscontentzoom: ((this: Document , ev: UIEvent) => any) | null; + onmsgesturechange: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsgesturedoubletap: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsgestureend: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsgesturehold: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsgesturestart: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsgesturetap: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsinertiastart: ((this: Document , ev: MSGestureEvent) => any) | null; + onmsmanipulationstatechanged: ((this: Document , ev: MSManipulationEvent) => any) | null; + onmspointercancel: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerdown: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerenter: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerleave: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointermove: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerout: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerover: ((this: Document , ev: MSPointerEvent) => any) | null; + onmspointerup: ((this: Document , ev: MSPointerEvent) => any) | null; + /** + * Occurs when an item is removed from a Jump List of a webpage running in Site Mode. + * @param ev The event. + */ + onmssitemodejumplistitemremoved: ((this: Document , ev: MSSiteModeEvent) => any) | null; + /** + * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode. + * @param ev The event. + */ + onmsthumbnailclick: ((this: Document , ev: MSSiteModeEvent) => any) | null; + /** + * Occurs when playback is paused. + * @param ev The event. + */ + onpause: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the play method is requested. + * @param ev The event. + */ + onplay: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the audio or video has started playing. + * @param ev The event. + */ + onplaying: ((this: Document , ev: Event) => any) | null; + onpointerlockchange: ((this: Document , ev: Event) => any) | null; + onpointerlockerror: ((this: Document , ev: Event) => any) | null; + /** + * Occurs to indicate progress while downloading media data. + * @param ev The event. + */ + onprogress: ((this: Document , ev: ProgressEvent) => any) | null; + /** + * Occurs when the playback rate is increased or decreased. + * @param ev The event. + */ + onratechange: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the state of the object has changed. + * @param ev The event + */ + onreadystatechange: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user resets a form. + * @param ev The event. + */ + onreset: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user repositions the scroll box in the scroll bar on the object. + * @param ev The event. + */ + onscroll: ((this: Document , ev: UIEvent) => any) | null; + /** + * Occurs when the seek operation ends. + * @param ev The event. + */ + onseeked: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the current playback position is moved. + * @param ev The event. + */ + onseeking: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the current selection changes. + * @param ev The event. + */ + onselect: ((this: Document , ev: UIEvent) => any) | null; + /** + * Fires when the selection state of a document changes. + * @param ev The event. + */ + onselectionchange: ((this: Document , ev: Event) => any) | null; + onselectstart: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when the download has stopped. + * @param ev The event. + */ + onstalled: ((this: Document , ev: Event) => any) | null; + /** + * Fires when the user clicks the Stop button or leaves the Web page. + * @param ev The event. + */ + onstop: ((this: Document , ev: Event) => any) | null; + onsubmit: ((this: Document , ev: Event) => any) | null; + /** + * Occurs if the load operation has been intentionally halted. + * @param ev The event. + */ + onsuspend: ((this: Document , ev: Event) => any) | null; + /** + * Occurs to indicate the current playback position. + * @param ev The event. + */ + ontimeupdate: ((this: Document , ev: Event) => any) | null; + ontouchcancel: ((this: Document , ev: TouchEvent) => any) | null; + ontouchend: ((this: Document , ev: TouchEvent) => any) | null; + ontouchmove: ((this: Document , ev: TouchEvent) => any) | null; + ontouchstart: ((this: Document , ev: TouchEvent) => any) | null; + onvisibilitychange: (this: Document, ev: Event) => any; + /** + * Occurs when the volume is changed, or playback is muted or unmuted. + * @param ev The event. + */ + onvolumechange: ((this: Document , ev: Event) => any) | null; + /** + * Occurs when playback stops because the next frame of a video resource is not available. + * @param ev The event. + */ + onwaiting: ((this: Document , ev: Event) => any) | null; + onwebkitfullscreenchange: ((this: Document , ev: Event) => any) | null; + onwebkitfullscreenerror: ((this: Document , ev: Event) => any) | null; + readonly plugins: HTMLCollectionOf; + readonly pointerLockElement: Element; + /** + * Retrieves a value that indicates the current state of the object. + */ + readonly readyState: string; + /** + * Gets the URL of the location that referred the user to the current page. + */ + readonly referrer: string; + /** + * Gets the root svg element in the document hierarchy. + */ + readonly rootElement: SVGSVGElement; + /** + * Retrieves a collection of all script objects in the document. + */ + readonly scripts: HTMLCollectionOf; + readonly scrollingElement: Element | null; + /** + * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. + */ + readonly styleSheets: StyleSheetList; + /** + * Contains the title of the document. + */ + title: string; + readonly visibilityState: VisibilityState; + /** + * Sets or gets the color of the links that the user has visited. + */ + vlinkColor: string; + readonly webkitCurrentFullScreenElement: Element | null; + readonly webkitFullscreenElement: Element | null; + readonly webkitFullscreenEnabled: boolean; + readonly webkitIsFullScreen: boolean; + readonly xmlEncoding: string | null; + xmlStandalone: boolean; + /** + * Gets or sets the version attribute specified in the declaration of an XML document. + */ + xmlVersion: string | null; + adoptNode(source: T): T; + captureEvents(): void; + caretRangeFromPoint(x: number, y: number): Range; + clear(): void; + /** + * Closes an output stream and forces the sent data to display. + */ + close(): void; + /** + * Creates an attribute object with a specified name. + * @param name String that sets the attribute object's name. + */ + createAttribute(name: string): Attr; + createAttributeNS(namespaceURI: string | null, qualifiedName: string): Attr; + createCDATASection(data: string): CDATASection; + /** + * Creates a comment object with the specified data. + * @param data Sets the comment object's data. + */ + createComment(data: string): Comment; + /** + * Creates a new document. + */ + createDocumentFragment(): DocumentFragment; + /** + * Creates an instance of the element for the specified tag. + * @param tagName The name of an element. + */ + createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; + createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; + createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "circle"): SVGCircleElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "clipPath"): SVGClipPathElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "componentTransferFunction"): SVGComponentTransferFunctionElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "defs"): SVGDefsElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "desc"): SVGDescElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "ellipse"): SVGEllipseElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feBlend"): SVGFEBlendElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feColorMatrix"): SVGFEColorMatrixElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComponentTransfer"): SVGFEComponentTransferElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComposite"): SVGFECompositeElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feConvolveMatrix"): SVGFEConvolveMatrixElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDiffuseLighting"): SVGFEDiffuseLightingElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDisplacementMap"): SVGFEDisplacementMapElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDistantLight"): SVGFEDistantLightElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFlood"): SVGFEFloodElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncA"): SVGFEFuncAElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncB"): SVGFEFuncBElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncG"): SVGFEFuncGElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncR"): SVGFEFuncRElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feGaussianBlur"): SVGFEGaussianBlurElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feImage"): SVGFEImageElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMerge"): SVGFEMergeElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMergeNode"): SVGFEMergeNodeElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMorphology"): SVGFEMorphologyElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feOffset"): SVGFEOffsetElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "fePointLight"): SVGFEPointLightElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpecularLighting"): SVGFESpecularLightingElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpotLight"): SVGFESpotLightElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTile"): SVGFETileElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTurbulence"): SVGFETurbulenceElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "filter"): SVGFilterElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "foreignObject"): SVGForeignObjectElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "g"): SVGGElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "image"): SVGImageElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "gradient"): SVGGradientElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "line"): SVGLineElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "linearGradient"): SVGLinearGradientElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "marker"): SVGMarkerElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "mask"): SVGMaskElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "path"): SVGPathElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "metadata"): SVGMetadataElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "pattern"): SVGPatternElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polygon"): SVGPolygonElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polyline"): SVGPolylineElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "radialGradient"): SVGRadialGradientElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "rect"): SVGRectElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "svg"): SVGSVGElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "script"): SVGScriptElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "stop"): SVGStopElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "style"): SVGStyleElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "switch"): SVGSwitchElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "symbol"): SVGSymbolElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "tspan"): SVGTSpanElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textContent"): SVGTextContentElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "text"): SVGTextElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPath"): SVGTextPathElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPositioning"): SVGTextPositioningElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "title"): SVGTitleElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "use"): SVGUseElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "view"): SVGViewElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; + createElementNS(namespaceURI: string | null, qualifiedName: string): Element; + createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; + createNSResolver(nodeResolver: Node): XPathNSResolver; + /** + * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list + * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. + * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. + */ + createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): NodeIterator; + createProcessingInstruction(target: string, data: string): ProcessingInstruction; + /** + * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. + */ + createRange(): Range; + /** + * Creates a text string from the specified value. + * @param data String that specifies the nodeValue property of the text node. + */ + createTextNode(data: string): Text; + createTouch(view: Window, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch; + createTouchList(...touches: Touch[]): TouchList; + /** + * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. + * @param filter A custom NodeFilter function to use. + * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded. + */ + createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): TreeWalker; + /** + * Returns the element for the specified x coordinate and the specified y coordinate. + * @param x The x-offset + * @param y The y-offset + */ + elementFromPoint(x: number, y: number): Element; + evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult; + /** + * Executes a command on the current document, current selection, or the given range. + * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. + * @param showUI Display the user interface, defaults to false. + * @param value Value to assign. + */ + execCommand(commandId: string, showUI?: boolean, value?: any): boolean; + /** + * Displays help information for the given command identifier. + * @param commandId Displays help information for the given command identifier. + */ + execCommandShowHelp(commandId: string): boolean; + exitFullscreen(): void; + exitPointerLock(): void; + /** + * Causes the element to receive the focus and executes the code specified by the onfocus event. + */ + /** @deprecated */ + focus(): void; + /** + * Returns a reference to the first object with the specified value of the ID or NAME attribute. + * @param elementId String that specifies the ID value. Case-insensitive. + */ + getElementById(elementId: string): HTMLElement | null; + getElementsByClassName(classNames: string): HTMLCollectionOf; + /** + * Gets a collection of objects based on the value of the NAME or ID attribute. + * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. + */ + getElementsByName(elementName: string): NodeListOf; + /** + * Retrieves a collection of objects based on the specified element name. + * @param name Specifies the name of an element. + */ + getElementsByTagName(tagname: K): NodeListOf; + getElementsByTagName(tagname: K): NodeListOf; + getElementsByTagName(tagname: string): NodeListOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; + /** + * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. + */ + getSelection(): Selection; + /** + * Gets a value indicating whether the object currently has focus. + */ + hasFocus(): boolean; + importNode(importedNode: T, deep: boolean): T; + msElementsFromPoint(x: number, y: number): NodeListOf; + msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf; + /** + * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. + * @param url Specifies a MIME type for the document. + * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. + * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. + * @param replace Specifies whether the existing entry for the document is replaced in the history list. + */ + open(url?: string, name?: string, features?: string, replace?: boolean): Document; + /** + * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. + * @param commandId Specifies a command identifier. + */ + queryCommandEnabled(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. + * @param commandId String that specifies a command identifier. + */ + queryCommandIndeterm(commandId: string): boolean; + /** + * Returns a Boolean value that indicates the current state of the command. + * @param commandId String that specifies a command identifier. + */ + queryCommandState(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the current command is supported on the current range. + * @param commandId Specifies a command identifier. + */ + queryCommandSupported(commandId: string): boolean; + /** + * Retrieves the string associated with a command. + * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers. + */ + queryCommandText(commandId: string): string; + /** + * Returns the current value of the document, range, or current selection for the given command. + * @param commandId String that specifies a command identifier. + */ + queryCommandValue(commandId: string): string; + releaseEvents(): void; + webkitCancelFullScreen(): void; + webkitExitFullscreen(): void; + /** + * Writes one or more HTML expressions to a document in the specified window. + * @param content Specifies the text and HTML tags to write. + */ + write(...content: string[]): void; + /** + * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. + * @param content The text and HTML tags to write. + */ + writeln(...content: string[]): void; + addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Document: { + prototype: Document; + new(): Document; +}; + +interface DocumentEvent { + createEvent(eventInterface: "AnimationEvent"): AnimationEvent; + createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; + createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; + createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; + createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; + createEvent(eventInterface: "CloseEvent"): CloseEvent; + createEvent(eventInterface: "CompositionEvent"): CompositionEvent; + createEvent(eventInterface: "CustomEvent"): CustomEvent; + createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; + createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; + createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; + createEvent(eventInterface: "DragEvent"): DragEvent; + createEvent(eventInterface: "ErrorEvent"): ErrorEvent; + createEvent(eventInterface: "Event"): Event; + createEvent(eventInterface: "Events"): Event; + createEvent(eventInterface: "FocusEvent"): FocusEvent; + createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; + createEvent(eventInterface: "GamepadEvent"): GamepadEvent; + createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; + createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; + createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; + createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; + createEvent(eventInterface: "MSDCCEvent"): MSDCCEvent; + createEvent(eventInterface: "MSDSHEvent"): MSDSHEvent; + createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; + createEvent(eventInterface: "MSManipulationEvent"): MSManipulationEvent; + createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; + createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; + createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; + createEvent(eventInterface: "MSSiteModeEvent"): MSSiteModeEvent; + createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; + createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; + createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; + createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; + createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; + createEvent(eventInterface: "MessageEvent"): MessageEvent; + createEvent(eventInterface: "MouseEvent"): MouseEvent; + createEvent(eventInterface: "MouseEvents"): MouseEvent; + createEvent(eventInterface: "MutationEvent"): MutationEvent; + createEvent(eventInterface: "MutationEvents"): MutationEvent; + createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; + createEvent(eventInterface: "OverflowEvent"): OverflowEvent; + createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; + createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; + createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; + createEvent(eventInterface: "PointerEvent"): PointerEvent; + createEvent(eventInterface: "PopStateEvent"): PopStateEvent; + createEvent(eventInterface: "ProgressEvent"): ProgressEvent; + createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; + createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; + createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; + createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; + createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; + createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; + createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; + createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; + createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; + createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; + createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; + createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; + createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; + createEvent(eventInterface: "StorageEvent"): StorageEvent; + createEvent(eventInterface: "TextEvent"): TextEvent; + createEvent(eventInterface: "TouchEvent"): TouchEvent; + createEvent(eventInterface: "TrackEvent"): TrackEvent; + createEvent(eventInterface: "TransitionEvent"): TransitionEvent; + createEvent(eventInterface: "UIEvent"): UIEvent; + createEvent(eventInterface: "UIEvents"): UIEvent; + createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; + createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ; + createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; + createEvent(eventInterface: "WheelEvent"): WheelEvent; + createEvent(eventInterface: string): Event; +} + +interface DocumentFragment extends Node, ParentNode { + getElementById(elementId: string): HTMLElement | null; +} + +declare var DocumentFragment: { + prototype: DocumentFragment; + new(): DocumentFragment; +}; + +interface DocumentOrShadowRoot { + readonly activeElement: Element | null; + readonly styleSheets: StyleSheetList; + elementFromPoint(x: number, y: number): Element | null; + elementsFromPoint(x: number, y: number): Element[]; + getSelection(): Selection | null; +} + +interface DocumentType extends Node, ChildNode { + readonly entities: NamedNodeMap; + readonly internalSubset: string | null; + readonly name: string; + readonly notations: NamedNodeMap; + readonly publicId: string; + readonly systemId: string; +} + +declare var DocumentType: { + prototype: DocumentType; + new(): DocumentType; +}; + +interface DragEvent extends MouseEvent { + readonly dataTransfer: DataTransfer; + initDragEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, dataTransferArg: DataTransfer): void; + msConvertURL(file: File, targetType: string, targetURL?: string): void; +} + +declare var DragEvent: { + prototype: DragEvent; + new(type: "drag" | "dragend" | "dragenter" | "dragexit" | "dragleave" | "dragover" | "dragstart" | "drop", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent; +}; + +interface DynamicsCompressorNode extends AudioNode { + readonly attack: AudioParam; + readonly knee: AudioParam; + readonly ratio: AudioParam; + readonly reduction: number; + readonly release: AudioParam; + readonly threshold: AudioParam; +} + +declare var DynamicsCompressorNode: { + prototype: DynamicsCompressorNode; + new(): DynamicsCompressorNode; +}; + +interface EXT_blend_minmax { + readonly MAX_EXT: number; + readonly MIN_EXT: number; +} + +interface EXT_frag_depth { +} + +interface EXT_sRGB { + readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: number; + readonly SRGB8_ALPHA8_EXT: number; + readonly SRGB_ALPHA_EXT: number; + readonly SRGB_EXT: number; +} + +interface EXT_shader_texture_lod { +} + +interface EXT_texture_filter_anisotropic { + readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number; + readonly TEXTURE_MAX_ANISOTROPY_EXT: number; +} + +declare var EXT_texture_filter_anisotropic: { + prototype: EXT_texture_filter_anisotropic; + new(): EXT_texture_filter_anisotropic; + readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number; + readonly TEXTURE_MAX_ANISOTROPY_EXT: number; +}; + +interface ElementEventMap extends GlobalEventHandlersEventMap { + "ariarequest": Event; + "command": Event; + "gotpointercapture": PointerEvent; + "lostpointercapture": PointerEvent; + "MSGestureChange": MSGestureEvent; + "MSGestureDoubleTap": MSGestureEvent; + "MSGestureEnd": MSGestureEvent; + "MSGestureHold": MSGestureEvent; + "MSGestureStart": MSGestureEvent; + "MSGestureTap": MSGestureEvent; + "MSGotPointerCapture": MSPointerEvent; + "MSInertiaStart": MSGestureEvent; + "MSLostPointerCapture": MSPointerEvent; + "MSPointerCancel": MSPointerEvent; + "MSPointerDown": MSPointerEvent; + "MSPointerEnter": MSPointerEvent; + "MSPointerLeave": MSPointerEvent; + "MSPointerMove": MSPointerEvent; + "MSPointerOut": MSPointerEvent; + "MSPointerOver": MSPointerEvent; + "MSPointerUp": MSPointerEvent; + "touchcancel": TouchEvent; + "touchend": TouchEvent; + "touchmove": TouchEvent; + "touchstart": TouchEvent; + "webkitfullscreenchange": Event; + "webkitfullscreenerror": Event; +} + +interface Element extends Node, GlobalEventHandlers, ElementTraversal, ParentNode, ChildNode { + readonly assignedSlot: HTMLSlotElement | null; + readonly attributes: NamedNodeMap; + readonly classList: DOMTokenList; + className: string; + readonly clientHeight: number; + readonly clientLeft: number; + readonly clientTop: number; + readonly clientWidth: number; + id: string; + innerHTML: string; + msContentZoomFactor: number; + readonly msRegionOverflow: string; + onariarequest: ((this: Element , ev: Event) => any) | null; + oncommand: ((this: Element , ev: Event) => any) | null; + ongotpointercapture: ((this: Element , ev: PointerEvent) => any) | null; + onlostpointercapture: ((this: Element , ev: PointerEvent) => any) | null; + onmsgesturechange: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgesturedoubletap: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgestureend: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgesturehold: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgesturestart: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgesturetap: ((this: Element , ev: MSGestureEvent) => any) | null; + onmsgotpointercapture: ((this: Element , ev: MSPointerEvent) => any) | null; + onmsinertiastart: ((this: Element , ev: MSGestureEvent) => any) | null; + onmslostpointercapture: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointercancel: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerdown: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerenter: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerleave: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointermove: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerout: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerover: ((this: Element , ev: MSPointerEvent) => any) | null; + onmspointerup: ((this: Element , ev: MSPointerEvent) => any) | null; + ontouchcancel: ((this: Element , ev: TouchEvent) => any) | null; + ontouchend: ((this: Element , ev: TouchEvent) => any) | null; + ontouchmove: ((this: Element , ev: TouchEvent) => any) | null; + ontouchstart: ((this: Element , ev: TouchEvent) => any) | null; + onwebkitfullscreenchange: ((this: Element , ev: Event) => any) | null; + onwebkitfullscreenerror: ((this: Element , ev: Event) => any) | null; + outerHTML: string; + readonly prefix: string | null; + readonly scrollHeight: number; + scrollLeft: number; + scrollTop: number; + readonly scrollWidth: number; + readonly shadowRoot: ShadowRoot | null; + slot: string; + readonly tagName: string; + attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot; + closest(selector: K): HTMLElementTagNameMap[K] | null; + closest(selector: K): SVGElementTagNameMap[K] | null; + closest(selector: string): Element | null; + getAttribute(qualifiedName: string): string | null; + getAttributeNS(namespaceURI: string, localName: string): string; + getAttributeNode(name: string): Attr | null; + getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null; + getBoundingClientRect(): ClientRect | DOMRect; + getClientRects(): ClientRectList | DOMRectList; + getElementsByClassName(classNames: string): NodeListOf; + getElementsByTagName(name: K): NodeListOf; + getElementsByTagName(name: K): NodeListOf; + getElementsByTagName(name: string): NodeListOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf; + hasAttribute(name: string): boolean; + hasAttributeNS(namespaceURI: string, localName: string): boolean; + hasAttributes(): boolean; + insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null; + insertAdjacentHTML(where: InsertPosition, html: string): void; + insertAdjacentText(where: InsertPosition, text: string): void; + matches(selectors: string): boolean; + msGetRegionContent(): MSRangeCollection; + msGetUntransformedBounds(): ClientRect; + msMatchesSelector(selectors: string): boolean; + msReleasePointerCapture(pointerId: number): void; + msSetPointerCapture(pointerId: number): void; + msZoomTo(args: MsZoomToOptions): void; + releasePointerCapture(pointerId: number): void; + removeAttribute(qualifiedName: string): void; + removeAttributeNS(namespaceURI: string, localName: string): void; + removeAttributeNode(oldAttr: Attr): Attr; + requestFullscreen(): void; + requestPointerLock(): void; + scroll(options?: ScrollToOptions): void; + scroll(x: number, y: number): void; + scrollBy(options?: ScrollToOptions): void; + scrollBy(x: number, y: number): void; + scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; + scrollTo(options?: ScrollToOptions): void; + scrollTo(x: number, y: number): void; + setAttribute(qualifiedName: string, value: string): void; + setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; + setAttributeNode(newAttr: Attr): Attr; + setAttributeNodeNS(newAttr: Attr): Attr; + setPointerCapture(pointerId: number): void; + webkitMatchesSelector(selectors: string): boolean; + webkitRequestFullScreen(): void; + webkitRequestFullscreen(): void; + addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Element: { + prototype: Element; + new(): Element; +}; + +interface ElementCSSInlineStyle { + readonly style: CSSStyleDeclaration; +} + +interface ElementCreationOptions { + is?: string; +} + +interface ElementDefinitionOptions { + extends: string; +} + +interface ElementTraversal { + readonly childElementCount: number; + readonly firstElementChild: Element | null; + readonly lastElementChild: Element | null; + readonly nextElementSibling: Element | null; + readonly previousElementSibling: Element | null; +} + +interface ErrorEvent extends Event { + readonly colno: number; + readonly error: any; + readonly filename: string; + readonly lineno: number; + readonly message: string; + initErrorEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, messageArg: string, filenameArg: string, linenoArg: number): void; +} + +declare var ErrorEvent: { + prototype: ErrorEvent; + new(typeArg: string, eventInitDict?: ErrorEventInit): ErrorEvent; +}; + +interface Event { + readonly bubbles: boolean; + cancelBubble: boolean; + readonly cancelable: boolean; + readonly currentTarget: EventTarget | null; + readonly defaultPrevented: boolean; + readonly eventPhase: number; + readonly isTrusted: boolean; + returnValue: boolean; + readonly scoped: boolean; + readonly srcElement: Element | null; + readonly target: EventTarget | null; + readonly timeStamp: number; + readonly type: string; + deepPath(): EventTarget[]; + initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; + preventDefault(): void; + stopImmediatePropagation(): void; + stopPropagation(): void; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; readonly NONE: number; - readonly NOTEQUAL: number; - readonly ONE: number; - readonly ONE_MINUS_CONSTANT_ALPHA: number; - readonly ONE_MINUS_CONSTANT_COLOR: number; - readonly ONE_MINUS_DST_ALPHA: number; - readonly ONE_MINUS_DST_COLOR: number; - readonly ONE_MINUS_SRC_ALPHA: number; - readonly ONE_MINUS_SRC_COLOR: number; - readonly OUT_OF_MEMORY: number; - readonly PACK_ALIGNMENT: number; - readonly POINTS: number; - readonly POLYGON_OFFSET_FACTOR: number; - readonly POLYGON_OFFSET_FILL: number; - readonly POLYGON_OFFSET_UNITS: number; - readonly RED_BITS: number; - readonly RENDERBUFFER: number; - readonly RENDERBUFFER_ALPHA_SIZE: number; - readonly RENDERBUFFER_BINDING: number; - readonly RENDERBUFFER_BLUE_SIZE: number; - readonly RENDERBUFFER_DEPTH_SIZE: number; - readonly RENDERBUFFER_GREEN_SIZE: number; - readonly RENDERBUFFER_HEIGHT: number; - readonly RENDERBUFFER_INTERNAL_FORMAT: number; - readonly RENDERBUFFER_RED_SIZE: number; - readonly RENDERBUFFER_STENCIL_SIZE: number; - readonly RENDERBUFFER_WIDTH: number; - readonly RENDERER: number; - readonly REPEAT: number; - readonly REPLACE: number; - readonly RGB: number; - readonly RGB5_A1: number; - readonly RGB565: number; - readonly RGBA: number; - readonly RGBA4: number; - readonly SAMPLE_ALPHA_TO_COVERAGE: number; - readonly SAMPLE_BUFFERS: number; - readonly SAMPLE_COVERAGE: number; - readonly SAMPLE_COVERAGE_INVERT: number; - readonly SAMPLE_COVERAGE_VALUE: number; - readonly SAMPLER_2D: number; - readonly SAMPLER_CUBE: number; - readonly SAMPLES: number; - readonly SCISSOR_BOX: number; - readonly SCISSOR_TEST: number; - readonly SHADER_TYPE: number; - readonly SHADING_LANGUAGE_VERSION: number; - readonly SHORT: number; - readonly SRC_ALPHA: number; - readonly SRC_ALPHA_SATURATE: number; - readonly SRC_COLOR: number; - readonly STATIC_DRAW: number; - readonly STENCIL_ATTACHMENT: number; - readonly STENCIL_BACK_FAIL: number; - readonly STENCIL_BACK_FUNC: number; - readonly STENCIL_BACK_PASS_DEPTH_FAIL: number; - readonly STENCIL_BACK_PASS_DEPTH_PASS: number; - readonly STENCIL_BACK_REF: number; - readonly STENCIL_BACK_VALUE_MASK: number; - readonly STENCIL_BACK_WRITEMASK: number; - readonly STENCIL_BITS: number; - readonly STENCIL_BUFFER_BIT: number; - readonly STENCIL_CLEAR_VALUE: number; - readonly STENCIL_FAIL: number; - readonly STENCIL_FUNC: number; - readonly STENCIL_INDEX: number; - readonly STENCIL_INDEX8: number; - readonly STENCIL_PASS_DEPTH_FAIL: number; - readonly STENCIL_PASS_DEPTH_PASS: number; - readonly STENCIL_REF: number; - readonly STENCIL_TEST: number; - readonly STENCIL_VALUE_MASK: number; - readonly STENCIL_WRITEMASK: number; - readonly STREAM_DRAW: number; - readonly SUBPIXEL_BITS: number; - readonly TEXTURE: number; - readonly TEXTURE_2D: number; - readonly TEXTURE_BINDING_2D: number; - readonly TEXTURE_BINDING_CUBE_MAP: number; - readonly TEXTURE_CUBE_MAP: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_X: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number; - readonly TEXTURE_MAG_FILTER: number; - readonly TEXTURE_MIN_FILTER: number; - readonly TEXTURE_WRAP_S: number; - readonly TEXTURE_WRAP_T: number; - readonly TEXTURE0: number; - readonly TEXTURE1: number; - readonly TEXTURE10: number; - readonly TEXTURE11: number; - readonly TEXTURE12: number; - readonly TEXTURE13: number; - readonly TEXTURE14: number; - readonly TEXTURE15: number; - readonly TEXTURE16: number; - readonly TEXTURE17: number; - readonly TEXTURE18: number; - readonly TEXTURE19: number; - readonly TEXTURE2: number; - readonly TEXTURE20: number; - readonly TEXTURE21: number; - readonly TEXTURE22: number; - readonly TEXTURE23: number; - readonly TEXTURE24: number; - readonly TEXTURE25: number; - readonly TEXTURE26: number; - readonly TEXTURE27: number; - readonly TEXTURE28: number; - readonly TEXTURE29: number; - readonly TEXTURE3: number; - readonly TEXTURE30: number; - readonly TEXTURE31: number; - readonly TEXTURE4: number; - readonly TEXTURE5: number; - readonly TEXTURE6: number; - readonly TEXTURE7: number; - readonly TEXTURE8: number; - readonly TEXTURE9: number; - readonly TRIANGLE_FAN: number; - readonly TRIANGLE_STRIP: number; - readonly TRIANGLES: number; - readonly UNPACK_ALIGNMENT: number; - readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number; - readonly UNPACK_FLIP_Y_WEBGL: number; - readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number; - readonly UNSIGNED_BYTE: number; - readonly UNSIGNED_INT: number; - readonly UNSIGNED_SHORT: number; - readonly UNSIGNED_SHORT_4_4_4_4: number; - readonly UNSIGNED_SHORT_5_5_5_1: number; - readonly UNSIGNED_SHORT_5_6_5: number; - readonly VALIDATE_STATUS: number; - readonly VENDOR: number; - readonly VERSION: number; - readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number; - readonly VERTEX_ATTRIB_ARRAY_ENABLED: number; - readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number; - readonly VERTEX_ATTRIB_ARRAY_POINTER: number; - readonly VERTEX_ATTRIB_ARRAY_SIZE: number; - readonly VERTEX_ATTRIB_ARRAY_STRIDE: number; - readonly VERTEX_ATTRIB_ARRAY_TYPE: number; - readonly VERTEX_SHADER: number; - readonly VIEWPORT: number; - readonly ZERO: number; } -declare var WebGLRenderingContext: { - prototype: WebGLRenderingContext; - new(): WebGLRenderingContext; - readonly ACTIVE_ATTRIBUTES: number; - readonly ACTIVE_TEXTURE: number; - readonly ACTIVE_UNIFORMS: number; - readonly ALIASED_LINE_WIDTH_RANGE: number; - readonly ALIASED_POINT_SIZE_RANGE: number; - readonly ALPHA: number; - readonly ALPHA_BITS: number; - readonly ALWAYS: number; - readonly ARRAY_BUFFER: number; - readonly ARRAY_BUFFER_BINDING: number; - readonly ATTACHED_SHADERS: number; - readonly BACK: number; - readonly BLEND: number; - readonly BLEND_COLOR: number; - readonly BLEND_DST_ALPHA: number; - readonly BLEND_DST_RGB: number; - readonly BLEND_EQUATION: number; - readonly BLEND_EQUATION_ALPHA: number; - readonly BLEND_EQUATION_RGB: number; - readonly BLEND_SRC_ALPHA: number; - readonly BLEND_SRC_RGB: number; - readonly BLUE_BITS: number; - readonly BOOL: number; - readonly BOOL_VEC2: number; - readonly BOOL_VEC3: number; - readonly BOOL_VEC4: number; - readonly BROWSER_DEFAULT_WEBGL: number; - readonly BUFFER_SIZE: number; - readonly BUFFER_USAGE: number; - readonly BYTE: number; - readonly CCW: number; - readonly CLAMP_TO_EDGE: number; - readonly COLOR_ATTACHMENT0: number; - readonly COLOR_BUFFER_BIT: number; - readonly COLOR_CLEAR_VALUE: number; - readonly COLOR_WRITEMASK: number; - readonly COMPILE_STATUS: number; - readonly COMPRESSED_TEXTURE_FORMATS: number; - readonly CONSTANT_ALPHA: number; - readonly CONSTANT_COLOR: number; - readonly CONTEXT_LOST_WEBGL: number; - readonly CULL_FACE: number; - readonly CULL_FACE_MODE: number; - readonly CURRENT_PROGRAM: number; - readonly CURRENT_VERTEX_ATTRIB: number; - readonly CW: number; - readonly DECR: number; - readonly DECR_WRAP: number; - readonly DELETE_STATUS: number; - readonly DEPTH_ATTACHMENT: number; - readonly DEPTH_BITS: number; - readonly DEPTH_BUFFER_BIT: number; - readonly DEPTH_CLEAR_VALUE: number; - readonly DEPTH_COMPONENT: number; - readonly DEPTH_COMPONENT16: number; - readonly DEPTH_FUNC: number; - readonly DEPTH_RANGE: number; - readonly DEPTH_STENCIL: number; - readonly DEPTH_STENCIL_ATTACHMENT: number; - readonly DEPTH_TEST: number; - readonly DEPTH_WRITEMASK: number; - readonly DITHER: number; - readonly DONT_CARE: number; - readonly DST_ALPHA: number; - readonly DST_COLOR: number; - readonly DYNAMIC_DRAW: number; - readonly ELEMENT_ARRAY_BUFFER: number; - readonly ELEMENT_ARRAY_BUFFER_BINDING: number; - readonly EQUAL: number; - readonly FASTEST: number; - readonly FLOAT: number; - readonly FLOAT_MAT2: number; - readonly FLOAT_MAT3: number; - readonly FLOAT_MAT4: number; - readonly FLOAT_VEC2: number; - readonly FLOAT_VEC3: number; - readonly FLOAT_VEC4: number; - readonly FRAGMENT_SHADER: number; - readonly FRAMEBUFFER: number; - readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number; - readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number; - readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number; - readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number; - readonly FRAMEBUFFER_BINDING: number; - readonly FRAMEBUFFER_COMPLETE: number; - readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number; - readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number; - readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number; - readonly FRAMEBUFFER_UNSUPPORTED: number; - readonly FRONT: number; - readonly FRONT_AND_BACK: number; - readonly FRONT_FACE: number; - readonly FUNC_ADD: number; - readonly FUNC_REVERSE_SUBTRACT: number; - readonly FUNC_SUBTRACT: number; - readonly GENERATE_MIPMAP_HINT: number; - readonly GEQUAL: number; - readonly GREATER: number; - readonly GREEN_BITS: number; - readonly HIGH_FLOAT: number; - readonly HIGH_INT: number; - readonly IMPLEMENTATION_COLOR_READ_FORMAT: number; - readonly IMPLEMENTATION_COLOR_READ_TYPE: number; - readonly INCR: number; - readonly INCR_WRAP: number; - readonly INT: number; - readonly INT_VEC2: number; - readonly INT_VEC3: number; - readonly INT_VEC4: number; - readonly INVALID_ENUM: number; - readonly INVALID_FRAMEBUFFER_OPERATION: number; - readonly INVALID_OPERATION: number; - readonly INVALID_VALUE: number; - readonly INVERT: number; - readonly KEEP: number; - readonly LEQUAL: number; - readonly LESS: number; - readonly LINE_LOOP: number; - readonly LINE_STRIP: number; - readonly LINE_WIDTH: number; - readonly LINEAR: number; - readonly LINEAR_MIPMAP_LINEAR: number; - readonly LINEAR_MIPMAP_NEAREST: number; - readonly LINES: number; - readonly LINK_STATUS: number; - readonly LOW_FLOAT: number; - readonly LOW_INT: number; - readonly LUMINANCE: number; - readonly LUMINANCE_ALPHA: number; - readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number; - readonly MAX_CUBE_MAP_TEXTURE_SIZE: number; - readonly MAX_FRAGMENT_UNIFORM_VECTORS: number; - readonly MAX_RENDERBUFFER_SIZE: number; - readonly MAX_TEXTURE_IMAGE_UNITS: number; - readonly MAX_TEXTURE_SIZE: number; - readonly MAX_VARYING_VECTORS: number; - readonly MAX_VERTEX_ATTRIBS: number; - readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number; - readonly MAX_VERTEX_UNIFORM_VECTORS: number; - readonly MAX_VIEWPORT_DIMS: number; - readonly MEDIUM_FLOAT: number; - readonly MEDIUM_INT: number; - readonly MIRRORED_REPEAT: number; - readonly NEAREST: number; - readonly NEAREST_MIPMAP_LINEAR: number; - readonly NEAREST_MIPMAP_NEAREST: number; - readonly NEVER: number; - readonly NICEST: number; - readonly NO_ERROR: number; +declare var Event: { + prototype: Event; + new(typeArg: string, eventInitDict?: EventInit): Event; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; + readonly NONE: number; +}; + +interface EventListenerObject { + handleEvent(evt: Event): void; +} + +interface EventSource extends EventTarget { + readonly CLOSED: number; + readonly CONNECTING: number; + readonly OPEN: number; + onerror: (evt: MessageEvent) => any; + onmessage: (evt: MessageEvent) => any; + onopen: (evt: MessageEvent) => any; + readonly readyState: number; + readonly url: string; + readonly withCredentials: boolean; + close(): void; +} + +declare var EventSource: { + prototype: EventSource; + new(url: string, eventSourceInitDict?: EventSourceInit): EventSource; +}; + +interface EventSourceInit { + readonly withCredentials: boolean; +} + +interface EventTarget { + addEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; + dispatchEvent(evt: Event): boolean; + removeEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; +} + +declare var EventTarget: { + prototype: EventTarget; + new(): EventTarget; +}; + +interface ExtensionScriptApis { + extensionIdToShortId(extensionId: string): number; + fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void; + genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void; + genericSynchronousFunction(functionId: number, parameters?: string): string; + genericWebRuntimeCallout(to: any, from: any, payload: string): void; + getExtensionId(): string; + registerGenericFunctionCallbackHandler(callbackHandler: Function): void; + registerGenericPersistentCallbackHandler(callbackHandler: Function): void; + registerWebRuntimeCallbackHandler(handler: Function): any; +} + +declare var ExtensionScriptApis: { + prototype: ExtensionScriptApis; + new(): ExtensionScriptApis; +}; + +interface External { +} + +declare var External: { + prototype: External; + new(): External; +}; + +interface File extends Blob { + readonly lastModified: number; + /** @deprecated */ + readonly lastModifiedDate: Date; + readonly name: string; + readonly webkitRelativePath: string; +} + +declare var File: { + prototype: File; + new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File; +}; + +interface FileList { + readonly length: number; + item(index: number): File | null; + [index: number]: File | null; +} + +declare var FileList: { + prototype: FileList; + new(): FileList; +}; + +interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} + +interface FileReaderEventMap { + "abort": ProgressEvent; + "error": ProgressEvent; + "load": ProgressEvent; + "loadend": ProgressEvent; + "loadstart": ProgressEvent; + "progress": ProgressEvent; +} + +interface FileReader extends EventTarget { + readonly error: DOMException | null; + onabort: ((this: FileReader , ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader , ev: ProgressEvent) => any) | null; + onload: ((this: FileReader , ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader , ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; + readonly readyState: number; + readonly result: string | ArrayBuffer | null; + abort(): void; + readAsArrayBuffer(blob: Blob): void; + readAsBinaryString(blob: Blob): void; + readAsDataURL(blob: Blob): void; + readAsText(blob: Blob, label?: string): void; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; + addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var FileReader: { + prototype: FileReader; + new(): FileReader; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; +}; + +interface FocusEvent extends UIEvent { + readonly relatedTarget: EventTarget; + initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void; +} + +declare var FocusEvent: { + prototype: FocusEvent; + new(typeArg: string, eventInitDict?: FocusEventInit): FocusEvent; +}; + +interface FocusNavigationEvent extends Event { + readonly navigationReason: NavigationReason; + readonly originHeight: number; + readonly originLeft: number; + readonly originTop: number; + readonly originWidth: number; + requestFocus(): void; +} + +declare var FocusNavigationEvent: { + prototype: FocusNavigationEvent; + new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent; +}; + +interface FormData { + append(name: string, value: string | Blob, fileName?: string): void; + delete(name: string): void; + get(name: string): FormDataEntryValue | null; + getAll(name: string): FormDataEntryValue[]; + has(name: string): boolean; + set(name: string, value: string | Blob, fileName?: string): void; +} + +declare var FormData: { + prototype: FormData; + new(): FormData; + new(form: HTMLFormElement): FormData; +}; + +interface GainNode extends AudioNode { + readonly gain: AudioParam; +} + +declare var GainNode: { + prototype: GainNode; + new(): GainNode; +}; + +interface Gamepad { + readonly axes: number[]; + readonly buttons: GamepadButton[]; + readonly connected: boolean; + readonly displayId: number; + readonly hand: GamepadHand; + readonly hapticActuators: GamepadHapticActuator[]; + readonly id: string; + readonly index: number; + readonly mapping: GamepadMappingType; + readonly pose: GamepadPose | null; + readonly timestamp: number; +} + +declare var Gamepad: { + prototype: Gamepad; + new(): Gamepad; +}; + +interface GamepadButton { + readonly pressed: boolean; + readonly touched: boolean; + readonly value: number; +} + +declare var GamepadButton: { + prototype: GamepadButton; + new(): GamepadButton; +}; + +interface GamepadEvent extends Event { + readonly gamepad: Gamepad; +} + +declare var GamepadEvent: { + prototype: GamepadEvent; + new(typeArg: string, eventInitDict?: GamepadEventInit): GamepadEvent; +}; + +interface GamepadHapticActuator { + readonly type: GamepadHapticActuatorType; + pulse(value: number, duration: number): Promise; +} + +declare var GamepadHapticActuator: { + prototype: GamepadHapticActuator; + new(): GamepadHapticActuator; +}; + +interface GamepadPose { + readonly angularAcceleration: Float32Array | null; + readonly angularVelocity: Float32Array | null; + readonly hasOrientation: boolean; + readonly hasPosition: boolean; + readonly linearAcceleration: Float32Array | null; + readonly linearVelocity: Float32Array | null; + readonly orientation: Float32Array | null; + readonly position: Float32Array | null; +} + +declare var GamepadPose: { + prototype: GamepadPose; + new(): GamepadPose; +}; + +interface Geolocation { + clearWatch(watchId: number): void; + getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void; + watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number; +} + +declare var Geolocation: { + prototype: Geolocation; + new(): Geolocation; +}; + +interface GetSVGDocument { + getSVGDocument(): Document; +} + +interface GlobalEventHandlersEventMap { + "pointercancel": PointerEvent; + "pointerdown": PointerEvent; + "pointerenter": PointerEvent; + "pointerleave": PointerEvent; + "pointermove": PointerEvent; + "pointerout": PointerEvent; + "pointerover": PointerEvent; + "pointerup": PointerEvent; + "wheel": WheelEvent; +} + +interface GlobalEventHandlers { + onpointercancel: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerdown: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerenter: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerleave: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointermove: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerout: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerover: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onpointerup: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; + onwheel: ((this: GlobalEventHandlers , ev: WheelEvent) => any) | null; + addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +interface GlobalFetch { + fetch(input?: Request | string, init?: RequestInit): Promise; +} + +interface HTMLAllCollection { + readonly length: number; + item(nameOrIndex?: string): HTMLCollection | Element | null; + namedItem(name: string): HTMLCollection | Element | null; + [index: number]: Element | null; +} + +declare var HTMLAllCollection: { + prototype: HTMLAllCollection; + new(): HTMLAllCollection; +}; + +interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { + Methods: string; + /** + * Sets or retrieves the character set used to encode the object. + */ + /** @deprecated */ + charset: string; + /** + * Sets or retrieves the coordinates of the object. + */ + /** @deprecated */ + coords: string; + download: string; + /** + * Sets or retrieves the language code of the object. + */ + hreflang: string; + readonly mimeType: string; + /** + * Sets or retrieves the shape of the object. + */ + /** @deprecated */ + name: string; + readonly nameProp: string; + readonly protocolLong: string; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + */ + rel: string; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + */ + /** @deprecated */ + rev: string; + /** + * Sets or retrieves the shape of the object. + */ + /** @deprecated */ + shape: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + /** + * Retrieves or sets the text of the object as a string. + */ + text: string; + type: string; + urn: string; + addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAnchorElement: { + prototype: HTMLAnchorElement; + new(): HTMLAnchorElement; +}; + +interface HTMLAppletElement extends HTMLElement { + /** @deprecated */ + align: string; + /** + * Sets or retrieves a text alternative to the graphic. + */ + /** @deprecated */ + alt: string; + /** + * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. + */ + /** @deprecated */ + archive: string; + /** @deprecated */ + code: string; + /** + * Sets or retrieves the URL of the component. + */ + /** @deprecated */ + codeBase: string; + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the height of the object. + */ + /** @deprecated */ + height: string; + /** @deprecated */ + hspace: number; + /** + * Sets or retrieves the shape of the object. + */ + /** @deprecated */ + name: string; + /** @deprecated */ + object: string; + /** @deprecated */ + vspace: number; + /** @deprecated */ + width: string; + addEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAppletElement: { + prototype: HTMLAppletElement; + new(): HTMLAppletElement; +}; + +interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { + /** + * Sets or retrieves a text alternative to the graphic. + */ + alt: string; + /** + * Sets or retrieves the coordinates of the object. + */ + coords: string; + download: string; + /** + * Sets or gets whether clicks in this region cause action. + */ + /** @deprecated */ + noHref: boolean; + rel: string; + /** + * Sets or retrieves the shape of the object. + */ + shape: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAreaElement: { + prototype: HTMLAreaElement; + new(): HTMLAreaElement; +}; + +interface HTMLAreasCollection extends HTMLCollectionBase { +} + +declare var HTMLAreasCollection: { + prototype: HTMLAreasCollection; + new(): HTMLAreasCollection; +}; + +interface HTMLAudioElement extends HTMLMediaElement { + addEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAudioElement: { + prototype: HTMLAudioElement; + new(): HTMLAudioElement; +}; + +interface HTMLBRElement extends HTMLElement { + /** + * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document. + */ + /** @deprecated */ + clear: string; + addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLBRElement: { + prototype: HTMLBRElement; + new(): HTMLBRElement; +}; + +interface HTMLBaseElement extends HTMLElement { + /** + * Gets or sets the baseline URL on which relative links are based. + */ + href: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + addEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLBaseElement: { + prototype: HTMLBaseElement; + new(): HTMLBaseElement; +}; + +interface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty { + /** + * Sets or retrieves the current typeface family. + */ + /** @deprecated */ + face: string; + /** + * Sets or retrieves the font size of the object. + */ + /** @deprecated */ + size: number; + addEventListener(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLBaseFontElement: { + prototype: HTMLBaseFontElement; + new(): HTMLBaseFontElement; +}; + +interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap { + "blur": FocusEvent; + "error": ErrorEvent; + "focus": FocusEvent; + "load": Event; + "orientationchange": Event; + "resize": UIEvent; + "scroll": UIEvent; +} + +interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { + /** @deprecated */ + aLink: string; + /** @deprecated */ + background: string; + /** @deprecated */ + bgColor: string; + bgProperties: string; + /** @deprecated */ + link: string; + /** @deprecated */ + noWrap: boolean; + onorientationchange: ((this: HTMLBodyElement , ev: Event) => any) | null; + onresize: ((this: HTMLBodyElement , ev: UIEvent) => any) | null; + /** @deprecated */ + text: string; + /** @deprecated */ + vLink: string; + addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLBodyElement: { + prototype: HTMLBodyElement; + new(): HTMLBodyElement; +}; + +interface HTMLButtonElement extends HTMLElement { + /** + * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. + */ + autofocus: boolean; + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Overrides the action attribute (where the data on a form is sent) on the parent form element. + */ + formAction: string; + /** + * Used to override the encoding (formEnctype attribute) specified on the form element. + */ + formEnctype: string; + /** + * Overrides the submit method attribute previously specified on a form element. + */ + formMethod: string; + /** + * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. + */ + formNoValidate: boolean; + /** + * Overrides the target attribute on a form element. + */ + formTarget: string; + /** + * Sets or retrieves the name of the object. + */ + name: string; + status: any; + /** + * Gets the classification and default behavior of the button. + */ + type: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** + * Sets or retrieves the default or selected value of the control. + */ + value: string; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLButtonElement: { + prototype: HTMLButtonElement; + new(): HTMLButtonElement; +}; + +interface HTMLCanvasElement extends HTMLElement { + /** + * Gets or sets the height of a canvas element on a document. + */ + height: number; + /** + * Gets or sets the width of a canvas element on a document. + */ + width: number; + /** + * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas. + * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl"); + */ + getContext(contextId: "2d", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null; + getContext(contextId: "webgl" | "experimental-webgl", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null; + getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null; + /** + * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing. + */ + msToBlob(): Blob; + toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void; + /** + * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element. + * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image. + */ + toDataURL(type?: string, ...args: any[]): string; + addEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLCanvasElement: { + prototype: HTMLCanvasElement; + new(): HTMLCanvasElement; +}; + +interface HTMLCollectionBase { + /** + * Sets or retrieves the number of objects in a collection. + */ + readonly length: number; + /** + * Retrieves an object from various collections. + */ + item(index: number): Element; + [index: number]: Element | null; +} + +interface HTMLCollection extends HTMLCollectionBase { + /** + * Retrieves a select object or an object from an options collection. + */ + namedItem(name: string): Element | null; +} + +declare var HTMLCollection: { + prototype: HTMLCollection; + new(): HTMLCollection; +}; + +interface HTMLCollectionOf extends HTMLCollectionBase { + item(index: number): T; + namedItem(name: string): T; + [index: number]: T; +} + +interface HTMLDListElement extends HTMLElement { + /** @deprecated */ + compact: boolean; + addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDListElement: { + prototype: HTMLDListElement; + new(): HTMLDListElement; +}; + +interface HTMLDataElement extends HTMLElement { + value: string; + addEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDataElement: { + prototype: HTMLDataElement; + new(): HTMLDataElement; +}; + +interface HTMLDataListElement extends HTMLElement { + readonly options: HTMLCollectionOf; + addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDataListElement: { + prototype: HTMLDataListElement; + new(): HTMLDataListElement; +}; + +interface HTMLDetailsElement extends HTMLElement { + open: boolean; + addEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDetailsElement: { + prototype: HTMLDetailsElement; + new(): HTMLDetailsElement; +}; + +interface HTMLDialogElement extends HTMLElement { + open: boolean; + returnValue: string; + close(returnValue?: string): void; + show(): void; + showModal(): void; + addEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDialogElement: { + prototype: HTMLDialogElement; + new(): HTMLDialogElement; +}; + +interface HTMLDirectoryElement extends HTMLElement { + compact: boolean; + addEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDirectoryElement: { + prototype: HTMLDirectoryElement; + new(): HTMLDirectoryElement; +}; + +interface HTMLDivElement extends HTMLElement { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** + * Sets or retrieves whether the browser automatically performs wordwrap. + */ + noWrap: boolean; + addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDivElement: { + prototype: HTMLDivElement; + new(): HTMLDivElement; +}; + +interface HTMLDocument extends Document { + addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLDocument: { + prototype: HTMLDocument; + new(): HTMLDocument; +}; + +interface HTMLElementEventMap extends ElementEventMap { + "abort": UIEvent; + "activate": UIEvent; + "beforeactivate": UIEvent; + "beforecopy": ClipboardEvent; + "beforecut": ClipboardEvent; + "beforedeactivate": UIEvent; + "beforepaste": ClipboardEvent; + "blur": FocusEvent; + "canplay": Event; + "canplaythrough": Event; + "change": Event; + "click": MouseEvent; + "contextmenu": PointerEvent; + "copy": ClipboardEvent; + "cuechange": Event; + "cut": ClipboardEvent; + "dblclick": MouseEvent; + "deactivate": UIEvent; + "drag": DragEvent; + "dragend": DragEvent; + "dragenter": DragEvent; + "dragleave": DragEvent; + "dragover": DragEvent; + "dragstart": DragEvent; + "drop": DragEvent; + "durationchange": Event; + "emptied": Event; + "ended": Event; + "error": ErrorEvent; + "focus": FocusEvent; + "input": Event; + "invalid": Event; + "keydown": KeyboardEvent; + "keypress": KeyboardEvent; + "keyup": KeyboardEvent; + "load": Event; + "loadeddata": Event; + "loadedmetadata": Event; + "loadstart": Event; + "mousedown": MouseEvent; + "mouseenter": MouseEvent; + "mouseleave": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; + "mousewheel": WheelEvent; + "MSContentZoom": UIEvent; + "MSManipulationStateChanged": MSManipulationEvent; + "paste": ClipboardEvent; + "pause": Event; + "play": Event; + "playing": Event; + "progress": ProgressEvent; + "ratechange": Event; + "reset": Event; + "scroll": UIEvent; + "seeked": Event; + "seeking": Event; + "select": UIEvent; + "selectstart": Event; + "stalled": Event; + "submit": Event; + "suspend": Event; + "timeupdate": Event; + "volumechange": Event; + "waiting": Event; +} + +interface HTMLElement extends Element, ElementCSSInlineStyle { + accessKey: string; + contentEditable: string; + readonly dataset: DOMStringMap; + dir: string; + draggable: boolean; + hidden: boolean; + hideFocus: boolean; + innerText: string; + readonly isContentEditable: boolean; + lang: string; + readonly offsetHeight: number; + readonly offsetLeft: number; + readonly offsetParent: Element; + readonly offsetTop: number; + readonly offsetWidth: number; + onabort: ((this: HTMLElement , ev: UIEvent) => any) | null; + onactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; + onbeforeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; + onbeforecopy: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + onbeforecut: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + onbeforedeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; + onbeforepaste: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + onblur: ((this: HTMLElement , ev: FocusEvent) => any) | null; + oncanplay: ((this: HTMLElement , ev: Event) => any) | null; + oncanplaythrough: ((this: HTMLElement , ev: Event) => any) | null; + onchange: ((this: HTMLElement , ev: Event) => any) | null; + onclick: ((this: HTMLElement , ev: MouseEvent) => any) | null; + oncontextmenu: ((this: HTMLElement , ev: PointerEvent) => any) | null; + oncopy: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + oncuechange: ((this: HTMLElement , ev: Event) => any) | null; + oncut: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + ondblclick: ((this: HTMLElement , ev: MouseEvent) => any) | null; + ondeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; + ondrag: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondragend: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondragenter: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondragleave: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondragover: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondragstart: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondrop: ((this: HTMLElement , ev: DragEvent) => any) | null; + ondurationchange: ((this: HTMLElement , ev: Event) => any) | null; + onemptied: ((this: HTMLElement , ev: Event) => any) | null; + onended: ((this: HTMLElement , ev: Event) => any) | null; + onerror: ((this: HTMLElement , ev: ErrorEvent) => any) | null; + onfocus: ((this: HTMLElement , ev: FocusEvent) => any) | null; + oninput: ((this: HTMLElement , ev: Event) => any) | null; + oninvalid: ((this: HTMLElement , ev: Event) => any) | null; + onkeydown: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; + onkeypress: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; + onkeyup: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; + onload: ((this: HTMLElement , ev: Event) => any) | null; + onloadeddata: ((this: HTMLElement , ev: Event) => any) | null; + onloadedmetadata: ((this: HTMLElement , ev: Event) => any) | null; + onloadstart: ((this: HTMLElement , ev: Event) => any) | null; + onmousedown: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmouseenter: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmouseleave: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmousemove: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmouseout: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmouseover: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmouseup: ((this: HTMLElement , ev: MouseEvent) => any) | null; + onmousewheel: ((this: HTMLElement , ev: WheelEvent) => any) | null; + onmscontentzoom: ((this: HTMLElement , ev: UIEvent) => any) | null; + onmsmanipulationstatechanged: ((this: HTMLElement , ev: MSManipulationEvent) => any) | null; + onpaste: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + onpause: ((this: HTMLElement , ev: Event) => any) | null; + onplay: ((this: HTMLElement , ev: Event) => any) | null; + onplaying: ((this: HTMLElement , ev: Event) => any) | null; + onprogress: ((this: HTMLElement , ev: ProgressEvent) => any) | null; + onratechange: ((this: HTMLElement , ev: Event) => any) | null; + onreset: ((this: HTMLElement , ev: Event) => any) | null; + onscroll: ((this: HTMLElement , ev: UIEvent) => any) | null; + onseeked: ((this: HTMLElement , ev: Event) => any) | null; + onseeking: ((this: HTMLElement , ev: Event) => any) | null; + onselect: ((this: HTMLElement , ev: UIEvent) => any) | null; + onselectstart: ((this: HTMLElement , ev: Event) => any) | null; + onstalled: ((this: HTMLElement , ev: Event) => any) | null; + onsubmit: ((this: HTMLElement , ev: Event) => any) | null; + onsuspend: ((this: HTMLElement , ev: Event) => any) | null; + ontimeupdate: ((this: HTMLElement , ev: Event) => any) | null; + onvolumechange: ((this: HTMLElement , ev: Event) => any) | null; + onwaiting: ((this: HTMLElement , ev: Event) => any) | null; + outerText: string; + spellcheck: boolean; + tabIndex: number; + title: string; + animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation; + blur(): void; + click(): void; + dragDrop(): boolean; + focus(): void; + msGetInputContext(): MSInputMethodContext; + addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLElement: { + prototype: HTMLElement; + new(): HTMLElement; +}; + +interface HTMLEmbedElement extends HTMLElement, GetSVGDocument { + /** + * Sets or retrieves the height of the object. + */ + height: string; + hidden: any; + /** + * Gets or sets whether the DLNA PlayTo device is available. + */ + msPlayToDisabled: boolean; + /** + * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. + */ + msPlayToPreferredSourceUri: string; + /** + * Gets or sets the primary DLNA PlayTo device. + */ + msPlayToPrimary: boolean; + /** + * Gets the source associated with the media element for use by the PlayToManager. + */ + readonly msPlayToSource: any; + /** + * Sets or retrieves the name of the object. + */ + /** @deprecated */ + name: string; + /** + * Retrieves the palette used for the embedded document. + */ + readonly palette: string; + /** + * Retrieves the URL of the plug-in used to view an embedded document. + */ + readonly pluginspage: string; + readonly readyState: string; + /** + * Sets or retrieves a URL to be loaded by the object. + */ + src: string; + /** + * Sets or retrieves the height and width units of the embed object. + */ + units: string; + /** + * Sets or retrieves the width of the object. + */ + width: string; + addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLEmbedElement: { + prototype: HTMLEmbedElement; + new(): HTMLEmbedElement; +}; + +interface HTMLFieldSetElement extends HTMLElement { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + align: string; + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + name: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLFieldSetElement: { + prototype: HTMLFieldSetElement; + new(): HTMLFieldSetElement; +}; + +interface HTMLFontElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { + /** + * Sets or retrieves the current typeface family. + */ + /** @deprecated */ + face: string; + addEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLFontElement: { + prototype: HTMLFontElement; + new(): HTMLFontElement; +}; + +interface HTMLFormControlsCollection extends HTMLCollectionBase { + namedItem(name: string): HTMLCollection | Element | null; +} + +declare var HTMLFormControlsCollection: { + prototype: HTMLFormControlsCollection; + new(): HTMLFormControlsCollection; +}; + +interface HTMLFormElement extends HTMLElement { + /** + * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. + */ + acceptCharset: string; + /** + * Sets or retrieves the URL to which the form content is sent for processing. + */ + action: string; + /** + * Specifies whether autocomplete is applied to an editable text field. + */ + autocomplete: string; + /** + * Retrieves a collection, in source order, of all controls in a given form. + */ + readonly elements: HTMLFormControlsCollection; + /** + * Sets or retrieves the MIME encoding for the form. + */ + encoding: string; + /** + * Sets or retrieves the encoding type for the form. + */ + enctype: string; + /** + * Sets or retrieves the number of objects in a collection. + */ + readonly length: number; + /** + * Sets or retrieves how to send the form data to the server. + */ + method: string; + /** + * Sets or retrieves the name of the object. + */ + name: string; + /** + * Designates a form that is not validated when submitted. + */ + noValidate: boolean; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Retrieves a form object or an object from an elements collection. + * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made. + * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned. + */ + item(name?: any, index?: any): any; + /** + * Retrieves a form object or an object from an elements collection. + */ + namedItem(name: string): any; + reportValidity(): boolean; + /** + * Fires when the user resets a form. + */ + reset(): void; + /** + * Fires when a FORM is about to be submitted. + */ + submit(): void; + addEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; + [name: string]: any; +} + +declare var HTMLFormElement: { + prototype: HTMLFormElement; + new(): HTMLFormElement; +}; + +interface HTMLFrameElementEventMap extends HTMLElementEventMap { + "load": Event; +} + +interface HTMLFrameElement extends HTMLElement, GetSVGDocument { + /** + * Specifies the properties of a border drawn around an object. + */ + border: string; + /** + * Sets or retrieves the border color of the object. + */ + borderColor: any; + /** + * Retrieves the document object of the page or frame. + */ + /** @deprecated */ + readonly contentDocument: Document | null; + /** + * Retrieves the object of the specified. + */ + /** @deprecated */ + readonly contentWindow: Window | null; + /** + * Sets or retrieves whether to display a border for the frame. + */ + /** @deprecated */ + frameBorder: string; + /** + * Sets or retrieves the amount of additional space between the frames. + */ + frameSpacing: any; + /** + * Sets or retrieves the height of the object. + */ + height: string | number; + /** + * Sets or retrieves a URI to a long description of the object. + */ + /** @deprecated */ + longDesc: string; + /** + * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. + */ + /** @deprecated */ + marginHeight: string; + /** + * Sets or retrieves the left and right margin widths before displaying the text in a frame. + */ + /** @deprecated */ + marginWidth: string; + /** + * Sets or retrieves the frame name. + */ + /** @deprecated */ + name: string; + /** + * Sets or retrieves whether the user can resize the frame. + */ + /** @deprecated */ + noResize: boolean; + /** + * Sets or retrieves whether the frame can be scrolled. + */ + /** @deprecated */ + scrolling: string; + /** + * Sets or retrieves a URL to be loaded by the object. + */ + /** @deprecated */ + src: string; + /** + * Sets or retrieves the width of the object. + */ + width: string | number; + addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLFrameElement: { + prototype: HTMLFrameElement; + new(): HTMLFrameElement; +}; + +interface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap { + "blur": FocusEvent; + "error": ErrorEvent; + "focus": FocusEvent; + "load": Event; + "orientationchange": Event; + "resize": UIEvent; + "scroll": UIEvent; +} + +interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { + /** + * Sets or retrieves the frame widths of the object. + */ + /** @deprecated */ + cols: string; + name: string; + onorientationchange: ((this: HTMLFrameSetElement , ev: Event) => any) | null; + onresize: ((this: HTMLFrameSetElement , ev: UIEvent) => any) | null; + /** + * Sets or retrieves the frame heights of the object. + */ + /** @deprecated */ + rows: string; + addEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLFrameSetElement: { + prototype: HTMLFrameSetElement; + new(): HTMLFrameSetElement; +}; + +interface HTMLHRElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** + * Sets or retrieves whether the horizontal rule is drawn with 3-D shading. + */ + /** @deprecated */ + noShade: boolean; + /** + * Sets or retrieves the width of the object. + */ + /** @deprecated */ + width: string; + addEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLHRElement: { + prototype: HTMLHRElement; + new(): HTMLHRElement; +}; + +interface HTMLHeadElement extends HTMLElement { + /** @deprecated */ + profile: string; + addEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLHeadElement: { + prototype: HTMLHeadElement; + new(): HTMLHeadElement; +}; + +interface HTMLHeadingElement extends HTMLElement { + /** + * Sets or retrieves a value that indicates the table alignment. + */ + /** @deprecated */ + align: string; + addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLHeadingElement: { + prototype: HTMLHeadingElement; + new(): HTMLHeadingElement; +}; + +interface HTMLHtmlElement extends HTMLElement { + /** + * Sets or retrieves the DTD version that governs the current document. + */ + /** @deprecated */ + version: string; + addEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLHtmlElement: { + prototype: HTMLHtmlElement; + new(): HTMLHtmlElement; +}; + +interface HTMLHyperlinkElementUtils { + hash: string; + host: string; + hostname: string; + href: string; + pathname: string; + port: string; + protocol: string; + search: string; + toString(): string; +} + +interface HTMLIFrameElementEventMap extends HTMLElementEventMap { + "load": Event; +} + +interface HTMLIFrameElement extends HTMLElement, GetSVGDocument { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + allowFullscreen: boolean; + allowPaymentRequest: boolean; + /** + * Retrieves the document object of the page or frame. + */ + readonly contentDocument: Document | null; + /** + * Retrieves the object of the specified. + */ + readonly contentWindow: Window | null; + /** + * Sets or retrieves whether to display a border for the frame. + */ + /** @deprecated */ + frameBorder: string; + /** + * Sets or retrieves the height of the object. + */ + height: string; + /** + * Sets or retrieves a URI to a long description of the object. + */ + /** @deprecated */ + longDesc: string; + /** + * Sets or retrieves the top and bottom margin heights before displaying the text in a frame. + */ + /** @deprecated */ + marginHeight: string; + /** + * Sets or retrieves the left and right margin widths before displaying the text in a frame. + */ + /** @deprecated */ + marginWidth: string; + /** + * Sets or retrieves the frame name. + */ + name: string; + readonly sandbox: DOMTokenList; + /** + * Sets or retrieves whether the frame can be scrolled. + */ + /** @deprecated */ + scrolling: string; + /** + * Sets or retrieves a URL to be loaded by the object. + */ + src: string; + /** + * Sets or retrives the content of the page that is to contain. + */ + srcdoc: string; + /** + * Sets or retrieves the width of the object. + */ + width: string; + addEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLIFrameElement: { + prototype: HTMLIFrameElement; + new(): HTMLIFrameElement; +}; + +interface HTMLImageElement extends HTMLElement { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** + * Sets or retrieves a text alternative to the graphic. + */ + alt: string; + /** + * Specifies the properties of a border drawn around an object. + */ + /** @deprecated */ + border: string; + /** + * Retrieves whether the object is fully loaded. + */ + readonly complete: boolean; + crossOrigin: string | null; + readonly currentSrc: string; + /** + * Sets or retrieves the height of the object. + */ + height: number; + /** + * Sets or retrieves the width of the border to draw around the object. + */ + /** @deprecated */ + hspace: number; + /** + * Sets or retrieves whether the image is a server-side image map. + */ + isMap: boolean; + /** + * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object. + */ + longDesc: string; + /** @deprecated */ + lowsrc: string; + /** + * Gets or sets whether the DLNA PlayTo device is available. + */ + msPlayToDisabled: boolean; + msPlayToPreferredSourceUri: string; + /** + * Gets or sets the primary DLNA PlayTo device. + */ + msPlayToPrimary: boolean; + /** + * Gets the source associated with the media element for use by the PlayToManager. + */ + readonly msPlayToSource: any; + /** + * Sets or retrieves the name of the object. + */ + /** @deprecated */ + name: string; + /** + * The original height of the image resource before sizing. + */ + readonly naturalHeight: number; + /** + * The original width of the image resource before sizing. + */ + readonly naturalWidth: number; + sizes: string; + /** + * The address or URL of the a media resource that is to be considered. + */ + src: string; + srcset: string; + /** + * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. + */ + useMap: string; + /** + * Sets or retrieves the vertical margin for the object. + */ + /** @deprecated */ + vspace: number; + /** + * Sets or retrieves the width of the object. + */ + width: number; + readonly x: number; + readonly y: number; + msGetAsCastingSource(): any; + addEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLImageElement: { + prototype: HTMLImageElement; + new(): HTMLImageElement; +}; + +interface HTMLInputElement extends HTMLElement { + /** + * Sets or retrieves a comma-separated list of content types. + */ + accept: string; + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** + * Sets or retrieves a text alternative to the graphic. + */ + alt: string; + /** + * Specifies whether autocomplete is applied to an editable text field. + */ + autocomplete: string; + /** + * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. + */ + autofocus: boolean; + /** + * Sets or retrieves the state of the check box or radio button. + */ + checked: boolean; + /** + * Sets or retrieves the state of the check box or radio button. + */ + defaultChecked: boolean; + /** + * Sets or retrieves the initial contents of the object. + */ + defaultValue: string; + disabled: boolean; + /** + * Returns a FileList object on a file type input object. + */ + readonly files: FileList | null; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Overrides the action attribute (where the data on a form is sent) on the parent form element. + */ + formAction: string; + /** + * Used to override the encoding (formEnctype attribute) specified on the form element. + */ + formEnctype: string; + /** + * Overrides the submit method attribute previously specified on a form element. + */ + formMethod: string; + /** + * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. + */ + formNoValidate: boolean; + /** + * Overrides the target attribute on a form element. + */ + formTarget: string; + /** + * Sets or retrieves the height of the object. + */ + height: number; + indeterminate: boolean; + /** + * Specifies the ID of a pre-defined datalist of options for an input element. + */ + readonly list: HTMLElement | null; + /** + * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. + */ + max: string; + /** + * Sets or retrieves the maximum number of characters that the user can enter in a text control. + */ + maxLength: number; + /** + * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. + */ + min: string; + minLength: number; + /** + * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. + */ + multiple: boolean; + /** + * Sets or retrieves the name of the object. + */ + name: string; + /** + * Gets or sets a string containing a regular expression that the user's input must match. + */ + pattern: string; + /** + * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. + */ + placeholder: string; + readOnly: boolean; + /** + * When present, marks an element that can't be submitted without a value. + */ + required: boolean; + selectionDirection: string | null; + /** + * Gets or sets the end position or offset of a text selection. + */ + selectionEnd: number | null; + /** + * Gets or sets the starting position or offset of a text selection. + */ + selectionStart: number | null; + size: number; + /** + * The address or URL of the a media resource that is to be considered. + */ + src: string; + /** + * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. + */ + step: string; + /** + * Returns the content type of the object. + */ + type: string; + /** + * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. + */ + /** @deprecated */ + useMap: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** + * Returns the value of the data at the cursor's current position. + */ + value: string; + valueAsDate: any; + /** + * Returns the input field value as a number. + */ + valueAsNumber: number; + webkitdirectory: boolean; + /** + * Sets or retrieves the width of the object. + */ + width: number; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Makes the selection equal to the current object. + */ + select(): void; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + /** + * Sets the start and end positions of a selection in a text field. + * @param start The offset into the text field for the start of the selection. + * @param end The offset into the text field for the end of the selection. + * @param direction The direction in which the selection is performed. + */ + setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void; + /** + * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value. + * @param n Value to decrement the value by. + */ + stepDown(n?: number): void; + /** + * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value. + * @param n Value to increment the value by. + */ + stepUp(n?: number): void; + addEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLInputElement: { + prototype: HTMLInputElement; + new(): HTMLInputElement; +}; + +interface HTMLLIElement extends HTMLElement { + /** @deprecated */ + type: string; + /** + * Sets or retrieves the value of a list item. + */ + value: number; + addEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLLIElement: { + prototype: HTMLLIElement; + new(): HTMLLIElement; +}; + +interface HTMLLabelElement extends HTMLElement { + readonly control: HTMLInputElement | null; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the object to which the given label object is assigned. + */ + htmlFor: string; + addEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLLabelElement: { + prototype: HTMLLabelElement; + new(): HTMLLabelElement; +}; + +interface HTMLLegendElement extends HTMLElement { + /** + * Retrieves a reference to the form that the object is embedded in. + */ + /** @deprecated */ + align: string; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLLegendElement: { + prototype: HTMLLegendElement; + new(): HTMLLegendElement; +}; + +interface HTMLLinkElement extends HTMLElement, LinkStyle { + /** + * Sets or retrieves the character set used to encode the object. + */ + /** @deprecated */ + charset: string; + crossOrigin: string | null; + /** @deprecated */ + disabled: boolean; + /** + * Sets or retrieves a destination URL or an anchor point. + */ + href: string; + /** + * Sets or retrieves the language code of the object. + */ + hreflang: string; + import?: Document; + integrity: string; + /** + * Sets or retrieves the media type. + */ + media: string; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + */ + rel: string; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + */ + /** @deprecated */ + rev: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + /** @deprecated */ + target: string; + /** + * Sets or retrieves the MIME type of the object. + */ + type: string; + addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLLinkElement: { + prototype: HTMLLinkElement; + new(): HTMLLinkElement; +}; + +interface HTMLMainElement extends HTMLElement { + addEventListener(type: K, listener: (this: HTMLMainElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMainElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMainElement: { + prototype: HTMLMainElement; + new(): HTMLMainElement; +}; + +interface HTMLMapElement extends HTMLElement { + /** + * Retrieves a collection of the area objects defined for the given map object. + */ + readonly areas: HTMLAreasCollection; + /** + * Sets or retrieves the name of the object. + */ + name: string; + addEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMapElement: { + prototype: HTMLMapElement; + new(): HTMLMapElement; +}; + +interface HTMLMarqueeElementEventMap extends HTMLElementEventMap { + "bounce": Event; + "finish": Event; + "start": Event; +} + +interface HTMLMarqueeElement extends HTMLElement { + /** @deprecated */ + behavior: string; + /** @deprecated */ + bgColor: string; + /** @deprecated */ + direction: string; + /** @deprecated */ + height: string; + /** @deprecated */ + hspace: number; + /** @deprecated */ + loop: number; + /** @deprecated */ + onbounce: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + /** @deprecated */ + onfinish: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + /** @deprecated */ + onstart: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + /** @deprecated */ + scrollAmount: number; + /** @deprecated */ + scrollDelay: number; + /** @deprecated */ + trueSpeed: boolean; + /** @deprecated */ + vspace: number; + /** @deprecated */ + width: string; + /** @deprecated */ + start(): void; + /** @deprecated */ + stop(): void; + addEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMarqueeElement: { + prototype: HTMLMarqueeElement; + new(): HTMLMarqueeElement; +}; + +interface HTMLMediaElementEventMap extends HTMLElementEventMap { + "encrypted": MediaEncryptedEvent; + "msneedkey": MSMediaKeyNeededEvent; +} + +interface HTMLMediaElement extends HTMLElement { + /** + * Returns an AudioTrackList object with the audio tracks for a given video element. + */ + readonly audioTracks: AudioTrackList; + /** + * Gets or sets a value that indicates whether to start playing the media automatically. + */ + autoplay: boolean; + /** + * Gets a collection of buffered time ranges. + */ + readonly buffered: TimeRanges; + /** + * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). + */ + controls: boolean; + crossOrigin: string | null; + /** + * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. + */ + readonly currentSrc: string; + /** + * Gets or sets the current playback position, in seconds. + */ + currentTime: number; + defaultMuted: boolean; + /** + * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. + */ + defaultPlaybackRate: number; + /** + * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming. + */ + readonly duration: number; + /** + * Gets information about whether the playback has ended or not. + */ + readonly ended: boolean; + /** + * Returns an object representing the current error state of the audio or video element. + */ + readonly error: MediaError | null; + /** + * Gets or sets a flag to specify whether playback should restart after it completes. + */ + loop: boolean; + readonly mediaKeys: MediaKeys | null; + /** + * Specifies the purpose of the audio or video media, such as background audio or alerts. + */ + msAudioCategory: string; + /** + * Specifies the output device id that the audio will be sent to. + */ + msAudioDeviceType: string; + readonly msGraphicsTrustStatus: MSGraphicsTrust; + /** + * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element. + */ + /** @deprecated */ + readonly msKeys: MSMediaKeys; + /** + * Gets or sets whether the DLNA PlayTo device is available. + */ + msPlayToDisabled: boolean; + /** + * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. + */ + msPlayToPreferredSourceUri: string; + /** + * Gets or sets the primary DLNA PlayTo device. + */ + msPlayToPrimary: boolean; + /** + * Gets the source associated with the media element for use by the PlayToManager. + */ + readonly msPlayToSource: any; + /** + * Specifies whether or not to enable low-latency playback on the media element. + */ + msRealTime: boolean; + /** + * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. + */ + muted: boolean; + /** + * Gets the current network activity for the element. + */ + readonly networkState: number; + onencrypted: ((this: HTMLMediaElement , ev: MediaEncryptedEvent) => any) | null; + /** @deprecated */ + onmsneedkey: ((this: HTMLMediaElement , ev: MSMediaKeyNeededEvent) => any) | null; + /** + * Gets a flag that specifies whether playback is paused. + */ + readonly paused: boolean; + /** + * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. + */ + playbackRate: number; + /** + * Gets TimeRanges for the current media resource that has been played. + */ + readonly played: TimeRanges; + /** + * Gets or sets the current playback position, in seconds. + */ + preload: string; + readonly readyState: number; + /** + * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. + */ + readonly seekable: TimeRanges; + /** + * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource. + */ + readonly seeking: boolean; + /** + * The address or URL of the a media resource that is to be considered. + */ + src: string; + srcObject: MediaStream | MediaSource | Blob | null; + readonly textTracks: TextTrackList; + readonly videoTracks: VideoTrackList; + /** + * Gets or sets the volume level for audio portions of the media element. + */ + volume: number; + addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack; + /** + * Returns a string that specifies whether the client can play a given media resource type. + */ + canPlayType(type: string): CanPlayTypeResult; + /** + * Resets the audio or video object and loads a new media resource. + */ + load(): void; + /** + * Clears all effects from the media pipeline. + */ + msClearEffects(): void; + msGetAsCastingSource(): any; + /** + * Inserts the specified audio effect into media pipeline. + */ + msInsertAudioEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; + /** @deprecated */ + msSetMediaKeys(mediaKeys: MSMediaKeys): void; + /** + * Specifies the media protection manager for a given media pipeline. + */ + msSetMediaProtectionManager(mediaProtectionManager?: any): void; + /** + * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not. + */ + pause(): void; + /** + * Loads and starts playback of a media resource. + */ + play(): Promise; + setMediaKeys(mediaKeys: MediaKeys | null): Promise; + readonly HAVE_CURRENT_DATA: number; + readonly HAVE_ENOUGH_DATA: number; + readonly HAVE_FUTURE_DATA: number; + readonly HAVE_METADATA: number; + readonly HAVE_NOTHING: number; + readonly NETWORK_EMPTY: number; + readonly NETWORK_IDLE: number; + readonly NETWORK_LOADING: number; + readonly NETWORK_NO_SOURCE: number; + addEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMediaElement: { + prototype: HTMLMediaElement; + new(): HTMLMediaElement; + readonly HAVE_CURRENT_DATA: number; + readonly HAVE_ENOUGH_DATA: number; + readonly HAVE_FUTURE_DATA: number; + readonly HAVE_METADATA: number; + readonly HAVE_NOTHING: number; + readonly NETWORK_EMPTY: number; + readonly NETWORK_IDLE: number; + readonly NETWORK_LOADING: number; + readonly NETWORK_NO_SOURCE: number; +}; + +interface HTMLMenuElement extends HTMLElement { + /** @deprecated */ + compact: boolean; + type: string; + addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMenuElement: { + prototype: HTMLMenuElement; + new(): HTMLMenuElement; +}; + +interface HTMLMetaElement extends HTMLElement { + /** + * Sets or retrieves the character set used to encode the object. + */ + /** @deprecated */ + charset: string; + /** + * Gets or sets meta-information to associate with httpEquiv or name. + */ + content: string; + /** + * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. + */ + httpEquiv: string; + /** + * Sets or retrieves the value specified in the content attribute of the meta object. + */ + name: string; + /** + * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object. + */ + /** @deprecated */ + scheme: string; + /** + * Sets or retrieves the URL property that will be loaded after the specified time has elapsed. + */ + /** @deprecated */ + url: string; + addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMetaElement: { + prototype: HTMLMetaElement; + new(): HTMLMetaElement; +}; + +interface HTMLMeterElement extends HTMLElement { + high: number; + low: number; + max: number; + min: number; + optimum: number; + value: number; + addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLMeterElement: { + prototype: HTMLMeterElement; + new(): HTMLMeterElement; +}; + +interface HTMLModElement extends HTMLElement { + /** + * Sets or retrieves reference information about the object. + */ + cite: string; + /** + * Sets or retrieves the date and time of a modification to the object. + */ + dateTime: string; + addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLModElement: { + prototype: HTMLModElement; + new(): HTMLModElement; +}; + +interface HTMLOListElement extends HTMLElement { + /** @deprecated */ + compact: boolean; + /** + * The starting number. + */ + start: number; + type: string; + addEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLOListElement: { + prototype: HTMLOListElement; + new(): HTMLOListElement; +}; + +interface HTMLObjectElement extends HTMLElement, GetSVGDocument { + /** + * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element. + */ + readonly BaseHref: string; + /** @deprecated */ + align: string; + /** + * Sets or retrieves a character string that can be used to implement your own archive functionality for the object. + */ + /** @deprecated */ + archive: string; + /** @deprecated */ + border: string; + /** + * Sets or retrieves the URL of the file containing the compiled Java class. + */ + /** @deprecated */ + code: string; + /** + * Sets or retrieves the URL of the component. + */ + /** @deprecated */ + codeBase: string; + /** + * Sets or retrieves the Internet media type for the code associated with the object. + */ + /** @deprecated */ + codeType: string; + /** + * Retrieves the document object of the page or frame. + */ + readonly contentDocument: Document | null; + /** + * Sets or retrieves the URL that references the data of the object. + */ + data: string; + /** @deprecated */ + declare: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the height of the object. + */ + height: string; + /** @deprecated */ + hspace: number; + /** + * Gets or sets whether the DLNA PlayTo device is available. + */ + msPlayToDisabled: boolean; + /** + * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. + */ + msPlayToPreferredSourceUri: string; + /** + * Gets or sets the primary DLNA PlayTo device. + */ + msPlayToPrimary: boolean; + /** + * Gets the source associated with the media element for use by the PlayToManager. + */ + readonly msPlayToSource: any; + /** + * Sets or retrieves the name of the object. + */ + name: string; + readonly readyState: number; + /** + * Sets or retrieves a message to be displayed while an object is loading. + */ + /** @deprecated */ + standby: string; + /** + * Sets or retrieves the MIME type of the object. + */ + type: string; + typemustmatch: boolean; + /** + * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. + */ + useMap: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** @deprecated */ + vspace: number; + /** + * Sets or retrieves the width of the object. + */ + width: string; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + addEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLObjectElement: { + prototype: HTMLObjectElement; + new(): HTMLObjectElement; +}; + +interface HTMLOptGroupElement extends HTMLElement { + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves a value that you can use to implement your own label functionality for the object. + */ + label: string; + addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLOptGroupElement: { + prototype: HTMLOptGroupElement; + new(): HTMLOptGroupElement; +}; + +interface HTMLOptionElement extends HTMLElement { + /** + * Sets or retrieves the status of an option. + */ + defaultSelected: boolean; + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the ordinal position of an option in a list box. + */ + readonly index: number; + /** + * Sets or retrieves a value that you can use to implement your own label functionality for the object. + */ + label: string; + /** + * Sets or retrieves whether the option in the list box is the default item. + */ + selected: boolean; + /** + * Sets or retrieves the text string specified by the option tag. + */ + text: string; + /** + * Sets or retrieves the value which is returned to the server when the form control is submitted. + */ + value: string; + addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLOptionElement: { + prototype: HTMLOptionElement; + new(): HTMLOptionElement; +}; + +interface HTMLOptionsCollection extends HTMLCollectionBase { + length: number; + selectedIndex: number; + add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; + remove(index: number): void; +} + +declare var HTMLOptionsCollection: { + prototype: HTMLOptionsCollection; + new(): HTMLOptionsCollection; +}; + +interface HTMLOutputElement extends HTMLElement { + defaultValue: string; + readonly form: HTMLFormElement | null; + readonly htmlFor: DOMTokenList; + name: string; + readonly type: string; + readonly validationMessage: string; + readonly validity: ValidityState; + value: string; + readonly willValidate: boolean; + checkValidity(): boolean; + reportValidity(): boolean; + setCustomValidity(error: string): void; + addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLOutputElement: { + prototype: HTMLOutputElement; + new(): HTMLOutputElement; +}; + +interface HTMLParagraphElement extends HTMLElement { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + clear: string; + addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLParagraphElement: { + prototype: HTMLParagraphElement; + new(): HTMLParagraphElement; +}; + +interface HTMLParamElement extends HTMLElement { + /** + * Sets or retrieves the name of an input parameter for an element. + */ + name: string; + /** + * Sets or retrieves the content type of the resource designated by the value attribute. + */ + /** @deprecated */ + type: string; + /** + * Sets or retrieves the value of an input parameter for an element. + */ + value: string; + /** + * Sets or retrieves the data type of the value attribute. + */ + /** @deprecated */ + valueType: string; + addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLParamElement: { + prototype: HTMLParamElement; + new(): HTMLParamElement; +}; + +interface HTMLPictureElement extends HTMLElement { + addEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLPictureElement: { + prototype: HTMLPictureElement; + new(): HTMLPictureElement; +}; + +interface HTMLPreElement extends HTMLElement { + /** + * Sets or gets a value that you can use to implement your own width functionality for the object. + */ + /** @deprecated */ + width: number; + addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLPreElement: { + prototype: HTMLPreElement; + new(): HTMLPreElement; +}; + +interface HTMLProgressElement extends HTMLElement { + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Defines the maximum, or "done" value for a progress element. + */ + max: number; + /** + * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar). + */ + readonly position: number; + /** + * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value. + */ + value: number; + addEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLProgressElement: { + prototype: HTMLProgressElement; + new(): HTMLProgressElement; +}; + +interface HTMLQuoteElement extends HTMLElement { + /** + * Sets or retrieves reference information about the object. + */ + cite: string; + addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLQuoteElement: { + prototype: HTMLQuoteElement; + new(): HTMLQuoteElement; +}; + +interface HTMLScriptElement extends HTMLElement { + async: boolean; + /** + * Sets or retrieves the character set used to encode the object. + */ + charset: string; + crossOrigin: string | null; + /** + * Sets or retrieves the status of the script. + */ + defer: boolean; + /** + * Sets or retrieves the event for which the script is written. + */ + /** @deprecated */ + event: string; + /** + * Sets or retrieves the object that is bound to the event script. + */ + /** @deprecated */ + htmlFor: string; + integrity: string; + noModule: boolean; + /** + * Retrieves the URL to an external file that contains the source code or data. + */ + src: string; + /** + * Retrieves or sets the text of the object as a string. + */ + text: string; + /** + * Sets or retrieves the MIME type for the associated scripting engine. + */ + type: string; + addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLScriptElement: { + prototype: HTMLScriptElement; + new(): HTMLScriptElement; +}; + +interface HTMLSelectElement extends HTMLElement { + /** + * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. + */ + autofocus: boolean; + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the number of objects in a collection. + */ + length: number; + /** + * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. + */ + multiple: boolean; + /** + * Sets or retrieves the name of the object. + */ + name: string; + readonly options: HTMLOptionsCollection; + /** + * When present, marks an element that can't be submitted without a value. + */ + required: boolean; + /** + * Sets or retrieves the index of the selected option in a select object. + */ + selectedIndex: number; + readonly selectedOptions: HTMLCollectionOf; + /** + * Sets or retrieves the number of rows in the list box. + */ + size: number; + /** + * Retrieves the type of select control based on the value of the MULTIPLE attribute. + */ + readonly type: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** + * Sets or retrieves the value which is returned to the server when the form control is submitted. + */ + value: string; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Adds an element to the areas, controlRange, or options collection. + * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection. + * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection. + */ + add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Retrieves a select object or an object from an options collection. + * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made. + * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned. + */ + item(name?: any, index?: any): Element | null; + /** + * Retrieves a select object or an object from an options collection. + * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made. + */ + namedItem(name: string): any; + /** + * Removes an element from the collection. + * @param index Number that specifies the zero-based index of the element to remove from the collection. + */ + remove(index?: number): void; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + addEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; + [name: string]: any; +} + +declare var HTMLSelectElement: { + prototype: HTMLSelectElement; + new(): HTMLSelectElement; +}; + +interface HTMLSlotElement extends HTMLElement { + name: string; + assignedNodes(options?: AssignedNodesOptions): Node[]; + addEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +interface HTMLSourceElement extends HTMLElement { + /** + * Gets or sets the intended media type of the media source. + */ + media: string; + /** @deprecated */ + msKeySystem: string; + sizes: string; + /** + * The address or URL of the a media resource that is to be considered. + */ + src: string; + srcset: string; + /** + * Gets or sets the MIME type of a media resource. + */ + type: string; + addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLSourceElement: { + prototype: HTMLSourceElement; + new(): HTMLSourceElement; +}; + +interface HTMLSpanElement extends HTMLElement { + addEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLSpanElement: { + prototype: HTMLSpanElement; + new(): HTMLSpanElement; +}; + +interface HTMLStyleElement extends HTMLElement, LinkStyle { + /** @deprecated */ + disabled: boolean; + /** + * Sets or retrieves the media type. + */ + media: string; + /** + * Retrieves the CSS language in which the style sheet is written. + */ + type: string; + addEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLStyleElement: { + prototype: HTMLStyleElement; + new(): HTMLStyleElement; +}; + +interface HTMLSummaryElement extends HTMLElement { + addEventListener(type: K, listener: (this: HTMLSummaryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLSummaryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLSummaryElement: { + prototype: HTMLSummaryElement; + new(): HTMLSummaryElement; +}; + +interface HTMLTableCaptionElement extends HTMLElement { + /** + * Sets or retrieves the alignment of the caption or legend. + */ + /** @deprecated */ + align: string; + addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableCaptionElement: { + prototype: HTMLTableCaptionElement; + new(): HTMLTableCaptionElement; +}; + +interface HTMLTableCellElement extends HTMLElement { + /** + * Sets or retrieves abbreviated text for the object. + */ + abbr: string; + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** + * Sets or retrieves a comma-delimited list of conceptual categories associated with the object. + */ + /** @deprecated */ + axis: string; + /** @deprecated */ + bgColor: string; + /** + * Retrieves the position of the object in the cells collection of a row. + */ + readonly cellIndex: number; + /** @deprecated */ + ch: string; + /** @deprecated */ + chOff: string; + /** + * Sets or retrieves the number columns in the table that the object should span. + */ + colSpan: number; + /** + * Sets or retrieves a list of header cells that provide information for the object. + */ + headers: string; + /** + * Sets or retrieves the height of the object. + */ + /** @deprecated */ + height: string; + /** + * Sets or retrieves whether the browser automatically performs wordwrap. + */ + /** @deprecated */ + noWrap: boolean; + /** + * Sets or retrieves how many rows in a table the cell should span. + */ + rowSpan: number; + /** + * Sets or retrieves the group of cells in a table to which the object's information applies. + */ + scope: string; + /** @deprecated */ + vAlign: string; + /** + * Sets or retrieves the width of the object. + */ + /** @deprecated */ + width: string; + addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableCellElement: { + prototype: HTMLTableCellElement; + new(): HTMLTableCellElement; +}; + +interface HTMLTableColElement extends HTMLElement { + /** + * Sets or retrieves the alignment of the object relative to the display or table. + */ + /** @deprecated */ + align: string; + /** @deprecated */ + ch: string; + /** @deprecated */ + chOff: string; + /** + * Sets or retrieves the number of columns in the group. + */ + span: number; + /** @deprecated */ + vAlign: string; + /** + * Sets or retrieves the width of the object. + */ + /** @deprecated */ + width: string; + addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableColElement: { + prototype: HTMLTableColElement; + new(): HTMLTableColElement; +}; + +interface HTMLTableElement extends HTMLElement { + /** + * Sets or retrieves a value that indicates the table alignment. + */ + /** @deprecated */ + align: string; + /** @deprecated */ + bgColor: string; + /** + * Sets or retrieves the width of the border to draw around the object. + */ + /** @deprecated */ + border: string; + /** + * Retrieves the caption object of a table. + */ + caption: HTMLTableCaptionElement | null; + /** + * Sets or retrieves the amount of space between the border of the cell and the content of the cell. + */ + /** @deprecated */ + cellPadding: string; + /** + * Sets or retrieves the amount of space between cells in a table. + */ + /** @deprecated */ + cellSpacing: string; + /** + * Sets or retrieves the way the border frame around the table is displayed. + */ + /** @deprecated */ + frame: string; + /** + * Sets or retrieves the number of horizontal rows contained in the object. + */ + readonly rows: HTMLCollectionOf; + /** + * Sets or retrieves which dividing lines (inner borders) are displayed. + */ + /** @deprecated */ + rules: string; + /** + * Sets or retrieves a description and/or structure of the object. + */ + /** @deprecated */ + summary: string; + /** + * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. + */ + readonly tBodies: HTMLCollectionOf; + /** + * Retrieves the tFoot object of the table. + */ + tFoot: HTMLTableSectionElement | null; + /** + * Retrieves the tHead object of the table. + */ + tHead: HTMLTableSectionElement | null; + /** + * Sets or retrieves the width of the object. + */ + /** @deprecated */ + width: string; + /** + * Creates an empty caption element in the table. + */ + createCaption(): HTMLTableCaptionElement; + /** + * Creates an empty tBody element in the table. + */ + createTBody(): HTMLTableSectionElement; + /** + * Creates an empty tFoot element in the table. + */ + createTFoot(): HTMLTableSectionElement; + /** + * Returns the tHead element object if successful, or null otherwise. + */ + createTHead(): HTMLTableSectionElement; + /** + * Deletes the caption element and its contents from the table. + */ + deleteCaption(): void; + /** + * Removes the specified row (tr) from the element and from the rows collection. + * @param index Number that specifies the zero-based position in the rows collection of the row to remove. + */ + deleteRow(index?: number): void; + /** + * Deletes the tFoot element and its contents from the table. + */ + deleteTFoot(): void; + /** + * Deletes the tHead element and its contents from the table. + */ + deleteTHead(): void; + /** + * Creates a new row (tr) in the table, and adds the row to the rows collection. + * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. + */ + insertRow(index?: number): HTMLTableRowElement; + addEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableElement: { + prototype: HTMLTableElement; + new(): HTMLTableElement; +}; + +interface HTMLTableRowElement extends HTMLElement { + /** + * Sets or retrieves how the object is aligned with adjacent text. + */ + /** @deprecated */ + align: string; + /** @deprecated */ + bgColor: string; + /** + * Retrieves a collection of all cells in the table row. + */ + readonly cells: HTMLCollection; + /** @deprecated */ + ch: string; + /** @deprecated */ + chOff: string; + /** + * Retrieves the position of the object in the rows collection for the table. + */ + readonly rowIndex: number; + /** + * Retrieves the position of the object in the collection. + */ + readonly sectionRowIndex: number; + /** @deprecated */ + vAlign: string; + /** + * Removes the specified cell from the table row, as well as from the cells collection. + * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted. + */ + deleteCell(index?: number): void; + /** + * Creates a new cell in the table row, and adds the cell to the cells collection. + * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection. + */ + insertCell(index?: number): HTMLTableCellElement; + addEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableRowElement: { + prototype: HTMLTableRowElement; + new(): HTMLTableRowElement; +}; + +interface HTMLTableSectionElement extends HTMLElement { + /** + * Sets or retrieves a value that indicates the table alignment. + */ + /** @deprecated */ + align: string; + /** @deprecated */ + ch: string; + /** @deprecated */ + chOff: string; + /** + * Sets or retrieves the number of horizontal rows contained in the object. + */ + readonly rows: HTMLCollectionOf; + /** @deprecated */ + vAlign: string; + /** + * Removes the specified row (tr) from the element and from the rows collection. + * @param index Number that specifies the zero-based position in the rows collection of the row to remove. + */ + deleteRow(index?: number): void; + /** + * Creates a new row (tr) in the table, and adds the row to the rows collection. + * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. + */ + insertRow(index?: number): HTMLTableRowElement; + addEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableSectionElement: { + prototype: HTMLTableSectionElement; + new(): HTMLTableSectionElement; +}; + +interface HTMLTemplateElement extends HTMLElement { + readonly content: DocumentFragment; + addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTemplateElement: { + prototype: HTMLTemplateElement; + new(): HTMLTemplateElement; +}; + +interface HTMLTextAreaElement extends HTMLElement { + /** + * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing. + */ + autofocus: boolean; + /** + * Sets or retrieves the width of the object. + */ + cols: number; + /** + * Sets or retrieves the initial contents of the object. + */ + defaultValue: string; + disabled: boolean; + /** + * Retrieves a reference to the form that the object is embedded in. + */ + readonly form: HTMLFormElement | null; + /** + * Sets or retrieves the maximum number of characters that the user can enter in a text control. + */ + maxLength: number; + minLength: number; + /** + * Sets or retrieves the name of the object. + */ + name: string; + /** + * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. + */ + placeholder: string; + /** + * Sets or retrieves the value indicated whether the content of the object is read-only. + */ + readOnly: boolean; + /** + * When present, marks an element that can't be submitted without a value. + */ + required: boolean; + /** + * Sets or retrieves the number of horizontal rows contained in the object. + */ + rows: number; + /** + * Gets or sets the end position or offset of a text selection. + */ + selectionEnd: number; + /** + * Gets or sets the starting position or offset of a text selection. + */ + selectionStart: number; + /** + * Retrieves the type of control. + */ + readonly type: string; + /** + * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. + */ + readonly validationMessage: string; + /** + * Returns a ValidityState object that represents the validity states of an element. + */ + readonly validity: ValidityState; + /** + * Retrieves or sets the text in the entry field of the textArea element. + */ + value: string; + /** + * Returns whether an element will successfully validate based on forms validation rules and constraints. + */ + readonly willValidate: boolean; + /** + * Sets or retrieves how to handle wordwrapping in the object. + */ + wrap: string; + /** + * Returns whether a form will validate when it is submitted, without having to submit it. + */ + checkValidity(): boolean; + /** + * Highlights the input area of a form element. + */ + select(): void; + /** + * Sets a custom error message that is displayed when a form is submitted. + * @param error Sets a custom error message that is displayed when a form is submitted. + */ + setCustomValidity(error: string): void; + /** + * Sets the start and end positions of a selection in a text field. + * @param start The offset into the text field for the start of the selection. + * @param end The offset into the text field for the end of the selection. + * @param direction The direction in which the selection is performed. + */ + setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void; + addEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTextAreaElement: { + prototype: HTMLTextAreaElement; + new(): HTMLTextAreaElement; +}; + +interface HTMLTimeElement extends HTMLElement { + dateTime: string; + addEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTimeElement: { + prototype: HTMLTimeElement; + new(): HTMLTimeElement; +}; + +interface HTMLTitleElement extends HTMLElement { + /** + * Retrieves or sets the text of the object as a string. + */ + text: string; + addEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTitleElement: { + prototype: HTMLTitleElement; + new(): HTMLTitleElement; +}; + +interface HTMLTrackElement extends HTMLElement { + default: boolean; + kind: string; + label: string; + readonly readyState: number; + src: string; + srclang: string; + readonly track: TextTrack; + readonly ERROR: number; + readonly LOADED: number; + readonly LOADING: number; readonly NONE: number; - readonly NOTEQUAL: number; - readonly ONE: number; - readonly ONE_MINUS_CONSTANT_ALPHA: number; - readonly ONE_MINUS_CONSTANT_COLOR: number; - readonly ONE_MINUS_DST_ALPHA: number; - readonly ONE_MINUS_DST_COLOR: number; - readonly ONE_MINUS_SRC_ALPHA: number; - readonly ONE_MINUS_SRC_COLOR: number; - readonly OUT_OF_MEMORY: number; - readonly PACK_ALIGNMENT: number; - readonly POINTS: number; - readonly POLYGON_OFFSET_FACTOR: number; - readonly POLYGON_OFFSET_FILL: number; - readonly POLYGON_OFFSET_UNITS: number; - readonly RED_BITS: number; - readonly RENDERBUFFER: number; - readonly RENDERBUFFER_ALPHA_SIZE: number; - readonly RENDERBUFFER_BINDING: number; - readonly RENDERBUFFER_BLUE_SIZE: number; - readonly RENDERBUFFER_DEPTH_SIZE: number; - readonly RENDERBUFFER_GREEN_SIZE: number; - readonly RENDERBUFFER_HEIGHT: number; - readonly RENDERBUFFER_INTERNAL_FORMAT: number; - readonly RENDERBUFFER_RED_SIZE: number; - readonly RENDERBUFFER_STENCIL_SIZE: number; - readonly RENDERBUFFER_WIDTH: number; - readonly RENDERER: number; - readonly REPEAT: number; - readonly REPLACE: number; - readonly RGB: number; - readonly RGB5_A1: number; - readonly RGB565: number; - readonly RGBA: number; - readonly RGBA4: number; - readonly SAMPLE_ALPHA_TO_COVERAGE: number; - readonly SAMPLE_BUFFERS: number; - readonly SAMPLE_COVERAGE: number; - readonly SAMPLE_COVERAGE_INVERT: number; - readonly SAMPLE_COVERAGE_VALUE: number; - readonly SAMPLER_2D: number; - readonly SAMPLER_CUBE: number; - readonly SAMPLES: number; - readonly SCISSOR_BOX: number; - readonly SCISSOR_TEST: number; - readonly SHADER_TYPE: number; - readonly SHADING_LANGUAGE_VERSION: number; - readonly SHORT: number; - readonly SRC_ALPHA: number; - readonly SRC_ALPHA_SATURATE: number; - readonly SRC_COLOR: number; - readonly STATIC_DRAW: number; - readonly STENCIL_ATTACHMENT: number; - readonly STENCIL_BACK_FAIL: number; - readonly STENCIL_BACK_FUNC: number; - readonly STENCIL_BACK_PASS_DEPTH_FAIL: number; - readonly STENCIL_BACK_PASS_DEPTH_PASS: number; - readonly STENCIL_BACK_REF: number; - readonly STENCIL_BACK_VALUE_MASK: number; - readonly STENCIL_BACK_WRITEMASK: number; - readonly STENCIL_BITS: number; - readonly STENCIL_BUFFER_BIT: number; - readonly STENCIL_CLEAR_VALUE: number; - readonly STENCIL_FAIL: number; - readonly STENCIL_FUNC: number; - readonly STENCIL_INDEX: number; - readonly STENCIL_INDEX8: number; - readonly STENCIL_PASS_DEPTH_FAIL: number; - readonly STENCIL_PASS_DEPTH_PASS: number; - readonly STENCIL_REF: number; - readonly STENCIL_TEST: number; - readonly STENCIL_VALUE_MASK: number; - readonly STENCIL_WRITEMASK: number; - readonly STREAM_DRAW: number; - readonly SUBPIXEL_BITS: number; - readonly TEXTURE: number; - readonly TEXTURE_2D: number; - readonly TEXTURE_BINDING_2D: number; - readonly TEXTURE_BINDING_CUBE_MAP: number; - readonly TEXTURE_CUBE_MAP: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number; - readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_X: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number; - readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number; - readonly TEXTURE_MAG_FILTER: number; - readonly TEXTURE_MIN_FILTER: number; - readonly TEXTURE_WRAP_S: number; - readonly TEXTURE_WRAP_T: number; - readonly TEXTURE0: number; - readonly TEXTURE1: number; - readonly TEXTURE10: number; - readonly TEXTURE11: number; - readonly TEXTURE12: number; - readonly TEXTURE13: number; - readonly TEXTURE14: number; - readonly TEXTURE15: number; - readonly TEXTURE16: number; - readonly TEXTURE17: number; - readonly TEXTURE18: number; - readonly TEXTURE19: number; - readonly TEXTURE2: number; - readonly TEXTURE20: number; - readonly TEXTURE21: number; - readonly TEXTURE22: number; - readonly TEXTURE23: number; - readonly TEXTURE24: number; - readonly TEXTURE25: number; - readonly TEXTURE26: number; - readonly TEXTURE27: number; - readonly TEXTURE28: number; - readonly TEXTURE29: number; - readonly TEXTURE3: number; - readonly TEXTURE30: number; - readonly TEXTURE31: number; - readonly TEXTURE4: number; - readonly TEXTURE5: number; - readonly TEXTURE6: number; - readonly TEXTURE7: number; - readonly TEXTURE8: number; - readonly TEXTURE9: number; - readonly TRIANGLE_FAN: number; - readonly TRIANGLE_STRIP: number; - readonly TRIANGLES: number; - readonly UNPACK_ALIGNMENT: number; - readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number; - readonly UNPACK_FLIP_Y_WEBGL: number; - readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number; - readonly UNSIGNED_BYTE: number; - readonly UNSIGNED_INT: number; - readonly UNSIGNED_SHORT: number; - readonly UNSIGNED_SHORT_4_4_4_4: number; - readonly UNSIGNED_SHORT_5_5_5_1: number; - readonly UNSIGNED_SHORT_5_6_5: number; - readonly VALIDATE_STATUS: number; - readonly VENDOR: number; - readonly VERSION: number; - readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number; - readonly VERTEX_ATTRIB_ARRAY_ENABLED: number; - readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number; - readonly VERTEX_ATTRIB_ARRAY_POINTER: number; - readonly VERTEX_ATTRIB_ARRAY_SIZE: number; - readonly VERTEX_ATTRIB_ARRAY_STRIDE: number; - readonly VERTEX_ATTRIB_ARRAY_TYPE: number; - readonly VERTEX_SHADER: number; - readonly VIEWPORT: number; - readonly ZERO: number; + addEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTrackElement: { + prototype: HTMLTrackElement; + new(): HTMLTrackElement; + readonly ERROR: number; + readonly LOADED: number; + readonly LOADING: number; + readonly NONE: number; +}; + +interface HTMLUListElement extends HTMLElement { + /** @deprecated */ + compact: boolean; + /** @deprecated */ + type: string; + addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLUListElement: { + prototype: HTMLUListElement; + new(): HTMLUListElement; +}; + +interface HTMLUnknownElement extends HTMLElement { + addEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLUnknownElement: { + prototype: HTMLUnknownElement; + new(): HTMLUnknownElement; +}; + +interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap { + "MSVideoFormatChanged": Event; + "MSVideoFrameStepCompleted": Event; + "MSVideoOptimalLayoutChanged": Event; +} + +interface HTMLVideoElement extends HTMLMediaElement { + /** + * Gets or sets the height of the video element. + */ + height: number; + msHorizontalMirror: boolean; + readonly msIsLayoutOptimalForPlayback: boolean; + readonly msIsStereo3D: boolean; + msStereo3DPackingMode: string; + msStereo3DRenderMode: string; + msZoom: boolean; + onMSVideoFormatChanged: ((this: HTMLVideoElement , ev: Event) => any) | null; + onMSVideoFrameStepCompleted: ((this: HTMLVideoElement , ev: Event) => any) | null; + onMSVideoOptimalLayoutChanged: ((this: HTMLVideoElement , ev: Event) => any) | null; + /** + * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. + */ + poster: string; + /** + * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. + */ + readonly videoHeight: number; + /** + * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. + */ + readonly videoWidth: number; + readonly webkitDisplayingFullscreen: boolean; + readonly webkitSupportsFullscreen: boolean; + /** + * Gets or sets the width of the video element. + */ + width: number; + getVideoPlaybackQuality(): VideoPlaybackQuality; + msFrameStep(forward: boolean): void; + msInsertVideoEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; + msSetVideoRectangle(left: number, top: number, right: number, bottom: number): void; + webkitEnterFullScreen(): void; + webkitEnterFullscreen(): void; + webkitExitFullScreen(): void; + webkitExitFullscreen(): void; + addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLVideoElement: { + prototype: HTMLVideoElement; + new(): HTMLVideoElement; +}; + +interface HTMLegendElement { + readonly form: HTMLFormElement | null; +} + +declare var HTMLegendElement: { + prototype: HTMLegendElement; + new(): HTMLegendElement; +}; + +interface HashChangeEvent extends Event { + readonly newURL: string; + readonly oldURL: string; +} + +declare var HashChangeEvent: { + prototype: HashChangeEvent; + new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent; +}; + +interface Headers { + append(name: string, value: string): void; + delete(name: string): void; + forEach(callback: Function, thisArg?: any): void; + get(name: string): string | null; + has(name: string): boolean; + set(name: string, value: string): void; +} + +declare var Headers: { + prototype: Headers; + new(init?: HeadersInit): Headers; +}; + +interface History { + readonly length: number; + scrollRestoration: ScrollRestoration; + readonly state: any; + back(distance?: any): void; + forward(distance?: any): void; + go(delta?: any): void; + pushState(data: any, title?: string, url?: string | null): void; + replaceState(data: any, title?: string, url?: string | null): void; +} + +declare var History: { + prototype: History; + new(): History; +}; + +interface HkdfCtrParams extends Algorithm { + context: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; + hash: string | Algorithm; + label: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer; +} + +interface IDBArrayKey extends Array { +} + +interface IDBCursor { + readonly direction: IDBCursorDirection; + readonly key: IDBKeyRange | number | string | Date | IDBArrayKey; + readonly primaryKey: any; + readonly source: IDBObjectStore | IDBIndex; + advance(count: number): void; + continue(key?: IDBKeyRange | number | string | Date | IDBArrayKey): void; + delete(): IDBRequest; + update(value: any): IDBRequest; + readonly NEXT: string; + readonly NEXT_NO_DUPLICATE: string; + readonly PREV: string; + readonly PREV_NO_DUPLICATE: string; +} + +declare var IDBCursor: { + prototype: IDBCursor; + new(): IDBCursor; + readonly NEXT: string; + readonly NEXT_NO_DUPLICATE: string; + readonly PREV: string; + readonly PREV_NO_DUPLICATE: string; +}; + +interface IDBCursorWithValue extends IDBCursor { + readonly value: any; +} + +declare var IDBCursorWithValue: { + prototype: IDBCursorWithValue; + new(): IDBCursorWithValue; +}; + +interface IDBDatabaseEventMap { + "abort": Event; + "error": Event; +} + +interface IDBDatabase extends EventTarget { + readonly name: string; + readonly objectStoreNames: DOMStringList; + onabort: ((this: IDBDatabase , ev: Event) => any) | null; + onerror: ((this: IDBDatabase , ev: Event) => any) | null; + onversionchange: ((this: IDBDatabase , ev: Event) => any) | null; + readonly version: number; + close(): void; + createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; + deleteObjectStore(name: string): void; + transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction; + addEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var IDBDatabase: { + prototype: IDBDatabase; + new(): IDBDatabase; +}; + +interface IDBEnvironment { + readonly indexedDB: IDBFactory; +} + +interface IDBFactory { + cmp(first: any, second: any): number; + deleteDatabase(name: string): IDBOpenDBRequest; + open(name: string, version?: number): IDBOpenDBRequest; +} + +declare var IDBFactory: { + prototype: IDBFactory; + new(): IDBFactory; +}; + +interface IDBIndex { + readonly keyPath: string | string[]; + multiEntry: boolean; + readonly name: string; + readonly objectStore: IDBObjectStore; + readonly unique: boolean; + count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + get(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + getKey(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; + openKeyCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; +} + +declare var IDBIndex: { + prototype: IDBIndex; + new(): IDBIndex; +}; + +interface IDBKeyRange { + readonly lower: any; + readonly lowerOpen: boolean; + readonly upper: any; + readonly upperOpen: boolean; +} + +declare var IDBKeyRange: { + prototype: IDBKeyRange; + new(): IDBKeyRange; + bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange; + lowerBound(lower: any, open?: boolean): IDBKeyRange; + only(value: any): IDBKeyRange; + upperBound(upper: any, open?: boolean): IDBKeyRange; +}; + +interface IDBObjectStore { + autoIncrement: boolean; + readonly indexNames: DOMStringList; + readonly keyPath: string | string[] | null; + readonly name: string; + readonly transaction: IDBTransaction; + add(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + clear(): IDBRequest; + count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex; + delete(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + deleteIndex(indexName: string): void; + get(key: any): IDBRequest; + index(name: string): IDBIndex; + openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; + put(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; +} + +declare var IDBObjectStore: { + prototype: IDBObjectStore; + new(): IDBObjectStore; +}; + +interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { + "blocked": Event; + "upgradeneeded": IDBVersionChangeEvent; +} + +interface IDBOpenDBRequest extends IDBRequest { + onblocked: ((this: IDBOpenDBRequest , ev: Event) => any) | null; + onupgradeneeded: ((this: IDBOpenDBRequest , ev: IDBVersionChangeEvent) => any) | null; + addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var IDBOpenDBRequest: { + prototype: IDBOpenDBRequest; + new(): IDBOpenDBRequest; +}; + +interface IDBRequestEventMap { + "error": Event; + "success": Event; +} + +interface IDBRequest extends EventTarget { + readonly error: DOMException; + onerror: ((this: IDBRequest , ev: Event) => any) | null; + onsuccess: ((this: IDBRequest , ev: Event) => any) | null; + readonly readyState: IDBRequestReadyState; + readonly result: any; + readonly source: IDBObjectStore | IDBIndex | IDBCursor; + readonly transaction: IDBTransaction; + addEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var IDBRequest: { + prototype: IDBRequest; + new(): IDBRequest; +}; + +interface IDBTransactionEventMap { + "abort": Event; + "complete": Event; + "error": Event; +} + +interface IDBTransaction extends EventTarget { + readonly db: IDBDatabase; + readonly error: DOMException; + readonly mode: IDBTransactionMode; + onabort: ((this: IDBTransaction , ev: Event) => any) | null; + oncomplete: ((this: IDBTransaction , ev: Event) => any) | null; + onerror: ((this: IDBTransaction , ev: Event) => any) | null; + abort(): void; + objectStore(name: string): IDBObjectStore; + readonly READ_ONLY: string; + readonly READ_WRITE: string; + readonly VERSION_CHANGE: string; + addEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var IDBTransaction: { + prototype: IDBTransaction; + new(): IDBTransaction; + readonly READ_ONLY: string; + readonly READ_WRITE: string; + readonly VERSION_CHANGE: string; +}; + +interface IDBVersionChangeEvent extends Event { + readonly newVersion: number | null; + readonly oldVersion: number; +} + +declare var IDBVersionChangeEvent: { + prototype: IDBVersionChangeEvent; + new(): IDBVersionChangeEvent; +}; + +interface IIRFilterNode extends AudioNode { + getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; +} + +declare var IIRFilterNode: { + prototype: IIRFilterNode; + new(): IIRFilterNode; +}; + +interface ImageBitmap { + readonly height: number; + readonly width: number; + close(): void; +} + +interface ImageBitmapOptions { + colorSpaceConversion?: "none" | "default"; + imageOrientation?: "none" | "flipY"; + premultiplyAlpha?: "none" | "premultiply" | "default"; + resizeHeight?: number; + resizeQuality?: "pixelated" | "low" | "medium" | "high"; + resizeWidth?: number; +} + +interface ImageData { + readonly data: Uint8ClampedArray; + readonly height: number; + readonly width: number; +} + +declare var ImageData: { + prototype: ImageData; + new(width: number, height: number): ImageData; + new(array: Uint8ClampedArray, width: number, height: number): ImageData; +}; + +interface IntersectionObserver { + readonly root: Element | null; + readonly rootMargin: string; + readonly thresholds: number[]; + disconnect(): void; + observe(target: Element): void; + takeRecords(): IntersectionObserverEntry[]; + unobserve(target: Element): void; +} + +declare var IntersectionObserver: { + prototype: IntersectionObserver; + new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver; +}; + +interface IntersectionObserverEntry { + readonly boundingClientRect: ClientRect | DOMRect; + readonly intersectionRatio: number; + readonly intersectionRect: ClientRect | DOMRect; + readonly isIntersecting: boolean; + readonly rootBounds: ClientRect | DOMRect; + readonly target: Element; + readonly time: number; +} + +declare var IntersectionObserverEntry: { + prototype: IntersectionObserverEntry; + new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry; +}; + +interface KeyboardEvent extends UIEvent { + readonly altKey: boolean; + /** @deprecated */ + readonly charCode: number; + readonly code: string; + readonly ctrlKey: boolean; + readonly key: string; + /** @deprecated */ + readonly keyCode: number; + readonly location: number; + readonly metaKey: boolean; + readonly repeat: boolean; + readonly shiftKey: boolean; + /** @deprecated */ + readonly which: number; + getModifierState(keyArg: string): boolean; + /** @deprecated */ + initKeyboardEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, keyArg: string, locationArg: number, modifiersListArg: string, repeat: boolean, locale: string): void; + readonly DOM_KEY_LOCATION_JOYSTICK: number; + readonly DOM_KEY_LOCATION_LEFT: number; + readonly DOM_KEY_LOCATION_MOBILE: number; + readonly DOM_KEY_LOCATION_NUMPAD: number; + readonly DOM_KEY_LOCATION_RIGHT: number; + readonly DOM_KEY_LOCATION_STANDARD: number; +} + +declare var KeyboardEvent: { + prototype: KeyboardEvent; + new(typeArg: string, eventInitDict?: KeyboardEventInit): KeyboardEvent; + readonly DOM_KEY_LOCATION_JOYSTICK: number; + readonly DOM_KEY_LOCATION_LEFT: number; + readonly DOM_KEY_LOCATION_MOBILE: number; + readonly DOM_KEY_LOCATION_NUMPAD: number; + readonly DOM_KEY_LOCATION_RIGHT: number; + readonly DOM_KEY_LOCATION_STANDARD: number; +}; + +interface LinkStyle { + readonly sheet: StyleSheet | null; +} + +interface ListeningStateChangedEvent extends Event { + readonly label: string; + readonly state: ListeningState; +} + +declare var ListeningStateChangedEvent: { + prototype: ListeningStateChangedEvent; + new(): ListeningStateChangedEvent; +}; + +interface Location { + hash: string; + host: string; + hostname: string; + href: string; + readonly origin: string; + pathname: string; + port: string; + protocol: string; + search: string; + assign(url: string): void; + reload(forcedReload?: boolean): void; + replace(url: string): void; + toString(): string; +} + +declare var Location: { + prototype: Location; + new(): Location; +}; + +interface MSAssertion { + readonly id: string; + readonly type: MSCredentialType; +} + +declare var MSAssertion: { + prototype: MSAssertion; + new(): MSAssertion; +}; + +interface MSBlobBuilder { + append(data: any, endings?: string): void; + getBlob(contentType?: string): Blob; +} + +declare var MSBlobBuilder: { + prototype: MSBlobBuilder; + new(): MSBlobBuilder; +}; + +interface MSCredentials { + getAssertion(challenge: string, filter?: MSCredentialFilter, params?: MSSignatureParameters): Promise; + makeCredential(accountInfo: MSAccountInfo, params: MSCredentialParameters[], challenge?: string): Promise; +} + +declare var MSCredentials: { + prototype: MSCredentials; + new(): MSCredentials; +}; + +interface MSDCCEvent extends Event { + readonly maxFr: number; + readonly maxFs: number; +} + +declare var MSDCCEvent: { + prototype: MSDCCEvent; + new(type: string, eventInitDict: MSDCCEventInit): MSDCCEvent; +}; + +interface MSDSHEvent extends Event { + readonly sources: number[]; + readonly timestamp: number; +} + +declare var MSDSHEvent: { + prototype: MSDSHEvent; + new(type: string, eventInitDict: MSDSHEventInit): MSDSHEvent; +}; + +interface MSFIDOCredentialAssertion extends MSAssertion { + readonly algorithm: string | Algorithm; + readonly attestation: any; + readonly publicKey: string; + readonly transportHints: MSTransportType[]; +} + +declare var MSFIDOCredentialAssertion: { + prototype: MSFIDOCredentialAssertion; + new(): MSFIDOCredentialAssertion; +}; + +interface MSFIDOSignature { + readonly authnrData: string; + readonly clientData: string; + readonly signature: string; +} + +declare var MSFIDOSignature: { + prototype: MSFIDOSignature; + new(): MSFIDOSignature; +}; + +interface MSFIDOSignatureAssertion extends MSAssertion { + readonly signature: MSFIDOSignature; +} + +declare var MSFIDOSignatureAssertion: { + prototype: MSFIDOSignatureAssertion; + new(): MSFIDOSignatureAssertion; +}; + +interface MSFileSaver { + msSaveBlob(blob: any, defaultName?: string): boolean; + msSaveOrOpenBlob(blob: any, defaultName?: string): boolean; +} + +interface MSGesture { + target: Element; + addPointer(pointerId: number): void; + stop(): void; +} + +declare var MSGesture: { + prototype: MSGesture; + new(): MSGesture; +}; + +interface MSGestureEvent extends UIEvent { + readonly clientX: number; + readonly clientY: number; + readonly expansion: number; + readonly gestureObject: any; + readonly hwTimestamp: number; + readonly offsetX: number; + readonly offsetY: number; + readonly rotation: number; + readonly scale: number; + readonly screenX: number; + readonly screenY: number; + readonly translationX: number; + readonly translationY: number; + readonly velocityAngular: number; + readonly velocityExpansion: number; + readonly velocityX: number; + readonly velocityY: number; + initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void; + readonly MSGESTURE_FLAG_BEGIN: number; + readonly MSGESTURE_FLAG_CANCEL: number; + readonly MSGESTURE_FLAG_END: number; + readonly MSGESTURE_FLAG_INERTIA: number; + readonly MSGESTURE_FLAG_NONE: number; +} + +declare var MSGestureEvent: { + prototype: MSGestureEvent; + new(): MSGestureEvent; + readonly MSGESTURE_FLAG_BEGIN: number; + readonly MSGESTURE_FLAG_CANCEL: number; + readonly MSGESTURE_FLAG_END: number; + readonly MSGESTURE_FLAG_INERTIA: number; + readonly MSGESTURE_FLAG_NONE: number; +}; + +interface MSGraphicsTrust { + readonly constrictionActive: boolean; + readonly status: string; +} + +declare var MSGraphicsTrust: { + prototype: MSGraphicsTrust; + new(): MSGraphicsTrust; +}; + +interface MSInputMethodContextEventMap { + "MSCandidateWindowHide": Event; + "MSCandidateWindowShow": Event; + "MSCandidateWindowUpdate": Event; +} + +interface MSInputMethodContext extends EventTarget { + readonly compositionEndOffset: number; + readonly compositionStartOffset: number; + oncandidatewindowhide: ((this: MSInputMethodContext , ev: Event) => any) | null; + oncandidatewindowshow: ((this: MSInputMethodContext , ev: Event) => any) | null; + oncandidatewindowupdate: ((this: MSInputMethodContext , ev: Event) => any) | null; + readonly target: HTMLElement; + getCandidateWindowClientRect(): ClientRect; + getCompositionAlternatives(): string[]; + hasComposition(): boolean; + isCandidateWindowVisible(): boolean; + addEventListener(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MSInputMethodContext: { + prototype: MSInputMethodContext; + new(): MSInputMethodContext; +}; + +interface MSManipulationEvent extends UIEvent { + readonly currentState: number; + readonly inertiaDestinationX: number; + readonly inertiaDestinationY: number; + readonly lastState: number; + initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void; + readonly MS_MANIPULATION_STATE_ACTIVE: number; + readonly MS_MANIPULATION_STATE_CANCELLED: number; + readonly MS_MANIPULATION_STATE_COMMITTED: number; + readonly MS_MANIPULATION_STATE_DRAGGING: number; + readonly MS_MANIPULATION_STATE_INERTIA: number; + readonly MS_MANIPULATION_STATE_PRESELECT: number; + readonly MS_MANIPULATION_STATE_SELECTING: number; + readonly MS_MANIPULATION_STATE_STOPPED: number; +} + +declare var MSManipulationEvent: { + prototype: MSManipulationEvent; + new(): MSManipulationEvent; + readonly MS_MANIPULATION_STATE_ACTIVE: number; + readonly MS_MANIPULATION_STATE_CANCELLED: number; + readonly MS_MANIPULATION_STATE_COMMITTED: number; + readonly MS_MANIPULATION_STATE_DRAGGING: number; + readonly MS_MANIPULATION_STATE_INERTIA: number; + readonly MS_MANIPULATION_STATE_PRESELECT: number; + readonly MS_MANIPULATION_STATE_SELECTING: number; + readonly MS_MANIPULATION_STATE_STOPPED: number; +}; + +interface MSMediaKeyError { + readonly code: number; + readonly systemCode: number; + readonly MS_MEDIA_KEYERR_CLIENT: number; + readonly MS_MEDIA_KEYERR_DOMAIN: number; + readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number; + readonly MS_MEDIA_KEYERR_OUTPUT: number; + readonly MS_MEDIA_KEYERR_SERVICE: number; + readonly MS_MEDIA_KEYERR_UNKNOWN: number; +} + +declare var MSMediaKeyError: { + prototype: MSMediaKeyError; + new(): MSMediaKeyError; + readonly MS_MEDIA_KEYERR_CLIENT: number; + readonly MS_MEDIA_KEYERR_DOMAIN: number; + readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number; + readonly MS_MEDIA_KEYERR_OUTPUT: number; + readonly MS_MEDIA_KEYERR_SERVICE: number; + readonly MS_MEDIA_KEYERR_UNKNOWN: number; +}; + +interface MSMediaKeyMessageEvent extends Event { + readonly destinationURL: string | null; + readonly message: Uint8Array; +} + +declare var MSMediaKeyMessageEvent: { + prototype: MSMediaKeyMessageEvent; + new(): MSMediaKeyMessageEvent; +}; + +interface MSMediaKeyNeededEvent extends Event { + readonly initData: Uint8Array | null; +} + +declare var MSMediaKeyNeededEvent: { + prototype: MSMediaKeyNeededEvent; + new(): MSMediaKeyNeededEvent; +}; + +interface MSMediaKeySession extends EventTarget { + readonly error: MSMediaKeyError | null; + readonly keySystem: string; + readonly sessionId: string; + close(): void; + update(key: Uint8Array): void; +} + +declare var MSMediaKeySession: { + prototype: MSMediaKeySession; + new(): MSMediaKeySession; +}; + +interface MSMediaKeys { + readonly keySystem: string; + createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array | null): MSMediaKeySession; +} + +declare var MSMediaKeys: { + prototype: MSMediaKeys; + new(keySystem: string): MSMediaKeys; + isTypeSupported(keySystem: string, type?: string | null): boolean; + isTypeSupportedWithFeatures(keySystem: string, type?: string | null): string; +}; + +interface MSNavigatorDoNotTrack { + confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean; + confirmWebWideTrackingException(args: ExceptionInformation): boolean; + removeSiteSpecificTrackingException(args: ExceptionInformation): void; + removeWebWideTrackingException(args: ExceptionInformation): void; + storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void; + storeWebWideTrackingException(args: StoreExceptionsInformation): void; +} + +interface MSPointerEvent extends MouseEvent { + readonly currentPoint: any; + readonly height: number; + readonly hwTimestamp: number; + readonly intermediatePoints: any; + readonly isPrimary: boolean; + readonly pointerId: number; + readonly pointerType: any; + readonly pressure: number; + readonly rotation: number; + readonly tiltX: number; + readonly tiltY: number; + readonly width: number; + getCurrentPoint(element: Element): void; + getIntermediatePoints(element: Element): void; + initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void; +} + +declare var MSPointerEvent: { + prototype: MSPointerEvent; + new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent; +}; + +interface MSRangeCollection { + readonly length: number; + item(index: number): Range; + [index: number]: Range; +} + +declare var MSRangeCollection: { + prototype: MSRangeCollection; + new(): MSRangeCollection; +}; + +interface MSSiteModeEvent extends Event { + readonly actionURL: string; + readonly buttonID: number; +} + +declare var MSSiteModeEvent: { + prototype: MSSiteModeEvent; + new(): MSSiteModeEvent; +}; + +interface MSStream { + readonly type: string; + msClose(): void; + msDetachStream(): any; +} + +declare var MSStream: { + prototype: MSStream; + new(): MSStream; +}; + +interface MSStreamReaderEventMap { + "abort": ProgressEvent; + "error": ProgressEvent; + "load": ProgressEvent; + "loadend": ProgressEvent; + "loadstart": ProgressEvent; + "progress": ProgressEvent; +} + +interface MSStreamReader extends EventTarget { + readonly error: DOMError; + onabort: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onerror: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onload: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onloadend: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onloadstart: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onprogress: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + readonly readyState: number; + readonly result: any; + abort(): void; + readAsArrayBuffer(stream: MSStream, size?: number): void; + readAsBinaryString(stream: MSStream, size?: number): void; + readAsBlob(stream: MSStream, size?: number): void; + readAsDataURL(stream: MSStream, size?: number): void; + readAsText(stream: MSStream, encoding?: string, size?: number): void; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; + addEventListener(type: K, listener: (this: MSStreamReader, ev: MSStreamReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MSStreamReader, ev: MSStreamReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MSStreamReader: { + prototype: MSStreamReader; + new(): MSStreamReader; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; +}; + +interface MediaDeviceInfo { + readonly deviceId: string; + readonly groupId: string; + readonly kind: MediaDeviceKind; + readonly label: string; +} + +declare var MediaDeviceInfo: { + prototype: MediaDeviceInfo; + new(): MediaDeviceInfo; +}; + +interface MediaDevicesEventMap { + "devicechange": Event; +} + +interface MediaDevices extends EventTarget { + ondevicechange: ((this: MediaDevices , ev: Event) => any) | null; + enumerateDevices(): Promise; + getSupportedConstraints(): MediaTrackSupportedConstraints; + getUserMedia(constraints: MediaStreamConstraints): Promise; + addEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MediaDevices: { + prototype: MediaDevices; + new(): MediaDevices; +}; + +interface MediaElementAudioSourceNode extends AudioNode { +} + +declare var MediaElementAudioSourceNode: { + prototype: MediaElementAudioSourceNode; + new(): MediaElementAudioSourceNode; +}; + +interface MediaEncryptedEvent extends Event { + readonly initData: ArrayBuffer | null; + readonly initDataType: string; +} + +declare var MediaEncryptedEvent: { + prototype: MediaEncryptedEvent; + new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent; +}; + +interface MediaError { + readonly code: number; + readonly msExtendedCode: number; + readonly MEDIA_ERR_ABORTED: number; + readonly MEDIA_ERR_DECODE: number; + readonly MEDIA_ERR_NETWORK: number; + readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number; + readonly MS_MEDIA_ERR_ENCRYPTED: number; +} + +declare var MediaError: { + prototype: MediaError; + new(): MediaError; + readonly MEDIA_ERR_ABORTED: number; + readonly MEDIA_ERR_DECODE: number; + readonly MEDIA_ERR_NETWORK: number; + readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number; + readonly MS_MEDIA_ERR_ENCRYPTED: number; +}; + +interface MediaKeyMessageEvent extends Event { + readonly message: ArrayBuffer; + readonly messageType: MediaKeyMessageType; +} + +declare var MediaKeyMessageEvent: { + prototype: MediaKeyMessageEvent; + new(type: string, eventInitDict?: MediaKeyMessageEventInit): MediaKeyMessageEvent; +}; + +interface MediaKeySession extends EventTarget { + readonly closed: Promise; + readonly expiration: number; + readonly keyStatuses: MediaKeyStatusMap; + readonly sessionId: string; + close(): Promise; + generateRequest(initDataType: string, initData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): Promise; + load(sessionId: string): Promise; + remove(): Promise; + update(response: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): Promise; +} + +declare var MediaKeySession: { + prototype: MediaKeySession; + new(): MediaKeySession; +}; + +interface MediaKeyStatusMap { + readonly size: number; + forEach(callback: Function, thisArg?: any): void; + get(keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): MediaKeyStatus; + has(keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): boolean; +} + +declare var MediaKeyStatusMap: { + prototype: MediaKeyStatusMap; + new(): MediaKeyStatusMap; +}; + +interface MediaKeySystemAccess { + readonly keySystem: string; + createMediaKeys(): Promise; + getConfiguration(): MediaKeySystemConfiguration; +} + +declare var MediaKeySystemAccess: { + prototype: MediaKeySystemAccess; + new(): MediaKeySystemAccess; +}; + +interface MediaKeys { + createSession(sessionType?: MediaKeySessionType): MediaKeySession; + setServerCertificate(serverCertificate: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): Promise; +} + +declare var MediaKeys: { + prototype: MediaKeys; + new(): MediaKeys; +}; + +interface MediaList { + readonly length: number; + mediaText: number; + appendMedium(medium: string): void; + deleteMedium(medium: string): void; + item(index: number): string | null; + toString(): number; + [index: number]: string | null; +} + +declare var MediaList: { + prototype: MediaList; + new(): MediaList; +}; + +interface MediaQueryList { + readonly matches: boolean; + readonly media: string; + addListener(listener: MediaQueryListListener): void; + removeListener(listener: MediaQueryListListener): void; +} + +declare var MediaQueryList: { + prototype: MediaQueryList; + new(): MediaQueryList; +}; + +interface MediaSource extends EventTarget { + readonly activeSourceBuffers: SourceBufferList; + duration: number; + readonly readyState: string; + readonly sourceBuffers: SourceBufferList; + addSourceBuffer(type: string): SourceBuffer; + endOfStream(error?: number): void; + removeSourceBuffer(sourceBuffer: SourceBuffer): void; +} + +declare var MediaSource: { + prototype: MediaSource; + new(): MediaSource; + isTypeSupported(type: string): boolean; +}; + +interface MediaStreamEventMap { + "active": Event; + "addtrack": MediaStreamTrackEvent; + "inactive": Event; + "removetrack": MediaStreamTrackEvent; +} + +interface MediaStream extends EventTarget { + readonly active: boolean; + readonly id: string; + onactive: ((this: MediaStream , ev: Event) => any) | null; + onaddtrack: ((this: MediaStream , ev: MediaStreamTrackEvent) => any) | null; + oninactive: ((this: MediaStream , ev: Event) => any) | null; + onremovetrack: ((this: MediaStream , ev: MediaStreamTrackEvent) => any) | null; + addTrack(track: MediaStreamTrack): void; + clone(): MediaStream; + getAudioTracks(): MediaStreamTrack[]; + getTrackById(trackId: string): MediaStreamTrack | null; + getTracks(): MediaStreamTrack[]; + getVideoTracks(): MediaStreamTrack[]; + removeTrack(track: MediaStreamTrack): void; + stop(): void; + addEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MediaStream: { + prototype: MediaStream; + new(): MediaStream; + new(stream: MediaStream): MediaStream; + new(tracks: MediaStreamTrack[]): MediaStream; +}; + +interface MediaStreamAudioSourceNode extends AudioNode { +} + +declare var MediaStreamAudioSourceNode: { + prototype: MediaStreamAudioSourceNode; + new(): MediaStreamAudioSourceNode; +}; + +interface MediaStreamError { + readonly constraintName: string | null; + readonly message: string | null; + readonly name: string; +} + +declare var MediaStreamError: { + prototype: MediaStreamError; + new(): MediaStreamError; +}; + +interface MediaStreamErrorEvent extends Event { + readonly error: MediaStreamError | null; +} + +declare var MediaStreamErrorEvent: { + prototype: MediaStreamErrorEvent; + new(typeArg: string, eventInitDict?: MediaStreamErrorEventInit): MediaStreamErrorEvent; +}; + +interface MediaStreamEvent extends Event { + readonly stream: MediaStream | null; +} + +declare var MediaStreamEvent: { + prototype: MediaStreamEvent; + new(type: string, eventInitDict: MediaStreamEventInit): MediaStreamEvent; +}; + +interface MediaStreamTrackEventMap { + "ended": MediaStreamErrorEvent; + "mute": Event; + "overconstrained": MediaStreamErrorEvent; + "unmute": Event; +} + +interface MediaStreamTrack extends EventTarget { + enabled: boolean; + readonly id: string; + readonly kind: string; + readonly label: string; + readonly muted: boolean; + onended: ((this: MediaStreamTrack , ev: MediaStreamErrorEvent) => any) | null; + onmute: ((this: MediaStreamTrack , ev: Event) => any) | null; + onoverconstrained: ((this: MediaStreamTrack , ev: MediaStreamErrorEvent) => any) | null; + onunmute: ((this: MediaStreamTrack , ev: Event) => any) | null; + readonly readonly: boolean; + readonly readyState: MediaStreamTrackState; + readonly remote: boolean; + applyConstraints(constraints: MediaTrackConstraints): Promise; + clone(): MediaStreamTrack; + getCapabilities(): MediaTrackCapabilities; + getConstraints(): MediaTrackConstraints; + getSettings(): MediaTrackSettings; + stop(): void; + addEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MediaStreamTrack: { + prototype: MediaStreamTrack; + new(): MediaStreamTrack; +}; + +interface MediaStreamTrackEvent extends Event { + readonly track: MediaStreamTrack; +} + +declare var MediaStreamTrackEvent: { + prototype: MediaStreamTrackEvent; + new(typeArg: string, eventInitDict?: MediaStreamTrackEventInit): MediaStreamTrackEvent; +}; + +interface MessageChannel { + readonly port1: MessagePort; + readonly port2: MessagePort; +} + +declare var MessageChannel: { + prototype: MessageChannel; + new(): MessageChannel; +}; + +interface MessageEvent extends Event { + readonly data: any; + readonly origin: string; + readonly ports: ReadonlyArray; + readonly source: Window | null; + initMessageEvent(type: string, bubbles: boolean, cancelable: boolean, data: any, origin: string, lastEventId: string, source: Window): void; +} + +declare var MessageEvent: { + prototype: MessageEvent; + new(type: string, eventInitDict?: MessageEventInit): MessageEvent; +}; + +interface MessagePortEventMap { + "message": MessageEvent; +} + +interface MessagePort extends EventTarget { + onmessage: ((this: MessagePort , ev: MessageEvent) => any) | null; + close(): void; + postMessage(message?: any, transfer?: any[]): void; + start(): void; + addEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var MessagePort: { + prototype: MessagePort; + new(): MessagePort; +}; + +interface MimeType { + readonly description: string; + readonly enabledPlugin: Plugin; + readonly suffixes: string; + readonly type: string; +} + +declare var MimeType: { + prototype: MimeType; + new(): MimeType; +}; + +interface MimeTypeArray { + readonly length: number; + item(index: number): Plugin; + namedItem(type: string): Plugin; + [index: number]: Plugin; +} + +declare var MimeTypeArray: { + prototype: MimeTypeArray; + new(): MimeTypeArray; +}; + +interface MouseEvent extends UIEvent { + readonly altKey: boolean; + readonly button: number; + readonly buttons: number; + readonly clientX: number; + readonly clientY: number; + readonly ctrlKey: boolean; + /** @deprecated */ + readonly fromElement: Element; + readonly layerX: number; + readonly layerY: number; + readonly metaKey: boolean; + readonly movementX: number; + readonly movementY: number; + readonly offsetX: number; + readonly offsetY: number; + readonly pageX: number; + readonly pageY: number; + readonly relatedTarget: EventTarget; + readonly screenX: number; + readonly screenY: number; + readonly shiftKey: boolean; + /** @deprecated */ + readonly toElement: Element; + /** @deprecated */ + readonly which: number; + readonly x: number; + readonly y: number; + getModifierState(keyArg: string): boolean; + initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void; +} + +declare var MouseEvent: { + prototype: MouseEvent; + new(typeArg: string, eventInitDict?: MouseEventInit): MouseEvent; +}; + +interface MutationEvent extends Event { + readonly attrChange: number; + readonly attrName: string; + readonly newValue: string; + readonly prevValue: string; + readonly relatedNode: Node; + initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void; + readonly ADDITION: number; + readonly MODIFICATION: number; + readonly REMOVAL: number; +} + +declare var MutationEvent: { + prototype: MutationEvent; + new(): MutationEvent; + readonly ADDITION: number; + readonly MODIFICATION: number; + readonly REMOVAL: number; +}; + +interface MutationObserver { + disconnect(): void; + observe(target: Node, options: MutationObserverInit): void; + takeRecords(): MutationRecord[]; +} + +declare var MutationObserver: { + prototype: MutationObserver; + new(callback: MutationCallback): MutationObserver; +}; + +interface MutationRecord { + readonly addedNodes: NodeList; + readonly attributeName: string | null; + readonly attributeNamespace: string | null; + readonly nextSibling: Node | null; + readonly oldValue: string | null; + readonly previousSibling: Node | null; + readonly removedNodes: NodeList; + readonly target: Node; + readonly type: string; +} + +declare var MutationRecord: { + prototype: MutationRecord; + new(): MutationRecord; +}; + +interface NamedNodeMap { + readonly length: number; + getNamedItem(qualifiedName: string): Attr | null; + getNamedItemNS(namespace: string | null, localName: string): Attr | null; + item(index: number): Attr | null; + removeNamedItem(qualifiedName: string): Attr; + removeNamedItemNS(namespace: string | null, localName: string): Attr; + setNamedItem(attr: Attr): Attr | null; + setNamedItemNS(attr: Attr): Attr | null; + [index: number]: Attr | null; +} + +declare var NamedNodeMap: { + prototype: NamedNodeMap; + new(): NamedNodeMap; +}; + +interface Navigator extends NavigatorID, NavigatorOnLine, NavigatorContentUtils, NavigatorStorageUtils, MSNavigatorDoNotTrack, MSFileSaver, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorUserMedia, NavigatorLanguage { + readonly activeVRDisplays: ReadonlyArray; + readonly authentication: WebAuthentication; + readonly cookieEnabled: boolean; + readonly doNotTrack: string | null; + gamepadInputEmulation: GamepadInputEmulationType; + readonly geolocation: Geolocation; + readonly maxTouchPoints: number; + readonly mimeTypes: MimeTypeArray; + readonly msManipulationViewsEnabled: boolean; + readonly msMaxTouchPoints: number; + readonly msPointerEnabled: boolean; + readonly plugins: PluginArray; + readonly serviceWorker: ServiceWorkerContainer; + readonly webdriver: boolean; + getGamepads(): Array; + getVRDisplays(): Promise; + javaEnabled(): boolean; + msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; + requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise; + vibrate(pattern: number | number[]): boolean; +} + +declare var Navigator: { + prototype: Navigator; + new(): Navigator; +}; + +interface NavigatorBeacon { + sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean; +} + +interface NavigatorConcurrentHardware { + readonly hardwareConcurrency: number; +} + +interface NavigatorContentUtils { +} + +interface NavigatorID { + readonly appCodeName: string; + readonly appName: string; + readonly appVersion: string; + readonly platform: string; + readonly product: string; + readonly productSub: string; + readonly userAgent: string; + readonly vendor: string; + readonly vendorSub: string; +} + +interface NavigatorLanguage { + readonly language: string; + readonly languages: ReadonlyArray; +} + +interface NavigatorOnLine { + readonly onLine: boolean; +} + +interface NavigatorStorageUtils { +} + +interface NavigatorUserMedia { + readonly mediaDevices: MediaDevices; + getDisplayMedia(constraints: MediaStreamConstraints): Promise; + getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void; +} + +interface Node extends EventTarget { + readonly baseURI: string | null; + readonly childNodes: NodeList; + readonly firstChild: Node | null; + readonly lastChild: Node | null; + readonly localName: string | null; + readonly namespaceURI: string | null; + readonly nextSibling: Node | null; + readonly nodeName: string; + readonly nodeType: number; + nodeValue: string | null; + readonly ownerDocument: Document; + readonly parentElement: HTMLElement | null; + readonly parentNode: Node | null; + readonly previousSibling: Node | null; + textContent: string | null; + appendChild(newChild: T): T; + cloneNode(deep?: boolean): Node; + compareDocumentPosition(other: Node): number; + contains(child: Node): boolean; + hasChildNodes(): boolean; + insertBefore(newChild: T, refChild: Node | null): T; + isDefaultNamespace(namespaceURI: string | null): boolean; + isEqualNode(arg: Node): boolean; + isSameNode(other: Node): boolean; + lookupNamespaceURI(prefix: string | null): string | null; + lookupPrefix(namespaceURI: string | null): string | null; + normalize(): void; + removeChild(oldChild: T): T; + replaceChild(newChild: Node, oldChild: T): T; + readonly ATTRIBUTE_NODE: number; + readonly CDATA_SECTION_NODE: number; + readonly COMMENT_NODE: number; + readonly DOCUMENT_FRAGMENT_NODE: number; + readonly DOCUMENT_NODE: number; + readonly DOCUMENT_POSITION_CONTAINED_BY: number; + readonly DOCUMENT_POSITION_CONTAINS: number; + readonly DOCUMENT_POSITION_DISCONNECTED: number; + readonly DOCUMENT_POSITION_FOLLOWING: number; + readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; + readonly DOCUMENT_POSITION_PRECEDING: number; + readonly DOCUMENT_TYPE_NODE: number; + readonly ELEMENT_NODE: number; + readonly ENTITY_NODE: number; + readonly ENTITY_REFERENCE_NODE: number; + readonly NOTATION_NODE: number; + readonly PROCESSING_INSTRUCTION_NODE: number; + readonly TEXT_NODE: number; +} + +declare var Node: { + prototype: Node; + new(): Node; + readonly ATTRIBUTE_NODE: number; + readonly CDATA_SECTION_NODE: number; + readonly COMMENT_NODE: number; + readonly DOCUMENT_FRAGMENT_NODE: number; + readonly DOCUMENT_NODE: number; + readonly DOCUMENT_POSITION_CONTAINED_BY: number; + readonly DOCUMENT_POSITION_CONTAINS: number; + readonly DOCUMENT_POSITION_DISCONNECTED: number; + readonly DOCUMENT_POSITION_FOLLOWING: number; + readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; + readonly DOCUMENT_POSITION_PRECEDING: number; + readonly DOCUMENT_TYPE_NODE: number; + readonly ELEMENT_NODE: number; + readonly ENTITY_NODE: number; + readonly ENTITY_REFERENCE_NODE: number; + readonly NOTATION_NODE: number; + readonly PROCESSING_INSTRUCTION_NODE: number; + readonly TEXT_NODE: number; +}; + +interface NodeFilter { + acceptNode(node: Node): number; +} + +declare var NodeFilter: { + readonly FILTER_ACCEPT: number; + readonly FILTER_REJECT: number; + readonly FILTER_SKIP: number; + readonly SHOW_ALL: number; + readonly SHOW_ATTRIBUTE: number; + readonly SHOW_CDATA_SECTION: number; + readonly SHOW_COMMENT: number; + readonly SHOW_DOCUMENT: number; + readonly SHOW_DOCUMENT_FRAGMENT: number; + readonly SHOW_DOCUMENT_TYPE: number; + readonly SHOW_ELEMENT: number; + readonly SHOW_ENTITY: number; + readonly SHOW_ENTITY_REFERENCE: number; + readonly SHOW_NOTATION: number; + readonly SHOW_PROCESSING_INSTRUCTION: number; + readonly SHOW_TEXT: number; +}; + +interface NodeIterator { + /** @deprecated */ + readonly expandEntityReferences: boolean; + readonly filter: NodeFilter | null; + readonly root: Node; + readonly whatToShow: number; + detach(): void; + nextNode(): Node | null; + previousNode(): Node | null; +} + +declare var NodeIterator: { + prototype: NodeIterator; + new(): NodeIterator; +}; + +interface NodeList { + readonly length: number; + item(index: number): Node; + [index: number]: Node; +} + +declare var NodeList: { + prototype: NodeList; + new(): NodeList; +}; + +interface NodeListOf extends NodeList { + length: number; + item(index: number): TNode; + [index: number]: TNode; +} + +interface NotificationEventMap { + "click": Event; + "close": Event; + "error": Event; + "show": Event; +} + +interface Notification extends EventTarget { + readonly body: string | null; + readonly data: any; + readonly dir: NotificationDirection; + readonly icon: string | null; + readonly lang: string | null; + onclick: ((this: Notification , ev: Event) => any) | null; + onclose: ((this: Notification , ev: Event) => any) | null; + onerror: ((this: Notification , ev: Event) => any) | null; + onshow: ((this: Notification , ev: Event) => any) | null; + readonly permission: NotificationPermission; + readonly tag: string | null; + readonly title: string; + close(): void; + addEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Notification: { + prototype: Notification; + new(title: string, options?: NotificationOptions): Notification; + requestPermission(callback?: NotificationPermissionCallback): Promise; +}; + +interface OES_element_index_uint { +} + +declare var OES_element_index_uint: { + prototype: OES_element_index_uint; + new(): OES_element_index_uint; +}; + +interface OES_standard_derivatives { + readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number; +} + +declare var OES_standard_derivatives: { + prototype: OES_standard_derivatives; + new(): OES_standard_derivatives; + readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number; +}; + +interface OES_texture_float { +} + +declare var OES_texture_float: { + prototype: OES_texture_float; + new(): OES_texture_float; +}; + +interface OES_texture_float_linear { +} + +declare var OES_texture_float_linear: { + prototype: OES_texture_float_linear; + new(): OES_texture_float_linear; +}; + +interface OES_texture_half_float { + readonly HALF_FLOAT_OES: number; +} + +declare var OES_texture_half_float: { + prototype: OES_texture_half_float; + new(): OES_texture_half_float; + readonly HALF_FLOAT_OES: number; +}; + +interface OES_texture_half_float_linear { +} + +declare var OES_texture_half_float_linear: { + prototype: OES_texture_half_float_linear; + new(): OES_texture_half_float_linear; +}; + +interface OES_vertex_array_object { + readonly VERTEX_ARRAY_BINDING_OES: number; + bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void; + createVertexArrayOES(): WebGLVertexArrayObjectOES; + deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void; + isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES; +} + +interface OfflineAudioCompletionEvent extends Event { + readonly renderedBuffer: AudioBuffer; +} + +declare var OfflineAudioCompletionEvent: { + prototype: OfflineAudioCompletionEvent; + new(): OfflineAudioCompletionEvent; +}; + +interface OfflineAudioContextEventMap extends AudioContextEventMap { + "complete": OfflineAudioCompletionEvent; +} + +interface OfflineAudioContext extends AudioContextBase { + readonly length: number; + oncomplete: ((this: OfflineAudioContext , ev: OfflineAudioCompletionEvent) => any) | null; + startRendering(): Promise; + suspend(suspendTime: number): Promise; + addEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var OfflineAudioContext: { + prototype: OfflineAudioContext; + new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext; +}; + +interface OscillatorNodeEventMap { + "ended": Event; +} + +interface OscillatorNode extends AudioNode { + readonly detune: AudioParam; + readonly frequency: AudioParam; + onended: ((this: OscillatorNode , ev: Event) => any) | null; + type: OscillatorType; + setPeriodicWave(periodicWave: PeriodicWave): void; + start(when?: number): void; + stop(when?: number): void; + addEventListener(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var OscillatorNode: { + prototype: OscillatorNode; + new(): OscillatorNode; +}; + +interface OverflowEvent extends UIEvent { + readonly horizontalOverflow: boolean; + readonly orient: number; + readonly verticalOverflow: boolean; + readonly BOTH: number; + readonly HORIZONTAL: number; + readonly VERTICAL: number; +} + +declare var OverflowEvent: { + prototype: OverflowEvent; + new(): OverflowEvent; + readonly BOTH: number; + readonly HORIZONTAL: number; + readonly VERTICAL: number; +}; + +interface PageTransitionEvent extends Event { + readonly persisted: boolean; +} + +declare var PageTransitionEvent: { + prototype: PageTransitionEvent; + new(): PageTransitionEvent; +}; + +interface PannerNode extends AudioNode { + coneInnerAngle: number; + coneOuterAngle: number; + coneOuterGain: number; + distanceModel: DistanceModelType; + maxDistance: number; + panningModel: PanningModelType; + refDistance: number; + rolloffFactor: number; + /** @deprecated */ + setOrientation(x: number, y: number, z: number): void; + /** @deprecated */ + setPosition(x: number, y: number, z: number): void; + /** @deprecated */ + setVelocity(x: number, y: number, z: number): void; +} + +declare var PannerNode: { + prototype: PannerNode; + new(): PannerNode; +}; + +interface ParentNode { + readonly childElementCount: number; + readonly firstElementChild: Element | null; + readonly lastElementChild: Element | null; +} + +interface ParentNode { + readonly children: HTMLCollection; + querySelectorAll(selectors: K): NodeListOf; + querySelectorAll(selectors: K): NodeListOf; + querySelectorAll(selectors: string): NodeListOf; +} + +interface Path2D extends CanvasPathMethods { +} + +declare var Path2D: { + prototype: Path2D; + new(path?: Path2D): Path2D; +}; + +interface PaymentAddress { + readonly addressLine: string[]; + readonly city: string; + readonly country: string; + readonly dependentLocality: string; + readonly languageCode: string; + readonly organization: string; + readonly phone: string; + readonly postalCode: string; + readonly recipient: string; + readonly region: string; + readonly sortingCode: string; + toJSON(): any; +} + +declare var PaymentAddress: { + prototype: PaymentAddress; + new(): PaymentAddress; +}; + +interface PaymentRequestEventMap { + "shippingaddresschange": Event; + "shippingoptionchange": Event; +} + +interface PaymentRequest extends EventTarget { + readonly id: string; + onshippingaddresschange: ((this: PaymentRequest , ev: Event) => any) | null; + onshippingoptionchange: ((this: PaymentRequest , ev: Event) => any) | null; + readonly shippingAddress: PaymentAddress | null; + readonly shippingOption: string | null; + readonly shippingType: PaymentShippingType | null; + abort(): Promise; + canMakePayment(): Promise; + show(): Promise; + addEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var PaymentRequest: { + prototype: PaymentRequest; + new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest; +}; + +interface PaymentRequestUpdateEvent extends Event { + updateWith(detailsPromise: Promise): void; +} + +declare var PaymentRequestUpdateEvent: { + prototype: PaymentRequestUpdateEvent; + new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent; +}; + +interface PaymentResponse { + readonly details: any; + readonly methodName: string; + readonly payerEmail: string | null; + readonly payerName: string | null; + readonly payerPhone: string | null; + readonly requestId: string; + readonly shippingAddress: PaymentAddress | null; + readonly shippingOption: string | null; + complete(result?: PaymentComplete): Promise; + toJSON(): any; +} + +declare var PaymentResponse: { + prototype: PaymentResponse; + new(): PaymentResponse; +}; + +interface PerfWidgetExternal { + readonly activeNetworkRequestCount: number; + readonly averageFrameTime: number; + readonly averagePaintTime: number; + readonly extraInformationEnabled: boolean; + readonly independentRenderingEnabled: boolean; + readonly irDisablingContentString: string; + readonly irStatusAvailable: boolean; + readonly maxCpuSpeed: number; + readonly paintRequestsPerSecond: number; + readonly performanceCounter: number; + readonly performanceCounterFrequency: number; + addEventListener(eventType: string, callback: Function): void; + getMemoryUsage(): number; + getProcessCpuUsage(): number; + getRecentCpuUsage(last: number | null): any; + getRecentFrames(last: number | null): any; + getRecentMemoryUsage(last: number | null): any; + getRecentPaintRequests(last: number | null): any; + removeEventListener(eventType: string, callback: Function): void; + repositionWindow(x: number, y: number): void; + resizeWindow(width: number, height: number): void; +} + +declare var PerfWidgetExternal: { + prototype: PerfWidgetExternal; + new(): PerfWidgetExternal; +}; + +interface Performance { + /** @deprecated */ + readonly navigation: PerformanceNavigation; + readonly timeOrigin: number; + /** @deprecated */ + readonly timing: PerformanceTiming; + clearMarks(markName?: string): void; + clearMeasures(measureName?: string): void; + clearResourceTimings(): void; + getEntries(): any; + getEntriesByName(name: string, type?: string): any; + getEntriesByType(type: string): any; + /** @deprecated */ + getMarks(markName?: string): any; + /** @deprecated */ + getMeasures(measureName?: string): any; + mark(markName: string): void; + measure(measureName: string, startMarkName?: string, endMarkName?: string): void; + now(): number; + setResourceTimingBufferSize(maxSize: number): void; + toJSON(): any; +} + +declare var Performance: { + prototype: Performance; + new(): Performance; +}; + +interface PerformanceEntry { + readonly duration: number; + readonly entryType: string; + readonly name: string; + readonly startTime: number; + toJSON(): any; +} + +declare var PerformanceEntry: { + prototype: PerformanceEntry; + new(): PerformanceEntry; +}; + +interface PerformanceMark extends PerformanceEntry { +} + +declare var PerformanceMark: { + prototype: PerformanceMark; + new(): PerformanceMark; +}; + +interface PerformanceMeasure extends PerformanceEntry { +} + +declare var PerformanceMeasure: { + prototype: PerformanceMeasure; + new(): PerformanceMeasure; +}; + +interface PerformanceNavigation { + readonly redirectCount: number; + readonly type: number; + toJSON(): any; + readonly TYPE_BACK_FORWARD: number; + readonly TYPE_NAVIGATE: number; + readonly TYPE_RELOAD: number; + readonly TYPE_RESERVED: number; +} + +declare var PerformanceNavigation: { + prototype: PerformanceNavigation; + new(): PerformanceNavigation; + readonly TYPE_BACK_FORWARD: number; + readonly TYPE_NAVIGATE: number; + readonly TYPE_RELOAD: number; + readonly TYPE_RESERVED: number; +}; + +interface PerformanceNavigationTiming extends PerformanceEntry { + /** @deprecated */ + readonly connectEnd: number; + /** @deprecated */ + readonly connectStart: number; + readonly domComplete: number; + readonly domContentLoadedEventEnd: number; + readonly domContentLoadedEventStart: number; + readonly domInteractive: number; + /** @deprecated */ + readonly domLoading: number; + /** @deprecated */ + readonly domainLookupEnd: number; + /** @deprecated */ + readonly domainLookupStart: number; + /** @deprecated */ + readonly fetchStart: number; + readonly loadEventEnd: number; + readonly loadEventStart: number; + /** @deprecated */ + readonly navigationStart: number; + readonly redirectCount: number; + /** @deprecated */ + readonly redirectEnd: number; + /** @deprecated */ + readonly redirectStart: number; + /** @deprecated */ + readonly requestStart: number; + /** @deprecated */ + readonly responseEnd: number; + /** @deprecated */ + readonly responseStart: number; + readonly type: NavigationType; + readonly unloadEventEnd: number; + readonly unloadEventStart: number; + readonly workerStart: number; +} + +declare var PerformanceNavigationTiming: { + prototype: PerformanceNavigationTiming; + new(): PerformanceNavigationTiming; +}; + +interface PerformanceResourceTiming extends PerformanceEntry { + readonly connectEnd: number; + readonly connectStart: number; + readonly domainLookupEnd: number; + readonly domainLookupStart: number; + readonly fetchStart: number; + readonly initiatorType: string; + readonly redirectEnd: number; + readonly redirectStart: number; + readonly requestStart: number; + readonly responseEnd: number; + readonly responseStart: number; + readonly workerStart: number; +} + +declare var PerformanceResourceTiming: { + prototype: PerformanceResourceTiming; + new(): PerformanceResourceTiming; +}; + +interface PerformanceTiming { + readonly connectEnd: number; + readonly connectStart: number; + readonly domComplete: number; + readonly domContentLoadedEventEnd: number; + readonly domContentLoadedEventStart: number; + readonly domInteractive: number; + readonly domLoading: number; + readonly domainLookupEnd: number; + readonly domainLookupStart: number; + readonly fetchStart: number; + readonly loadEventEnd: number; + readonly loadEventStart: number; + readonly msFirstPaint: number; + readonly navigationStart: number; + readonly redirectEnd: number; + readonly redirectStart: number; + readonly requestStart: number; + readonly responseEnd: number; + readonly responseStart: number; + readonly secureConnectionStart: number; + readonly unloadEventEnd: number; + readonly unloadEventStart: number; + toJSON(): any; +} + +declare var PerformanceTiming: { + prototype: PerformanceTiming; + new(): PerformanceTiming; +}; + +interface PeriodicWave { +} + +declare var PeriodicWave: { + prototype: PeriodicWave; + new(): PeriodicWave; +}; + +interface PermissionRequest extends DeferredPermissionRequest { + readonly state: MSWebViewPermissionState; + defer(): void; +} + +declare var PermissionRequest: { + prototype: PermissionRequest; + new(): PermissionRequest; +}; + +interface PermissionRequestedEvent extends Event { + readonly permissionRequest: PermissionRequest; +} + +declare var PermissionRequestedEvent: { + prototype: PermissionRequestedEvent; + new(): PermissionRequestedEvent; +}; + +interface Plugin { + readonly description: string; + readonly filename: string; + readonly length: number; + readonly name: string; + readonly version: string; + item(index: number): MimeType; + namedItem(type: string): MimeType; + [index: number]: MimeType; +} + +declare var Plugin: { + prototype: Plugin; + new(): Plugin; +}; + +interface PluginArray { + readonly length: number; + item(index: number): Plugin; + namedItem(name: string): Plugin; + refresh(reload?: boolean): void; + [index: number]: Plugin; +} + +declare var PluginArray: { + prototype: PluginArray; + new(): PluginArray; +}; + +interface PointerEvent extends MouseEvent { + readonly currentPoint: any; + readonly height: number; + readonly hwTimestamp: number; + readonly intermediatePoints: any; + readonly isPrimary: boolean; + readonly pointerId: number; + readonly pointerType: any; + readonly pressure: number; + readonly rotation: number; + readonly tiltX: number; + readonly tiltY: number; + readonly width: number; + getCurrentPoint(element: Element): void; + getIntermediatePoints(element: Element): void; + initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void; +} + +declare var PointerEvent: { + prototype: PointerEvent; + new(typeArg: string, eventInitDict?: PointerEventInit): PointerEvent; +}; + +interface PopStateEvent extends Event { + readonly state: any; +} + +declare var PopStateEvent: { + prototype: PopStateEvent; + new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent; +}; + +interface Position { + readonly coords: Coordinates; + readonly timestamp: number; +} + +declare var Position: { + prototype: Position; + new(): Position; +}; + +interface PositionError { + readonly code: number; + readonly message: string; + toString(): string; + readonly PERMISSION_DENIED: number; + readonly POSITION_UNAVAILABLE: number; + readonly TIMEOUT: number; +} + +declare var PositionError: { + prototype: PositionError; + new(): PositionError; + readonly PERMISSION_DENIED: number; + readonly POSITION_UNAVAILABLE: number; + readonly TIMEOUT: number; +}; + +interface ProcessingInstruction extends CharacterData { + readonly target: string; +} + +declare var ProcessingInstruction: { + prototype: ProcessingInstruction; + new(): ProcessingInstruction; +}; + +interface ProgressEvent extends Event { + readonly lengthComputable: boolean; + readonly loaded: number; + readonly total: number; + initProgressEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, lengthComputableArg: boolean, loadedArg: number, totalArg: number): void; +} + +declare var ProgressEvent: { + prototype: ProgressEvent; + new(typeArg: string, eventInitDict?: ProgressEventInit): ProgressEvent; +}; + +interface PromiseRejectionEvent extends Event { + readonly promise: PromiseLike; + readonly reason: any; +} + +interface PromiseRejectionEventInit extends EventInit { + promise: PromiseLike; + reason?: any; +} + +interface PushManager { + readonly supportedContentEncodings: ReadonlyArray; + getSubscription(): Promise; + permissionState(options?: PushSubscriptionOptionsInit): Promise; + subscribe(options?: PushSubscriptionOptionsInit): Promise; +} + +declare var PushManager: { + prototype: PushManager; + new(): PushManager; +}; + +interface PushSubscription { + readonly endpoint: string; + readonly expirationTime: number | null; + readonly options: PushSubscriptionOptions; + getKey(name: PushEncryptionKeyName): ArrayBuffer | null; + toJSON(): any; + unsubscribe(): Promise; +} + +declare var PushSubscription: { + prototype: PushSubscription; + new(): PushSubscription; +}; + +interface PushSubscriptionOptions { + readonly applicationServerKey: ArrayBuffer | null; + readonly userVisibleOnly: boolean; +} + +declare var PushSubscriptionOptions: { + prototype: PushSubscriptionOptions; + new(): PushSubscriptionOptions; +}; + +interface RTCDTMFToneChangeEvent extends Event { + readonly tone: string; +} + +declare var RTCDTMFToneChangeEvent: { + prototype: RTCDTMFToneChangeEvent; + new(typeArg: string, eventInitDict: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent; +}; + +interface RTCDtlsTransportEventMap { + "dtlsstatechange": RTCDtlsTransportStateChangedEvent; + "error": Event; +} + +interface RTCDtlsTransport extends RTCStatsProvider { + ondtlsstatechange: ((this: RTCDtlsTransport , ev: RTCDtlsTransportStateChangedEvent) => any) | null; + onerror: ((this: RTCDtlsTransport , ev: Event) => any) | null; + readonly state: RTCDtlsTransportState; + readonly transport: RTCIceTransport; + getLocalParameters(): RTCDtlsParameters; + getRemoteCertificates(): ArrayBuffer[]; + getRemoteParameters(): RTCDtlsParameters | null; + start(remoteParameters: RTCDtlsParameters): void; + stop(): void; + addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCDtlsTransport: { + prototype: RTCDtlsTransport; + new(transport: RTCIceTransport): RTCDtlsTransport; +}; + +interface RTCDtlsTransportStateChangedEvent extends Event { + readonly state: RTCDtlsTransportState; +} + +declare var RTCDtlsTransportStateChangedEvent: { + prototype: RTCDtlsTransportStateChangedEvent; + new(): RTCDtlsTransportStateChangedEvent; +}; + +interface RTCDtmfSenderEventMap { + "tonechange": RTCDTMFToneChangeEvent; +} + +interface RTCDtmfSender extends EventTarget { + readonly canInsertDTMF: boolean; + readonly duration: number; + readonly interToneGap: number; + ontonechange: ((this: RTCDtmfSender , ev: RTCDTMFToneChangeEvent) => any) | null; + readonly sender: RTCRtpSender; + readonly toneBuffer: string; + insertDTMF(tones: string, duration?: number, interToneGap?: number): void; + addEventListener(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCDtmfSender: { + prototype: RTCDtmfSender; + new(sender: RTCRtpSender): RTCDtmfSender; +}; + +interface RTCIceCandidate { + candidate: string | null; + sdpMLineIndex: number | null; + sdpMid: string | null; + toJSON(): any; +} + +declare var RTCIceCandidate: { + prototype: RTCIceCandidate; + new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; +}; + +interface RTCIceCandidatePairChangedEvent extends Event { + readonly pair: RTCIceCandidatePair; +} + +declare var RTCIceCandidatePairChangedEvent: { + prototype: RTCIceCandidatePairChangedEvent; + new(): RTCIceCandidatePairChangedEvent; +}; + +interface RTCIceGathererEventMap { + "error": Event; + "localcandidate": RTCIceGathererEvent; +} + +interface RTCIceGatherer extends RTCStatsProvider { + readonly component: RTCIceComponent; + onerror: ((this: RTCIceGatherer , ev: Event) => any) | null; + onlocalcandidate: ((this: RTCIceGatherer , ev: RTCIceGathererEvent) => any) | null; + createAssociatedGatherer(): RTCIceGatherer; + getLocalCandidates(): RTCIceCandidateDictionary[]; + getLocalParameters(): RTCIceParameters; + addEventListener(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCIceGatherer: { + prototype: RTCIceGatherer; + new(options: RTCIceGatherOptions): RTCIceGatherer; +}; + +interface RTCIceGathererEvent extends Event { + readonly candidate: RTCIceCandidateDictionary | RTCIceCandidateComplete; +} + +declare var RTCIceGathererEvent: { + prototype: RTCIceGathererEvent; + new(): RTCIceGathererEvent; +}; + +interface RTCIceTransportEventMap { + "candidatepairchange": RTCIceCandidatePairChangedEvent; + "icestatechange": RTCIceTransportStateChangedEvent; +} + +interface RTCIceTransport extends RTCStatsProvider { + readonly component: RTCIceComponent; + readonly iceGatherer: RTCIceGatherer | null; + oncandidatepairchange: ((this: RTCIceTransport , ev: RTCIceCandidatePairChangedEvent) => any) | null; + onicestatechange: ((this: RTCIceTransport , ev: RTCIceTransportStateChangedEvent) => any) | null; + readonly role: RTCIceRole; + readonly state: RTCIceTransportState; + addRemoteCandidate(remoteCandidate: RTCIceCandidateDictionary | RTCIceCandidateComplete): void; + createAssociatedTransport(): RTCIceTransport; + getNominatedCandidatePair(): RTCIceCandidatePair | null; + getRemoteCandidates(): RTCIceCandidateDictionary[]; + getRemoteParameters(): RTCIceParameters | null; + setRemoteCandidates(remoteCandidates: RTCIceCandidateDictionary[]): void; + start(gatherer: RTCIceGatherer, remoteParameters: RTCIceParameters, role?: RTCIceRole): void; + stop(): void; + addEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCIceTransport: { + prototype: RTCIceTransport; + new(): RTCIceTransport; +}; + +interface RTCIceTransportStateChangedEvent extends Event { + readonly state: RTCIceTransportState; +} + +declare var RTCIceTransportStateChangedEvent: { + prototype: RTCIceTransportStateChangedEvent; + new(): RTCIceTransportStateChangedEvent; +}; + +interface RTCPeerConnectionEventMap { + "addstream": MediaStreamEvent; + "icecandidate": RTCPeerConnectionIceEvent; + "iceconnectionstatechange": Event; + "icegatheringstatechange": Event; + "negotiationneeded": Event; + "removestream": MediaStreamEvent; + "signalingstatechange": Event; +} + +interface RTCPeerConnection extends EventTarget { + readonly canTrickleIceCandidates: boolean | null; + readonly iceConnectionState: RTCIceConnectionState; + readonly iceGatheringState: RTCIceGatheringState; + readonly localDescription: RTCSessionDescription | null; + onaddstream: ((this: RTCPeerConnection , ev: MediaStreamEvent) => any) | null; + onicecandidate: ((this: RTCPeerConnection , ev: RTCPeerConnectionIceEvent) => any) | null; + oniceconnectionstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; + onicegatheringstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; + onnegotiationneeded: ((this: RTCPeerConnection , ev: Event) => any) | null; + onremovestream: ((this: RTCPeerConnection , ev: MediaStreamEvent) => any) | null; + onsignalingstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; + readonly remoteDescription: RTCSessionDescription | null; + readonly signalingState: RTCSignalingState; + addIceCandidate(candidate: RTCIceCandidate, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; + addStream(stream: MediaStream): void; + close(): void; + createAnswer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise; + createOffer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise; + getConfiguration(): RTCConfiguration; + getLocalStreams(): MediaStream[]; + getRemoteStreams(): MediaStream[]; + getStats(selector: MediaStreamTrack | null, successCallback?: RTCStatsCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise; + getStreamById(streamId: string): MediaStream | null; + removeStream(stream: MediaStream): void; + setLocalDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; + setRemoteDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; + addEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCPeerConnection: { + prototype: RTCPeerConnection; + new(configuration: RTCConfiguration): RTCPeerConnection; +}; + +interface RTCPeerConnectionIceEvent extends Event { + readonly candidate: RTCIceCandidate; +} + +declare var RTCPeerConnectionIceEvent: { + prototype: RTCPeerConnectionIceEvent; + new(type: string, eventInitDict: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent; +}; + +interface RTCRtpReceiverEventMap { + "error": Event; + "msdecodercapacitychange": Event; + "msdsh": Event; +} + +interface RTCRtpReceiver extends RTCStatsProvider { + onerror: ((this: RTCRtpReceiver , ev: Event) => any) | null; + onmsdecodercapacitychange: ((this: RTCRtpReceiver , ev: Event) => any) | null; + onmsdsh: ((this: RTCRtpReceiver , ev: Event) => any) | null; + readonly rtcpTransport: RTCDtlsTransport; + readonly track: MediaStreamTrack | null; + readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; + getContributingSources(): RTCRtpContributingSource[]; + receive(parameters: RTCRtpParameters): void; + requestSendCSRC(csrc: number): void; + setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void; + stop(): void; + addEventListener(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCRtpReceiver: { + prototype: RTCRtpReceiver; + new(transport: RTCDtlsTransport | RTCSrtpSdesTransport, kind: string, rtcpTransport?: RTCDtlsTransport): RTCRtpReceiver; + getCapabilities(kind?: string): RTCRtpCapabilities; +}; + +interface RTCRtpSenderEventMap { + "error": Event; + "ssrcconflict": RTCSsrcConflictEvent; +} + +interface RTCRtpSender extends RTCStatsProvider { + onerror: ((this: RTCRtpSender , ev: Event) => any) | null; + onssrcconflict: ((this: RTCRtpSender , ev: RTCSsrcConflictEvent) => any) | null; + readonly rtcpTransport: RTCDtlsTransport; + readonly track: MediaStreamTrack; + readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; + send(parameters: RTCRtpParameters): void; + setTrack(track: MediaStreamTrack): void; + setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void; + stop(): void; + addEventListener(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCRtpSender: { + prototype: RTCRtpSender; + new(track: MediaStreamTrack, transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): RTCRtpSender; + getCapabilities(kind?: string): RTCRtpCapabilities; +}; + +interface RTCSessionDescription { + sdp: string | null; + type: RTCSdpType | null; + toJSON(): any; +} + +declare var RTCSessionDescription: { + prototype: RTCSessionDescription; + new(descriptionInitDict?: RTCSessionDescriptionInit): RTCSessionDescription; +}; + +interface RTCSrtpSdesTransportEventMap { + "error": Event; +} + +interface RTCSrtpSdesTransport extends EventTarget { + onerror: ((this: RTCSrtpSdesTransport , ev: Event) => any) | null; + readonly transport: RTCIceTransport; + addEventListener(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var RTCSrtpSdesTransport: { + prototype: RTCSrtpSdesTransport; + new(transport: RTCIceTransport, encryptParameters: RTCSrtpSdesParameters, decryptParameters: RTCSrtpSdesParameters): RTCSrtpSdesTransport; + getLocalParameters(): RTCSrtpSdesParameters[]; +}; + +interface RTCSsrcConflictEvent extends Event { + readonly ssrc: number; +} + +declare var RTCSsrcConflictEvent: { + prototype: RTCSsrcConflictEvent; + new(): RTCSsrcConflictEvent; +}; + +interface RTCStatsProvider extends EventTarget { + getStats(): Promise; + msGetStats(): Promise; +} + +declare var RTCStatsProvider: { + prototype: RTCStatsProvider; + new(): RTCStatsProvider; +}; + +interface RandomSource { + getRandomValues(array: T): T; +} + +declare var RandomSource: { + prototype: RandomSource; + new(): RandomSource; +}; + +interface Range { + readonly collapsed: boolean; + readonly commonAncestorContainer: Node; + readonly endContainer: Node; + readonly endOffset: number; + readonly startContainer: Node; + readonly startOffset: number; + cloneContents(): DocumentFragment; + cloneRange(): Range; + collapse(toStart?: boolean): void; + compareBoundaryPoints(how: number, sourceRange: Range): number; + createContextualFragment(fragment: string): DocumentFragment; + deleteContents(): void; + detach(): void; + expand(Unit: ExpandGranularity): boolean; + extractContents(): DocumentFragment; + getBoundingClientRect(): ClientRect | DOMRect; + getClientRects(): ClientRectList | DOMRectList; + insertNode(node: Node): void; + isPointInRange(node: Node, offset: number): boolean; + selectNode(node: Node): void; + selectNodeContents(node: Node): void; + setEnd(node: Node, offset: number): void; + setEndAfter(node: Node): void; + setEndBefore(node: Node): void; + setStart(node: Node, offset: number): void; + setStartAfter(node: Node): void; + setStartBefore(node: Node): void; + surroundContents(newParent: Node): void; + toString(): string; + readonly END_TO_END: number; + readonly END_TO_START: number; + readonly START_TO_END: number; + readonly START_TO_START: number; +} + +declare var Range: { + prototype: Range; + new(): Range; + readonly END_TO_END: number; + readonly END_TO_START: number; + readonly START_TO_END: number; + readonly START_TO_START: number; +}; + +interface ReadableStream { + readonly locked: boolean; + cancel(): Promise; + getReader(): ReadableStreamReader; +} + +declare var ReadableStream: { + prototype: ReadableStream; + new(): ReadableStream; +}; + +interface ReadableStreamReader { + cancel(): Promise; + read(): Promise; + releaseLock(): void; +} + +declare var ReadableStreamReader: { + prototype: ReadableStreamReader; + new(): ReadableStreamReader; +}; + +interface Request extends Body { + readonly cache: RequestCache; + readonly credentials: RequestCredentials; + readonly destination: RequestDestination; + readonly headers: Headers; + readonly integrity: string; + readonly keepalive: boolean; + readonly method: string; + readonly mode: RequestMode; + readonly redirect: RequestRedirect; + readonly referrer: string; + readonly referrerPolicy: ReferrerPolicy; + readonly signal: AbortSignal | null; + readonly type: RequestType; + readonly url: string; + clone(): Request; +} + +declare var Request: { + prototype: Request; + new(input: Request | string, init?: RequestInit): Request; +}; + +interface Response extends Body { + readonly body: ReadableStream | null; + readonly headers: Headers; + readonly ok: boolean; + readonly redirected: boolean; + readonly status: number; + readonly statusText: string; + readonly type: ResponseType; + readonly url: string; + clone(): Response; +} + +declare var Response: { + prototype: Response; + new(body?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null, init?: ResponseInit): Response; + error(): Response; + redirect(url: string, status?: number): Response; +}; + +interface SVGAElement extends SVGGraphicsElement, SVGURIReference { + readonly target: SVGAnimatedString; + addEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGAElement: { + prototype: SVGAElement; + new(): SVGAElement; +}; + +interface SVGAngle { + readonly unitType: number; + value: number; + valueAsString: string; + valueInSpecifiedUnits: number; + convertToSpecifiedUnits(unitType: number): void; + newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; + readonly SVG_ANGLETYPE_DEG: number; + readonly SVG_ANGLETYPE_GRAD: number; + readonly SVG_ANGLETYPE_RAD: number; + readonly SVG_ANGLETYPE_UNKNOWN: number; + readonly SVG_ANGLETYPE_UNSPECIFIED: number; +} + +declare var SVGAngle: { + prototype: SVGAngle; + new(): SVGAngle; + readonly SVG_ANGLETYPE_DEG: number; + readonly SVG_ANGLETYPE_GRAD: number; + readonly SVG_ANGLETYPE_RAD: number; + readonly SVG_ANGLETYPE_UNKNOWN: number; + readonly SVG_ANGLETYPE_UNSPECIFIED: number; +}; + +interface SVGAnimatedAngle { + readonly animVal: SVGAngle; + readonly baseVal: SVGAngle; +} + +declare var SVGAnimatedAngle: { + prototype: SVGAnimatedAngle; + new(): SVGAnimatedAngle; +}; + +interface SVGAnimatedBoolean { + readonly animVal: boolean; + baseVal: boolean; +} + +declare var SVGAnimatedBoolean: { + prototype: SVGAnimatedBoolean; + new(): SVGAnimatedBoolean; +}; + +interface SVGAnimatedEnumeration { + readonly animVal: number; + baseVal: number; +} + +declare var SVGAnimatedEnumeration: { + prototype: SVGAnimatedEnumeration; + new(): SVGAnimatedEnumeration; +}; + +interface SVGAnimatedInteger { + readonly animVal: number; + baseVal: number; +} + +declare var SVGAnimatedInteger: { + prototype: SVGAnimatedInteger; + new(): SVGAnimatedInteger; +}; + +interface SVGAnimatedLength { + readonly animVal: SVGLength; + readonly baseVal: SVGLength; +} + +declare var SVGAnimatedLength: { + prototype: SVGAnimatedLength; + new(): SVGAnimatedLength; +}; + +interface SVGAnimatedLengthList { + readonly animVal: SVGLengthList; + readonly baseVal: SVGLengthList; +} + +declare var SVGAnimatedLengthList: { + prototype: SVGAnimatedLengthList; + new(): SVGAnimatedLengthList; +}; + +interface SVGAnimatedNumber { + readonly animVal: number; + baseVal: number; +} + +declare var SVGAnimatedNumber: { + prototype: SVGAnimatedNumber; + new(): SVGAnimatedNumber; +}; + +interface SVGAnimatedNumberList { + readonly animVal: SVGNumberList; + readonly baseVal: SVGNumberList; +} + +declare var SVGAnimatedNumberList: { + prototype: SVGAnimatedNumberList; + new(): SVGAnimatedNumberList; +}; + +interface SVGAnimatedPoints { + readonly animatedPoints: SVGPointList; + readonly points: SVGPointList; +} + +interface SVGAnimatedPreserveAspectRatio { + readonly animVal: SVGPreserveAspectRatio; + readonly baseVal: SVGPreserveAspectRatio; +} + +declare var SVGAnimatedPreserveAspectRatio: { + prototype: SVGAnimatedPreserveAspectRatio; + new(): SVGAnimatedPreserveAspectRatio; +}; + +interface SVGAnimatedRect { + readonly animVal: SVGRect; + readonly baseVal: SVGRect; +} + +declare var SVGAnimatedRect: { + prototype: SVGAnimatedRect; + new(): SVGAnimatedRect; +}; + +interface SVGAnimatedString { + readonly animVal: string; + baseVal: string; +} + +declare var SVGAnimatedString: { + prototype: SVGAnimatedString; + new(): SVGAnimatedString; +}; + +interface SVGAnimatedTransformList { + readonly animVal: SVGTransformList; + readonly baseVal: SVGTransformList; +} + +declare var SVGAnimatedTransformList: { + prototype: SVGAnimatedTransformList; + new(): SVGAnimatedTransformList; +}; + +interface SVGCircleElement extends SVGGraphicsElement { + readonly cx: SVGAnimatedLength; + readonly cy: SVGAnimatedLength; + readonly r: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGCircleElement: { + prototype: SVGCircleElement; + new(): SVGCircleElement; +}; + +interface SVGClipPathElement extends SVGGraphicsElement, SVGUnitTypes { + readonly clipPathUnits: SVGAnimatedEnumeration; + addEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGClipPathElement: { + prototype: SVGClipPathElement; + new(): SVGClipPathElement; +}; + +interface SVGComponentTransferFunctionElement extends SVGElement { + readonly amplitude: SVGAnimatedNumber; + readonly exponent: SVGAnimatedNumber; + readonly intercept: SVGAnimatedNumber; + readonly offset: SVGAnimatedNumber; + readonly slope: SVGAnimatedNumber; + readonly tableValues: SVGAnimatedNumberList; + readonly type: SVGAnimatedEnumeration; + readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGComponentTransferFunctionElement: { + prototype: SVGComponentTransferFunctionElement; + new(): SVGComponentTransferFunctionElement; + readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; + readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; +}; + +interface SVGDefsElement extends SVGGraphicsElement { + addEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGDefsElement: { + prototype: SVGDefsElement; + new(): SVGDefsElement; +}; + +interface SVGDescElement extends SVGElement { + addEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGDescElement: { + prototype: SVGDescElement; + new(): SVGDescElement; +}; + +interface SVGElementEventMap extends ElementEventMap { + "click": MouseEvent; + "dblclick": MouseEvent; + "focusin": FocusEvent; + "focusout": FocusEvent; + "load": Event; + "mousedown": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; +} + +interface SVGElement extends Element, ElementCSSInlineStyle { + readonly className: any; + onclick: ((this: SVGElement , ev: MouseEvent) => any) | null; + ondblclick: ((this: SVGElement , ev: MouseEvent) => any) | null; + onfocusin: ((this: SVGElement , ev: FocusEvent) => any) | null; + onfocusout: ((this: SVGElement , ev: FocusEvent) => any) | null; + onload: ((this: SVGElement , ev: Event) => any) | null; + onmousedown: ((this: SVGElement , ev: MouseEvent) => any) | null; + onmousemove: ((this: SVGElement , ev: MouseEvent) => any) | null; + onmouseout: ((this: SVGElement , ev: MouseEvent) => any) | null; + onmouseover: ((this: SVGElement , ev: MouseEvent) => any) | null; + onmouseup: ((this: SVGElement , ev: MouseEvent) => any) | null; + readonly ownerSVGElement: SVGSVGElement | null; + readonly viewportElement: SVGElement | null; + /** @deprecated */ + xmlbase: string; + addEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGElement: { + prototype: SVGElement; + new(): SVGElement; +}; + +interface SVGElementInstance extends EventTarget { + readonly childNodes: SVGElementInstanceList; + readonly correspondingElement: SVGElement; + readonly correspondingUseElement: SVGUseElement; + readonly firstChild: SVGElementInstance; + readonly lastChild: SVGElementInstance; + readonly nextSibling: SVGElementInstance; + readonly parentNode: SVGElementInstance; + readonly previousSibling: SVGElementInstance; +} + +declare var SVGElementInstance: { + prototype: SVGElementInstance; + new(): SVGElementInstance; +}; + +interface SVGElementInstanceList { + /** @deprecated */ + readonly length: number; + /** @deprecated */ + item(index: number): SVGElementInstance; +} + +declare var SVGElementInstanceList: { + prototype: SVGElementInstanceList; + new(): SVGElementInstanceList; +}; + +interface SVGEllipseElement extends SVGGraphicsElement { + readonly cx: SVGAnimatedLength; + readonly cy: SVGAnimatedLength; + readonly rx: SVGAnimatedLength; + readonly ry: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGEllipseElement: { + prototype: SVGEllipseElement; + new(): SVGEllipseElement; +}; + +interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly in2: SVGAnimatedString; + readonly mode: SVGAnimatedEnumeration; + readonly SVG_FEBLEND_MODE_COLOR: number; + readonly SVG_FEBLEND_MODE_COLOR_BURN: number; + readonly SVG_FEBLEND_MODE_COLOR_DODGE: number; + readonly SVG_FEBLEND_MODE_DARKEN: number; + readonly SVG_FEBLEND_MODE_DIFFERENCE: number; + readonly SVG_FEBLEND_MODE_EXCLUSION: number; + readonly SVG_FEBLEND_MODE_HARD_LIGHT: number; + readonly SVG_FEBLEND_MODE_HUE: number; + readonly SVG_FEBLEND_MODE_LIGHTEN: number; + readonly SVG_FEBLEND_MODE_LUMINOSITY: number; + readonly SVG_FEBLEND_MODE_MULTIPLY: number; + readonly SVG_FEBLEND_MODE_NORMAL: number; + readonly SVG_FEBLEND_MODE_OVERLAY: number; + readonly SVG_FEBLEND_MODE_SATURATION: number; + readonly SVG_FEBLEND_MODE_SCREEN: number; + readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number; + readonly SVG_FEBLEND_MODE_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEBlendElement: { + prototype: SVGFEBlendElement; + new(): SVGFEBlendElement; + readonly SVG_FEBLEND_MODE_COLOR: number; + readonly SVG_FEBLEND_MODE_COLOR_BURN: number; + readonly SVG_FEBLEND_MODE_COLOR_DODGE: number; + readonly SVG_FEBLEND_MODE_DARKEN: number; + readonly SVG_FEBLEND_MODE_DIFFERENCE: number; + readonly SVG_FEBLEND_MODE_EXCLUSION: number; + readonly SVG_FEBLEND_MODE_HARD_LIGHT: number; + readonly SVG_FEBLEND_MODE_HUE: number; + readonly SVG_FEBLEND_MODE_LIGHTEN: number; + readonly SVG_FEBLEND_MODE_LUMINOSITY: number; + readonly SVG_FEBLEND_MODE_MULTIPLY: number; + readonly SVG_FEBLEND_MODE_NORMAL: number; + readonly SVG_FEBLEND_MODE_OVERLAY: number; + readonly SVG_FEBLEND_MODE_SATURATION: number; + readonly SVG_FEBLEND_MODE_SCREEN: number; + readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number; + readonly SVG_FEBLEND_MODE_UNKNOWN: number; +}; + +interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly type: SVGAnimatedEnumeration; + readonly values: SVGAnimatedNumberList; + readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; + readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; + readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number; + readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number; + readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEColorMatrixElement: { + prototype: SVGFEColorMatrixElement; + new(): SVGFEColorMatrixElement; + readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; + readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; + readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number; + readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number; + readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; +}; + +interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + addEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEComponentTransferElement: { + prototype: SVGFEComponentTransferElement; + new(): SVGFEComponentTransferElement; +}; + +interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly in2: SVGAnimatedString; + readonly k1: SVGAnimatedNumber; + readonly k2: SVGAnimatedNumber; + readonly k3: SVGAnimatedNumber; + readonly k4: SVGAnimatedNumber; + readonly operator: SVGAnimatedEnumeration; + readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; + readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number; + readonly SVG_FECOMPOSITE_OPERATOR_IN: number; + readonly SVG_FECOMPOSITE_OPERATOR_OUT: number; + readonly SVG_FECOMPOSITE_OPERATOR_OVER: number; + readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; + readonly SVG_FECOMPOSITE_OPERATOR_XOR: number; + addEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFECompositeElement: { + prototype: SVGFECompositeElement; + new(): SVGFECompositeElement; + readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; + readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number; + readonly SVG_FECOMPOSITE_OPERATOR_IN: number; + readonly SVG_FECOMPOSITE_OPERATOR_OUT: number; + readonly SVG_FECOMPOSITE_OPERATOR_OVER: number; + readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; + readonly SVG_FECOMPOSITE_OPERATOR_XOR: number; +}; + +interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly bias: SVGAnimatedNumber; + readonly divisor: SVGAnimatedNumber; + readonly edgeMode: SVGAnimatedEnumeration; + readonly in1: SVGAnimatedString; + readonly kernelMatrix: SVGAnimatedNumberList; + readonly kernelUnitLengthX: SVGAnimatedNumber; + readonly kernelUnitLengthY: SVGAnimatedNumber; + readonly orderX: SVGAnimatedInteger; + readonly orderY: SVGAnimatedInteger; + readonly preserveAlpha: SVGAnimatedBoolean; + readonly targetX: SVGAnimatedInteger; + readonly targetY: SVGAnimatedInteger; + readonly SVG_EDGEMODE_DUPLICATE: number; + readonly SVG_EDGEMODE_NONE: number; + readonly SVG_EDGEMODE_UNKNOWN: number; + readonly SVG_EDGEMODE_WRAP: number; + addEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEConvolveMatrixElement: { + prototype: SVGFEConvolveMatrixElement; + new(): SVGFEConvolveMatrixElement; + readonly SVG_EDGEMODE_DUPLICATE: number; + readonly SVG_EDGEMODE_NONE: number; + readonly SVG_EDGEMODE_UNKNOWN: number; + readonly SVG_EDGEMODE_WRAP: number; +}; + +interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly diffuseConstant: SVGAnimatedNumber; + readonly in1: SVGAnimatedString; + readonly kernelUnitLengthX: SVGAnimatedNumber; + readonly kernelUnitLengthY: SVGAnimatedNumber; + readonly surfaceScale: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEDiffuseLightingElement: { + prototype: SVGFEDiffuseLightingElement; + new(): SVGFEDiffuseLightingElement; +}; + +interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly in2: SVGAnimatedString; + readonly scale: SVGAnimatedNumber; + readonly xChannelSelector: SVGAnimatedEnumeration; + readonly yChannelSelector: SVGAnimatedEnumeration; + readonly SVG_CHANNEL_A: number; + readonly SVG_CHANNEL_B: number; + readonly SVG_CHANNEL_G: number; + readonly SVG_CHANNEL_R: number; + readonly SVG_CHANNEL_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEDisplacementMapElement: { + prototype: SVGFEDisplacementMapElement; + new(): SVGFEDisplacementMapElement; + readonly SVG_CHANNEL_A: number; + readonly SVG_CHANNEL_B: number; + readonly SVG_CHANNEL_G: number; + readonly SVG_CHANNEL_R: number; + readonly SVG_CHANNEL_UNKNOWN: number; +}; + +interface SVGFEDistantLightElement extends SVGElement { + readonly azimuth: SVGAnimatedNumber; + readonly elevation: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEDistantLightElement: { + prototype: SVGFEDistantLightElement; + new(): SVGFEDistantLightElement; +}; + +interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + addEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEFloodElement: { + prototype: SVGFEFloodElement; + new(): SVGFEFloodElement; +}; + +interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { + addEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEFuncAElement: { + prototype: SVGFEFuncAElement; + new(): SVGFEFuncAElement; +}; + +interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { + addEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEFuncBElement: { + prototype: SVGFEFuncBElement; + new(): SVGFEFuncBElement; +}; + +interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { + addEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEFuncGElement: { + prototype: SVGFEFuncGElement; + new(): SVGFEFuncGElement; +}; + +interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { + addEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEFuncRElement: { + prototype: SVGFEFuncRElement; + new(): SVGFEFuncRElement; +}; + +interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly stdDeviationX: SVGAnimatedNumber; + readonly stdDeviationY: SVGAnimatedNumber; + setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; + addEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEGaussianBlurElement: { + prototype: SVGFEGaussianBlurElement; + new(): SVGFEGaussianBlurElement; +}; + +interface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference { + readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; + addEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEImageElement: { + prototype: SVGFEImageElement; + new(): SVGFEImageElement; +}; + +interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + addEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEMergeElement: { + prototype: SVGFEMergeElement; + new(): SVGFEMergeElement; +}; + +interface SVGFEMergeNodeElement extends SVGElement { + readonly in1: SVGAnimatedString; + addEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEMergeNodeElement: { + prototype: SVGFEMergeNodeElement; + new(): SVGFEMergeNodeElement; +}; + +interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly operator: SVGAnimatedEnumeration; + readonly radiusX: SVGAnimatedNumber; + readonly radiusY: SVGAnimatedNumber; + readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number; + readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number; + readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEMorphologyElement: { + prototype: SVGFEMorphologyElement; + new(): SVGFEMorphologyElement; + readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number; + readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number; + readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; +}; + +interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly dx: SVGAnimatedNumber; + readonly dy: SVGAnimatedNumber; + readonly in1: SVGAnimatedString; + addEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEOffsetElement: { + prototype: SVGFEOffsetElement; + new(): SVGFEOffsetElement; +}; + +interface SVGFEPointLightElement extends SVGElement { + readonly x: SVGAnimatedNumber; + readonly y: SVGAnimatedNumber; + readonly z: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFEPointLightElement: { + prototype: SVGFEPointLightElement; + new(): SVGFEPointLightElement; +}; + +interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + readonly kernelUnitLengthX: SVGAnimatedNumber; + readonly kernelUnitLengthY: SVGAnimatedNumber; + readonly specularConstant: SVGAnimatedNumber; + readonly specularExponent: SVGAnimatedNumber; + readonly surfaceScale: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFESpecularLightingElement: { + prototype: SVGFESpecularLightingElement; + new(): SVGFESpecularLightingElement; +}; + +interface SVGFESpotLightElement extends SVGElement { + readonly limitingConeAngle: SVGAnimatedNumber; + readonly pointsAtX: SVGAnimatedNumber; + readonly pointsAtY: SVGAnimatedNumber; + readonly pointsAtZ: SVGAnimatedNumber; + readonly specularExponent: SVGAnimatedNumber; + readonly x: SVGAnimatedNumber; + readonly y: SVGAnimatedNumber; + readonly z: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFESpotLightElement: { + prototype: SVGFESpotLightElement; + new(): SVGFESpotLightElement; +}; + +interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly in1: SVGAnimatedString; + addEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFETileElement: { + prototype: SVGFETileElement; + new(): SVGFETileElement; +}; + +interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + readonly baseFrequencyX: SVGAnimatedNumber; + readonly baseFrequencyY: SVGAnimatedNumber; + readonly numOctaves: SVGAnimatedInteger; + readonly seed: SVGAnimatedNumber; + readonly stitchTiles: SVGAnimatedEnumeration; + readonly type: SVGAnimatedEnumeration; + readonly SVG_STITCHTYPE_NOSTITCH: number; + readonly SVG_STITCHTYPE_STITCH: number; + readonly SVG_STITCHTYPE_UNKNOWN: number; + readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number; + readonly SVG_TURBULENCE_TYPE_TURBULENCE: number; + readonly SVG_TURBULENCE_TYPE_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFETurbulenceElement: { + prototype: SVGFETurbulenceElement; + new(): SVGFETurbulenceElement; + readonly SVG_STITCHTYPE_NOSTITCH: number; + readonly SVG_STITCHTYPE_STITCH: number; + readonly SVG_STITCHTYPE_UNKNOWN: number; + readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number; + readonly SVG_TURBULENCE_TYPE_TURBULENCE: number; + readonly SVG_TURBULENCE_TYPE_UNKNOWN: number; +}; + +interface SVGFilterElement extends SVGElement, SVGUnitTypes, SVGURIReference { + /** @deprecated */ + readonly filterResX: SVGAnimatedInteger; + /** @deprecated */ + readonly filterResY: SVGAnimatedInteger; + readonly filterUnits: SVGAnimatedEnumeration; + readonly height: SVGAnimatedLength; + readonly primitiveUnits: SVGAnimatedEnumeration; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + /** @deprecated */ + setFilterRes(filterResX: number, filterResY: number): void; + addEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGFilterElement: { + prototype: SVGFilterElement; + new(): SVGFilterElement; +}; + +interface SVGFilterPrimitiveStandardAttributes { + readonly height: SVGAnimatedLength; + readonly result: SVGAnimatedString; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; +} + +interface SVGFitToViewBox { + readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; + readonly viewBox: SVGAnimatedRect; +} + +interface SVGForeignObjectElement extends SVGGraphicsElement { + readonly height: SVGAnimatedLength; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGForeignObjectElement: { + prototype: SVGForeignObjectElement; + new(): SVGForeignObjectElement; +}; + +interface SVGGElement extends SVGGraphicsElement { + addEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGGElement: { + prototype: SVGGElement; + new(): SVGGElement; +}; + +interface SVGGradientElement extends SVGElement, SVGUnitTypes, SVGURIReference { + readonly gradientTransform: SVGAnimatedTransformList; + readonly gradientUnits: SVGAnimatedEnumeration; + readonly spreadMethod: SVGAnimatedEnumeration; + readonly SVG_SPREADMETHOD_PAD: number; + readonly SVG_SPREADMETHOD_REFLECT: number; + readonly SVG_SPREADMETHOD_REPEAT: number; + readonly SVG_SPREADMETHOD_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGGradientElement: { + prototype: SVGGradientElement; + new(): SVGGradientElement; + readonly SVG_SPREADMETHOD_PAD: number; + readonly SVG_SPREADMETHOD_REFLECT: number; + readonly SVG_SPREADMETHOD_REPEAT: number; + readonly SVG_SPREADMETHOD_UNKNOWN: number; +}; + +interface SVGGraphicsElement extends SVGElement, SVGTests { + /** @deprecated */ + readonly farthestViewportElement: SVGElement | null; + /** @deprecated */ + readonly nearestViewportElement: SVGElement | null; + readonly transform: SVGAnimatedTransformList; + getBBox(): SVGRect; + getCTM(): SVGMatrix | null; + getScreenCTM(): SVGMatrix | null; + /** @deprecated */ + getTransformToElement(element: SVGElement): SVGMatrix; + addEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGGraphicsElement: { + prototype: SVGGraphicsElement; + new(): SVGGraphicsElement; +}; + +interface SVGImageElement extends SVGGraphicsElement, SVGURIReference { + readonly height: SVGAnimatedLength; + readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGImageElement: { + prototype: SVGImageElement; + new(): SVGImageElement; +}; + +interface SVGLength { + readonly unitType: number; + value: number; + valueAsString: string; + valueInSpecifiedUnits: number; + convertToSpecifiedUnits(unitType: number): void; + newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; + readonly SVG_LENGTHTYPE_CM: number; + readonly SVG_LENGTHTYPE_EMS: number; + readonly SVG_LENGTHTYPE_EXS: number; + readonly SVG_LENGTHTYPE_IN: number; + readonly SVG_LENGTHTYPE_MM: number; + readonly SVG_LENGTHTYPE_NUMBER: number; + readonly SVG_LENGTHTYPE_PC: number; + readonly SVG_LENGTHTYPE_PERCENTAGE: number; + readonly SVG_LENGTHTYPE_PT: number; + readonly SVG_LENGTHTYPE_PX: number; + readonly SVG_LENGTHTYPE_UNKNOWN: number; +} + +declare var SVGLength: { + prototype: SVGLength; + new(): SVGLength; + readonly SVG_LENGTHTYPE_CM: number; + readonly SVG_LENGTHTYPE_EMS: number; + readonly SVG_LENGTHTYPE_EXS: number; + readonly SVG_LENGTHTYPE_IN: number; + readonly SVG_LENGTHTYPE_MM: number; + readonly SVG_LENGTHTYPE_NUMBER: number; + readonly SVG_LENGTHTYPE_PC: number; + readonly SVG_LENGTHTYPE_PERCENTAGE: number; + readonly SVG_LENGTHTYPE_PT: number; + readonly SVG_LENGTHTYPE_PX: number; + readonly SVG_LENGTHTYPE_UNKNOWN: number; +}; + +interface SVGLengthList { + readonly numberOfItems: number; + appendItem(newItem: SVGLength): SVGLength; + clear(): void; + getItem(index: number): SVGLength; + initialize(newItem: SVGLength): SVGLength; + insertItemBefore(newItem: SVGLength, index: number): SVGLength; + removeItem(index: number): SVGLength; + replaceItem(newItem: SVGLength, index: number): SVGLength; +} + +declare var SVGLengthList: { + prototype: SVGLengthList; + new(): SVGLengthList; +}; + +interface SVGLineElement extends SVGGraphicsElement { + readonly x1: SVGAnimatedLength; + readonly x2: SVGAnimatedLength; + readonly y1: SVGAnimatedLength; + readonly y2: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGLineElement: { + prototype: SVGLineElement; + new(): SVGLineElement; +}; + +interface SVGLinearGradientElement extends SVGGradientElement { + readonly x1: SVGAnimatedLength; + readonly x2: SVGAnimatedLength; + readonly y1: SVGAnimatedLength; + readonly y2: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGLinearGradientElement: { + prototype: SVGLinearGradientElement; + new(): SVGLinearGradientElement; +}; + +interface SVGMarkerElement extends SVGElement, SVGFitToViewBox { + readonly markerHeight: SVGAnimatedLength; + readonly markerUnits: SVGAnimatedEnumeration; + readonly markerWidth: SVGAnimatedLength; + readonly orientAngle: SVGAnimatedAngle; + readonly orientType: SVGAnimatedEnumeration; + readonly refX: SVGAnimatedLength; + readonly refY: SVGAnimatedLength; + setOrientToAngle(angle: SVGAngle): void; + setOrientToAuto(): void; + readonly SVG_MARKERUNITS_STROKEWIDTH: number; + readonly SVG_MARKERUNITS_UNKNOWN: number; + readonly SVG_MARKERUNITS_USERSPACEONUSE: number; + readonly SVG_MARKER_ORIENT_ANGLE: number; + readonly SVG_MARKER_ORIENT_AUTO: number; + readonly SVG_MARKER_ORIENT_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGMarkerElement: { + prototype: SVGMarkerElement; + new(): SVGMarkerElement; + readonly SVG_MARKERUNITS_STROKEWIDTH: number; + readonly SVG_MARKERUNITS_UNKNOWN: number; + readonly SVG_MARKERUNITS_USERSPACEONUSE: number; + readonly SVG_MARKER_ORIENT_ANGLE: number; + readonly SVG_MARKER_ORIENT_AUTO: number; + readonly SVG_MARKER_ORIENT_UNKNOWN: number; +}; + +interface SVGMaskElement extends SVGElement, SVGTests, SVGUnitTypes { + readonly height: SVGAnimatedLength; + readonly maskContentUnits: SVGAnimatedEnumeration; + readonly maskUnits: SVGAnimatedEnumeration; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGMaskElement: { + prototype: SVGMaskElement; + new(): SVGMaskElement; +}; + +interface SVGMatrix { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + flipX(): SVGMatrix; + flipY(): SVGMatrix; + inverse(): SVGMatrix; + multiply(secondMatrix: SVGMatrix): SVGMatrix; + rotate(angle: number): SVGMatrix; + rotateFromVector(x: number, y: number): SVGMatrix; + scale(scaleFactor: number): SVGMatrix; + scaleNonUniform(scaleFactorX: number, scaleFactorY: number): SVGMatrix; + skewX(angle: number): SVGMatrix; + skewY(angle: number): SVGMatrix; + translate(x: number, y: number): SVGMatrix; +} + +declare var SVGMatrix: { + prototype: SVGMatrix; + new(): SVGMatrix; +}; + +interface SVGMetadataElement extends SVGElement { + addEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGMetadataElement: { + prototype: SVGMetadataElement; + new(): SVGMetadataElement; +}; + +interface SVGNumber { + value: number; +} + +declare var SVGNumber: { + prototype: SVGNumber; + new(): SVGNumber; +}; + +interface SVGNumberList { + readonly numberOfItems: number; + appendItem(newItem: SVGNumber): SVGNumber; + clear(): void; + getItem(index: number): SVGNumber; + initialize(newItem: SVGNumber): SVGNumber; + insertItemBefore(newItem: SVGNumber, index: number): SVGNumber; + removeItem(index: number): SVGNumber; + replaceItem(newItem: SVGNumber, index: number): SVGNumber; +} + +declare var SVGNumberList: { + prototype: SVGNumberList; + new(): SVGNumberList; +}; + +interface SVGPathElement extends SVGGraphicsElement { + /** @deprecated */ + readonly pathSegList: SVGPathSegList; + /** @deprecated */ + createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs; + /** @deprecated */ + createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel; + /** @deprecated */ + createSVGPathSegClosePath(): SVGPathSegClosePath; + /** @deprecated */ + createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs; + /** @deprecated */ + createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel; + /** @deprecated */ + createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs; + /** @deprecated */ + createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel; + /** @deprecated */ + createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs; + /** @deprecated */ + createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel; + /** @deprecated */ + createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs; + /** @deprecated */ + createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel; + /** @deprecated */ + createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs; + /** @deprecated */ + createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs; + /** @deprecated */ + createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel; + /** @deprecated */ + createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel; + /** @deprecated */ + createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs; + /** @deprecated */ + createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel; + /** @deprecated */ + createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs; + /** @deprecated */ + createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel; + /** @deprecated */ + getPathSegAtLength(distance: number): number; + getPointAtLength(distance: number): SVGPoint; + getTotalLength(): number; + addEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGPathElement: { + prototype: SVGPathElement; + new(): SVGPathElement; +}; + +interface SVGPathSeg { + readonly pathSegType: number; + readonly pathSegTypeAsLetter: string; + readonly PATHSEG_ARC_ABS: number; + readonly PATHSEG_ARC_REL: number; + readonly PATHSEG_CLOSEPATH: number; + readonly PATHSEG_CURVETO_CUBIC_ABS: number; + readonly PATHSEG_CURVETO_CUBIC_REL: number; + readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; + readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; + readonly PATHSEG_CURVETO_QUADRATIC_ABS: number; + readonly PATHSEG_CURVETO_QUADRATIC_REL: number; + readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; + readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; + readonly PATHSEG_LINETO_ABS: number; + readonly PATHSEG_LINETO_HORIZONTAL_ABS: number; + readonly PATHSEG_LINETO_HORIZONTAL_REL: number; + readonly PATHSEG_LINETO_REL: number; + readonly PATHSEG_LINETO_VERTICAL_ABS: number; + readonly PATHSEG_LINETO_VERTICAL_REL: number; + readonly PATHSEG_MOVETO_ABS: number; + readonly PATHSEG_MOVETO_REL: number; + readonly PATHSEG_UNKNOWN: number; +} + +declare var SVGPathSeg: { + prototype: SVGPathSeg; + new(): SVGPathSeg; + readonly PATHSEG_ARC_ABS: number; + readonly PATHSEG_ARC_REL: number; + readonly PATHSEG_CLOSEPATH: number; + readonly PATHSEG_CURVETO_CUBIC_ABS: number; + readonly PATHSEG_CURVETO_CUBIC_REL: number; + readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; + readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; + readonly PATHSEG_CURVETO_QUADRATIC_ABS: number; + readonly PATHSEG_CURVETO_QUADRATIC_REL: number; + readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; + readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; + readonly PATHSEG_LINETO_ABS: number; + readonly PATHSEG_LINETO_HORIZONTAL_ABS: number; + readonly PATHSEG_LINETO_HORIZONTAL_REL: number; + readonly PATHSEG_LINETO_REL: number; + readonly PATHSEG_LINETO_VERTICAL_ABS: number; + readonly PATHSEG_LINETO_VERTICAL_REL: number; + readonly PATHSEG_MOVETO_ABS: number; + readonly PATHSEG_MOVETO_REL: number; + readonly PATHSEG_UNKNOWN: number; +}; + +interface SVGPathSegArcAbs extends SVGPathSeg { + angle: number; + largeArcFlag: boolean; + r1: number; + r2: number; + sweepFlag: boolean; + x: number; + y: number; +} + +declare var SVGPathSegArcAbs: { + prototype: SVGPathSegArcAbs; + new(): SVGPathSegArcAbs; +}; + +interface SVGPathSegArcRel extends SVGPathSeg { + angle: number; + largeArcFlag: boolean; + r1: number; + r2: number; + sweepFlag: boolean; + x: number; + y: number; +} + +declare var SVGPathSegArcRel: { + prototype: SVGPathSegArcRel; + new(): SVGPathSegArcRel; +}; + +interface SVGPathSegClosePath extends SVGPathSeg { +} + +declare var SVGPathSegClosePath: { + prototype: SVGPathSegClosePath; + new(): SVGPathSegClosePath; +}; + +interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { + x: number; + x1: number; + x2: number; + y: number; + y1: number; + y2: number; +} + +declare var SVGPathSegCurvetoCubicAbs: { + prototype: SVGPathSegCurvetoCubicAbs; + new(): SVGPathSegCurvetoCubicAbs; +}; + +interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { + x: number; + x1: number; + x2: number; + y: number; + y1: number; + y2: number; +} + +declare var SVGPathSegCurvetoCubicRel: { + prototype: SVGPathSegCurvetoCubicRel; + new(): SVGPathSegCurvetoCubicRel; +}; + +interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { + x: number; + x2: number; + y: number; + y2: number; +} + +declare var SVGPathSegCurvetoCubicSmoothAbs: { + prototype: SVGPathSegCurvetoCubicSmoothAbs; + new(): SVGPathSegCurvetoCubicSmoothAbs; +}; + +interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { + x: number; + x2: number; + y: number; + y2: number; +} + +declare var SVGPathSegCurvetoCubicSmoothRel: { + prototype: SVGPathSegCurvetoCubicSmoothRel; + new(): SVGPathSegCurvetoCubicSmoothRel; +}; + +interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { + x: number; + x1: number; + y: number; + y1: number; +} + +declare var SVGPathSegCurvetoQuadraticAbs: { + prototype: SVGPathSegCurvetoQuadraticAbs; + new(): SVGPathSegCurvetoQuadraticAbs; +}; + +interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { + x: number; + x1: number; + y: number; + y1: number; +} + +declare var SVGPathSegCurvetoQuadraticRel: { + prototype: SVGPathSegCurvetoQuadraticRel; + new(): SVGPathSegCurvetoQuadraticRel; +}; + +interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegCurvetoQuadraticSmoothAbs: { + prototype: SVGPathSegCurvetoQuadraticSmoothAbs; + new(): SVGPathSegCurvetoQuadraticSmoothAbs; +}; + +interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegCurvetoQuadraticSmoothRel: { + prototype: SVGPathSegCurvetoQuadraticSmoothRel; + new(): SVGPathSegCurvetoQuadraticSmoothRel; +}; + +interface SVGPathSegLinetoAbs extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegLinetoAbs: { + prototype: SVGPathSegLinetoAbs; + new(): SVGPathSegLinetoAbs; +}; + +interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { + x: number; +} + +declare var SVGPathSegLinetoHorizontalAbs: { + prototype: SVGPathSegLinetoHorizontalAbs; + new(): SVGPathSegLinetoHorizontalAbs; +}; + +interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { + x: number; +} + +declare var SVGPathSegLinetoHorizontalRel: { + prototype: SVGPathSegLinetoHorizontalRel; + new(): SVGPathSegLinetoHorizontalRel; +}; + +interface SVGPathSegLinetoRel extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegLinetoRel: { + prototype: SVGPathSegLinetoRel; + new(): SVGPathSegLinetoRel; +}; + +interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { + y: number; +} + +declare var SVGPathSegLinetoVerticalAbs: { + prototype: SVGPathSegLinetoVerticalAbs; + new(): SVGPathSegLinetoVerticalAbs; +}; + +interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { + y: number; +} + +declare var SVGPathSegLinetoVerticalRel: { + prototype: SVGPathSegLinetoVerticalRel; + new(): SVGPathSegLinetoVerticalRel; +}; + +interface SVGPathSegList { + readonly numberOfItems: number; + appendItem(newItem: SVGPathSeg): SVGPathSeg; + clear(): void; + getItem(index: number): SVGPathSeg; + initialize(newItem: SVGPathSeg): SVGPathSeg; + insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg; + removeItem(index: number): SVGPathSeg; + replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg; +} + +declare var SVGPathSegList: { + prototype: SVGPathSegList; + new(): SVGPathSegList; +}; + +interface SVGPathSegMovetoAbs extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegMovetoAbs: { + prototype: SVGPathSegMovetoAbs; + new(): SVGPathSegMovetoAbs; +}; + +interface SVGPathSegMovetoRel extends SVGPathSeg { + x: number; + y: number; +} + +declare var SVGPathSegMovetoRel: { + prototype: SVGPathSegMovetoRel; + new(): SVGPathSegMovetoRel; +}; + +interface SVGPatternElement extends SVGElement, SVGTests, SVGUnitTypes, SVGFitToViewBox, SVGURIReference { + readonly height: SVGAnimatedLength; + readonly patternContentUnits: SVGAnimatedEnumeration; + readonly patternTransform: SVGAnimatedTransformList; + readonly patternUnits: SVGAnimatedEnumeration; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGPatternElement: { + prototype: SVGPatternElement; + new(): SVGPatternElement; +}; + +interface SVGPoint { + x: number; + y: number; + matrixTransform(matrix: SVGMatrix): SVGPoint; +} + +declare var SVGPoint: { + prototype: SVGPoint; + new(): SVGPoint; +}; + +interface SVGPointList { + readonly numberOfItems: number; + appendItem(newItem: SVGPoint): SVGPoint; + clear(): void; + getItem(index: number): SVGPoint; + initialize(newItem: SVGPoint): SVGPoint; + insertItemBefore(newItem: SVGPoint, index: number): SVGPoint; + removeItem(index: number): SVGPoint; + replaceItem(newItem: SVGPoint, index: number): SVGPoint; +} + +declare var SVGPointList: { + prototype: SVGPointList; + new(): SVGPointList; +}; + +interface SVGPolygonElement extends SVGGraphicsElement, SVGAnimatedPoints { + addEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGPolygonElement: { + prototype: SVGPolygonElement; + new(): SVGPolygonElement; +}; + +interface SVGPolylineElement extends SVGGraphicsElement, SVGAnimatedPoints { + addEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGPolylineElement: { + prototype: SVGPolylineElement; + new(): SVGPolylineElement; +}; + +interface SVGPreserveAspectRatio { + align: number; + meetOrSlice: number; + readonly SVG_MEETORSLICE_MEET: number; + readonly SVG_MEETORSLICE_SLICE: number; + readonly SVG_MEETORSLICE_UNKNOWN: number; + readonly SVG_PRESERVEASPECTRATIO_NONE: number; + readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number; +} + +declare var SVGPreserveAspectRatio: { + prototype: SVGPreserveAspectRatio; + new(): SVGPreserveAspectRatio; + readonly SVG_MEETORSLICE_MEET: number; + readonly SVG_MEETORSLICE_SLICE: number; + readonly SVG_MEETORSLICE_UNKNOWN: number; + readonly SVG_PRESERVEASPECTRATIO_NONE: number; + readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number; + readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number; +}; + +interface SVGRadialGradientElement extends SVGGradientElement { + readonly cx: SVGAnimatedLength; + readonly cy: SVGAnimatedLength; + readonly fx: SVGAnimatedLength; + readonly fy: SVGAnimatedLength; + readonly r: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGRadialGradientElement: { + prototype: SVGRadialGradientElement; + new(): SVGRadialGradientElement; +}; + +interface SVGRect { + height: number; + width: number; + x: number; + y: number; +} + +declare var SVGRect: { + prototype: SVGRect; + new(): SVGRect; +}; + +interface SVGRectElement extends SVGGraphicsElement { + readonly height: SVGAnimatedLength; + readonly rx: SVGAnimatedLength; + readonly ry: SVGAnimatedLength; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGRectElement: { + prototype: SVGRectElement; + new(): SVGRectElement; +}; + +interface SVGSVGElementEventMap extends SVGElementEventMap { + "SVGAbort": Event; + "SVGError": Event; + "resize": UIEvent; + "scroll": UIEvent; + "SVGUnload": Event; + "SVGZoom": SVGZoomEvent; +} + +interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan { + /** @deprecated */ + contentScriptType: string; + /** @deprecated */ + contentStyleType: string; + currentScale: number; + readonly currentTranslate: SVGPoint; + readonly height: SVGAnimatedLength; + onabort: ((this: SVGSVGElement , ev: Event) => any) | null; + onerror: ((this: SVGSVGElement , ev: Event) => any) | null; + onresize: ((this: SVGSVGElement , ev: UIEvent) => any) | null; + onscroll: ((this: SVGSVGElement , ev: UIEvent) => any) | null; + onunload: ((this: SVGSVGElement , ev: Event) => any) | null; + onzoom: ((this: SVGSVGElement , ev: SVGZoomEvent) => any) | null; + /** @deprecated */ + readonly pixelUnitToMillimeterX: number; + /** @deprecated */ + readonly pixelUnitToMillimeterY: number; + /** @deprecated */ + readonly screenPixelToMillimeterX: number; + /** @deprecated */ + readonly screenPixelToMillimeterY: number; + /** @deprecated */ + readonly viewport: SVGRect; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + checkEnclosure(element: SVGElement, rect: SVGRect): boolean; + checkIntersection(element: SVGElement, rect: SVGRect): boolean; + createSVGAngle(): SVGAngle; + createSVGLength(): SVGLength; + createSVGMatrix(): SVGMatrix; + createSVGNumber(): SVGNumber; + createSVGPoint(): SVGPoint; + createSVGRect(): SVGRect; + createSVGTransform(): SVGTransform; + createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; + deselectAll(): void; + /** @deprecated */ + forceRedraw(): void; + getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; + /** @deprecated */ + getCurrentTime(): number; + getElementById(elementId: string): Element; + getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf; + getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf; + /** @deprecated */ + pauseAnimations(): void; + /** @deprecated */ + setCurrentTime(seconds: number): void; + /** @deprecated */ + suspendRedraw(maxWaitMilliseconds: number): number; + /** @deprecated */ + unpauseAnimations(): void; + /** @deprecated */ + unsuspendRedraw(suspendHandleID: number): void; + /** @deprecated */ + unsuspendRedrawAll(): void; + addEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGSVGElement: { + prototype: SVGSVGElement; + new(): SVGSVGElement; +}; + +interface SVGScriptElement extends SVGElement, SVGURIReference { + type: string; + addEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGScriptElement: { + prototype: SVGScriptElement; + new(): SVGScriptElement; +}; + +interface SVGStopElement extends SVGElement { + readonly offset: SVGAnimatedNumber; + addEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGStopElement: { + prototype: SVGStopElement; + new(): SVGStopElement; +}; + +interface SVGStringList { + readonly numberOfItems: number; + appendItem(newItem: string): string; + clear(): void; + getItem(index: number): string; + initialize(newItem: string): string; + insertItemBefore(newItem: string, index: number): string; + removeItem(index: number): string; + replaceItem(newItem: string, index: number): string; +} + +declare var SVGStringList: { + prototype: SVGStringList; + new(): SVGStringList; +}; + +interface SVGStylable { + className: any; +} + +declare var SVGStylable: { + prototype: SVGStylable; + new(): SVGStylable; +}; + +interface SVGStyleElement extends SVGElement { + disabled: boolean; + media: string; + title: string; + type: string; + addEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGStyleElement: { + prototype: SVGStyleElement; + new(): SVGStyleElement; +}; + +interface SVGSwitchElement extends SVGGraphicsElement { + addEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGSwitchElement: { + prototype: SVGSwitchElement; + new(): SVGSwitchElement; +}; + +interface SVGSymbolElement extends SVGElement, SVGFitToViewBox { + addEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGSymbolElement: { + prototype: SVGSymbolElement; + new(): SVGSymbolElement; +}; + +interface SVGTSpanElement extends SVGTextPositioningElement { + addEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTSpanElement: { + prototype: SVGTSpanElement; + new(): SVGTSpanElement; +}; + +interface SVGTests { + readonly requiredExtensions: SVGStringList; + /** @deprecated */ + readonly requiredFeatures: SVGStringList; + readonly systemLanguage: SVGStringList; + /** @deprecated */ + hasExtension(extension: string): boolean; +} + +interface SVGTextContentElement extends SVGGraphicsElement { + readonly lengthAdjust: SVGAnimatedEnumeration; + readonly textLength: SVGAnimatedLength; + getCharNumAtPosition(point: SVGPoint): number; + getComputedTextLength(): number; + getEndPositionOfChar(charnum: number): SVGPoint; + getExtentOfChar(charnum: number): SVGRect; + getNumberOfChars(): number; + getRotationOfChar(charnum: number): number; + getStartPositionOfChar(charnum: number): SVGPoint; + getSubStringLength(charnum: number, nchars: number): number; + selectSubString(charnum: number, nchars: number): void; + readonly LENGTHADJUST_SPACING: number; + readonly LENGTHADJUST_SPACINGANDGLYPHS: number; + readonly LENGTHADJUST_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTextContentElement: { + prototype: SVGTextContentElement; + new(): SVGTextContentElement; + readonly LENGTHADJUST_SPACING: number; + readonly LENGTHADJUST_SPACINGANDGLYPHS: number; + readonly LENGTHADJUST_UNKNOWN: number; }; -interface WebGLShader extends WebGLObject { +interface SVGTextElement extends SVGTextPositioningElement { + addEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTextElement: { + prototype: SVGTextElement; + new(): SVGTextElement; +}; + +interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { + readonly method: SVGAnimatedEnumeration; + readonly spacing: SVGAnimatedEnumeration; + readonly startOffset: SVGAnimatedLength; + readonly TEXTPATH_METHODTYPE_ALIGN: number; + readonly TEXTPATH_METHODTYPE_STRETCH: number; + readonly TEXTPATH_METHODTYPE_UNKNOWN: number; + readonly TEXTPATH_SPACINGTYPE_AUTO: number; + readonly TEXTPATH_SPACINGTYPE_EXACT: number; + readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number; + addEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTextPathElement: { + prototype: SVGTextPathElement; + new(): SVGTextPathElement; + readonly TEXTPATH_METHODTYPE_ALIGN: number; + readonly TEXTPATH_METHODTYPE_STRETCH: number; + readonly TEXTPATH_METHODTYPE_UNKNOWN: number; + readonly TEXTPATH_SPACINGTYPE_AUTO: number; + readonly TEXTPATH_SPACINGTYPE_EXACT: number; + readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number; +}; + +interface SVGTextPositioningElement extends SVGTextContentElement { + readonly dx: SVGAnimatedLengthList; + readonly dy: SVGAnimatedLengthList; + readonly rotate: SVGAnimatedNumberList; + readonly x: SVGAnimatedLengthList; + readonly y: SVGAnimatedLengthList; + addEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTextPositioningElement: { + prototype: SVGTextPositioningElement; + new(): SVGTextPositioningElement; +}; + +interface SVGTitleElement extends SVGElement { + addEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGTitleElement: { + prototype: SVGTitleElement; + new(): SVGTitleElement; +}; + +interface SVGTransform { + readonly angle: number; + readonly matrix: SVGMatrix; + readonly type: number; + setMatrix(matrix: SVGMatrix): void; + setRotate(angle: number, cx: number, cy: number): void; + setScale(sx: number, sy: number): void; + setSkewX(angle: number): void; + setSkewY(angle: number): void; + setTranslate(tx: number, ty: number): void; + readonly SVG_TRANSFORM_MATRIX: number; + readonly SVG_TRANSFORM_ROTATE: number; + readonly SVG_TRANSFORM_SCALE: number; + readonly SVG_TRANSFORM_SKEWX: number; + readonly SVG_TRANSFORM_SKEWY: number; + readonly SVG_TRANSFORM_TRANSLATE: number; + readonly SVG_TRANSFORM_UNKNOWN: number; +} + +declare var SVGTransform: { + prototype: SVGTransform; + new(): SVGTransform; + readonly SVG_TRANSFORM_MATRIX: number; + readonly SVG_TRANSFORM_ROTATE: number; + readonly SVG_TRANSFORM_SCALE: number; + readonly SVG_TRANSFORM_SKEWX: number; + readonly SVG_TRANSFORM_SKEWY: number; + readonly SVG_TRANSFORM_TRANSLATE: number; + readonly SVG_TRANSFORM_UNKNOWN: number; +}; + +interface SVGTransformList { + readonly numberOfItems: number; + appendItem(newItem: SVGTransform): SVGTransform; + clear(): void; + consolidate(): SVGTransform; + createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; + getItem(index: number): SVGTransform; + initialize(newItem: SVGTransform): SVGTransform; + insertItemBefore(newItem: SVGTransform, index: number): SVGTransform; + removeItem(index: number): SVGTransform; + replaceItem(newItem: SVGTransform, index: number): SVGTransform; +} + +declare var SVGTransformList: { + prototype: SVGTransformList; + new(): SVGTransformList; +}; + +interface SVGURIReference { + readonly href: SVGAnimatedString; +} + +interface SVGUnitTypes { + readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number; + readonly SVG_UNIT_TYPE_UNKNOWN: number; + readonly SVG_UNIT_TYPE_USERSPACEONUSE: number; +} +declare var SVGUnitTypes: SVGUnitTypes; + +interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { + readonly animatedInstanceRoot: SVGElementInstance | null; + readonly height: SVGAnimatedLength; + readonly instanceRoot: SVGElementInstance | null; + readonly width: SVGAnimatedLength; + readonly x: SVGAnimatedLength; + readonly y: SVGAnimatedLength; + addEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGUseElement: { + prototype: SVGUseElement; + new(): SVGUseElement; +}; + +interface SVGViewElement extends SVGElement, SVGFitToViewBox, SVGZoomAndPan { + /** @deprecated */ + readonly viewTarget: SVGStringList; + addEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var SVGViewElement: { + prototype: SVGViewElement; + new(): SVGViewElement; +}; + +interface SVGZoomAndPan { + readonly zoomAndPan: number; +} + +declare var SVGZoomAndPan: { + readonly SVG_ZOOMANDPAN_DISABLE: number; + readonly SVG_ZOOMANDPAN_MAGNIFY: number; + readonly SVG_ZOOMANDPAN_UNKNOWN: number; +}; + +interface SVGZoomEvent extends UIEvent { + readonly newScale: number; + readonly newTranslate: SVGPoint; + readonly previousScale: number; + readonly previousTranslate: SVGPoint; + readonly zoomRectScreen: SVGRect; +} + +declare var SVGZoomEvent: { + prototype: SVGZoomEvent; + new(): SVGZoomEvent; +}; + +interface ScopedCredential { + readonly id: ArrayBuffer; + readonly type: ScopedCredentialType; +} + +declare var ScopedCredential: { + prototype: ScopedCredential; + new(): ScopedCredential; +}; + +interface ScopedCredentialInfo { + readonly credential: ScopedCredential; + readonly publicKey: CryptoKey; +} + +declare var ScopedCredentialInfo: { + prototype: ScopedCredentialInfo; + new(): ScopedCredentialInfo; +}; + +interface ScreenEventMap { + "MSOrientationChange": Event; +} + +interface Screen extends EventTarget { + readonly availHeight: number; + readonly availWidth: number; + /** @deprecated */ + bufferDepth: number; + readonly colorDepth: number; + readonly deviceXDPI: number; + readonly deviceYDPI: number; + readonly fontSmoothingEnabled: boolean; + readonly height: number; + readonly logicalXDPI: number; + readonly logicalYDPI: number; + readonly msOrientation: string; + onmsorientationchange: ((this: Screen , ev: Event) => any) | null; + readonly pixelDepth: number; + readonly systemXDPI: number; + readonly systemYDPI: number; + readonly width: number; + lockOrientation(orientations: OrientationLockType | OrientationLockType[]): boolean; + msLockOrientation(orientations: string | string[]): boolean; + msUnlockOrientation(): void; + unlockOrientation(): void; + addEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Screen: { + prototype: Screen; + new(): Screen; +}; + +interface ScriptProcessorNodeEventMap { + "audioprocess": AudioProcessingEvent; +} + +interface ScriptProcessorNode extends AudioNode { + /** @deprecated */ + readonly bufferSize: number; + /** @deprecated */ + onaudioprocess: ((this: ScriptProcessorNode , ev: AudioProcessingEvent) => any) | null; + addEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var WebGLShader: { - prototype: WebGLShader; - new(): WebGLShader; +declare var ScriptProcessorNode: { + prototype: ScriptProcessorNode; + new(): ScriptProcessorNode; }; -interface WebGLShaderPrecisionFormat { - readonly precision: number; - readonly rangeMax: number; - readonly rangeMin: number; +interface ScrollIntoViewOptions extends ScrollOptions { + block?: ScrollLogicalPosition; + inline?: ScrollLogicalPosition; } -declare var WebGLShaderPrecisionFormat: { - prototype: WebGLShaderPrecisionFormat; - new(): WebGLShaderPrecisionFormat; -}; - -interface WebGLTexture extends WebGLObject { +interface ScrollOptions { + behavior?: ScrollBehavior; } -declare var WebGLTexture: { - prototype: WebGLTexture; - new(): WebGLTexture; -}; +interface ScrollToOptions extends ScrollOptions { + left?: number; + top?: number; +} -interface WebGLUniformLocation { +interface SecurityPolicyViolationEvent extends Event { + readonly blockedURI: string; + readonly columnNumber: number; + readonly documentURI: string; + readonly effectiveDirective: string; + readonly lineNumber: number; + readonly originalPolicy: string; + readonly referrer: string; + readonly sourceFile: string; + readonly statusCode: number; + readonly violatedDirective: string; } -declare var WebGLUniformLocation: { - prototype: WebGLUniformLocation; - new(): WebGLUniformLocation; +declare var SecurityPolicyViolationEvent: { + prototype: SecurityPolicyViolationEvent; + new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent; }; -interface WebKitCSSMatrix { - a: number; - b: number; - c: number; - d: number; - e: number; - f: number; - m11: number; - m12: number; - m13: number; - m14: number; - m21: number; - m22: number; - m23: number; - m24: number; - m31: number; - m32: number; - m33: number; - m34: number; - m41: number; - m42: number; - m43: number; - m44: number; - inverse(): WebKitCSSMatrix; - multiply(secondMatrix: WebKitCSSMatrix): WebKitCSSMatrix; - rotate(angleX: number, angleY?: number, angleZ?: number): WebKitCSSMatrix; - rotateAxisAngle(x: number, y: number, z: number, angle: number): WebKitCSSMatrix; - scale(scaleX: number, scaleY?: number, scaleZ?: number): WebKitCSSMatrix; - setMatrixValue(value: string): void; - skewX(angle: number): WebKitCSSMatrix; - skewY(angle: number): WebKitCSSMatrix; +interface Selection { + readonly anchorNode: Node; + readonly anchorOffset: number; + readonly baseNode: Node; + readonly baseOffset: number; + readonly extentNode: Node; + readonly extentOffset: number; + readonly focusNode: Node; + readonly focusOffset: number; + readonly isCollapsed: boolean; + readonly rangeCount: number; + readonly type: string; + addRange(range: Range): void; + collapse(parentNode: Node, offset: number): void; + collapseToEnd(): void; + collapseToStart(): void; + containsNode(node: Node, partlyContained: boolean): boolean; + deleteFromDocument(): void; + empty(): void; + extend(newNode: Node, offset: number): void; + getRangeAt(index: number): Range; + removeAllRanges(): void; + removeRange(range: Range): void; + selectAllChildren(parentNode: Node): void; + setBaseAndExtent(baseNode: Node, baseOffset: number, extentNode: Node, extentOffset: number): void; + setPosition(parentNode: Node, offset: number): void; toString(): string; - translate(x: number, y: number, z?: number): WebKitCSSMatrix; } -declare var WebKitCSSMatrix: { - prototype: WebKitCSSMatrix; - new(text?: string): WebKitCSSMatrix; +declare var Selection: { + prototype: Selection; + new(): Selection; }; -interface WebKitDirectoryEntry extends WebKitEntry { - createReader(): WebKitDirectoryReader; +interface ServiceUIFrameContext { + getCachedFrameMessage(key: string): string; + postFrameMessage(key: string, data: string): void; } +declare var ServiceUIFrameContext: ServiceUIFrameContext; -declare var WebKitDirectoryEntry: { - prototype: WebKitDirectoryEntry; - new(): WebKitDirectoryEntry; -}; +interface ServiceWorkerEventMap extends AbstractWorkerEventMap { + "statechange": Event; +} -interface WebKitDirectoryReader { - readEntries(successCallback: WebKitEntriesCallback, errorCallback?: WebKitErrorCallback): void; +interface ServiceWorker extends EventTarget, AbstractWorker { + onstatechange: ((this: ServiceWorker , ev: Event) => any) | null; + readonly scriptURL: string; + readonly state: ServiceWorkerState; + postMessage(message: any, transfer?: any[]): void; + addEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var WebKitDirectoryReader: { - prototype: WebKitDirectoryReader; - new(): WebKitDirectoryReader; +declare var ServiceWorker: { + prototype: ServiceWorker; + new(): ServiceWorker; }; -interface WebKitEntry { - readonly filesystem: WebKitFileSystem; - readonly fullPath: string; - readonly isDirectory: boolean; - readonly isFile: boolean; - readonly name: string; +interface ServiceWorkerContainerEventMap { + "controllerchange": Event; + "message": ServiceWorkerMessageEvent; + "messageerror": MessageEvent; } -declare var WebKitEntry: { - prototype: WebKitEntry; - new(): WebKitEntry; +interface ServiceWorkerContainer extends EventTarget { + readonly controller: ServiceWorker | null; + oncontrollerchange: ((this: ServiceWorkerContainer , ev: Event) => any) | null; + onmessage: ((this: ServiceWorkerContainer , ev: ServiceWorkerMessageEvent) => any) | null; + onmessageerror: ((this: ServiceWorkerContainer , ev: MessageEvent) => any) | null; + readonly ready: Promise; + getRegistration(clientURL?: string): Promise; + getRegistrations(): Promise; + register(scriptURL: string, options?: RegistrationOptions): Promise; + startMessages(): void; + addEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var ServiceWorkerContainer: { + prototype: ServiceWorkerContainer; + new(): ServiceWorkerContainer; }; -interface WebKitFileEntry extends WebKitEntry { - file(successCallback: WebKitFileCallback, errorCallback?: WebKitErrorCallback): void; +interface ServiceWorkerMessageEvent extends Event { + readonly data: any; + readonly lastEventId: string; + readonly origin: string; + readonly ports: ReadonlyArray | null; + readonly source: ServiceWorker | MessagePort | null; } -declare var WebKitFileEntry: { - prototype: WebKitFileEntry; - new(): WebKitFileEntry; +declare var ServiceWorkerMessageEvent: { + prototype: ServiceWorkerMessageEvent; + new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent; }; -interface WebKitFileSystem { - readonly name: string; - readonly root: WebKitDirectoryEntry; +interface ServiceWorkerRegistrationEventMap { + "updatefound": Event; } -declare var WebKitFileSystem: { - prototype: WebKitFileSystem; - new(): WebKitFileSystem; +interface ServiceWorkerRegistration extends EventTarget { + readonly active: ServiceWorker | null; + readonly installing: ServiceWorker | null; + onupdatefound: ((this: ServiceWorkerRegistration , ev: Event) => any) | null; + readonly pushManager: PushManager; + readonly scope: string; + readonly sync: SyncManager; + readonly waiting: ServiceWorker | null; + getNotifications(filter?: GetNotificationOptions): Promise; + showNotification(title: string, options?: NotificationOptions): Promise; + unregister(): Promise; + update(): Promise; + addEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var ServiceWorkerRegistration: { + prototype: ServiceWorkerRegistration; + new(): ServiceWorkerRegistration; }; -interface WebKitPoint { - x: number; - y: number; +interface ShadowRoot extends DocumentOrShadowRoot, DocumentFragment { + readonly host: Element; + innerHTML: string; } -declare var WebKitPoint: { - prototype: WebKitPoint; - new(x?: number, y?: number): WebKitPoint; +interface ShadowRootInit { + delegatesFocus?: boolean; + mode: "open" | "closed"; +} + +interface SourceBuffer extends EventTarget { + appendWindowEnd: number; + appendWindowStart: number; + readonly audioTracks: AudioTrackList; + readonly buffered: TimeRanges; + mode: AppendMode; + timestampOffset: number; + readonly updating: boolean; + readonly videoTracks: VideoTrackList; + abort(): void; + appendBuffer(data: ArrayBuffer | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null): void; + appendStream(stream: MSStream, maxSize?: number): void; + remove(start: number, end: number): void; +} + +declare var SourceBuffer: { + prototype: SourceBuffer; + new(): SourceBuffer; }; -interface webkitRTCPeerConnection extends RTCPeerConnection { - addEventListener(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +interface SourceBufferList extends EventTarget { + readonly length: number; + item(index: number): SourceBuffer; + [index: number]: SourceBuffer; } -declare var webkitRTCPeerConnection: { - prototype: webkitRTCPeerConnection; - new(configuration: RTCConfiguration): webkitRTCPeerConnection; +declare var SourceBufferList: { + prototype: SourceBufferList; + new(): SourceBufferList; }; -interface WebSocketEventMap { - "close": CloseEvent; - "error": Event; - "message": MessageEvent; - "open": Event; +interface SpeechSynthesisEventMap { + "voiceschanged": Event; } -interface WebSocket extends EventTarget { - binaryType: string; - readonly bufferedAmount: number; - readonly extensions: string; - onclose: (this: WebSocket, ev: CloseEvent) => any; - onerror: (this: WebSocket, ev: Event) => any; - onmessage: (this: WebSocket, ev: MessageEvent) => any; - onopen: (this: WebSocket, ev: Event) => any; - readonly protocol: string; - readonly readyState: number; - readonly url: string; - close(code?: number, reason?: string): void; - send(data: USVString | ArrayBuffer | Blob | ArrayBufferView): void; - readonly CLOSED: number; - readonly CLOSING: number; - readonly CONNECTING: number; - readonly OPEN: number; - addEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface SpeechSynthesis extends EventTarget { + onvoiceschanged: ((this: SpeechSynthesis , ev: Event) => any) | null; + readonly paused: boolean; + readonly pending: boolean; + readonly speaking: boolean; + cancel(): void; + getVoices(): SpeechSynthesisVoice[]; + pause(): void; + resume(): void; + speak(utterance: SpeechSynthesisUtterance): void; + addEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var WebSocket: { - prototype: WebSocket; - new(url: string, protocols?: string | string[]): WebSocket; - readonly CLOSED: number; - readonly CLOSING: number; - readonly CONNECTING: number; - readonly OPEN: number; +declare var SpeechSynthesis: { + prototype: SpeechSynthesis; + new(): SpeechSynthesis; }; -interface WheelEvent extends MouseEvent { - readonly deltaMode: number; - readonly deltaX: number; - readonly deltaY: number; - readonly deltaZ: number; - readonly wheelDelta: number; - readonly wheelDeltaX: number; - readonly wheelDeltaY: number; - getCurrentPoint(element: Element): void; - initWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, deltaXArg: number, deltaYArg: number, deltaZArg: number, deltaMode: number): void; - readonly DOM_DELTA_LINE: number; - readonly DOM_DELTA_PAGE: number; - readonly DOM_DELTA_PIXEL: number; +interface SpeechSynthesisEvent extends Event { + readonly charIndex: number; + readonly charLength: number; + readonly elapsedTime: number; + readonly name: string; + readonly utterance: SpeechSynthesisUtterance; } -declare var WheelEvent: { - prototype: WheelEvent; - new(typeArg: string, eventInitDict?: WheelEventInit): WheelEvent; - readonly DOM_DELTA_LINE: number; - readonly DOM_DELTA_PAGE: number; - readonly DOM_DELTA_PIXEL: number; +declare var SpeechSynthesisEvent: { + prototype: SpeechSynthesisEvent; + new(type: string, eventInitDict?: SpeechSynthesisEventInit): SpeechSynthesisEvent; }; -interface WindowEventMap extends GlobalEventHandlersEventMap { - "abort": UIEvent; - "afterprint": Event; - "beforeprint": Event; - "beforeunload": BeforeUnloadEvent; - "blur": FocusEvent; - "canplay": Event; - "canplaythrough": Event; - "change": Event; - "click": MouseEvent; - "compassneedscalibration": Event; - "contextmenu": PointerEvent; - "dblclick": MouseEvent; - "devicelight": DeviceLightEvent; - "devicemotion": DeviceMotionEvent; - "deviceorientation": DeviceOrientationEvent; - "drag": DragEvent; - "dragend": DragEvent; - "dragenter": DragEvent; - "dragleave": DragEvent; - "dragover": DragEvent; - "dragstart": DragEvent; - "drop": DragEvent; - "durationchange": Event; - "emptied": Event; - "ended": MediaStreamErrorEvent; - "error": ErrorEvent; - "focus": FocusEvent; - "hashchange": HashChangeEvent; - "input": Event; - "invalid": Event; - "keydown": KeyboardEvent; - "keypress": KeyboardEvent; - "keyup": KeyboardEvent; - "load": Event; - "loadeddata": Event; - "loadedmetadata": Event; - "loadstart": Event; - "message": MessageEvent; - "mousedown": MouseEvent; - "mouseenter": MouseEvent; - "mouseleave": MouseEvent; - "mousemove": MouseEvent; - "mouseout": MouseEvent; - "mouseover": MouseEvent; - "mouseup": MouseEvent; - "mousewheel": WheelEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSInertiaStart": MSGestureEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; - "offline": Event; - "online": Event; - "orientationchange": Event; - "pagehide": PageTransitionEvent; - "pageshow": PageTransitionEvent; +interface SpeechSynthesisUtteranceEventMap { + "boundary": Event; + "end": Event; + "error": Event; + "mark": Event; "pause": Event; - "play": Event; - "playing": Event; - "popstate": PopStateEvent; - "progress": ProgressEvent; - "ratechange": Event; - "readystatechange": ProgressEvent; - "reset": Event; - "resize": UIEvent; - "scroll": UIEvent; - "seeked": Event; - "seeking": Event; - "select": UIEvent; - "stalled": Event; - "storage": StorageEvent; - "submit": Event; - "suspend": Event; - "timeupdate": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; - "unload": Event; - "volumechange": Event; - "waiting": Event; + "resume": Event; + "start": Event; } -interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, GlobalFetch { - readonly applicationCache: ApplicationCache; - readonly caches: CacheStorage; - readonly clientInformation: Navigator; - readonly closed: boolean; - readonly crypto: Crypto; - defaultStatus: string; - readonly devicePixelRatio: number; - readonly document: Document; - readonly doNotTrack: string; - event: Event | undefined; - readonly external: External; - readonly frameElement: Element; - readonly frames: Window; - readonly history: History; - readonly innerHeight: number; - readonly innerWidth: number; - readonly isSecureContext: boolean; - readonly length: number; - readonly location: Location; - readonly locationbar: BarProp; - readonly menubar: BarProp; - readonly msContentScript: ExtensionScriptApis; - readonly msCredentials: MSCredentials; - name: string; - readonly navigator: Navigator; - offscreenBuffering: string | boolean; - onabort: (this: Window, ev: UIEvent) => any; - onafterprint: (this: Window, ev: Event) => any; - onbeforeprint: (this: Window, ev: Event) => any; - onbeforeunload: (this: Window, ev: BeforeUnloadEvent) => any; - onblur: (this: Window, ev: FocusEvent) => any; - oncanplay: (this: Window, ev: Event) => any; - oncanplaythrough: (this: Window, ev: Event) => any; - onchange: (this: Window, ev: Event) => any; - onclick: (this: Window, ev: MouseEvent) => any; - oncompassneedscalibration: (this: Window, ev: Event) => any; - oncontextmenu: (this: Window, ev: PointerEvent) => any; - ondblclick: (this: Window, ev: MouseEvent) => any; - ondevicelight: (this: Window, ev: DeviceLightEvent) => any; - ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any; - ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any; - ondrag: (this: Window, ev: DragEvent) => any; - ondragend: (this: Window, ev: DragEvent) => any; - ondragenter: (this: Window, ev: DragEvent) => any; - ondragleave: (this: Window, ev: DragEvent) => any; - ondragover: (this: Window, ev: DragEvent) => any; - ondragstart: (this: Window, ev: DragEvent) => any; - ondrop: (this: Window, ev: DragEvent) => any; - ondurationchange: (this: Window, ev: Event) => any; - onemptied: (this: Window, ev: Event) => any; - onended: (this: Window, ev: MediaStreamErrorEvent) => any; - onerror: ErrorEventHandler; - onfocus: (this: Window, ev: FocusEvent) => any; - onhashchange: (this: Window, ev: HashChangeEvent) => any; - oninput: (this: Window, ev: Event) => any; - oninvalid: (this: Window, ev: Event) => any; - onkeydown: (this: Window, ev: KeyboardEvent) => any; - onkeypress: (this: Window, ev: KeyboardEvent) => any; - onkeyup: (this: Window, ev: KeyboardEvent) => any; - onload: (this: Window, ev: Event) => any; - onloadeddata: (this: Window, ev: Event) => any; - onloadedmetadata: (this: Window, ev: Event) => any; - onloadstart: (this: Window, ev: Event) => any; - onmessage: (this: Window, ev: MessageEvent) => any; - onmousedown: (this: Window, ev: MouseEvent) => any; - onmouseenter: (this: Window, ev: MouseEvent) => any; - onmouseleave: (this: Window, ev: MouseEvent) => any; - onmousemove: (this: Window, ev: MouseEvent) => any; - onmouseout: (this: Window, ev: MouseEvent) => any; - onmouseover: (this: Window, ev: MouseEvent) => any; - onmouseup: (this: Window, ev: MouseEvent) => any; - onmousewheel: (this: Window, ev: WheelEvent) => any; - onmsgesturechange: (this: Window, ev: MSGestureEvent) => any; - onmsgesturedoubletap: (this: Window, ev: MSGestureEvent) => any; - onmsgestureend: (this: Window, ev: MSGestureEvent) => any; - onmsgesturehold: (this: Window, ev: MSGestureEvent) => any; - onmsgesturestart: (this: Window, ev: MSGestureEvent) => any; - onmsgesturetap: (this: Window, ev: MSGestureEvent) => any; - onmsinertiastart: (this: Window, ev: MSGestureEvent) => any; - onmspointercancel: (this: Window, ev: MSPointerEvent) => any; - onmspointerdown: (this: Window, ev: MSPointerEvent) => any; - onmspointerenter: (this: Window, ev: MSPointerEvent) => any; - onmspointerleave: (this: Window, ev: MSPointerEvent) => any; - onmspointermove: (this: Window, ev: MSPointerEvent) => any; - onmspointerout: (this: Window, ev: MSPointerEvent) => any; - onmspointerover: (this: Window, ev: MSPointerEvent) => any; - onmspointerup: (this: Window, ev: MSPointerEvent) => any; - onoffline: (this: Window, ev: Event) => any; - ononline: (this: Window, ev: Event) => any; - onorientationchange: (this: Window, ev: Event) => any; - onpagehide: (this: Window, ev: PageTransitionEvent) => any; - onpageshow: (this: Window, ev: PageTransitionEvent) => any; - onpause: (this: Window, ev: Event) => any; - onplay: (this: Window, ev: Event) => any; - onplaying: (this: Window, ev: Event) => any; - onpopstate: (this: Window, ev: PopStateEvent) => any; - onprogress: (this: Window, ev: ProgressEvent) => any; - onratechange: (this: Window, ev: Event) => any; - onreadystatechange: (this: Window, ev: ProgressEvent) => any; - onreset: (this: Window, ev: Event) => any; - onresize: (this: Window, ev: UIEvent) => any; - onscroll: (this: Window, ev: UIEvent) => any; - onseeked: (this: Window, ev: Event) => any; - onseeking: (this: Window, ev: Event) => any; - onselect: (this: Window, ev: UIEvent) => any; - onstalled: (this: Window, ev: Event) => any; - onstorage: (this: Window, ev: StorageEvent) => any; - onsubmit: (this: Window, ev: Event) => any; - onsuspend: (this: Window, ev: Event) => any; - ontimeupdate: (this: Window, ev: Event) => any; - ontouchcancel: (ev: TouchEvent) => any; - ontouchend: (ev: TouchEvent) => any; - ontouchmove: (ev: TouchEvent) => any; - ontouchstart: (ev: TouchEvent) => any; - onunload: (this: Window, ev: Event) => any; - onvolumechange: (this: Window, ev: Event) => any; - onwaiting: (this: Window, ev: Event) => any; - opener: any; - orientation: string | number; - readonly outerHeight: number; - readonly outerWidth: number; - readonly pageXOffset: number; - readonly pageYOffset: number; - readonly parent: Window; - readonly performance: Performance; - readonly personalbar: BarProp; - readonly screen: Screen; - readonly screenLeft: number; - readonly screenTop: number; - readonly screenX: number; - readonly screenY: number; - readonly scrollbars: BarProp; - readonly scrollX: number; - readonly scrollY: number; - readonly self: Window; - readonly speechSynthesis: SpeechSynthesis; - status: string; - readonly statusbar: BarProp; - readonly styleMedia: StyleMedia; - readonly toolbar: BarProp; - readonly top: Window; - readonly window: Window; - URL: typeof URL; - URLSearchParams: typeof URLSearchParams; - Blob: typeof Blob; - customElements: CustomElementRegistry; - alert(message?: any): void; - blur(): void; - cancelAnimationFrame(handle: number): void; - captureEvents(): void; - close(): void; - confirm(message?: string): boolean; - departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void; - focus(): void; - getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; - getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList; - getSelection(): Selection; - matchMedia(mediaQuery: string): MediaQueryList; - moveBy(x?: number, y?: number): void; - moveTo(x?: number, y?: number): void; - msWriteProfilerMark(profilerMarkName: string): void; - open(url?: string, target?: string, features?: string, replace?: boolean): Window | null; - postMessage(message: any, targetOrigin: string, transfer?: any[]): void; - print(): void; - prompt(message?: string, _default?: string): string | null; - releaseEvents(): void; - requestAnimationFrame(callback: FrameRequestCallback): number; - resizeBy(x?: number, y?: number): void; - resizeTo(x?: number, y?: number): void; - scroll(x?: number, y?: number): void; - scrollBy(x?: number, y?: number): void; - scrollTo(x?: number, y?: number): void; - stop(): void; - webkitCancelAnimationFrame(handle: number): void; - webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint; - webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint; - webkitRequestAnimationFrame(callback: FrameRequestCallback): number; - createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; - createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; - scroll(options?: ScrollToOptions): void; - scrollTo(options?: ScrollToOptions): void; - scrollBy(options?: ScrollToOptions): void; - addEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface SpeechSynthesisUtterance extends EventTarget { + lang: string; + onboundary: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onend: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onerror: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onmark: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onpause: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onresume: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onstart: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + pitch: number; + rate: number; + text: string; + voice: SpeechSynthesisVoice; + volume: number; + addEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var Window: { - prototype: Window; - new(): Window; +declare var SpeechSynthesisUtterance: { + prototype: SpeechSynthesisUtterance; + new(): SpeechSynthesisUtterance; + new(text: string): SpeechSynthesisUtterance; +}; + +interface SpeechSynthesisVoice { + readonly default: boolean; + readonly lang: string; + readonly localService: boolean; + readonly name: string; + readonly voiceURI: string; +} + +declare var SpeechSynthesisVoice: { + prototype: SpeechSynthesisVoice; + new(): SpeechSynthesisVoice; }; -interface WorkerEventMap extends AbstractWorkerEventMap { - "message": MessageEvent; +interface StereoPannerNode extends AudioNode { + readonly pan: AudioParam; } -interface Worker extends EventTarget, AbstractWorker { - onmessage: (this: Worker, ev: MessageEvent) => any; - postMessage(message: any, transfer?: any[]): void; - terminate(): void; - addEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +declare var StereoPannerNode: { + prototype: StereoPannerNode; + new(): StereoPannerNode; +}; + +interface Storage { + readonly length: number; + clear(): void; + getItem(key: string): string | null; + key(index: number): string | null; + removeItem(key: string): void; + setItem(key: string, value: string): void; + [key: string]: any; } -declare var Worker: { - prototype: Worker; - new(stringUrl: string): Worker; +declare var Storage: { + prototype: Storage; + new(): Storage; }; -interface XMLDocument extends Document { - addEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +interface StorageEvent extends Event { + readonly key: string | null; + readonly newValue: string | null; + readonly oldValue: string | null; + readonly storageArea: Storage | null; + readonly url: string; } -declare var XMLDocument: { - prototype: XMLDocument; - new(): XMLDocument; +declare var StorageEvent: { + prototype: StorageEvent; + new (type: string, eventInitDict?: StorageEventInit): StorageEvent; }; -interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { - "readystatechange": Event; +interface StorageEventInit extends EventInit { + key?: string; + newValue?: string; + oldValue?: string; + storageArea?: Storage; + url: string; } -interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { - onreadystatechange: (this: XMLHttpRequest, ev: Event) => any; - readonly readyState: number; - readonly response: any; - readonly responseText: string; - responseType: XMLHttpRequestResponseType; - readonly responseURL: string; - readonly responseXML: Document | null; - readonly status: number; - readonly statusText: string; - timeout: number; - readonly upload: XMLHttpRequestUpload; - withCredentials: boolean; - msCaching?: string; - abort(): void; - getAllResponseHeaders(): string; - getResponseHeader(header: string): string | null; - msCachingEnabled(): boolean; - open(method: string, url: string, async?: boolean, user?: string, password?: string): void; - overrideMimeType(mime: string): void; - send(data?: Document): void; - send(data?: string): void; - send(data?: any): void; - setRequestHeader(header: string, value: string): void; - readonly DONE: number; - readonly HEADERS_RECEIVED: number; - readonly LOADING: number; - readonly OPENED: number; - readonly UNSENT: number; - addEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +interface StyleMedia { + readonly type: string; + matchMedium(mediaquery: string): boolean; } -declare var XMLHttpRequest: { - prototype: XMLHttpRequest; - new(): XMLHttpRequest; - readonly DONE: number; - readonly HEADERS_RECEIVED: number; - readonly LOADING: number; - readonly OPENED: number; - readonly UNSENT: number; +declare var StyleMedia: { + prototype: StyleMedia; + new(): StyleMedia; }; -interface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget { - addEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +interface StyleSheet { + disabled: boolean; + readonly href: string | null; + readonly media: MediaList; + readonly ownerNode: Node; + readonly parentStyleSheet: StyleSheet | null; + readonly title: string | null; + readonly type: string; } -declare var XMLHttpRequestUpload: { - prototype: XMLHttpRequestUpload; - new(): XMLHttpRequestUpload; +declare var StyleSheet: { + prototype: StyleSheet; + new(): StyleSheet; }; -interface XMLSerializer { - serializeToString(target: Node): string; +interface StyleSheetList { + readonly length: number; + item(index: number): StyleSheet | null; + [index: number]: StyleSheet | null; } -declare var XMLSerializer: { - prototype: XMLSerializer; - new(): XMLSerializer; +declare var StyleSheetList: { + prototype: StyleSheetList; + new(): StyleSheetList; }; -interface XPathEvaluator { - createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; - createNSResolver(nodeResolver?: Node): XPathNSResolver; - evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult; +interface StyleSheetPageList { + readonly length: number; + item(index: number): CSSPageRule; + [index: number]: CSSPageRule; } -declare var XPathEvaluator: { - prototype: XPathEvaluator; - new(): XPathEvaluator; +declare var StyleSheetPageList: { + prototype: StyleSheetPageList; + new(): StyleSheetPageList; }; -interface XPathExpression { - evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult; +interface SubtleCrypto { + decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; + deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike; + deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike; + digest(algorithm: string | Algorithm, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; + encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; + exportKey(format: "jwk", key: CryptoKey): PromiseLike; + exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): PromiseLike; + exportKey(format: string, key: CryptoKey): PromiseLike; + generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike; + generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike; + generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike; + importKey(format: "jwk", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; + importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; + importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike; + sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; + unwrapKey(format: string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: string | Algorithm, unwrappedKeyAlgorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike; + verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; + wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: string | Algorithm): PromiseLike; } -declare var XPathExpression: { - prototype: XPathExpression; - new(): XPathExpression; +declare var SubtleCrypto: { + prototype: SubtleCrypto; + new(): SubtleCrypto; }; -interface XPathNSResolver { - lookupNamespaceURI(prefix: string): string; +interface SyncManager { + getTags(): Promise; + register(tag: string): Promise; } -declare var XPathNSResolver: { - prototype: XPathNSResolver; - new(): XPathNSResolver; +declare var SyncManager: { + prototype: SyncManager; + new(): SyncManager; }; -interface XPathResult { - readonly booleanValue: boolean; - readonly invalidIteratorState: boolean; - readonly numberValue: number; - readonly resultType: number; - readonly singleNodeValue: Node; - readonly snapshotLength: number; - readonly stringValue: string; - iterateNext(): Node; - snapshotItem(index: number): Node; - readonly ANY_TYPE: number; - readonly ANY_UNORDERED_NODE_TYPE: number; - readonly BOOLEAN_TYPE: number; - readonly FIRST_ORDERED_NODE_TYPE: number; - readonly NUMBER_TYPE: number; - readonly ORDERED_NODE_ITERATOR_TYPE: number; - readonly ORDERED_NODE_SNAPSHOT_TYPE: number; - readonly STRING_TYPE: number; - readonly UNORDERED_NODE_ITERATOR_TYPE: number; - readonly UNORDERED_NODE_SNAPSHOT_TYPE: number; +interface Text extends CharacterData { + readonly assignedSlot: HTMLSlotElement | null; + readonly wholeText: string; + splitText(offset: number): Text; } -declare var XPathResult: { - prototype: XPathResult; - new(): XPathResult; - readonly ANY_TYPE: number; - readonly ANY_UNORDERED_NODE_TYPE: number; - readonly BOOLEAN_TYPE: number; - readonly FIRST_ORDERED_NODE_TYPE: number; - readonly NUMBER_TYPE: number; - readonly ORDERED_NODE_ITERATOR_TYPE: number; - readonly ORDERED_NODE_SNAPSHOT_TYPE: number; - readonly STRING_TYPE: number; - readonly UNORDERED_NODE_ITERATOR_TYPE: number; - readonly UNORDERED_NODE_SNAPSHOT_TYPE: number; +declare var Text: { + prototype: Text; + new(data?: string): Text; }; -interface XSLTProcessor { - clearParameters(): void; - getParameter(namespaceURI: string, localName: string): any; - importStylesheet(style: Node): void; - removeParameter(namespaceURI: string, localName: string): void; - reset(): void; - setParameter(namespaceURI: string, localName: string, value: any): void; - transformToDocument(source: Node): Document; - transformToFragment(source: Node, document: Document): DocumentFragment; +interface TextDecoder { + readonly encoding: string; + readonly fatal: boolean; + readonly ignoreBOM: boolean; + decode(input?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: TextDecodeOptions): string; +} + +declare var TextDecoder: { + prototype: TextDecoder; + new(label?: string, options?: TextDecoderOptions): TextDecoder; +}; + +interface TextEncoder { + readonly encoding: string; + encode(input?: string): Uint8Array; +} + +declare var TextEncoder: { + prototype: TextEncoder; + new(): TextEncoder; +}; + +interface TextEvent extends UIEvent { + readonly data: string; + initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void; + readonly DOM_INPUT_METHOD_DROP: number; + readonly DOM_INPUT_METHOD_HANDWRITING: number; + readonly DOM_INPUT_METHOD_IME: number; + readonly DOM_INPUT_METHOD_KEYBOARD: number; + readonly DOM_INPUT_METHOD_MULTIMODAL: number; + readonly DOM_INPUT_METHOD_OPTION: number; + readonly DOM_INPUT_METHOD_PASTE: number; + readonly DOM_INPUT_METHOD_SCRIPT: number; + readonly DOM_INPUT_METHOD_UNKNOWN: number; + readonly DOM_INPUT_METHOD_VOICE: number; +} + +declare var TextEvent: { + prototype: TextEvent; + new(): TextEvent; + readonly DOM_INPUT_METHOD_DROP: number; + readonly DOM_INPUT_METHOD_HANDWRITING: number; + readonly DOM_INPUT_METHOD_IME: number; + readonly DOM_INPUT_METHOD_KEYBOARD: number; + readonly DOM_INPUT_METHOD_MULTIMODAL: number; + readonly DOM_INPUT_METHOD_OPTION: number; + readonly DOM_INPUT_METHOD_PASTE: number; + readonly DOM_INPUT_METHOD_SCRIPT: number; + readonly DOM_INPUT_METHOD_UNKNOWN: number; + readonly DOM_INPUT_METHOD_VOICE: number; +}; + +interface TextMetrics { + readonly width: number; } -declare var XSLTProcessor: { - prototype: XSLTProcessor; - new(): XSLTProcessor; +declare var TextMetrics: { + prototype: TextMetrics; + new(): TextMetrics; }; -interface AbstractWorkerEventMap { - "error": ErrorEvent; +interface TextTrackEventMap { + "cuechange": Event; + "error": Event; + "load": Event; } -interface AbstractWorker { - onerror: (this: AbstractWorker, ev: ErrorEvent) => any; - addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface TextTrack extends EventTarget { + readonly activeCues: TextTrackCueList; + readonly cues: TextTrackCueList; + readonly inBandMetadataTrackDispatchType: string; + readonly kind: string; + readonly label: string; + readonly language: string; + mode: TextTrackMode | number; + oncuechange: ((this: TextTrack , ev: Event) => any) | null; + onerror: ((this: TextTrack , ev: Event) => any) | null; + onload: ((this: TextTrack , ev: Event) => any) | null; + readonly readyState: number; + addCue(cue: TextTrackCue): void; + removeCue(cue: TextTrackCue): void; + readonly DISABLED: number; + readonly ERROR: number; + readonly HIDDEN: number; + readonly LOADED: number; + readonly LOADING: number; + readonly NONE: number; + readonly SHOWING: number; + addEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -interface Body { - readonly bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - json(): Promise; - text(): Promise; - formData(): Promise; -} - -interface CanvasPathMethods { - arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; - bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; - closePath(): void; - ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; - lineTo(x: number, y: number): void; - moveTo(x: number, y: number): void; - quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; - rect(x: number, y: number, w: number, h: number): void; -} - -interface ChildNode { - remove(): void; -} +declare var TextTrack: { + prototype: TextTrack; + new(): TextTrack; + readonly DISABLED: number; + readonly ERROR: number; + readonly HIDDEN: number; + readonly LOADED: number; + readonly LOADING: number; + readonly NONE: number; + readonly SHOWING: number; +}; -interface DocumentEvent { - createEvent(eventInterface: "AnimationEvent"): AnimationEvent; - createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; - createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; - createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; - createEvent(eventInterface: "CloseEvent"): CloseEvent; - createEvent(eventInterface: "CompositionEvent"): CompositionEvent; - createEvent(eventInterface: "CustomEvent"): CustomEvent; - createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; - createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; - createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; - createEvent(eventInterface: "DragEvent"): DragEvent; - createEvent(eventInterface: "ErrorEvent"): ErrorEvent; - createEvent(eventInterface: "Event"): Event; - createEvent(eventInterface: "Events"): Event; - createEvent(eventInterface: "FocusEvent"): FocusEvent; - createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent; - createEvent(eventInterface: "GamepadEvent"): GamepadEvent; - createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; - createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; - createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; - createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; - createEvent(eventInterface: "LongRunningScriptDetectedEvent"): LongRunningScriptDetectedEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSManipulationEvent"): MSManipulationEvent; - createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; - createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MSSiteModeEvent"): MSSiteModeEvent; - createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; - createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; - createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; - createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; - createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; - createEvent(eventInterface: "MessageEvent"): MessageEvent; - createEvent(eventInterface: "MouseEvent"): MouseEvent; - createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; - createEvent(eventInterface: "NavigationCompletedEvent"): NavigationCompletedEvent; - createEvent(eventInterface: "NavigationEvent"): NavigationEvent; - createEvent(eventInterface: "NavigationEventWithReferrer"): NavigationEventWithReferrer; - createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; - createEvent(eventInterface: "OverflowEvent"): OverflowEvent; - createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; - createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; - createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent; - createEvent(eventInterface: "PointerEvent"): PointerEvent; - createEvent(eventInterface: "PopStateEvent"): PopStateEvent; - createEvent(eventInterface: "ProgressEvent"): ProgressEvent; - createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; - createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent; - createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent; - createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent; - createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent; - createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; - createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent; - createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent; - createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent; - createEvent(eventInterface: "ScriptNotifyEvent"): ScriptNotifyEvent; - createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent; - createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; - createEvent(eventInterface: "StorageEvent"): StorageEvent; - createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; - createEvent(eventInterface: "TrackEvent"): TrackEvent; - createEvent(eventInterface: "TransitionEvent"): TransitionEvent; - createEvent(eventInterface: "UIEvent"): UIEvent; - createEvent(eventInterface: "UIEvents"): UIEvent; - createEvent(eventInterface: "UnviewableContentIdentifiedEvent"): UnviewableContentIdentifiedEvent; - createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; - createEvent(eventInterface: "WheelEvent"): WheelEvent; - createEvent(eventInterface: string): Event; +interface TextTrackCueEventMap { + "enter": Event; + "exit": Event; } -interface DOML2DeprecatedColorProperty { - color: string; +interface TextTrackCue extends EventTarget { + endTime: number; + id: string; + onenter: ((this: TextTrackCue , ev: Event) => any) | null; + onexit: ((this: TextTrackCue , ev: Event) => any) | null; + pauseOnExit: boolean; + startTime: number; + text: string; + readonly track: TextTrack; + getCueAsHTML(): DocumentFragment; + addEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -interface DOML2DeprecatedSizeProperty { - size: number; -} +declare var TextTrackCue: { + prototype: TextTrackCue; + new(startTime: number, endTime: number, text: string): TextTrackCue; +}; -interface ElementTraversal { - readonly childElementCount: number; - readonly firstElementChild: Element | null; - readonly lastElementChild: Element | null; - readonly nextElementSibling: Element | null; - readonly previousElementSibling: Element | null; +interface TextTrackCueList { + readonly length: number; + getCueById(id: string): TextTrackCue; + item(index: number): TextTrackCue; + [index: number]: TextTrackCue; } -interface GetSVGDocument { - getSVGDocument(): Document; -} +declare var TextTrackCueList: { + prototype: TextTrackCueList; + new(): TextTrackCueList; +}; -interface GlobalEventHandlersEventMap { - "pointercancel": PointerEvent; - "pointerdown": PointerEvent; - "pointerenter": PointerEvent; - "pointerleave": PointerEvent; - "pointermove": PointerEvent; - "pointerout": PointerEvent; - "pointerover": PointerEvent; - "pointerup": PointerEvent; - "wheel": WheelEvent; +interface TextTrackListEventMap { + "addtrack": TrackEvent; } -interface GlobalEventHandlers { - onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any; - onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any; - addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface TextTrackList extends EventTarget { + readonly length: number; + onaddtrack: ((this: TextTrackList , ev: TrackEvent) => any) | null; + item(index: number): TextTrack; + addEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; + [index: number]: TextTrack; } -interface GlobalFetch { - fetch(input: RequestInfo, init?: RequestInit): Promise; -} +declare var TextTrackList: { + prototype: TextTrackList; + new(): TextTrackList; +}; -interface HTMLTableAlignment { - /** - * Sets or retrieves a value that you can use to implement your own ch functionality for the object. - */ - ch: string; - /** - * Sets or retrieves a value that you can use to implement your own chOff functionality for the object. - */ - chOff: string; - /** - * Sets or retrieves how text and other content are vertically aligned within the object that contains them. - */ - vAlign: string; +interface TimeRanges { + readonly length: number; + end(index: number): number; + start(index: number): number; } -interface IDBEnvironment { - readonly indexedDB: IDBFactory; -} +declare var TimeRanges: { + prototype: TimeRanges; + new(): TimeRanges; +}; -interface LinkStyle { - readonly sheet: StyleSheet; +interface Touch { + readonly clientX: number; + readonly clientY: number; + readonly identifier: number; + readonly pageX: number; + readonly pageY: number; + readonly screenX: number; + readonly screenY: number; + readonly target: EventTarget; } -interface MSBaseReaderEventMap { - "abort": Event; - "error": ErrorEvent; - "load": Event; - "loadend": ProgressEvent; - "loadstart": Event; - "progress": ProgressEvent; +declare var Touch: { + prototype: Touch; + new(): Touch; +}; + +interface TouchEvent extends UIEvent { + readonly altKey: boolean; + readonly changedTouches: TouchList; + readonly charCode: number; + readonly ctrlKey: boolean; + readonly keyCode: number; + readonly metaKey: boolean; + readonly shiftKey: boolean; + readonly targetTouches: TouchList; + readonly touches: TouchList; + /** @deprecated */ + readonly which: number; } -interface MSBaseReader { - onabort: (this: MSBaseReader, ev: Event) => any; - onerror: (this: MSBaseReader, ev: ErrorEvent) => any; - onload: (this: MSBaseReader, ev: Event) => any; - onloadend: (this: MSBaseReader, ev: ProgressEvent) => any; - onloadstart: (this: MSBaseReader, ev: Event) => any; - onprogress: (this: MSBaseReader, ev: ProgressEvent) => any; - readonly readyState: number; - readonly result: any; - abort(): void; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; - addEventListener(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} +declare var TouchEvent: { + prototype: TouchEvent; + new(type: string, touchEventInit?: TouchEventInit): TouchEvent; +}; -interface MSFileSaver { - msSaveBlob(blob: any, defaultName?: string): boolean; - msSaveOrOpenBlob(blob: any, defaultName?: string): boolean; +interface TouchEventInit extends EventModifierInit { + changedTouches?: Touch[]; + targetTouches?: Touch[]; + touches?: Touch[]; } -interface MSNavigatorDoNotTrack { - confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean; - confirmWebWideTrackingException(args: ExceptionInformation): boolean; - removeSiteSpecificTrackingException(args: ExceptionInformation): void; - removeWebWideTrackingException(args: ExceptionInformation): void; - storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void; - storeWebWideTrackingException(args: StoreExceptionsInformation): void; +interface TouchList { + readonly length: number; + item(index: number): Touch | null; + [index: number]: Touch | null; } -interface NavigatorBeacon { - sendBeacon(url: USVString, data?: BodyInit): boolean; -} +declare var TouchList: { + prototype: TouchList; + new(): TouchList; +}; -interface NavigatorConcurrentHardware { - readonly hardwareConcurrency: number; +interface TrackEvent extends Event { + readonly track: VideoTrack | AudioTrack | TextTrack | null; } -interface NavigatorContentUtils { -} +declare var TrackEvent: { + prototype: TrackEvent; + new(typeArg: string, eventInitDict?: TrackEventInit): TrackEvent; +}; -interface NavigatorGeolocation { - readonly geolocation: Geolocation; +interface TransitionEvent extends Event { + readonly elapsedTime: number; + readonly propertyName: string; + initTransitionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, propertyNameArg: string, elapsedTimeArg: number): void; } -interface NavigatorID { - readonly appCodeName: string; - readonly appName: string; - readonly appVersion: string; - readonly platform: string; - readonly product: string; - readonly productSub: string; - readonly userAgent: string; - readonly vendor: string; - readonly vendorSub: string; -} +declare var TransitionEvent: { + prototype: TransitionEvent; + new(typeArg: string, eventInitDict?: TransitionEventInit): TransitionEvent; +}; -interface NavigatorOnLine { - readonly onLine: boolean; +interface TreeWalker { + currentNode: Node; + /** @deprecated */ + readonly expandEntityReferences: boolean; + readonly filter: NodeFilter | null; + readonly root: Node; + readonly whatToShow: number; + firstChild(): Node | null; + lastChild(): Node | null; + nextNode(): Node | null; + nextSibling(): Node | null; + parentNode(): Node | null; + previousNode(): Node | null; + previousSibling(): Node | null; } -interface NavigatorStorageUtils { -} +declare var TreeWalker: { + prototype: TreeWalker; + new(): TreeWalker; +}; -interface NavigatorUserMedia { - readonly mediaDevices: MediaDevices; - getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void; +interface UIEvent extends Event { + readonly detail: number; + readonly view: Window; + initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void; } -interface NodeSelector { - querySelector(selectors: K): HTMLElementTagNameMap[K] | null; - querySelector(selectors: K): SVGElementTagNameMap[K] | null; - querySelector(selectors: string): E | null; - querySelectorAll(selectors: K): NodeListOf; - querySelectorAll(selectors: K): NodeListOf; - querySelectorAll(selectors: string): NodeListOf; -} +declare var UIEvent: { + prototype: UIEvent; + new(typeArg: string, eventInitDict?: UIEventInit): UIEvent; +}; -interface RandomSource { - getRandomValues(array: T): T; +interface URL { + hash: string; + host: string; + hostname: string; + href: string; + readonly origin: string; + password: string; + pathname: string; + port: string; + protocol: string; + search: string; + readonly searchParams: URLSearchParams; + username: string; + toString(): string; } -interface SVGAnimatedPoints { - readonly animatedPoints: SVGPointList; - readonly points: SVGPointList; -} +declare var URL: { + prototype: URL; + new(url: string, base?: string): URL; + createObjectURL(object: any, options?: ObjectURLOptions): string; + revokeObjectURL(url: string): void; +}; -interface SVGFilterPrimitiveStandardAttributes { - readonly height: SVGAnimatedLength; - readonly result: SVGAnimatedString; - readonly width: SVGAnimatedLength; - readonly x: SVGAnimatedLength; - readonly y: SVGAnimatedLength; +interface URLSearchParams { + /** + * Appends a specified key/value pair as a new search parameter. + */ + append(name: string, value: string): void; + /** + * Deletes the given search parameter, and its associated value, from the list of all search parameters. + */ + delete(name: string): void; + /** + * Returns the first value associated to the given search parameter. + */ + get(name: string): string | null; + /** + * Returns all the values association with a given search parameter. + */ + getAll(name: string): string[]; + /** + * Returns a Boolean indicating if such a search parameter exists. + */ + has(name: string): boolean; + /** + * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. + */ + set(name: string, value: string): void; } -interface SVGFitToViewBox { - readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; - readonly viewBox: SVGAnimatedRect; -} +declare var URLSearchParams: { + prototype: URLSearchParams; + new (init?: string | URLSearchParams): URLSearchParams; +}; -interface SVGTests { - readonly requiredExtensions: SVGStringList; - readonly requiredFeatures: SVGStringList; - readonly systemLanguage: SVGStringList; - hasExtension(extension: string): boolean; +interface VRDisplay extends EventTarget { + readonly capabilities: VRDisplayCapabilities; + depthFar: number; + depthNear: number; + readonly displayId: number; + readonly displayName: string; + readonly isConnected: boolean; + readonly isPresenting: boolean; + readonly stageParameters: VRStageParameters | null; + cancelAnimationFrame(handle: number): void; + exitPresent(): Promise; + getEyeParameters(whichEye: string): VREyeParameters; + getFrameData(frameData: VRFrameData): boolean; + getLayers(): VRLayer[]; + /** @deprecated */ + getPose(): VRPose; + requestAnimationFrame(callback: FrameRequestCallback): number; + requestPresent(layers: VRLayer[]): Promise; + resetPose(): void; + submitFrame(pose?: VRPose): void; } -interface SVGURIReference { - readonly href: SVGAnimatedString; -} +declare var VRDisplay: { + prototype: VRDisplay; + new(): VRDisplay; +}; -interface WindowBase64 { - atob(encodedString: string): string; - btoa(rawString: string): string; +interface VRDisplayCapabilities { + readonly canPresent: boolean; + readonly hasExternalDisplay: boolean; + readonly hasOrientation: boolean; + readonly hasPosition: boolean; + readonly maxLayers: number; } -interface WindowConsole { - readonly console: Console; -} +declare var VRDisplayCapabilities: { + prototype: VRDisplayCapabilities; + new(): VRDisplayCapabilities; +}; -interface WindowLocalStorage { - readonly localStorage: Storage; +interface VRDisplayEvent extends Event { + readonly display: VRDisplay; + readonly reason: VRDisplayEventReason | null; } -interface WindowSessionStorage { - readonly sessionStorage: Storage; -} +declare var VRDisplayEvent: { + prototype: VRDisplayEvent; + new(type: string, eventInitDict: VRDisplayEventInit): VRDisplayEvent; +}; -interface WindowTimers extends Object, WindowTimersExtension { - clearInterval(handle: number): void; - clearTimeout(handle: number): void; - setInterval(handler: (...args: any[]) => void, timeout: number): number; - setInterval(handler: any, timeout?: any, ...args: any[]): number; - setTimeout(handler: (...args: any[]) => void, timeout: number): number; - setTimeout(handler: any, timeout?: any, ...args: any[]): number; +interface VREyeParameters { + /** @deprecated */ + readonly fieldOfView: VRFieldOfView; + readonly offset: Float32Array; + readonly renderHeight: number; + readonly renderWidth: number; } -interface WindowTimersExtension { - clearImmediate(handle: number): void; - setImmediate(handler: (...args: any[]) => void): number; - setImmediate(handler: any, ...args: any[]): number; -} +declare var VREyeParameters: { + prototype: VREyeParameters; + new(): VREyeParameters; +}; -interface XMLHttpRequestEventTargetEventMap { - "abort": Event; - "error": ErrorEvent; - "load": Event; - "loadend": ProgressEvent; - "loadstart": Event; - "progress": ProgressEvent; - "timeout": ProgressEvent; +interface VRFieldOfView { + readonly downDegrees: number; + readonly leftDegrees: number; + readonly rightDegrees: number; + readonly upDegrees: number; } -interface XMLHttpRequestEventTarget { - onabort: (this: XMLHttpRequest, ev: Event) => any; - onerror: (this: XMLHttpRequest, ev: ErrorEvent) => any; - onload: (this: XMLHttpRequest, ev: Event) => any; - onloadend: (this: XMLHttpRequest, ev: ProgressEvent) => any; - onloadstart: (this: XMLHttpRequest, ev: Event) => any; - onprogress: (this: XMLHttpRequest, ev: ProgressEvent) => any; - ontimeout: (this: XMLHttpRequest, ev: ProgressEvent) => any; - addEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +declare var VRFieldOfView: { + prototype: VRFieldOfView; + new(): VRFieldOfView; +}; + +interface VRFrameData { + readonly leftProjectionMatrix: Float32Array; + readonly leftViewMatrix: Float32Array; + readonly pose: VRPose; + readonly rightProjectionMatrix: Float32Array; + readonly rightViewMatrix: Float32Array; + readonly timestamp: number; } -interface BroadcastChannel extends EventTarget { - readonly name: string; - onmessage: (ev: MessageEvent) => any; - onmessageerror: (ev: MessageEvent) => any; - close(): void; - postMessage(message: any): void; - addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +declare var VRFrameData: { + prototype: VRFrameData; + new(): VRFrameData; +}; + +interface VRPose { + readonly angularAcceleration: Float32Array | null; + readonly angularVelocity: Float32Array | null; + readonly linearAcceleration: Float32Array | null; + readonly linearVelocity: Float32Array | null; + readonly orientation: Float32Array | null; + readonly position: Float32Array | null; + readonly timestamp: number; } -declare var BroadcastChannel: { - prototype: BroadcastChannel; - new(name: string): BroadcastChannel; +declare var VRPose: { + prototype: VRPose; + new(): VRPose; }; -interface BroadcastChannelEventMap { - message: MessageEvent; - messageerror: MessageEvent; +interface ValidityState { + readonly badInput: boolean; + readonly customError: boolean; + readonly patternMismatch: boolean; + readonly rangeOverflow: boolean; + readonly rangeUnderflow: boolean; + readonly stepMismatch: boolean; + readonly tooLong: boolean; + readonly tooShort: boolean; + readonly typeMismatch: boolean; + readonly valid: boolean; + readonly valueMissing: boolean; } -interface ErrorEventInit { - message?: string; - filename?: string; - lineno?: number; - conlno?: number; - error?: any; +declare var ValidityState: { + prototype: ValidityState; + new(): ValidityState; +}; + +interface VideoPlaybackQuality { + readonly corruptedVideoFrames: number; + readonly creationTime: number; + readonly droppedVideoFrames: number; + readonly totalFrameDelay: number; + readonly totalVideoFrames: number; } -interface StorageEventInit extends EventInit { - key?: string; - oldValue?: string; - newValue?: string; - url: string; - storageArea?: Storage; -} +declare var VideoPlaybackQuality: { + prototype: VideoPlaybackQuality; + new(): VideoPlaybackQuality; +}; -interface Canvas2DContextAttributes { - alpha?: boolean; - willReadFrequently?: boolean; - storage?: boolean; - [attribute: string]: boolean | string | undefined; +interface VideoTrack { + readonly id: string; + kind: string; + readonly label: string; + language: string; + selected: boolean; + readonly sourceBuffer: SourceBuffer; } -interface ImageBitmapOptions { - imageOrientation?: "none" | "flipY"; - premultiplyAlpha?: "none" | "premultiply" | "default"; - colorSpaceConversion?: "none" | "default"; - resizeWidth?: number; - resizeHeight?: number; - resizeQuality?: "pixelated" | "low" | "medium" | "high"; -} +declare var VideoTrack: { + prototype: VideoTrack; + new(): VideoTrack; +}; -interface ImageBitmap { - readonly width: number; - readonly height: number; - close(): void; +interface VideoTrackListEventMap { + "addtrack": TrackEvent; + "change": Event; + "removetrack": TrackEvent; } -interface URLSearchParams { - /** - * Appends a specified key/value pair as a new search parameter. - */ - append(name: string, value: string): void; - /** - * Deletes the given search parameter, and its associated value, from the list of all search parameters. - */ - delete(name: string): void; - /** - * Returns the first value associated to the given search parameter. - */ - get(name: string): string | null; - /** - * Returns all the values association with a given search parameter. - */ - getAll(name: string): string[]; - /** - * Returns a Boolean indicating if such a search parameter exists. - */ - has(name: string): boolean; - /** - * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. - */ - set(name: string, value: string): void; +interface VideoTrackList extends EventTarget { + readonly length: number; + onaddtrack: ((this: VideoTrackList , ev: TrackEvent) => any) | null; + onchange: ((this: VideoTrackList , ev: Event) => any) | null; + onremovetrack: ((this: VideoTrackList , ev: TrackEvent) => any) | null; + readonly selectedIndex: number; + getTrackById(id: string): VideoTrack | null; + item(index: number): VideoTrack; + addEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; + [index: number]: VideoTrack; } -declare var URLSearchParams: { - prototype: URLSearchParams; - /** - * Constructor returning a URLSearchParams object. - */ - new (init?: string | URLSearchParams): URLSearchParams; +declare var VideoTrackList: { + prototype: VideoTrackList; + new(): VideoTrackList; }; -interface NodeListOf extends NodeList { - length: number; - item(index: number): TNode; - [index: number]: TNode; +interface WEBGL_color_buffer_float { + readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: number; + readonly RGB32F_EXT: number; + readonly RGBA32F_EXT: number; + readonly UNSIGNED_NORMALIZED_EXT: number; } -interface HTMLCollectionOf extends HTMLCollection { - item(index: number): T; - namedItem(name: string): T; - [index: number]: T; +interface WEBGL_compressed_texture_astc { + readonly COMPRESSED_RGBA_ASTC_10x10_KHR: number; + readonly COMPRESSED_RGBA_ASTC_10x5_KHR: number; + readonly COMPRESSED_RGBA_ASTC_10x6_KHR: number; + readonly COMPRESSED_RGBA_ASTC_10x8_KHR: number; + readonly COMPRESSED_RGBA_ASTC_12x10_KHR: number; + readonly COMPRESSED_RGBA_ASTC_12x12_KHR: number; + readonly COMPRESSED_RGBA_ASTC_4x4_KHR: number; + readonly COMPRESSED_RGBA_ASTC_5x4_KHR: number; + readonly COMPRESSED_RGBA_ASTC_5x5_KHR: number; + readonly COMPRESSED_RGBA_ASTC_6x5_KHR: number; + readonly COMPRESSED_RGBA_ASTC_6x6_KHR: number; + readonly COMPRESSED_RGBA_ASTC_8x5_KHR: number; + readonly COMPRESSED_RGBA_ASTC_8x6_KHR: number; + readonly COMPRESSED_RGBA_ASTC_8x8_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: number; + readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: number; + getSupportedProfiles(): string[]; } -interface BlobPropertyBag { - type?: string; - endings?: string; +interface WEBGL_compressed_texture_s3tc { + readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number; + readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number; + readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number; + readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number; } -interface FilePropertyBag extends BlobPropertyBag { - lastModified?: number; -} +declare var WEBGL_compressed_texture_s3tc: { + prototype: WEBGL_compressed_texture_s3tc; + new(): WEBGL_compressed_texture_s3tc; + readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number; + readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number; + readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number; + readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number; +}; -interface EventListenerObject { - handleEvent(evt: Event): void; +interface WEBGL_compressed_texture_s3tc_srgb { + readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: number; + readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: number; + readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: number; + readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: number; } -interface ProgressEventInit extends EventInit { - lengthComputable?: boolean; - loaded?: number; - total?: number; +interface WEBGL_debug_renderer_info { + readonly UNMASKED_RENDERER_WEBGL: number; + readonly UNMASKED_VENDOR_WEBGL: number; } -interface ScrollOptions { - behavior?: ScrollBehavior; -} +declare var WEBGL_debug_renderer_info: { + prototype: WEBGL_debug_renderer_info; + new(): WEBGL_debug_renderer_info; + readonly UNMASKED_RENDERER_WEBGL: number; + readonly UNMASKED_VENDOR_WEBGL: number; +}; -interface ScrollToOptions extends ScrollOptions { - left?: number; - top?: number; +interface WEBGL_debug_shaders { + getTranslatedShaderSource(shader: WebGLShader): string; } -interface ScrollIntoViewOptions extends ScrollOptions { - block?: ScrollLogicalPosition; - inline?: ScrollLogicalPosition; +interface WEBGL_depth_texture { + readonly UNSIGNED_INT_24_8_WEBGL: number; } -interface ClipboardEventInit extends EventInit { - data?: string; - dataType?: string; -} +declare var WEBGL_depth_texture: { + prototype: WEBGL_depth_texture; + new(): WEBGL_depth_texture; + readonly UNSIGNED_INT_24_8_WEBGL: number; +}; -interface IDBArrayKey extends Array { +interface WEBGL_draw_buffers { + readonly COLOR_ATTACHMENT0_WEBGL: number; + readonly COLOR_ATTACHMENT10_WEBGL: number; + readonly COLOR_ATTACHMENT11_WEBGL: number; + readonly COLOR_ATTACHMENT12_WEBGL: number; + readonly COLOR_ATTACHMENT13_WEBGL: number; + readonly COLOR_ATTACHMENT14_WEBGL: number; + readonly COLOR_ATTACHMENT15_WEBGL: number; + readonly COLOR_ATTACHMENT1_WEBGL: number; + readonly COLOR_ATTACHMENT2_WEBGL: number; + readonly COLOR_ATTACHMENT3_WEBGL: number; + readonly COLOR_ATTACHMENT4_WEBGL: number; + readonly COLOR_ATTACHMENT5_WEBGL: number; + readonly COLOR_ATTACHMENT6_WEBGL: number; + readonly COLOR_ATTACHMENT7_WEBGL: number; + readonly COLOR_ATTACHMENT8_WEBGL: number; + readonly COLOR_ATTACHMENT9_WEBGL: number; + readonly DRAW_BUFFER0_WEBGL: number; + readonly DRAW_BUFFER10_WEBGL: number; + readonly DRAW_BUFFER11_WEBGL: number; + readonly DRAW_BUFFER12_WEBGL: number; + readonly DRAW_BUFFER13_WEBGL: number; + readonly DRAW_BUFFER14_WEBGL: number; + readonly DRAW_BUFFER15_WEBGL: number; + readonly DRAW_BUFFER1_WEBGL: number; + readonly DRAW_BUFFER2_WEBGL: number; + readonly DRAW_BUFFER3_WEBGL: number; + readonly DRAW_BUFFER4_WEBGL: number; + readonly DRAW_BUFFER5_WEBGL: number; + readonly DRAW_BUFFER6_WEBGL: number; + readonly DRAW_BUFFER7_WEBGL: number; + readonly DRAW_BUFFER8_WEBGL: number; + readonly DRAW_BUFFER9_WEBGL: number; + readonly MAX_COLOR_ATTACHMENTS_WEBGL: number; + readonly MAX_DRAW_BUFFERS_WEBGL: number; + drawBuffersWEBGL(buffers: number[]): void; } -interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: Uint8Array; +interface WEBGL_lose_context { + loseContext(): void; + restoreContext(): void; } -interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: AlgorithmIdentifier; +interface WaveShaperNode extends AudioNode { + curve: Float32Array | null; + oversample: OverSampleType; } -interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: Uint8Array; -} +declare var WaveShaperNode: { + prototype: WaveShaperNode; + new(): WaveShaperNode; +}; -interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: AlgorithmIdentifier; +interface WebAuthentication { + getAssertion(assertionChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: AssertionOptions): Promise; + makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise; } -interface RsaHashedImportParams { - hash: AlgorithmIdentifier; -} +declare var WebAuthentication: { + prototype: WebAuthentication; + new(): WebAuthentication; +}; -interface RsaPssParams { - saltLength: number; +interface WebAuthnAssertion { + readonly authenticatorData: ArrayBuffer; + readonly clientData: ArrayBuffer; + readonly credential: ScopedCredential; + readonly signature: ArrayBuffer; } -interface RsaOaepParams extends Algorithm { - label?: BufferSource; -} +declare var WebAuthnAssertion: { + prototype: WebAuthnAssertion; + new(): WebAuthnAssertion; +}; -interface EcdsaParams extends Algorithm { - hash: AlgorithmIdentifier; +interface WebGLActiveInfo { + readonly name: string; + readonly size: number; + readonly type: number; } -interface EcKeyGenParams extends Algorithm { - namedCurve: string; -} +declare var WebGLActiveInfo: { + prototype: WebGLActiveInfo; + new(): WebGLActiveInfo; +}; -interface EcKeyAlgorithm extends KeyAlgorithm { - typedCurve: string; +interface WebGLBuffer extends WebGLObject { } -interface EcKeyImportParams extends Algorithm { - namedCurve: string; -} +declare var WebGLBuffer: { + prototype: WebGLBuffer; + new(): WebGLBuffer; +}; -interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; +interface WebGLContextEvent extends Event { + readonly statusMessage: string; } -interface AesCtrParams extends Algorithm { - counter: BufferSource; - length: number; -} +declare var WebGLContextEvent: { + prototype: WebGLContextEvent; + new(typeArg: string, eventInitDict?: WebGLContextEventInit): WebGLContextEvent; +}; -interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; +interface WebGLFramebuffer extends WebGLObject { } -interface AesKeyGenParams extends Algorithm { - length: number; -} +declare var WebGLFramebuffer: { + prototype: WebGLFramebuffer; + new(): WebGLFramebuffer; +}; -interface AesDerivedKeyParams extends Algorithm { - length: number; +interface WebGLObject { } -interface AesCbcParams extends Algorithm { - iv: BufferSource; -} +declare var WebGLObject: { + prototype: WebGLObject; + new(): WebGLObject; +}; -interface AesCmacParams extends Algorithm { - length: number; +interface WebGLProgram extends WebGLObject { } -interface AesGcmParams extends Algorithm { - iv: BufferSource; - additionalData?: BufferSource; - tagLength?: number; -} +declare var WebGLProgram: { + prototype: WebGLProgram; + new(): WebGLProgram; +}; -interface AesCfbParams extends Algorithm { - iv: BufferSource; +interface WebGLRenderbuffer extends WebGLObject { } -interface HmacImportParams extends Algorithm { - hash?: AlgorithmIdentifier; - length?: number; +declare var WebGLRenderbuffer: { + prototype: WebGLRenderbuffer; + new(): WebGLRenderbuffer; +}; + +interface WebGLRenderingContext { + readonly canvas: HTMLCanvasElement; + readonly drawingBufferHeight: number; + readonly drawingBufferWidth: number; + activeTexture(texture: number): void; + attachShader(program: WebGLProgram | null, shader: WebGLShader | null): void; + bindAttribLocation(program: WebGLProgram | null, index: number, name: string): void; + bindBuffer(target: number, buffer: WebGLBuffer | null): void; + bindFramebuffer(target: number, framebuffer: WebGLFramebuffer | null): void; + bindRenderbuffer(target: number, renderbuffer: WebGLRenderbuffer | null): void; + bindTexture(target: number, texture: WebGLTexture | null): void; + blendColor(red: number, green: number, blue: number, alpha: number): void; + blendEquation(mode: number): void; + blendEquationSeparate(modeRGB: number, modeAlpha: number): void; + blendFunc(sfactor: number, dfactor: number): void; + blendFuncSeparate(srcRGB: number, dstRGB: number, srcAlpha: number, dstAlpha: number): void; + bufferData(target: number, size: number | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, usage: number): void; + bufferSubData(target: number, offset: number, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null): void; + checkFramebufferStatus(target: number): number; + clear(mask: number): void; + clearColor(red: number, green: number, blue: number, alpha: number): void; + clearDepth(depth: number): void; + clearStencil(s: number): void; + colorMask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void; + compileShader(shader: WebGLShader | null): void; + compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null): void; + compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null): void; + copyTexImage2D(target: number, level: number, internalformat: number, x: number, y: number, width: number, height: number, border: number): void; + copyTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, x: number, y: number, width: number, height: number): void; + createBuffer(): WebGLBuffer | null; + createFramebuffer(): WebGLFramebuffer | null; + createProgram(): WebGLProgram | null; + createRenderbuffer(): WebGLRenderbuffer | null; + createShader(type: number): WebGLShader | null; + createTexture(): WebGLTexture | null; + cullFace(mode: number): void; + deleteBuffer(buffer: WebGLBuffer | null): void; + deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void; + deleteProgram(program: WebGLProgram | null): void; + deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void; + deleteShader(shader: WebGLShader | null): void; + deleteTexture(texture: WebGLTexture | null): void; + depthFunc(func: number): void; + depthMask(flag: boolean): void; + depthRange(zNear: number, zFar: number): void; + detachShader(program: WebGLProgram | null, shader: WebGLShader | null): void; + disable(cap: number): void; + disableVertexAttribArray(index: number): void; + drawArrays(mode: number, first: number, count: number): void; + drawElements(mode: number, count: number, type: number, offset: number): void; + enable(cap: number): void; + enableVertexAttribArray(index: number): void; + finish(): void; + flush(): void; + framebufferRenderbuffer(target: number, attachment: number, renderbuffertarget: number, renderbuffer: WebGLRenderbuffer | null): void; + framebufferTexture2D(target: number, attachment: number, textarget: number, texture: WebGLTexture | null, level: number): void; + frontFace(mode: number): void; + generateMipmap(target: number): void; + getActiveAttrib(program: WebGLProgram | null, index: number): WebGLActiveInfo | null; + getActiveUniform(program: WebGLProgram | null, index: number): WebGLActiveInfo | null; + getAttachedShaders(program: WebGLProgram | null): WebGLShader[] | null; + getAttribLocation(program: WebGLProgram | null, name: string): number; + getBufferParameter(target: number, pname: number): any; + getContextAttributes(): WebGLContextAttributes; + getError(): number; + getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null; + getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null; + getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null; + getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null; + getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null; + getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null; + getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null; + getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null; + getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null; + getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null; + getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null; + getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null; + getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null; + getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null; + getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null; + getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null; + getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null; + getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null; + getExtension(extensionName: "OES_texture_float"): OES_texture_float | null; + getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null; + getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null; + getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null; + getExtension(extensionName: string): any; + getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any; + getParameter(pname: number): any; + getProgramInfoLog(program: WebGLProgram | null): string | null; + getProgramParameter(program: WebGLProgram | null, pname: number): any; + getRenderbufferParameter(target: number, pname: number): any; + getShaderInfoLog(shader: WebGLShader | null): string | null; + getShaderParameter(shader: WebGLShader | null, pname: number): any; + getShaderPrecisionFormat(shadertype: number, precisiontype: number): WebGLShaderPrecisionFormat | null; + getShaderSource(shader: WebGLShader | null): string | null; + getSupportedExtensions(): string[] | null; + getTexParameter(target: number, pname: number): any; + getUniform(program: WebGLProgram | null, location: WebGLUniformLocation | null): any; + getUniformLocation(program: WebGLProgram | null, name: string): WebGLUniformLocation | null; + getVertexAttrib(index: number, pname: number): any; + getVertexAttribOffset(index: number, pname: number): number; + hint(target: number, mode: number): void; + isBuffer(buffer: WebGLBuffer | null): boolean; + isContextLost(): boolean; + isEnabled(cap: number): boolean; + isFramebuffer(framebuffer: WebGLFramebuffer | null): boolean; + isProgram(program: WebGLProgram | null): boolean; + isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): boolean; + isShader(shader: WebGLShader | null): boolean; + isTexture(texture: WebGLTexture | null): boolean; + lineWidth(width: number): void; + linkProgram(program: WebGLProgram | null): void; + pixelStorei(pname: number, param: number | boolean): void; + polygonOffset(factor: number, units: number): void; + readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null): void; + renderbufferStorage(target: number, internalformat: number, width: number, height: number): void; + sampleCoverage(value: number, invert: boolean): void; + scissor(x: number, y: number, width: number, height: number): void; + shaderSource(shader: WebGLShader | null, source: string): void; + stencilFunc(func: number, ref: number, mask: number): void; + stencilFuncSeparate(face: number, func: number, ref: number, mask: number): void; + stencilMask(mask: number): void; + stencilMaskSeparate(face: number, mask: number): void; + stencilOp(fail: number, zfail: number, zpass: number): void; + stencilOpSeparate(face: number, fail: number, zfail: number, zpass: number): void; + texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void; + texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void; + texParameterf(target: number, pname: number, param: number): void; + texParameteri(target: number, pname: number, param: number): void; + texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void; + texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void; + uniform1f(location: WebGLUniformLocation | null, x: number): void; + uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; + uniform1i(location: WebGLUniformLocation | null, x: number): void; + uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; + uniform2f(location: WebGLUniformLocation | null, x: number, y: number): void; + uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; + uniform2i(location: WebGLUniformLocation | null, x: number, y: number): void; + uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; + uniform3f(location: WebGLUniformLocation | null, x: number, y: number, z: number): void; + uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; + uniform3i(location: WebGLUniformLocation | null, x: number, y: number, z: number): void; + uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; + uniform4f(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void; + uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike): void; + uniform4i(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void; + uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike): void; + uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; + uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; + uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike): void; + useProgram(program: WebGLProgram | null): void; + validateProgram(program: WebGLProgram | null): void; + vertexAttrib1f(indx: number, x: number): void; + vertexAttrib1fv(indx: number, values: Float32Array | number[]): void; + vertexAttrib2f(indx: number, x: number, y: number): void; + vertexAttrib2fv(indx: number, values: Float32Array | number[]): void; + vertexAttrib3f(indx: number, x: number, y: number, z: number): void; + vertexAttrib3fv(indx: number, values: Float32Array | number[]): void; + vertexAttrib4f(indx: number, x: number, y: number, z: number, w: number): void; + vertexAttrib4fv(indx: number, values: Float32Array | number[]): void; + vertexAttribPointer(indx: number, size: number, type: number, normalized: boolean, stride: number, offset: number): void; + viewport(x: number, y: number, width: number, height: number): void; + readonly ACTIVE_ATTRIBUTES: number; + readonly ACTIVE_TEXTURE: number; + readonly ACTIVE_UNIFORMS: number; + readonly ALIASED_LINE_WIDTH_RANGE: number; + readonly ALIASED_POINT_SIZE_RANGE: number; + readonly ALPHA: number; + readonly ALPHA_BITS: number; + readonly ALWAYS: number; + readonly ARRAY_BUFFER: number; + readonly ARRAY_BUFFER_BINDING: number; + readonly ATTACHED_SHADERS: number; + readonly BACK: number; + readonly BLEND: number; + readonly BLEND_COLOR: number; + readonly BLEND_DST_ALPHA: number; + readonly BLEND_DST_RGB: number; + readonly BLEND_EQUATION: number; + readonly BLEND_EQUATION_ALPHA: number; + readonly BLEND_EQUATION_RGB: number; + readonly BLEND_SRC_ALPHA: number; + readonly BLEND_SRC_RGB: number; + readonly BLUE_BITS: number; + readonly BOOL: number; + readonly BOOL_VEC2: number; + readonly BOOL_VEC3: number; + readonly BOOL_VEC4: number; + readonly BROWSER_DEFAULT_WEBGL: number; + readonly BUFFER_SIZE: number; + readonly BUFFER_USAGE: number; + readonly BYTE: number; + readonly CCW: number; + readonly CLAMP_TO_EDGE: number; + readonly COLOR_ATTACHMENT0: number; + readonly COLOR_BUFFER_BIT: number; + readonly COLOR_CLEAR_VALUE: number; + readonly COLOR_WRITEMASK: number; + readonly COMPILE_STATUS: number; + readonly COMPRESSED_TEXTURE_FORMATS: number; + readonly CONSTANT_ALPHA: number; + readonly CONSTANT_COLOR: number; + readonly CONTEXT_LOST_WEBGL: number; + readonly CULL_FACE: number; + readonly CULL_FACE_MODE: number; + readonly CURRENT_PROGRAM: number; + readonly CURRENT_VERTEX_ATTRIB: number; + readonly CW: number; + readonly DECR: number; + readonly DECR_WRAP: number; + readonly DELETE_STATUS: number; + readonly DEPTH_ATTACHMENT: number; + readonly DEPTH_BITS: number; + readonly DEPTH_BUFFER_BIT: number; + readonly DEPTH_CLEAR_VALUE: number; + readonly DEPTH_COMPONENT: number; + readonly DEPTH_COMPONENT16: number; + readonly DEPTH_FUNC: number; + readonly DEPTH_RANGE: number; + readonly DEPTH_STENCIL: number; + readonly DEPTH_STENCIL_ATTACHMENT: number; + readonly DEPTH_TEST: number; + readonly DEPTH_WRITEMASK: number; + readonly DITHER: number; + readonly DONT_CARE: number; + readonly DST_ALPHA: number; + readonly DST_COLOR: number; + readonly DYNAMIC_DRAW: number; + readonly ELEMENT_ARRAY_BUFFER: number; + readonly ELEMENT_ARRAY_BUFFER_BINDING: number; + readonly EQUAL: number; + readonly FASTEST: number; + readonly FLOAT: number; + readonly FLOAT_MAT2: number; + readonly FLOAT_MAT3: number; + readonly FLOAT_MAT4: number; + readonly FLOAT_VEC2: number; + readonly FLOAT_VEC3: number; + readonly FLOAT_VEC4: number; + readonly FRAGMENT_SHADER: number; + readonly FRAMEBUFFER: number; + readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number; + readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number; + readonly FRAMEBUFFER_BINDING: number; + readonly FRAMEBUFFER_COMPLETE: number; + readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number; + readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number; + readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number; + readonly FRAMEBUFFER_UNSUPPORTED: number; + readonly FRONT: number; + readonly FRONT_AND_BACK: number; + readonly FRONT_FACE: number; + readonly FUNC_ADD: number; + readonly FUNC_REVERSE_SUBTRACT: number; + readonly FUNC_SUBTRACT: number; + readonly GENERATE_MIPMAP_HINT: number; + readonly GEQUAL: number; + readonly GREATER: number; + readonly GREEN_BITS: number; + readonly HIGH_FLOAT: number; + readonly HIGH_INT: number; + readonly IMPLEMENTATION_COLOR_READ_FORMAT: number; + readonly IMPLEMENTATION_COLOR_READ_TYPE: number; + readonly INCR: number; + readonly INCR_WRAP: number; + readonly INT: number; + readonly INT_VEC2: number; + readonly INT_VEC3: number; + readonly INT_VEC4: number; + readonly INVALID_ENUM: number; + readonly INVALID_FRAMEBUFFER_OPERATION: number; + readonly INVALID_OPERATION: number; + readonly INVALID_VALUE: number; + readonly INVERT: number; + readonly KEEP: number; + readonly LEQUAL: number; + readonly LESS: number; + readonly LINEAR: number; + readonly LINEAR_MIPMAP_LINEAR: number; + readonly LINEAR_MIPMAP_NEAREST: number; + readonly LINES: number; + readonly LINE_LOOP: number; + readonly LINE_STRIP: number; + readonly LINE_WIDTH: number; + readonly LINK_STATUS: number; + readonly LOW_FLOAT: number; + readonly LOW_INT: number; + readonly LUMINANCE: number; + readonly LUMINANCE_ALPHA: number; + readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number; + readonly MAX_CUBE_MAP_TEXTURE_SIZE: number; + readonly MAX_FRAGMENT_UNIFORM_VECTORS: number; + readonly MAX_RENDERBUFFER_SIZE: number; + readonly MAX_TEXTURE_IMAGE_UNITS: number; + readonly MAX_TEXTURE_SIZE: number; + readonly MAX_VARYING_VECTORS: number; + readonly MAX_VERTEX_ATTRIBS: number; + readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number; + readonly MAX_VERTEX_UNIFORM_VECTORS: number; + readonly MAX_VIEWPORT_DIMS: number; + readonly MEDIUM_FLOAT: number; + readonly MEDIUM_INT: number; + readonly MIRRORED_REPEAT: number; + readonly NEAREST: number; + readonly NEAREST_MIPMAP_LINEAR: number; + readonly NEAREST_MIPMAP_NEAREST: number; + readonly NEVER: number; + readonly NICEST: number; + readonly NONE: number; + readonly NOTEQUAL: number; + readonly NO_ERROR: number; + readonly ONE: number; + readonly ONE_MINUS_CONSTANT_ALPHA: number; + readonly ONE_MINUS_CONSTANT_COLOR: number; + readonly ONE_MINUS_DST_ALPHA: number; + readonly ONE_MINUS_DST_COLOR: number; + readonly ONE_MINUS_SRC_ALPHA: number; + readonly ONE_MINUS_SRC_COLOR: number; + readonly OUT_OF_MEMORY: number; + readonly PACK_ALIGNMENT: number; + readonly POINTS: number; + readonly POLYGON_OFFSET_FACTOR: number; + readonly POLYGON_OFFSET_FILL: number; + readonly POLYGON_OFFSET_UNITS: number; + readonly RED_BITS: number; + readonly RENDERBUFFER: number; + readonly RENDERBUFFER_ALPHA_SIZE: number; + readonly RENDERBUFFER_BINDING: number; + readonly RENDERBUFFER_BLUE_SIZE: number; + readonly RENDERBUFFER_DEPTH_SIZE: number; + readonly RENDERBUFFER_GREEN_SIZE: number; + readonly RENDERBUFFER_HEIGHT: number; + readonly RENDERBUFFER_INTERNAL_FORMAT: number; + readonly RENDERBUFFER_RED_SIZE: number; + readonly RENDERBUFFER_STENCIL_SIZE: number; + readonly RENDERBUFFER_WIDTH: number; + readonly RENDERER: number; + readonly REPEAT: number; + readonly REPLACE: number; + readonly RGB: number; + readonly RGB565: number; + readonly RGB5_A1: number; + readonly RGBA: number; + readonly RGBA4: number; + readonly SAMPLER_2D: number; + readonly SAMPLER_CUBE: number; + readonly SAMPLES: number; + readonly SAMPLE_ALPHA_TO_COVERAGE: number; + readonly SAMPLE_BUFFERS: number; + readonly SAMPLE_COVERAGE: number; + readonly SAMPLE_COVERAGE_INVERT: number; + readonly SAMPLE_COVERAGE_VALUE: number; + readonly SCISSOR_BOX: number; + readonly SCISSOR_TEST: number; + readonly SHADER_TYPE: number; + readonly SHADING_LANGUAGE_VERSION: number; + readonly SHORT: number; + readonly SRC_ALPHA: number; + readonly SRC_ALPHA_SATURATE: number; + readonly SRC_COLOR: number; + readonly STATIC_DRAW: number; + readonly STENCIL_ATTACHMENT: number; + readonly STENCIL_BACK_FAIL: number; + readonly STENCIL_BACK_FUNC: number; + readonly STENCIL_BACK_PASS_DEPTH_FAIL: number; + readonly STENCIL_BACK_PASS_DEPTH_PASS: number; + readonly STENCIL_BACK_REF: number; + readonly STENCIL_BACK_VALUE_MASK: number; + readonly STENCIL_BACK_WRITEMASK: number; + readonly STENCIL_BITS: number; + readonly STENCIL_BUFFER_BIT: number; + readonly STENCIL_CLEAR_VALUE: number; + readonly STENCIL_FAIL: number; + readonly STENCIL_FUNC: number; + readonly STENCIL_INDEX: number; + readonly STENCIL_INDEX8: number; + readonly STENCIL_PASS_DEPTH_FAIL: number; + readonly STENCIL_PASS_DEPTH_PASS: number; + readonly STENCIL_REF: number; + readonly STENCIL_TEST: number; + readonly STENCIL_VALUE_MASK: number; + readonly STENCIL_WRITEMASK: number; + readonly STREAM_DRAW: number; + readonly SUBPIXEL_BITS: number; + readonly TEXTURE: number; + readonly TEXTURE0: number; + readonly TEXTURE1: number; + readonly TEXTURE10: number; + readonly TEXTURE11: number; + readonly TEXTURE12: number; + readonly TEXTURE13: number; + readonly TEXTURE14: number; + readonly TEXTURE15: number; + readonly TEXTURE16: number; + readonly TEXTURE17: number; + readonly TEXTURE18: number; + readonly TEXTURE19: number; + readonly TEXTURE2: number; + readonly TEXTURE20: number; + readonly TEXTURE21: number; + readonly TEXTURE22: number; + readonly TEXTURE23: number; + readonly TEXTURE24: number; + readonly TEXTURE25: number; + readonly TEXTURE26: number; + readonly TEXTURE27: number; + readonly TEXTURE28: number; + readonly TEXTURE29: number; + readonly TEXTURE3: number; + readonly TEXTURE30: number; + readonly TEXTURE31: number; + readonly TEXTURE4: number; + readonly TEXTURE5: number; + readonly TEXTURE6: number; + readonly TEXTURE7: number; + readonly TEXTURE8: number; + readonly TEXTURE9: number; + readonly TEXTURE_2D: number; + readonly TEXTURE_BINDING_2D: number; + readonly TEXTURE_BINDING_CUBE_MAP: number; + readonly TEXTURE_CUBE_MAP: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_X: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number; + readonly TEXTURE_MAG_FILTER: number; + readonly TEXTURE_MIN_FILTER: number; + readonly TEXTURE_WRAP_S: number; + readonly TEXTURE_WRAP_T: number; + readonly TRIANGLES: number; + readonly TRIANGLE_FAN: number; + readonly TRIANGLE_STRIP: number; + readonly UNPACK_ALIGNMENT: number; + readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number; + readonly UNPACK_FLIP_Y_WEBGL: number; + readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number; + readonly UNSIGNED_BYTE: number; + readonly UNSIGNED_INT: number; + readonly UNSIGNED_SHORT: number; + readonly UNSIGNED_SHORT_4_4_4_4: number; + readonly UNSIGNED_SHORT_5_5_5_1: number; + readonly UNSIGNED_SHORT_5_6_5: number; + readonly VALIDATE_STATUS: number; + readonly VENDOR: number; + readonly VERSION: number; + readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number; + readonly VERTEX_ATTRIB_ARRAY_ENABLED: number; + readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number; + readonly VERTEX_ATTRIB_ARRAY_POINTER: number; + readonly VERTEX_ATTRIB_ARRAY_SIZE: number; + readonly VERTEX_ATTRIB_ARRAY_STRIDE: number; + readonly VERTEX_ATTRIB_ARRAY_TYPE: number; + readonly VERTEX_SHADER: number; + readonly VIEWPORT: number; + readonly ZERO: number; } -interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: AlgorithmIdentifier; - length: number; -} +declare var WebGLRenderingContext: { + prototype: WebGLRenderingContext; + new(): WebGLRenderingContext; + readonly ACTIVE_ATTRIBUTES: number; + readonly ACTIVE_TEXTURE: number; + readonly ACTIVE_UNIFORMS: number; + readonly ALIASED_LINE_WIDTH_RANGE: number; + readonly ALIASED_POINT_SIZE_RANGE: number; + readonly ALPHA: number; + readonly ALPHA_BITS: number; + readonly ALWAYS: number; + readonly ARRAY_BUFFER: number; + readonly ARRAY_BUFFER_BINDING: number; + readonly ATTACHED_SHADERS: number; + readonly BACK: number; + readonly BLEND: number; + readonly BLEND_COLOR: number; + readonly BLEND_DST_ALPHA: number; + readonly BLEND_DST_RGB: number; + readonly BLEND_EQUATION: number; + readonly BLEND_EQUATION_ALPHA: number; + readonly BLEND_EQUATION_RGB: number; + readonly BLEND_SRC_ALPHA: number; + readonly BLEND_SRC_RGB: number; + readonly BLUE_BITS: number; + readonly BOOL: number; + readonly BOOL_VEC2: number; + readonly BOOL_VEC3: number; + readonly BOOL_VEC4: number; + readonly BROWSER_DEFAULT_WEBGL: number; + readonly BUFFER_SIZE: number; + readonly BUFFER_USAGE: number; + readonly BYTE: number; + readonly CCW: number; + readonly CLAMP_TO_EDGE: number; + readonly COLOR_ATTACHMENT0: number; + readonly COLOR_BUFFER_BIT: number; + readonly COLOR_CLEAR_VALUE: number; + readonly COLOR_WRITEMASK: number; + readonly COMPILE_STATUS: number; + readonly COMPRESSED_TEXTURE_FORMATS: number; + readonly CONSTANT_ALPHA: number; + readonly CONSTANT_COLOR: number; + readonly CONTEXT_LOST_WEBGL: number; + readonly CULL_FACE: number; + readonly CULL_FACE_MODE: number; + readonly CURRENT_PROGRAM: number; + readonly CURRENT_VERTEX_ATTRIB: number; + readonly CW: number; + readonly DECR: number; + readonly DECR_WRAP: number; + readonly DELETE_STATUS: number; + readonly DEPTH_ATTACHMENT: number; + readonly DEPTH_BITS: number; + readonly DEPTH_BUFFER_BIT: number; + readonly DEPTH_CLEAR_VALUE: number; + readonly DEPTH_COMPONENT: number; + readonly DEPTH_COMPONENT16: number; + readonly DEPTH_FUNC: number; + readonly DEPTH_RANGE: number; + readonly DEPTH_STENCIL: number; + readonly DEPTH_STENCIL_ATTACHMENT: number; + readonly DEPTH_TEST: number; + readonly DEPTH_WRITEMASK: number; + readonly DITHER: number; + readonly DONT_CARE: number; + readonly DST_ALPHA: number; + readonly DST_COLOR: number; + readonly DYNAMIC_DRAW: number; + readonly ELEMENT_ARRAY_BUFFER: number; + readonly ELEMENT_ARRAY_BUFFER_BINDING: number; + readonly EQUAL: number; + readonly FASTEST: number; + readonly FLOAT: number; + readonly FLOAT_MAT2: number; + readonly FLOAT_MAT3: number; + readonly FLOAT_MAT4: number; + readonly FLOAT_VEC2: number; + readonly FLOAT_VEC3: number; + readonly FLOAT_VEC4: number; + readonly FRAGMENT_SHADER: number; + readonly FRAMEBUFFER: number; + readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number; + readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number; + readonly FRAMEBUFFER_BINDING: number; + readonly FRAMEBUFFER_COMPLETE: number; + readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number; + readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number; + readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number; + readonly FRAMEBUFFER_UNSUPPORTED: number; + readonly FRONT: number; + readonly FRONT_AND_BACK: number; + readonly FRONT_FACE: number; + readonly FUNC_ADD: number; + readonly FUNC_REVERSE_SUBTRACT: number; + readonly FUNC_SUBTRACT: number; + readonly GENERATE_MIPMAP_HINT: number; + readonly GEQUAL: number; + readonly GREATER: number; + readonly GREEN_BITS: number; + readonly HIGH_FLOAT: number; + readonly HIGH_INT: number; + readonly IMPLEMENTATION_COLOR_READ_FORMAT: number; + readonly IMPLEMENTATION_COLOR_READ_TYPE: number; + readonly INCR: number; + readonly INCR_WRAP: number; + readonly INT: number; + readonly INT_VEC2: number; + readonly INT_VEC3: number; + readonly INT_VEC4: number; + readonly INVALID_ENUM: number; + readonly INVALID_FRAMEBUFFER_OPERATION: number; + readonly INVALID_OPERATION: number; + readonly INVALID_VALUE: number; + readonly INVERT: number; + readonly KEEP: number; + readonly LEQUAL: number; + readonly LESS: number; + readonly LINEAR: number; + readonly LINEAR_MIPMAP_LINEAR: number; + readonly LINEAR_MIPMAP_NEAREST: number; + readonly LINES: number; + readonly LINE_LOOP: number; + readonly LINE_STRIP: number; + readonly LINE_WIDTH: number; + readonly LINK_STATUS: number; + readonly LOW_FLOAT: number; + readonly LOW_INT: number; + readonly LUMINANCE: number; + readonly LUMINANCE_ALPHA: number; + readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number; + readonly MAX_CUBE_MAP_TEXTURE_SIZE: number; + readonly MAX_FRAGMENT_UNIFORM_VECTORS: number; + readonly MAX_RENDERBUFFER_SIZE: number; + readonly MAX_TEXTURE_IMAGE_UNITS: number; + readonly MAX_TEXTURE_SIZE: number; + readonly MAX_VARYING_VECTORS: number; + readonly MAX_VERTEX_ATTRIBS: number; + readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number; + readonly MAX_VERTEX_UNIFORM_VECTORS: number; + readonly MAX_VIEWPORT_DIMS: number; + readonly MEDIUM_FLOAT: number; + readonly MEDIUM_INT: number; + readonly MIRRORED_REPEAT: number; + readonly NEAREST: number; + readonly NEAREST_MIPMAP_LINEAR: number; + readonly NEAREST_MIPMAP_NEAREST: number; + readonly NEVER: number; + readonly NICEST: number; + readonly NONE: number; + readonly NOTEQUAL: number; + readonly NO_ERROR: number; + readonly ONE: number; + readonly ONE_MINUS_CONSTANT_ALPHA: number; + readonly ONE_MINUS_CONSTANT_COLOR: number; + readonly ONE_MINUS_DST_ALPHA: number; + readonly ONE_MINUS_DST_COLOR: number; + readonly ONE_MINUS_SRC_ALPHA: number; + readonly ONE_MINUS_SRC_COLOR: number; + readonly OUT_OF_MEMORY: number; + readonly PACK_ALIGNMENT: number; + readonly POINTS: number; + readonly POLYGON_OFFSET_FACTOR: number; + readonly POLYGON_OFFSET_FILL: number; + readonly POLYGON_OFFSET_UNITS: number; + readonly RED_BITS: number; + readonly RENDERBUFFER: number; + readonly RENDERBUFFER_ALPHA_SIZE: number; + readonly RENDERBUFFER_BINDING: number; + readonly RENDERBUFFER_BLUE_SIZE: number; + readonly RENDERBUFFER_DEPTH_SIZE: number; + readonly RENDERBUFFER_GREEN_SIZE: number; + readonly RENDERBUFFER_HEIGHT: number; + readonly RENDERBUFFER_INTERNAL_FORMAT: number; + readonly RENDERBUFFER_RED_SIZE: number; + readonly RENDERBUFFER_STENCIL_SIZE: number; + readonly RENDERBUFFER_WIDTH: number; + readonly RENDERER: number; + readonly REPEAT: number; + readonly REPLACE: number; + readonly RGB: number; + readonly RGB565: number; + readonly RGB5_A1: number; + readonly RGBA: number; + readonly RGBA4: number; + readonly SAMPLER_2D: number; + readonly SAMPLER_CUBE: number; + readonly SAMPLES: number; + readonly SAMPLE_ALPHA_TO_COVERAGE: number; + readonly SAMPLE_BUFFERS: number; + readonly SAMPLE_COVERAGE: number; + readonly SAMPLE_COVERAGE_INVERT: number; + readonly SAMPLE_COVERAGE_VALUE: number; + readonly SCISSOR_BOX: number; + readonly SCISSOR_TEST: number; + readonly SHADER_TYPE: number; + readonly SHADING_LANGUAGE_VERSION: number; + readonly SHORT: number; + readonly SRC_ALPHA: number; + readonly SRC_ALPHA_SATURATE: number; + readonly SRC_COLOR: number; + readonly STATIC_DRAW: number; + readonly STENCIL_ATTACHMENT: number; + readonly STENCIL_BACK_FAIL: number; + readonly STENCIL_BACK_FUNC: number; + readonly STENCIL_BACK_PASS_DEPTH_FAIL: number; + readonly STENCIL_BACK_PASS_DEPTH_PASS: number; + readonly STENCIL_BACK_REF: number; + readonly STENCIL_BACK_VALUE_MASK: number; + readonly STENCIL_BACK_WRITEMASK: number; + readonly STENCIL_BITS: number; + readonly STENCIL_BUFFER_BIT: number; + readonly STENCIL_CLEAR_VALUE: number; + readonly STENCIL_FAIL: number; + readonly STENCIL_FUNC: number; + readonly STENCIL_INDEX: number; + readonly STENCIL_INDEX8: number; + readonly STENCIL_PASS_DEPTH_FAIL: number; + readonly STENCIL_PASS_DEPTH_PASS: number; + readonly STENCIL_REF: number; + readonly STENCIL_TEST: number; + readonly STENCIL_VALUE_MASK: number; + readonly STENCIL_WRITEMASK: number; + readonly STREAM_DRAW: number; + readonly SUBPIXEL_BITS: number; + readonly TEXTURE: number; + readonly TEXTURE0: number; + readonly TEXTURE1: number; + readonly TEXTURE10: number; + readonly TEXTURE11: number; + readonly TEXTURE12: number; + readonly TEXTURE13: number; + readonly TEXTURE14: number; + readonly TEXTURE15: number; + readonly TEXTURE16: number; + readonly TEXTURE17: number; + readonly TEXTURE18: number; + readonly TEXTURE19: number; + readonly TEXTURE2: number; + readonly TEXTURE20: number; + readonly TEXTURE21: number; + readonly TEXTURE22: number; + readonly TEXTURE23: number; + readonly TEXTURE24: number; + readonly TEXTURE25: number; + readonly TEXTURE26: number; + readonly TEXTURE27: number; + readonly TEXTURE28: number; + readonly TEXTURE29: number; + readonly TEXTURE3: number; + readonly TEXTURE30: number; + readonly TEXTURE31: number; + readonly TEXTURE4: number; + readonly TEXTURE5: number; + readonly TEXTURE6: number; + readonly TEXTURE7: number; + readonly TEXTURE8: number; + readonly TEXTURE9: number; + readonly TEXTURE_2D: number; + readonly TEXTURE_BINDING_2D: number; + readonly TEXTURE_BINDING_CUBE_MAP: number; + readonly TEXTURE_CUBE_MAP: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number; + readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_X: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number; + readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number; + readonly TEXTURE_MAG_FILTER: number; + readonly TEXTURE_MIN_FILTER: number; + readonly TEXTURE_WRAP_S: number; + readonly TEXTURE_WRAP_T: number; + readonly TRIANGLES: number; + readonly TRIANGLE_FAN: number; + readonly TRIANGLE_STRIP: number; + readonly UNPACK_ALIGNMENT: number; + readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number; + readonly UNPACK_FLIP_Y_WEBGL: number; + readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number; + readonly UNSIGNED_BYTE: number; + readonly UNSIGNED_INT: number; + readonly UNSIGNED_SHORT: number; + readonly UNSIGNED_SHORT_4_4_4_4: number; + readonly UNSIGNED_SHORT_5_5_5_1: number; + readonly UNSIGNED_SHORT_5_6_5: number; + readonly VALIDATE_STATUS: number; + readonly VENDOR: number; + readonly VERSION: number; + readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number; + readonly VERTEX_ATTRIB_ARRAY_ENABLED: number; + readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number; + readonly VERTEX_ATTRIB_ARRAY_POINTER: number; + readonly VERTEX_ATTRIB_ARRAY_SIZE: number; + readonly VERTEX_ATTRIB_ARRAY_STRIDE: number; + readonly VERTEX_ATTRIB_ARRAY_TYPE: number; + readonly VERTEX_SHADER: number; + readonly VIEWPORT: number; + readonly ZERO: number; +}; -interface HmacKeyGenParams extends Algorithm { - hash: AlgorithmIdentifier; - length?: number; +interface WebGLShader extends WebGLObject { } -interface DhKeyGenParams extends Algorithm { - prime: Uint8Array; - generator: Uint8Array; -} +declare var WebGLShader: { + prototype: WebGLShader; + new(): WebGLShader; +}; -interface DhKeyAlgorithm extends KeyAlgorithm { - prime: Uint8Array; - generator: Uint8Array; +interface WebGLShaderPrecisionFormat { + readonly precision: number; + readonly rangeMax: number; + readonly rangeMin: number; } -interface DhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} +declare var WebGLShaderPrecisionFormat: { + prototype: WebGLShaderPrecisionFormat; + new(): WebGLShaderPrecisionFormat; +}; -interface DhImportKeyParams extends Algorithm { - prime: Uint8Array; - generator: Uint8Array; +interface WebGLTexture extends WebGLObject { } -interface ConcatParams extends Algorithm { - hash?: AlgorithmIdentifier; - algorithmId: Uint8Array; - partyUInfo: Uint8Array; - partyVInfo: Uint8Array; - publicInfo?: Uint8Array; - privateInfo?: Uint8Array; -} +declare var WebGLTexture: { + prototype: WebGLTexture; + new(): WebGLTexture; +}; -interface HkdfCtrParams extends Algorithm { - hash: AlgorithmIdentifier; - label: BufferSource; - context: BufferSource; +interface WebGLUniformLocation { } -interface Pbkdf2Params extends Algorithm { - salt: BufferSource; - iterations: number; - hash: AlgorithmIdentifier; -} +declare var WebGLUniformLocation: { + prototype: WebGLUniformLocation; + new(): WebGLUniformLocation; +}; -interface RsaOtherPrimesInfo { - r: string; - d: string; - t: string; +interface WebGLVertexArrayObjectOES { } -interface JsonWebKey { - kty: string; - use?: string; - key_ops?: string[]; - alg?: string; - kid?: string; - x5u?: string; - x5c?: string; - x5t?: string; - ext?: boolean; - crv?: string; - x?: string; - y?: string; - d?: string; - n?: string; - e?: string; - p?: string; - q?: string; - dp?: string; - dq?: string; - qi?: string; - oth?: RsaOtherPrimesInfo[]; - k?: string; +interface WebKitCSSMatrix { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + m11: number; + m12: number; + m13: number; + m14: number; + m21: number; + m22: number; + m23: number; + m24: number; + m31: number; + m32: number; + m33: number; + m34: number; + m41: number; + m42: number; + m43: number; + m44: number; + inverse(): WebKitCSSMatrix; + multiply(secondMatrix: WebKitCSSMatrix): WebKitCSSMatrix; + rotate(angleX: number, angleY?: number, angleZ?: number): WebKitCSSMatrix; + rotateAxisAngle(x: number, y: number, z: number, angle: number): WebKitCSSMatrix; + scale(scaleX: number, scaleY?: number, scaleZ?: number): WebKitCSSMatrix; + setMatrixValue(value: string): void; + skewX(angle: number): WebKitCSSMatrix; + skewY(angle: number): WebKitCSSMatrix; + toString(): string; + translate(x: number, y: number, z?: number): WebKitCSSMatrix; } -interface ParentNode { - readonly children: HTMLCollection; - readonly firstElementChild: Element | null; - readonly lastElementChild: Element | null; - readonly childElementCount: number; -} +declare var WebKitCSSMatrix: { + prototype: WebKitCSSMatrix; + new(text?: string): WebKitCSSMatrix; +}; -interface DocumentOrShadowRoot { - readonly activeElement: Element | null; - readonly styleSheets: StyleSheetList; - getSelection(): Selection | null; - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; +interface WebKitDirectoryEntry extends WebKitEntry { + createReader(): WebKitDirectoryReader; } -interface ShadowRoot extends DocumentOrShadowRoot, DocumentFragment { - readonly host: Element; - innerHTML: string; -} +declare var WebKitDirectoryEntry: { + prototype: WebKitDirectoryEntry; + new(): WebKitDirectoryEntry; +}; -interface ShadowRootInit { - mode: "open" | "closed"; - delegatesFocus?: boolean; +interface WebKitDirectoryReader { + readEntries(successCallback: WebKitEntriesCallback, errorCallback?: WebKitErrorCallback): void; } -interface HTMLSlotElement extends HTMLElement { - name: string; - assignedNodes(options?: AssignedNodesOptions): Node[]; -} +declare var WebKitDirectoryReader: { + prototype: WebKitDirectoryReader; + new(): WebKitDirectoryReader; +}; -interface AssignedNodesOptions { - flatten?: boolean; +interface WebKitEntry { + readonly filesystem: WebKitFileSystem; + readonly fullPath: string; + readonly isDirectory: boolean; + readonly isFile: boolean; + readonly name: string; } -interface ElementDefinitionOptions { - extends: string; -} +declare var WebKitEntry: { + prototype: WebKitEntry; + new(): WebKitEntry; +}; -interface ElementCreationOptions { - is?: string; +interface WebKitFileEntry extends WebKitEntry { + file(successCallback: WebKitFileCallback, errorCallback?: WebKitErrorCallback): void; } -interface CustomElementRegistry { - define(name: string, constructor: Function, options?: ElementDefinitionOptions): void; - get(name: string): any; - whenDefined(name: string): PromiseLike; -} +declare var WebKitFileEntry: { + prototype: WebKitFileEntry; + new(): WebKitFileEntry; +}; -interface PromiseRejectionEvent extends Event { - readonly promise: PromiseLike; - readonly reason: any; +interface WebKitFileSystem { + readonly name: string; + readonly root: WebKitDirectoryEntry; } -interface PromiseRejectionEventInit extends EventInit { - promise: PromiseLike; - reason?: any; -} +declare var WebKitFileSystem: { + prototype: WebKitFileSystem; + new(): WebKitFileSystem; +}; -interface EventListenerOptions { - capture?: boolean; +interface WebKitPoint { + x: number; + y: number; } -interface AddEventListenerOptions extends EventListenerOptions { - passive?: boolean; - once?: boolean; -} +declare var WebKitPoint: { + prototype: WebKitPoint; + new(x?: number, y?: number): WebKitPoint; +}; -interface TouchEventInit extends EventModifierInit { - touches?: Touch[]; - targetTouches?: Touch[]; - changedTouches?: Touch[]; +interface WebSocketEventMap { + "close": CloseEvent; + "error": Event; + "message": MessageEvent; + "open": Event; } -interface HTMLDialogElement extends HTMLElement { - open: boolean; - returnValue: string; - close(returnValue?: string): void; - show(): void; - showModal(): void; +interface WebSocket extends EventTarget { + binaryType: BinaryType; + readonly bufferedAmount: number; + readonly extensions: string; + onclose: ((this: WebSocket , ev: CloseEvent) => any) | null; + onerror: ((this: WebSocket , ev: Event) => any) | null; + onmessage: ((this: WebSocket , ev: MessageEvent) => any) | null; + onopen: ((this: WebSocket , ev: Event) => any) | null; + readonly protocol: string; + readonly readyState: number; + readonly url: string; + close(code?: number, reason?: string): void; + send(data: string | ArrayBuffer | Blob | ArrayBufferView): void; + readonly CLOSED: number; + readonly CLOSING: number; + readonly CONNECTING: number; + readonly OPEN: number; + addEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var HTMLDialogElement: { - prototype: HTMLDialogElement; - new(): HTMLDialogElement; +declare var WebSocket: { + prototype: WebSocket; + new(url: string, protocols?: string | string[]): WebSocket; + readonly CLOSED: number; + readonly CLOSING: number; + readonly CONNECTING: number; + readonly OPEN: number; }; -interface HTMLMainElement extends HTMLElement { +interface WheelEvent extends MouseEvent { + readonly deltaMode: number; + readonly deltaX: number; + readonly deltaY: number; + readonly deltaZ: number; + readonly wheelDelta: number; + readonly wheelDeltaX: number; + readonly wheelDeltaY: number; + getCurrentPoint(element: Element): void; + initWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, deltaXArg: number, deltaYArg: number, deltaZArg: number, deltaMode: number): void; + readonly DOM_DELTA_LINE: number; + readonly DOM_DELTA_PAGE: number; + readonly DOM_DELTA_PIXEL: number; } -declare var HTMLMainElement: { - prototype: HTMLMainElement; - new(): HTMLMainElement; +declare var WheelEvent: { + prototype: WheelEvent; + new(typeArg: string, eventInitDict?: WheelEventInit): WheelEvent; + readonly DOM_DELTA_LINE: number; + readonly DOM_DELTA_PAGE: number; + readonly DOM_DELTA_PIXEL: number; }; -interface HTMLDetailsElement extends HTMLElement { - open: boolean; +interface WindowEventMap extends GlobalEventHandlersEventMap { + "abort": UIEvent; + "beforeunload": BeforeUnloadEvent; + "blur": FocusEvent; + "canplay": Event; + "canplaythrough": Event; + "change": Event; + "click": MouseEvent; + "compassneedscalibration": Event; + "contextmenu": PointerEvent; + "dblclick": MouseEvent; + "devicelight": DeviceLightEvent; + "devicemotion": DeviceMotionEvent; + "deviceorientation": DeviceOrientationEvent; + "drag": DragEvent; + "dragend": DragEvent; + "dragenter": DragEvent; + "dragleave": DragEvent; + "dragover": DragEvent; + "dragstart": DragEvent; + "drop": DragEvent; + "durationchange": Event; + "emptied": Event; + "ended": Event; + "error": ErrorEvent; + "focus": FocusEvent; + "hashchange": HashChangeEvent; + "input": Event; + "invalid": Event; + "keydown": KeyboardEvent; + "keypress": KeyboardEvent; + "keyup": KeyboardEvent; + "load": Event; + "loadeddata": Event; + "loadedmetadata": Event; + "loadstart": Event; + "message": MessageEvent; + "mousedown": MouseEvent; + "mouseenter": MouseEvent; + "mouseleave": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; + "mousewheel": WheelEvent; + "MSGestureChange": MSGestureEvent; + "MSGestureDoubleTap": MSGestureEvent; + "MSGestureEnd": MSGestureEvent; + "MSGestureHold": MSGestureEvent; + "MSGestureStart": MSGestureEvent; + "MSGestureTap": MSGestureEvent; + "MSInertiaStart": MSGestureEvent; + "MSPointerCancel": MSPointerEvent; + "MSPointerDown": MSPointerEvent; + "MSPointerEnter": MSPointerEvent; + "MSPointerLeave": MSPointerEvent; + "MSPointerMove": MSPointerEvent; + "MSPointerOut": MSPointerEvent; + "MSPointerOver": MSPointerEvent; + "MSPointerUp": MSPointerEvent; + "offline": Event; + "online": Event; + "orientationchange": Event; + "pagehide": PageTransitionEvent; + "pageshow": PageTransitionEvent; + "pause": Event; + "play": Event; + "playing": Event; + "popstate": PopStateEvent; + "progress": ProgressEvent; + "ratechange": Event; + "readystatechange": ProgressEvent; + "reset": Event; + "resize": UIEvent; + "scroll": UIEvent; + "seeked": Event; + "seeking": Event; + "select": UIEvent; + "stalled": Event; + "storage": StorageEvent; + "submit": Event; + "suspend": Event; + "timeupdate": Event; + "touchcancel": TouchEvent; + "touchend": TouchEvent; + "touchmove": TouchEvent; + "touchstart": TouchEvent; + "unload": Event; + "volumechange": Event; + "vrdisplayactivate": Event; + "vrdisplayblur": Event; + "vrdisplayconnect": Event; + "vrdisplaydeactivate": Event; + "vrdisplaydisconnect": Event; + "vrdisplayfocus": Event; + "vrdisplaypointerrestricted": Event; + "vrdisplaypointerunrestricted": Event; + "vrdisplaypresentchange": Event; + "waiting": Event; +} + +interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, GlobalFetch { + Blob: typeof Blob; + URL: typeof URL; + URLSearchParams: typeof URLSearchParams; + readonly applicationCache: ApplicationCache; + readonly browser: BhxBrowser; + readonly caches: CacheStorage; + readonly clientInformation: Navigator; + readonly closed: boolean; + readonly crypto: Crypto; + customElements: CustomElementRegistry; + defaultStatus: string; + readonly devicePixelRatio: number; + readonly doNotTrack: string; + readonly document: Document; + event: Event | undefined; + readonly external: External; + readonly frameElement: Element; + readonly frames: Window; + readonly history: History; + readonly innerHeight: number; + readonly innerWidth: number; + readonly isSecureContext: boolean; + readonly length: number; + readonly location: Location; + readonly locationbar: BarProp; + readonly menubar: BarProp; + readonly msContentScript: ExtensionScriptApis; + readonly msCredentials: MSCredentials; + name: string; + readonly navigator: Navigator; + offscreenBuffering: string | boolean; + onabort: ((this: Window , ev: UIEvent) => any) | null; + onbeforeunload: ((this: Window , ev: BeforeUnloadEvent) => any) | null; + onblur: ((this: Window , ev: FocusEvent) => any) | null; + oncanplay: ((this: Window , ev: Event) => any) | null; + oncanplaythrough: ((this: Window , ev: Event) => any) | null; + onchange: ((this: Window , ev: Event) => any) | null; + onclick: ((this: Window , ev: MouseEvent) => any) | null; + oncompassneedscalibration: ((this: Window , ev: Event) => any) | null; + oncontextmenu: ((this: Window , ev: PointerEvent) => any) | null; + ondblclick: ((this: Window , ev: MouseEvent) => any) | null; + ondevicelight: ((this: Window , ev: DeviceLightEvent) => any) | null; + ondevicemotion: ((this: Window , ev: DeviceMotionEvent) => any) | null; + ondeviceorientation: ((this: Window , ev: DeviceOrientationEvent) => any) | null; + ondrag: ((this: Window , ev: DragEvent) => any) | null; + ondragend: ((this: Window , ev: DragEvent) => any) | null; + ondragenter: ((this: Window , ev: DragEvent) => any) | null; + ondragleave: ((this: Window , ev: DragEvent) => any) | null; + ondragover: ((this: Window , ev: DragEvent) => any) | null; + ondragstart: ((this: Window , ev: DragEvent) => any) | null; + ondrop: ((this: Window , ev: DragEvent) => any) | null; + ondurationchange: ((this: Window , ev: Event) => any) | null; + onemptied: ((this: Window , ev: Event) => any) | null; + onended: ((this: Window , ev: Event) => any) | null; + onerror: ErrorEventHandler; + onfocus: ((this: Window , ev: FocusEvent) => any) | null; + onhashchange: ((this: Window , ev: HashChangeEvent) => any) | null; + oninput: ((this: Window , ev: Event) => any) | null; + oninvalid: ((this: Window , ev: Event) => any) | null; + onkeydown: ((this: Window , ev: KeyboardEvent) => any) | null; + onkeypress: ((this: Window , ev: KeyboardEvent) => any) | null; + onkeyup: ((this: Window , ev: KeyboardEvent) => any) | null; + onload: ((this: Window , ev: Event) => any) | null; + onloadeddata: ((this: Window , ev: Event) => any) | null; + onloadedmetadata: ((this: Window , ev: Event) => any) | null; + onloadstart: ((this: Window , ev: Event) => any) | null; + onmessage: ((this: Window , ev: MessageEvent) => any) | null; + onmousedown: ((this: Window , ev: MouseEvent) => any) | null; + onmouseenter: ((this: Window , ev: MouseEvent) => any) | null; + onmouseleave: ((this: Window , ev: MouseEvent) => any) | null; + onmousemove: ((this: Window , ev: MouseEvent) => any) | null; + onmouseout: ((this: Window , ev: MouseEvent) => any) | null; + onmouseover: ((this: Window , ev: MouseEvent) => any) | null; + onmouseup: ((this: Window , ev: MouseEvent) => any) | null; + onmousewheel: ((this: Window , ev: WheelEvent) => any) | null; + onmsgesturechange: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsgesturedoubletap: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsgestureend: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsgesturehold: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsgesturestart: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsgesturetap: ((this: Window , ev: MSGestureEvent) => any) | null; + onmsinertiastart: ((this: Window , ev: MSGestureEvent) => any) | null; + onmspointercancel: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerdown: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerenter: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerleave: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointermove: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerout: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerover: ((this: Window , ev: MSPointerEvent) => any) | null; + onmspointerup: ((this: Window , ev: MSPointerEvent) => any) | null; + onoffline: ((this: Window , ev: Event) => any) | null; + ononline: ((this: Window , ev: Event) => any) | null; + onorientationchange: ((this: Window , ev: Event) => any) | null; + onpagehide: ((this: Window , ev: PageTransitionEvent) => any) | null; + onpageshow: ((this: Window , ev: PageTransitionEvent) => any) | null; + onpause: ((this: Window , ev: Event) => any) | null; + onplay: ((this: Window , ev: Event) => any) | null; + onplaying: ((this: Window , ev: Event) => any) | null; + onpopstate: ((this: Window , ev: PopStateEvent) => any) | null; + onprogress: ((this: Window , ev: ProgressEvent) => any) | null; + onratechange: ((this: Window , ev: Event) => any) | null; + onreadystatechange: ((this: Window , ev: ProgressEvent) => any) | null; + onreset: ((this: Window , ev: Event) => any) | null; + onresize: ((this: Window , ev: UIEvent) => any) | null; + onscroll: ((this: Window , ev: UIEvent) => any) | null; + onseeked: ((this: Window , ev: Event) => any) | null; + onseeking: ((this: Window , ev: Event) => any) | null; + onselect: ((this: Window , ev: UIEvent) => any) | null; + onstalled: ((this: Window , ev: Event) => any) | null; + onstorage: ((this: Window , ev: StorageEvent) => any) | null; + onsubmit: ((this: Window , ev: Event) => any) | null; + onsuspend: ((this: Window , ev: Event) => any) | null; + ontimeupdate: ((this: Window , ev: Event) => any) | null; + ontouchcancel: (ev: TouchEvent) => any; + ontouchend: (ev: TouchEvent) => any; + ontouchmove: (ev: TouchEvent) => any; + ontouchstart: (ev: TouchEvent) => any; + onunload: ((this: Window , ev: Event) => any) | null; + onvolumechange: ((this: Window , ev: Event) => any) | null; + onvrdisplayactivate: ((this: Window , ev: Event) => any) | null; + onvrdisplayblur: ((this: Window , ev: Event) => any) | null; + onvrdisplayconnect: ((this: Window , ev: Event) => any) | null; + onvrdisplaydeactivate: ((this: Window , ev: Event) => any) | null; + onvrdisplaydisconnect: ((this: Window , ev: Event) => any) | null; + onvrdisplayfocus: ((this: Window , ev: Event) => any) | null; + onvrdisplaypointerrestricted: ((this: Window , ev: Event) => any) | null; + onvrdisplaypointerunrestricted: ((this: Window , ev: Event) => any) | null; + onvrdisplaypresentchange: ((this: Window , ev: Event) => any) | null; + onwaiting: ((this: Window , ev: Event) => any) | null; + readonly opener: any; + readonly orientation: string | number; + readonly outerHeight: number; + readonly outerWidth: number; + readonly pageXOffset: number; + readonly pageYOffset: number; + readonly parent: Window; + readonly performance: Performance; + readonly personalbar: BarProp; + readonly screen: Screen; + readonly screenLeft: number; + readonly screenTop: number; + readonly screenX: number; + readonly screenY: number; + readonly scrollX: number; + readonly scrollY: number; + readonly scrollbars: BarProp; + readonly self: Window; + readonly speechSynthesis: SpeechSynthesis; + status: string; + readonly statusbar: BarProp; + readonly styleMedia: StyleMedia; + readonly toolbar: BarProp; + readonly top: Window; + readonly window: Window; + alert(message?: any): void; + blur(): void; + cancelAnimationFrame(handle: number): void; + captureEvents(): void; + close(): void; + confirm(message?: string): boolean; + createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; + createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; + departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void; + focus(): void; + getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; + getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList; + getSelection(): Selection; + matchMedia(mediaQuery: string): MediaQueryList; + moveBy(x?: number, y?: number): void; + moveTo(x?: number, y?: number): void; + msWriteProfilerMark(profilerMarkName: string): void; + open(url?: string, target?: string, features?: string, replace?: boolean): Window | null; + postMessage(message: any, targetOrigin: string, transfer?: any[]): void; + prompt(message?: string, _default?: string): string | null; + releaseEvents(): void; + requestAnimationFrame(callback: FrameRequestCallback): number; + resizeBy(x?: number, y?: number): void; + resizeTo(x?: number, y?: number): void; + scroll(options?: ScrollToOptions): void; + scrollBy(options?: ScrollToOptions): void; + scrollTo(options?: ScrollToOptions): void; + stop(): void; + webkitCancelAnimationFrame(handle: number): void; + webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint; + webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint; + webkitRequestAnimationFrame(callback: FrameRequestCallback): number; + addEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var HTMLDetailsElement: { - prototype: HTMLDetailsElement; - new(): HTMLDetailsElement; +declare var Window: { + prototype: Window; + new(): Window; }; -interface HTMLSummaryElement extends HTMLElement { +interface WindowBase64 { + atob(encodedString: string): string; + btoa(rawString: string): string; } -declare var HTMLSummaryElement: { - prototype: HTMLSummaryElement; - new(): HTMLSummaryElement; -}; +interface WindowConsole { + readonly console: Console; +} -interface DOMRectReadOnly { - readonly bottom: number; - readonly height: number; - readonly left: number; - readonly right: number; - readonly top: number; - readonly width: number; - readonly x: number; - readonly y: number; +interface WindowEventHandlersEventMap { + "afterprint": Event; + "beforeprint": Event; + "beforeunload": BeforeUnloadEvent; + "hashchange": HashChangeEvent; + "message": MessageEvent; + "offline": Event; + "online": Event; + "pagehide": PageTransitionEvent; + "pageshow": PageTransitionEvent; + "popstate": PopStateEvent; + "storage": StorageEvent; + "unload": Event; } -declare var DOMRectReadOnly: { - prototype: DOMRectReadOnly; - new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; - fromRect(rectangle?: DOMRectInit): DOMRectReadOnly; -}; +interface WindowEventHandlers { + onafterprint: ((this: WindowEventHandlers , ev: Event) => any) | null; + onbeforeprint: ((this: WindowEventHandlers , ev: Event) => any) | null; + onbeforeunload: ((this: WindowEventHandlers , ev: BeforeUnloadEvent) => any) | null; + onhashchange: ((this: WindowEventHandlers , ev: HashChangeEvent) => any) | null; + onmessage: ((this: WindowEventHandlers , ev: MessageEvent) => any) | null; + onoffline: ((this: WindowEventHandlers , ev: Event) => any) | null; + ononline: ((this: WindowEventHandlers , ev: Event) => any) | null; + onpagehide: ((this: WindowEventHandlers , ev: PageTransitionEvent) => any) | null; + onpageshow: ((this: WindowEventHandlers , ev: PageTransitionEvent) => any) | null; + onpopstate: ((this: WindowEventHandlers , ev: PopStateEvent) => any) | null; + onstorage: ((this: WindowEventHandlers , ev: StorageEvent) => any) | null; + onunload: ((this: WindowEventHandlers , ev: Event) => any) | null; + addEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} -interface EXT_blend_minmax { - readonly MIN_EXT: number; - readonly MAX_EXT: number; +interface WindowLocalStorage { + readonly localStorage: Storage; } -interface EXT_frag_depth { +interface WindowSessionStorage { + readonly sessionStorage: Storage; } -interface EXT_shader_texture_lod { +interface WindowTimers extends WindowTimersExtension { + clearInterval(handle?: number): void; + clearTimeout(handle?: number): void; + setInterval(handler: (...args: any[]) => void, timeout: number): number; + setInterval(handler: any, timeout?: any, ...args: any[]): number; + setTimeout(handler: (...args: any[]) => void, timeout: number): number; + setTimeout(handler: any, timeout?: any, ...args: any[]): number; } -interface EXT_sRGB { - readonly SRGB_EXT: number; - readonly SRGB_ALPHA_EXT: number; - readonly SRGB8_ALPHA8_EXT: number; - readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: number; +interface WindowTimersExtension { + clearImmediate(handle: number): void; + setImmediate(handler: (...args: any[]) => void): number; + setImmediate(handler: any, ...args: any[]): number; } -interface DOMRect extends DOMRectReadOnly { - height: number; - width: number; - x: number; - y: number; +interface WorkerEventMap extends AbstractWorkerEventMap { + "message": MessageEvent; } -declare var DOMRect: { - prototype: DOMRect; - new (x?: number, y?: number, width?: number, height?: number): DOMRect; - fromRect(rectangle?: DOMRectInit): DOMRect; +interface Worker extends EventTarget, AbstractWorker { + onmessage: ((this: Worker , ev: MessageEvent) => any) | null; + /** @deprecated */ + postMessage(message: any, transfer?: any[]): void; + terminate(): void; + addEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Worker: { + prototype: Worker; + new(stringUrl: string): Worker; }; -interface DOMRectList { - readonly length: number; - item(index: number): DOMRect | null; - [index: number]: DOMRect; +interface WritableStream { + readonly locked: boolean; + abort(reason?: any): Promise; + getWriter(): WritableStreamDefaultWriter; } -interface OES_vertex_array_object { - readonly VERTEX_ARRAY_BINDING_OES: number; - createVertexArrayOES(): WebGLVertexArrayObjectOES; - deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void; - isVertexArrayOES(value: any): value is WebGLVertexArrayObjectOES; - bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES): void; -} +declare var WritableStream: { + prototype: WritableStream; + new(underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy): WritableStream; +}; -interface WebGLVertexArrayObjectOES { +interface WritableStreamDefaultController { + error(error?: any): void; } -interface WEBGL_color_buffer_float { - readonly RGBA32F_EXT: number; - readonly RGB32F_EXT: number; - readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: number; - readonly UNSIGNED_NORMALIZED_EXT: number; +declare var WritableStreamDefaultController: { + prototype: WritableStreamDefaultController; + new(): WritableStreamDefaultController; +}; + +interface WritableStreamDefaultWriter { + readonly closed: Promise; + readonly desiredSize: number; + readonly ready: Promise; + abort(reason?: any): Promise; + close(): Promise; + releaseLock(): void; + write(chunk?: any): Promise; } -interface WEBGL_compressed_texture_astc { - readonly COMPRESSED_RGBA_ASTC_4x4_KHR: number; - readonly COMPRESSED_RGBA_ASTC_5x4_KHR: number; - readonly COMPRESSED_RGBA_ASTC_5x5_KHR: number; - readonly COMPRESSED_RGBA_ASTC_6x5_KHR: number; - readonly COMPRESSED_RGBA_ASTC_6x6_KHR: number; - readonly COMPRESSED_RGBA_ASTC_8x5_KHR: number; - readonly COMPRESSED_RGBA_ASTC_8x6_KHR: number; - readonly COMPRESSED_RGBA_ASTC_8x8_KHR: number; - readonly COMPRESSED_RGBA_ASTC_10x5_KHR: number; - readonly COMPRESSED_RGBA_ASTC_10x6_KHR: number; - readonly COMPRESSED_RGBA_ASTC_10x8_KHR: number; - readonly COMPRESSED_RGBA_ASTC_10x10_KHR: number; - readonly COMPRESSED_RGBA_ASTC_12x10_KHR: number; - readonly COMPRESSED_RGBA_ASTC_12x12_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: number; - readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: number; - getSupportedProfiles(): string[]; +declare var WritableStreamDefaultWriter: { + prototype: WritableStreamDefaultWriter; + new(): WritableStreamDefaultWriter; +}; + +interface XMLDocument extends Document { + addEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -interface WEBGL_compressed_texture_s3tc_srgb { - readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: number; - readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: number; - readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: number; - readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: number; +declare var XMLDocument: { + prototype: XMLDocument; + new(): XMLDocument; +}; + +interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { + "readystatechange": Event; } -interface WEBGL_debug_shaders { - getTranslatedShaderSource(shader: WebGLShader): string; +interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { + msCaching: string; + onreadystatechange: ((this: XMLHttpRequest , ev: Event) => any) | null; + readonly readyState: number; + readonly response: any; + readonly responseText: string; + responseType: XMLHttpRequestResponseType; + readonly responseURL: string; + readonly responseXML: Document | null; + readonly status: number; + readonly statusText: string; + timeout: number; + readonly upload: XMLHttpRequestUpload; + withCredentials: boolean; + abort(): void; + getAllResponseHeaders(): string; + getResponseHeader(header: string): string | null; + msCachingEnabled(): boolean; + open(method: string, url: string, async?: boolean, user?: string | null, password?: string | null): void; + overrideMimeType(mime: string): void; + send(data?: Document | string): void; + setRequestHeader(header: string, value: string): void; + readonly DONE: number; + readonly HEADERS_RECEIVED: number; + readonly LOADING: number; + readonly OPENED: number; + readonly UNSENT: number; + addEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -interface WEBGL_draw_buffers { - readonly COLOR_ATTACHMENT0_WEBGL: number; - readonly COLOR_ATTACHMENT1_WEBGL: number; - readonly COLOR_ATTACHMENT2_WEBGL: number; - readonly COLOR_ATTACHMENT3_WEBGL: number; - readonly COLOR_ATTACHMENT4_WEBGL: number; - readonly COLOR_ATTACHMENT5_WEBGL: number; - readonly COLOR_ATTACHMENT6_WEBGL: number; - readonly COLOR_ATTACHMENT7_WEBGL: number; - readonly COLOR_ATTACHMENT8_WEBGL: number; - readonly COLOR_ATTACHMENT9_WEBGL: number; - readonly COLOR_ATTACHMENT10_WEBGL: number; - readonly COLOR_ATTACHMENT11_WEBGL: number; - readonly COLOR_ATTACHMENT12_WEBGL: number; - readonly COLOR_ATTACHMENT13_WEBGL: number; - readonly COLOR_ATTACHMENT14_WEBGL: number; - readonly COLOR_ATTACHMENT15_WEBGL: number; - readonly DRAW_BUFFER0_WEBGL: number; - readonly DRAW_BUFFER1_WEBGL: number; - readonly DRAW_BUFFER2_WEBGL: number; - readonly DRAW_BUFFER3_WEBGL: number; - readonly DRAW_BUFFER4_WEBGL: number; - readonly DRAW_BUFFER5_WEBGL: number; - readonly DRAW_BUFFER6_WEBGL: number; - readonly DRAW_BUFFER7_WEBGL: number; - readonly DRAW_BUFFER8_WEBGL: number; - readonly DRAW_BUFFER9_WEBGL: number; - readonly DRAW_BUFFER10_WEBGL: number; - readonly DRAW_BUFFER11_WEBGL: number; - readonly DRAW_BUFFER12_WEBGL: number; - readonly DRAW_BUFFER13_WEBGL: number; - readonly DRAW_BUFFER14_WEBGL: number; - readonly DRAW_BUFFER15_WEBGL: number; - readonly MAX_COLOR_ATTACHMENTS_WEBGL: number; - readonly MAX_DRAW_BUFFERS_WEBGL: number; - drawBuffersWEBGL(buffers: number[]): void; +declare var XMLHttpRequest: { + prototype: XMLHttpRequest; + new(): XMLHttpRequest; + readonly DONE: number; + readonly HEADERS_RECEIVED: number; + readonly LOADING: number; + readonly OPENED: number; + readonly UNSENT: number; +}; + +interface XMLHttpRequestEventTargetEventMap { + "abort": Event; + "error": ErrorEvent; + "load": Event; + "loadend": ProgressEvent; + "loadstart": Event; + "progress": ProgressEvent; + "timeout": ProgressEvent; } -interface WEBGL_lose_context { - loseContext(): void; - restoreContext(): void; +interface XMLHttpRequestEventTarget { + onabort: ((this: XMLHttpRequest, ev: Event) => any) | null; + onerror: ((this: XMLHttpRequest, ev: ErrorEvent) => any) | null; + onload: ((this: XMLHttpRequest, ev: Event) => any) | null; + onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + onloadstart: ((this: XMLHttpRequest, ev: Event) => any) | null; + onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + addEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -interface AbortController { - readonly signal: AbortSignal; - abort(): void; +interface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget { + addEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var AbortController: { - prototype: AbortController; - new(): AbortController; +declare var XMLHttpRequestUpload: { + prototype: XMLHttpRequestUpload; + new(): XMLHttpRequestUpload; }; -interface AbortSignal extends EventTarget { - readonly aborted: boolean; - onabort: (ev: Event) => any; -} - -interface EventSource extends EventTarget { - readonly url: string; - readonly withCredentials: boolean; - readonly CONNECTING: number; - readonly OPEN: number; - readonly CLOSED: number; - readonly readyState: number; - onopen: (evt: MessageEvent) => any; - onmessage: (evt: MessageEvent) => any; - onerror: (evt: MessageEvent) => any; - close(): void; +interface XMLSerializer { + serializeToString(target: Node): string; } -declare var EventSource: { - prototype: EventSource; - new(url: string, eventSourceInitDict?: EventSourceInit): EventSource; +declare var XMLSerializer: { + prototype: XMLSerializer; + new(): XMLSerializer; }; -interface EventSourceInit { - readonly withCredentials: boolean; +interface XPathEvaluator { + createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; + createNSResolver(nodeResolver?: Node): XPathNSResolver; + evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult; } -interface AnimationKeyFrame { - offset?: number | null | (number | null)[]; - easing?: string | string[]; - [index: string]: string | number | number[] | string[] | null | (number | null)[] | undefined; -} +declare var XPathEvaluator: { + prototype: XPathEvaluator; + new(): XPathEvaluator; +}; -interface AnimationOptions { - id?: string; - delay?: number; - direction?: "normal" | "reverse" | "alternate" | "alternate-reverse"; - duration?: number; - easing?: string; - endDelay?: number; - fill?: "none" | "forwards" | "backwards" | "both"| "auto"; - iterationStart?: number; - iterations?: number; +interface XPathExpression { + evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult; } -interface AnimationTimeline { - readonly currentTime: number | null; -} +declare var XPathExpression: { + prototype: XPathExpression; + new(): XPathExpression; +}; -interface ComputedTimingProperties { - endTime: number; - activeDuration: number; - localTime: number | null; - progress: number | null; - currentIteration: number | null; +interface XPathNSResolver { + lookupNamespaceURI(prefix: string): string; } -interface AnimationEffectReadOnly { - readonly timing: number; - getComputedTiming(): ComputedTimingProperties; -} +declare var XPathNSResolver: { + prototype: XPathNSResolver; + new(): XPathNSResolver; +}; -interface AnimationPlaybackEventInit extends EventInit { - currentTime?: number | null; - timelineTime?: number | null; +interface XPathResult { + readonly booleanValue: boolean; + readonly invalidIteratorState: boolean; + readonly numberValue: number; + readonly resultType: number; + readonly singleNodeValue: Node; + readonly snapshotLength: number; + readonly stringValue: string; + iterateNext(): Node; + snapshotItem(index: number): Node; + readonly ANY_TYPE: number; + readonly ANY_UNORDERED_NODE_TYPE: number; + readonly BOOLEAN_TYPE: number; + readonly FIRST_ORDERED_NODE_TYPE: number; + readonly NUMBER_TYPE: number; + readonly ORDERED_NODE_ITERATOR_TYPE: number; + readonly ORDERED_NODE_SNAPSHOT_TYPE: number; + readonly STRING_TYPE: number; + readonly UNORDERED_NODE_ITERATOR_TYPE: number; + readonly UNORDERED_NODE_SNAPSHOT_TYPE: number; } -interface AnimationPlaybackEvent extends Event { - readonly currentTime: number | null; - readonly timelineTime: number | null; +declare var XPathResult: { + prototype: XPathResult; + new(): XPathResult; + readonly ANY_TYPE: number; + readonly ANY_UNORDERED_NODE_TYPE: number; + readonly BOOLEAN_TYPE: number; + readonly FIRST_ORDERED_NODE_TYPE: number; + readonly NUMBER_TYPE: number; + readonly ORDERED_NODE_ITERATOR_TYPE: number; + readonly ORDERED_NODE_SNAPSHOT_TYPE: number; + readonly STRING_TYPE: number; + readonly UNORDERED_NODE_ITERATOR_TYPE: number; + readonly UNORDERED_NODE_SNAPSHOT_TYPE: number; +}; + +interface XSLTProcessor { + clearParameters(): void; + getParameter(namespaceURI: string, localName: string): any; + importStylesheet(style: Node): void; + removeParameter(namespaceURI: string, localName: string): void; + reset(): void; + setParameter(namespaceURI: string, localName: string, value: any): void; + transformToDocument(source: Node): Document; + transformToFragment(source: Node, document: Document): DocumentFragment; } -declare var AnimationPlaybackEvent: { - prototype: AnimationPlaybackEvent; - new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; +declare var XSLTProcessor: { + prototype: XSLTProcessor; + new(): XSLTProcessor; }; -interface Animation { - currentTime: number | null; - effect: AnimationEffectReadOnly; - readonly finished: Promise; - id: string; - readonly pending: boolean; - readonly playState: "idle" | "running" | "paused" | "finished"; - playbackRate: number; - readonly ready: Promise; - startTime: number; - timeline: AnimationTimeline; - oncancel: (this: Animation, ev: AnimationPlaybackEvent) => any; - onfinish: (this: Animation, ev: AnimationPlaybackEvent) => any; - cancel(): void; - finish(): void; - pause(): void; - play(): void; - reverse(): void; +interface webkitRTCPeerConnection extends RTCPeerConnection { + addEventListener(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var Animation: { - prototype: Animation; - new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; +declare var webkitRTCPeerConnection: { + prototype: webkitRTCPeerConnection; + new(configuration: RTCConfiguration): webkitRTCPeerConnection; }; declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject; @@ -14941,66 +15430,103 @@ declare type EventListenerOrEventListenerObject = EventListener | EventListenerO interface DecodeErrorCallback { (error: DOMException): void; } + interface DecodeSuccessCallback { (decodedData: AudioBuffer): void; } + interface ErrorEventHandler { - (message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void; + (event: Event | string, source?: string, fileno?: number, columnNumber?: number, error?: Error): void; +} + +interface EventHandlerNonNull { + (event: Event): any; } + interface ForEachCallback { - (keyId: any, status: MediaKeyStatus): void; + (keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, status: MediaKeyStatus): void; } + interface FrameRequestCallback { (time: number): void; } + interface FunctionStringCallback { (data: string): void; } + interface IntersectionObserverCallback { (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void; } -interface MediaQueryListListener { - (mql: MediaQueryList): void; -} + interface MSExecAtPriorityFunctionCallback { (...args: any[]): any; } + interface MSLaunchUriCallback { (): void; } + interface MSUnsafeFunctionCallback { (): any; } + +interface MediaQueryListListener { + (mql: MediaQueryList): void; +} + interface MutationCallback { (mutations: MutationRecord[], observer: MutationObserver): void; } + interface NavigatorUserMediaErrorCallback { (error: MediaStreamError): void; } + interface NavigatorUserMediaSuccessCallback { (stream: MediaStream): void; } + interface NotificationPermissionCallback { (permission: NotificationPermission): void; } + interface PositionCallback { (position: Position): void; } + interface PositionErrorCallback { (error: PositionError): void; } + interface RTCPeerConnectionErrorCallback { (error: DOMError): void; } + interface RTCSessionDescriptionCallback { (sdp: RTCSessionDescription): void; } + interface RTCStatsCallback { (report: RTCStatsReport): void; } + interface VoidFunction { (): void; } + +interface WritableStreamChunkCallback { + (chunk: any, controller: WritableStreamDefaultController): void; +} + +interface WritableStreamDefaultControllerCallback { + (controller: WritableStreamDefaultController): void; +} + +interface WritableStreamErrorCallback { + (reason: string): void; +} + interface HTMLElementTagNameMap { "a": HTMLAnchorElement; "abbr": HTMLElement; @@ -15111,11 +15637,11 @@ interface HTMLElementTagNameMap { "sup": HTMLElement; "table": HTMLTableElement; "tbody": HTMLTableSectionElement; - "td": HTMLTableDataCellElement; + "td": HTMLTableCellElement; "template": HTMLTemplateElement; "textarea": HTMLTextAreaElement; "tfoot": HTMLTableSectionElement; - "th": HTMLTableHeaderCellElement; + "th": HTMLTableCellElement; "thead": HTMLTableSectionElement; "time": HTMLTimeElement; "title": HTMLTitleElement; @@ -15127,7 +15653,6 @@ interface HTMLElementTagNameMap { "var": HTMLElement; "video": HTMLVideoElement; "wbr": HTMLElement; - "x-ms-webview": MSHTMLWebViewElement; "xmp": HTMLPreElement; } @@ -15190,18 +15715,29 @@ interface SVGElementTagNameMap { /** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */ interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { } -declare var Audio: { new(src?: string): HTMLAudioElement; }; -declare var Image: { new(width?: number, height?: number): HTMLImageElement; }; -declare var Option: { new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement; }; +declare var Audio: { + new(src?: string): HTMLAudioElement; +}; +declare var Image: { + new(width?: number, height?: number): HTMLImageElement; +}; +declare var Option: { + new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement; +}; +declare var Blob: typeof Blob; +declare var URL: typeof URL; +declare var URLSearchParams: typeof URLSearchParams; declare var applicationCache: ApplicationCache; +declare var browser: BhxBrowser; declare var caches: CacheStorage; declare var clientInformation: Navigator; declare var closed: boolean; declare var crypto: Crypto; +declare var customElements: CustomElementRegistry; declare var defaultStatus: string; declare var devicePixelRatio: number; -declare var document: Document; declare var doNotTrack: string; +declare var document: Document; declare var event: Event | undefined; declare var external: External; declare var frameElement: Element; @@ -15219,97 +15755,104 @@ declare var msCredentials: MSCredentials; declare const name: never; declare var navigator: Navigator; declare var offscreenBuffering: string | boolean; -declare var onabort: (this: Window, ev: UIEvent) => any; -declare var onafterprint: (this: Window, ev: Event) => any; -declare var onbeforeprint: (this: Window, ev: Event) => any; -declare var onbeforeunload: (this: Window, ev: BeforeUnloadEvent) => any; -declare var onblur: (this: Window, ev: FocusEvent) => any; -declare var oncanplay: (this: Window, ev: Event) => any; -declare var oncanplaythrough: (this: Window, ev: Event) => any; -declare var onchange: (this: Window, ev: Event) => any; -declare var onclick: (this: Window, ev: MouseEvent) => any; -declare var oncompassneedscalibration: (this: Window, ev: Event) => any; -declare var oncontextmenu: (this: Window, ev: PointerEvent) => any; -declare var ondblclick: (this: Window, ev: MouseEvent) => any; -declare var ondevicelight: (this: Window, ev: DeviceLightEvent) => any; -declare var ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any; -declare var ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any; -declare var ondrag: (this: Window, ev: DragEvent) => any; -declare var ondragend: (this: Window, ev: DragEvent) => any; -declare var ondragenter: (this: Window, ev: DragEvent) => any; -declare var ondragleave: (this: Window, ev: DragEvent) => any; -declare var ondragover: (this: Window, ev: DragEvent) => any; -declare var ondragstart: (this: Window, ev: DragEvent) => any; -declare var ondrop: (this: Window, ev: DragEvent) => any; -declare var ondurationchange: (this: Window, ev: Event) => any; -declare var onemptied: (this: Window, ev: Event) => any; -declare var onended: (this: Window, ev: MediaStreamErrorEvent) => any; +declare var onabort: ((this: Window, ev: UIEvent) => any) | null; +declare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null; +declare var onblur: ((this: Window, ev: FocusEvent) => any) | null; +declare var oncanplay: ((this: Window, ev: Event) => any) | null; +declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; +declare var onchange: ((this: Window, ev: Event) => any) | null; +declare var onclick: ((this: Window, ev: MouseEvent) => any) | null; +declare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null; +declare var oncontextmenu: ((this: Window, ev: PointerEvent) => any) | null; +declare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null; +declare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null; +declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null; +declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null; +declare var ondrag: ((this: Window, ev: DragEvent) => any) | null; +declare var ondragend: ((this: Window, ev: DragEvent) => any) | null; +declare var ondragenter: ((this: Window, ev: DragEvent) => any) | null; +declare var ondragleave: ((this: Window, ev: DragEvent) => any) | null; +declare var ondragover: ((this: Window, ev: DragEvent) => any) | null; +declare var ondragstart: ((this: Window, ev: DragEvent) => any) | null; +declare var ondrop: ((this: Window, ev: DragEvent) => any) | null; +declare var ondurationchange: ((this: Window, ev: Event) => any) | null; +declare var onemptied: ((this: Window, ev: Event) => any) | null; +declare var onended: ((this: Window, ev: Event) => any) | null; declare var onerror: ErrorEventHandler; -declare var onfocus: (this: Window, ev: FocusEvent) => any; -declare var onhashchange: (this: Window, ev: HashChangeEvent) => any; -declare var oninput: (this: Window, ev: Event) => any; -declare var oninvalid: (this: Window, ev: Event) => any; -declare var onkeydown: (this: Window, ev: KeyboardEvent) => any; -declare var onkeypress: (this: Window, ev: KeyboardEvent) => any; -declare var onkeyup: (this: Window, ev: KeyboardEvent) => any; -declare var onload: (this: Window, ev: Event) => any; -declare var onloadeddata: (this: Window, ev: Event) => any; -declare var onloadedmetadata: (this: Window, ev: Event) => any; -declare var onloadstart: (this: Window, ev: Event) => any; -declare var onmessage: (this: Window, ev: MessageEvent) => any; -declare var onmousedown: (this: Window, ev: MouseEvent) => any; -declare var onmouseenter: (this: Window, ev: MouseEvent) => any; -declare var onmouseleave: (this: Window, ev: MouseEvent) => any; -declare var onmousemove: (this: Window, ev: MouseEvent) => any; -declare var onmouseout: (this: Window, ev: MouseEvent) => any; -declare var onmouseover: (this: Window, ev: MouseEvent) => any; -declare var onmouseup: (this: Window, ev: MouseEvent) => any; -declare var onmousewheel: (this: Window, ev: WheelEvent) => any; -declare var onmsgesturechange: (this: Window, ev: MSGestureEvent) => any; -declare var onmsgesturedoubletap: (this: Window, ev: MSGestureEvent) => any; -declare var onmsgestureend: (this: Window, ev: MSGestureEvent) => any; -declare var onmsgesturehold: (this: Window, ev: MSGestureEvent) => any; -declare var onmsgesturestart: (this: Window, ev: MSGestureEvent) => any; -declare var onmsgesturetap: (this: Window, ev: MSGestureEvent) => any; -declare var onmsinertiastart: (this: Window, ev: MSGestureEvent) => any; -declare var onmspointercancel: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerdown: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerenter: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerleave: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointermove: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerout: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerover: (this: Window, ev: MSPointerEvent) => any; -declare var onmspointerup: (this: Window, ev: MSPointerEvent) => any; -declare var onoffline: (this: Window, ev: Event) => any; -declare var ononline: (this: Window, ev: Event) => any; -declare var onorientationchange: (this: Window, ev: Event) => any; -declare var onpagehide: (this: Window, ev: PageTransitionEvent) => any; -declare var onpageshow: (this: Window, ev: PageTransitionEvent) => any; -declare var onpause: (this: Window, ev: Event) => any; -declare var onplay: (this: Window, ev: Event) => any; -declare var onplaying: (this: Window, ev: Event) => any; -declare var onpopstate: (this: Window, ev: PopStateEvent) => any; -declare var onprogress: (this: Window, ev: ProgressEvent) => any; -declare var onratechange: (this: Window, ev: Event) => any; -declare var onreadystatechange: (this: Window, ev: ProgressEvent) => any; -declare var onreset: (this: Window, ev: Event) => any; -declare var onresize: (this: Window, ev: UIEvent) => any; -declare var onscroll: (this: Window, ev: UIEvent) => any; -declare var onseeked: (this: Window, ev: Event) => any; -declare var onseeking: (this: Window, ev: Event) => any; -declare var onselect: (this: Window, ev: UIEvent) => any; -declare var onstalled: (this: Window, ev: Event) => any; -declare var onstorage: (this: Window, ev: StorageEvent) => any; -declare var onsubmit: (this: Window, ev: Event) => any; -declare var onsuspend: (this: Window, ev: Event) => any; -declare var ontimeupdate: (this: Window, ev: Event) => any; +declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null; +declare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null; +declare var oninput: ((this: Window, ev: Event) => any) | null; +declare var oninvalid: ((this: Window, ev: Event) => any) | null; +declare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; +declare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; +declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; +declare var onload: ((this: Window, ev: Event) => any) | null; +declare var onloadeddata: ((this: Window, ev: Event) => any) | null; +declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; +declare var onloadstart: ((this: Window, ev: Event) => any) | null; +declare var onmessage: ((this: Window, ev: MessageEvent) => any) | null; +declare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null; +declare var onmousewheel: ((this: Window, ev: WheelEvent) => any) | null; +declare var onmsgesturechange: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsgesturedoubletap: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsgestureend: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsgesturehold: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsgesturestart: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsgesturetap: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmsinertiastart: ((this: Window, ev: MSGestureEvent) => any) | null; +declare var onmspointercancel: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerdown: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerenter: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerleave: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointermove: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerout: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerover: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmspointerup: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onoffline: ((this: Window, ev: Event) => any) | null; +declare var ononline: ((this: Window, ev: Event) => any) | null; +declare var onorientationchange: ((this: Window, ev: Event) => any) | null; +declare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null; +declare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null; +declare var onpause: ((this: Window, ev: Event) => any) | null; +declare var onplay: ((this: Window, ev: Event) => any) | null; +declare var onplaying: ((this: Window, ev: Event) => any) | null; +declare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null; +declare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null; +declare var onratechange: ((this: Window, ev: Event) => any) | null; +declare var onreadystatechange: ((this: Window, ev: ProgressEvent) => any) | null; +declare var onreset: ((this: Window, ev: Event) => any) | null; +declare var onresize: ((this: Window, ev: UIEvent) => any) | null; +declare var onscroll: ((this: Window, ev: UIEvent) => any) | null; +declare var onseeked: ((this: Window, ev: Event) => any) | null; +declare var onseeking: ((this: Window, ev: Event) => any) | null; +declare var onselect: ((this: Window, ev: UIEvent) => any) | null; +declare var onstalled: ((this: Window, ev: Event) => any) | null; +declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null; +declare var onsubmit: ((this: Window, ev: Event) => any) | null; +declare var onsuspend: ((this: Window, ev: Event) => any) | null; +declare var ontimeupdate: ((this: Window, ev: Event) => any) | null; declare var ontouchcancel: (ev: TouchEvent) => any; declare var ontouchend: (ev: TouchEvent) => any; declare var ontouchmove: (ev: TouchEvent) => any; declare var ontouchstart: (ev: TouchEvent) => any; -declare var onunload: (this: Window, ev: Event) => any; -declare var onvolumechange: (this: Window, ev: Event) => any; -declare var onwaiting: (this: Window, ev: Event) => any; +declare var onunload: ((this: Window, ev: Event) => any) | null; +declare var onvolumechange: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplayactivate: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplayblur: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplayfocus: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null; +declare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null; +declare var onwaiting: ((this: Window, ev: Event) => any) | null; declare var opener: any; declare var orientation: string | number; declare var outerHeight: number; @@ -15324,9 +15867,9 @@ declare var screenLeft: number; declare var screenTop: number; declare var screenX: number; declare var screenY: number; -declare var scrollbars: BarProp; declare var scrollX: number; declare var scrollY: number; +declare var scrollbars: BarProp; declare var self: Window; declare var speechSynthesis: SpeechSynthesis; declare var status: string; @@ -15335,17 +15878,18 @@ declare var styleMedia: StyleMedia; declare var toolbar: BarProp; declare var top: Window; declare var window: Window; -declare var customElements: CustomElementRegistry; declare function alert(message?: any): void; declare function blur(): void; declare function cancelAnimationFrame(handle: number): void; declare function captureEvents(): void; declare function close(): void; declare function confirm(message?: string): boolean; +declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; +declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; declare function departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void; declare function focus(): void; -declare function getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; -declare function getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList; +declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration; +declare function getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList; declare function getSelection(): Selection; declare function matchMedia(mediaQuery: string): MediaQueryList; declare function moveBy(x?: number, y?: number): void; @@ -15353,29 +15897,23 @@ declare function moveTo(x?: number, y?: number): void; declare function msWriteProfilerMark(profilerMarkName: string): void; declare function open(url?: string, target?: string, features?: string, replace?: boolean): Window | null; declare function postMessage(message: any, targetOrigin: string, transfer?: any[]): void; -declare function print(): void; declare function prompt(message?: string, _default?: string): string | null; declare function releaseEvents(): void; declare function requestAnimationFrame(callback: FrameRequestCallback): number; declare function resizeBy(x?: number, y?: number): void; declare function resizeTo(x?: number, y?: number): void; -declare function scroll(x?: number, y?: number): void; -declare function scrollBy(x?: number, y?: number): void; -declare function scrollTo(x?: number, y?: number): void; +declare function scroll(options?: ScrollToOptions): void; +declare function scrollBy(options?: ScrollToOptions): void; +declare function scrollTo(options?: ScrollToOptions): void; declare function stop(): void; declare function webkitCancelAnimationFrame(handle: number): void; declare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint; declare function webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint; declare function webkitRequestAnimationFrame(callback: FrameRequestCallback): number; -declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; -declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; -declare function scroll(options?: ScrollToOptions): void; -declare function scrollTo(options?: ScrollToOptions): void; -declare function scrollBy(options?: ScrollToOptions): void; declare function toString(): string; declare function dispatchEvent(evt: Event): boolean; -declare function clearInterval(handle: number): void; -declare function clearTimeout(handle: number): void; +declare function clearInterval(handle?: number): void; +declare function clearTimeout(handle?: number): void; declare function setInterval(handler: (...args: any[]) => void, timeout: number): number; declare function setInterval(handler: any, timeout?: any, ...args: any[]): number; declare function setTimeout(handler: (...args: any[]) => void, timeout: number): number; @@ -15386,62 +15924,25 @@ declare function setImmediate(handler: any, ...args: any[]): number; declare var sessionStorage: Storage; declare var localStorage: Storage; declare var console: Console; -declare var onpointercancel: (this: Window, ev: PointerEvent) => any; -declare var onpointerdown: (this: Window, ev: PointerEvent) => any; -declare var onpointerenter: (this: Window, ev: PointerEvent) => any; -declare var onpointerleave: (this: Window, ev: PointerEvent) => any; -declare var onpointermove: (this: Window, ev: PointerEvent) => any; -declare var onpointerout: (this: Window, ev: PointerEvent) => any; -declare var onpointerover: (this: Window, ev: PointerEvent) => any; -declare var onpointerup: (this: Window, ev: PointerEvent) => any; -declare var onwheel: (this: Window, ev: WheelEvent) => any; +declare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null; +declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null; +declare var onwheel: ((this: Window, ev: WheelEvent) => any) | null; declare var indexedDB: IDBFactory; declare function atob(encodedString: string): string; declare function btoa(rawString: string): string; -declare function fetch(input: RequestInfo, init?: RequestInit): Promise; +declare function fetch(input?: Request | string, init?: RequestInit): Promise; declare function addEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; declare function removeEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -type AAGUID = string; -type AlgorithmIdentifier = string | Algorithm; -type BodyInit = Blob | BufferSource | FormData | string; -type ByteString = string; -type ConstrainBoolean = boolean | ConstrainBooleanParameters; -type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; -type ConstrainDouble = number | ConstrainDoubleRange; -type ConstrainLong = number | ConstrainLongRange; -type CryptoOperationData = ArrayBufferView; -type GLbitfield = number; -type GLboolean = boolean; -type GLbyte = number; -type GLclampf = number; -type GLenum = number; -type GLfloat = number; -type GLint = number; -type GLintptr = number; -type GLshort = number; -type GLsizei = number; -type GLsizeiptr = number; -type GLubyte = number; -type GLuint = number; -type GLushort = number; -type IDBKeyPath = string; -type KeyFormat = string; -type KeyType = string; -type KeyUsage = string; -type MSInboundPayload = MSVideoRecvPayload | MSAudioRecvPayload; -type MSLocalClientEvent = MSLocalClientEventBase | MSAudioLocalClientEvent; -type MSOutboundPayload = MSVideoSendPayload | MSAudioSendPayload; -type RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete; -type RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport; -type RequestInfo = Request | string; -type USVString = string; -type payloadtype = number; type ScrollBehavior = "auto" | "instant" | "smooth"; type ScrollLogicalPosition = "start" | "center" | "end" | "nearest"; -type IDBValidKey = number | string | Date | IDBArrayKey; -type BufferSource = ArrayBuffer | ArrayBufferView; type MouseWheelEvent = WheelEvent; type ScrollRestoration = "auto" | "manual"; type FormDataEntryValue = string | File; @@ -15449,24 +15950,30 @@ type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend"; type HeadersInit = Headers | string[][] | { [key: string]: string }; type OrientationLockType = "any" | "natural" | "portrait" | "landscape" | "portrait-primary" | "portrait-secondary" | "landscape-primary"| "landscape-secondary"; type AppendMode = "segments" | "sequence"; +type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; +type BinaryType = "blob" | "arraybuffer"; type BiquadFilterType = "lowpass" | "highpass" | "bandpass" | "lowshelf" | "highshelf" | "peaking" | "notch" | "allpass"; +type CanPlayTypeResult = "" | "maybe" | "probably"; type CanvasFillRule = "nonzero" | "evenodd"; type ChannelCountMode = "max" | "clamped-max" | "explicit"; type ChannelInterpretation = "speakers" | "discrete"; +type ClientType = "window" | "worker" | "sharedworker" | "all"; +type DisplayCaptureSurfaceType = "monitor" | "window" | "application" | "browser"; type DistanceModelType = "linear" | "inverse" | "exponential"; +type EndOfStreamError = "network" | "decode"; type ExpandGranularity = "character" | "word" | "sentence" | "textedit"; +type GamepadHand = "" | "left" | "right"; +type GamepadHapticActuatorType = "vibration"; type GamepadInputEmulationType = "mouse" | "keyboard" | "gamepad"; +type GamepadMappingType = "" | "standard"; type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique"; type IDBRequestReadyState = "pending" | "done"; type IDBTransactionMode = "readonly" | "readwrite" | "versionchange"; +type KeyFormat = "raw" | "spki" | "pkcs8" | "jwk"; +type KeyType = "public" | "private" | "secret"; +type KeyUsage = "encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey"; type ListeningState = "inactive" | "active" | "disambiguation"; -type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput"; -type MediaKeyMessageType = "license-request" | "license-renewal" | "license-release" | "individualization-request"; -type MediaKeySessionType = "temporary" | "persistent-license" | "persistent-release-message"; -type MediaKeysRequirement = "required" | "optional" | "not-allowed"; -type MediaKeyStatus = "usable" | "expired" | "output-downscaled" | "output-not-allowed" | "status-pending" | "internal-error"; -type MediaStreamTrackState = "live" | "ended"; type MSCredentialType = "FIDO_2_0"; type MSIceAddrType = "os" | "stun" | "turn" | "peer-derived"; type MSIceType = "failed" | "direct" | "relay"; @@ -15474,25 +15981,23 @@ type MSStatsType = "description" | "localclientevent" | "inbound-network" | "out type MSTransportType = "Embedded" | "USB" | "NFC" | "BT"; type MSWebViewPermissionState = "unknown" | "defer" | "allow" | "deny"; type MSWebViewPermissionType = "geolocation" | "unlimitedIndexedDBQuota" | "media" | "pointerlock" | "webnotifications"; +type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput"; +type MediaKeyMessageType = "license-request" | "license-renewal" | "license-release" | "individualization-request"; +type MediaKeySessionType = "temporary" | "persistent-license" | "persistent-release-message"; +type MediaKeyStatus = "usable" | "expired" | "output-downscaled" | "output-not-allowed" | "status-pending" | "internal-error"; +type MediaKeysRequirement = "required" | "optional" | "not-allowed"; +type MediaStreamTrackState = "live" | "ended"; type NavigationReason = "up" | "down" | "left" | "right"; type NavigationType = "navigate" | "reload" | "back_forward" | "prerender"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OscillatorType = "sine" | "square" | "sawtooth" | "triangle" | "custom"; type OverSampleType = "none" | "2x" | "4x"; -type PanningModelType = "equalpower"; -type PaymentComplete = "success" | "fail" | ""; +type PanningModelType = "equalpower" | "HRTF"; +type PaymentComplete = "success" | "fail" | "unknown"; type PaymentShippingType = "shipping" | "delivery" | "pickup"; type PushEncryptionKeyName = "p256dh" | "auth"; type PushPermissionState = "granted" | "denied" | "prompt"; -type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin-only" | "origin-when-cross-origin" | "unsafe-url"; -type RequestCache = "default" | "no-store" | "reload" | "no-cache" | "force-cache"; -type RequestCredentials = "omit" | "same-origin" | "include"; -type RequestDestination = "" | "document" | "sharedworker" | "subresource" | "unknown" | "worker"; -type RequestMode = "navigate" | "same-origin" | "no-cors" | "cors"; -type RequestRedirect = "follow" | "error" | "manual"; -type RequestType = "" | "audio" | "font" | "image" | "script" | "style" | "track" | "video"; -type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type RTCBundlePolicy = "balanced" | "max-compat" | "max-bundle"; type RTCDegradationPreference = "maintain-framerate" | "maintain-resolution" | "balanced"; type RTCDtlsRole = "auto" | "client" | "server"; @@ -15500,9 +16005,9 @@ type RTCDtlsTransportState = "new" | "connecting" | "connected" | "closed"; type RTCIceCandidateType = "host" | "srflx" | "prflx" | "relay"; type RTCIceComponent = "RTP" | "RTCP"; type RTCIceConnectionState = "new" | "checking" | "connected" | "completed" | "failed" | "disconnected" | "closed"; +type RTCIceGatherPolicy = "all" | "nohost" | "relay"; type RTCIceGathererState = "new" | "gathering" | "complete"; type RTCIceGatheringState = "new" | "gathering" | "complete"; -type RTCIceGatherPolicy = "all" | "nohost" | "relay"; type RTCIceProtocol = "udp" | "tcp"; type RTCIceRole = "controlling" | "controlled"; type RTCIceTcpCandidateType = "active" | "passive" | "so"; @@ -15513,9 +16018,22 @@ type RTCSignalingState = "stable" | "have-local-offer" | "have-remote-offer" | " type RTCStatsIceCandidatePairState = "frozen" | "waiting" | "inprogress" | "failed" | "succeeded" | "cancelled"; type RTCStatsIceCandidateType = "host" | "serverreflexive" | "peerreflexive" | "relayed"; type RTCStatsType = "inboundrtp" | "outboundrtp" | "session" | "datachannel" | "track" | "transport" | "candidatepair" | "localcandidate" | "remotecandidate"; +type ReadyState = "closed" | "open" | "ended"; +type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin-only" | "origin-when-cross-origin" | "unsafe-url"; +type RequestCache = "default" | "no-store" | "reload" | "no-cache" | "force-cache"; +type RequestCredentials = "omit" | "same-origin" | "include"; +type RequestDestination = "" | "document" | "sharedworker" | "subresource" | "unknown" | "worker"; +type RequestMode = "navigate" | "same-origin" | "no-cors" | "cors"; +type RequestRedirect = "follow" | "error" | "manual"; +type RequestType = "" | "audio" | "font" | "image" | "script" | "style" | "track" | "video"; +type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ScopedCredentialType = "ScopedCred"; type ServiceWorkerState = "installing" | "installed" | "activating" | "activated" | "redundant"; +type TextTrackKind = "subtitles" | "captions" | "descriptions" | "chapters" | "metadata"; +type TextTrackMode = "disabled" | "hidden" | "showing"; type Transport = "usb" | "nfc" | "ble"; +type VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted"; +type VREye = "left" | "right"; type VideoFacingModeEnum = "user" | "environment" | "left" | "right"; type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded"; type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; \ No newline at end of file diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 6186ab880..7447360fc 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -1,8 +1,12 @@ - ///////////////////////////// /// Worker APIs ///////////////////////////// +interface AddEventListenerOptions extends EventListenerOptions { + once?: boolean; + passive?: boolean; +} + interface Algorithm { name: string; } @@ -14,16 +18,52 @@ interface CacheQueryOptions { ignoreVary?: boolean; } +interface ClientQueryOptions { + includeReserved?: boolean; + includeUncontrolled?: boolean; + type?: ClientType; +} + interface CloseEventInit extends EventInit { code?: number; reason?: string; wasClean?: boolean; } +interface ErrorEventInit extends EventInit { + colno?: number; + error?: any; + filename?: string; + lineno?: number; + message?: string; +} + interface EventInit { - scoped?: boolean; bubbles?: boolean; cancelable?: boolean; + scoped?: boolean; +} + +interface EventListenerOptions { + capture?: boolean; +} + +interface ExtendableEventInit extends EventInit { +} + +interface ExtendableMessageEventInit extends ExtendableEventInit { + data?: any; + lastEventId?: string; + origin?: string; + ports?: MessagePort[] | null; + source?: Client | ServiceWorker | MessagePort | null; +} + +interface FetchEventInit extends ExtendableEventInit { + clientId?: string; + request: Request; + reservedClientId?: string; + targetClientId?: string; } interface GetNotificationOptions { @@ -41,20 +81,26 @@ interface IDBObjectStoreParameters { } interface KeyAlgorithm { - name?: string; + name: string; } interface MessageEventInit extends EventInit { - lastEventId?: string; channel?: string; data?: any; + lastEventId?: string; origin?: string; ports?: MessagePort[]; source?: any; } +interface NotificationEventInit extends ExtendableEventInit { + action?: string; + notification: Notification; +} + interface NotificationOptions { body?: string; + data?: any; dir?: NotificationDirection; icon?: string; lang?: string; @@ -65,14 +111,28 @@ interface ObjectURLOptions { oneTimeOnly?: boolean; } +interface ProgressEventInit extends EventInit { + lengthComputable?: boolean; + loaded?: number; + total?: number; +} + +interface PushEventInit extends ExtendableEventInit { + data?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | string | null; +} + +interface PushSubscriptionChangeInit extends ExtendableEventInit { + newSubscription?: PushSubscription; + oldSubscription?: PushSubscription; +} + interface PushSubscriptionOptionsInit { - applicationServerKey?: BufferSource | null; + applicationServerKey?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | string | null; userVisibleOnly?: boolean; } interface RequestInit { - signal?: AbortSignal; - body?: Blob | BufferSource | FormData | string | null; + body?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null; cache?: RequestCache; credentials?: RequestCredentials; headers?: HeadersInit; @@ -83,6 +143,7 @@ interface RequestInit { redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; + signal?: any; window?: any; } @@ -92,46 +153,27 @@ interface ResponseInit { statusText?: string; } -interface ClientQueryOptions { - includeUncontrolled?: boolean; - type?: ClientType; -} - -interface ExtendableEventInit extends EventInit { -} - -interface ExtendableMessageEventInit extends ExtendableEventInit { - data?: any; - origin?: string; - lastEventId?: string; - source?: Client | ServiceWorker | MessagePort | null; - ports?: MessagePort[] | null; -} - -interface FetchEventInit extends ExtendableEventInit { - request: Request; - clientId?: string | null; - isReload?: boolean; -} - -interface NotificationEventInit extends ExtendableEventInit { - notification: Notification; - action?: string; -} - -interface PushEventInit extends ExtendableEventInit { - data?: BufferSource | USVString; -} - interface SyncEventInit extends ExtendableEventInit { - tag: string; lastChance?: boolean; + tag: string; } interface EventListener { (evt: Event): void; } +interface AbstractWorkerEventMap { + "error": ErrorEvent; +} + +interface AbstractWorker { + onerror: ((this: AbstractWorker , ev: ErrorEvent) => any) | null; + addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + interface AudioBuffer { readonly duration: number; readonly length: number; @@ -160,14 +202,28 @@ declare var Blob: { new (blobParts?: any[], options?: BlobPropertyBag): Blob; }; +interface BlobPropertyBag { + endings?: string; + type?: string; +} + +interface Body { + readonly bodyUsed: boolean; + arrayBuffer(): Promise; + blob(): Promise; + formData(): Promise; + json(): Promise; + text(): Promise; +} + interface Cache { - add(request: RequestInfo): Promise; - addAll(requests: RequestInfo[]): Promise; - delete(request: RequestInfo, options?: CacheQueryOptions): Promise; - keys(request?: RequestInfo, options?: CacheQueryOptions): Promise; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; - matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise; - put(request: RequestInfo, response: Response): Promise; + add(request: Request | string): Promise; + addAll(requests: Array): Promise; + delete(request: Request | string, options?: CacheQueryOptions): Promise; + keys(request?: Request | string, options?: CacheQueryOptions): Promise; + match(request: Request | string, options?: CacheQueryOptions): Promise; + matchAll(request?: Request | string, options?: CacheQueryOptions): Promise; + put(request: Request | string, response: Response): Promise; } declare var Cache: { @@ -179,7 +235,7 @@ interface CacheStorage { delete(cacheName: string): Promise; has(cacheName: string): Promise; keys(): Promise; - match(request: RequestInfo, options?: CacheQueryOptions): Promise; + match(request: Request | string, options?: CacheQueryOptions): Promise; open(cacheName: string): Promise; } @@ -188,22 +244,49 @@ declare var CacheStorage: { new(): CacheStorage; }; +interface Client { + readonly id: string; + readonly reserved: boolean; + readonly type: ClientType; + readonly url: string; + postMessage(message: any, transfer?: any[]): void; +} + +declare var Client: { + prototype: Client; + new(): Client; +}; + +interface Clients { + claim(): Promise; + get(id: string): Promise; + matchAll(options?: ClientQueryOptions): Promise; + openWindow(url: string): Promise; +} + +declare var Clients: { + prototype: Clients; + new(): Clients; +}; + interface CloseEvent extends Event { readonly code: number; readonly reason: string; readonly wasClean: boolean; + /** @deprecated */ initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void; } declare var CloseEvent: { prototype: CloseEvent; - new(typeArg: string, eventInitDict?: CloseEventInit): CloseEvent; + new(type: string, eventInitDict?: CloseEventInit): CloseEvent; }; interface Console { - assert(test?: boolean, message?: string, ...optionalParams: any[]): void; + memory: any; + assert(condition?: boolean, message?: string, ...data: any[]): void; clear(): void; - count(countTitle?: string): void; + count(label?: string): void; debug(message?: any, ...optionalParams: any[]): void; dir(value?: any, ...optionalParams: any[]): void; dirxml(value: any): void; @@ -214,13 +297,17 @@ interface Console { groupEnd(): void; info(message?: any, ...optionalParams: any[]): void; log(message?: any, ...optionalParams: any[]): void; + markTimeline(label?: string): void; msIsIndependentlyComposed(element: any): boolean; profile(reportName?: string): void; profileEnd(): void; select(element: any): void; - table(...data: any[]): void; - time(timerName?: string): void; - timeEnd(timerName?: string): void; + table(...tabularData: any[]): void; + time(label?: string): void; + timeEnd(label?: string): void; + timeStamp(label?: string): void; + timeline(label?: string): void; + timelineEnd(label?: string): void; trace(message?: any, ...optionalParams: any[]): void; warn(message?: any, ...optionalParams: any[]): void; } @@ -285,10 +372,10 @@ interface DOMException { readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly PARSE_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; @@ -317,10 +404,10 @@ declare var DOMException: { readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; - readonly NO_DATA_ALLOWED_ERR: number; - readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly PARSE_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; @@ -337,7 +424,7 @@ interface DOMStringList { readonly length: number; contains(str: string): boolean; item(index: number): string | null; - [index: number]: string; + [index: number]: string | null; } declare var DOMStringList: { @@ -345,6 +432,25 @@ declare var DOMStringList: { new(): DOMStringList; }; +interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { + "message": MessageEvent; +} + +interface DedicatedWorkerGlobalScope extends WorkerGlobalScope { + onmessage: ((this: DedicatedWorkerGlobalScope , ev: MessageEvent) => any) | null; + close(): void; + postMessage(message: any, transfer?: any[]): void; + addEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var DedicatedWorkerGlobalScope: { + prototype: DedicatedWorkerGlobalScope; + new(): DedicatedWorkerGlobalScope; +}; + interface ErrorEvent extends Event { readonly colno: number; readonly error: any; @@ -356,31 +462,32 @@ interface ErrorEvent extends Event { declare var ErrorEvent: { prototype: ErrorEvent; - new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent; + new(typeArg: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; interface Event { readonly bubbles: boolean; - readonly cancelable: boolean; cancelBubble: boolean; - readonly currentTarget: EventTarget; + readonly cancelable: boolean; + readonly currentTarget: EventTarget | null; readonly defaultPrevented: boolean; readonly eventPhase: number; readonly isTrusted: boolean; returnValue: boolean; + readonly scoped: boolean; readonly srcElement: any; - readonly target: EventTarget; + readonly target: EventTarget | null; readonly timeStamp: number; readonly type: string; - readonly scoped: boolean; - initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void; + deepPath(): EventTarget[]; + initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; preventDefault(): void; stopImmediatePropagation(): void; stopPropagation(): void; - deepPath(): EventTarget[]; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; + readonly NONE: number; } declare var Event: { @@ -389,12 +496,17 @@ declare var Event: { readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; + readonly NONE: number; }; +interface EventListenerObject { + handleEvent(evt: Event): void; +} + interface EventTarget { - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; dispatchEvent(evt: Event): boolean; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } declare var EventTarget: { @@ -402,11 +514,47 @@ declare var EventTarget: { new(): EventTarget; }; +interface ExtendableEvent extends Event { + waitUntil(f: Promise): void; +} + +declare var ExtendableEvent: { + prototype: ExtendableEvent; + new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent; +}; + +interface ExtendableMessageEvent extends ExtendableEvent { + readonly data: any; + readonly lastEventId: string; + readonly origin: string; + readonly ports: ReadonlyArray | null; + readonly source: Client | ServiceWorker | MessagePort | null; +} + +declare var ExtendableMessageEvent: { + prototype: ExtendableMessageEvent; + new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent; +}; + +interface FetchEvent extends ExtendableEvent { + readonly clientId: string; + readonly request: Request; + readonly reservedClientId: string; + readonly targetClientId: string; + respondWith(r: Promise): void; +} + +declare var FetchEvent: { + prototype: FetchEvent; + new(type: string, eventInitDict: FetchEventInit): FetchEvent; +}; + interface File extends Blob { + readonly lastModified: number; + /** @deprecated */ readonly lastModifiedDate: Date; readonly name: string; readonly webkitRelativePath: string; - readonly lastModified: number; } declare var File: { @@ -416,8 +564,8 @@ declare var File: { interface FileList { readonly length: number; - item(index: number): File; - [index: number]: File; + item(index: number): File | null; + [index: number]: File | null; } declare var FileList: { @@ -425,36 +573,86 @@ declare var FileList: { new(): FileList; }; -interface FileReader extends EventTarget, MSBaseReader { - readonly error: DOMError; +interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} + +interface FileReaderEventMap { + "abort": ProgressEvent; + "error": ProgressEvent; + "load": ProgressEvent; + "loadend": ProgressEvent; + "loadstart": ProgressEvent; + "progress": ProgressEvent; +} + +interface FileReader extends EventTarget { + readonly error: DOMException | null; + onabort: ((this: FileReader , ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader , ev: ProgressEvent) => any) | null; + onload: ((this: FileReader , ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader , ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; + readonly readyState: number; + readonly result: string | ArrayBuffer | null; + abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(blob: Blob): void; readAsDataURL(blob: Blob): void; - readAsText(blob: Blob, encoding?: string): void; - addEventListener(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + readAsText(blob: Blob, label?: string): void; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; + addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FileReader: { prototype: FileReader; new(): FileReader; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; +}; + +interface FileReaderSync { + readAsArrayBuffer(blob: Blob): any; + readAsBinaryString(blob: Blob): void; + readAsDataURL(blob: Blob): string; + readAsText(blob: Blob, encoding?: string): string; +} + +declare var FileReaderSync: { + prototype: FileReaderSync; + new(): FileReaderSync; }; interface FormData { append(name: string, value: string | Blob, fileName?: string): void; + delete(name: string): void; + get(name: string): FormDataEntryValue | null; + getAll(name: string): FormDataEntryValue[]; + has(name: string): boolean; + set(name: string, value: string | Blob, fileName?: string): void; } declare var FormData: { prototype: FormData; new(): FormData; + new(form: any): FormData; }; +interface GlobalFetch { + fetch(input?: Request | string, init?: RequestInit): Promise; +} + interface Headers { append(name: string, value: string): void; delete(name: string): void; - forEach(callback: ForEachCallback): void; + forEach(callback: Function, thisArg?: any): void; get(name: string): string | null; has(name: string): boolean; set(name: string, value: string): void; @@ -465,13 +663,16 @@ declare var Headers: { new(init?: HeadersInit): Headers; }; +interface IDBArrayKey extends Array { +} + interface IDBCursor { readonly direction: IDBCursorDirection; - key: IDBKeyRange | IDBValidKey; + readonly key: IDBKeyRange | number | string | Date | IDBArrayKey; readonly primaryKey: any; - source: IDBObjectStore | IDBIndex; + readonly source: IDBObjectStore | IDBIndex; advance(count: number): void; - continue(key?: IDBKeyRange | IDBValidKey): void; + continue(key?: IDBKeyRange | number | string | Date | IDBArrayKey): void; delete(): IDBRequest; update(value: any): IDBRequest; readonly NEXT: string; @@ -506,16 +707,14 @@ interface IDBDatabaseEventMap { interface IDBDatabase extends EventTarget { readonly name: string; readonly objectStoreNames: DOMStringList; - onabort: (this: IDBDatabase, ev: Event) => any; - onerror: (this: IDBDatabase, ev: Event) => any; - version: number; - onversionchange: (ev: IDBVersionChangeEvent) => any; + onabort: ((this: IDBDatabase , ev: Event) => any) | null; + onerror: ((this: IDBDatabase , ev: Event) => any) | null; + onversionchange: ((this: IDBDatabase , ev: Event) => any) | null; + readonly version: number; close(): void; createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; deleteObjectStore(name: string): void; transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction; - addEventListener(type: "versionchange", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: "versionchange", listener: (this: IDBDatabase, ev: IDBVersionChangeEvent) => any, options?: boolean | EventListenerOptions): void; addEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -539,16 +738,16 @@ declare var IDBFactory: { }; interface IDBIndex { - keyPath: string | string[]; + readonly keyPath: string | string[]; + multiEntry: boolean; readonly name: string; readonly objectStore: IDBObjectStore; readonly unique: boolean; - multiEntry: boolean; - count(key?: IDBKeyRange | IDBValidKey): IDBRequest; - get(key: IDBKeyRange | IDBValidKey): IDBRequest; - getKey(key: IDBKeyRange | IDBValidKey): IDBRequest; - openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; - openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; + count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + get(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + getKey(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; + openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; + openKeyCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; } declare var IDBIndex: { @@ -573,21 +772,21 @@ declare var IDBKeyRange: { }; interface IDBObjectStore { + autoIncrement: boolean; readonly indexNames: DOMStringList; - keyPath: string | string[]; + readonly keyPath: string | string[] | null; readonly name: string; readonly transaction: IDBTransaction; - autoIncrement: boolean; - add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest; + add(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; clear(): IDBRequest; - count(key?: IDBKeyRange | IDBValidKey): IDBRequest; + count(key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex; - delete(key: IDBKeyRange | IDBValidKey): IDBRequest; + delete(key: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; deleteIndex(indexName: string): void; get(key: any): IDBRequest; index(name: string): IDBIndex; - openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest; - put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest; + openCursor(range?: IDBKeyRange | number | string | Date | IDBArrayKey, direction?: IDBCursorDirection): IDBRequest; + put(value: any, key?: IDBKeyRange | number | string | Date | IDBArrayKey): IDBRequest; } declare var IDBObjectStore: { @@ -601,8 +800,8 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { } interface IDBOpenDBRequest extends IDBRequest { - onblocked: (this: IDBOpenDBRequest, ev: Event) => any; - onupgradeneeded: (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any; + onblocked: ((this: IDBOpenDBRequest , ev: Event) => any) | null; + onupgradeneeded: ((this: IDBOpenDBRequest , ev: IDBVersionChangeEvent) => any) | null; addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -621,11 +820,11 @@ interface IDBRequestEventMap { interface IDBRequest extends EventTarget { readonly error: DOMException; - onerror: (this: IDBRequest, ev: Event) => any; - onsuccess: (this: IDBRequest, ev: Event) => any; + onerror: ((this: IDBRequest , ev: Event) => any) | null; + onsuccess: ((this: IDBRequest , ev: Event) => any) | null; readonly readyState: IDBRequestReadyState; readonly result: any; - source: IDBObjectStore | IDBIndex | IDBCursor; + readonly source: IDBObjectStore | IDBIndex | IDBCursor; readonly transaction: IDBTransaction; addEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -648,9 +847,9 @@ interface IDBTransaction extends EventTarget { readonly db: IDBDatabase; readonly error: DOMException; readonly mode: IDBTransactionMode; - onabort: (this: IDBTransaction, ev: Event) => any; - oncomplete: (this: IDBTransaction, ev: Event) => any; - onerror: (this: IDBTransaction, ev: Event) => any; + onabort: ((this: IDBTransaction , ev: Event) => any) | null; + oncomplete: ((this: IDBTransaction , ev: Event) => any) | null; + onerror: ((this: IDBTransaction , ev: Event) => any) | null; abort(): void; objectStore(name: string): IDBObjectStore; readonly READ_ONLY: string; @@ -680,21 +879,36 @@ declare var IDBVersionChangeEvent: { new(): IDBVersionChangeEvent; }; -interface ImageData { - data: Uint8ClampedArray; +interface ImageBitmap { readonly height: number; readonly width: number; + close(): void; } -declare var ImageData: { - prototype: ImageData; - new(width: number, height: number): ImageData; - new(array: Uint8ClampedArray, width: number, height: number): ImageData; -}; - -interface MessageChannel { - readonly port1: MessagePort; - readonly port2: MessagePort; +interface ImageBitmapOptions { + colorSpaceConversion?: "none" | "default"; + imageOrientation?: "none" | "flipY"; + premultiplyAlpha?: "none" | "premultiply" | "default"; + resizeHeight?: number; + resizeQuality?: "pixelated" | "low" | "medium" | "high"; + resizeWidth?: number; +} + +interface ImageData { + readonly data: Uint8ClampedArray; + readonly height: number; + readonly width: number; +} + +declare var ImageData: { + prototype: ImageData; + new(width: number, height: number): ImageData; + new(array: Uint8ClampedArray, width: number, height: number): ImageData; +}; + +interface MessageChannel { + readonly port1: MessagePort; + readonly port2: MessagePort; } declare var MessageChannel: { @@ -705,9 +919,9 @@ declare var MessageChannel: { interface MessageEvent extends Event { readonly data: any; readonly origin: string; - readonly ports: any; + readonly ports: ReadonlyArray; readonly source: any; - initMessageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, dataArg: any, originArg: string, lastEventIdArg: string, sourceArg: any): void; + initMessageEvent(type: string, bubbles: boolean, cancelable: boolean, data: any, origin: string, lastEventId: string, source: any): void; } declare var MessageEvent: { @@ -720,7 +934,7 @@ interface MessagePortEventMap { } interface MessagePort extends EventTarget { - onmessage: (this: MessagePort, ev: MessageEvent) => any; + onmessage: ((this: MessagePort , ev: MessageEvent) => any) | null; close(): void; postMessage(message?: any, transfer?: any[]): void; start(): void; @@ -735,6 +949,30 @@ declare var MessagePort: { new(): MessagePort; }; +interface NavigatorBeacon { + sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean; +} + +interface NavigatorConcurrentHardware { + readonly hardwareConcurrency: number; +} + +interface NavigatorID { + readonly appCodeName: string; + readonly appName: string; + readonly appVersion: string; + readonly platform: string; + readonly product: string; + readonly productSub: string; + readonly userAgent: string; + readonly vendor: string; + readonly vendorSub: string; +} + +interface NavigatorOnLine { + readonly onLine: boolean; +} + interface NotificationEventMap { "click": Event; "close": Event; @@ -743,16 +981,17 @@ interface NotificationEventMap { } interface Notification extends EventTarget { - readonly body: string; + readonly body: string | null; + readonly data: any; readonly dir: NotificationDirection; - readonly icon: string; - readonly lang: string; - onclick: (this: Notification, ev: Event) => any; - onclose: (this: Notification, ev: Event) => any; - onerror: (this: Notification, ev: Event) => any; - onshow: (this: Notification, ev: Event) => any; + readonly icon: string | null; + readonly lang: string | null; + onclick: ((this: Notification , ev: Event) => any) | null; + onclose: ((this: Notification , ev: Event) => any) | null; + onerror: ((this: Notification , ev: Event) => any) | null; + onshow: ((this: Notification , ev: Event) => any) | null; readonly permission: NotificationPermission; - readonly tag: string; + readonly tag: string | null; readonly title: string; close(): void; addEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -767,16 +1006,31 @@ declare var Notification: { requestPermission(callback?: NotificationPermissionCallback): Promise; }; +interface NotificationEvent extends ExtendableEvent { + readonly action: string; + readonly notification: Notification; +} + +declare var NotificationEvent: { + prototype: NotificationEvent; + new(type: string, eventInitDict: NotificationEventInit): NotificationEvent; +}; + interface Performance { + /** @deprecated */ readonly navigation: PerformanceNavigation; + readonly timeOrigin: number; + /** @deprecated */ readonly timing: PerformanceTiming; clearMarks(markName?: string): void; clearMeasures(measureName?: string): void; clearResourceTimings(): void; getEntries(): any; - getEntriesByName(name: string, entryType?: string): any; - getEntriesByType(entryType: string): any; + getEntriesByName(name: string, type?: string): any; + getEntriesByType(type: string): any; + /** @deprecated */ getMarks(markName?: string): any; + /** @deprecated */ getMeasures(measureName?: string): any; mark(markName: string): void; measure(measureName: string, startMarkName?: string, endMarkName?: string): void; @@ -812,13 +1066,13 @@ declare var PerformanceNavigation: { interface PerformanceTiming { readonly connectEnd: number; readonly connectStart: number; - readonly domainLookupEnd: number; - readonly domainLookupStart: number; readonly domComplete: number; readonly domContentLoadedEventEnd: number; readonly domContentLoadedEventStart: number; readonly domInteractive: number; readonly domLoading: number; + readonly domainLookupEnd: number; + readonly domainLookupStart: number; readonly fetchStart: number; readonly loadEventEnd: number; readonly loadEventStart: number; @@ -829,9 +1083,9 @@ interface PerformanceTiming { readonly requestStart: number; readonly responseEnd: number; readonly responseStart: number; + readonly secureConnectionStart: number; readonly unloadEventEnd: number; readonly unloadEventStart: number; - readonly secureConnectionStart: number; toJSON(): any; } @@ -876,10 +1130,20 @@ interface ProgressEvent extends Event { declare var ProgressEvent: { prototype: ProgressEvent; - new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent; + new(typeArg: string, eventInitDict?: ProgressEventInit): ProgressEvent; +}; + +interface PushEvent extends ExtendableEvent { + readonly data: PushMessageData | null; +} + +declare var PushEvent: { + prototype: PushEvent; + new(type: string, eventInitDict?: PushEventInit): PushEvent; }; interface PushManager { + readonly supportedContentEncodings: ReadonlyArray; getSubscription(): Promise; permissionState(options?: PushSubscriptionOptionsInit): Promise; subscribe(options?: PushSubscriptionOptionsInit): Promise; @@ -890,8 +1154,21 @@ declare var PushManager: { new(): PushManager; }; +interface PushMessageData { + arrayBuffer(): ArrayBuffer; + blob(): Blob; + json(): any; + text(): string; +} + +declare var PushMessageData: { + prototype: PushMessageData; + new(): PushMessageData; +}; + interface PushSubscription { - readonly endpoint: USVString; + readonly endpoint: string; + readonly expirationTime: number | null; readonly options: PushSubscriptionOptions; getKey(name: PushEncryptionKeyName): ArrayBuffer | null; toJSON(): any; @@ -903,6 +1180,16 @@ declare var PushSubscription: { new(): PushSubscription; }; +interface PushSubscriptionChangeEvent extends ExtendableEvent { + readonly newSubscription: PushSubscription | null; + readonly oldSubscription: PushSubscription | null; +} + +declare var PushSubscriptionChangeEvent: { + prototype: PushSubscriptionChangeEvent; + new(type: string, eventInitDict?: PushSubscriptionChangeInit): PushSubscriptionChangeEvent; +}; + interface PushSubscriptionOptions { readonly applicationServerKey: ArrayBuffer | null; readonly userVisibleOnly: boolean; @@ -935,7 +1222,7 @@ declare var ReadableStreamReader: { new(): ReadableStreamReader; }; -interface Request extends Object, Body { +interface Request extends Body { readonly cache: RequestCache; readonly credentials: RequestCredentials; readonly destination: RequestDestination; @@ -947,9 +1234,9 @@ interface Request extends Object, Body { readonly redirect: RequestRedirect; readonly referrer: string; readonly referrerPolicy: ReferrerPolicy; + readonly signal: any; readonly type: RequestType; readonly url: string; - readonly signal: AbortSignal; clone(): Request; } @@ -958,23 +1245,23 @@ declare var Request: { new(input: Request | string, init?: RequestInit): Request; }; -interface Response extends Object, Body { +interface Response extends Body { readonly body: ReadableStream | null; readonly headers: Headers; readonly ok: boolean; + readonly redirected: boolean; readonly status: number; readonly statusText: string; readonly type: ResponseType; readonly url: string; - readonly redirected: boolean; clone(): Response; } declare var Response: { prototype: Response; - new(body?: any, init?: ResponseInit): Response; - error: () => Response; - redirect: (url: string, status?: number) => Response; + new(body?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null, init?: ResponseInit): Response; + error(): Response; + redirect(url: string, status?: number): Response; }; interface ServiceWorkerEventMap extends AbstractWorkerEventMap { @@ -982,8 +1269,8 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap { } interface ServiceWorker extends EventTarget, AbstractWorker { - onstatechange: (this: ServiceWorker, ev: Event) => any; - readonly scriptURL: USVString; + onstatechange: ((this: ServiceWorker , ev: Event) => any) | null; + readonly scriptURL: string; readonly state: ServiceWorkerState; postMessage(message: any, transfer?: any[]): void; addEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -997,6 +1284,44 @@ declare var ServiceWorker: { new(): ServiceWorker; }; +interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { + "activate": ExtendableEvent; + "fetch": FetchEvent; + "install": ExtendableEvent; + "message": ExtendableMessageEvent; + "messageerror": MessageEvent; + "notificationclick": NotificationEvent; + "notificationclose": NotificationEvent; + "push": PushEvent; + "pushsubscriptionchange": PushSubscriptionChangeEvent; + "sync": SyncEvent; +} + +interface ServiceWorkerGlobalScope extends WorkerGlobalScope { + readonly clients: Clients; + onactivate: ((this: ServiceWorkerGlobalScope , ev: ExtendableEvent) => any) | null; + onfetch: ((this: ServiceWorkerGlobalScope , ev: FetchEvent) => any) | null; + oninstall: ((this: ServiceWorkerGlobalScope , ev: ExtendableEvent) => any) | null; + onmessage: ((this: ServiceWorkerGlobalScope , ev: ExtendableMessageEvent) => any) | null; + onmessageerror: ((this: ServiceWorkerGlobalScope , ev: MessageEvent) => any) | null; + onnotificationclick: ((this: ServiceWorkerGlobalScope , ev: NotificationEvent) => any) | null; + onnotificationclose: ((this: ServiceWorkerGlobalScope , ev: NotificationEvent) => any) | null; + onpush: ((this: ServiceWorkerGlobalScope , ev: PushEvent) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope , ev: PushSubscriptionChangeEvent) => any) | null; + onsync: ((this: ServiceWorkerGlobalScope , ev: SyncEvent) => any) | null; + readonly registration: ServiceWorkerRegistration; + skipWaiting(): Promise; + addEventListener(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var ServiceWorkerGlobalScope: { + prototype: ServiceWorkerGlobalScope; + new(): ServiceWorkerGlobalScope; +}; + interface ServiceWorkerRegistrationEventMap { "updatefound": Event; } @@ -1004,9 +1329,9 @@ interface ServiceWorkerRegistrationEventMap { interface ServiceWorkerRegistration extends EventTarget { readonly active: ServiceWorker | null; readonly installing: ServiceWorker | null; - onupdatefound: (this: ServiceWorkerRegistration, ev: Event) => any; + onupdatefound: ((this: ServiceWorkerRegistration , ev: Event) => any) | null; readonly pushManager: PushManager; - readonly scope: USVString; + readonly scope: string; readonly sync: SyncManager; readonly waiting: ServiceWorker | null; getNotifications(filter?: GetNotificationOptions): Promise; @@ -1024,6 +1349,16 @@ declare var ServiceWorkerRegistration: { new(): ServiceWorkerRegistration; }; +interface SyncEvent extends ExtendableEvent { + readonly lastChance: boolean; + readonly tag: string; +} + +declare var SyncEvent: { + prototype: SyncEvent; + new(type: string, init: SyncEventInit): SyncEvent; +}; + interface SyncManager { getTags(): Promise; register(tag: string): Promise; @@ -1045,18 +1380,50 @@ interface URL { port: string; protocol: string; search: string; - username: string; readonly searchParams: URLSearchParams; + username: string; toString(): string; } declare var URL: { prototype: URL; - new(url: string, base?: string | URL): URL; + new(url: string, base?: string): URL; createObjectURL(object: any, options?: ObjectURLOptions): string; revokeObjectURL(url: string): void; }; +interface URLSearchParams { + /** + * Appends a specified key/value pair as a new search parameter. + */ + append(name: string, value: string): void; + /** + * Deletes the given search parameter, and its associated value, from the list of all search parameters. + */ + delete(name: string): void; + /** + * Returns the first value associated to the given search parameter. + */ + get(name: string): string | null; + /** + * Returns all the values association with a given search parameter. + */ + getAll(name: string): string[]; + /** + * Returns a Boolean indicating if such a search parameter exists. + */ + has(name: string): boolean; + /** + * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. + */ + set(name: string, value: string): void; +} + +declare var URLSearchParams: { + prototype: URLSearchParams; + new (init?: string | URLSearchParams): URLSearchParams; +}; + interface WebSocketEventMap { "close": CloseEvent; "error": Event; @@ -1065,18 +1432,18 @@ interface WebSocketEventMap { } interface WebSocket extends EventTarget { - binaryType: string; + binaryType: BinaryType; readonly bufferedAmount: number; readonly extensions: string; - onclose: (this: WebSocket, ev: CloseEvent) => any; - onerror: (this: WebSocket, ev: Event) => any; - onmessage: (this: WebSocket, ev: MessageEvent) => any; - onopen: (this: WebSocket, ev: Event) => any; + onclose: ((this: WebSocket , ev: CloseEvent) => any) | null; + onerror: ((this: WebSocket , ev: Event) => any) | null; + onmessage: ((this: WebSocket , ev: MessageEvent) => any) | null; + onopen: ((this: WebSocket , ev: Event) => any) | null; readonly protocol: string; readonly readyState: number; readonly url: string; close(code?: number, reason?: string): void; - send(data: USVString | ArrayBuffer | Blob | ArrayBufferView): void; + send(data: string | ArrayBuffer | Blob | ArrayBufferView): void; readonly CLOSED: number; readonly CLOSING: number; readonly CONNECTING: number; @@ -1096,12 +1463,35 @@ declare var WebSocket: { readonly OPEN: number; }; +interface WindowBase64 { + atob(encodedString: string): string; + btoa(rawString: string): string; +} + +interface WindowClient extends Client { + readonly ancestorOrigins: ReadonlyArray; + readonly focused: boolean; + readonly visibilityState: VisibilityState; + focus(): Promise; + navigate(url: string): Promise; +} + +declare var WindowClient: { + prototype: WindowClient; + new(): WindowClient; +}; + +interface WindowConsole { + readonly console: Console; +} + interface WorkerEventMap extends AbstractWorkerEventMap { "message": MessageEvent; } interface Worker extends EventTarget, AbstractWorker { - onmessage: (this: Worker, ev: MessageEvent) => any; + onmessage: ((this: Worker , ev: MessageEvent) => any) | null; + /** @deprecated */ postMessage(message: any, transfer?: any[]): void; terminate(): void; addEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -1115,12 +1505,77 @@ declare var Worker: { new(stringUrl: string): Worker; }; +interface WorkerGlobalScopeEventMap { + "error": ErrorEvent; +} + +interface WorkerGlobalScope extends EventTarget, WorkerUtils, WindowConsole, GlobalFetch { + readonly caches: CacheStorage; + readonly isSecureContext: boolean; + readonly location: WorkerLocation; + onerror: ((this: WorkerGlobalScope , ev: ErrorEvent) => any) | null; + readonly performance: Performance; + readonly self: WorkerGlobalScope; + createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; + createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; + msWriteProfilerMark(profilerMarkName: string): void; + addEventListener(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var WorkerGlobalScope: { + prototype: WorkerGlobalScope; + new(): WorkerGlobalScope; +}; + +interface WorkerLocation { + readonly hash: string; + readonly host: string; + readonly hostname: string; + readonly href: string; + readonly origin: string; + readonly pathname: string; + readonly port: string; + readonly protocol: string; + readonly search: string; + toString(): string; +} + +declare var WorkerLocation: { + prototype: WorkerLocation; + new(): WorkerLocation; +}; + +interface WorkerNavigator extends NavigatorID, NavigatorOnLine, NavigatorBeacon, NavigatorConcurrentHardware { +} + +declare var WorkerNavigator: { + prototype: WorkerNavigator; + new(): WorkerNavigator; +}; + +interface WorkerUtils extends WindowBase64 { + readonly indexedDB: IDBFactory; + readonly msIndexedDB: IDBFactory; + readonly navigator: WorkerNavigator; + clearImmediate(handle: number): void; + clearInterval(handle: number): void; + clearTimeout(handle: number): void; + importScripts(...urls: string[]): void; + setImmediate(handler: any, ...args: any[]): number; + setInterval(handler: any, timeout?: any, ...args: any[]): number; + setTimeout(handler: any, timeout?: any, ...args: any[]): number; +} + interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { "readystatechange": Event; } interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { - onreadystatechange: (this: XMLHttpRequest, ev: Event) => any; + msCaching: string; + onreadystatechange: ((this: XMLHttpRequest , ev: Event) => any) | null; readonly readyState: number; readonly response: any; readonly responseText: string; @@ -1132,14 +1587,12 @@ interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { timeout: number; readonly upload: XMLHttpRequestUpload; withCredentials: boolean; - msCaching?: string; abort(): void; getAllResponseHeaders(): string; getResponseHeader(header: string): string | null; msCachingEnabled(): boolean; - open(method: string, url: string, async?: boolean, user?: string, password?: string): void; + open(method: string, url: string, async?: boolean, user?: string | null, password?: string | null): void; overrideMimeType(mime: string): void; - send(data?: string): void; send(data?: any): void; setRequestHeader(header: string, value: string): void; readonly DONE: number; @@ -1163,730 +1616,89 @@ declare var XMLHttpRequest: { readonly UNSENT: number; }; -interface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget { - addEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface XMLHttpRequestEventTargetEventMap { + "abort": Event; + "error": ErrorEvent; + "load": Event; + "loadend": ProgressEvent; + "loadstart": Event; + "progress": ProgressEvent; + "timeout": ProgressEvent; +} + +interface XMLHttpRequestEventTarget { + onabort: ((this: XMLHttpRequest, ev: Event) => any) | null; + onerror: ((this: XMLHttpRequest, ev: ErrorEvent) => any) | null; + onload: ((this: XMLHttpRequest, ev: Event) => any) | null; + onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + onloadstart: ((this: XMLHttpRequest, ev: Event) => any) | null; + onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null; + addEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var XMLHttpRequestUpload: { - prototype: XMLHttpRequestUpload; - new(): XMLHttpRequestUpload; -}; - -interface AbstractWorkerEventMap { - "error": ErrorEvent; -} - -interface AbstractWorker { - onerror: (this: AbstractWorker, ev: ErrorEvent) => any; - addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface Body { - readonly bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - json(): Promise; - text(): Promise; -} - -interface GlobalFetch { - fetch(input: RequestInfo, init?: RequestInit): Promise; -} - -interface MSBaseReaderEventMap { - "abort": Event; - "error": ErrorEvent; - "load": Event; - "loadend": ProgressEvent; - "loadstart": Event; - "progress": ProgressEvent; -} - -interface MSBaseReader { - onabort: (this: MSBaseReader, ev: Event) => any; - onerror: (this: MSBaseReader, ev: ErrorEvent) => any; - onload: (this: MSBaseReader, ev: Event) => any; - onloadend: (this: MSBaseReader, ev: ProgressEvent) => any; - onloadstart: (this: MSBaseReader, ev: Event) => any; - onprogress: (this: MSBaseReader, ev: ProgressEvent) => any; - readonly readyState: number; - readonly result: any; - abort(): void; - readonly DONE: number; - readonly EMPTY: number; - readonly LOADING: number; - addEventListener(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface NavigatorBeacon { - sendBeacon(url: USVString, data?: BodyInit): boolean; -} - -interface NavigatorConcurrentHardware { - readonly hardwareConcurrency: number; -} - -interface NavigatorID { - readonly appCodeName: string; - readonly appName: string; - readonly appVersion: string; - readonly platform: string; - readonly product: string; - readonly productSub: string; - readonly userAgent: string; - readonly vendor: string; - readonly vendorSub: string; -} - -interface NavigatorOnLine { - readonly onLine: boolean; -} - -interface WindowBase64 { - atob(encodedString: string): string; - btoa(rawString: string): string; -} - -interface WindowConsole { - readonly console: Console; -} - -interface XMLHttpRequestEventTargetEventMap { - "abort": Event; - "error": ErrorEvent; - "load": Event; - "loadend": ProgressEvent; - "loadstart": Event; - "progress": ProgressEvent; - "timeout": ProgressEvent; -} - -interface XMLHttpRequestEventTarget { - onabort: (this: XMLHttpRequest, ev: Event) => any; - onerror: (this: XMLHttpRequest, ev: ErrorEvent) => any; - onload: (this: XMLHttpRequest, ev: Event) => any; - onloadend: (this: XMLHttpRequest, ev: ProgressEvent) => any; - onloadstart: (this: XMLHttpRequest, ev: Event) => any; - onprogress: (this: XMLHttpRequest, ev: ProgressEvent) => any; - ontimeout: (this: XMLHttpRequest, ev: ProgressEvent) => any; - addEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -interface Client { - readonly frameType: FrameType; - readonly id: string; - readonly url: USVString; - postMessage(message: any, transfer?: any[]): void; -} - -declare var Client: { - prototype: Client; - new(): Client; -}; - -interface Clients { - claim(): Promise; - get(id: string): Promise; - matchAll(options?: ClientQueryOptions): Promise; - openWindow(url: USVString): Promise; -} - -declare var Clients: { - prototype: Clients; - new(): Clients; -}; - -interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { - "message": MessageEvent; -} - -interface DedicatedWorkerGlobalScope extends WorkerGlobalScope { - onmessage: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any; - close(): void; - postMessage(message: any, transfer?: any[]): void; - addEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var DedicatedWorkerGlobalScope: { - prototype: DedicatedWorkerGlobalScope; - new(): DedicatedWorkerGlobalScope; -}; - -interface ExtendableEvent extends Event { - waitUntil(f: Promise): void; -} - -declare var ExtendableEvent: { - prototype: ExtendableEvent; - new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent; -}; - -interface ExtendableMessageEvent extends ExtendableEvent { - readonly data: any; - readonly lastEventId: string; - readonly origin: string; - readonly ports: MessagePort[] | null; - readonly source: Client | ServiceWorker | MessagePort | null; -} - -declare var ExtendableMessageEvent: { - prototype: ExtendableMessageEvent; - new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent; -}; - -interface FetchEvent extends ExtendableEvent { - readonly clientId: string | null; - readonly isReload: boolean; - readonly request: Request; - respondWith(r: Promise): void; -} - -declare var FetchEvent: { - prototype: FetchEvent; - new(type: string, eventInitDict: FetchEventInit): FetchEvent; -}; - -interface FileReaderSync { - readAsArrayBuffer(blob: Blob): any; - readAsBinaryString(blob: Blob): void; - readAsDataURL(blob: Blob): string; - readAsText(blob: Blob, encoding?: string): string; -} - -declare var FileReaderSync: { - prototype: FileReaderSync; - new(): FileReaderSync; -}; - -interface NotificationEvent extends ExtendableEvent { - readonly action: string; - readonly notification: Notification; -} - -declare var NotificationEvent: { - prototype: NotificationEvent; - new(type: string, eventInitDict: NotificationEventInit): NotificationEvent; -}; - -interface PushEvent extends ExtendableEvent { - readonly data: PushMessageData | null; -} - -declare var PushEvent: { - prototype: PushEvent; - new(type: string, eventInitDict?: PushEventInit): PushEvent; -}; - -interface PushMessageData { - arrayBuffer(): ArrayBuffer; - blob(): Blob; - json(): JSON; - text(): USVString; -} - -declare var PushMessageData: { - prototype: PushMessageData; - new(): PushMessageData; -}; - -interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { - "activate": ExtendableEvent; - "fetch": FetchEvent; - "install": ExtendableEvent; - "message": ExtendableMessageEvent; - "notificationclick": NotificationEvent; - "notificationclose": NotificationEvent; - "push": PushEvent; - "pushsubscriptionchange": ExtendableEvent; - "sync": SyncEvent; -} - -interface ServiceWorkerGlobalScope extends WorkerGlobalScope { - readonly clients: Clients; - onactivate: (this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any; - onfetch: (this: ServiceWorkerGlobalScope, ev: FetchEvent) => any; - oninstall: (this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any; - onmessage: (this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any; - onnotificationclick: (this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any; - onnotificationclose: (this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any; - onpush: (this: ServiceWorkerGlobalScope, ev: PushEvent) => any; - onpushsubscriptionchange: (this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any; - onsync: (this: ServiceWorkerGlobalScope, ev: SyncEvent) => any; - readonly registration: ServiceWorkerRegistration; - skipWaiting(): Promise; - addEventListener(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var ServiceWorkerGlobalScope: { - prototype: ServiceWorkerGlobalScope; - new(): ServiceWorkerGlobalScope; -}; - -interface SyncEvent extends ExtendableEvent { - readonly lastChance: boolean; - readonly tag: string; -} - -declare var SyncEvent: { - prototype: SyncEvent; - new(type: string, init: SyncEventInit): SyncEvent; -}; - -interface WindowClient extends Client { - readonly focused: boolean; - readonly visibilityState: VisibilityState; - focus(): Promise; - navigate(url: USVString): Promise; -} - -declare var WindowClient: { - prototype: WindowClient; - new(): WindowClient; -}; - -interface WorkerGlobalScopeEventMap { - "error": ErrorEvent; -} - -interface WorkerGlobalScope extends EventTarget, WorkerUtils, WindowConsole, GlobalFetch { - readonly caches: CacheStorage; - readonly isSecureContext: boolean; - readonly location: WorkerLocation; - onerror: (this: WorkerGlobalScope, ev: ErrorEvent) => any; - readonly performance: Performance; - readonly self: WorkerGlobalScope; - msWriteProfilerMark(profilerMarkName: string): void; - createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; - createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; - addEventListener(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -} - -declare var WorkerGlobalScope: { - prototype: WorkerGlobalScope; - new(): WorkerGlobalScope; -}; - -interface WorkerLocation { - readonly hash: string; - readonly host: string; - readonly hostname: string; - readonly href: string; - readonly origin: string; - readonly pathname: string; - readonly port: string; - readonly protocol: string; - readonly search: string; - toString(): string; -} - -declare var WorkerLocation: { - prototype: WorkerLocation; - new(): WorkerLocation; -}; - -interface WorkerNavigator extends Object, NavigatorID, NavigatorOnLine, NavigatorBeacon, NavigatorConcurrentHardware { - readonly hardwareConcurrency: number; -} - -declare var WorkerNavigator: { - prototype: WorkerNavigator; - new(): WorkerNavigator; -}; - -interface WorkerUtils extends Object, WindowBase64 { - readonly indexedDB: IDBFactory; - readonly msIndexedDB: IDBFactory; - readonly navigator: WorkerNavigator; - clearImmediate(handle: number): void; - clearInterval(handle: number): void; - clearTimeout(handle: number): void; - importScripts(...urls: string[]): void; - setImmediate(handler: (...args: any[]) => void): number; - setImmediate(handler: any, ...args: any[]): number; - setInterval(handler: (...args: any[]) => void, timeout: number): number; - setInterval(handler: any, timeout?: any, ...args: any[]): number; - setTimeout(handler: (...args: any[]) => void, timeout: number): number; - setTimeout(handler: any, timeout?: any, ...args: any[]): number; -} - -interface BroadcastChannel extends EventTarget { - readonly name: string; - onmessage: (ev: MessageEvent) => any; - onmessageerror: (ev: MessageEvent) => any; - close(): void; - postMessage(message: any): void; - addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; +interface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget { + addEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } -declare var BroadcastChannel: { - prototype: BroadcastChannel; - new(name: string): BroadcastChannel; -}; - -interface BroadcastChannelEventMap { - message: MessageEvent; - messageerror: MessageEvent; -} - -interface ErrorEventInit { - message?: string; - filename?: string; - lineno?: number; - conlno?: number; - error?: any; -} - -interface ImageBitmapOptions { - imageOrientation?: "none" | "flipY"; - premultiplyAlpha?: "none" | "premultiply" | "default"; - colorSpaceConversion?: "none" | "default"; - resizeWidth?: number; - resizeHeight?: number; - resizeQuality?: "pixelated" | "low" | "medium" | "high"; -} - -interface ImageBitmap { - readonly width: number; - readonly height: number; - close(): void; -} - -interface URLSearchParams { - /** - * Appends a specified key/value pair as a new search parameter. - */ - append(name: string, value: string): void; - /** - * Deletes the given search parameter, and its associated value, from the list of all search parameters. - */ - delete(name: string): void; - /** - * Returns the first value associated to the given search parameter. - */ - get(name: string): string | null; - /** - * Returns all the values association with a given search parameter. - */ - getAll(name: string): string[]; - /** - * Returns a Boolean indicating if such a search parameter exists. - */ - has(name: string): boolean; - /** - * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. - */ - set(name: string, value: string): void; -} - -declare var URLSearchParams: { - prototype: URLSearchParams; - /** - * Constructor returning a URLSearchParams object. - */ - new (init?: string | URLSearchParams): URLSearchParams; -}; - -interface BlobPropertyBag { - type?: string; - endings?: string; -} - -interface FilePropertyBag extends BlobPropertyBag { - lastModified?: number; -} - -interface EventListenerObject { - handleEvent(evt: Event): void; -} - -interface ProgressEventInit extends EventInit { - lengthComputable?: boolean; - loaded?: number; - total?: number; -} - -interface IDBArrayKey extends Array { -} - -interface RsaKeyGenParams extends Algorithm { - modulusLength: number; - publicExponent: Uint8Array; -} - -interface RsaHashedKeyGenParams extends RsaKeyGenParams { - hash: AlgorithmIdentifier; -} - -interface RsaKeyAlgorithm extends KeyAlgorithm { - modulusLength: number; - publicExponent: Uint8Array; -} - -interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { - hash: AlgorithmIdentifier; -} - -interface RsaHashedImportParams { - hash: AlgorithmIdentifier; -} - -interface RsaPssParams { - saltLength: number; -} - -interface RsaOaepParams extends Algorithm { - label?: BufferSource; -} - -interface EcdsaParams extends Algorithm { - hash: AlgorithmIdentifier; -} - -interface EcKeyGenParams extends Algorithm { - namedCurve: string; -} - -interface EcKeyAlgorithm extends KeyAlgorithm { - typedCurve: string; -} - -interface EcKeyImportParams extends Algorithm { - namedCurve: string; -} - -interface EcdhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface AesCtrParams extends Algorithm { - counter: BufferSource; - length: number; -} - -interface AesKeyAlgorithm extends KeyAlgorithm { - length: number; -} - -interface AesKeyGenParams extends Algorithm { - length: number; -} - -interface AesDerivedKeyParams extends Algorithm { - length: number; -} - -interface AesCbcParams extends Algorithm { - iv: BufferSource; -} - -interface AesCmacParams extends Algorithm { - length: number; -} - -interface AesGcmParams extends Algorithm { - iv: BufferSource; - additionalData?: BufferSource; - tagLength?: number; -} - -interface AesCfbParams extends Algorithm { - iv: BufferSource; -} - -interface HmacImportParams extends Algorithm { - hash?: AlgorithmIdentifier; - length?: number; -} - -interface HmacKeyAlgorithm extends KeyAlgorithm { - hash: AlgorithmIdentifier; - length: number; -} - -interface HmacKeyGenParams extends Algorithm { - hash: AlgorithmIdentifier; - length?: number; -} - -interface DhKeyGenParams extends Algorithm { - prime: Uint8Array; - generator: Uint8Array; -} - -interface DhKeyAlgorithm extends KeyAlgorithm { - prime: Uint8Array; - generator: Uint8Array; -} - -interface DhKeyDeriveParams extends Algorithm { - public: CryptoKey; -} - -interface DhImportKeyParams extends Algorithm { - prime: Uint8Array; - generator: Uint8Array; -} - -interface ConcatParams extends Algorithm { - hash?: AlgorithmIdentifier; - algorithmId: Uint8Array; - partyUInfo: Uint8Array; - partyVInfo: Uint8Array; - publicInfo?: Uint8Array; - privateInfo?: Uint8Array; -} - -interface HkdfCtrParams extends Algorithm { - hash: AlgorithmIdentifier; - label: BufferSource; - context: BufferSource; -} - -interface Pbkdf2Params extends Algorithm { - salt: BufferSource; - iterations: number; - hash: AlgorithmIdentifier; -} - -interface RsaOtherPrimesInfo { - r: string; - d: string; - t: string; -} - -interface JsonWebKey { - kty: string; - use?: string; - key_ops?: string[]; - alg?: string; - kid?: string; - x5u?: string; - x5c?: string; - x5t?: string; - ext?: boolean; - crv?: string; - x?: string; - y?: string; - d?: string; - n?: string; - e?: string; - p?: string; - q?: string; - dp?: string; - dq?: string; - qi?: string; - oth?: RsaOtherPrimesInfo[]; - k?: string; -} - -interface EventListenerOptions { - capture?: boolean; -} - -interface AddEventListenerOptions extends EventListenerOptions { - passive?: boolean; - once?: boolean; -} - -interface AbortController { - readonly signal: AbortSignal; - abort(): void; -} - -declare var AbortController: { - prototype: AbortController; - new(): AbortController; -}; - -interface AbortSignal extends EventTarget { - readonly aborted: boolean; - onabort: (ev: Event) => any; -} - -interface EventSource extends EventTarget { - readonly url: string; - readonly withCredentials: boolean; - readonly CONNECTING: number; - readonly OPEN: number; - readonly CLOSED: number; - readonly readyState: number; - onopen: (evt: MessageEvent) => any; - onmessage: (evt: MessageEvent) => any; - onerror: (evt: MessageEvent) => any; - close(): void; -} - -declare var EventSource: { - prototype: EventSource; - new(url: string, eventSourceInitDict?: EventSourceInit): EventSource; +declare var XMLHttpRequestUpload: { + prototype: XMLHttpRequestUpload; + new(): XMLHttpRequestUpload; }; -interface EventSourceInit { - readonly withCredentials: boolean; -} - declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject; interface DecodeErrorCallback { (error: DOMException): void; } + interface DecodeSuccessCallback { (decodedData: AudioBuffer): void; } + interface ErrorEventHandler { - (message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void; + (event: Event | string, source?: string, fileno?: number, columnNumber?: number, error?: Error): void; } + interface ForEachCallback { - (keyId: any, status: MediaKeyStatus): void; + (keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, status: MediaKeyStatus): void; } + interface FunctionStringCallback { (data: string): void; } + interface NotificationPermissionCallback { (permission: NotificationPermission): void; } + interface PositionCallback { (position: Position): void; } + interface PositionErrorCallback { (error: PositionError): void; } -declare var onmessage: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any; + +declare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null; declare function close(): void; declare function postMessage(message: any, transfer?: any[]): void; +declare function dispatchEvent(evt: Event): boolean; declare var caches: CacheStorage; declare var isSecureContext: boolean; declare var location: WorkerLocation; -declare var onerror: (this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any; +declare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null; declare var performance: Performance; declare var self: WorkerGlobalScope; -declare function msWriteProfilerMark(profilerMarkName: string): void; declare function createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; declare function createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise; +declare function msWriteProfilerMark(profilerMarkName: string): void; declare function dispatchEvent(evt: Event): boolean; declare var indexedDB: IDBFactory; declare var msIndexedDB: IDBFactory; @@ -1895,33 +1707,27 @@ declare function clearImmediate(handle: number): void; declare function clearInterval(handle: number): void; declare function clearTimeout(handle: number): void; declare function importScripts(...urls: string[]): void; -declare function setImmediate(handler: (...args: any[]) => void): number; declare function setImmediate(handler: any, ...args: any[]): number; -declare function setInterval(handler: (...args: any[]) => void, timeout: number): number; declare function setInterval(handler: any, timeout?: any, ...args: any[]): number; -declare function setTimeout(handler: (...args: any[]) => void, timeout: number): number; declare function setTimeout(handler: any, timeout?: any, ...args: any[]): number; declare function atob(encodedString: string): string; declare function btoa(rawString: string): string; declare var console: Console; -declare function fetch(input: RequestInfo, init?: RequestInit): Promise; -declare function dispatchEvent(evt: Event): boolean; +declare function fetch(input?: Request | string, init?: RequestInit): Promise; declare function addEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; declare function removeEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; -type AlgorithmIdentifier = string | Algorithm; -type BodyInit = Blob | BufferSource | FormData | string; -type IDBKeyPath = string; -type RequestInfo = Request | string; -type USVString = string; -type IDBValidKey = number | string | Date | IDBArrayKey; -type BufferSource = ArrayBuffer | ArrayBufferView; type FormDataEntryValue = string | File; type HeadersInit = Headers | string[][] | { [key: string]: string }; +type BinaryType = "blob" | "arraybuffer"; +type ClientType = "window" | "worker" | "sharedworker" | "all"; type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique"; type IDBRequestReadyState = "pending" | "done"; type IDBTransactionMode = "readonly" | "readwrite" | "versionchange"; +type KeyFormat = "raw" | "spki" | "pkcs8" | "jwk"; +type KeyType = "public" | "private" | "secret"; +type KeyUsage = "encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey"; type MediaKeyStatus = "usable" | "expired" | "output-downscaled" | "output-not-allowed" | "status-pending" | "internal-error"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; @@ -1937,6 +1743,4 @@ type RequestType = "" | "audio" | "font" | "image" | "script" | "style" | "track type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type ServiceWorkerState = "installing" | "installed" | "activating" | "activated" | "redundant"; type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded"; -type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; -type ClientType = "window" | "worker" | "sharedworker" | "all"; -type FrameType = "auxiliary" | "top-level" | "nested" | "none"; \ No newline at end of file +type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; \ No newline at end of file From fde91ea5baaf4034b3e555ea0a8528b3f183ef02 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 21:46:17 -0800 Subject: [PATCH 40/93] Add missing types --- baselines/dom.generated.d.ts | 45 +++++++++++++++++++++++++-------- inputfiles/addedTypes.json | 28 ++++++++++++++++++++ inputfiles/overridingTypes.json | 24 ++++++++++++++++-- src/index.ts | 2 ++ 4 files changed, 87 insertions(+), 12 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 76a6f0681..b6f295d91 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -7598,6 +7598,18 @@ declare var HTMLTableColElement: { new(): HTMLTableColElement; }; +interface HTMLTableDataCellElement extends HTMLTableCellElement { + addEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableDataCellElement: { + prototype: HTMLTableDataCellElement; + new(): HTMLTableDataCellElement; +}; + interface HTMLTableElement extends HTMLElement { /** * Sets or retrieves a value that indicates the table alignment. @@ -7710,6 +7722,19 @@ declare var HTMLTableElement: { new(): HTMLTableElement; }; +interface HTMLTableHeaderCellElement extends HTMLTableCellElement { + scope: string; + addEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLTableHeaderCellElement: { + prototype: HTMLTableHeaderCellElement; + new(): HTMLTableHeaderCellElement; +}; + interface HTMLTableRowElement extends HTMLElement { /** * Sets or retrieves how the object is aligned with adjacent text. @@ -7721,7 +7746,7 @@ interface HTMLTableRowElement extends HTMLElement { /** * Retrieves a collection of all cells in the table row. */ - readonly cells: HTMLCollection; + readonly cells: HTMLCollectionOf; /** @deprecated */ ch: string; /** @deprecated */ @@ -7745,7 +7770,7 @@ interface HTMLTableRowElement extends HTMLElement { * Creates a new cell in the table row, and adds the cell to the cells collection. * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection. */ - insertCell(index?: number): HTMLTableCellElement; + insertCell(index?: number): HTMLTableDataCellElement; addEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -9691,12 +9716,6 @@ declare var PannerNode: { new(): PannerNode; }; -interface ParentNode { - readonly childElementCount: number; - readonly firstElementChild: Element | null; - readonly lastElementChild: Element | null; -} - interface ParentNode { readonly children: HTMLCollection; querySelectorAll(selectors: K): NodeListOf; @@ -9704,6 +9723,12 @@ interface ParentNode { querySelectorAll(selectors: string): NodeListOf; } +interface ParentNode { + readonly childElementCount: number; + readonly firstElementChild: Element | null; + readonly lastElementChild: Element | null; +} + interface Path2D extends CanvasPathMethods { } @@ -15637,11 +15662,11 @@ interface HTMLElementTagNameMap { "sup": HTMLElement; "table": HTMLTableElement; "tbody": HTMLTableSectionElement; - "td": HTMLTableCellElement; + "td": HTMLTableDataCellElement; "template": HTMLTemplateElement; "textarea": HTMLTextAreaElement; "tfoot": HTMLTableSectionElement; - "th": HTMLTableCellElement; + "th": HTMLTableHeaderCellElement; "thead": HTMLTableSectionElement; "time": HTMLTimeElement; "title": HTMLTitleElement; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index c8b909d11..dde1e1d4d 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2611,6 +2611,34 @@ } } } + }, + "HTMLTableDataCellElement": { + "name": "HTMLTableDataCellElement", + "extends": "HTMLTableCellElement", + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "td" + } + ] + }, + "HTMLTableHeaderCellElement": { + "name": "HTMLTableHeaderCellElement", + "extends": "HTMLTableCellElement", + "properties": { + "property": { + "scope": { + "name": "scope", + "override-type": "string" + } + } + }, + "element": [ + { + "name": "th" + } + ] } } }, diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 356267cb8..08be51a07 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -215,8 +215,7 @@ } } }, - "overide-index-signatures": [ - ] + "overide-index-signatures": [] }, "Document": { "name": "Document", @@ -1665,6 +1664,27 @@ } } } + }, + "HTMLTableRowElement": { + "name": "HTMLTableRowElement", + "properties": { + "property": { + "cells": { + "name": "cells", + "override-type": "HTMLCollectionOf" + } + } + }, + "methods": { + "method": { + "insertCell": { + "name": "insertCell", + "override-signatures": [ + "insertCell(index?: number): HTMLTableDataCellElement" + ] + } + } + } } } }, diff --git a/src/index.ts b/src/index.ts index a5e9b4c64..0ccb4d11e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,6 +85,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { case "a": return "HTMLAnchorElement"; case "title": return "HTMLTitleElement"; case "style": return "HTMLStyleElement"; + case "td": return "HTMLTableDataCellElement"; + case "th": return "HTMLTableHeaderCellElement"; default: return ""; } } From 196f5a3b408a75d5f76e5d207298c2dae09f293f Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 21:56:30 -0800 Subject: [PATCH 41/93] Add missing property --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index b6f295d91..7031e18bb 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -9338,6 +9338,7 @@ interface Navigator extends NavigatorID, NavigatorOnLine, NavigatorContentUtils, readonly msMaxTouchPoints: number; readonly msPointerEnabled: boolean; readonly plugins: PluginArray; + readonly pointerEnabled: boolean; readonly serviceWorker: ServiceWorkerContainer; readonly webdriver: boolean; getGamepads(): Array; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index dde1e1d4d..ec66ecbfc 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -716,6 +716,11 @@ }, "properties": { "property": { + "pointerEnabled": { + "name": "pointerEnabled", + "read-only": 1, + "override-type": "boolean" + }, "doNotTrack": { "name": "doNotTrack", "read-only": "1", From 9791e4c44d07732f1c27d7ec45aebfc81a4fb956 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 22:01:31 -0800 Subject: [PATCH 42/93] Add missing overloads --- baselines/dom.generated.d.ts | 6 ++++++ inputfiles/addedTypes.json | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 7031e18bb..2a7a7391f 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15114,8 +15114,11 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window resizeBy(x?: number, y?: number): void; resizeTo(x?: number, y?: number): void; scroll(options?: ScrollToOptions): void; + scroll(x?: number, y?: number): void; scrollBy(options?: ScrollToOptions): void; + scrollBy(x?: number, y?: number): void; scrollTo(options?: ScrollToOptions): void; + scrollTo(x?: number, y?: number): void; stop(): void; webkitCancelAnimationFrame(handle: number): void; webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint; @@ -15929,8 +15932,11 @@ declare function requestAnimationFrame(callback: FrameRequestCallback): number; declare function resizeBy(x?: number, y?: number): void; declare function resizeTo(x?: number, y?: number): void; declare function scroll(options?: ScrollToOptions): void; +declare function scroll(x?: number, y?: number): void; declare function scrollBy(options?: ScrollToOptions): void; +declare function scrollBy(x?: number, y?: number): void; declare function scrollTo(options?: ScrollToOptions): void; +declare function scrollTo(x?: number, y?: number): void; declare function stop(): void; declare function webkitCancelAnimationFrame(handle: number): void; declare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index ec66ecbfc..0d8b7fc18 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -252,19 +252,19 @@ }, "scroll": { "name": "scroll", - "override-signatures": [ + "additional-signatures": [ "scroll(options?: ScrollToOptions): void" ] }, "scrollTo": { "name": "scrollTo", - "override-signatures": [ + "additional-signatures": [ "scrollTo(options?: ScrollToOptions): void" ] }, "scrollBy": { "name": "scrollBy", - "override-signatures": [ + "additional-signatures": [ "scrollBy(options?: ScrollToOptions): void" ] } From a390b2e1cc4ddc2d75a530e1204faeae8ed30d79 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 26 Feb 2018 22:20:48 -0800 Subject: [PATCH 43/93] Fix querySelector signatures --- baselines/dom.generated.d.ts | 3 +++ src/index.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 2a7a7391f..40f98980e 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -9719,6 +9719,9 @@ declare var PannerNode: { interface ParentNode { readonly children: HTMLCollection; + querySelector(selectors: K): HTMLElementTagNameMap[K] | null; + querySelector(selectors: K): SVGElementTagNameMap[K] | null; + querySelector(selectors: string): E | null; querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: string): NodeListOf; diff --git a/src/index.ts b/src/index.ts index 0ccb4d11e..1eff68005 100644 --- a/src/index.ts +++ b/src/index.ts @@ -536,7 +536,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Emit overloads for the querySelector method function emitQuerySelectorOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "querySelector", "Element", "string")) { + if (matchSingleParamMethodSignature(m, "querySelector", "Element | null", "string")) { Pt.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); Pt.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); Pt.Printl("querySelector(selectors: string): E | null;"); From bd003ed03326d65d3f85e09a4323b6c5e2f0d8e3 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 09:17:27 -0800 Subject: [PATCH 44/93] Update XMLHttpRequest.send signature --- baselines/dom.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 40f98980e..f9c3634e1 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15295,7 +15295,7 @@ interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { msCachingEnabled(): boolean; open(method: string, url: string, async?: boolean, user?: string | null, password?: string | null): void; overrideMimeType(mime: string): void; - send(data?: Document | string): void; + send(data?: any): void; setRequestHeader(header: string, value: string): void; readonly DONE: number; readonly HEADERS_RECEIVED: number; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 08be51a07..3b47c4cdd 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1685,6 +1685,19 @@ } } } + }, + "XMLHttpRequest": { + "name": "XMLHttpRequest", + "methods": { + "method": { + "send": { + "name": "send", + "override-signatures": [ + "send(data?: any): void" + ] + } + } + } } } }, From a6d64c1bdd48beffba326669f3002aedf45efe07 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 09:18:01 -0800 Subject: [PATCH 45/93] Add missing typedef --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index f9c3634e1..6c8d47037 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15984,6 +15984,7 @@ type FormDataEntryValue = string | File; type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend"; type HeadersInit = Headers | string[][] | { [key: string]: string }; type OrientationLockType = "any" | "natural" | "portrait" | "landscape" | "portrait-primary" | "portrait-secondary" | "landscape-primary"| "landscape-secondary"; +type IDBValidKey = number | string | Date | IDBArrayKey; type AppendMode = "segments" | "sequence"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 0d8b7fc18..aaf07b564 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2761,6 +2761,10 @@ { "override-type": "\"any\" | \"natural\" | \"portrait\" | \"landscape\" | \"portrait-primary\" | \"portrait-secondary\" | \"landscape-primary\"| \"landscape-secondary\"", "new-type": "OrientationLockType" + }, + { + "override-type": "number | string | Date | IDBArrayKey", + "new-type": "IDBValidKey" } ] } From 336ac4b6f498bfa692ce01c192a5a1c750426b06 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 09:20:35 -0800 Subject: [PATCH 46/93] Change type for FileReader.result --- baselines/dom.generated.d.ts | 2 +- baselines/webworker.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 6c8d47037..c1ce67904 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -4728,7 +4728,7 @@ interface FileReader extends EventTarget { onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; readonly readyState: number; - readonly result: string | ArrayBuffer | null; + readonly result: any; abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(blob: Blob): void; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 7447360fc..de43fd294 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -595,7 +595,7 @@ interface FileReader extends EventTarget { onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; readonly readyState: number; - readonly result: string | ArrayBuffer | null; + readonly result: any; abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(blob: Blob): void; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 3b47c4cdd..54cc1b046 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1698,6 +1698,17 @@ } } } + }, + "FileReader": { + "name": "FileReader", + "properties": { + "property": { + "result": { + "name": "result", + "override-type": "any" + } + } + } } } }, From 464491425b2a1dffb6abd771548d6f153c3a4498 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 09:39:30 -0800 Subject: [PATCH 47/93] Hide Window.browser on the global scope --- baselines/dom.generated.d.ts | 1 - inputfiles/overridingTypes.json | 4 ++++ src/index.ts | 1 + src/types.d.ts | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index c1ce67904..eb4673fad 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15760,7 +15760,6 @@ declare var Blob: typeof Blob; declare var URL: typeof URL; declare var URLSearchParams: typeof URLSearchParams; declare var applicationCache: ApplicationCache; -declare var browser: BhxBrowser; declare var caches: CacheStorage; declare var clientInformation: Navigator; declare var closed: boolean; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 54cc1b046..530f8101a 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -196,6 +196,10 @@ "ontouchstart": { "name": "ontouchstart", "override-type": "(ev: TouchEvent) => any" + }, + "browser": { + "name": "browser", + "do-no-expose-on-polluter": 1 } } }, diff --git a/src/index.ts b/src/index.ts index 1eff68005..5729be9c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -743,6 +743,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (i.properties) { mapToArray(i.properties.property) .filter(p => !isCovariantEventHandler(i, p)) + .filter(p => !(prefix.startsWith("declare var") && p["do-no-expose-on-polluter"])) .sort(compareName) .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); } diff --git a/src/types.d.ts b/src/types.d.ts index a6c57b252..7b45c6fb0 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -76,6 +76,7 @@ export type Property = { "interop"?: 1; "exposed"?: string; "constant"?: 1; + "do-no-expose-on-polluter"?: 1 }; export type Event = { From fa29c3499084a4f74ee45b26be6f880fcf3ec9e3 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 10:09:31 -0800 Subject: [PATCH 48/93] Fix MediaList.mediaText type --- baselines/dom.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index eb4673fad..5ba7dae04 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -8997,7 +8997,7 @@ declare var MediaKeys: { interface MediaList { readonly length: number; - mediaText: number; + mediaText: string; appendMedium(medium: string): void; deleteMedium(medium: string): void; item(index: number): string | null; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 530f8101a..be71bb37d 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1713,6 +1713,17 @@ } } } + }, + "MediaList": { + "name": "MediaList", + "properties": { + "property": { + "mediaText": { + "name": "mediaText", + "override-type": "string" + } + } + } } } }, From ac985b82f32cbbac57ef8292c8882995d295d954 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 10:11:12 -0800 Subject: [PATCH 49/93] Add NodeSelector interface --- baselines/dom.generated.d.ts | 21 ++++++++++++----- inputfiles/addedTypes.json | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 6 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 5ba7dae04..1fb5f35a1 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -9524,6 +9524,15 @@ interface NodeListOf extends NodeList { [index: number]: TNode; } +interface NodeSelector { + querySelector(selectors: K): HTMLElementTagNameMap[K] | null; + querySelector(selectors: K): SVGElementTagNameMap[K] | null; + querySelector(selectors: string): E | null; + querySelectorAll(selectors: K): NodeListOf; + querySelectorAll(selectors: K): NodeListOf; + querySelectorAll(selectors: string): NodeListOf; +} + interface NotificationEventMap { "click": Event; "close": Event; @@ -9717,6 +9726,12 @@ declare var PannerNode: { new(): PannerNode; }; +interface ParentNode { + readonly childElementCount: number; + readonly firstElementChild: Element | null; + readonly lastElementChild: Element | null; +} + interface ParentNode { readonly children: HTMLCollection; querySelector(selectors: K): HTMLElementTagNameMap[K] | null; @@ -9727,12 +9742,6 @@ interface ParentNode { querySelectorAll(selectors: string): NodeListOf; } -interface ParentNode { - readonly childElementCount: number; - readonly firstElementChild: Element | null; - readonly lastElementChild: Element | null; -} - interface Path2D extends CanvasPathMethods { } diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index aaf07b564..cd9c1726a 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2644,6 +2644,50 @@ "name": "th" } ] + }, + "NodeSelector": { + "name": "NodeSelector", + "extends": "Object", + "no-interface-object": "1", + "methods": { + "method": { + "querySelectorAll": { + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "name": "querySelectorAll" + }, + "querySelector": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element?" + } + ], + "name": "querySelector" + } + } + } } } }, From 7c495cf20f871b88683f4f93cefcc971cffe44ac Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 10:33:33 -0800 Subject: [PATCH 50/93] Add missing typedef --- baselines/dom.generated.d.ts | 1 + baselines/webworker.generated.d.ts | 1 + inputfiles/addedTypes.json | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 1fb5f35a1..3a59b1e78 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15993,6 +15993,7 @@ type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend"; type HeadersInit = Headers | string[][] | { [key: string]: string }; type OrientationLockType = "any" | "natural" | "portrait" | "landscape" | "portrait-primary" | "portrait-secondary" | "landscape-primary"| "landscape-secondary"; type IDBValidKey = number | string | Date | IDBArrayKey; +type AlgorithmIdentifier = string | Algorithm; type AppendMode = "segments" | "sequence"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index de43fd294..f65ef49f5 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -1720,6 +1720,7 @@ declare function removeEventListener Date: Tue, 27 Feb 2018 10:49:10 -0800 Subject: [PATCH 51/93] Make indexers non-nullable --- baselines/dom.generated.d.ts | 20 ++++++++++---------- baselines/webworker.generated.d.ts | 4 ++-- src/index.ts | 6 +++++- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 3a59b1e78..5ad5df85e 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2270,7 +2270,7 @@ declare var CSSRule: { interface CSSRuleList { readonly length: number; item(index: number): CSSRule | null; - [index: number]: CSSRule | null; + [index: number]: CSSRule; } declare var CSSRuleList: { @@ -3259,7 +3259,7 @@ interface DOMStringList { readonly length: number; contains(str: string): boolean; item(index: number): string | null; - [index: number]: string | null; + [index: number]: string; } declare var DOMStringList: { @@ -3284,7 +3284,7 @@ interface DOMTokenList { remove(...tokens: string[]): void; toString(): string; toggle(token: string, force?: boolean): boolean; - [index: number]: string | null; + [index: number]: string; } declare var DOMTokenList: { @@ -4698,7 +4698,7 @@ declare var File: { interface FileList { readonly length: number; item(index: number): File | null; - [index: number]: File | null; + [index: number]: File; } declare var FileList: { @@ -4915,7 +4915,7 @@ interface HTMLAllCollection { readonly length: number; item(nameOrIndex?: string): HTMLCollection | Element | null; namedItem(name: string): HTMLCollection | Element | null; - [index: number]: Element | null; + [index: number]: Element; } declare var HTMLAllCollection: { @@ -5307,7 +5307,7 @@ interface HTMLCollectionBase { * Retrieves an object from various collections. */ item(index: number): Element; - [index: number]: Element | null; + [index: number]: Element; } interface HTMLCollection extends HTMLCollectionBase { @@ -9002,7 +9002,7 @@ interface MediaList { deleteMedium(medium: string): void; item(index: number): string | null; toString(): number; - [index: number]: string | null; + [index: number]: string; } declare var MediaList: { @@ -9317,7 +9317,7 @@ interface NamedNodeMap { removeNamedItemNS(namespace: string | null, localName: string): Attr; setNamedItem(attr: Attr): Attr | null; setNamedItemNS(attr: Attr): Attr | null; - [index: number]: Attr | null; + [index: number]: Attr; } declare var NamedNodeMap: { @@ -13081,7 +13081,7 @@ declare var StyleSheet: { interface StyleSheetList { readonly length: number; item(index: number): StyleSheet | null; - [index: number]: StyleSheet | null; + [index: number]: StyleSheet; } declare var StyleSheetList: { @@ -13366,7 +13366,7 @@ interface TouchEventInit extends EventModifierInit { interface TouchList { readonly length: number; item(index: number): Touch | null; - [index: number]: Touch | null; + [index: number]: Touch; } declare var TouchList: { diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index f65ef49f5..7c3fa933b 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -424,7 +424,7 @@ interface DOMStringList { readonly length: number; contains(str: string): boolean; item(index: number): string | null; - [index: number]: string | null; + [index: number]: string; } declare var DOMStringList: { @@ -565,7 +565,7 @@ declare var File: { interface FileList { readonly length: number; item(index: number): File | null; - [index: number]: File | null; + [index: number]: File; } declare var FileList: { diff --git a/src/index.ts b/src/index.ts index 5729be9c3..798475625 100644 --- a/src/index.ts +++ b/src/index.ts @@ -987,7 +987,11 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { .forEach(m => { let indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; if (indexer) { - Pt.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType(m.signature[0])};`); + Pt.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ + type: m.signature[0].type, + subtype: m.signature[0].subtype, + nullable: undefined + })};`); } }); } From 1d73253eda10b5908e2f8d9a341713a5097a703b Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 10:49:41 -0800 Subject: [PATCH 52/93] Use the right tsc in tests --- src/test.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/test.ts b/src/test.ts index 681b61a82..5d756bce6 100644 --- a/src/test.ts +++ b/src/test.ts @@ -1,4 +1,3 @@ - import * as fs from "fs"; import * as path from "path"; import child_process from "child_process"; @@ -6,6 +5,7 @@ import child_process from "child_process"; const __SOURCE_DIRECTORY__ = __dirname; const baselineFolder = path.join(__SOURCE_DIRECTORY__, "../", "baselines"); const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); +const tscPath = path.join(__SOURCE_DIRECTORY__, "../", "node_modules", "typescript", "lib", "tsc.js"); function compareToBaselines() { let success = true; @@ -24,7 +24,7 @@ function compareToBaselines() { function compileGeneratedFile(file: string) { let success = true; try { - child_process.execSync(`tsc --strict --lib es5 --noEmit ${path.join(outputFolder, file)}`); + child_process.execSync(`node ${tscPath} --strict --lib es5 --noEmit ${path.join(outputFolder, file)}`); } catch (e) { console.error(`Test failed: could not compile '${file}':`); console.error(e.stdout.toString()); @@ -35,12 +35,11 @@ function compileGeneratedFile(file: string) { } function test() { - if (compareToBaselines()) { - if (compileGeneratedFile("dom.generated.d.ts") && - compileGeneratedFile("webworker.generated.d.ts")) { - console.log("All tests passed."); - process.exit(0); - } + if (compareToBaselines() && + compileGeneratedFile("dom.generated.d.ts") && + compileGeneratedFile("webworker.generated.d.ts")) { + console.log("All tests passed."); + process.exit(0); } process.exit(1); } From 131d6459d5b99f9c336439d49a37a864e9729688 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 12:46:49 -0800 Subject: [PATCH 53/93] Port https://github.com/Microsoft/TSJS-lib-generator/pull/371 --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 5ad5df85e..8960f2767 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2133,6 +2133,7 @@ declare var CDATASection: { }; interface CSS { + escape(value: string): string; supports(property: string, value?: string): boolean; } declare var CSS: CSS; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 838abaa87..c21f638eb 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2688,6 +2688,20 @@ } } } + }, + "CSS": { + "name": "CSS", + "methods": { + "method": { + "escape": { + "name": "escape", + "override-signatures": [ + "escape(value: string): string" + ], + "static": 1 + } + } + } } } }, From c54015bc25e3c0c28f0c115d3fdaca57e09f475e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 12:51:37 -0800 Subject: [PATCH 54/93] Port https://github.com/Microsoft/TSJS-lib-generator/pull/380 --- baselines/dom.generated.d.ts | 3 ++- inputfiles/addedTypes.json | 4 ++++ inputfiles/overridingTypes.json | 11 +++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 8960f2767..a09bb4b3b 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -9301,7 +9301,7 @@ interface MutationRecord { readonly previousSibling: Node | null; readonly removedNodes: NodeList; readonly target: Node; - readonly type: string; + readonly type: MutationRecordType; } declare var MutationRecord: { @@ -15995,6 +15995,7 @@ type HeadersInit = Headers | string[][] | { [key: string]: string }; type OrientationLockType = "any" | "natural" | "portrait" | "landscape" | "portrait-primary" | "portrait-secondary" | "landscape-primary"| "landscape-secondary"; type IDBValidKey = number | string | Date | IDBArrayKey; type AlgorithmIdentifier = string | Algorithm; +type MutationRecordType = "attributes" | "characterData" | "childList"; type AppendMode = "segments" | "sequence"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index c21f638eb..c70637996 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2827,6 +2827,10 @@ { "override-type": "string | Algorithm", "new-type": "AlgorithmIdentifier" + }, + { + "new-type": "MutationRecordType", + "override-type": "\"attributes\" | \"characterData\" | \"childList\"" } ] } diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index be71bb37d..d10b7f0c6 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1724,6 +1724,17 @@ } } } + }, + "MutationRecord": { + "name": "MutationRecord", + "properties": { + "property": { + "type": { + "name": "type", + "override-type": "MutationRecordType" + } + } + } } } }, From 9ddd9e5b47690c97ab9e24c2d37ffc2469549244 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 15:43:04 -0800 Subject: [PATCH 55/93] Refactor override-type --- src/index.ts | 18 ++++-------------- src/types.d.ts | 1 + 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/index.ts b/src/index.ts index 798475625..e08c19195 100644 --- a/src/index.ts +++ b/src/index.ts @@ -370,7 +370,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Get typescript type using object dom type, object name, and it's associated interface name function convertDomTypeToTsType(obj: Browser.Typed): string { - if (!obj || !obj.type) throw new Error("Missing type " + JSON.stringify(obj)); + if (obj["override-type"]) return obj["override-type"]!; + if (!obj.type) throw new Error("Missing type " + JSON.stringify(obj)); const type = convertDomTypeToTsTypeWorker(obj) return type.nullable ? makeNullable(type.name) : type.name; } @@ -1130,18 +1131,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (dict.members) { mapToArray(dict.members.member) .sort(compareName) - .forEach(m => { - let tsType; - if (m["override-type"]) { - tsType = m["override-type"]; - } - else { - tsType = convertDomTypeToTsType(m); - tsType = m.nullable ? makeNullable(tsType) : tsType; - } - let requiredModifier = m.required === 1 ? "" : "?"; - Pt.Printl(`${m.name}${requiredModifier}: ${tsType};`); - }); + .forEach(m => Pt.Printl(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); } Pt.DecreaseIndent(); Pt.Printl("}"); @@ -1155,7 +1145,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitTypeDef(typeDef: Browser.TypeDef) { - Pt.Printl(`type ${typeDef["new-type"]} = ${typeDef["override-type"] || convertDomTypeToTsType(typeDef)};`); + Pt.Printl(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); } function emitTypeDefs() { diff --git a/src/types.d.ts b/src/types.d.ts index 7b45c6fb0..60a3f9069 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -3,6 +3,7 @@ export type Typed = { "subtype"?: Typed; "nullable"?: 1; "type-original"?: string; + "override-type"?: string; }; export type Param = { From 3417a192c525ff410f106cfa10804ab7f89e121c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 15:52:10 -0800 Subject: [PATCH 56/93] Consolidate handeling of override-signatures --- src/index.ts | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/src/index.ts b/src/index.ts index e08c19195..9678ed0bb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -636,12 +636,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitCallBackFunction(cb: Browser.CallbackFunction) { Pt.Printl(`interface ${cb.name} {`); Pt.IncreaseIndent(); - if (cb["override-signatures"]) { - cb["override-signatures"]!.forEach(s => Pt.Printl(`${s};`)); - } - else { - emitSignatures(cb.signature, "", "", s => Pt.Printl(s)); - } + emitSignatures(cb, "", "", s => Pt.Printl(s)); Pt.DecreaseIndent(); Pt.Printl("}"); Pt.Printl(""); @@ -761,23 +756,14 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitComments(m, printLine); - if (m["override-signatures"]) { - m["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); - } - else { - switch (m.name) { - case "createElement": return emitCreateElementOverloads(m); - case "createEvent": return emitCreateEventOverloads(m); - case "getElementsByTagName": return emitGetElementsByTagNameOverloads(m); - case "querySelector": return emitQuerySelectorOverloads(m); - case "querySelectorAll": return emitQuerySelectorAllOverloads(m); - } - if (m["additional-signatures"]) { - m["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); - } - - emitSignatures(m.signature, prefix, m.name, printLine); + switch (m.name) { + case "createElement": return emitCreateElementOverloads(m); + case "createEvent": return emitCreateEventOverloads(m); + case "getElementsByTagName": return emitGetElementsByTagNameOverloads(m); + case "querySelector": return emitQuerySelectorOverloads(m); + case "querySelectorAll": return emitQuerySelectorAllOverloads(m); } + emitSignatures(m, prefix, m.name, printLine); } function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { @@ -787,9 +773,15 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); } - function emitSignatures(sigs: Browser.Signature[] | undefined, prefix: string, name: string, printLine: (s: string) => void) { - if (sigs) { - sigs.forEach(sig => emitSignature(sig, prefix, name, printLine)); + function emitSignatures(method: { signature?: Browser.Signature[], "override-signatures"?: string[], "additional-signatures"?: string[] }, prefix: string, name: string, printLine: (s: string) => void) { + if (method["override-signatures"]) { + method["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); + } + else if (method.signature) { + if (method["additional-signatures"]) { + method["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); + } + method.signature.forEach(sig => emitSignature(sig, prefix, name, printLine)); } } From 5dc147af3f35835e3dfba40a5716d121d0fc8f68 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 21:31:55 -0800 Subject: [PATCH 57/93] Consolidate the use of override-signature --- inputfiles/addedTypes.json | 92 +++++++++++++++++++------------ inputfiles/comments.json | 14 ----- inputfiles/overridingTypes.json | 98 ++++++++++++++++++++------------- src/index.ts | 32 +++++------ src/types.d.ts | 1 - 5 files changed, 132 insertions(+), 105 deletions(-) diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index c70637996..d632ee8fc 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -75,9 +75,11 @@ } } }, - "override-constructor-signatures": [ - "new(name: string): BroadcastChannel" - ] + "constructor": { + "override-signatures": [ + "new(name: string): BroadcastChannel" + ] + } }, "BroadcastChannelEventMap": { "name": "BroadcastChannelEventMap", @@ -361,9 +363,11 @@ } } }, - "override-constructor-signatures": [ - "new (init?: string | URLSearchParams): URLSearchParams" - ] + "constructor": { + "override-signatures": [ + "new (init?: string | URLSearchParams): URLSearchParams" + ] + } }, "URL": { "name": "URL", @@ -1474,17 +1478,21 @@ } } }, - "override-constructor-signatures": [ - "new(): HTMLDialogElement" - ] + "constructor": { + "override-signatures": [ + "new(): HTMLDialogElement" + ] + } }, "HTMLMainElement": { "name": "HTMLMainElement", "extends": "HTMLElement", "flavor": "Web", - "override-constructor-signatures": [ - "new(): HTMLMainElement" - ] + "constructor": { + "override-signatures": [ + "new(): HTMLMainElement" + ] + } }, "HTMLDetailsElement": { "name": "HTMLDetailsElement", @@ -1498,17 +1506,21 @@ } } }, - "override-constructor-signatures": [ - "new(): HTMLDetailsElement" - ] + "constructor": { + "override-signatures": [ + "new(): HTMLDetailsElement" + ] + } }, "HTMLSummaryElement": { "name": "HTMLSummaryElement", "extends": "HTMLElement", "flavor": "Web", - "override-constructor-signatures": [ - "new(): HTMLSummaryElement" - ] + "constructor": { + "override-signatures": [ + "new(): HTMLSummaryElement" + ] + } }, "DOMRectReadOnly": { "name": "DOMRectReadOnly", @@ -1557,10 +1569,12 @@ } } }, - "override-constructor-signatures": [ - "new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly", - "fromRect(rectangle?: DOMRectInit): DOMRectReadOnly" - ] + "constructor": { + "override-signatures": [ + "new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly", + "fromRect(rectangle?: DOMRectInit): DOMRectReadOnly" + ] + } }, "EXT_blend_minmax": { "name": "EXT_blend_minmax", @@ -1650,10 +1664,12 @@ } } }, - "override-constructor-signatures": [ - "new (x?: number, y?: number, width?: number, height?: number): DOMRect", - "fromRect(rectangle?: DOMRectInit): DOMRect" - ] + "constructor": { + "override-signatures": [ + "new (x?: number, y?: number, width?: number, height?: number): DOMRect", + "fromRect(rectangle?: DOMRectInit): DOMRect" + ] + } }, "DOMRectList": { "name": "DOMRectList", @@ -2282,9 +2298,11 @@ } } }, - "override-constructor-signatures": [ - "new(url: string, eventSourceInitDict?: EventSourceInit): EventSource" - ] + "constructor": { + "override-signatures": [ + "new(url: string, eventSourceInitDict?: EventSourceInit): EventSource" + ] + } }, "EventSourceInit": { "name": "EventSourceInit", @@ -2480,9 +2498,11 @@ } } }, - "override-constructor-signatures": [ - "new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent" - ] + "constructor": { + "override-signatures": [ + "new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent" + ] + } }, "Animation": { "flavor": "Web", @@ -2581,9 +2601,11 @@ } } }, - "override-constructor-signatures": [ - "new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation" - ] + "constructor": { + "override-signatures": [ + "new(effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation" + ] + } }, "HTMLElement": { "name": "HTMLElement", diff --git a/inputfiles/comments.json b/inputfiles/comments.json index 5b728cf4e..f7d75dd5d 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -404,13 +404,6 @@ "comment": "/**\r\n * Sets or retrieves the shape of the object.\r\n */" } } - }, - "methods": { - "method": { - "toString": { - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - } } }, "HTMLButtonElement": { @@ -1262,13 +1255,6 @@ "comment": "/**\r\n * Retrieves or sets the text of the object as a string.\r\n */" } } - }, - "methods": { - "method": { - "toString": { - "comment": "/**\r\n * Returns a string representation of an object.\r\n */" - } - } } }, "HTMLParamElement": { diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index d10b7f0c6..a2e72c2dd 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -161,9 +161,11 @@ "type-parameters": [ "T = any" ], - "override-constructor-signatures": [ - "new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent" - ] + "constructor": { + "override-signatures": [ + "new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent" + ] + } }, "Window": { "name": "Window", @@ -884,9 +886,11 @@ }, "Blob": { "name": "Blob", - "override-constructor-signatures": [ - "new (blobParts?: any[], options?: BlobPropertyBag): Blob" - ] + "constructor": { + "override-signatures": [ + "new (blobParts?: any[], options?: BlobPropertyBag): Blob" + ] + } }, "FormData": { "name": "FormData", @@ -921,15 +925,19 @@ }, "MessageEvent": { "name": "MessageEvent", - "override-constructor-signatures": [ - "new(type: string, eventInitDict?: MessageEventInit): MessageEvent" - ] + "constructor": { + "override-signatures": [ + "new(type: string, eventInitDict?: MessageEventInit): MessageEvent" + ] + } }, "File": { "name": "File", - "override-constructor-signatures": [ - "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" - ], + "constructor": { + "override-signatures": [ + "new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File" + ] + }, "properties": { "property": { "lastModifiedDate": { @@ -942,10 +950,12 @@ }, "ImageData": { "name": "ImageData", - "override-constructor-signatures": [ - "new(width: number, height: number): ImageData", - "new(array: Uint8ClampedArray, width: number, height: number): ImageData" - ], + "constructor": { + "override-signatures": [ + "new(width: number, height: number): ImageData", + "new(array: Uint8ClampedArray, width: number, height: number): ImageData" + ] + }, "properties": { "property": { "data": { @@ -957,9 +967,11 @@ }, "DOMException": { "name": "DOMException", - "override-constructor-signatures": [ - "new(message?: string, name?: string): DOMException" - ] + "constructor": { + "override-signatures": [ + "new(message?: string, name?: string): DOMException" + ] + } }, "HTMLSelectElement": { "name": "HTMLSelectElement", @@ -1136,9 +1148,11 @@ }, "StorageEvent": { "name": "StorageEvent", - "override-constructor-signatures": [ - "new (type: string, eventInitDict?: StorageEventInit): StorageEvent" - ] + "constructor": { + "override-signatures": [ + "new (type: string, eventInitDict?: StorageEventInit): StorageEvent" + ] + } }, "IDBCursor": { "name": "IDBCursor", @@ -1196,9 +1210,11 @@ }, "ClipboardEvent": { "name": "ClipboardEvent", - "override-constructor-signatures": [ - "new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent" - ] + "constructor": { + "override-signatures": [ + "new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent" + ] + } }, "Storage": { "name": "Storage", @@ -1413,21 +1429,27 @@ }, "TouchEvent": { "name": "TouchEvent", - "override-constructor-signatures": [ - "new(type: string, touchEventInit?: TouchEventInit): TouchEvent" - ] + "constructor": { + "override-signatures": [ + "new(type: string, touchEventInit?: TouchEventInit): TouchEvent" + ] + } }, "Text": { "name": "Text", - "override-constructor-signatures": [ - "new(data?: string): Text" - ] + "constructor": { + "override-signatures": [ + "new(data?: string): Text" + ] + } }, "DragEvent": { "name": "DragEvent", - "override-constructor-signatures": [ - "new(type: \"drag\" | \"dragend\" | \"dragenter\" | \"dragexit\" | \"dragleave\" | \"dragover\" | \"dragstart\" | \"drop\", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent" - ] + "constructor": { + "override-signatures": [ + "new(type: \"drag\" | \"dragend\" | \"dragenter\" | \"dragexit\" | \"dragleave\" | \"dragover\" | \"dragstart\" | \"drop\", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent" + ] + } }, "HTMLAppletElement": { "name": "HTMLAppletElement", @@ -1585,9 +1607,11 @@ }, "Headers": { "name": "Headers", - "override-constructor-signatures": [ - "new(init?: HeadersInit): Headers" - ] + "constructor": { + "override-signatures": [ + "new(init?: HeadersInit): Headers" + ] + } }, "ServiceWorkerContainer": { "name": "ServiceWorkerContainer", diff --git a/src/index.ts b/src/index.ts index 9678ed0bb..c4b0507f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -875,14 +875,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitComments(constructor, s => Pt.Print(s)); // Emit constructor signature - if (i["override-constructor-signatures"]) { - i["override-constructor-signatures"]!.forEach(s => Pt.Printl(`${s};`)); - } - else if (constructor) { - for (const s of constructor.signature) { - let paramsString = s.param ? paramsToString(s.param) : ""; - Pt.Printl(`new(${paramsString}): ${i.name};`); - } + if (constructor) { + emitSignatures(constructor, "", "new", s => Pt.Printl(s)); } else { Pt.Printl(`new(): ${i.name};`); @@ -1394,20 +1388,22 @@ function emitDom() { function merge(src: T, target: T): T { if (typeof src !== "object" || typeof target !== "object") return src; for (const k in target) { - if (src[k] && target[k]) { - const srcProp = src[k]; - const targetProp = target[k]; - if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - mergeNamedArrays(srcProp, targetProp); + if (Object.getOwnPropertyDescriptor(target, k)) { + if (Object.getOwnPropertyDescriptor(src, k)) { + const srcProp = src[k]; + const targetProp = target[k]; + if (Array.isArray(srcProp) && Array.isArray(targetProp)) { + mergeNamedArrays(srcProp, targetProp); + } + else { + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); + merge(src[k], target[k]); + } } else { - if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); - merge(src[k], target[k]); + src[k] = target[k]; } } - else { - src[k] = target[k]; - } } return src; } diff --git a/src/types.d.ts b/src/types.d.ts index 60a3f9069..d8c6dbde4 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -192,7 +192,6 @@ export type Interface = { "no-interface-object"?: string; "global"?: string; "type-parameters"?: string[]; - "override-constructor-signatures"?: string[]; "overide-index-signatures"?: string[]; "specs"?: string; "iterable"?: "value" | "pair" | "pair-iterator"; From a8d4b4b71dae4b70ed2fdfa5ffb84767071345d8 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 27 Feb 2018 22:07:09 -0800 Subject: [PATCH 58/93] Some cleanup --- src/index.ts | 77 ++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/src/index.ts b/src/index.ts index c4b0507f3..7b3737378 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,9 +39,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { getElements(webidl["mixins"], "mixin")); const allInterfacesMap = toNameMap(allInterfaces); - const allDictionariesMap: Record = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; - const allEnumsMap: Record = webidl.enums ? webidl.enums.enum : {}; - const allCallbackFunctionsMap: Record = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; + const allDictionariesMap = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; + const allEnumsMap = webidl.enums ? webidl.enums.enum : {}; + const allCallbackFunctionsMap = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); const extendConflictsBaseTypes: Record }> = { @@ -50,7 +50,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { }; /// Event name to event type map - let eNameToEType = (function() { + const eNameToEType = (function() { function eventType(e: Browser.Event) { switch (e.name) { case "abort": return "UIEvent"; @@ -78,43 +78,36 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { })(); /// Tag name to element name map - let tagNameToEleName = (function() { - function preferedElementMap(name: string) { - switch (name) { - case "script": return "HTMLScriptElement"; - case "a": return "HTMLAnchorElement"; - case "title": return "HTMLTitleElement"; - case "style": return "HTMLStyleElement"; - case "td": return "HTMLTableDataCellElement"; - case "th": return "HTMLTableHeaderCellElement"; - default: return ""; - } - } + const tagNameToEleName = (function() { + const preferedElementMap: Record = { + "script": "HTMLScriptElement", + "a": "HTMLAnchorElement", + "title": "HTMLTitleElement", + "style": "HTMLStyleElement", + "td": "HTMLTableDataCellElement", + "th": "HTMLTableHeaderCellElement" + }; function resolveElementConflict(tagName: string, iNames: string[]) { - const name = preferedElementMap(tagName); + const name = preferedElementMap[tagName] || ""; if (iNames.indexOf(name) != -1) return name; throw new Error("Element conflict occured! Typename: " + tagName); } - let nativeTagNamesToInterface = (function() { - const result: Record = {}; - for (const i of allNonCallbackInterfaces) { - if (i.element) { - for (const e of i.element) { - result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; - } + const result: Record = {}; + for (const i of allNonCallbackInterfaces) { + if (i.element) { + for (const e of i.element) { + result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; } } - return result; - })(); - - return nativeTagNamesToInterface; + } + return result; })(); /// Interface name to all its implemented / inherited interfaces name list map /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - let iNameToIDependList = (function() { + const iNameToIDependList = (function() { function getExtendList(iName: string): string[] { var i = allInterfacesMap[iName]; if (!i || !i.extends || i.extends === "Object") return []; @@ -135,7 +128,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { })(); /// Distinct event type list, used in the "createEvent" function - let distinctETypeList = (function() { + const distinctETypeList = (function() { let eventsMap: Record = {}; for (const i of allNonCallbackInterfaces) { @@ -159,7 +152,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// 1. eventhanlder name: "onready", "onabort" etc. /// 2. the event name that it handles: "ready", "SVGAbort" etc. /// And they don't NOT just differ by an "on" prefix! - let iNameToEhList = (function() { + const iNameToEhList = (function() { function getEventTypeFromHandler(p: Browser.Property) { let eType = // Check the "event-handler" attribute of the event handler property, @@ -187,11 +180,15 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return ownEventHandler; } - return arrayToMap(allInterfaces.map(i => [i.name, getEventHandler(i)] as [string, EventHandler[]])); + const result: Record = {}; + for (const i of allInterfaces) { + result[i.name] = getEventHandler(i); + } + return result; })(); // Map of interface.Name -> List of base interfaces with event handlers - let iNameToEhParents = (function() { + const iNameToEhParents = (function() { function hasHandler(i: Browser.Interface) { return iNameToEhList[i.name] && iNameToEhList[i.name].length; } @@ -214,7 +211,11 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); } - return arrayToMap(allInterfaces.map(i => [i.name, getParentsWithEventHandler(i)] as [string, Browser.Interface[]])); + const result: Record = {}; + for (const i of allInterfaces) { + result[i.name] = getParentsWithEventHandler(i); + } + return result; })(); return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emitTheWholeThing(); @@ -280,14 +281,6 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return result; } - function arrayToMap(array: [string, T][]) { - const result: Record = {}; - for (const value of array) { - result[value[0]] = value[1]; - } - return result; - } - /// Determine if interface1 depends on interface2 function dependsOn(i1Name: string, i2Name: string) { return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] From 3a5f64e768d566ae165b8dedb1089e877dc4469c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 11:16:27 -0800 Subject: [PATCH 59/93] Make es6 iterators non-nullable just like indexers --- baselines/dom.es6.generated.d.ts | 20 ++++++++++---------- src/index.ts | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/baselines/dom.es6.generated.d.ts b/baselines/dom.es6.generated.d.ts index e5b928721..6179fbeea 100644 --- a/baselines/dom.es6.generated.d.ts +++ b/baselines/dom.es6.generated.d.ts @@ -7,7 +7,7 @@ interface AudioTrackList { } interface CSSRuleList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface CSSStyleDeclaration { @@ -19,11 +19,11 @@ interface ClientRectList { } interface DOMStringList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface DOMTokenList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface DataTransferItemList { @@ -31,15 +31,15 @@ interface DataTransferItemList { } interface FileList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface HTMLAllCollection { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface HTMLCollection { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface MSRangeCollection { @@ -47,7 +47,7 @@ interface MSRangeCollection { } interface MediaList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface MimeTypeArray { @@ -55,7 +55,7 @@ interface MimeTypeArray { } interface NamedNodeMap { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface NodeList { @@ -75,7 +75,7 @@ interface SourceBufferList { } interface StyleSheetList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface StyleSheetPageList { @@ -91,7 +91,7 @@ interface TextTrackList { } interface TouchList { - [Symbol.iterator](): IterableIterator + [Symbol.iterator](): IterableIterator } interface VideoTrackList { diff --git a/src/index.ts b/src/index.ts index 7b3737378..6aea95aa3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1206,8 +1206,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (iterableGetter && lengthProperty) { Pt.Printl(`interface ${i.name} {`); Pt.IncreaseIndent(); - Pt.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType(iterableGetter.signature[0])}>`); - Pt.DecreaseIndent() + Pt.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); + Pt.DecreaseIndent(); Pt.Printl("}"); Pt.Printl(""); } From 4a7505dbfe0cff57851019f2defd69e6f9cafd1f Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 12:21:07 -0800 Subject: [PATCH 60/93] Remove some MS-specific types from the library --- baselines/dom.es6.generated.d.ts | 8 - baselines/dom.generated.d.ts | 428 +++++++++++++------------------ inputfiles/comments.json | 3 - inputfiles/overridingTypes.json | 17 ++ 4 files changed, 198 insertions(+), 258 deletions(-) diff --git a/baselines/dom.es6.generated.d.ts b/baselines/dom.es6.generated.d.ts index 6179fbeea..3f2c5ea9b 100644 --- a/baselines/dom.es6.generated.d.ts +++ b/baselines/dom.es6.generated.d.ts @@ -42,10 +42,6 @@ interface HTMLCollection { [Symbol.iterator](): IterableIterator } -interface MSRangeCollection { - [Symbol.iterator](): IterableIterator -} - interface MediaList { [Symbol.iterator](): IterableIterator } @@ -78,10 +74,6 @@ interface StyleSheetList { [Symbol.iterator](): IterableIterator } -interface StyleSheetPageList { - [Symbol.iterator](): IterableIterator -} - interface TextTrackCueList { [Symbol.iterator](): IterableIterator } diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a09bb4b3b..8411788c8 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2693,7 +2693,7 @@ interface CSSStyleSheet extends StyleSheet { /** @deprecated */ readonly owningElement: Element; /** @deprecated */ - readonly pages: StyleSheetPageList; + readonly pages: any; /** @deprecated */ readonly readOnly: boolean; readonly rules: CSSRuleList; @@ -3451,9 +3451,9 @@ interface DhKeyGenParams extends Algorithm { interface DocumentEventMap extends GlobalEventHandlersEventMap { "abort": UIEvent; - "activate": UIEvent; - "beforeactivate": UIEvent; - "beforedeactivate": UIEvent; + "activate": Event; + "beforeactivate": Event; + "beforedeactivate": Event; "blur": FocusEvent; "canplay": Event; "canplaythrough": Event; @@ -3461,7 +3461,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { "click": MouseEvent; "contextmenu": PointerEvent; "dblclick": MouseEvent; - "deactivate": UIEvent; + "deactivate": Event; "drag": DragEvent; "dragend": DragEvent; "dragenter": DragEvent; @@ -3491,25 +3491,25 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { "mouseover": MouseEvent; "mouseup": MouseEvent; "mousewheel": WheelEvent; - "MSContentZoom": UIEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSInertiaStart": MSGestureEvent; - "MSManipulationStateChanged": MSManipulationEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; - "mssitemodejumplistitemremoved": MSSiteModeEvent; - "msthumbnailclick": MSSiteModeEvent; + "MSContentZoom": Event; + "MSGestureChange": Event; + "MSGestureDoubleTap": Event; + "MSGestureEnd": Event; + "MSGestureHold": Event; + "MSGestureStart": Event; + "MSGestureTap": Event; + "MSInertiaStart": Event; + "MSManipulationStateChanged": Event; + "MSPointerCancel": Event; + "MSPointerDown": Event; + "MSPointerEnter": Event; + "MSPointerLeave": Event; + "MSPointerMove": Event; + "MSPointerOut": Event; + "MSPointerOver": Event; + "MSPointerUp": Event; + "mssitemodejumplistitemremoved": Event; + "msthumbnailclick": Event; "pause": Event; "play": Event; "playing": Event; @@ -3530,10 +3530,10 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { "submit": Event; "suspend": Event; "timeupdate": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; + "touchcancel": Event; + "touchend": Event; + "touchmove": Event; + "touchstart": Event; "volumechange": Event; "waiting": Event; "webkitfullscreenchange": Event; @@ -3664,17 +3664,17 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent * Fires when the object is set as the active element. * @param ev The event. */ - onactivate: ((this: Document , ev: UIEvent) => any) | null; + onactivate: ((this: Document , ev: Event) => any) | null; /** * Fires immediately before the object is set as the active element. * @param ev The event. */ - onbeforeactivate: ((this: Document , ev: UIEvent) => any) | null; + onbeforeactivate: ((this: Document , ev: Event) => any) | null; /** * Fires immediately before the activeElement is changed from the current object to another object in the parent document. * @param ev The event. */ - onbeforedeactivate: ((this: Document , ev: UIEvent) => any) | null; + onbeforedeactivate: ((this: Document , ev: Event) => any) | null; /** * Fires when the object loses the input focus. * @param ev The focus event. @@ -3710,7 +3710,7 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent * Fires when the activeElement is changed from the current object to another object in the parent document. * @param ev The UI Event */ - ondeactivate: ((this: Document , ev: UIEvent) => any) | null; + ondeactivate: ((this: Document , ev: Event) => any) | null; /** * Fires on the source object continuously during a drag operation. * @param ev The event. @@ -3836,33 +3836,33 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent * @param ev The mouse event */ onmousewheel: ((this: Document , ev: WheelEvent) => any) | null; - onmscontentzoom: ((this: Document , ev: UIEvent) => any) | null; - onmsgesturechange: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsgesturedoubletap: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsgestureend: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsgesturehold: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsgesturestart: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsgesturetap: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsinertiastart: ((this: Document , ev: MSGestureEvent) => any) | null; - onmsmanipulationstatechanged: ((this: Document , ev: MSManipulationEvent) => any) | null; - onmspointercancel: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerdown: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerenter: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerleave: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointermove: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerout: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerover: ((this: Document , ev: MSPointerEvent) => any) | null; - onmspointerup: ((this: Document , ev: MSPointerEvent) => any) | null; + onmscontentzoom: ((this: Document , ev: Event) => any) | null; + onmsgesturechange: ((this: Document , ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Document , ev: Event) => any) | null; + onmsgestureend: ((this: Document , ev: Event) => any) | null; + onmsgesturehold: ((this: Document , ev: Event) => any) | null; + onmsgesturestart: ((this: Document , ev: Event) => any) | null; + onmsgesturetap: ((this: Document , ev: Event) => any) | null; + onmsinertiastart: ((this: Document , ev: Event) => any) | null; + onmsmanipulationstatechanged: ((this: Document , ev: Event) => any) | null; + onmspointercancel: ((this: Document , ev: Event) => any) | null; + onmspointerdown: ((this: Document , ev: Event) => any) | null; + onmspointerenter: ((this: Document , ev: Event) => any) | null; + onmspointerleave: ((this: Document , ev: Event) => any) | null; + onmspointermove: ((this: Document , ev: Event) => any) | null; + onmspointerout: ((this: Document , ev: Event) => any) | null; + onmspointerover: ((this: Document , ev: Event) => any) | null; + onmspointerup: ((this: Document , ev: Event) => any) | null; /** * Occurs when an item is removed from a Jump List of a webpage running in Site Mode. * @param ev The event. */ - onmssitemodejumplistitemremoved: ((this: Document , ev: MSSiteModeEvent) => any) | null; + onmssitemodejumplistitemremoved: ((this: Document , ev: Event) => any) | null; /** * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode. * @param ev The event. */ - onmsthumbnailclick: ((this: Document , ev: MSSiteModeEvent) => any) | null; + onmsthumbnailclick: ((this: Document , ev: Event) => any) | null; /** * Occurs when playback is paused. * @param ev The event. @@ -3947,10 +3947,10 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent * @param ev The event. */ ontimeupdate: ((this: Document , ev: Event) => any) | null; - ontouchcancel: ((this: Document , ev: TouchEvent) => any) | null; - ontouchend: ((this: Document , ev: TouchEvent) => any) | null; - ontouchmove: ((this: Document , ev: TouchEvent) => any) | null; - ontouchstart: ((this: Document , ev: TouchEvent) => any) | null; + ontouchcancel: ((this: Document , ev: Event) => any) | null; + ontouchend: ((this: Document , ev: Event) => any) | null; + ontouchmove: ((this: Document , ev: Event) => any) | null; + ontouchstart: ((this: Document , ev: Event) => any) | null; onvisibilitychange: (this: Document, ev: Event) => any; /** * Occurs when the volume is changed, or playback is muted or unmuted. @@ -4275,12 +4275,8 @@ interface DocumentEvent { createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent; createEvent(eventInterface: "MSDCCEvent"): MSDCCEvent; createEvent(eventInterface: "MSDSHEvent"): MSDSHEvent; - createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent; - createEvent(eventInterface: "MSManipulationEvent"): MSManipulationEvent; createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent; createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent; - createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent; - createEvent(eventInterface: "MSSiteModeEvent"): MSSiteModeEvent; createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent; @@ -4314,7 +4310,6 @@ interface DocumentEvent { createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; createEvent(eventInterface: "StorageEvent"): StorageEvent; createEvent(eventInterface: "TextEvent"): TextEvent; - createEvent(eventInterface: "TouchEvent"): TouchEvent; createEvent(eventInterface: "TrackEvent"): TrackEvent; createEvent(eventInterface: "TransitionEvent"): TransitionEvent; createEvent(eventInterface: "UIEvent"): UIEvent; @@ -4417,27 +4412,27 @@ interface ElementEventMap extends GlobalEventHandlersEventMap { "command": Event; "gotpointercapture": PointerEvent; "lostpointercapture": PointerEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSGotPointerCapture": MSPointerEvent; - "MSInertiaStart": MSGestureEvent; - "MSLostPointerCapture": MSPointerEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; + "MSGestureChange": Event; + "MSGestureDoubleTap": Event; + "MSGestureEnd": Event; + "MSGestureHold": Event; + "MSGestureStart": Event; + "MSGestureTap": Event; + "MSGotPointerCapture": Event; + "MSInertiaStart": Event; + "MSLostPointerCapture": Event; + "MSPointerCancel": Event; + "MSPointerDown": Event; + "MSPointerEnter": Event; + "MSPointerLeave": Event; + "MSPointerMove": Event; + "MSPointerOut": Event; + "MSPointerOver": Event; + "MSPointerUp": Event; + "touchcancel": Event; + "touchend": Event; + "touchmove": Event; + "touchstart": Event; "webkitfullscreenchange": Event; "webkitfullscreenerror": Event; } @@ -4459,27 +4454,27 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, ParentNod oncommand: ((this: Element , ev: Event) => any) | null; ongotpointercapture: ((this: Element , ev: PointerEvent) => any) | null; onlostpointercapture: ((this: Element , ev: PointerEvent) => any) | null; - onmsgesturechange: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgesturedoubletap: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgestureend: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgesturehold: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgesturestart: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgesturetap: ((this: Element , ev: MSGestureEvent) => any) | null; - onmsgotpointercapture: ((this: Element , ev: MSPointerEvent) => any) | null; - onmsinertiastart: ((this: Element , ev: MSGestureEvent) => any) | null; - onmslostpointercapture: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointercancel: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerdown: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerenter: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerleave: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointermove: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerout: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerover: ((this: Element , ev: MSPointerEvent) => any) | null; - onmspointerup: ((this: Element , ev: MSPointerEvent) => any) | null; - ontouchcancel: ((this: Element , ev: TouchEvent) => any) | null; - ontouchend: ((this: Element , ev: TouchEvent) => any) | null; - ontouchmove: ((this: Element , ev: TouchEvent) => any) | null; - ontouchstart: ((this: Element , ev: TouchEvent) => any) | null; + onmsgesturechange: ((this: Element , ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Element , ev: Event) => any) | null; + onmsgestureend: ((this: Element , ev: Event) => any) | null; + onmsgesturehold: ((this: Element , ev: Event) => any) | null; + onmsgesturestart: ((this: Element , ev: Event) => any) | null; + onmsgesturetap: ((this: Element , ev: Event) => any) | null; + onmsgotpointercapture: ((this: Element , ev: Event) => any) | null; + onmsinertiastart: ((this: Element , ev: Event) => any) | null; + onmslostpointercapture: ((this: Element , ev: Event) => any) | null; + onmspointercancel: ((this: Element , ev: Event) => any) | null; + onmspointerdown: ((this: Element , ev: Event) => any) | null; + onmspointerenter: ((this: Element , ev: Event) => any) | null; + onmspointerleave: ((this: Element , ev: Event) => any) | null; + onmspointermove: ((this: Element , ev: Event) => any) | null; + onmspointerout: ((this: Element , ev: Event) => any) | null; + onmspointerover: ((this: Element , ev: Event) => any) | null; + onmspointerup: ((this: Element , ev: Event) => any) | null; + ontouchcancel: ((this: Element , ev: Event) => any) | null; + ontouchend: ((this: Element , ev: Event) => any) | null; + ontouchmove: ((this: Element , ev: Event) => any) | null; + ontouchstart: ((this: Element , ev: Event) => any) | null; onwebkitfullscreenchange: ((this: Element , ev: Event) => any) | null; onwebkitfullscreenerror: ((this: Element , ev: Event) => any) | null; outerHTML: string; @@ -4515,7 +4510,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, ParentNod insertAdjacentHTML(where: InsertPosition, html: string): void; insertAdjacentText(where: InsertPosition, text: string): void; matches(selectors: string): boolean; - msGetRegionContent(): MSRangeCollection; + msGetRegionContent(): any; msGetUntransformedBounds(): ClientRect; msMatchesSelector(selectors: string): boolean; msReleasePointerCapture(pointerId: number): void; @@ -5447,12 +5442,12 @@ declare var HTMLDocument: { interface HTMLElementEventMap extends ElementEventMap { "abort": UIEvent; - "activate": UIEvent; - "beforeactivate": UIEvent; - "beforecopy": ClipboardEvent; - "beforecut": ClipboardEvent; - "beforedeactivate": UIEvent; - "beforepaste": ClipboardEvent; + "activate": Event; + "beforeactivate": Event; + "beforecopy": Event; + "beforecut": Event; + "beforedeactivate": Event; + "beforepaste": Event; "blur": FocusEvent; "canplay": Event; "canplaythrough": Event; @@ -5463,7 +5458,7 @@ interface HTMLElementEventMap extends ElementEventMap { "cuechange": Event; "cut": ClipboardEvent; "dblclick": MouseEvent; - "deactivate": UIEvent; + "deactivate": Event; "drag": DragEvent; "dragend": DragEvent; "dragenter": DragEvent; @@ -5493,8 +5488,8 @@ interface HTMLElementEventMap extends ElementEventMap { "mouseover": MouseEvent; "mouseup": MouseEvent; "mousewheel": WheelEvent; - "MSContentZoom": UIEvent; - "MSManipulationStateChanged": MSManipulationEvent; + "MSContentZoom": Event; + "MSManipulationStateChanged": Event; "paste": ClipboardEvent; "pause": Event; "play": Event; @@ -5532,12 +5527,12 @@ interface HTMLElement extends Element, ElementCSSInlineStyle { readonly offsetTop: number; readonly offsetWidth: number; onabort: ((this: HTMLElement , ev: UIEvent) => any) | null; - onactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; - onbeforeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; - onbeforecopy: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; - onbeforecut: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; - onbeforedeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; - onbeforepaste: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; + onactivate: ((this: HTMLElement , ev: Event) => any) | null; + onbeforeactivate: ((this: HTMLElement , ev: Event) => any) | null; + onbeforecopy: ((this: HTMLElement , ev: Event) => any) | null; + onbeforecut: ((this: HTMLElement , ev: Event) => any) | null; + onbeforedeactivate: ((this: HTMLElement , ev: Event) => any) | null; + onbeforepaste: ((this: HTMLElement , ev: Event) => any) | null; onblur: ((this: HTMLElement , ev: FocusEvent) => any) | null; oncanplay: ((this: HTMLElement , ev: Event) => any) | null; oncanplaythrough: ((this: HTMLElement , ev: Event) => any) | null; @@ -5548,7 +5543,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle { oncuechange: ((this: HTMLElement , ev: Event) => any) | null; oncut: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; ondblclick: ((this: HTMLElement , ev: MouseEvent) => any) | null; - ondeactivate: ((this: HTMLElement , ev: UIEvent) => any) | null; + ondeactivate: ((this: HTMLElement , ev: Event) => any) | null; ondrag: ((this: HTMLElement , ev: DragEvent) => any) | null; ondragend: ((this: HTMLElement , ev: DragEvent) => any) | null; ondragenter: ((this: HTMLElement , ev: DragEvent) => any) | null; @@ -5578,8 +5573,8 @@ interface HTMLElement extends Element, ElementCSSInlineStyle { onmouseover: ((this: HTMLElement , ev: MouseEvent) => any) | null; onmouseup: ((this: HTMLElement , ev: MouseEvent) => any) | null; onmousewheel: ((this: HTMLElement , ev: WheelEvent) => any) | null; - onmscontentzoom: ((this: HTMLElement , ev: UIEvent) => any) | null; - onmsmanipulationstatechanged: ((this: HTMLElement , ev: MSManipulationEvent) => any) | null; + onmscontentzoom: ((this: HTMLElement , ev: Event) => any) | null; + onmsmanipulationstatechanged: ((this: HTMLElement , ev: Event) => any) | null; onpaste: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; onpause: ((this: HTMLElement , ev: Event) => any) | null; onplay: ((this: HTMLElement , ev: Event) => any) | null; @@ -6607,7 +6602,7 @@ declare var HTMLMarqueeElement: { interface HTMLMediaElementEventMap extends HTMLElementEventMap { "encrypted": MediaEncryptedEvent; - "msneedkey": MSMediaKeyNeededEvent; + "msneedkey": Event; } interface HTMLMediaElement extends HTMLElement { @@ -6702,7 +6697,7 @@ interface HTMLMediaElement extends HTMLElement { readonly networkState: number; onencrypted: ((this: HTMLMediaElement , ev: MediaEncryptedEvent) => any) | null; /** @deprecated */ - onmsneedkey: ((this: HTMLMediaElement , ev: MSMediaKeyNeededEvent) => any) | null; + onmsneedkey: ((this: HTMLMediaElement , ev: Event) => any) | null; /** * Gets a flag that specifies whether playback is paused. */ @@ -8665,35 +8660,6 @@ declare var MSInputMethodContext: { new(): MSInputMethodContext; }; -interface MSManipulationEvent extends UIEvent { - readonly currentState: number; - readonly inertiaDestinationX: number; - readonly inertiaDestinationY: number; - readonly lastState: number; - initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void; - readonly MS_MANIPULATION_STATE_ACTIVE: number; - readonly MS_MANIPULATION_STATE_CANCELLED: number; - readonly MS_MANIPULATION_STATE_COMMITTED: number; - readonly MS_MANIPULATION_STATE_DRAGGING: number; - readonly MS_MANIPULATION_STATE_INERTIA: number; - readonly MS_MANIPULATION_STATE_PRESELECT: number; - readonly MS_MANIPULATION_STATE_SELECTING: number; - readonly MS_MANIPULATION_STATE_STOPPED: number; -} - -declare var MSManipulationEvent: { - prototype: MSManipulationEvent; - new(): MSManipulationEvent; - readonly MS_MANIPULATION_STATE_ACTIVE: number; - readonly MS_MANIPULATION_STATE_CANCELLED: number; - readonly MS_MANIPULATION_STATE_COMMITTED: number; - readonly MS_MANIPULATION_STATE_DRAGGING: number; - readonly MS_MANIPULATION_STATE_INERTIA: number; - readonly MS_MANIPULATION_STATE_PRESELECT: number; - readonly MS_MANIPULATION_STATE_SELECTING: number; - readonly MS_MANIPULATION_STATE_STOPPED: number; -}; - interface MSMediaKeyError { readonly code: number; readonly systemCode: number; @@ -8792,27 +8758,6 @@ declare var MSPointerEvent: { new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent; }; -interface MSRangeCollection { - readonly length: number; - item(index: number): Range; - [index: number]: Range; -} - -declare var MSRangeCollection: { - prototype: MSRangeCollection; - new(): MSRangeCollection; -}; - -interface MSSiteModeEvent extends Event { - readonly actionURL: string; - readonly buttonID: number; -} - -declare var MSSiteModeEvent: { - prototype: MSSiteModeEvent; - new(): MSSiteModeEvent; -}; - interface MSStream { readonly type: string; msClose(): void; @@ -8825,21 +8770,21 @@ declare var MSStream: { }; interface MSStreamReaderEventMap { - "abort": ProgressEvent; - "error": ProgressEvent; - "load": ProgressEvent; + "abort": UIEvent; + "error": ErrorEvent; + "load": Event; "loadend": ProgressEvent; - "loadstart": ProgressEvent; + "loadstart": Event; "progress": ProgressEvent; } interface MSStreamReader extends EventTarget { readonly error: DOMError; - onabort: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; - onerror: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; - onload: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onabort: ((this: MSStreamReader , ev: UIEvent) => any) | null; + onerror: ((this: MSStreamReader , ev: ErrorEvent) => any) | null; + onload: ((this: MSStreamReader , ev: Event) => any) | null; onloadend: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; - onloadstart: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onloadstart: ((this: MSStreamReader , ev: Event) => any) | null; onprogress: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: any; @@ -9727,12 +9672,6 @@ declare var PannerNode: { new(): PannerNode; }; -interface ParentNode { - readonly childElementCount: number; - readonly firstElementChild: Element | null; - readonly lastElementChild: Element | null; -} - interface ParentNode { readonly children: HTMLCollection; querySelector(selectors: K): HTMLElementTagNameMap[K] | null; @@ -9743,6 +9682,12 @@ interface ParentNode { querySelectorAll(selectors: string): NodeListOf; } +interface ParentNode { + readonly childElementCount: number; + readonly firstElementChild: Element | null; + readonly lastElementChild: Element | null; +} + interface Path2D extends CanvasPathMethods { } @@ -13090,17 +13035,6 @@ declare var StyleSheetList: { new(): StyleSheetList; }; -interface StyleSheetPageList { - readonly length: number; - item(index: number): CSSPageRule; - [index: number]: CSSPageRule; -} - -declare var StyleSheetPageList: { - prototype: StyleSheetPageList; - new(): StyleSheetPageList; -}; - interface SubtleCrypto { decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): PromiseLike; deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike; @@ -14891,21 +14825,21 @@ interface WindowEventMap extends GlobalEventHandlersEventMap { "mouseover": MouseEvent; "mouseup": MouseEvent; "mousewheel": WheelEvent; - "MSGestureChange": MSGestureEvent; - "MSGestureDoubleTap": MSGestureEvent; - "MSGestureEnd": MSGestureEvent; - "MSGestureHold": MSGestureEvent; - "MSGestureStart": MSGestureEvent; - "MSGestureTap": MSGestureEvent; - "MSInertiaStart": MSGestureEvent; - "MSPointerCancel": MSPointerEvent; - "MSPointerDown": MSPointerEvent; - "MSPointerEnter": MSPointerEvent; - "MSPointerLeave": MSPointerEvent; - "MSPointerMove": MSPointerEvent; - "MSPointerOut": MSPointerEvent; - "MSPointerOver": MSPointerEvent; - "MSPointerUp": MSPointerEvent; + "MSGestureChange": Event; + "MSGestureDoubleTap": Event; + "MSGestureEnd": Event; + "MSGestureHold": Event; + "MSGestureStart": Event; + "MSGestureTap": Event; + "MSInertiaStart": Event; + "MSPointerCancel": Event; + "MSPointerDown": Event; + "MSPointerEnter": Event; + "MSPointerLeave": Event; + "MSPointerMove": Event; + "MSPointerOut": Event; + "MSPointerOver": Event; + "MSPointerUp": Event; "offline": Event; "online": Event; "orientationchange": Event; @@ -14929,10 +14863,10 @@ interface WindowEventMap extends GlobalEventHandlersEventMap { "submit": Event; "suspend": Event; "timeupdate": Event; - "touchcancel": TouchEvent; - "touchend": TouchEvent; - "touchmove": TouchEvent; - "touchstart": TouchEvent; + "touchcancel": Event; + "touchend": Event; + "touchmove": Event; + "touchstart": Event; "unload": Event; "volumechange": Event; "vrdisplayactivate": Event; @@ -15023,21 +14957,21 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window onmouseover: ((this: Window , ev: MouseEvent) => any) | null; onmouseup: ((this: Window , ev: MouseEvent) => any) | null; onmousewheel: ((this: Window , ev: WheelEvent) => any) | null; - onmsgesturechange: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsgesturedoubletap: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsgestureend: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsgesturehold: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsgesturestart: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsgesturetap: ((this: Window , ev: MSGestureEvent) => any) | null; - onmsinertiastart: ((this: Window , ev: MSGestureEvent) => any) | null; - onmspointercancel: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerdown: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerenter: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerleave: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointermove: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerout: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerover: ((this: Window , ev: MSPointerEvent) => any) | null; - onmspointerup: ((this: Window , ev: MSPointerEvent) => any) | null; + onmsgesturechange: ((this: Window , ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Window , ev: Event) => any) | null; + onmsgestureend: ((this: Window , ev: Event) => any) | null; + onmsgesturehold: ((this: Window , ev: Event) => any) | null; + onmsgesturestart: ((this: Window , ev: Event) => any) | null; + onmsgesturetap: ((this: Window , ev: Event) => any) | null; + onmsinertiastart: ((this: Window , ev: Event) => any) | null; + onmspointercancel: ((this: Window , ev: Event) => any) | null; + onmspointerdown: ((this: Window , ev: Event) => any) | null; + onmspointerenter: ((this: Window , ev: Event) => any) | null; + onmspointerleave: ((this: Window , ev: Event) => any) | null; + onmspointermove: ((this: Window , ev: Event) => any) | null; + onmspointerout: ((this: Window , ev: Event) => any) | null; + onmspointerover: ((this: Window , ev: Event) => any) | null; + onmspointerup: ((this: Window , ev: Event) => any) | null; onoffline: ((this: Window , ev: Event) => any) | null; ononline: ((this: Window , ev: Event) => any) | null; onorientationchange: ((this: Window , ev: Event) => any) | null; @@ -15840,21 +15774,21 @@ declare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null; declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null; declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null; declare var onmousewheel: ((this: Window, ev: WheelEvent) => any) | null; -declare var onmsgesturechange: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsgesturedoubletap: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsgestureend: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsgesturehold: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsgesturestart: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsgesturetap: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmsinertiastart: ((this: Window, ev: MSGestureEvent) => any) | null; -declare var onmspointercancel: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerdown: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerenter: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerleave: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointermove: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerout: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerover: ((this: Window, ev: MSPointerEvent) => any) | null; -declare var onmspointerup: ((this: Window, ev: MSPointerEvent) => any) | null; +declare var onmsgesturechange: ((this: Window, ev: Event) => any) | null; +declare var onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null; +declare var onmsgestureend: ((this: Window, ev: Event) => any) | null; +declare var onmsgesturehold: ((this: Window, ev: Event) => any) | null; +declare var onmsgesturestart: ((this: Window, ev: Event) => any) | null; +declare var onmsgesturetap: ((this: Window, ev: Event) => any) | null; +declare var onmsinertiastart: ((this: Window, ev: Event) => any) | null; +declare var onmspointercancel: ((this: Window, ev: Event) => any) | null; +declare var onmspointerdown: ((this: Window, ev: Event) => any) | null; +declare var onmspointerenter: ((this: Window, ev: Event) => any) | null; +declare var onmspointerleave: ((this: Window, ev: Event) => any) | null; +declare var onmspointermove: ((this: Window, ev: Event) => any) | null; +declare var onmspointerout: ((this: Window, ev: Event) => any) | null; +declare var onmspointerover: ((this: Window, ev: Event) => any) | null; +declare var onmspointerup: ((this: Window, ev: Event) => any) | null; declare var onoffline: ((this: Window, ev: Event) => any) | null; declare var ononline: ((this: Window, ev: Event) => any) | null; declare var onorientationchange: ((this: Window, ev: Event) => any) | null; diff --git a/inputfiles/comments.json b/inputfiles/comments.json index f7d75dd5d..6fbb9ef4e 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -768,9 +768,6 @@ "write": { "comment": "/**\r\n * Writes one or more HTML expressions to a document in the specified window.\r\n * @param content Specifies the text and HTML tags to write.\r\n */" }, - "updateSettings": { - "comment": "/**\r\n * Allows updating the print settings for the page.\r\n */" - }, "createElement": { "comment": "/**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */" }, diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index a2e72c2dd..d32bb6802 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1105,6 +1105,12 @@ "getElementsByTagNameNS(namespaceURI: \"http://www.w3.org/2000/svg\", localName: string): HTMLCollectionOf", "getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf" ] + }, + "msGetRegionContent": { + "name": "msGetRegionContent", + "override-signatures": [ + "msGetRegionContent(): any" + ] } } } @@ -1759,6 +1765,17 @@ } } } + }, + "CSSStyleSheet": { + "name": "CSSStyleSheet", + "properties": { + "property": { + "pages": { + "name": "pages", + "override-type": "any" + } + } + } } } }, From 743fb960f75361580e27302f2c1ff84c99324b36 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 12:29:29 -0800 Subject: [PATCH 61/93] Extract helpers to a new file --- src/helpers.ts | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 src/helpers.ts diff --git a/src/helpers.ts b/src/helpers.ts new file mode 100644 index 000000000..ffcb10ae4 --- /dev/null +++ b/src/helpers.ts @@ -0,0 +1,94 @@ +export function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) { + var result = obj; + if (typeof obj === "object") { + if (Array.isArray(obj)) { + var newArray: any[] = []; + for (const e of obj) { + if (fn(e, undefined)) { + newArray.push(filter(e, fn)); + } + } + return newArray; + } + else { + result = {}; + for (const e in obj) { + if (fn(obj[e], e)) { + result[e] = filter(obj[e], fn); + } + } + } + } + return result; +} + +export function filterProperties(obj: Record, fn: (o: T) => boolean): Record { + const result: Record = {}; + for (const e in obj) { + if (fn(obj[e])) { + result[e] = obj[e]; + } + } + return result; +} + +export function merge(src: T, target: T): T { + if (typeof src !== "object" || typeof target !== "object") return src; + for (const k in target) { + if (Object.getOwnPropertyDescriptor(target, k)) { + if (Object.getOwnPropertyDescriptor(src, k)) { + const srcProp = src[k]; + const targetProp = target[k]; + if (Array.isArray(srcProp) && Array.isArray(targetProp)) { + mergeNamedArrays(srcProp, targetProp); + } + else { + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); + merge(src[k], target[k]); + } + } + else { + src[k] = target[k]; + } + } + } + return src; +} + +function mergeNamedArrays(srcProp: T[], targetProp: T[]) { + const map: any = {}; + for (const e1 of srcProp) { + if (e1.name) { + map[e1.name] = e1; + } + } + + for (const e2 of targetProp) { + if (e2.name && map[e2.name]) { + merge(map[e2.name], e2); + } + else { + srcProp.push(e2); + } + } +} + +export function distinct(a: T[]): T[] { + return Array.from(new Set(a).values()); +} + +export function mapToArray(m: Record): T[] { + return Object.keys(m || {}).map(k => m[k]); +} + +export function map(obj: Record | undefined, fn: (o: T) => U): U[] { + return Object.keys(obj || {}).map(k => fn(obj![k])); +} + +export function toNameMap(array: T[]) { + const result: Record = {}; + for (const value of array) { + result[value.name] = value; + } + return result; +} \ No newline at end of file From 799d04374536aa97b730293a653d1d67aabf743a Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 12:29:54 -0800 Subject: [PATCH 62/93] Move filtering to a preprocesing pass --- src/index.ts | 110 ++-------------------------------------------- src/preprocess.ts | 61 +++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 106 deletions(-) create mode 100644 src/preprocess.ts diff --git a/src/index.ts b/src/index.ts index 6aea95aa3..f52c85082 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; +import { filter, merge, filterProperties, mapToArray, distinct, map, toNameMap } from "./helpers"; enum Flavor { Web, @@ -239,22 +240,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function distinct(a: T[]): T[] { - return Array.from(new Set(a).values()); - } - function getElements(a: Record> | undefined, k: K): T[] { return a ? mapToArray(a[k]) : []; } - function mapToArray(m: Record): T[] { - return Object.keys(m || {}).map(k => m[k]); - } - - function map(obj: Record | undefined, fn: (o: T) => U): U[] { - return Object.keys(obj || {}).map(k => fn(obj![k])); - } - function tryGetMatchingEventType(eName: string, i: Browser.Interface) { if (i.events) { const event = i.events.event.find(e => e.name === eName); @@ -273,14 +262,6 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function toNameMap(array: T[]) { - const result: Record = {}; - for (const value of array) { - result[value.name] = value; - } - return result; - } - /// Determine if interface1 depends on interface2 function dependsOn(i1Name: string, i2Name: string) { return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] @@ -1269,57 +1250,15 @@ function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, ts return; } -function filterProperties(obj: Record, fn: (o: T) => boolean): Record { - const result: Record = {}; - for (const e in obj) { - if (fn(obj[e])) { - result[e] = obj[e]; - } - } - return result; -} - function emitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { const browser = filter(webidl, o => { - if (o) { - if (typeof o.tags === "string") { - if (o.tags.indexOf("MSAppOnly") > -1) return false; - if (o.tags.indexOf("MSAppScheduler") > -1) return false; - if (o.tags.indexOf("Diagnostics") > -1) return false; - if (o.tags.indexOf("Printing") > -1) return false; - } - if (typeof o.exposed === "string") { - if (o.exposed.indexOf("Diagnostics") > -1) return false; - if (o.exposed.indexOf("WorkerDiagnostics") > -1) return false; - if (o.exposed.indexOf("Isolated") > -1) return false; - if (o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1) return false; - } - if (o.iterable === "pair-iterator") return false; - } - return true; + return !(o && typeof o.exposed === "string" + && o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1); }); const result = EmitWebIDl(browser, Flavor.Web); fs.writeFileSync(tsWebOutput, result); return; - - function filter(obj: any, fn: (o: any) => boolean) { - var result = obj; - if (typeof obj === "object") { - if (Array.isArray(obj)) { - result = obj.filter(fn); - } - else { - result = {}; - for (const e in obj) { - if (fn(obj[e])) { - result[e] = filter(obj[e], fn); - } - } - } - } - return result; - } } function emitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { @@ -1347,7 +1286,7 @@ function emitDom() { const removedItems = require(path.join(inputFolder, "removedTypes.json")); /// Load the input file - let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.json")); + let webidl: Browser.WebIdl = require(path.join(inputFolder, "browser.webidl.preprocessed.json")); const knownWorkerTypes = new Set(require(path.join(inputFolder, "knownWorkerTypes.json"))); @@ -1360,47 +1299,6 @@ function emitDom() { emitDomWorker(webidl, knownWorkerTypes, tsWorkerOutput); emitES6DomIterators(webidl, tsWebES6Output); - function mergeNamedArrays(srcProp: T[], targetProp: T[]) { - const map: any = {}; - for (const e1 of srcProp) { - if (e1.name) { - map[e1.name] = e1; - } - } - - for (const e2 of targetProp) { - if (e2.name && map[e2.name]) { - merge(map[e2.name], e2); - } - else { - srcProp.push(e2); - } - } - } - - function merge(src: T, target: T): T { - if (typeof src !== "object" || typeof target !== "object") return src; - for (const k in target) { - if (Object.getOwnPropertyDescriptor(target, k)) { - if (Object.getOwnPropertyDescriptor(src, k)) { - const srcProp = src[k]; - const targetProp = target[k]; - if (Array.isArray(srcProp) && Array.isArray(targetProp)) { - mergeNamedArrays(srcProp, targetProp); - } - else { - if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); - merge(src[k], target[k]); - } - } - else { - src[k] = target[k]; - } - } - } - return src; - } - function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { const result: Browser.WebIdl = { "callback-functions": { diff --git a/src/preprocess.ts b/src/preprocess.ts new file mode 100644 index 000000000..40d048b93 --- /dev/null +++ b/src/preprocess.ts @@ -0,0 +1,61 @@ +import * as fs from "fs"; +import * as path from "path"; + +const __SOURCE_DIRECTORY__ = __dirname; +const inputFolder = path.join(__SOURCE_DIRECTORY__, "../", "inputfiles"); + +function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) { + var result = obj; + if (typeof obj === "object") { + if (Array.isArray(obj)) { + var newArray: any[] = []; + for (const e of obj) { + if (fn(e, undefined)) { + newArray.push(filter(e, fn)); + } + } + return newArray; + } + else { + result = {}; + for (const e in obj) { + if (fn(obj[e], e)) { + result[e] = filter(obj[e], fn); + } + } + } + } + return result; +} + +function preprocess() { + let webidl = require(path.join(inputFolder, "browser.webidl.json")); + + const browser = filter(webidl, (o, n) => { + if (o) { + if (typeof o.tags === "string") { + if (o.tags.indexOf("MSAppOnly") > -1) return false; + if (o.tags.indexOf("MSAppScheduler") > -1) return false; + if (o.tags.indexOf("Diagnostics") > -1) return false; + if (o.tags.indexOf("Printing") > -1) return false; + if (o.tags.indexOf("WinPhoneOnly") > -1) return false; + if (o.tags.indexOf("IEOnly") > -1) return false; + } + if (typeof o.exposed === "string") { + if (o.exposed.indexOf("Diagnostics") > -1) return false; + if (o.exposed.indexOf("WorkerDiagnostics") > -1) return false; + if (o.exposed.indexOf("Isolated") > -1) return false; + } + if (o.iterable === "pair-iterator") return false; + } + if (typeof n === "string") { + if (n.indexOf("-") === 0) return false; + } + return true; + }); + + + fs.writeFileSync(path.join(inputFolder, "browser.webidl.preprocessed.json"), JSON.stringify(browser, undefined, 4)); +} + +preprocess(); \ No newline at end of file From c6685ff3d7d01f85605ba53b7aab1b92d573b25d Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 12:36:49 -0800 Subject: [PATCH 63/93] Update readme --- README.md | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 288cb43c1..678abaab7 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,27 @@ AppVeyor Status: [![Build status](https://ci.appveyor.com/api/projects/status/8o Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator) This tool is used to generate `dom.generated.d.ts`, `webworker.generated.d.ts` and `dom.es6.generated.d.ts` for TypeScript. -The input file is the XML spec file generated by the Microsoft Edge browser. +The input file is the JSON webidl file generated by the Microsoft Edge browser. ## Build Instructions -To build the tool, simply clone this repo, and run `build.cmd` (Windows) or `build.sh` (OS X/Unix) on the command line. -If it runs successfully, the output files will be generated under the `generated` folder. +To get things setup: -Note: for OS X and Unix users, [Mono 4.2 or higher](http://www.mono-project.com/download/) is required. +```sh +npm install +``` + +To generate the .d.ts files + +```sh +npm run build +``` + +To test: + +```sh +npm run test +``` ## Contribution Guidelines @@ -22,7 +35,7 @@ In order to make the tests pass, please update the baseline as well in any pull For common changes, it is sufficient to change the json files. There are three json files that are typically used to alter the type generation: `addedTypes.json`, `overridingTypes.json`, and `removedTypes.json`. `comments.json` can used to add comments to the types. -Finally, `knownWorkerEnums` and `knownWorkerInterfaces` determine which types are available in a WebWorker environment. +Finally, `knownWorkerTypes.json` determine which types are available in a WebWorker environment. The format of each file can be inferred from their existing content. @@ -53,16 +66,15 @@ A "Living Standard" ([example](https://xhr.spec.whatwg.org/)) should be added he ## Code Structure -- `Build.fsx`: Runs `TS.fsx` for all targets, then does a snapshot test by comparing the `generated/` and `baseline/` contents. -- `TS.fsx`: handles the emitting of the `.d.ts` files. +- `src/index.ts`: handles the emitting of the `.d.ts` files. +- `src/test.ts`: verifies the otuput by comparing the `generated/` and `baseline/` contents. + ## Input Files -- `browser.webidl.xml`: an XML spec file generated by Microsoft Edge. **Do not edit this file**. +- `browser.webidl.preprocessed.json`: a JSON file generated by Microsoft Edge. **Do not edit this file**. - Due to the different update schedules between Edge and TypeScript, this may not be the most up-to-date version of the spec. -- `webworker.webidl.xml`: an XML spec file generated by Microsoft Edge that contains types for Web Workers. **Do not edit this file**. -- `addedTypes.json`: types that should exist in either browser or webworker but are missing from the Edge spec. The type can be `property`, `method`, `interface`, `constructor`, or `indexer`. +- `addedTypes.json`: types that should exist in either browser or webworker but are missing from the Edge spec. The format of the file mimics that of `browser.webidl.preprocessed.json`. - `overridingTypes.json`: types that are defined in the spec file but has a better or more up-to-date definitions in the json files. - `removedTypes.json`: types that are defined in the spec file but should be removed. - `comments.json`: comment strings to be embedded in the generated .js files. -- `sample.json`: sample json file used to tell F# json type provider that structure of the json files. The content of it is not used anywhere. **Do not edit this file**. From 054bb6b0c9db301459afaf92c35e4a91f287995b Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 13:40:36 -0800 Subject: [PATCH 64/93] Port https://github.com/Microsoft/TSJS-lib-generator/pull/381 --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 8411788c8..5f154bb10 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -6023,6 +6023,7 @@ interface HTMLHyperlinkElementUtils { host: string; hostname: string; href: string; + origin: string; pathname: string; port: string; protocol: string; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index d632ee8fc..5e045e30a 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -14,6 +14,17 @@ } } } + }, + "HTMLHyperlinkElementUtils": { + "name": "HTMLHyperlinkElementUtils", + "properties": { + "property": { + "origin": { + "name": "origin", + "override-type": "string" + } + } + } } } }, From 68bac2a41a02609bbf2542f851100a6a40164652 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 28 Feb 2018 13:48:09 -0800 Subject: [PATCH 65/93] Remove some more types --- baselines/dom.generated.d.ts | 8 -------- src/preprocess.ts | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 5f154bb10..bdf6744e6 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15436,18 +15436,10 @@ interface IntersectionObserverCallback { (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void; } -interface MSExecAtPriorityFunctionCallback { - (...args: any[]): any; -} - interface MSLaunchUriCallback { (): void; } -interface MSUnsafeFunctionCallback { - (): any; -} - interface MediaQueryListListener { (mql: MediaQueryList): void; } diff --git a/src/preprocess.ts b/src/preprocess.ts index 40d048b93..13b43b5fe 100644 --- a/src/preprocess.ts +++ b/src/preprocess.ts @@ -47,6 +47,9 @@ function preprocess() { if (o.exposed.indexOf("Isolated") > -1) return false; } if (o.iterable === "pair-iterator") return false; + if (o.name === "Function") return false; + if (o.name === "MSExecAtPriorityFunctionCallback") return false; + if (o.name === "MSUnsafeFunctionCallback") return false; } if (typeof n === "string") { if (n.indexOf("-") === 0) return false; From 57ba32a7be0472af3dda740029346a67e45a69a6 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 09:16:25 -0800 Subject: [PATCH 66/93] Add new webidl file --- inputfiles/browser.webidl.preprocessed.json | 94887 ++++++++++++++++++ 1 file changed, 94887 insertions(+) create mode 100644 inputfiles/browser.webidl.preprocessed.json diff --git a/inputfiles/browser.webidl.preprocessed.json b/inputfiles/browser.webidl.preprocessed.json new file mode 100644 index 000000000..ba3225bea --- /dev/null +++ b/inputfiles/browser.webidl.preprocessed.json @@ -0,0 +1,94887 @@ +{ + "callback-functions": { + "callback-function": { + "VoidFunction": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "webidl", + "callback": 1, + "name": "VoidFunction" + }, + "NavigatorUserMediaSuccessCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "type-original": "void" + } + ], + "specs": "media-capture-api", + "callback": 1, + "name": "NavigatorUserMediaSuccessCallback" + }, + "EventHandlerNonNull": { + "specs": "whatwg-html", + "name": "EventHandlerNonNull", + "signature": [ + { + "treat-non-object-as-null": 1, + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "event", + "type": "Event", + "type-original": "Event" + } + ], + "type-original": "any" + } + ], + "callback": 1 + }, + "DecodeErrorCallback": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "webaudio", + "callback": 1, + "name": "DecodeErrorCallback" + }, + "MediaQueryListListener": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mql", + "type": "MediaQueryList", + "type-original": "MediaQueryList" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "callback": 1, + "name": "MediaQueryListListener" + }, + "RTCStatsCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "report", + "type": "RTCStatsReport", + "type-original": "RTCStatsReport" + } + ], + "type-original": "void" + } + ], + "specs": "webrtc", + "callback": 1, + "name": "RTCStatsCallback" + }, + "PositionErrorCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "PositionError", + "type-original": "PositionError" + } + ], + "type-original": "void" + } + ], + "specs": "geolocation-api", + "callback": 1, + "name": "PositionErrorCallback" + }, + "DecodeSuccessCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "decodedData", + "type": "AudioBuffer", + "type-original": "AudioBuffer" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "callback": 1, + "name": "DecodeSuccessCallback" + }, + "RTCSessionDescriptionCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "sdp", + "type": "RTCSessionDescription", + "type-original": "RTCSessionDescription" + } + ], + "type-original": "void" + } + ], + "specs": "webrtc", + "callback": 1, + "name": "RTCSessionDescriptionCallback" + }, + "NavigatorUserMediaErrorCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "MediaStreamError", + "type-original": "MediaStreamError" + } + ], + "type-original": "void" + } + ], + "specs": "media-capture-api", + "callback": 1, + "name": "NavigatorUserMediaErrorCallback" + }, + "WritableStreamErrorCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "reason", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "callback": 1, + "name": "WritableStreamErrorCallback" + }, + "FunctionStringCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html51", + "callback": 1, + "name": "FunctionStringCallback" + }, + "PositionCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "position", + "type": "Position", + "type-original": "Position" + } + ], + "type-original": "void" + } + ], + "specs": "geolocation-api", + "callback": 1, + "name": "PositionCallback" + }, + "WritableStreamChunkCallback": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "chunk", + "type": "any", + "type-original": "any" + }, + { + "name": "controller", + "type": "WritableStreamDefaultController", + "type-original": "WritableStreamDefaultController" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "callback": 1, + "name": "WritableStreamChunkCallback" + }, + "MutationCallback": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "subtype": { + "type": "MutationRecord" + }, + "name": "mutations", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "observer", + "type": "MutationObserver", + "type-original": "MutationObserver" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "callback": 1, + "name": "MutationCallback" + }, + "RTCPeerConnectionErrorCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMError", + "type-original": "DOMError" + } + ], + "type-original": "void" + } + ], + "specs": "webrtc", + "callback": 1, + "name": "RTCPeerConnectionErrorCallback" + }, + "ForEachCallback": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "keyId", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + { + "name": "status", + "type": "MediaKeyStatus", + "type-original": "MediaKeyStatus" + } + ], + "type-original": "void" + } + ], + "specs": "encrypted-media", + "callback": 1, + "name": "ForEachCallback" + }, + "NotificationPermissionCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "permission", + "type": "NotificationPermission", + "type-original": "NotificationPermission" + } + ], + "type-original": "void" + } + ], + "specs": "notifications", + "callback": 1, + "name": "NotificationPermissionCallback" + }, + "WritableStreamDefaultControllerCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "controller", + "type": "WritableStreamDefaultController", + "type-original": "WritableStreamDefaultController" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "callback": 1, + "name": "WritableStreamDefaultControllerCallback" + }, + "ErrorEventHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "event", + "type": [ + { + "type": "Event" + }, + { + "type": "DOMString" + } + ], + "type-original": "(Event or DOMString)" + }, + { + "name": "source", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "fileno", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "columnNumber", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "callback": 1, + "name": "ErrorEventHandler" + }, + "IntersectionObserverCallback": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "subtype": { + "type": "IntersectionObserverEntry" + }, + "name": "entries", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "observer", + "type": "IntersectionObserver", + "type-original": "IntersectionObserver" + } + ], + "type-original": "void" + } + ], + "specs": "intersection-observer", + "callback": 1, + "name": "IntersectionObserverCallback" + }, + "MSLaunchUriCallback": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "callback": 1, + "name": "MSLaunchUriCallback" + }, + "FrameRequestCallback": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "time", + "type": "double", + "type-original": "DOMHighResTimeStamp" + } + ], + "type-original": "void" + } + ], + "specs": "animation-timing", + "callback": 1, + "name": "FrameRequestCallback" + } + } + }, + "callback-interfaces": { + "interface": { + "EventListener": { + "constants": { + "constant": {} + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "handleEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "evt", + "type": "Event", + "type-original": "Event" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "handleEvent" + } + } + }, + "name": "EventListener", + "extends": "Object", + "properties": { + "property": {} + } + }, + "WebKitFileCallback": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "handleEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "file", + "type": "File", + "type-original": "File" + } + ], + "type-original": "void" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "handleEvent" + } + } + }, + "name": "WebKitFileCallback", + "extends": "Object", + "properties": { + "property": {} + } + }, + "WebKitEntriesCallback": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "handleEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "WebKitEntry" + }, + "name": "entries", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "handleEvent" + } + } + }, + "name": "WebKitEntriesCallback", + "extends": "Object", + "properties": { + "property": {} + } + }, + "WebKitErrorCallback": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "handleEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "err", + "type": "DOMError", + "type-original": "DOMError" + } + ], + "type-original": "void" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "handleEvent" + } + } + }, + "name": "WebKitErrorCallback", + "extends": "Object", + "properties": { + "property": {} + } + } + } + }, + "dictionaries": { + "dictionary": { + "WheelEventInit": { + "members": { + "member": { + "deltaZ": { + "specs": "uievents", + "name": "deltaZ", + "default": "0.0", + "type": "double", + "type-original": "double" + }, + "deltaX": { + "specs": "uievents", + "name": "deltaX", + "default": "0.0", + "type": "double", + "type-original": "double" + }, + "deltaMode": { + "specs": "uievents", + "name": "deltaMode", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "deltaY": { + "specs": "uievents", + "name": "deltaY", + "default": "0.0", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "uievents", + "name": "WheelEventInit", + "extends": "MouseEventInit" + }, + "MSSignatureParameters": { + "members": { + "member": { + "userPrompt": { + "specs": "webauthn", + "name": "userPrompt", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webauthn", + "name": "MSSignatureParameters", + "extends": "Object" + }, + "CustomEventInit": { + "members": { + "member": { + "detail": { + "specs": "dom4", + "name": "detail", + "default": "null", + "type": "any", + "type-original": "any" + } + } + }, + "specs": "dom4", + "name": "CustomEventInit", + "extends": "EventInit" + }, + "PaymentDetailsBase": { + "members": { + "member": { + "shippingOptions": { + "subtype": { + "type": "PaymentShippingOption" + }, + "specs": "payment-request", + "name": "shippingOptions", + "type": "sequence", + "type-original": "sequence" + }, + "modifiers": { + "subtype": { + "type": "PaymentDetailsModifier" + }, + "specs": "payment-request", + "name": "modifiers", + "type": "sequence", + "type-original": "sequence" + }, + "displayItems": { + "subtype": { + "type": "PaymentItem" + }, + "specs": "payment-request", + "name": "displayItems", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "payment-request", + "name": "PaymentDetailsBase", + "extends": "Object" + }, + "MSIPAddressInfo": { + "members": { + "member": { + "manufacturerMacAddrMask": { + "specs": "webrtc-stats", + "name": "manufacturerMacAddrMask", + "type": "DOMString", + "type-original": "DOMString" + }, + "ipAddr": { + "specs": "webrtc-stats", + "name": "ipAddr", + "type": "DOMString", + "type-original": "DOMString" + }, + "port": { + "specs": "webrtc-stats", + "name": "port", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "specs": "webrtc-stats", + "name": "MSIPAddressInfo", + "extends": "Object" + }, + "HmacImportParams": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + }, + "length": { + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned long", + "enforce-range": 1, + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "HmacImportParams", + "extends": "Algorithm" + }, + "Account": { + "members": { + "member": { + "imageURL": { + "specs": "webauthn", + "name": "imageURL", + "type": "DOMString", + "type-original": "DOMString" + }, + "name": { + "specs": "webauthn", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + "id": { + "required": 1, + "specs": "webauthn", + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + }, + "rpDisplayName": { + "required": 1, + "specs": "webauthn", + "name": "rpDisplayName", + "type": "DOMString", + "type-original": "DOMString" + }, + "displayName": { + "required": 1, + "specs": "webauthn", + "name": "displayName", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webauthn", + "name": "Account", + "extends": "Object" + }, + "MSAudioRecvPayload": { + "members": { + "member": { + "ratioCompressedSamplesAvg": { + "specs": "webrtc-stats", + "name": "ratioCompressedSamplesAvg", + "type": "float", + "type-original": "float" + }, + "fecRecvDistance1": { + "specs": "webrtc-stats", + "name": "fecRecvDistance1", + "type": "float", + "type-original": "float" + }, + "fecRecvDistance2": { + "specs": "webrtc-stats", + "name": "fecRecvDistance2", + "type": "float", + "type-original": "float" + }, + "burstLossLength4": { + "specs": "webrtc-stats", + "name": "burstLossLength4", + "type": "float", + "type-original": "float" + }, + "burstLossLength7": { + "specs": "webrtc-stats", + "name": "burstLossLength7", + "type": "float", + "type-original": "float" + }, + "ratioStretchedSamplesAvg": { + "specs": "webrtc-stats", + "name": "ratioStretchedSamplesAvg", + "type": "float", + "type-original": "float" + }, + "burstLossLength1": { + "specs": "webrtc-stats", + "name": "burstLossLength1", + "type": "float", + "type-original": "float" + }, + "packetReorderRatio": { + "specs": "webrtc-stats", + "name": "packetReorderRatio", + "type": "float", + "type-original": "float" + }, + "burstLossLength6": { + "specs": "webrtc-stats", + "name": "burstLossLength6", + "type": "float", + "type-original": "float" + }, + "burstLossLength5": { + "specs": "webrtc-stats", + "name": "burstLossLength5", + "type": "float", + "type-original": "float" + }, + "burstLossLength3": { + "specs": "webrtc-stats", + "name": "burstLossLength3", + "type": "float", + "type-original": "float" + }, + "samplingRate": { + "specs": "webrtc-stats", + "name": "samplingRate", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "burstLossLength2": { + "specs": "webrtc-stats", + "name": "burstLossLength2", + "type": "float", + "type-original": "float" + }, + "burstLossLength8OrHigher": { + "specs": "webrtc-stats", + "name": "burstLossLength8OrHigher", + "type": "float", + "type-original": "float" + }, + "ratioConcealedSamplesAvg": { + "specs": "webrtc-stats", + "name": "ratioConcealedSamplesAvg", + "type": "float", + "type-original": "float" + }, + "signal": { + "specs": "webrtc-stats", + "name": "signal", + "type": "MSAudioRecvSignal", + "type-original": "MSAudioRecvSignal" + }, + "packetReorderDepthMax": { + "specs": "webrtc-stats", + "name": "packetReorderDepthMax", + "type": "long", + "type-original": "long" + }, + "fecRecvDistance3": { + "specs": "webrtc-stats", + "name": "fecRecvDistance3", + "type": "float", + "type-original": "float" + }, + "packetReorderDepthAvg": { + "specs": "webrtc-stats", + "name": "packetReorderDepthAvg", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSAudioRecvPayload", + "extends": "MSPayloadBase" + }, + "AudioBufferSourceOptions": { + "members": { + "member": { + "playbackRate": { + "specs": "webaudio", + "name": "playbackRate", + "default": "1", + "type": "float", + "type-original": "float" + }, + "detune": { + "specs": "webaudio", + "name": "detune", + "default": "0", + "type": "float", + "type-original": "float" + }, + "loopEnd": { + "specs": "webaudio", + "name": "loopEnd", + "default": "0", + "type": "double", + "type-original": "double" + }, + "buffer": { + "nullable": 1, + "specs": "webaudio", + "name": "buffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer?" + }, + "loopStart": { + "specs": "webaudio", + "name": "loopStart", + "default": "0", + "type": "double", + "type-original": "double" + }, + "loop": { + "specs": "webaudio", + "name": "loop", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webaudio", + "name": "AudioBufferSourceOptions", + "extends": "Object" + }, + "RsaKeyGenParams": { + "members": { + "member": { + "publicExponent": { + "required": 1, + "specs": "webcryptoapi", + "name": "publicExponent", + "type": "Uint8Array", + "type-original": "BigInteger" + }, + "modulusLength": { + "required": 1, + "specs": "webcryptoapi", + "name": "modulusLength", + "type": "unsigned long", + "enforce-range": 1, + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaKeyGenParams", + "extends": "Algorithm" + }, + "MSDelay": { + "members": { + "member": { + "roundTrip": { + "specs": "webrtc-stats", + "name": "roundTrip", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "roundTripMax": { + "specs": "webrtc-stats", + "name": "roundTripMax", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSDelay", + "extends": "Object" + }, + "IDBIndexParameters": { + "members": { + "member": { + "unique": { + "specs": "indexeddb", + "name": "unique", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "indexeddb", + "name": "IDBIndexParameters", + "extends": "Object" + }, + "AnimationEventInit": { + "members": { + "member": { + "animationName": { + "specs": "css-animation", + "name": "animationName", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "elapsedTime": { + "specs": "css-animation", + "name": "elapsedTime", + "default": "0.0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "css-animation", + "name": "AnimationEventInit", + "extends": "EventInit" + }, + "MSOutboundNetwork": { + "members": { + "member": { + "appliedBandwidthLimit": { + "specs": "webrtc-stats", + "name": "appliedBandwidthLimit", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSOutboundNetwork", + "extends": "MSNetwork" + }, + "IntersectionObserverInit": { + "members": { + "member": { + "rootMargin": { + "specs": "IntersectionObserver", + "name": "rootMargin", + "default": "\"0px\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "threshold": { + "specs": "IntersectionObserver", + "name": "threshold", + "default": "0", + "type": [ + { + "type": "double" + }, + { + "subtype": { + "type": "double" + }, + "type": "sequence" + } + ], + "type-original": "(double or sequence)" + }, + "root": { + "nullable": 1, + "specs": "IntersectionObserver", + "name": "root", + "default": "null", + "type": "Element", + "type-original": "Element?" + } + } + }, + "specs": "IntersectionObserver", + "name": "IntersectionObserverInit", + "extends": "Object" + }, + "WebGLContextAttributes": { + "members": { + "member": { + "alpha": { + "specs": "webgl", + "name": "alpha", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "premultipliedAlpha": { + "specs": "webgl", + "name": "premultipliedAlpha", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "antialias": { + "specs": "webgl", + "name": "antialias", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "stencil": { + "specs": "webgl", + "name": "stencil", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "depth": { + "specs": "webgl", + "name": "depth", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "preserveDrawingBuffer": { + "specs": "webgl", + "name": "preserveDrawingBuffer", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webgl", + "name": "WebGLContextAttributes", + "extends": "Object" + }, + "AesGcmParams": { + "members": { + "member": { + "iv": { + "required": 1, + "specs": "webcryptoapi", + "name": "iv", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "additionalData": { + "specs": "webcryptoapi", + "name": "additionalData", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "tagLength": { + "specs": "webcryptoapi", + "name": "tagLength", + "type": "octet", + "enforce-range": 1, + "type-original": "octet" + } + } + }, + "specs": "webcryptoapi", + "name": "AesGcmParams", + "extends": "Algorithm" + }, + "TrackEventInit": { + "members": { + "member": { + "track": { + "specs": "html5", + "name": "track", + "default": "null", + "type": [ + { + "nullable": 1, + "type": "VideoTrack" + }, + { + "nullable": 1, + "type": "AudioTrack" + }, + { + "nullable": 1, + "type": "TextTrack" + } + ], + "type-original": "(VideoTrack or AudioTrack or TextTrack)?" + } + } + }, + "specs": "html5", + "name": "TrackEventInit", + "extends": "EventInit" + }, + "MSAudioSendPayload": { + "members": { + "member": { + "audioFECUsed": { + "specs": "webrtc-stats", + "name": "audioFECUsed", + "type": "boolean", + "type-original": "boolean" + }, + "sendMutePercent": { + "specs": "webrtc-stats", + "name": "sendMutePercent", + "type": "float", + "type-original": "float" + }, + "signal": { + "specs": "webrtc-stats", + "name": "signal", + "type": "MSAudioSendSignal", + "type-original": "MSAudioSendSignal" + }, + "samplingRate": { + "specs": "webrtc-stats", + "name": "samplingRate", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSAudioSendPayload", + "extends": "MSPayloadBase" + }, + "ErrorEventInit": { + "members": { + "member": { + "colno": { + "specs": "workers", + "name": "colno", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "filename": { + "specs": "workers", + "name": "filename", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "error": { + "specs": "workers", + "name": "error", + "default": "null", + "type": "any", + "type-original": "any" + }, + "lineno": { + "specs": "workers", + "name": "lineno", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "message": { + "specs": "workers", + "name": "message", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "workers", + "name": "ErrorEventInit", + "extends": "EventInit" + }, + "RTCSessionDescriptionInit": { + "members": { + "member": { + "sdp": { + "specs": "webrtc", + "name": "sdp", + "type": "DOMString", + "type-original": "DOMString" + }, + "type": { + "specs": "webrtc", + "name": "type", + "type": "RTCSdpType", + "type-original": "RTCSdpType" + } + } + }, + "specs": "webrtc", + "name": "RTCSessionDescriptionInit", + "extends": "Object" + }, + "MediaElementAudioSourceOptions": { + "members": { + "member": { + "mediaElement": { + "required": 1, + "specs": "webaudio", + "name": "mediaElement", + "type": "HTMLMediaElement", + "type-original": "HTMLMediaElement" + } + } + }, + "specs": "webaudio", + "name": "MediaElementAudioSourceOptions", + "extends": "Object" + }, + "RTCDtlsParameters": { + "members": { + "member": { + "fingerprints": { + "subtype": { + "type": "RTCDtlsFingerprint" + }, + "specs": "ortc", + "name": "fingerprints", + "type": "sequence", + "type-original": "sequence" + }, + "role": { + "specs": "ortc", + "name": "role", + "default": "\"auto\"", + "type": "RTCDtlsRole", + "type-original": "RTCDtlsRole" + } + } + }, + "specs": "ortc", + "name": "RTCDtlsParameters", + "extends": "Object" + }, + "RTCOutboundRTPStreamStats": { + "members": { + "member": { + "bytesSent": { + "specs": "ortc", + "name": "bytesSent", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "targetBitrate": { + "specs": "ortc", + "name": "targetBitrate", + "type": "double", + "type-original": "double" + }, + "packetsSent": { + "specs": "ortc", + "name": "packetsSent", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "roundTripTime": { + "specs": "ortc", + "name": "roundTripTime", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "ortc", + "name": "RTCOutboundRTPStreamStats", + "extends": "RTCRTPStreamStats" + }, + "RsaKeyAlgorithm": { + "members": { + "member": { + "publicExponent": { + "required": 1, + "specs": "webcryptoapi", + "name": "publicExponent", + "type": "Uint8Array", + "type-original": "BigInteger" + }, + "modulusLength": { + "required": 1, + "specs": "webcryptoapi", + "name": "modulusLength", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaKeyAlgorithm", + "extends": "KeyAlgorithm" + }, + "MediaTrackConstraints": { + "members": { + "member": { + "advanced": { + "subtype": { + "type": "MediaTrackConstraintSet" + }, + "specs": "media-capture-api", + "name": "advanced", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "media-capture-api", + "name": "MediaTrackConstraints", + "extends": "MediaTrackConstraintSet" + }, + "EcdsaParams": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + } + } + }, + "specs": "webcryptoapi", + "name": "EcdsaParams", + "extends": "Algorithm" + }, + "DeviceLightEventInit": { + "members": { + "member": { + "value": { + "specs": "ambient-light", + "name": "value", + "default": "Infinity", + "type": "unrestricted double", + "type-original": "unrestricted double" + } + } + }, + "specs": "ambient-light", + "name": "DeviceLightEventInit", + "extends": "EventInit" + }, + "RTCSrtpSdesParameters": { + "members": { + "member": { + "sessionParams": { + "subtype": { + "type": "DOMString" + }, + "specs": "ortc", + "name": "sessionParams", + "type": "sequence", + "type-original": "sequence" + }, + "keyParams": { + "subtype": { + "type": "RTCSrtpKeyParam" + }, + "specs": "ortc", + "name": "keyParams", + "type": "sequence", + "type-original": "sequence" + }, + "tag": { + "specs": "ortc", + "name": "tag", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "cryptoSuite": { + "specs": "ortc", + "name": "cryptoSuite", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCSrtpSdesParameters", + "extends": "Object" + }, + "DoubleRange": { + "members": { + "member": { + "min": { + "specs": "media-capture-api", + "name": "min", + "type": "double", + "type-original": "double" + }, + "max": { + "specs": "media-capture-api", + "name": "max", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "media-capture-api", + "name": "DoubleRange", + "extends": "Object" + }, + "RTCIceCandidatePairStats": { + "members": { + "member": { + "priority": { + "specs": "ortc", + "name": "priority", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "nominated": { + "specs": "ortc", + "name": "nominated", + "type": "boolean", + "type-original": "boolean" + }, + "availableOutgoingBitrate": { + "specs": "ortc", + "name": "availableOutgoingBitrate", + "type": "double", + "type-original": "double" + }, + "bytesSent": { + "specs": "ortc", + "name": "bytesSent", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "writable": { + "specs": "ortc", + "name": "writable", + "type": "boolean", + "type-original": "boolean" + }, + "transportId": { + "specs": "ortc", + "name": "transportId", + "type": "DOMString", + "type-original": "DOMString" + }, + "bytesReceived": { + "specs": "ortc", + "name": "bytesReceived", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "state": { + "specs": "ortc", + "name": "state", + "type": "RTCStatsIceCandidatePairState", + "type-original": "RTCStatsIceCandidatePairState" + }, + "remoteCandidateId": { + "specs": "ortc", + "name": "remoteCandidateId", + "type": "DOMString", + "type-original": "DOMString" + }, + "localCandidateId": { + "specs": "ortc", + "name": "localCandidateId", + "type": "DOMString", + "type-original": "DOMString" + }, + "availableIncomingBitrate": { + "specs": "ortc", + "name": "availableIncomingBitrate", + "type": "double", + "type-original": "double" + }, + "roundTripTime": { + "specs": "ortc", + "name": "roundTripTime", + "type": "double", + "type-original": "double" + }, + "readable": { + "specs": "ortc", + "name": "readable", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "ortc", + "name": "RTCIceCandidatePairStats", + "extends": "RTCStats" + }, + "MSVideoResolutionDistribution": { + "members": { + "member": { + "h1440Quality": { + "specs": "webrtc-stats", + "name": "h1440Quality", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "h720Quality": { + "specs": "webrtc-stats", + "name": "h720Quality", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "h2160Quality": { + "specs": "webrtc-stats", + "name": "h2160Quality", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "cifQuality": { + "specs": "webrtc-stats", + "name": "cifQuality", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "vgaQuality": { + "specs": "webrtc-stats", + "name": "vgaQuality", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "h1080Quality": { + "specs": "webrtc-stats", + "name": "h1080Quality", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSVideoResolutionDistribution", + "extends": "Object" + }, + "UIEventInit": { + "members": { + "member": { + "detail": { + "specs": "uievents", + "name": "detail", + "default": "0", + "type": "long", + "type-original": "long" + }, + "view": { + "nullable": 1, + "specs": "uievents", + "name": "view", + "default": "null", + "type": "Window", + "type-original": "Window?" + } + } + }, + "specs": "uievents", + "name": "UIEventInit", + "extends": "EventInit" + }, + "PushEventInit": { + "members": { + "member": { + "data": { + "specs": "push-api", + "name": "data", + "type": [ + { + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ] + }, + { + "type": "USVString" + } + ], + "type-original": "PushMessageDataInit" + } + } + }, + "specs": "push-api", + "name": "PushEventInit", + "extends": "ExtendableEventInit" + }, + "ChannelMergerOptions": { + "members": { + "member": { + "numberOfInputs": { + "specs": "webaudio", + "name": "numberOfInputs", + "default": "6", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webaudio", + "name": "ChannelMergerOptions", + "extends": "AudioNodeOptions" + }, + "OscillatorOptions": { + "members": { + "member": { + "periodicWave": { + "specs": "webaudio", + "name": "periodicWave", + "type": "PeriodicWave", + "type-original": "PeriodicWave" + }, + "frequency": { + "specs": "webaudio", + "name": "frequency", + "default": "440", + "type": "float", + "type-original": "float" + }, + "detune": { + "specs": "webaudio", + "name": "detune", + "default": "0", + "type": "float", + "type-original": "float" + }, + "type": { + "specs": "webaudio", + "name": "type", + "default": "\"sine\"", + "type": "OscillatorType", + "type-original": "OscillatorType" + } + } + }, + "specs": "webaudio", + "name": "OscillatorOptions", + "extends": "AudioNodeOptions" + }, + "GamepadEventInit": { + "members": { + "member": { + "gamepad": { + "specs": "gamepad", + "name": "gamepad", + "default": "null", + "type": "Gamepad", + "type-original": "Gamepad" + } + } + }, + "specs": "gamepad", + "name": "GamepadEventInit", + "extends": "EventInit" + }, + "RTCRtpHeaderExtensionParameters": { + "members": { + "member": { + "encrypt": { + "specs": "ortc", + "name": "encrypt", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "id": { + "specs": "ortc", + "name": "id", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "uri": { + "specs": "ortc", + "name": "uri", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCRtpHeaderExtensionParameters", + "extends": "Object" + }, + "RTCRtpCodecParameters": { + "members": { + "member": { + "clockRate": { + "specs": "ortc", + "name": "clockRate", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "name": { + "specs": "ortc", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + "maxptime": { + "specs": "ortc", + "name": "maxptime", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "payloadType": { + "specs": "ortc", + "name": "payloadType", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "parameters": { + "specs": "ortc", + "name": "parameters", + "type": "object", + "type-original": "object" + }, + "rtcpFeedback": { + "subtype": { + "type": "RTCRtcpFeedback" + }, + "specs": "ortc", + "name": "rtcpFeedback", + "type": "sequence", + "type-original": "sequence" + }, + "ptime": { + "specs": "ortc", + "name": "ptime", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "numChannels": { + "specs": "ortc", + "name": "numChannels", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRtpCodecParameters", + "extends": "Object" + }, + "AnalyserOptions": { + "members": { + "member": { + "minDecibels": { + "specs": "webaudio", + "name": "minDecibels", + "default": "-100", + "type": "double", + "type-original": "double" + }, + "maxDecibels": { + "specs": "webaudio", + "name": "maxDecibels", + "default": "-30", + "type": "double", + "type-original": "double" + }, + "smoothingTimeConstant": { + "specs": "webaudio", + "name": "smoothingTimeConstant", + "default": "0.8", + "type": "double", + "type-original": "double" + }, + "fftSize": { + "specs": "webaudio", + "name": "fftSize", + "default": "2048", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webaudio", + "name": "AnalyserOptions", + "extends": "AudioNodeOptions" + }, + "FetchEventInit": { + "members": { + "member": { + "request": { + "required": 1, + "specs": "service-workers", + "name": "request", + "type": "Request", + "type-original": "Request" + }, + "clientId": { + "specs": "service-workers", + "name": "clientId", + "default": "null", + "type": "DOMString", + "type-original": "DOMString" + }, + "reservedClientId": { + "specs": "service-workers", + "name": "reservedClientId", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "targetClientId": { + "specs": "service-workers", + "name": "targetClientId", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "service-workers", + "name": "FetchEventInit", + "extends": "ExtendableEventInit" + }, + "PushSubscriptionChangeInit": { + "members": { + "member": { + "newSubscription": { + "specs": "push-api", + "name": "newSubscription", + "default": "null", + "type": "PushSubscription", + "type-original": "PushSubscription" + }, + "oldSubscription": { + "specs": "push-api", + "name": "oldSubscription", + "default": "null", + "type": "PushSubscription", + "type-original": "PushSubscription" + } + } + }, + "specs": "push-api", + "name": "PushSubscriptionChangeInit", + "extends": "ExtendableEventInit" + }, + "AddEventListenerOptions": { + "members": { + "member": { + "once": { + "specs": "dom4", + "name": "once", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "passive": { + "specs": "dom4", + "name": "passive", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "dom4", + "name": "AddEventListenerOptions", + "extends": "EventListenerOptions" + }, + "VRLayer": { + "members": { + "member": { + "source": { + "nullable": 1, + "specs": "WebVR", + "name": "source", + "default": "null", + "type": "HTMLCanvasElement", + "type-original": "VRSource?" + }, + "rightBounds": { + "specs": "WebVR", + "name": "rightBounds", + "default": "null", + "type-original": "sequence?", + "subtype": { + "type": "float" + }, + "nullable": 1, + "type": "sequence" + }, + "leftBounds": { + "specs": "WebVR", + "name": "leftBounds", + "default": "null", + "type-original": "sequence?", + "subtype": { + "type": "float" + }, + "nullable": 1, + "type": "sequence" + } + } + }, + "specs": "WebVR", + "name": "VRLayer", + "extends": "Object" + }, + "GetNotificationOptions": { + "members": { + "member": { + "tag": { + "specs": "notifications", + "name": "tag", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "notifications", + "name": "GetNotificationOptions", + "extends": "Object" + }, + "ScopedCredentialOptions": { + "members": { + "member": { + "extensions": { + "specs": "WD-webauthn-20161207", + "name": "extensions", + "type": "WebAuthnExtensions", + "type-original": "WebAuthnExtensions" + }, + "excludeList": { + "subtype": { + "type": "ScopedCredentialDescriptor" + }, + "specs": "WD-webauthn-20161207", + "name": "excludeList", + "type": "sequence", + "type-original": "sequence" + }, + "rpId": { + "specs": "WD-webauthn-20161207", + "name": "rpId", + "type": "USVString", + "type-original": "USVString" + }, + "timeoutSeconds": { + "specs": "WD-webauthn-20161207", + "name": "timeoutSeconds", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "WD-webauthn-20161207", + "name": "ScopedCredentialOptions", + "extends": "Object" + }, + "ObjectURLOptions": { + "members": { + "member": { + "oneTimeOnly": { + "specs": "fileapi", + "name": "oneTimeOnly", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "fileapi", + "name": "ObjectURLOptions", + "extends": "Object" + }, + "RTCMediaStreamTrackStats": { + "members": { + "member": { + "remoteSource": { + "specs": "ortc", + "name": "remoteSource", + "type": "boolean", + "type-original": "boolean" + }, + "trackIdentifier": { + "specs": "ortc", + "name": "trackIdentifier", + "type": "DOMString", + "type-original": "DOMString" + }, + "frameHeight": { + "specs": "ortc", + "name": "frameHeight", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "echoReturnLossEnhancement": { + "specs": "ortc", + "name": "echoReturnLossEnhancement", + "type": "double", + "type-original": "double" + }, + "framesDecoded": { + "specs": "ortc", + "name": "framesDecoded", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "frameWidth": { + "specs": "ortc", + "name": "frameWidth", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "echoReturnLoss": { + "specs": "ortc", + "name": "echoReturnLoss", + "type": "double", + "type-original": "double" + }, + "framesDropped": { + "specs": "ortc", + "name": "framesDropped", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "framesPerSecond": { + "specs": "ortc", + "name": "framesPerSecond", + "type": "double", + "type-original": "double" + }, + "ssrcIds": { + "subtype": { + "type": "DOMString" + }, + "specs": "ortc", + "name": "ssrcIds", + "type": "sequence", + "type-original": "sequence" + }, + "framesCorrupted": { + "specs": "ortc", + "name": "framesCorrupted", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "audioLevel": { + "specs": "ortc", + "name": "audioLevel", + "type": "double", + "type-original": "double" + }, + "framesReceived": { + "specs": "ortc", + "name": "framesReceived", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "framesSent": { + "specs": "ortc", + "name": "framesSent", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCMediaStreamTrackStats", + "extends": "RTCStats" + }, + "DelayOptions": { + "members": { + "member": { + "maxDelayTime": { + "specs": "webaudio", + "name": "maxDelayTime", + "default": "1", + "type": "double", + "type-original": "double" + }, + "delayTime": { + "specs": "webaudio", + "name": "delayTime", + "default": "0", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "webaudio", + "name": "DelayOptions", + "extends": "AudioNodeOptions" + }, + "PushSubscriptionOptionsInit": { + "members": { + "member": { + "userVisibleOnly": { + "specs": "push-api", + "name": "userVisibleOnly", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "applicationServerKey": { + "specs": "push-api", + "name": "applicationServerKey", + "default": "null", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + }, + { + "nullable": 1, + "type": "DOMString" + } + ], + "type-original": "(BufferSource or DOMString)?" + } + } + }, + "specs": "push-api", + "name": "PushSubscriptionOptionsInit", + "extends": "Object" + }, + "RTCSrtpKeyParam": { + "members": { + "member": { + "mkiLength": { + "specs": "ortc", + "name": "mkiLength", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "mkiValue": { + "specs": "ortc", + "name": "mkiValue", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "keySalt": { + "specs": "ortc", + "name": "keySalt", + "type": "DOMString", + "type-original": "DOMString" + }, + "keyMethod": { + "specs": "ortc", + "name": "keyMethod", + "type": "DOMString", + "type-original": "DOMString" + }, + "lifetime": { + "specs": "ortc", + "name": "lifetime", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCSrtpKeyParam", + "extends": "Object" + }, + "ConstantSourceOptions": { + "members": { + "member": { + "offset": { + "specs": "webaudio", + "name": "offset", + "default": "1", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "ConstantSourceOptions", + "extends": "Object" + }, + "RTCRtpUnhandled": { + "members": { + "member": { + "payloadType": { + "specs": "ortc", + "name": "payloadType", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "muxId": { + "specs": "ortc", + "name": "muxId", + "type": "DOMString", + "type-original": "DOMString" + }, + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRtpUnhandled", + "extends": "Object" + }, + "MSRelayAddress": { + "members": { + "member": { + "port": { + "specs": "webrtc-stats", + "name": "port", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "relayAddress": { + "specs": "webrtc-stats", + "name": "relayAddress", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webrtc-stats", + "name": "MSRelayAddress", + "extends": "Object" + }, + "MSJitter": { + "members": { + "member": { + "interArrival": { + "specs": "webrtc-stats", + "name": "interArrival", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "interArrivalSD": { + "specs": "webrtc-stats", + "name": "interArrivalSD", + "type": "float", + "type-original": "float" + }, + "interArrivalMax": { + "specs": "webrtc-stats", + "name": "interArrivalMax", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSJitter", + "extends": "Object" + }, + "RTCRTPStreamStats": { + "members": { + "member": { + "isRemote": { + "specs": "ortc", + "name": "isRemote", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "sliCount": { + "specs": "ortc", + "name": "sliCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "nackCount": { + "specs": "ortc", + "name": "nackCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "codecId": { + "specs": "ortc", + "name": "codecId", + "type": "DOMString", + "type-original": "DOMString" + }, + "transportId": { + "specs": "ortc", + "name": "transportId", + "type": "DOMString", + "type-original": "DOMString" + }, + "pliCount": { + "specs": "ortc", + "name": "pliCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "associateStatsId": { + "specs": "ortc", + "name": "associateStatsId", + "type": "DOMString", + "type-original": "DOMString" + }, + "mediaTrackId": { + "specs": "ortc", + "name": "mediaTrackId", + "type": "DOMString", + "type-original": "DOMString" + }, + "mediaType": { + "specs": "ortc", + "name": "mediaType", + "type": "DOMString", + "type-original": "DOMString" + }, + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "DOMString", + "type-original": "DOMString" + }, + "firCount": { + "specs": "ortc", + "name": "firCount", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRTPStreamStats", + "extends": "RTCStats" + }, + "MSDCCEventInit": { + "members": { + "member": { + "maxFr": { + "specs": "ortc", + "name": "maxFr", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "maxFs": { + "specs": "ortc", + "name": "maxFs", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "MSDCCEventInit", + "extends": "EventInit" + }, + "ConfirmSiteSpecificExceptionsInformation": { + "members": { + "member": { + "arrayOfDomainStrings": { + "subtype": { + "type": "DOMString" + }, + "specs": "tracking-dnt", + "name": "arrayOfDomainStrings", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "tracking-dnt", + "name": "ConfirmSiteSpecificExceptionsInformation", + "extends": "ExceptionInformation" + }, + "EcdhKeyDeriveParams": { + "members": { + "member": { + "public": { + "required": 1, + "specs": "webcryptoapi", + "name": "public", + "type": "CryptoKey", + "type-original": "CryptoKey" + } + } + }, + "specs": "webcryptoapi", + "name": "EcdhKeyDeriveParams", + "extends": "Algorithm" + }, + "MediaTrackConstraintSet": { + "members": { + "member": { + "sampleRate": { + "specs": "media-capture-api", + "name": "sampleRate", + "type": [ + { + "type": "long" + }, + { + "type": "ConstrainLongRange" + } + ], + "type-original": "ConstrainLong" + }, + "width": { + "specs": "media-capture-api", + "name": "width", + "type": [ + { + "type": "long" + }, + { + "type": "ConstrainLongRange" + } + ], + "type-original": "ConstrainLong" + }, + "deviceId": { + "specs": "media-capture-api", + "name": "deviceId", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + { + "type": "ConstrainDOMStringParameters" + } + ], + "type-original": "ConstrainDOMString" + }, + "volume": { + "specs": "media-capture-api", + "name": "volume", + "type": [ + { + "type": "double" + }, + { + "type": "ConstrainDoubleRange" + } + ], + "type-original": "ConstrainDouble" + }, + "echoCancelation": { + "specs": "media-capture-api", + "name": "echoCancelation", + "type": [ + { + "type": "boolean" + }, + { + "type": "ConstrainBooleanParameters" + } + ], + "type-original": "ConstrainBoolean" + }, + "sampleSize": { + "specs": "media-capture-api", + "name": "sampleSize", + "type": [ + { + "type": "long" + }, + { + "type": "ConstrainLongRange" + } + ], + "type-original": "ConstrainLong" + }, + "groupId": { + "specs": "media-capture-api", + "name": "groupId", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + { + "type": "ConstrainDOMStringParameters" + } + ], + "type-original": "ConstrainDOMString" + }, + "height": { + "specs": "media-capture-api", + "name": "height", + "type": [ + { + "type": "long" + }, + { + "type": "ConstrainLongRange" + } + ], + "type-original": "ConstrainLong" + }, + "facingMode": { + "specs": "media-capture-api", + "name": "facingMode", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + { + "type": "ConstrainDOMStringParameters" + } + ], + "type-original": "ConstrainDOMString" + }, + "frameRate": { + "specs": "media-capture-api", + "name": "frameRate", + "type": [ + { + "type": "double" + }, + { + "type": "ConstrainDoubleRange" + } + ], + "type-original": "ConstrainDouble" + }, + "aspectRatio": { + "specs": "media-capture-api", + "name": "aspectRatio", + "type": [ + { + "type": "double" + }, + { + "type": "ConstrainDoubleRange" + } + ], + "type-original": "ConstrainDouble" + }, + "displaySurface": { + "specs": "screen-capture", + "name": "displaySurface", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + { + "type": "ConstrainDOMStringParameters" + } + ], + "type-original": "ConstrainDOMString" + }, + "logicalSurface": { + "specs": "screen-capture", + "name": "logicalSurface", + "type": [ + { + "type": "boolean" + }, + { + "type": "ConstrainBooleanParameters" + } + ], + "type-original": "ConstrainBoolean" + } + } + }, + "specs": "media-capture-api", + "name": "MediaTrackConstraintSet", + "extends": "Object" + }, + "RTCRtpRtxParameters": { + "members": { + "member": { + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRtpRtxParameters", + "extends": "Object" + }, + "RTCIceCandidateInit": { + "members": { + "member": { + "sdpMLineIndex": { + "specs": "webrtc", + "name": "sdpMLineIndex", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "candidate": { + "specs": "webrtc", + "name": "candidate", + "type": "DOMString", + "type-original": "DOMString" + }, + "sdpMid": { + "specs": "webrtc", + "name": "sdpMid", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webrtc", + "name": "RTCIceCandidateInit", + "extends": "Object" + }, + "RegistrationOptions": { + "members": { + "member": { + "scope": { + "specs": "service-workers", + "name": "scope", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "service-workers", + "name": "RegistrationOptions", + "extends": "Object" + }, + "HkdfParams": { + "members": { + "member": { + "info": { + "required": 1, + "specs": "webcryptoapi", + "name": "info", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "salt": { + "required": 1, + "specs": "webcryptoapi", + "name": "salt", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + } + } + }, + "specs": "webcryptoapi", + "name": "HkdfParams", + "extends": "Algorithm" + }, + "FocusEventInit": { + "members": { + "member": { + "relatedTarget": { + "nullable": 1, + "specs": "uievents", + "name": "relatedTarget", + "default": "null", + "type": "EventTarget", + "type-original": "EventTarget?" + } + } + }, + "specs": "uievents", + "name": "FocusEventInit", + "extends": "UIEventInit" + }, + "RTCDTMFToneChangeEventInit": { + "members": { + "member": { + "tone": { + "specs": "ortc", + "name": "tone", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCDTMFToneChangeEventInit", + "extends": "EventInit" + }, + "RTCDtlsFingerprint": { + "members": { + "member": { + "algorithm": { + "specs": "ortc", + "name": "algorithm", + "type": "DOMString", + "type-original": "DOMString" + }, + "value": { + "specs": "ortc", + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCDtlsFingerprint", + "extends": "Object" + }, + "CompositionEventInit": { + "members": { + "member": { + "data": { + "specs": "uievents", + "name": "data", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "uievents", + "name": "CompositionEventInit", + "extends": "UIEventInit" + }, + "PaymentMethodData": { + "members": { + "member": { + "supportedMethods": { + "subtype": { + "type": "DOMString" + }, + "required": 1, + "specs": "payment-request", + "name": "supportedMethods", + "type": "sequence", + "type-original": "sequence" + }, + "data": { + "specs": "payment-request", + "name": "data", + "type": "object", + "type-original": "object" + } + } + }, + "specs": "payment-request", + "name": "PaymentMethodData", + "extends": "Object" + }, + "PaymentDetailsUpdate": { + "members": { + "member": { + "error": { + "specs": "payment-request", + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + }, + "total": { + "specs": "payment-request", + "name": "total", + "type": "PaymentItem", + "type-original": "PaymentItem" + } + } + }, + "specs": "payment-request", + "name": "PaymentDetailsUpdate", + "extends": "PaymentDetailsBase" + }, + "VRDisplayEventInit": { + "members": { + "member": { + "reason": { + "specs": "WebVR", + "name": "reason", + "type": "VRDisplayEventReason", + "type-original": "VRDisplayEventReason" + }, + "display": { + "required": 1, + "specs": "WebVR", + "name": "display", + "type": "VRDisplay", + "type-original": "VRDisplay" + } + } + }, + "specs": "WebVR", + "name": "VRDisplayEventInit", + "extends": "EventInit" + }, + "MSTransportDiagnosticsStats": { + "members": { + "member": { + "protocol": { + "specs": "webrtc-stats", + "name": "protocol", + "type": "RTCIceProtocol", + "type-original": "RTCIceProtocol" + }, + "msRtcEngineVersion": { + "specs": "webrtc-stats", + "name": "msRtcEngineVersion", + "type": "DOMString", + "type-original": "DOMString" + }, + "baseInterface": { + "specs": "webrtc-stats", + "name": "baseInterface", + "type": "MSNetworkInterfaceType", + "type-original": "MSNetworkInterfaceType" + }, + "rtpRtcpMux": { + "specs": "webrtc-stats", + "name": "rtpRtcpMux", + "type": "boolean", + "type-original": "boolean" + }, + "remoteAddrType": { + "specs": "webrtc-stats", + "name": "remoteAddrType", + "type": "MSIceAddrType", + "type-original": "MSIceAddrType" + }, + "baseAddress": { + "specs": "webrtc-stats", + "name": "baseAddress", + "type": "DOMString", + "type-original": "DOMString" + }, + "allocationTimeInMs": { + "specs": "webrtc-stats", + "name": "allocationTimeInMs", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "numConsentRespSent": { + "specs": "webrtc-stats", + "name": "numConsentRespSent", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "remoteMR": { + "specs": "webrtc-stats", + "name": "remoteMR", + "type": "DOMString", + "type-original": "DOMString" + }, + "numConsentReqSent": { + "specs": "webrtc-stats", + "name": "numConsentReqSent", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "interfaces": { + "specs": "webrtc-stats", + "name": "interfaces", + "type": "MSNetworkInterfaceType", + "type-original": "MSNetworkInterfaceType" + }, + "localSite": { + "specs": "webrtc-stats", + "name": "localSite", + "type": "DOMString", + "type-original": "DOMString" + }, + "remoteMRTCPPort": { + "specs": "webrtc-stats", + "name": "remoteMRTCPPort", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "remoteAddress": { + "specs": "webrtc-stats", + "name": "remoteAddress", + "type": "DOMString", + "type-original": "DOMString" + }, + "localAddrType": { + "specs": "webrtc-stats", + "name": "localAddrType", + "type": "MSIceAddrType", + "type-original": "MSIceAddrType" + }, + "portRangeMax": { + "specs": "webrtc-stats", + "name": "portRangeMax", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "remoteSite": { + "specs": "webrtc-stats", + "name": "remoteSite", + "type": "DOMString", + "type-original": "DOMString" + }, + "numConsentReqReceived": { + "specs": "webrtc-stats", + "name": "numConsentReqReceived", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "localInterface": { + "specs": "webrtc-stats", + "name": "localInterface", + "type": "MSNetworkInterfaceType", + "type-original": "MSNetworkInterfaceType" + }, + "portRangeMin": { + "specs": "webrtc-stats", + "name": "portRangeMin", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "localMR": { + "specs": "webrtc-stats", + "name": "localMR", + "type": "DOMString", + "type-original": "DOMString" + }, + "stunVer": { + "specs": "webrtc-stats", + "name": "stunVer", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "localAddress": { + "specs": "webrtc-stats", + "name": "localAddress", + "type": "DOMString", + "type-original": "DOMString" + }, + "iceWarningFlags": { + "specs": "webrtc-stats", + "name": "iceWarningFlags", + "type": "MSIceWarningFlags", + "type-original": "MSIceWarningFlags" + }, + "localMRTCPPort": { + "specs": "webrtc-stats", + "name": "localMRTCPPort", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "numConsentRespReceived": { + "specs": "webrtc-stats", + "name": "numConsentRespReceived", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "iceRole": { + "specs": "webrtc-stats", + "name": "iceRole", + "type": "RTCIceRole", + "type-original": "RTCIceRole" + }, + "networkName": { + "specs": "webrtc-stats", + "name": "networkName", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webrtc-stats", + "name": "MSTransportDiagnosticsStats", + "extends": "RTCStats" + }, + "EventInit": { + "members": { + "member": { + "cancelable": { + "specs": "dom4", + "name": "cancelable", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "bubbles": { + "specs": "dom4", + "name": "bubbles", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "dom4", + "name": "EventInit", + "extends": "Object" + }, + "RTCIceCandidateComplete": { + "members": { + "member": {} + }, + "specs": "ortc", + "name": "RTCIceCandidateComplete", + "extends": "Object" + }, + "PaymentItem": { + "members": { + "member": { + "amount": { + "required": 1, + "specs": "payment-request", + "name": "amount", + "type": "PaymentCurrencyAmount", + "type-original": "PaymentCurrencyAmount" + }, + "pending": { + "specs": "payment-request", + "name": "pending", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "label": { + "required": 1, + "specs": "payment-request", + "name": "label", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "payment-request", + "name": "PaymentItem", + "extends": "Object" + }, + "PaymentDetailsInit": { + "members": { + "member": { + "id": { + "specs": "payment-request", + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + }, + "total": { + "required": 1, + "specs": "payment-request", + "name": "total", + "type": "PaymentItem", + "type-original": "PaymentItem" + } + } + }, + "specs": "payment-request", + "name": "PaymentDetailsInit", + "extends": "PaymentDetailsBase" + }, + "RTCRtpFecParameters": { + "members": { + "member": { + "mechanism": { + "specs": "ortc", + "name": "mechanism", + "type": "DOMString", + "type-original": "DOMString" + }, + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRtpFecParameters", + "extends": "Object" + }, + "AesKeyGenParams": { + "members": { + "member": { + "length": { + "required": 1, + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned short", + "enforce-range": 1, + "type-original": "unsigned short" + } + } + }, + "specs": "webcryptoapi", + "name": "AesKeyGenParams", + "extends": "Algorithm" + }, + "ConstrainDoubleRange": { + "members": { + "member": { + "exact": { + "specs": "media-capture-api", + "name": "exact", + "type": "double", + "type-original": "double" + }, + "ideal": { + "specs": "media-capture-api", + "name": "ideal", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "media-capture-api", + "name": "ConstrainDoubleRange", + "extends": "DoubleRange" + }, + "DeviceRotationRateDict": { + "members": { + "member": { + "gamma": { + "nullable": 1, + "specs": "orientation-event", + "name": "gamma", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "alpha": { + "nullable": 1, + "specs": "orientation-event", + "name": "alpha", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "beta": { + "nullable": 1, + "specs": "orientation-event", + "name": "beta", + "default": "null", + "type": "double", + "type-original": "double?" + } + } + }, + "specs": "orientation-event", + "name": "DeviceRotationRateDict", + "extends": "Object" + }, + "AesDerivedKeyParams": { + "members": { + "member": { + "length": { + "required": 1, + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned short", + "enforce-range": 1, + "type-original": "unsigned short" + } + } + }, + "specs": "webcryptoapi", + "name": "AesDerivedKeyParams", + "extends": "Algorithm" + }, + "ScopedCredentialDescriptor": { + "members": { + "member": { + "id": { + "required": 1, + "specs": "webauthn", + "name": "id", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "type": { + "required": 1, + "specs": "webauthn", + "name": "type", + "type": "ScopedCredentialType", + "type-original": "ScopedCredentialType" + }, + "transports": { + "subtype": { + "type": "Transport" + }, + "specs": "webauthn", + "name": "transports", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webauthn", + "name": "ScopedCredentialDescriptor", + "extends": "Object" + }, + "MSDSHEventInit": { + "members": { + "member": { + "sources": { + "subtype": { + "type": "unsigned long" + }, + "specs": "ortc", + "name": "sources", + "type": "sequence", + "type-original": "sequence" + }, + "timestamp": { + "specs": "ortc", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp" + } + } + }, + "specs": "ortc", + "name": "MSDSHEventInit", + "extends": "EventInit" + }, + "StoreSiteSpecificExceptionsInformation": { + "members": { + "member": { + "arrayOfDomainStrings": { + "subtype": { + "type": "DOMString" + }, + "specs": "tracking-dnt", + "name": "arrayOfDomainStrings", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "tracking-dnt", + "name": "StoreSiteSpecificExceptionsInformation", + "extends": "StoreExceptionsInformation" + }, + "ConstrainDOMStringParameters": { + "members": { + "member": { + "exact": { + "specs": "media-capture-api", + "name": "exact", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + } + ], + "type-original": "(DOMString or sequence)" + }, + "ideal": { + "specs": "media-capture-api", + "name": "ideal", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + } + ], + "type-original": "(DOMString or sequence)" + } + } + }, + "specs": "media-capture-api", + "name": "ConstrainDOMStringParameters", + "extends": "Object" + }, + "PaymentCurrencyAmount": { + "members": { + "member": { + "currency": { + "required": 1, + "specs": "payment-request", + "name": "currency", + "type": "DOMString", + "type-original": "DOMString" + }, + "currencySystem": { + "specs": "payment-request", + "name": "currencySystem", + "default": "\"urn:iso:std:iso:4217\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "value": { + "required": 1, + "specs": "payment-request", + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "payment-request", + "name": "PaymentCurrencyAmount", + "extends": "Object" + }, + "HmacKeyGenParams": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + }, + "length": { + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned long", + "enforce-range": 1, + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "HmacKeyGenParams", + "extends": "Algorithm" + }, + "AssertionOptions": { + "members": { + "member": { + "extensions": { + "specs": "webauthn", + "name": "extensions", + "type": "WebAuthnExtensions", + "type-original": "WebAuthnExtensions" + }, + "rpId": { + "specs": "webauthn", + "name": "rpId", + "type": "USVString", + "type-original": "USVString" + }, + "timeoutSeconds": { + "specs": "WD-webauthn-20161207", + "name": "timeoutSeconds", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "allowList": { + "subtype": { + "type": "ScopedCredentialDescriptor" + }, + "specs": "webauthn", + "name": "allowList", + "default": "[]", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webauthn", + "name": "AssertionOptions", + "extends": "Object" + }, + "RsaPssParams": { + "members": { + "member": { + "saltLength": { + "required": 1, + "specs": "webcryptoapi", + "name": "saltLength", + "type": "unsigned long", + "enforce-range": 1, + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaPssParams", + "extends": "Algorithm" + }, + "ConstrainVideoFacingModeParameters": { + "members": { + "member": { + "exact": { + "specs": "media-capture-api", + "name": "exact", + "type": [ + { + "type": "VideoFacingModeEnum" + }, + { + "subtype": { + "type": "VideoFacingModeEnum" + }, + "type": "sequence" + } + ], + "type-original": "(VideoFacingModeEnum or sequence)" + }, + "ideal": { + "specs": "media-capture-api", + "name": "ideal", + "type": [ + { + "type": "VideoFacingModeEnum" + }, + { + "subtype": { + "type": "VideoFacingModeEnum" + }, + "type": "sequence" + } + ], + "type-original": "(VideoFacingModeEnum or sequence)" + } + } + }, + "specs": "media-capture-api", + "name": "ConstrainVideoFacingModeParameters", + "extends": "Object" + }, + "AudioParamDescriptor": { + "members": { + "member": { + "minValue": { + "specs": "webaudio", + "name": "minValue", + "type": "float", + "type-original": "float" + }, + "maxValue": { + "specs": "webaudio", + "name": "maxValue", + "type": "float", + "type-original": "float" + }, + "name": { + "specs": "webaudio", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + "defaultValue": { + "specs": "webaudio", + "name": "defaultValue", + "default": "0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "AudioParamDescriptor", + "extends": "Object" + }, + "RTCConfiguration": { + "members": { + "member": { + "peerIdentity": { + "specs": "webrtc", + "name": "peerIdentity", + "type": "DOMString", + "type-original": "DOMString" + }, + "bundlePolicy": { + "specs": "webrtc", + "name": "bundlePolicy", + "default": "\"balanced\"", + "type": "RTCBundlePolicy", + "type-original": "RTCBundlePolicy" + }, + "iceServers": { + "subtype": { + "type": "RTCIceServer" + }, + "specs": "webrtc", + "name": "iceServers", + "type": "sequence", + "type-original": "sequence" + }, + "iceTransportPolicy": { + "specs": "webrtc", + "name": "iceTransportPolicy", + "default": "\"all\"", + "type": "RTCIceTransportPolicy", + "type-original": "RTCIceTransportPolicy" + } + } + }, + "specs": "webrtc", + "name": "RTCConfiguration", + "extends": "Object" + }, + "MSNetworkConnectivityInfo": { + "members": { + "member": { + "networkConnectionDetails": { + "specs": "webrtc-stats", + "name": "networkConnectionDetails", + "type": "DOMString", + "type-original": "DOMString" + }, + "linkspeed": { + "specs": "webrtc-stats", + "name": "linkspeed", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "vpn": { + "specs": "webrtc-stats", + "name": "vpn", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webrtc-stats", + "name": "MSNetworkConnectivityInfo", + "extends": "Object" + }, + "ClientQueryOptions": { + "members": { + "member": { + "includeReserved": { + "specs": "service-workers", + "name": "includeReserved", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "includeUncontrolled": { + "specs": "service-workers", + "name": "includeUncontrolled", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "type": { + "specs": "service-workers", + "name": "type", + "default": "\"window\"", + "type": "ClientType", + "type-original": "ClientType" + } + } + }, + "specs": "service-workers", + "name": "ClientQueryOptions", + "extends": "Object" + }, + "RsaHashedKeyAlgorithm": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": "KeyAlgorithm", + "type-original": "KeyAlgorithm" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaHashedKeyAlgorithm", + "extends": "RsaKeyAlgorithm" + }, + "DeviceMotionEventInit": { + "members": { + "member": { + "rotationRate": { + "nullable": 1, + "specs": "orientation-event", + "name": "rotationRate", + "default": "null", + "type": "DeviceRotationRateDict", + "type-original": "DeviceRotationRateDict?" + }, + "acceleration": { + "nullable": 1, + "specs": "orientation-event", + "name": "acceleration", + "default": "null", + "type": "DeviceAccelerationDict", + "type-original": "DeviceAccelerationDict?" + }, + "interval": { + "nullable": 1, + "specs": "orientation-event", + "name": "interval", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "accelerationIncludingGravity": { + "nullable": 1, + "specs": "orientation-event", + "name": "accelerationIncludingGravity", + "default": "null", + "type": "DeviceAccelerationDict", + "type-original": "DeviceAccelerationDict?" + } + } + }, + "specs": "orientation-event", + "name": "DeviceMotionEventInit", + "extends": "EventInit" + }, + "RTCIceServer": { + "members": { + "member": { + "credential": { + "nullable": 1, + "specs": "ortc", + "name": "credential", + "type": "DOMString", + "type-original": "DOMString?" + }, + "urls": { + "specs": "ortc", + "name": "urls", + "type": "any", + "type-original": "any" + }, + "username": { + "nullable": 1, + "specs": "ortc", + "name": "username", + "type": "DOMString", + "type-original": "DOMString?" + } + } + }, + "specs": "ortc", + "name": "RTCIceServer", + "extends": "Object" + }, + "HmacKeyAlgorithm": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": "KeyAlgorithm", + "type-original": "KeyAlgorithm" + }, + "length": { + "required": 1, + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "HmacKeyAlgorithm", + "extends": "KeyAlgorithm" + }, + "ConvolverOptions": { + "members": { + "member": { + "disableNormalization": { + "specs": "webaudio", + "name": "disableNormalization", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "buffer": { + "nullable": 1, + "specs": "webaudio", + "name": "buffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer?" + } + } + }, + "specs": "webaudio", + "name": "ConvolverOptions", + "extends": "AudioNodeOptions" + }, + "MSPayloadBase": { + "members": { + "member": { + "payloadDescription": { + "specs": "webrtc-stats", + "name": "payloadDescription", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webrtc-stats", + "name": "MSPayloadBase", + "extends": "RTCStats" + }, + "WaveShaperOptions": { + "members": { + "member": { + "curve": { + "subtype": { + "type": "float" + }, + "specs": "webaudio", + "name": "curve", + "type": "sequence", + "type-original": "sequence" + }, + "oversample": { + "specs": "webaudio", + "name": "oversample", + "default": "\"none\"", + "type": "OverSampleType", + "type-original": "OverSampleType" + } + } + }, + "specs": "webaudio", + "name": "WaveShaperOptions", + "extends": "AudioNodeOptions" + }, + "CloseEventInit": { + "members": { + "member": { + "wasClean": { + "specs": "html5", + "name": "wasClean", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "reason": { + "specs": "html5", + "name": "reason", + "default": "\"\"", + "type": "USVString", + "type-original": "USVString" + }, + "code": { + "specs": "html5", + "name": "code", + "default": "0", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "specs": "html5", + "name": "CloseEventInit", + "extends": "EventInit" + }, + "StoreExceptionsInformation": { + "members": { + "member": { + "detailURI": { + "nullable": 1, + "specs": "tracking-dnt", + "name": "detailURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + "siteName": { + "nullable": 1, + "specs": "tracking-dnt", + "name": "siteName", + "type": "DOMString", + "type-original": "DOMString?" + }, + "explanationString": { + "nullable": 1, + "specs": "tracking-dnt", + "name": "explanationString", + "type": "DOMString", + "type-original": "DOMString?" + } + } + }, + "specs": "tracking-dnt", + "name": "StoreExceptionsInformation", + "extends": "ExceptionInformation" + }, + "MSPacketLoss": { + "members": { + "member": { + "lossRate": { + "specs": "webrtc-stats", + "name": "lossRate", + "type": "float", + "type-original": "float" + }, + "lossRateMax": { + "specs": "webrtc-stats", + "name": "lossRateMax", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webrtc-stats", + "name": "MSPacketLoss", + "extends": "Object" + }, + "IIRFilterOptions": { + "members": { + "member": { + "feedforward": { + "subtype": { + "type": "double" + }, + "required": 1, + "specs": "webaudio", + "name": "feedforward", + "type": "sequence", + "type-original": "sequence" + }, + "feedback": { + "subtype": { + "type": "double" + }, + "required": 1, + "specs": "webaudio", + "name": "feedback", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webaudio", + "name": "IIRFilterOptions", + "extends": "AudioNodeOptions" + }, + "ClientData": { + "members": { + "member": { + "extensions": { + "specs": "WD-webauthn-20161207", + "name": "extensions", + "type": "WebAuthnExtensions", + "type-original": "WebAuthnExtensions" + }, + "rpId": { + "required": 1, + "specs": "WD-webauthn-20160902", + "name": "rpId", + "type": "DOMString", + "type-original": "DOMString" + }, + "tokenBinding": { + "specs": "webauthn", + "name": "tokenBinding", + "type": "DOMString", + "type-original": "DOMString" + }, + "challenge": { + "required": 1, + "specs": "webauthn", + "name": "challenge", + "type": "DOMString", + "type-original": "DOMString" + }, + "origin": { + "required": 1, + "specs": "webauthn", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString" + }, + "hashAlg": { + "required": 1, + "specs": "WD-webauthn-20170216", + "name": "hashAlg", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + } + } + }, + "specs": "webauthn", + "name": "ClientData", + "extends": "Object" + }, + "ExtendableMessageEventInit": { + "members": { + "member": { + "source": { + "specs": "service-workers", + "name": "source", + "type": [ + { + "nullable": 1, + "type": "Client" + }, + { + "nullable": 1, + "type": "ServiceWorker" + }, + { + "nullable": 1, + "type": "MessagePort" + } + ], + "type-original": "(Client or ServiceWorker or MessagePort)?" + }, + "ports": { + "subtype": { + "type": "MessagePort" + }, + "nullable": 1, + "specs": "service-workers", + "name": "ports", + "type": "sequence", + "type-original": "sequence?" + }, + "lastEventId": { + "specs": "service-workers", + "name": "lastEventId", + "type": "DOMString", + "type-original": "DOMString" + }, + "origin": { + "specs": "service-workers", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString" + }, + "data": { + "specs": "service-workers", + "name": "data", + "type": "any", + "type-original": "any" + } + } + }, + "specs": "service-workers", + "name": "ExtendableMessageEventInit", + "extends": "ExtendableEventInit" + }, + "MSVideoSendPayload": { + "members": { + "member": { + "sendResolutionWidth": { + "specs": "webrtc-stats", + "name": "sendResolutionWidth", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "sendVideoStreamsMax": { + "specs": "webrtc-stats", + "name": "sendVideoStreamsMax", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "sendFrameRateAverage": { + "specs": "webrtc-stats", + "name": "sendFrameRateAverage", + "type": "float", + "type-original": "float" + }, + "sendResolutionHeight": { + "specs": "webrtc-stats", + "name": "sendResolutionHeight", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "sendBitRateMaximum": { + "specs": "webrtc-stats", + "name": "sendBitRateMaximum", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "sendBitRateAverage": { + "specs": "webrtc-stats", + "name": "sendBitRateAverage", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSVideoSendPayload", + "extends": "MSVideoPayload" + }, + "CacheQueryOptions": { + "members": { + "member": { + "ignoreSearch": { + "specs": "service-workers", + "name": "ignoreSearch", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "ignoreVary": { + "specs": "service-workers", + "name": "ignoreVary", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "ignoreMethod": { + "specs": "service-workers", + "name": "ignoreMethod", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "cacheName": { + "specs": "service-workers", + "name": "cacheName", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "service-workers", + "name": "CacheQueryOptions", + "extends": "Object" + }, + "AudioContextInfo": { + "members": { + "member": { + "sampleRate": { + "specs": "webaudio", + "name": "sampleRate", + "type": "float", + "type-original": "float" + }, + "currentTime": { + "specs": "webaudio", + "name": "currentTime", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "webaudio", + "name": "AudioContextInfo", + "extends": "Object" + }, + "JsonWebKey": { + "members": { + "member": { + "oth": { + "subtype": { + "type": "RsaOtherPrimesInfo" + }, + "specs": "webcryptoapi", + "name": "oth", + "type": "sequence", + "type-original": "sequence" + }, + "dp": { + "specs": "webcryptoapi", + "name": "dp", + "type": "DOMString", + "type-original": "DOMString" + }, + "crv": { + "specs": "webcryptoapi", + "name": "crv", + "type": "DOMString", + "type-original": "DOMString" + }, + "d": { + "specs": "webcryptoapi", + "name": "d", + "type": "DOMString", + "type-original": "DOMString" + }, + "x": { + "specs": "webcryptoapi", + "name": "x", + "type": "DOMString", + "type-original": "DOMString" + }, + "y": { + "specs": "webcryptoapi", + "name": "y", + "type": "DOMString", + "type-original": "DOMString" + }, + "kty": { + "specs": "webcryptoapi", + "name": "kty", + "type": "DOMString", + "type-original": "DOMString" + }, + "k": { + "specs": "webcryptoapi", + "name": "k", + "type": "DOMString", + "type-original": "DOMString" + }, + "use": { + "specs": "webcryptoapi", + "name": "use", + "type": "DOMString", + "type-original": "DOMString" + }, + "key_ops": { + "subtype": { + "type": "DOMString" + }, + "specs": "webcryptoapi", + "name": "key_ops", + "type": "sequence", + "type-original": "sequence" + }, + "ext": { + "specs": "webcryptoapi", + "name": "ext", + "type": "boolean", + "type-original": "boolean" + }, + "e": { + "specs": "webcryptoapi", + "name": "e", + "type": "DOMString", + "type-original": "DOMString" + }, + "n": { + "specs": "webcryptoapi", + "name": "n", + "type": "DOMString", + "type-original": "DOMString" + }, + "p": { + "specs": "webcryptoapi", + "name": "p", + "type": "DOMString", + "type-original": "DOMString" + }, + "q": { + "specs": "webcryptoapi", + "name": "q", + "type": "DOMString", + "type-original": "DOMString" + }, + "alg": { + "specs": "webcryptoapi", + "name": "alg", + "type": "DOMString", + "type-original": "DOMString" + }, + "dq": { + "specs": "webcryptoapi", + "name": "dq", + "type": "DOMString", + "type-original": "DOMString" + }, + "qi": { + "specs": "webcryptoapi", + "name": "qi", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webcryptoapi", + "name": "JsonWebKey", + "extends": "Object" + }, + "ResponseInit": { + "members": { + "member": { + "headers": { + "specs": "whatwg-fetch", + "name": "headers", + "type": [ + { + "type": "Headers" + }, + { + "subtype": { + "subtype": { + "type": "ByteString" + }, + "type": "sequence" + }, + "type": "sequence" + } + ], + "type-original": "HeadersInit" + }, + "status": { + "specs": "whatwg-fetch", + "name": "status", + "default": "200", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "statusText": { + "specs": "whatwg-fetch", + "name": "statusText", + "default": "\"OK\"", + "type": "ByteString", + "type-original": "ByteString" + } + } + }, + "specs": "whatwg-fetch", + "name": "ResponseInit", + "extends": "Object" + }, + "MediaTrackSupportedConstraints": { + "members": { + "member": { + "sampleRate": { + "specs": "media-capture-api", + "name": "sampleRate", + "type": "boolean", + "type-original": "boolean" + }, + "width": { + "specs": "media-capture-api", + "name": "width", + "type": "boolean", + "type-original": "boolean" + }, + "deviceId": { + "specs": "media-capture-api", + "name": "deviceId", + "type": "boolean", + "type-original": "boolean" + }, + "volume": { + "specs": "media-capture-api", + "name": "volume", + "type": "boolean", + "type-original": "boolean" + }, + "echoCancellation": { + "specs": "media-capture-api", + "name": "echoCancellation", + "type": "boolean", + "type-original": "boolean" + }, + "sampleSize": { + "specs": "media-capture-api", + "name": "sampleSize", + "type": "boolean", + "type-original": "boolean" + }, + "groupId": { + "specs": "media-capture-api", + "name": "groupId", + "type": "boolean", + "type-original": "boolean" + }, + "height": { + "specs": "media-capture-api", + "name": "height", + "type": "boolean", + "type-original": "boolean" + }, + "facingMode": { + "specs": "media-capture-api", + "name": "facingMode", + "type": "boolean", + "type-original": "boolean" + }, + "frameRate": { + "specs": "media-capture-api", + "name": "frameRate", + "type": "boolean", + "type-original": "boolean" + }, + "aspectRatio": { + "specs": "media-capture-api", + "name": "aspectRatio", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "media-capture-api", + "name": "MediaTrackSupportedConstraints", + "extends": "Object" + }, + "Algorithm": { + "members": { + "member": { + "name": { + "required": 1, + "specs": "webcryptoapi", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webcryptoapi", + "name": "Algorithm", + "extends": "Object" + }, + "MediaEncryptedEventInit": { + "members": { + "member": { + "initDataType": { + "specs": "encrypted-media", + "name": "initDataType", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "initData": { + "nullable": 1, + "specs": "encrypted-media", + "name": "initData", + "default": "null", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer?" + } + } + }, + "specs": "encrypted-media", + "name": "MediaEncryptedEventInit", + "extends": "EventInit" + }, + "SyncEventInit": { + "members": { + "member": { + "lastChance": { + "specs": "web-background-sync", + "name": "lastChance", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "tag": { + "required": 1, + "specs": "web-background-sync", + "name": "tag", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "web-background-sync", + "name": "SyncEventInit", + "extends": "ExtendableEventInit" + }, + "MSUtilization": { + "members": { + "member": { + "bandwidthEstimationAvg": { + "specs": "webrtc-stats", + "name": "bandwidthEstimationAvg", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "bandwidthEstimation": { + "specs": "webrtc-stats", + "name": "bandwidthEstimation", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "bandwidthEstimationStdDev": { + "specs": "webrtc-stats", + "name": "bandwidthEstimationStdDev", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "packets": { + "specs": "webrtc-stats", + "name": "packets", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "bandwidthEstimationMin": { + "specs": "webrtc-stats", + "name": "bandwidthEstimationMin", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "bandwidthEstimationMax": { + "specs": "webrtc-stats", + "name": "bandwidthEstimationMax", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSUtilization", + "extends": "Object" + }, + "TextDecoderOptions": { + "members": { + "member": { + "ignoreBOM": { + "specs": "encoding", + "name": "ignoreBOM", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "fatal": { + "specs": "encoding", + "name": "fatal", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "encoding", + "name": "TextDecoderOptions", + "extends": "Object" + }, + "PannerOptions": { + "members": { + "member": { + "positionZ": { + "specs": "webaudio", + "name": "positionZ", + "default": "0", + "type": "float", + "type-original": "float" + }, + "rolloffFactor": { + "specs": "webaudio", + "name": "rolloffFactor", + "default": "1", + "type": "double", + "type-original": "double" + }, + "coneOuterAngle": { + "specs": "webaudio", + "name": "coneOuterAngle", + "default": "360", + "type": "double", + "type-original": "double" + }, + "positionY": { + "specs": "webaudio", + "name": "positionY", + "default": "0", + "type": "float", + "type-original": "float" + }, + "orientationY": { + "specs": "webaudio", + "name": "orientationY", + "default": "0", + "type": "float", + "type-original": "float" + }, + "panningModel": { + "specs": "webaudio", + "name": "panningModel", + "default": "\"equalpower\"", + "type": "PanningModelType", + "type-original": "PanningModelType" + }, + "coneOuterGain": { + "specs": "webaudio", + "name": "coneOuterGain", + "default": "0", + "type": "double", + "type-original": "double" + }, + "coneInnerAngle": { + "specs": "webaudio", + "name": "coneInnerAngle", + "default": "360", + "type": "double", + "type-original": "double" + }, + "distanceModel": { + "specs": "webaudio", + "name": "distanceModel", + "default": "\"inverse\"", + "type": "DistanceModelType", + "type-original": "DistanceModelType" + }, + "positionX": { + "specs": "webaudio", + "name": "positionX", + "default": "0", + "type": "float", + "type-original": "float" + }, + "maxDistance": { + "specs": "webaudio", + "name": "maxDistance", + "default": "10000", + "type": "double", + "type-original": "double" + }, + "orientationX": { + "specs": "webaudio", + "name": "orientationX", + "default": "1", + "type": "float", + "type-original": "float" + }, + "refDistance": { + "specs": "webaudio", + "name": "refDistance", + "default": "1", + "type": "double", + "type-original": "double" + }, + "orientationZ": { + "specs": "webaudio", + "name": "orientationZ", + "default": "0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "PannerOptions", + "extends": "AudioNodeOptions" + }, + "EventListenerOptions": { + "members": { + "member": { + "capture": { + "specs": "dom4", + "name": "capture", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "dom4", + "name": "EventListenerOptions", + "extends": "Object" + }, + "TextDecodeOptions": { + "members": { + "member": { + "stream": { + "specs": "encoding", + "name": "stream", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "encoding", + "name": "TextDecodeOptions", + "extends": "Object" + }, + "RTCRtpCodecCapability": { + "members": { + "member": { + "preferredPayloadType": { + "specs": "ortc", + "name": "preferredPayloadType", + "type": "octet", + "type-original": "payloadtype" + }, + "options": { + "specs": "ortc", + "name": "options", + "type": "object", + "type-original": "object" + }, + "maxSpatialLayers": { + "specs": "ortc", + "name": "maxSpatialLayers", + "default": "0", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "clockRate": { + "specs": "ortc", + "name": "clockRate", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "name": { + "specs": "ortc", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + "maxptime": { + "specs": "ortc", + "name": "maxptime", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "parameters": { + "specs": "ortc", + "name": "parameters", + "type": "object", + "type-original": "object" + }, + "kind": { + "specs": "ortc", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString" + }, + "rtcpFeedback": { + "subtype": { + "type": "RTCRtcpFeedback" + }, + "specs": "ortc", + "name": "rtcpFeedback", + "type": "sequence", + "type-original": "sequence" + }, + "maxTemporalLayers": { + "specs": "ortc", + "name": "maxTemporalLayers", + "default": "0", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ptime": { + "specs": "ortc", + "name": "ptime", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "numChannels": { + "specs": "ortc", + "name": "numChannels", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "svcMultiStreamSupport": { + "specs": "ortc", + "name": "svcMultiStreamSupport", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "ortc", + "name": "RTCRtpCodecCapability", + "extends": "Object" + }, + "ServiceWorkerMessageEventInit": { + "members": { + "member": { + "source": { + "specs": "service-workers", + "name": "source", + "type": [ + { + "nullable": 1, + "type": "ServiceWorker" + }, + { + "nullable": 1, + "type": "MessagePort" + } + ], + "type-original": "(ServiceWorker or MessagePort)?" + }, + "ports": { + "subtype": { + "type": "MessagePort" + }, + "nullable": 1, + "specs": "service-workers", + "name": "ports", + "type": "sequence", + "type-original": "sequence?" + }, + "lastEventId": { + "specs": "service-workers", + "name": "lastEventId", + "type": "DOMString", + "type-original": "DOMString" + }, + "origin": { + "specs": "service-workers", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString" + }, + "data": { + "specs": "service-workers", + "name": "data", + "type": "any", + "type-original": "any" + } + } + }, + "specs": "service-workers", + "name": "ServiceWorkerMessageEventInit", + "extends": "EventInit" + }, + "RTCIceCandidateAttributes": { + "members": { + "member": { + "priority": { + "specs": "ortc", + "name": "priority", + "type": "long", + "type-original": "long" + }, + "transport": { + "specs": "ortc", + "name": "transport", + "type": "DOMString", + "type-original": "DOMString" + }, + "addressSourceUrl": { + "specs": "ortc", + "name": "addressSourceUrl", + "type": "DOMString", + "type-original": "DOMString" + }, + "portNumber": { + "specs": "ortc", + "name": "portNumber", + "type": "long", + "type-original": "long" + }, + "ipAddress": { + "specs": "ortc", + "name": "ipAddress", + "type": "DOMString", + "type-original": "DOMString" + }, + "candidateType": { + "specs": "ortc", + "name": "candidateType", + "type": "RTCStatsIceCandidateType", + "type-original": "RTCStatsIceCandidateType" + } + } + }, + "specs": "ortc", + "name": "RTCIceCandidateAttributes", + "extends": "RTCStats" + }, + "AudioNodeOptions": { + "members": { + "member": { + "channelCount": { + "specs": "webaudio", + "name": "channelCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "channelInterpretation": { + "specs": "webaudio", + "name": "channelInterpretation", + "type": "ChannelInterpretation", + "type-original": "ChannelInterpretation" + }, + "channelCountMode": { + "specs": "webaudio", + "name": "channelCountMode", + "type": "ChannelCountMode", + "type-original": "ChannelCountMode" + } + } + }, + "specs": "webaudio", + "name": "AudioNodeOptions", + "extends": "Object" + }, + "PeriodicWaveOptions": { + "members": { + "member": { + "imag": { + "subtype": { + "type": "float" + }, + "specs": "webaudio", + "name": "imag", + "type": "sequence", + "type-original": "sequence" + }, + "real": { + "subtype": { + "type": "float" + }, + "specs": "webaudio", + "name": "real", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webaudio", + "name": "PeriodicWaveOptions", + "extends": "PeriodicWaveConstraints" + }, + "MSCredentialFilter": { + "members": { + "member": { + "accept": { + "subtype": { + "type": "MSCredentialSpec" + }, + "specs": "webauthn", + "name": "accept", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webauthn", + "name": "MSCredentialFilter", + "extends": "Object" + }, + "RTCIceGatherOptions": { + "members": { + "member": { + "iceservers": { + "subtype": { + "type": "RTCIceServer" + }, + "specs": "ortc", + "name": "iceservers", + "type": "sequence", + "type-original": "sequence" + }, + "portRange": { + "specs": "ortc", + "name": "portRange", + "type": "MSPortRange", + "type-original": "MSPortRange" + }, + "gatherPolicy": { + "specs": "ortc", + "name": "gatherPolicy", + "type": "RTCIceGatherPolicy", + "type-original": "RTCIceGatherPolicy" + } + } + }, + "specs": "ortc", + "name": "RTCIceGatherOptions", + "extends": "Object" + }, + "MSDescription": { + "members": { + "member": { + "networkconnectivity": { + "specs": "webrtc-stats", + "name": "networkconnectivity", + "type": "MSNetworkConnectivityInfo", + "type-original": "MSNetworkConnectivityInfo" + }, + "transport": { + "specs": "webrtc-stats", + "name": "transport", + "type": "RTCIceProtocol", + "type-original": "RTCIceProtocol" + }, + "reflexiveLocalIPAddr": { + "specs": "webrtc-stats", + "name": "reflexiveLocalIPAddr", + "type": "MSIPAddressInfo", + "type-original": "MSIPAddressInfo" + }, + "connectivity": { + "specs": "webrtc-stats", + "name": "connectivity", + "type": "MSConnectivity", + "type-original": "MSConnectivity" + }, + "deviceDevName": { + "specs": "webrtc-stats", + "name": "deviceDevName", + "type": "DOMString", + "type-original": "DOMString" + }, + "localAddr": { + "specs": "webrtc-stats", + "name": "localAddr", + "type": "MSIPAddressInfo", + "type-original": "MSIPAddressInfo" + }, + "remoteAddr": { + "specs": "webrtc-stats", + "name": "remoteAddr", + "type": "MSIPAddressInfo", + "type-original": "MSIPAddressInfo" + } + } + }, + "specs": "webrtc-stats", + "name": "MSDescription", + "extends": "RTCStats" + }, + "RTCIceCandidateDictionary": { + "members": { + "member": { + "protocol": { + "specs": "ortc", + "name": "protocol", + "type": "RTCIceProtocol", + "type-original": "RTCIceProtocol" + }, + "priority": { + "specs": "ortc", + "name": "priority", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "tcpType": { + "specs": "ortc", + "name": "tcpType", + "type": "RTCIceTcpCandidateType", + "type-original": "RTCIceTcpCandidateType" + }, + "ip": { + "specs": "ortc", + "name": "ip", + "type": "DOMString", + "type-original": "DOMString" + }, + "port": { + "specs": "ortc", + "name": "port", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "msMTurnSessionId": { + "specs": "ortc", + "name": "msMTurnSessionId", + "type": "DOMString", + "type-original": "DOMString" + }, + "foundation": { + "specs": "ortc", + "name": "foundation", + "type": "DOMString", + "type-original": "DOMString" + }, + "relatedPort": { + "specs": "ortc", + "name": "relatedPort", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "type": { + "specs": "ortc", + "name": "type", + "type": "RTCIceCandidateType", + "type-original": "RTCIceCandidateType" + }, + "relatedAddress": { + "specs": "ortc", + "name": "relatedAddress", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCIceCandidateDictionary", + "extends": "Object" + }, + "OfflineAudioCompletionEventInit": { + "members": { + "member": { + "renderedBuffer": { + "required": 1, + "specs": "webaudio", + "name": "renderedBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer" + } + } + }, + "specs": "webaudio", + "name": "OfflineAudioCompletionEventInit", + "extends": "EventInit" + }, + "MSPortRange": { + "members": { + "member": { + "min": { + "specs": "ortc", + "name": "min", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "max": { + "specs": "ortc", + "name": "max", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "specs": "ortc", + "name": "MSPortRange", + "extends": "Object" + }, + "RTCRtpContributingSource": { + "members": { + "member": { + "timestamp": { + "specs": "ortc", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp" + }, + "audioLevel": { + "specs": "ortc", + "name": "audioLevel", + "type": "byte", + "type-original": "byte" + }, + "csrc": { + "specs": "ortc", + "name": "csrc", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCRtpContributingSource", + "extends": "Object" + }, + "AudioBufferOptions": { + "members": { + "member": { + "sampleRate": { + "required": 1, + "specs": "webaudio", + "name": "sampleRate", + "type": "float", + "type-original": "float" + }, + "length": { + "required": 1, + "specs": "webaudio", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "numberOfChannels": { + "specs": "webaudio", + "name": "numberOfChannels", + "default": "1", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webaudio", + "name": "AudioBufferOptions", + "extends": "Object" + }, + "MSAccountInfo": { + "members": { + "member": { + "userId": { + "specs": "webauthn", + "name": "userId", + "type": "DOMString", + "type-original": "DOMString" + }, + "userDisplayName": { + "required": 1, + "specs": "webauthn", + "name": "userDisplayName", + "type": "DOMString", + "type-original": "DOMString" + }, + "rpDisplayName": { + "required": 1, + "specs": "webauthn", + "name": "rpDisplayName", + "type": "DOMString", + "type-original": "DOMString" + }, + "accountImageUri": { + "specs": "webauthn", + "name": "accountImageUri", + "type": "DOMString", + "type-original": "DOMString" + }, + "accountName": { + "specs": "webauthn", + "name": "accountName", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webauthn", + "name": "MSAccountInfo", + "extends": "Object" + }, + "ExtendableEventInit": { + "members": { + "member": {} + }, + "specs": "service-workers", + "name": "ExtendableEventInit", + "extends": "EventInit" + }, + "RTCStatsReport": { + "members": { + "member": {} + }, + "specs": "ortc", + "name": "RTCStatsReport", + "extends": "Object" + }, + "PaymentShippingOption": { + "members": { + "member": { + "amount": { + "required": 1, + "specs": "payment-request", + "name": "amount", + "type": "PaymentCurrencyAmount", + "type-original": "PaymentCurrencyAmount" + }, + "label": { + "required": 1, + "specs": "payment-request", + "name": "label", + "type": "DOMString", + "type-original": "DOMString" + }, + "id": { + "required": 1, + "specs": "payment-request", + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + }, + "selected": { + "specs": "payment-request", + "name": "selected", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "payment-request", + "name": "PaymentShippingOption", + "extends": "Object" + }, + "AudioContextOptions": { + "members": { + "member": { + "sampleRate": { + "specs": "webaudio", + "name": "sampleRate", + "type": "float", + "type-original": "float" + }, + "latencyHint": { + "specs": "webaudio", + "name": "latencyHint", + "default": "\"interactive\"", + "type": [ + { + "type": "AudioContextLatencyCategory" + }, + { + "type": "double" + } + ], + "type-original": "(AudioContextLatencyCategory or double)" + } + } + }, + "specs": "webaudio", + "name": "AudioContextOptions", + "extends": "Object" + }, + "RTCIceCandidatePair": { + "members": { + "member": { + "local": { + "specs": "ortc", + "name": "local", + "type": "RTCIceCandidateDictionary", + "type-original": "RTCIceCandidateDictionary" + }, + "remote": { + "specs": "ortc", + "name": "remote", + "type": "RTCIceCandidateDictionary", + "type-original": "RTCIceCandidateDictionary" + } + } + }, + "specs": "ortc", + "name": "RTCIceCandidatePair", + "extends": "Object" + }, + "AesCbcParams": { + "members": { + "member": { + "iv": { + "required": 1, + "specs": "webcryptoapi", + "name": "iv", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + } + }, + "specs": "webcryptoapi", + "name": "AesCbcParams", + "extends": "Algorithm" + }, + "MediaTrackCapabilities": { + "members": { + "member": { + "sampleRate": { + "specs": "media-capture-api", + "name": "sampleRate", + "type": [ + { + "type": "long" + }, + { + "type": "LongRange" + } + ], + "type-original": "(long or LongRange)" + }, + "width": { + "specs": "media-capture-api", + "name": "width", + "type": [ + { + "type": "long" + }, + { + "type": "LongRange" + } + ], + "type-original": "(long or LongRange)" + }, + "deviceId": { + "specs": "media-capture-api", + "name": "deviceId", + "type": "DOMString", + "type-original": "DOMString" + }, + "volume": { + "specs": "media-capture-api", + "name": "volume", + "type": [ + { + "type": "double" + }, + { + "type": "DoubleRange" + } + ], + "type-original": "(double or DoubleRange)" + }, + "echoCancellation": { + "subtype": { + "type": "boolean" + }, + "specs": "media-capture-api", + "name": "echoCancellation", + "type": "sequence", + "type-original": "sequence" + }, + "sampleSize": { + "specs": "media-capture-api", + "name": "sampleSize", + "type": [ + { + "type": "long" + }, + { + "type": "LongRange" + } + ], + "type-original": "(long or LongRange)" + }, + "groupId": { + "specs": "media-capture-api", + "name": "groupId", + "type": "DOMString", + "type-original": "DOMString" + }, + "height": { + "specs": "media-capture-api", + "name": "height", + "type": [ + { + "type": "long" + }, + { + "type": "LongRange" + } + ], + "type-original": "(long or LongRange)" + }, + "facingMode": { + "specs": "media-capture-api", + "name": "facingMode", + "type": "DOMString", + "type-original": "DOMString" + }, + "frameRate": { + "specs": "media-capture-api", + "name": "frameRate", + "type": [ + { + "type": "double" + }, + { + "type": "DoubleRange" + } + ], + "type-original": "(double or DoubleRange)" + }, + "aspectRatio": { + "specs": "media-capture-api", + "name": "aspectRatio", + "type": [ + { + "type": "double" + }, + { + "type": "DoubleRange" + } + ], + "type-original": "(double or DoubleRange)" + } + } + }, + "specs": "media-capture-api", + "name": "MediaTrackCapabilities", + "extends": "Object" + }, + "MSConnectivity": { + "members": { + "member": { + "iceWarningFlags": { + "specs": "webrtc-stats", + "name": "iceWarningFlags", + "type": "MSIceWarningFlags", + "type-original": "MSIceWarningFlags" + }, + "iceType": { + "specs": "webrtc-stats", + "name": "iceType", + "type": "MSIceType", + "type-original": "MSIceType" + }, + "relayAddress": { + "specs": "webrtc-stats", + "name": "relayAddress", + "type": "MSRelayAddress", + "type-original": "MSRelayAddress" + } + } + }, + "specs": "webrtc-stats", + "name": "MSConnectivity", + "extends": "Object" + }, + "MediaKeySystemMediaCapability": { + "members": { + "member": { + "robustness": { + "specs": "encrypted-media", + "name": "robustness", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "contentType": { + "specs": "encrypted-media", + "name": "contentType", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "encrypted-media", + "name": "MediaKeySystemMediaCapability", + "extends": "Object" + }, + "RTCRtpHeaderExtension": { + "members": { + "member": { + "preferredEncrypt": { + "specs": "ortc", + "name": "preferredEncrypt", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "kind": { + "specs": "ortc", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString" + }, + "preferredId": { + "specs": "ortc", + "name": "preferredId", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "uri": { + "specs": "ortc", + "name": "uri", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCRtpHeaderExtension", + "extends": "Object" + }, + "IDBObjectStoreParameters": { + "members": { + "member": { + "keyPath": { + "nullable": 1, + "specs": "indexeddb", + "name": "keyPath", + "default": "null", + "type": "DOMString", + "type-original": "IDBKeyPath?" + } + } + }, + "specs": "indexeddb", + "name": "IDBObjectStoreParameters", + "extends": "Object" + }, + "TransitionEventInit": { + "members": { + "member": { + "propertyName": { + "specs": "css-transition", + "name": "propertyName", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "elapsedTime": { + "specs": "css-transition", + "name": "elapsedTime", + "default": "0.0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "css-transition", + "name": "TransitionEventInit", + "extends": "EventInit" + }, + "RTCRtcpFeedback": { + "members": { + "member": { + "parameter": { + "specs": "ortc", + "name": "parameter", + "type": "DOMString", + "type-original": "DOMString" + }, + "type": { + "specs": "ortc", + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCRtcpFeedback", + "extends": "Object" + }, + "MSIceWarningFlags": { + "members": { + "member": { + "pseudoTLSFailure": { + "specs": "webrtc-stats", + "name": "pseudoTLSFailure", + "type": "boolean", + "type-original": "boolean" + }, + "udpRelayConnectivityFailed": { + "specs": "webrtc-stats", + "name": "udpRelayConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnUdpSendFailed": { + "specs": "webrtc-stats", + "name": "turnUdpSendFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnTurnTcpConnectivityFailed": { + "specs": "webrtc-stats", + "name": "turnTurnTcpConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "connCheckOtherError": { + "specs": "webrtc-stats", + "name": "connCheckOtherError", + "type": "boolean", + "type-original": "boolean" + }, + "udpLocalConnectivityFailed": { + "specs": "webrtc-stats", + "name": "udpLocalConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "tcpRelayConnectivityFailed": { + "specs": "webrtc-stats", + "name": "tcpRelayConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnTcpTimedOut": { + "specs": "webrtc-stats", + "name": "turnTcpTimedOut", + "type": "boolean", + "type-original": "boolean" + }, + "udpNatConnectivityFailed": { + "specs": "webrtc-stats", + "name": "udpNatConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "multipleRelayServersAttempted": { + "specs": "webrtc-stats", + "name": "multipleRelayServersAttempted", + "type": "boolean", + "type-original": "boolean" + }, + "useCandidateChecksFailed": { + "specs": "webrtc-stats", + "name": "useCandidateChecksFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnAuthUnknownUsernameError": { + "specs": "webrtc-stats", + "name": "turnAuthUnknownUsernameError", + "type": "boolean", + "type-original": "boolean" + }, + "allocationMessageIntegrityFailed": { + "specs": "webrtc-stats", + "name": "allocationMessageIntegrityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnTcpAllocateFailed": { + "specs": "webrtc-stats", + "name": "turnTcpAllocateFailed", + "type": "boolean", + "type-original": "boolean" + }, + "fipsAllocationFailure": { + "specs": "webrtc-stats", + "name": "fipsAllocationFailure", + "type": "boolean", + "type-original": "boolean" + }, + "portRangeExhausted": { + "specs": "webrtc-stats", + "name": "portRangeExhausted", + "type": "boolean", + "type-original": "boolean" + }, + "turnTcpSendFailed": { + "specs": "webrtc-stats", + "name": "turnTcpSendFailed", + "type": "boolean", + "type-original": "boolean" + }, + "noRelayServersConfigured": { + "specs": "webrtc-stats", + "name": "noRelayServersConfigured", + "type": "boolean", + "type-original": "boolean" + }, + "alternateServerReceived": { + "specs": "webrtc-stats", + "name": "alternateServerReceived", + "type": "boolean", + "type-original": "boolean" + }, + "tcpNatConnectivityFailed": { + "specs": "webrtc-stats", + "name": "tcpNatConnectivityFailed", + "type": "boolean", + "type-original": "boolean" + }, + "turnUdpAllocateFailed": { + "specs": "webrtc-stats", + "name": "turnUdpAllocateFailed", + "type": "boolean", + "type-original": "boolean" + }, + "connCheckMessageIntegrityFailed": { + "specs": "webrtc-stats", + "name": "connCheckMessageIntegrityFailed", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webrtc-stats", + "name": "MSIceWarningFlags", + "extends": "Object" + }, + "RsaOaepParams": { + "members": { + "member": { + "label": { + "specs": "webcryptoapi", + "name": "label", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaOaepParams", + "extends": "Algorithm" + }, + "EventModifierInit": { + "members": { + "member": { + "modifierOS": { + "specs": "uievents", + "name": "modifierOS", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierHyper": { + "specs": "uievents", + "name": "modifierHyper", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierFnLock": { + "specs": "uievents", + "name": "modifierFnLock", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "shiftKey": { + "specs": "uievents", + "name": "shiftKey", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierSuper": { + "specs": "uievents", + "name": "modifierSuper", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierNumLock": { + "specs": "uievents", + "name": "modifierNumLock", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierFn": { + "specs": "uievents", + "name": "modifierFn", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierScrollLock": { + "specs": "uievents", + "name": "modifierScrollLock", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierAltGraph": { + "specs": "uievents", + "name": "modifierAltGraph", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierCapsLock": { + "specs": "uievents", + "name": "modifierCapsLock", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierSymbolLock": { + "specs": "uievents", + "name": "modifierSymbolLock", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "modifierSymbol": { + "specs": "uievents", + "name": "modifierSymbol", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "altKey": { + "specs": "uievents", + "name": "altKey", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "metaKey": { + "specs": "uievents", + "name": "metaKey", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "ctrlKey": { + "specs": "uievents", + "name": "ctrlKey", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "uievents", + "name": "EventModifierInit", + "extends": "UIEventInit" + }, + "BiquadFilterOptions": { + "members": { + "member": { + "frequency": { + "specs": "webaudio", + "name": "frequency", + "default": "350", + "type": "float", + "type-original": "float" + }, + "Q": { + "specs": "webaudio", + "name": "Q", + "default": "1", + "type": "float", + "type-original": "float" + }, + "detune": { + "specs": "webaudio", + "name": "detune", + "default": "0", + "type": "float", + "type-original": "float" + }, + "gain": { + "specs": "webaudio", + "name": "gain", + "default": "0", + "type": "float", + "type-original": "float" + }, + "type": { + "specs": "webaudio", + "name": "type", + "default": "\"lowpass\"", + "type": "BiquadFilterType", + "type-original": "BiquadFilterType" + } + } + }, + "specs": "webaudio", + "name": "BiquadFilterOptions", + "extends": "AudioNodeOptions" + }, + "MsZoomToOptions": { + "members": { + "member": { + "viewportY": { + "nullable": 1, + "specs": "none", + "name": "viewportY", + "type": "DOMString", + "type-original": "DOMString?" + }, + "contentX": { + "specs": "none", + "name": "contentX", + "type": "long", + "type-original": "long" + }, + "animate": { + "specs": "none", + "name": "animate", + "type": "DOMString", + "type-original": "DOMString" + }, + "scaleFactor": { + "specs": "none", + "name": "scaleFactor", + "type": "float", + "type-original": "float" + }, + "viewportX": { + "nullable": 1, + "specs": "none", + "name": "viewportX", + "type": "DOMString", + "type-original": "DOMString?" + }, + "contentY": { + "specs": "none", + "name": "contentY", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "none", + "name": "MsZoomToOptions", + "extends": "Object" + }, + "MSVideoPayload": { + "members": { + "member": { + "videoPacketLossRate": { + "specs": "webrtc-stats", + "name": "videoPacketLossRate", + "type": "float", + "type-original": "float" + }, + "videoBitRateAvg": { + "specs": "webrtc-stats", + "name": "videoBitRateAvg", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "resolution": { + "specs": "webrtc-stats", + "name": "resolution", + "type": "DOMString", + "type-original": "DOMString" + }, + "videoBitRateMax": { + "specs": "webrtc-stats", + "name": "videoBitRateMax", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "videoFrameRateAvg": { + "specs": "webrtc-stats", + "name": "videoFrameRateAvg", + "type": "float", + "type-original": "float" + }, + "durationSeconds": { + "specs": "webrtc-stats", + "name": "durationSeconds", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webrtc-stats", + "name": "MSVideoPayload", + "extends": "MSPayloadBase" + }, + "FocusNavigationOrigin": { + "members": { + "member": { + "originHeight": { + "specs": "none", + "name": "originHeight", + "type": "float", + "type-original": "float" + }, + "originTop": { + "specs": "none", + "name": "originTop", + "type": "float", + "type-original": "float" + }, + "originLeft": { + "specs": "none", + "name": "originLeft", + "type": "float", + "type-original": "float" + }, + "originWidth": { + "specs": "none", + "name": "originWidth", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "none", + "name": "FocusNavigationOrigin", + "extends": "Object" + }, + "MediaStreamTrackEventInit": { + "members": { + "member": { + "track": { + "nullable": 1, + "specs": "media-capture-api", + "name": "track", + "default": "null", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack?" + } + } + }, + "specs": "media-capture-api", + "name": "MediaStreamTrackEventInit", + "extends": "EventInit" + }, + "WebGLContextEventInit": { + "members": { + "member": { + "statusMessage": { + "specs": "webgl", + "name": "statusMessage", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webgl", + "name": "WebGLContextEventInit", + "extends": "EventInit" + }, + "RTCRtcpParameters": { + "members": { + "member": { + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "mux": { + "specs": "ortc", + "name": "mux", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "reducedSize": { + "specs": "ortc", + "name": "reducedSize", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "cname": { + "specs": "ortc", + "name": "cname", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "ortc", + "name": "RTCRtcpParameters", + "extends": "Object" + }, + "DynamicsCompressorOptions": { + "members": { + "member": { + "ratio": { + "specs": "webaudio", + "name": "ratio", + "default": "12", + "type": "float", + "type-original": "float" + }, + "threshold": { + "specs": "webaudio", + "name": "threshold", + "default": "-24", + "type": "float", + "type-original": "float" + }, + "attack": { + "specs": "webaudio", + "name": "attack", + "default": "0.003", + "type": "float", + "type-original": "float" + }, + "release": { + "specs": "webaudio", + "name": "release", + "default": "0.25", + "type": "float", + "type-original": "float" + }, + "knee": { + "specs": "webaudio", + "name": "knee", + "default": "30", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "DynamicsCompressorOptions", + "extends": "AudioNodeOptions" + }, + "RequestInit": { + "members": { + "member": { + "headers": { + "specs": "whatwg-fetch", + "name": "headers", + "type": [ + { + "type": "Headers" + }, + { + "subtype": { + "subtype": { + "type": "ByteString" + }, + "type": "sequence" + }, + "type": "sequence" + } + ], + "type-original": "HeadersInit" + }, + "window": { + "specs": "whatwg-fetch", + "name": "window", + "type": "any", + "type-original": "any" + }, + "mode": { + "specs": "whatwg-fetch", + "name": "mode", + "type": "RequestMode", + "type-original": "RequestMode" + }, + "referrer": { + "specs": "whatwg-fetch", + "name": "referrer", + "type": "USVString", + "type-original": "USVString" + }, + "credentials": { + "specs": "whatwg-fetch", + "name": "credentials", + "type": "RequestCredentials", + "type-original": "RequestCredentials" + }, + "body": { + "specs": "whatwg-fetch", + "name": "body", + "type": [ + { + "nullable": 1, + "type": "Blob" + }, + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ] + }, + { + "nullable": 1, + "type": "FormData" + }, + { + "nullable": 1, + "type": "USVString" + } + ], + "type-original": "BodyInit?" + }, + "signal": { + "specs": "whatwg-fetch", + "name": "signal", + "type": "AbortSignal", + "type-original": "AbortSignal" + }, + "redirect": { + "specs": "whatwg-fetch", + "name": "redirect", + "type": "RequestRedirect", + "type-original": "RequestRedirect" + }, + "referrerPolicy": { + "specs": "whatwg-fetch", + "name": "referrerPolicy", + "type": "ReferrerPolicy", + "type-original": "ReferrerPolicy" + }, + "keepalive": { + "specs": "whatwg-fetch", + "name": "keepalive", + "type": "boolean", + "type-original": "boolean" + }, + "method": { + "specs": "whatwg-fetch", + "name": "method", + "type": "ByteString", + "type-original": "ByteString" + }, + "integrity": { + "specs": "whatwg-fetch", + "name": "integrity", + "type": "DOMString", + "type-original": "DOMString" + }, + "cache": { + "specs": "whatwg-fetch", + "name": "cache", + "type": "RequestCache", + "type-original": "RequestCache" + } + } + }, + "specs": "whatwg-fetch", + "name": "RequestInit", + "extends": "Object" + }, + "RTCTransportStats": { + "members": { + "member": { + "remoteCertificateId": { + "specs": "ortc", + "name": "remoteCertificateId", + "type": "DOMString", + "type-original": "DOMString" + }, + "selectedCandidatePairId": { + "specs": "ortc", + "name": "selectedCandidatePairId", + "type": "DOMString", + "type-original": "DOMString" + }, + "rtcpTransportStatsId": { + "specs": "ortc", + "name": "rtcpTransportStatsId", + "type": "DOMString", + "type-original": "DOMString" + }, + "activeConnection": { + "specs": "ortc", + "name": "activeConnection", + "type": "boolean", + "type-original": "boolean" + }, + "bytesSent": { + "specs": "ortc", + "name": "bytesSent", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "localCertificateId": { + "specs": "ortc", + "name": "localCertificateId", + "type": "DOMString", + "type-original": "DOMString" + }, + "bytesReceived": { + "specs": "ortc", + "name": "bytesReceived", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + } + }, + "specs": "ortc", + "name": "RTCTransportStats", + "extends": "RTCStats" + }, + "Pbkdf2Params": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + }, + "salt": { + "required": 1, + "specs": "webcryptoapi", + "name": "salt", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + "iterations": { + "required": 1, + "specs": "webcryptoapi", + "name": "iterations", + "type": "unsigned long", + "enforce-range": 1, + "type-original": "unsigned long" + } + } + }, + "specs": "webcryptoapi", + "name": "Pbkdf2Params", + "extends": "Algorithm" + }, + "RTCInboundRTPStreamStats": { + "members": { + "member": { + "packetsLost": { + "specs": "ortc", + "name": "packetsLost", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "packetsReceived": { + "specs": "ortc", + "name": "packetsReceived", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "fractionLost": { + "specs": "ortc", + "name": "fractionLost", + "type": "double", + "type-original": "double" + }, + "jitter": { + "specs": "ortc", + "name": "jitter", + "type": "double", + "type-original": "double" + }, + "bytesReceived": { + "specs": "ortc", + "name": "bytesReceived", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + } + }, + "specs": "ortc", + "name": "RTCInboundRTPStreamStats", + "extends": "RTCRTPStreamStats" + }, + "PointerEventInit": { + "members": { + "member": { + "width": { + "specs": "pointer-events", + "name": "width", + "default": "0", + "type": "long", + "type-original": "long" + }, + "pressure": { + "specs": "pointer-events", + "name": "pressure", + "default": "0", + "type": "float", + "type-original": "float" + }, + "isPrimary": { + "specs": "pointer-events", + "name": "isPrimary", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "pointerType": { + "specs": "pointer-events", + "name": "pointerType", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "tiltY": { + "specs": "pointer-events", + "name": "tiltY", + "default": "0", + "type": "long", + "type-original": "long" + }, + "height": { + "specs": "pointer-events", + "name": "height", + "default": "0", + "type": "long", + "type-original": "long" + }, + "tiltX": { + "specs": "pointer-events", + "name": "tiltX", + "default": "0", + "type": "long", + "type-original": "long" + }, + "pointerId": { + "specs": "pointer-events", + "name": "pointerId", + "default": "0", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "pointer-events", + "name": "PointerEventInit", + "extends": "MouseEventInit" + }, + "MutationObserverInit": { + "members": { + "member": { + "characterDataOldValue": { + "specs": "dom4", + "name": "characterDataOldValue", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "characterData": { + "specs": "dom4", + "name": "characterData", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "attributeOldValue": { + "specs": "dom4", + "name": "attributeOldValue", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "subtree": { + "specs": "dom4", + "name": "subtree", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "childList": { + "specs": "dom4", + "name": "childList", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "attributes": { + "specs": "dom4", + "name": "attributes", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "attributeFilter": { + "subtype": { + "type": "DOMString" + }, + "specs": "dom4", + "name": "attributeFilter", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "dom4", + "name": "MutationObserverInit", + "extends": "Object" + }, + "ConstrainLongRange": { + "members": { + "member": { + "exact": { + "specs": "media-capture-api", + "name": "exact", + "type": "long", + "type-original": "long" + }, + "ideal": { + "specs": "media-capture-api", + "name": "ideal", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "media-capture-api", + "name": "ConstrainLongRange", + "extends": "LongRange" + }, + "RTCRtpParameters": { + "members": { + "member": { + "rtcp": { + "specs": "ortc", + "name": "rtcp", + "type": "RTCRtcpParameters", + "type-original": "RTCRtcpParameters" + }, + "encodings": { + "subtype": { + "type": "RTCRtpEncodingParameters" + }, + "specs": "ortc", + "name": "encodings", + "type": "sequence", + "type-original": "sequence" + }, + "codecs": { + "subtype": { + "type": "RTCRtpCodecParameters" + }, + "specs": "ortc", + "name": "codecs", + "type": "sequence", + "type-original": "sequence" + }, + "headerExtensions": { + "subtype": { + "type": "RTCRtpHeaderExtensionParameters" + }, + "specs": "ortc", + "name": "headerExtensions", + "type": "sequence", + "type-original": "sequence" + }, + "muxId": { + "specs": "ortc", + "name": "muxId", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "degradationPreference": { + "specs": "ortc", + "name": "degradationPreference", + "default": "\"balanced\"", + "type": "RTCDegradationPreference", + "type-original": "RTCDegradationPreference" + } + } + }, + "specs": "ortc", + "name": "RTCRtpParameters", + "extends": "Object" + }, + "MSAudioSendSignal": { + "members": { + "member": { + "sendSignalLevelCh1": { + "specs": "webrtc-stats", + "name": "sendSignalLevelCh1", + "type": "long", + "type-original": "long" + }, + "noiseLevel": { + "specs": "webrtc-stats", + "name": "noiseLevel", + "type": "long", + "type-original": "long" + }, + "sendNoiseLevelCh1": { + "specs": "webrtc-stats", + "name": "sendNoiseLevelCh1", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSAudioSendSignal", + "extends": "Object" + }, + "RTCRtpCapabilities": { + "members": { + "member": { + "codecs": { + "subtype": { + "type": "RTCRtpCodecCapability" + }, + "specs": "ortc", + "name": "codecs", + "type": "sequence", + "type-original": "sequence" + }, + "headerExtensions": { + "subtype": { + "type": "RTCRtpHeaderExtension" + }, + "specs": "ortc", + "name": "headerExtensions", + "type": "sequence", + "type-original": "sequence" + }, + "fecMechanisms": { + "subtype": { + "type": "DOMString" + }, + "specs": "ortc", + "name": "fecMechanisms", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "ortc", + "name": "RTCRtpCapabilities", + "extends": "Object" + }, + "RsaHashedKeyGenParams": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaHashedKeyGenParams", + "extends": "RsaKeyGenParams" + }, + "MSAudioLocalClientEvent": { + "members": { + "member": { + "deviceHowlingEventCount": { + "specs": "webrtc-stats", + "name": "deviceHowlingEventCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "deviceMultipleEndpointsEventCount": { + "specs": "webrtc-stats", + "name": "deviceMultipleEndpointsEventCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "deviceClippingEventRatio": { + "specs": "webrtc-stats", + "name": "deviceClippingEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceHalfDuplexAECEventRatio": { + "specs": "webrtc-stats", + "name": "deviceHalfDuplexAECEventRatio", + "type": "float", + "type-original": "float" + }, + "cpuInsufficientEventRatio": { + "specs": "webrtc-stats", + "name": "cpuInsufficientEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceGlitchesEventRatio": { + "specs": "webrtc-stats", + "name": "deviceGlitchesEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceNearEndToEchoRatioEventRatio": { + "specs": "webrtc-stats", + "name": "deviceNearEndToEchoRatioEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceRenderMuteEventRatio": { + "specs": "webrtc-stats", + "name": "deviceRenderMuteEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceRenderNotFunctioningEventRatio": { + "specs": "webrtc-stats", + "name": "deviceRenderNotFunctioningEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceRenderZeroVolumeEventRatio": { + "specs": "webrtc-stats", + "name": "deviceRenderZeroVolumeEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceEchoEventRatio": { + "specs": "webrtc-stats", + "name": "deviceEchoEventRatio", + "type": "float", + "type-original": "float" + }, + "networkSendQualityEventRatio": { + "specs": "webrtc-stats", + "name": "networkSendQualityEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceLowSpeechLevelEventRatio": { + "specs": "webrtc-stats", + "name": "deviceLowSpeechLevelEventRatio", + "type": "float", + "type-original": "float" + }, + "networkDelayEventRatio": { + "specs": "webrtc-stats", + "name": "networkDelayEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceCaptureNotFunctioningEventRatio": { + "specs": "webrtc-stats", + "name": "deviceCaptureNotFunctioningEventRatio", + "type": "float", + "type-original": "float" + }, + "deviceLowSNREventRatio": { + "specs": "webrtc-stats", + "name": "deviceLowSNREventRatio", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webrtc-stats", + "name": "MSAudioLocalClientEvent", + "extends": "MSLocalClientEventBase" + }, + "AesCtrParams": { + "members": { + "member": { + "length": { + "required": 1, + "specs": "webcryptoapi", + "name": "length", + "type": "octet", + "enforce-range": 1, + "type-original": "octet" + }, + "counter": { + "required": 1, + "specs": "webcryptoapi", + "name": "counter", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + } + }, + "specs": "webcryptoapi", + "name": "AesCtrParams", + "extends": "Algorithm" + }, + "RTCOfferOptions": { + "members": { + "member": { + "voiceActivityDetection": { + "specs": "webrtc", + "name": "voiceActivityDetection", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "offerToReceiveAudio": { + "specs": "webrtc", + "name": "offerToReceiveAudio", + "type": "long", + "type-original": "long" + }, + "offerToReceiveVideo": { + "specs": "webrtc", + "name": "offerToReceiveVideo", + "type": "long", + "type-original": "long" + }, + "iceRestart": { + "specs": "webrtc", + "name": "iceRestart", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webrtc", + "name": "RTCOfferOptions", + "extends": "Object" + }, + "RTCIceParameters": { + "members": { + "member": { + "password": { + "specs": "ortc", + "name": "password", + "type": "DOMString", + "type-original": "DOMString" + }, + "usernameFragment": { + "specs": "ortc", + "name": "usernameFragment", + "type": "DOMString", + "type-original": "DOMString" + }, + "iceLite": { + "nullable": 1, + "specs": "ortc", + "name": "iceLite", + "type": "boolean", + "type-original": "boolean?" + } + } + }, + "specs": "ortc", + "name": "RTCIceParameters", + "extends": "Object" + }, + "RsaHashedImportParams": { + "members": { + "member": { + "hash": { + "required": 1, + "specs": "webcryptoapi", + "name": "hash", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "HashAlgorithmIdentifier" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaHashedImportParams", + "extends": "Algorithm" + }, + "ByteLengthChunk": { + "members": { + "member": { + "byteLength": { + "specs": "whatwg-streams", + "name": "byteLength", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "whatwg-streams", + "name": "ByteLengthChunk", + "extends": "Object" + }, + "ConstrainBooleanParameters": { + "members": { + "member": { + "exact": { + "specs": "media-capture-api", + "name": "exact", + "type": "boolean", + "type-original": "boolean" + }, + "ideal": { + "specs": "media-capture-api", + "name": "ideal", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "media-capture-api", + "name": "ConstrainBooleanParameters", + "extends": "Object" + }, + "UnderlyingSink": { + "members": { + "member": { + "close": { + "specs": "whatwg-streams", + "name": "close", + "type": "WritableStreamDefaultControllerCallback", + "type-original": "WritableStreamDefaultControllerCallback" + }, + "abort": { + "specs": "whatwg-streams", + "name": "abort", + "type": "WritableStreamErrorCallback", + "type-original": "WritableStreamErrorCallback" + }, + "write": { + "specs": "whatwg-streams", + "name": "write", + "type": "WritableStreamChunkCallback", + "type-original": "WritableStreamChunkCallback" + }, + "start": { + "required": 1, + "specs": "whatwg-streams", + "name": "start", + "type": "WritableStreamDefaultControllerCallback", + "type-original": "WritableStreamDefaultControllerCallback" + } + } + }, + "specs": "whatwg-streams", + "name": "UnderlyingSink", + "extends": "Object" + }, + "PaymentOptions": { + "members": { + "member": { + "shippingType": { + "specs": "payment-request", + "name": "shippingType", + "default": "\"shipping\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "requestPayerEmail": { + "specs": "payment-request", + "name": "requestPayerEmail", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "requestShipping": { + "specs": "payment-request", + "name": "requestShipping", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "requestPayerPhone": { + "specs": "payment-request", + "name": "requestPayerPhone", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "requestPayerName": { + "specs": "payment-request", + "name": "requestPayerName", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "payment-request", + "name": "PaymentOptions", + "extends": "Object" + }, + "MediaKeyMessageEventInit": { + "members": { + "member": { + "messageType": { + "specs": "encrypted-media", + "name": "messageType", + "default": "\"license-request\"", + "type": "MediaKeyMessageType", + "type-original": "MediaKeyMessageType" + }, + "message": { + "nullable": 1, + "specs": "encrypted-media", + "name": "message", + "default": "null", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer?" + } + } + }, + "specs": "encrypted-media", + "name": "MediaKeyMessageEventInit", + "extends": "EventInit" + }, + "MediaTrackSettings": { + "members": { + "member": { + "sampleRate": { + "specs": "media-capture-api", + "name": "sampleRate", + "type": "long", + "type-original": "long" + }, + "width": { + "specs": "media-capture-api", + "name": "width", + "type": "long", + "type-original": "long" + }, + "deviceId": { + "specs": "media-capture-api", + "name": "deviceId", + "type": "DOMString", + "type-original": "DOMString" + }, + "volume": { + "specs": "media-capture-api", + "name": "volume", + "type": "double", + "type-original": "double" + }, + "echoCancellation": { + "specs": "media-capture-api", + "name": "echoCancellation", + "type": "boolean", + "type-original": "boolean" + }, + "sampleSize": { + "specs": "media-capture-api", + "name": "sampleSize", + "type": "long", + "type-original": "long" + }, + "groupId": { + "specs": "media-capture-api", + "name": "groupId", + "type": "DOMString", + "type-original": "DOMString" + }, + "height": { + "specs": "media-capture-api", + "name": "height", + "type": "long", + "type-original": "long" + }, + "facingMode": { + "specs": "media-capture-api", + "name": "facingMode", + "type": "DOMString", + "type-original": "DOMString" + }, + "frameRate": { + "specs": "media-capture-api", + "name": "frameRate", + "type": "double", + "type-original": "double" + }, + "aspectRatio": { + "specs": "media-capture-api", + "name": "aspectRatio", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "media-capture-api", + "name": "MediaTrackSettings", + "extends": "Object" + }, + "MessageEventInit": { + "members": { + "member": { + "source": { + "nullable": 1, + "specs": "html5", + "name": "source", + "default": "null", + "type": "Window", + "type-original": "Window?" + }, + "ports": { + "subtype": { + "type": "MessagePort" + }, + "specs": "html5", + "name": "ports", + "default": "null", + "type": "sequence", + "type-original": "sequence" + }, + "origin": { + "specs": "html5", + "name": "origin", + "default": "\"\"", + "type": "USVString", + "type-original": "USVString" + }, + "data": { + "specs": "html5", + "name": "data", + "default": "null", + "type": "any", + "type-original": "any" + } + } + }, + "specs": "html5", + "name": "MessageEventInit", + "extends": "EventInit" + }, + "RTCRtpEncodingParameters": { + "members": { + "member": { + "priority": { + "specs": "ortc", + "name": "priority", + "default": "1.0", + "type": "double", + "type-original": "double" + }, + "codecPayloadType": { + "specs": "ortc", + "name": "codecPayloadType", + "type": "octet", + "type-original": "payloadtype" + }, + "rtx": { + "specs": "ortc", + "name": "rtx", + "type": "RTCRtpRtxParameters", + "type-original": "RTCRtpRtxParameters" + }, + "maxBitrate": { + "specs": "ortc", + "name": "maxBitrate", + "type": "double", + "type-original": "double" + }, + "resolutionScale": { + "specs": "ortc", + "name": "resolutionScale", + "type": "double", + "type-original": "double" + }, + "encodingId": { + "specs": "ortc", + "name": "encodingId", + "type": "DOMString", + "type-original": "DOMString" + }, + "active": { + "specs": "ortc", + "name": "active", + "default": "true", + "type": "boolean", + "type-original": "boolean" + }, + "dependencyEncodingIds": { + "subtype": { + "type": "DOMString" + }, + "specs": "ortc", + "name": "dependencyEncodingIds", + "type": "sequence", + "type-original": "sequence" + }, + "maxFramerate": { + "specs": "ortc", + "name": "maxFramerate", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "ssrcRange": { + "specs": "ortc", + "name": "ssrcRange", + "type": "RTCSsrcRange", + "type-original": "RTCSsrcRange" + }, + "fec": { + "specs": "ortc", + "name": "fec", + "type": "RTCRtpFecParameters", + "type-original": "RTCRtpFecParameters" + }, + "framerateScale": { + "specs": "ortc", + "name": "framerateScale", + "type": "double", + "type-original": "double" + }, + "ssrc": { + "specs": "ortc", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "minQuality": { + "specs": "ortc", + "name": "minQuality", + "default": "0", + "type": "double", + "type-original": "double" + } + } + }, + "specs": "ortc", + "name": "RTCRtpEncodingParameters", + "extends": "Object" + }, + "MSVideoRecvPayload": { + "members": { + "member": { + "recvCodecType": { + "specs": "webrtc-stats", + "name": "recvCodecType", + "type": "DOMString", + "type-original": "DOMString" + }, + "recvVideoStreamsMin": { + "specs": "webrtc-stats", + "name": "recvVideoStreamsMin", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvVideoStreamsMax": { + "specs": "webrtc-stats", + "name": "recvVideoStreamsMax", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvVideoStreamsMode": { + "specs": "webrtc-stats", + "name": "recvVideoStreamsMode", + "type": "long", + "type-original": "long" + }, + "recvResolutionHeight": { + "specs": "webrtc-stats", + "name": "recvResolutionHeight", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "videoResolutions": { + "specs": "webrtc-stats", + "name": "videoResolutions", + "type": "MSVideoResolutionDistribution", + "type-original": "MSVideoResolutionDistribution" + }, + "reorderBufferTotalPackets": { + "specs": "webrtc-stats", + "name": "reorderBufferTotalPackets", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvBitRateAverage": { + "specs": "webrtc-stats", + "name": "recvBitRateAverage", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvNumResSwitches": { + "specs": "webrtc-stats", + "name": "recvNumResSwitches", + "type": "float", + "type-original": "float" + }, + "recvReorderBufferReorderedPackets": { + "specs": "webrtc-stats", + "name": "recvReorderBufferReorderedPackets", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "videoPostFECPLR": { + "specs": "webrtc-stats", + "name": "videoPostFECPLR", + "type": "float", + "type-original": "float" + }, + "recvFpsHarmonicAverage": { + "specs": "webrtc-stats", + "name": "recvFpsHarmonicAverage", + "type": "float", + "type-original": "float" + }, + "recvReorderBufferMaxSuccessfullyOrderedLateTime": { + "specs": "webrtc-stats", + "name": "recvReorderBufferMaxSuccessfullyOrderedLateTime", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "videoFrameLossRate": { + "specs": "webrtc-stats", + "name": "videoFrameLossRate", + "type": "float", + "type-original": "float" + }, + "lowFrameRateCallPercent": { + "specs": "webrtc-stats", + "name": "lowFrameRateCallPercent", + "type": "float", + "type-original": "float" + }, + "recvReorderBufferPacketsDroppedDueToBufferExhaustion": { + "specs": "webrtc-stats", + "name": "recvReorderBufferPacketsDroppedDueToBufferExhaustion", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvReorderBufferMaxSuccessfullyOrderedExtent": { + "specs": "webrtc-stats", + "name": "recvReorderBufferMaxSuccessfullyOrderedExtent", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvBitRateMaximum": { + "specs": "webrtc-stats", + "name": "recvBitRateMaximum", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "lowBitRateCallPercent": { + "specs": "webrtc-stats", + "name": "lowBitRateCallPercent", + "type": "float", + "type-original": "float" + }, + "recvReorderBufferPacketsDroppedDueToTimeout": { + "specs": "webrtc-stats", + "name": "recvReorderBufferPacketsDroppedDueToTimeout", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvResolutionWidth": { + "specs": "webrtc-stats", + "name": "recvResolutionWidth", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "recvFrameRateAverage": { + "specs": "webrtc-stats", + "name": "recvFrameRateAverage", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webrtc-stats", + "name": "MSVideoRecvPayload", + "extends": "MSVideoPayload" + }, + "WebAuthnExtensions": { + "members": { + "member": {} + }, + "specs": "WD-webauthn-20161207", + "name": "WebAuthnExtensions", + "extends": "Object" + }, + "StereoPannerOptions": { + "members": { + "member": { + "pan": { + "specs": "webaudio", + "name": "pan", + "default": "0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "StereoPannerOptions", + "extends": "AudioNodeOptions" + }, + "MediaStreamConstraints": { + "members": { + "member": { + "audio": { + "specs": "media-capture-api", + "name": "audio", + "default": "false", + "type": [ + { + "type": "boolean" + }, + { + "type": "MediaTrackConstraints" + } + ], + "type-original": "(boolean or MediaTrackConstraints)" + }, + "video": { + "specs": "media-capture-api", + "name": "video", + "default": "false", + "type": [ + { + "type": "boolean" + }, + { + "type": "MediaTrackConstraints" + } + ], + "type-original": "(boolean or MediaTrackConstraints)" + } + } + }, + "specs": "media-capture-api", + "name": "MediaStreamConstraints", + "extends": "Object" + }, + "EcKeyImportParams": { + "members": { + "member": { + "namedCurve": { + "required": 1, + "specs": "webcryptoapi", + "name": "namedCurve", + "type": "DOMString", + "type-original": "NamedCurve" + } + } + }, + "specs": "webcryptoapi", + "name": "EcKeyImportParams", + "extends": "Algorithm" + }, + "GainOptions": { + "members": { + "member": { + "gain": { + "specs": "webaudio", + "name": "gain", + "default": "1.0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webaudio", + "name": "GainOptions", + "extends": "AudioNodeOptions" + }, + "LongRange": { + "members": { + "member": { + "min": { + "specs": "media-capture-api", + "name": "min", + "type": "long", + "type-original": "long" + }, + "max": { + "specs": "media-capture-api", + "name": "max", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "media-capture-api", + "name": "LongRange", + "extends": "Object" + }, + "SecurityPolicyViolationEventInit": { + "members": { + "member": { + "sourceFile": { + "specs": "csp", + "name": "sourceFile", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "violatedDirective": { + "specs": "csp", + "name": "violatedDirective", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "lineNumber": { + "specs": "csp", + "name": "lineNumber", + "default": "0", + "type": "long", + "type-original": "long" + }, + "referrer": { + "specs": "csp", + "name": "referrer", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "columnNumber": { + "specs": "csp", + "name": "columnNumber", + "default": "0", + "type": "long", + "type-original": "long" + }, + "statusCode": { + "specs": "csp", + "name": "statusCode", + "default": "0", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "originalPolicy": { + "specs": "csp", + "name": "originalPolicy", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "effectiveDirective": { + "specs": "csp", + "name": "effectiveDirective", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "blockedURI": { + "specs": "csp", + "name": "blockedURI", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "documentURI": { + "specs": "csp", + "name": "documentURI", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "csp", + "name": "SecurityPolicyViolationEventInit", + "extends": "EventInit" + }, + "RsaOtherPrimesInfo": { + "members": { + "member": { + "r": { + "specs": "webcryptoapi", + "name": "r", + "type": "DOMString", + "type-original": "DOMString" + }, + "d": { + "specs": "webcryptoapi", + "name": "d", + "type": "DOMString", + "type-original": "DOMString" + }, + "t": { + "specs": "webcryptoapi", + "name": "t", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webcryptoapi", + "name": "RsaOtherPrimesInfo", + "extends": "Object" + }, + "MSLocalClientEventBase": { + "members": { + "member": { + "networkBandwidthLowEventRatio": { + "specs": "webrtc-stats", + "name": "networkBandwidthLowEventRatio", + "type": "float", + "type-original": "float" + }, + "networkReceiveQualityEventRatio": { + "specs": "webrtc-stats", + "name": "networkReceiveQualityEventRatio", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "webrtc-stats", + "name": "MSLocalClientEventBase", + "extends": "RTCStats" + }, + "PaymentRequestUpdateEventInit": { + "members": { + "member": {} + }, + "specs": "payment-request", + "name": "PaymentRequestUpdateEventInit", + "extends": "EventInit" + }, + "MSNetwork": { + "members": { + "member": { + "utilization": { + "specs": "webrtc-stats", + "name": "utilization", + "type": "MSUtilization", + "type-original": "MSUtilization" + }, + "packetLoss": { + "specs": "webrtc-stats", + "name": "packetLoss", + "type": "MSPacketLoss", + "type-original": "MSPacketLoss" + }, + "delay": { + "specs": "webrtc-stats", + "name": "delay", + "type": "MSDelay", + "type-original": "MSDelay" + }, + "jitter": { + "specs": "webrtc-stats", + "name": "jitter", + "type": "MSJitter", + "type-original": "MSJitter" + } + } + }, + "specs": "webrtc-stats", + "name": "MSNetwork", + "extends": "RTCStats" + }, + "MSAudioRecvSignal": { + "members": { + "member": { + "renderLoopbackSignalLevel": { + "specs": "webrtc-stats", + "name": "renderLoopbackSignalLevel", + "type": "float", + "type-original": "float" + }, + "recvSignalLevelCh1": { + "specs": "webrtc-stats", + "name": "recvSignalLevelCh1", + "type": "long", + "type-original": "long" + }, + "renderNoiseLevel": { + "specs": "webrtc-stats", + "name": "renderNoiseLevel", + "type": "float", + "type-original": "float" + }, + "renderSignalLevel": { + "specs": "webrtc-stats", + "name": "renderSignalLevel", + "type": "float", + "type-original": "float" + }, + "initialSignalLevelRMS": { + "specs": "webrtc-stats", + "name": "initialSignalLevelRMS", + "type": "float", + "type-original": "float" + }, + "recvNoiseLevelCh1": { + "specs": "webrtc-stats", + "name": "recvNoiseLevelCh1", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "webrtc-stats", + "name": "MSAudioRecvSignal", + "extends": "Object" + }, + "MSFIDOCredentialParameters": { + "members": { + "member": { + "algorithm": { + "specs": "webauthn", + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + "authenticators": { + "subtype": { + "type": "DOMString" + }, + "specs": "webauthn", + "name": "authenticators", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "webauthn", + "name": "MSFIDOCredentialParameters", + "extends": "MSCredentialParameters" + }, + "PopStateEventInit": { + "members": { + "member": { + "state": { + "specs": "html5", + "name": "state", + "default": "null", + "type": "any", + "type-original": "any" + } + } + }, + "specs": "html5", + "name": "PopStateEventInit", + "extends": "EventInit" + }, + "HashChangeEventInit": { + "members": { + "member": { + "newURL": { + "specs": "html5", + "name": "newURL", + "default": "\"\"", + "type": "USVString", + "type-original": "USVString" + }, + "oldURL": { + "specs": "html5", + "name": "oldURL", + "default": "\"\"", + "type": "USVString", + "type-original": "USVString" + } + } + }, + "specs": "html5", + "name": "HashChangeEventInit", + "extends": "EventInit" + }, + "DeviceOrientationEventInit": { + "members": { + "member": { + "gamma": { + "nullable": 1, + "specs": "orientation-event", + "name": "gamma", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "absolute": { + "specs": "orientation-event", + "name": "absolute", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "alpha": { + "nullable": 1, + "specs": "orientation-event", + "name": "alpha", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "beta": { + "nullable": 1, + "specs": "orientation-event", + "name": "beta", + "default": "null", + "type": "double", + "type-original": "double?" + } + } + }, + "specs": "orientation-event", + "name": "DeviceOrientationEventInit", + "extends": "EventInit" + }, + "MouseEventInit": { + "members": { + "member": { + "clientY": { + "specs": "uievents", + "name": "clientY", + "default": "0", + "type": "long", + "type-original": "long" + }, + "screenY": { + "specs": "uievents", + "name": "screenY", + "default": "0", + "type": "long", + "type-original": "long" + }, + "relatedTarget": { + "nullable": 1, + "specs": "uievents", + "name": "relatedTarget", + "default": "null", + "type": "EventTarget", + "type-original": "EventTarget?" + }, + "button": { + "specs": "uievents", + "name": "button", + "default": "0", + "type": "short", + "type-original": "short" + }, + "buttons": { + "specs": "uievents", + "name": "buttons", + "default": "0", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "clientX": { + "specs": "uievents", + "name": "clientX", + "default": "0", + "type": "long", + "type-original": "long" + }, + "screenX": { + "specs": "uievents", + "name": "screenX", + "default": "0", + "type": "long", + "type-original": "long" + } + } + }, + "specs": "uievents", + "name": "MouseEventInit", + "extends": "EventModifierInit" + }, + "NotificationOptions": { + "members": { + "member": { + "icon": { + "specs": "notifications", + "name": "icon", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "body": { + "specs": "notifications", + "name": "body", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "lang": { + "specs": "notifications", + "name": "lang", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "data": { + "specs": "notifications", + "name": "data", + "default": "null", + "type": "any", + "type-original": "any" + }, + "tag": { + "specs": "notifications", + "name": "tag", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "dir": { + "specs": "notifications", + "name": "dir", + "default": "\"auto\"", + "type": "NotificationDirection", + "type-original": "NotificationDirection" + } + } + }, + "specs": "notifications", + "name": "NotificationOptions", + "extends": "Object" + }, + "AudioTimestamp": { + "members": { + "member": { + "contextTime": { + "specs": "webaudio", + "name": "contextTime", + "type": "double", + "type-original": "double" + }, + "performanceTime": { + "specs": "webaudio", + "name": "performanceTime", + "type": "double", + "type-original": "DOMHighResTimeStamp" + } + } + }, + "specs": "webaudio", + "name": "AudioTimestamp", + "extends": "Object" + }, + "MediaStreamEventInit": { + "members": { + "member": { + "stream": { + "specs": "webrtc", + "name": "stream", + "default": "null", + "type": "MediaStream", + "type-original": "MediaStream" + } + } + }, + "specs": "webrtc", + "name": "MediaStreamEventInit", + "extends": "EventInit" + }, + "EcKeyGenParams": { + "members": { + "member": { + "namedCurve": { + "required": 1, + "specs": "webcryptoapi", + "name": "namedCurve", + "type": "DOMString", + "type-original": "NamedCurve" + } + } + }, + "specs": "webcryptoapi", + "name": "EcKeyGenParams", + "extends": "Algorithm" + }, + "MediaStreamErrorEventInit": { + "members": { + "member": { + "error": { + "nullable": 1, + "specs": "media-capture-api", + "name": "error", + "default": "null", + "type": "MediaStreamError", + "type-original": "MediaStreamError?" + } + } + }, + "specs": "media-capture-api", + "name": "MediaStreamErrorEventInit", + "extends": "EventInit" + }, + "RTCStats": { + "members": { + "member": { + "timestamp": { + "specs": "ortc", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp" + }, + "msType": { + "specs": "webrtc-stats", + "name": "msType", + "type": "MSStatsType", + "type-original": "MSStatsType" + }, + "id": { + "specs": "ortc", + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + }, + "type": { + "specs": "ortc", + "name": "type", + "type": "RTCStatsType", + "type-original": "RTCStatsType" + } + } + }, + "specs": "ortc", + "name": "RTCStats", + "extends": "Object" + }, + "MSCredentialParameters": { + "members": { + "member": { + "type": { + "specs": "webauthn", + "name": "type", + "type": "MSCredentialType", + "type-original": "MSCredentialType" + } + } + }, + "specs": "webauthn", + "name": "MSCredentialParameters", + "extends": "Object" + }, + "IntersectionObserverEntryInit": { + "members": { + "member": { + "target": { + "required": 1, + "specs": "IntersectionObserver", + "name": "target", + "type": "Element", + "type-original": "Element" + }, + "intersectionRect": { + "required": 1, + "specs": "IntersectionObserver", + "name": "intersectionRect", + "type": "DOMRectInit", + "type-original": "DOMRectInit" + }, + "isIntersecting": { + "required": 1, + "specs": "IntersectionObserver", + "name": "isIntersecting", + "type": "boolean", + "type-original": "boolean" + }, + "time": { + "required": 1, + "specs": "IntersectionObserver", + "name": "time", + "type": "double", + "type-original": "DOMHighResTimeStamp" + }, + "boundingClientRect": { + "required": 1, + "specs": "IntersectionObserver", + "name": "boundingClientRect", + "type": "DOMRectInit", + "type-original": "DOMRectInit" + }, + "rootBounds": { + "required": 1, + "specs": "IntersectionObserver", + "name": "rootBounds", + "type": "DOMRectInit", + "type-original": "DOMRectInit" + } + } + }, + "specs": "IntersectionObserver", + "name": "IntersectionObserverEntryInit", + "extends": "Object" + }, + "ExceptionInformation": { + "members": { + "member": { + "domain": { + "nullable": 1, + "specs": "tracking-dnt", + "name": "domain", + "type": "DOMString", + "type-original": "DOMString?" + } + } + }, + "specs": "tracking-dnt", + "name": "ExceptionInformation", + "extends": "Object" + }, + "MSCredentialSpec": { + "members": { + "member": { + "id": { + "specs": "webauthn", + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + }, + "type": { + "required": 1, + "specs": "webauthn", + "name": "type", + "type": "MSCredentialType", + "type-original": "MSCredentialType" + } + } + }, + "specs": "webauthn", + "name": "MSCredentialSpec", + "extends": "Object" + }, + "ScopedCredentialParameters": { + "members": { + "member": { + "algorithm": { + "required": 1, + "specs": "webauthn", + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + "type": { + "required": 1, + "specs": "webauthn", + "name": "type", + "type": "ScopedCredentialType", + "type-original": "ScopedCredentialType" + } + } + }, + "specs": "webauthn", + "name": "ScopedCredentialParameters", + "extends": "Object" + }, + "PositionOptions": { + "members": { + "member": { + "enableHighAccuracy": { + "specs": "geolocation-api", + "name": "enableHighAccuracy", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "timeout": { + "specs": "geolocation-api", + "name": "timeout", + "clamp": 1, + "type": "unsigned long", + "type-original": "unsigned long" + }, + "maximumAge": { + "specs": "geolocation-api", + "name": "maximumAge", + "clamp": 1, + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "geolocation-api", + "name": "PositionOptions", + "extends": "Object" + }, + "NotificationEventInit": { + "members": { + "member": { + "notification": { + "required": 1, + "specs": "notifications", + "name": "notification", + "type": "Notification", + "type-original": "Notification" + }, + "action": { + "specs": "notifications", + "name": "action", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "notifications", + "name": "NotificationEventInit", + "extends": "ExtendableEventInit" + }, + "FocusNavigationEventInit": { + "members": { + "member": { + "navigationReason": { + "nullable": 1, + "specs": "none", + "name": "navigationReason", + "default": "null", + "type": "DOMString", + "type-original": "DOMString?" + }, + "originHeight": { + "specs": "none", + "name": "originHeight", + "default": "0", + "type": "float", + "type-original": "float" + }, + "originTop": { + "specs": "none", + "name": "originTop", + "default": "0", + "type": "float", + "type-original": "float" + }, + "originLeft": { + "specs": "none", + "name": "originLeft", + "default": "0", + "type": "float", + "type-original": "float" + }, + "originWidth": { + "specs": "none", + "name": "originWidth", + "default": "0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "none", + "name": "FocusNavigationEventInit", + "extends": "EventInit" + }, + "KeyboardEventInit": { + "members": { + "member": { + "location": { + "specs": "uievents", + "name": "location", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "repeat": { + "specs": "uievents", + "name": "repeat", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "key": { + "specs": "uievents", + "name": "key", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "uievents", + "name": "KeyboardEventInit", + "extends": "EventModifierInit" + }, + "QueuingStrategy": { + "members": { + "member": { + "highWaterMark": { + "specs": "whatwg-streams", + "name": "highWaterMark", + "type": "double", + "type-original": "double" + }, + "size": { + "specs": "whatwg-streams", + "name": "size", + "type": "WritableStreamChunkCallback", + "type-original": "WritableStreamChunkCallback" + } + } + }, + "specs": "whatwg-streams", + "name": "QueuingStrategy", + "extends": "Object" + }, + "DeviceAccelerationDict": { + "members": { + "member": { + "y": { + "nullable": 1, + "specs": "orientation-event", + "name": "y", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "x": { + "nullable": 1, + "specs": "orientation-event", + "name": "x", + "default": "null", + "type": "double", + "type-original": "double?" + }, + "z": { + "nullable": 1, + "specs": "orientation-event", + "name": "z", + "default": "null", + "type": "double", + "type-original": "double?" + } + } + }, + "specs": "orientation-event", + "name": "DeviceAccelerationDict", + "extends": "Object" + }, + "MSNetworkInterfaceType": { + "members": { + "member": { + "interfaceTypeTunnel": { + "specs": "webrtc-stats", + "name": "interfaceTypeTunnel", + "type": "boolean", + "type-original": "boolean" + }, + "interfaceTypePPP": { + "specs": "webrtc-stats", + "name": "interfaceTypePPP", + "type": "boolean", + "type-original": "boolean" + }, + "interfaceTypeEthernet": { + "specs": "webrtc-stats", + "name": "interfaceTypeEthernet", + "type": "boolean", + "type-original": "boolean" + }, + "interfaceTypeWireless": { + "specs": "webrtc-stats", + "name": "interfaceTypeWireless", + "type": "boolean", + "type-original": "boolean" + }, + "interfaceTypeWWAN": { + "specs": "webrtc-stats", + "name": "interfaceTypeWWAN", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webrtc-stats", + "name": "MSNetworkInterfaceType", + "extends": "Object" + }, + "AudioProcessingEventInit": { + "members": { + "member": { + "playbackTime": { + "required": 1, + "specs": "webaudio", + "name": "playbackTime", + "type": "double", + "type-original": "double" + }, + "outputBuffer": { + "required": 1, + "specs": "webaudio", + "name": "outputBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer" + }, + "inputBuffer": { + "required": 1, + "specs": "webaudio", + "name": "inputBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer" + } + } + }, + "specs": "webaudio", + "name": "AudioProcessingEventInit", + "extends": "EventInit" + }, + "AesKeyAlgorithm": { + "members": { + "member": { + "length": { + "required": 1, + "specs": "webcryptoapi", + "name": "length", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "specs": "webcryptoapi", + "name": "AesKeyAlgorithm", + "extends": "KeyAlgorithm" + }, + "PaymentDetailsModifier": { + "members": { + "member": { + "additionalDisplayItems": { + "subtype": { + "type": "PaymentItem" + }, + "specs": "payment-request", + "name": "additionalDisplayItems", + "type": "sequence", + "type-original": "sequence" + }, + "supportedMethods": { + "subtype": { + "type": "DOMString" + }, + "required": 1, + "specs": "payment-request", + "name": "supportedMethods", + "type": "sequence", + "type-original": "sequence" + }, + "data": { + "specs": "payment-request", + "name": "data", + "type": "object", + "type-original": "object" + }, + "total": { + "specs": "payment-request", + "name": "total", + "type": "PaymentItem", + "type-original": "PaymentItem" + } + } + }, + "specs": "payment-request", + "name": "PaymentDetailsModifier", + "extends": "Object" + }, + "SpeechSynthesisEventInit": { + "members": { + "member": { + "charLength": { + "specs": "none", + "name": "charLength", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "utterance": { + "nullable": 1, + "specs": "none", + "name": "utterance", + "default": "null", + "type": "SpeechSynthesisUtterance", + "type-original": "SpeechSynthesisUtterance?" + }, + "name": { + "specs": "none", + "name": "name", + "default": "\"\"", + "type": "DOMString", + "type-original": "DOMString" + }, + "charIndex": { + "specs": "none", + "name": "charIndex", + "default": "0", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "elapsedTime": { + "specs": "none", + "name": "elapsedTime", + "default": "0", + "type": "float", + "type-original": "float" + } + } + }, + "specs": "none", + "name": "SpeechSynthesisEventInit", + "extends": "EventInit" + }, + "RTCPeerConnectionIceEventInit": { + "members": { + "member": { + "candidate": { + "specs": "webrtc", + "name": "candidate", + "default": "null", + "type": "RTCIceCandidate", + "type-original": "RTCIceCandidate" + } + } + }, + "specs": "webrtc", + "name": "RTCPeerConnectionIceEventInit", + "extends": "EventInit" + }, + "EcKeyAlgorithm": { + "members": { + "member": { + "namedCurve": { + "required": 1, + "specs": "webcryptoapi", + "name": "namedCurve", + "type": "DOMString", + "type-original": "NamedCurve" + } + } + }, + "specs": "webcryptoapi", + "name": "EcKeyAlgorithm", + "extends": "KeyAlgorithm" + }, + "DOMRectInit": { + "members": { + "member": { + "width": { + "specs": "geometry_1", + "name": "width", + "default": "0", + "type": "unrestricted double", + "type-original": "unrestricted double" + }, + "y": { + "specs": "geometry_1", + "name": "y", + "default": "0", + "type": "unrestricted double", + "type-original": "unrestricted double" + }, + "x": { + "specs": "geometry_1", + "name": "x", + "default": "0", + "type": "unrestricted double", + "type-original": "unrestricted double" + }, + "height": { + "specs": "geometry_1", + "name": "height", + "default": "0", + "type": "unrestricted double", + "type-original": "unrestricted double" + } + } + }, + "specs": "geometry_1", + "name": "DOMRectInit", + "extends": "Object" + }, + "PeriodicWaveConstraints": { + "members": { + "member": { + "disableNormalization": { + "specs": "webaudio", + "name": "disableNormalization", + "default": "false", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "specs": "webaudio", + "name": "PeriodicWaveConstraints", + "extends": "Object" + }, + "KeyAlgorithm": { + "members": { + "member": { + "name": { + "required": 1, + "specs": "webcryptoapi", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "specs": "webcryptoapi", + "name": "KeyAlgorithm", + "extends": "Object" + }, + "VRStageParameters": { + "members": { + "member": { + "sizeY": { + "specs": "WebVR", + "name": "sizeY", + "type": "float", + "type-original": "float" + }, + "sizeX": { + "specs": "WebVR", + "name": "sizeX", + "type": "float", + "type-original": "float" + }, + "sittingToStandingTransform": { + "specs": "WebVR", + "name": "sittingToStandingTransform", + "type": "Float32Array", + "type-original": "Float32Array" + } + } + }, + "specs": "WebVR", + "name": "VRStageParameters", + "extends": "Object" + }, + "RTCSsrcRange": { + "members": { + "member": { + "min": { + "specs": "ortc", + "name": "min", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "max": { + "specs": "ortc", + "name": "max", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "ortc", + "name": "RTCSsrcRange", + "extends": "Object" + }, + "ProgressEventInit": { + "members": { + "member": { + "loaded": { + "specs": "progress-events", + "name": "loaded", + "default": "0", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + "lengthComputable": { + "specs": "progress-events", + "name": "lengthComputable", + "default": "false", + "type": "boolean", + "type-original": "boolean" + }, + "total": { + "specs": "progress-events", + "name": "total", + "default": "0", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + } + }, + "specs": "progress-events", + "name": "ProgressEventInit", + "extends": "EventInit" + }, + "ChannelSplitterOptions": { + "members": { + "member": { + "numberOfOutputs": { + "specs": "webaudio", + "name": "numberOfOutputs", + "default": "6", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "specs": "webaudio", + "name": "ChannelSplitterOptions", + "extends": "AudioNodeOptions" + }, + "MediaKeySystemConfiguration": { + "members": { + "member": { + "distinctiveIdentifier": { + "specs": "encrypted-media", + "name": "distinctiveIdentifier", + "default": "\"optional\"", + "type": "MediaKeysRequirement", + "type-original": "MediaKeysRequirement" + }, + "initDataTypes": { + "subtype": { + "type": "DOMString" + }, + "specs": "encrypted-media", + "name": "initDataTypes", + "type": "sequence", + "type-original": "sequence" + }, + "audioCapabilities": { + "subtype": { + "type": "MediaKeySystemMediaCapability" + }, + "specs": "encrypted-media", + "name": "audioCapabilities", + "type": "sequence", + "type-original": "sequence" + }, + "persistentState": { + "specs": "encrypted-media", + "name": "persistentState", + "default": "\"optional\"", + "type": "MediaKeysRequirement", + "type-original": "MediaKeysRequirement" + }, + "videoCapabilities": { + "subtype": { + "type": "MediaKeySystemMediaCapability" + }, + "specs": "encrypted-media", + "name": "videoCapabilities", + "type": "sequence", + "type-original": "sequence" + } + } + }, + "specs": "encrypted-media", + "name": "MediaKeySystemConfiguration", + "extends": "Object" + } + } + }, + "enums": { + "enum": { + "ReferrerPolicy": { + "specs": "whatwg-fetch", + "value": [ + "", + "no-referrer", + "no-referrer-when-downgrade", + "origin-only", + "origin-when-cross-origin", + "unsafe-url" + ], + "name": "ReferrerPolicy" + }, + "DistanceModelType": { + "specs": "webaudio", + "value": [ + "linear", + "inverse", + "exponential" + ], + "name": "DistanceModelType" + }, + "MediaKeySessionType": { + "specs": "encrypted-media", + "value": [ + "temporary", + "persistent-license", + "persistent-release-message" + ], + "name": "MediaKeySessionType" + }, + "AudioContextState": { + "specs": "webaudio", + "value": [ + "suspended", + "running", + "closed" + ], + "name": "AudioContextState" + }, + "GamepadInputEmulationType": { + "specs": "gamepad", + "value": [ + "mouse", + "keyboard", + "gamepad" + ], + "name": "GamepadInputEmulationType" + }, + "EndOfStreamError": { + "specs": "media-source", + "value": [ + "network", + "decode" + ], + "name": "EndOfStreamError" + }, + "MediaKeysRequirement": { + "specs": "encrypted-media", + "value": [ + "required", + "optional", + "not-allowed" + ], + "name": "MediaKeysRequirement" + }, + "ChannelCountMode": { + "specs": "webaudio", + "value": [ + "max", + "clamped-max", + "explicit" + ], + "name": "ChannelCountMode" + }, + "RequestCredentials": { + "specs": "whatwg-fetch", + "value": [ + "omit", + "same-origin", + "include" + ], + "name": "RequestCredentials" + }, + "RTCDtlsRole": { + "specs": "ortc", + "value": [ + "auto", + "client", + "server" + ], + "name": "RTCDtlsRole" + }, + "RTCIceTcpCandidateType": { + "specs": "ortc", + "value": [ + "active", + "passive", + "so" + ], + "name": "RTCIceTcpCandidateType" + }, + "IDBTransactionMode": { + "specs": "indexeddb", + "value": [ + "readonly", + "readwrite", + "versionchange" + ], + "name": "IDBTransactionMode" + }, + "MSWebViewPermissionType": { + "specs": "none", + "value": [ + "geolocation", + "unlimitedIndexedDBQuota", + "media", + "pointerlock", + "webnotifications" + ], + "name": "MSWebViewPermissionType" + }, + "MSIceType": { + "specs": "webrtc-stats", + "value": [ + "failed", + "direct", + "relay" + ], + "name": "MSIceType" + }, + "TextTrackKind": { + "specs": "html5", + "value": [ + "subtitles", + "captions", + "descriptions", + "chapters", + "metadata" + ], + "name": "TextTrackKind" + }, + "ReadyState": { + "specs": "media-source", + "value": [ + "closed", + "open", + "ended" + ], + "name": "ReadyState" + }, + "GamepadMappingType": { + "specs": "gamepad", + "value": [ + "", + "standard" + ], + "name": "GamepadMappingType" + }, + "OverSampleType": { + "specs": "webaudio", + "value": [ + "none", + "2x", + "4x" + ], + "name": "OverSampleType" + }, + "NotificationDirection": { + "specs": "notifications", + "value": [ + "auto", + "ltr", + "rtl" + ], + "name": "NotificationDirection" + }, + "RTCDtlsTransportState": { + "specs": "ortc", + "value": [ + "new", + "connecting", + "connected", + "closed" + ], + "name": "RTCDtlsTransportState" + }, + "AudioContextLatencyCategory": { + "specs": "webaudio", + "value": [ + "balanced", + "interactive", + "playback" + ], + "name": "AudioContextLatencyCategory" + }, + "ChannelInterpretation": { + "specs": "webaudio", + "value": [ + "speakers", + "discrete" + ], + "name": "ChannelInterpretation" + }, + "RTCIceGathererState": { + "specs": "ortc", + "value": [ + "new", + "gathering", + "complete" + ], + "name": "RTCIceGathererState" + }, + "OscillatorType": { + "specs": "webaudio", + "value": [ + "sine", + "square", + "sawtooth", + "triangle", + "custom" + ], + "name": "OscillatorType" + }, + "RequestType": { + "specs": "whatwg-fetch", + "value": [ + "", + "audio", + "font", + "image", + "script", + "style", + "track", + "video" + ], + "name": "RequestType" + }, + "RequestDestination": { + "specs": "whatwg-fetch", + "value": [ + "", + "document", + "sharedworker", + "subresource", + "unknown", + "worker" + ], + "name": "RequestDestination" + }, + "MediaDeviceKind": { + "specs": "media-capture-api", + "value": [ + "audioinput", + "audiooutput", + "videoinput" + ], + "name": "MediaDeviceKind" + }, + "BinaryType": { + "specs": "html5", + "value": [ + "blob", + "arraybuffer" + ], + "name": "BinaryType" + }, + "PushPermissionState": { + "specs": "push-api", + "value": [ + "granted", + "denied", + "prompt" + ], + "name": "PushPermissionState" + }, + "Transport": { + "specs": "webauthn", + "value": [ + "usb", + "nfc", + "ble" + ], + "name": "Transport" + }, + "GamepadHand": { + "specs": "gamepad extension", + "value": [ + "", + "left", + "right" + ], + "name": "GamepadHand" + }, + "BiquadFilterType": { + "specs": "webaudio", + "value": [ + "lowpass", + "highpass", + "bandpass", + "lowshelf", + "highshelf", + "peaking", + "notch", + "allpass" + ], + "name": "BiquadFilterType" + }, + "VideoFacingModeEnum": { + "specs": "media-capture-api", + "value": [ + "user", + "environment", + "left", + "right" + ], + "name": "VideoFacingModeEnum" + }, + "VREye": { + "specs": "WebVR", + "value": [ + "left", + "right" + ], + "name": "VREye" + }, + "RTCSdpType": { + "specs": "webrtc", + "value": [ + "offer", + "pranswer", + "answer" + ], + "name": "RTCSdpType" + }, + "MediaKeyMessageType": { + "specs": "encrypted-media", + "value": [ + "license-request", + "license-renewal", + "license-release", + "individualization-request" + ], + "name": "MediaKeyMessageType" + }, + "RTCIceProtocol": { + "specs": "ortc", + "value": [ + "udp", + "tcp" + ], + "name": "RTCIceProtocol" + }, + "NotificationPermission": { + "specs": "notifications", + "value": [ + "default", + "denied", + "granted" + ], + "name": "NotificationPermission" + }, + "KeyUsage": { + "specs": "webcryptoapi", + "value": [ + "encrypt", + "decrypt", + "sign", + "verify", + "deriveKey", + "deriveBits", + "wrapKey", + "unwrapKey" + ], + "name": "KeyUsage" + }, + "PaymentComplete": { + "specs": "payment-request", + "value": [ + "success", + "fail", + "unknown" + ], + "name": "PaymentComplete" + }, + "RequestMode": { + "specs": "whatwg-fetch", + "value": [ + "navigate", + "same-origin", + "no-cors", + "cors" + ], + "name": "RequestMode" + }, + "ExpandGranularity": { + "specs": "dom4", + "value": [ + "character", + "word", + "sentence", + "textedit" + ], + "name": "ExpandGranularity" + }, + "KeyType": { + "specs": "webcryptoapi", + "value": [ + "public", + "private", + "secret" + ], + "name": "KeyType" + }, + "RTCStatsType": { + "specs": "ortc", + "value": [ + "inboundrtp", + "outboundrtp", + "session", + "datachannel", + "track", + "transport", + "candidatepair", + "localcandidate", + "remotecandidate" + ], + "name": "RTCStatsType" + }, + "ClientType": { + "specs": "service-workers", + "value": [ + "window", + "worker", + "sharedworker", + "all" + ], + "name": "ClientType" + }, + "IDBCursorDirection": { + "specs": "indexeddb", + "value": [ + "next", + "nextunique", + "prev", + "prevunique" + ], + "name": "IDBCursorDirection" + }, + "NavigationType": { + "specs": "navigation-timing", + "value": [ + "navigate", + "reload", + "back_forward", + "prerender" + ], + "name": "NavigationType" + }, + "IDBRequestReadyState": { + "specs": "indexeddb", + "value": [ + "pending", + "done" + ], + "name": "IDBRequestReadyState" + }, + "KeyFormat": { + "specs": "webcryptoapi", + "value": [ + "raw", + "spki", + "pkcs8", + "jwk" + ], + "name": "KeyFormat" + }, + "CanPlayTypeResult": { + "specs": "html5", + "value": [ + "", + "maybe", + "probably" + ], + "name": "CanPlayTypeResult" + }, + "TextTrackMode": { + "specs": "whatwg-html", + "value": [ + "disabled", + "hidden", + "showing" + ], + "name": "TextTrackMode" + }, + "RTCBundlePolicy": { + "specs": "webrtc", + "value": [ + "balanced", + "max-compat", + "max-bundle" + ], + "name": "RTCBundlePolicy" + }, + "MSCredentialType": { + "specs": "webauthn", + "value": [ + "FIDO_2_0" + ], + "name": "MSCredentialType" + }, + "AppendMode": { + "specs": "media-source", + "value": [ + "segments", + "sequence" + ], + "name": "AppendMode" + }, + "RequestCache": { + "specs": "whatwg-fetch", + "value": [ + "default", + "no-store", + "reload", + "no-cache", + "force-cache" + ], + "name": "RequestCache" + }, + "RTCIceConnectionState": { + "specs": "webrtc", + "value": [ + "new", + "checking", + "connected", + "completed", + "failed", + "disconnected", + "closed" + ], + "name": "RTCIceConnectionState" + }, + "RTCIceCandidateType": { + "specs": "ortc", + "value": [ + "host", + "srflx", + "prflx", + "relay" + ], + "name": "RTCIceCandidateType" + }, + "RTCIceComponent": { + "specs": "ortc", + "value": [ + "RTP", + "RTCP" + ], + "name": "RTCIceComponent" + }, + "VisibilityState": { + "specs": "page-visibility", + "value": [ + "hidden", + "visible", + "prerender", + "unloaded" + ], + "name": "VisibilityState" + }, + "GamepadHapticActuatorType": { + "specs": "gamepad extension", + "value": [ + "vibration" + ], + "name": "GamepadHapticActuatorType" + }, + "VRDisplayEventReason": { + "specs": "WebVR", + "value": [ + "mounted", + "navigation", + "requested", + "unmounted" + ], + "name": "VRDisplayEventReason" + }, + "DisplayCaptureSurfaceType": { + "specs": "screen-capture", + "value": [ + "monitor", + "window", + "application", + "browser" + ], + "name": "DisplayCaptureSurfaceType" + }, + "XMLHttpRequestResponseType": { + "specs": "xhr", + "value": [ + "", + "arraybuffer", + "blob", + "document", + "json", + "text" + ], + "name": "XMLHttpRequestResponseType" + }, + "CanvasFillRule": { + "specs": "2dcontext", + "value": [ + "nonzero", + "evenodd" + ], + "name": "CanvasFillRule" + }, + "RTCIceTransportPolicy": { + "specs": "webrtc", + "value": [ + "none", + "relay", + "all" + ], + "name": "RTCIceTransportPolicy" + }, + "MSWebViewPermissionState": { + "specs": "none", + "value": [ + "unknown", + "defer", + "allow", + "deny" + ], + "name": "MSWebViewPermissionState" + }, + "ScopedCredentialType": { + "specs": "webauthn", + "value": [ + "ScopedCred" + ], + "name": "ScopedCredentialType" + }, + "ListeningState": { + "specs": "none", + "value": [ + "inactive", + "active", + "disambiguation" + ], + "name": "ListeningState" + }, + "MediaStreamTrackState": { + "specs": "media-capture-api", + "value": [ + "live", + "ended" + ], + "name": "MediaStreamTrackState" + }, + "RTCIceRole": { + "specs": "ortc", + "value": [ + "controlling", + "controlled" + ], + "name": "RTCIceRole" + }, + "MSStatsType": { + "specs": "webrtc-stats", + "value": [ + "description", + "localclientevent", + "inbound-network", + "outbound-network", + "inbound-payload", + "outbound-payload", + "transportdiagnostics" + ], + "name": "MSStatsType" + }, + "RTCStatsIceCandidatePairState": { + "specs": "ortc", + "value": [ + "frozen", + "waiting", + "inprogress", + "failed", + "succeeded", + "cancelled" + ], + "name": "RTCStatsIceCandidatePairState" + }, + "RTCSignalingState": { + "specs": "webrtc", + "value": [ + "stable", + "have-local-offer", + "have-remote-offer", + "have-local-pranswer", + "have-remote-pranswer", + "closed" + ], + "name": "RTCSignalingState" + }, + "ResponseType": { + "specs": "whatwg-fetch", + "value": [ + "basic", + "cors", + "default", + "error", + "opaque", + "opaqueredirect" + ], + "name": "ResponseType" + }, + "RTCIceTransportState": { + "specs": "ortc", + "value": [ + "new", + "checking", + "connected", + "completed", + "disconnected", + "closed" + ], + "name": "RTCIceTransportState" + }, + "MediaKeyStatus": { + "specs": "encrypted-media", + "value": [ + "usable", + "expired", + "output-downscaled", + "output-not-allowed", + "status-pending", + "internal-error" + ], + "name": "MediaKeyStatus" + }, + "PushEncryptionKeyName": { + "specs": "push-api", + "value": [ + "p256dh", + "auth" + ], + "name": "PushEncryptionKeyName" + }, + "MSIceAddrType": { + "specs": "webrtc-stats", + "value": [ + "os", + "stun", + "turn", + "peer-derived" + ], + "name": "MSIceAddrType" + }, + "RTCStatsIceCandidateType": { + "specs": "ortc", + "value": [ + "host", + "serverreflexive", + "peerreflexive", + "relayed" + ], + "name": "RTCStatsIceCandidateType" + }, + "NavigationReason": { + "specs": "none", + "value": [ + "up", + "down", + "left", + "right" + ], + "name": "NavigationReason" + }, + "RTCIceGatheringState": { + "specs": "webrtc", + "value": [ + "new", + "gathering", + "complete" + ], + "name": "RTCIceGatheringState" + }, + "RequestRedirect": { + "specs": "whatwg-fetch", + "value": [ + "follow", + "error", + "manual" + ], + "name": "RequestRedirect" + }, + "ServiceWorkerState": { + "specs": "service-workers", + "value": [ + "installing", + "installed", + "activating", + "activated", + "redundant" + ], + "name": "ServiceWorkerState" + }, + "RTCIceGatherPolicy": { + "specs": "ortc", + "value": [ + "all", + "nohost", + "relay" + ], + "name": "RTCIceGatherPolicy" + }, + "MSTransportType": { + "specs": "webauthn", + "value": [ + "Embedded", + "USB", + "NFC", + "BT" + ], + "name": "MSTransportType" + }, + "RTCDegradationPreference": { + "specs": "ortc", + "value": [ + "maintain-framerate", + "maintain-resolution", + "balanced" + ], + "name": "RTCDegradationPreference" + }, + "PaymentShippingType": { + "specs": "payment-request", + "value": [ + "shipping", + "delivery", + "pickup" + ], + "name": "PaymentShippingType" + }, + "PanningModelType": { + "specs": "webaudio", + "value": [ + "equalpower", + "HRTF" + ], + "name": "PanningModelType" + } + } + }, + "interfaces": { + "interface": { + "HTMLTableElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableElement", + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "type-original": "DOMString", + "content-attribute": "width", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "tBodies": { + "specs": "html5", + "same-object": 1, + "name": "tBodies", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "align": { + "content-attribute-enum-values": "center left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "tHead": { + "specs": "html5", + "ce-reactions": 1, + "name": "tHead", + "type-original": "HTMLTableSectionElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLTableSectionElement" + }, + "cellSpacing": { + "specs": "html5", + "ce-reactions": 1, + "name": "cellSpacing", + "type-original": "DOMString", + "content-attribute": "cellspacing", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "integer_or_percentage", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "frame": { + "content-attribute-enum-values": "void above below border box hsides lhs rhs vsides", + "specs": "html5", + "ce-reactions": 1, + "name": "frame", + "type-original": "DOMString", + "content-attribute": "frame", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "tFoot": { + "specs": "html5", + "ce-reactions": 1, + "name": "tFoot", + "type-original": "HTMLTableSectionElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLTableSectionElement" + }, + "rules": { + "content-attribute-enum-values": "all cols groups none rows", + "specs": "html5", + "ce-reactions": 1, + "name": "rules", + "type-original": "DOMString", + "content-attribute": "rules", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "rows": { + "specs": "html5", + "same-object": 1, + "name": "rows", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "border": { + "specs": "html5", + "ce-reactions": 1, + "name": "border", + "type-original": "DOMString", + "content-attribute": "border", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "cellPadding": { + "specs": "html5", + "ce-reactions": 1, + "name": "cellPadding", + "type-original": "DOMString", + "content-attribute": "cellpadding", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "integer_or_percentage", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "bgColor": { + "specs": "html5", + "ce-reactions": 1, + "name": "bgColor", + "type-original": "DOMString", + "content-attribute": "bgcolor", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "summary": { + "specs": "html5", + "ce-reactions": 1, + "name": "summary", + "type-original": "DOMString", + "content-attribute": "summary", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "caption": { + "specs": "html5", + "ce-reactions": 1, + "name": "caption", + "type-original": "HTMLTableCaptionElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLTableCaptionElement" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "table" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "deleteRow": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteRow" + }, + "createTBody": { + "signature": [ + { + "type": "HTMLTableSectionElement", + "type-original": "HTMLTableSectionElement" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "createTBody" + }, + "insertRow": { + "signature": [ + { + "param-min-required": 0, + "type": "HTMLTableRowElement", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "HTMLTableRowElement" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "insertRow" + }, + "deleteCaption": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteCaption" + }, + "deleteTFoot": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteTFoot" + }, + "createTHead": { + "signature": [ + { + "type": "HTMLTableSectionElement", + "type-original": "HTMLTableSectionElement" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "createTHead" + }, + "deleteTHead": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteTHead" + }, + "createCaption": { + "signature": [ + { + "type": "HTMLTableCaptionElement", + "type-original": "HTMLTableCaptionElement" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "createCaption" + }, + "createTFoot": { + "signature": [ + { + "type": "HTMLTableSectionElement", + "type-original": "HTMLTableSectionElement" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "createTFoot" + } + } + }, + "extends": "HTMLElement" + }, + "VRFrameData": { + "specs": "WebVR", + "constructor": { + "specs": "WebVR", + "signature": [ + { + "type": "VRFrameData", + "type-original": "VRFrameData" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "VRFrameData", + "properties": { + "property": { + "rightViewMatrix": { + "pure": 1, + "specs": "WebVR", + "name": "rightViewMatrix", + "type-original": "Float32Array", + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "leftViewMatrix": { + "pure": 1, + "specs": "WebVR", + "name": "leftViewMatrix", + "type-original": "Float32Array", + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "timestamp": { + "specs": "WebVR", + "exposed": "Window", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "rightProjectionMatrix": { + "pure": 1, + "specs": "WebVR", + "name": "rightProjectionMatrix", + "type-original": "Float32Array", + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "leftProjectionMatrix": { + "pure": 1, + "specs": "WebVR", + "name": "leftProjectionMatrix", + "type-original": "Float32Array", + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "pose": { + "pure": 1, + "specs": "WebVR", + "name": "pose", + "type-original": "VRPose", + "exposed": "Window", + "type": "VRPose", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "TreeWalker": { + "constants": { + "constant": {} + }, + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "previousSibling": { + "specs": "dom", + "name": "previousSibling", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "nextSibling": { + "specs": "dom", + "name": "nextSibling", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "lastChild": { + "specs": "dom", + "name": "lastChild", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "nextNode": { + "specs": "dom", + "name": "nextNode", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "previousNode": { + "specs": "dom", + "name": "previousNode", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "firstChild": { + "specs": "dom", + "name": "firstChild", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "parentNode": { + "specs": "dom", + "name": "parentNode", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + } + } + }, + "exposed": "Window", + "name": "TreeWalker", + "extends": "Object", + "properties": { + "property": { + "whatToShow": { + "specs": "dom", + "name": "whatToShow", + "constant": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "filter": { + "specs": "dom", + "name": "filter", + "constant": 1, + "type-original": "NodeFilter?", + "nullable": 1, + "exposed": "Window", + "type": "NodeFilter", + "read-only": 1 + }, + "currentNode": { + "pure": 1, + "specs": "dom", + "name": "currentNode", + "type-original": "Node", + "exposed": "Window", + "type": "Node" + }, + "root": { + "specs": "dom", + "same-object": 1, + "name": "root", + "constant": 1, + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "expandEntityReferences": { + "specs": "dom-level-2-traversal-range", + "name": "expandEntityReferences", + "type-original": "boolean", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + } + } + } + }, + "TextTrackCue": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 3, + "type": "TextTrackCue", + "param": [ + { + "name": "startTime", + "type": "double", + "type-original": "double" + }, + { + "name": "endTime", + "type": "double", + "type-original": "double" + }, + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "TextTrackCue" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "TextTrackCue", + "properties": { + "property": { + "onenter": { + "specs": "html5", + "name": "onenter", + "tags": "Captions", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "enter" + }, + "text": { + "specs": "html5", + "exposed": "Window", + "name": "text", + "type": "DOMString", + "tags": "Captions", + "type-original": "DOMString" + }, + "endTime": { + "specs": "html5", + "exposed": "Window", + "name": "endTime", + "type": "double", + "tags": "Captions", + "type-original": "double" + }, + "track": { + "specs": "html5", + "name": "track", + "tags": "Captions", + "type-original": "TextTrack", + "exposed": "Window", + "type": "TextTrack", + "read-only": 1 + }, + "pauseOnExit": { + "specs": "html5", + "exposed": "Window", + "name": "pauseOnExit", + "type": "boolean", + "tags": "Captions", + "type-original": "boolean" + }, + "startTime": { + "specs": "html5", + "exposed": "Window", + "name": "startTime", + "type": "double", + "tags": "Captions", + "type-original": "double" + }, + "id": { + "specs": "html5", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "tags": "Captions", + "type-original": "DOMString" + }, + "onexit": { + "specs": "html5", + "name": "onexit", + "tags": "Captions", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "exit" + } + } + }, + "tags": "Captions", + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "enter", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "exit", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "getCueAsHTML": { + "signature": [ + { + "type": "DocumentFragment", + "type-original": "DocumentFragment" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getCueAsHTML", + "tags": "Captions" + } + } + }, + "extends": "EventTarget" + }, + "RTCRtpSender": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 2, + "type": "RTCRtpSender", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack" + }, + { + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "optional": 1, + "type-original": "RTCDtlsTransport" + } + ], + "type-original": "RTCRtpSender" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCRtpSender", + "properties": { + "property": { + "onssrcconflict": { + "specs": "ortc", + "name": "onssrcconflict", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ssrcconflict" + }, + "rtcpTransport": { + "specs": "ortc", + "exposed": "Window", + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "type-original": "RTCDtlsTransport", + "read-only": 1 + }, + "transport": { + "specs": "ortc", + "exposed": "Window", + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport", + "read-only": 1 + }, + "track": { + "specs": "ortc", + "exposed": "Window", + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack", + "read-only": 1 + }, + "onerror": { + "specs": "ortc", + "name": "onerror", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "ssrcconflict", + "type": "RTCSsrcConflictEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "setTrack": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "setTrack" + }, + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "stop" + }, + "send": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "parameters", + "type": "RTCRtpParameters", + "type-original": "RTCRtpParameters" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "send" + }, + "setTransport": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "optional": 1, + "type-original": "RTCDtlsTransport" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "setTransport" + }, + "getCapabilities": { + "signature": [ + { + "param-min-required": 0, + "type": "RTCRtpCapabilities", + "param": [ + { + "name": "kind", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "RTCRtpCapabilities" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getCapabilities", + "static": 1 + } + } + }, + "extends": "RTCStatsProvider" + }, + "XPathResult": { + "dataslot": [ + { + "name": "valueCache" + } + ], + "specs": "dom-level-3-xpath", + "anonymous-methods": { + "method": [] + }, + "name": "XPathResult", + "properties": { + "property": { + "invalidIteratorState": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "invalidIteratorState", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "stringValue": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "stringValue", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "numberValue": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "numberValue", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "singleNodeValue": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "singleNodeValue", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "booleanValue": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "booleanValue", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "snapshotLength": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "snapshotLength", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "resultType": { + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "resultType", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "FIRST_ORDERED_NODE_TYPE": { + "specs": "dom-level-3-xpath", + "value": "9", + "exposed": "Window", + "name": "FIRST_ORDERED_NODE_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "UNORDERED_NODE_ITERATOR_TYPE": { + "specs": "dom-level-3-xpath", + "value": "4", + "exposed": "Window", + "name": "UNORDERED_NODE_ITERATOR_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ORDERED_NODE_SNAPSHOT_TYPE": { + "specs": "dom-level-3-xpath", + "value": "7", + "exposed": "Window", + "name": "ORDERED_NODE_SNAPSHOT_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NUMBER_TYPE": { + "specs": "dom-level-3-xpath", + "value": "1", + "exposed": "Window", + "name": "NUMBER_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ANY_TYPE": { + "specs": "dom-level-3-xpath", + "value": "0", + "exposed": "Window", + "name": "ANY_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ORDERED_NODE_ITERATOR_TYPE": { + "specs": "dom-level-3-xpath", + "value": "5", + "exposed": "Window", + "name": "ORDERED_NODE_ITERATOR_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ANY_UNORDERED_NODE_TYPE": { + "specs": "dom-level-3-xpath", + "value": "8", + "exposed": "Window", + "name": "ANY_UNORDERED_NODE_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "STRING_TYPE": { + "specs": "dom-level-3-xpath", + "value": "2", + "exposed": "Window", + "name": "STRING_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "BOOLEAN_TYPE": { + "specs": "dom-level-3-xpath", + "value": "3", + "exposed": "Window", + "name": "BOOLEAN_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "UNORDERED_NODE_SNAPSHOT_TYPE": { + "specs": "dom-level-3-xpath", + "value": "6", + "exposed": "Window", + "name": "UNORDERED_NODE_SNAPSHOT_TYPE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "snapshotItem": { + "signature": [ + { + "param-min-required": 1, + "type": "Node", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Node" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "snapshotItem" + }, + "iterateNext": { + "signature": [ + { + "type": "Node", + "type-original": "Node" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "iterateNext" + } + } + }, + "extends": "Object" + }, + "ScopedCredentialInfo": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "ScopedCredentialInfo", + "properties": { + "property": { + "publicKey": { + "specs": "WD-webauthn-20160928", + "exposed": "Window", + "name": "publicKey", + "type": "CryptoKey", + "type-original": "CryptoKey", + "read-only": 1 + }, + "credential": { + "specs": "WD-webauthn-20161207", + "exposed": "Window", + "name": "credential", + "type": "ScopedCredential", + "type-original": "ScopedCredential", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "SpeechSynthesisUtterance": { + "specs": "speech-api", + "constructor": { + "specs": "speech-api", + "signature": [ + { + "type": "SpeechSynthesisUtterance", + "type-original": "SpeechSynthesisUtterance" + }, + { + "param-min-required": 1, + "type": "SpeechSynthesisUtterance", + "param": [ + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "SpeechSynthesisUtterance" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "SpeechSynthesisUtterance", + "properties": { + "property": { + "volume": { + "specs": "speech-api", + "exposed": "Window", + "name": "volume", + "type": "float", + "type-original": "float" + }, + "lang": { + "specs": "speech-api", + "exposed": "Window", + "name": "lang", + "type": "DOMString", + "type-original": "DOMString" + }, + "onmark": { + "specs": "speech-api", + "name": "onmark", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mark" + }, + "onpause": { + "specs": "speech-api", + "name": "onpause", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pause" + }, + "onresume": { + "specs": "speech-api", + "name": "onresume", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "resume" + }, + "voice": { + "specs": "speech-api", + "exposed": "Window", + "name": "voice", + "type": "SpeechSynthesisVoice", + "type-original": "SpeechSynthesisVoice" + }, + "rate": { + "specs": "speech-api", + "exposed": "Window", + "name": "rate", + "type": "float", + "type-original": "float" + }, + "onboundary": { + "specs": "speech-api", + "name": "onboundary", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "boundary" + }, + "text": { + "specs": "speech-api", + "exposed": "Window", + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + }, + "onend": { + "specs": "speech-api", + "name": "onend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "end" + }, + "onerror": { + "specs": "speech-api", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "pitch": { + "specs": "speech-api", + "exposed": "Window", + "name": "pitch", + "type": "float", + "type-original": "float" + }, + "onstart": { + "specs": "speech-api", + "name": "onstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "start" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Speech", + "name": "start", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "pause", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "resume", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "end", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "mark", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Speech", + "name": "boundary", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGFEFuncAElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEFuncAElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feFuncA" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGComponentTransferFunctionElement" + }, + "SVGFETileElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFETileElement", + "properties": { + "property": { + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feTile" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGFEBlendElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEBlendElement", + "properties": { + "property": { + "in2": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in2", + "constant": 1, + "content-attribute": "in2", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "mode": { + "content-attribute-enum-values": "normal multiply screen darken lighten", + "specs": "filter-effects", + "name": "mode", + "constant": 1, + "content-attribute": "mode", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feBlend" + } + ], + "constants": { + "constant": { + "SVG_FEBLEND_MODE_HUE": { + "specs": "filter-effects", + "value": "13", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_HUE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_LUMINOSITY": { + "specs": "filter-effects", + "value": "16", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_LUMINOSITY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_NORMAL": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_NORMAL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_EXCLUSION": { + "specs": "filter-effects", + "value": "12", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_EXCLUSION", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_SOFT_LIGHT": { + "specs": "filter-effects", + "value": "10", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_SOFT_LIGHT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_SATURATION": { + "specs": "filter-effects", + "value": "14", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_SATURATION", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_COLOR_DODGE": { + "specs": "filter-effects", + "value": "7", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_COLOR_DODGE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_LIGHTEN": { + "specs": "filter-effects", + "value": "5", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_LIGHTEN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_DIFFERENCE": { + "specs": "filter-effects", + "value": "11", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_DIFFERENCE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_DARKEN": { + "specs": "filter-effects", + "value": "4", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_DARKEN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_COLOR_BURN": { + "specs": "filter-effects", + "value": "8", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_COLOR_BURN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_COLOR": { + "specs": "filter-effects", + "value": "15", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_COLOR", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_OVERLAY": { + "specs": "filter-effects", + "value": "6", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_OVERLAY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_MULTIPLY": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_MULTIPLY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_SCREEN": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_SCREEN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FEBLEND_MODE_HARD_LIGHT": { + "specs": "filter-effects", + "value": "9", + "exposed": "Window", + "name": "SVG_FEBLEND_MODE_HARD_LIGHT", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "DynamicsCompressorNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "DynamicsCompressorNode", + "extends": "AudioNode", + "properties": { + "property": { + "ratio": { + "specs": "webaudio", + "exposed": "Window", + "name": "ratio", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "threshold": { + "specs": "webaudio", + "exposed": "Window", + "name": "threshold", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "attack": { + "specs": "webaudio", + "exposed": "Window", + "name": "attack", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "release": { + "specs": "webaudio", + "exposed": "Window", + "name": "release", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "reduction": { + "specs": "webaudio", + "exposed": "Window", + "name": "reduction", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "knee": { + "specs": "webaudio", + "exposed": "Window", + "name": "knee", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + } + } + } + }, + "HTMLTimeElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTimeElement", + "properties": { + "property": { + "dateTime": { + "specs": "html5", + "ce-reactions": 1, + "name": "dateTime", + "content-attribute": "datetime", + "type-original": "DOMString", + "content-attribute-value-syntax": "date_time", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "time" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "CSSStyleDeclaration": { + "specs": "cssom dom-level-2-style", + "anonymous-methods": { + "method": [] + }, + "name": "CSSStyleDeclaration", + "properties": { + "property": { + "textAlignLast": { + "css-property-initial": "auto", + "specs": "css-text", + "ce-reactions": 1, + "name": "textAlignLast", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-align-last", + "exposed": "Window", + "css-property-enum-values": "auto center inherit justify left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "backgroundAttachment": { + "css-property-initial": "scroll", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundAttachment", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "background-attachment", + "exposed": "Window", + "css-property-enum-values": "scroll fixed local inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "animationIterationCount": { + "css-property-initial": "1", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationIterationCount", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-iteration-count", + "exposed": "Window", + "css-property-enum-values": "infinite inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_non_negative_integer" + }, + "orphans": { + "css-property-initial": "2", + "specs": "css-break", + "ce-reactions": 1, + "name": "orphans", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "orphans", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "counterIncrement": { + "css-property-initial": "none", + "specs": "css-lists", + "ce-reactions": 1, + "name": "counterIncrement", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "counter-increment", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "space_separated_token_and_optional_signed_integer" + }, + "animationDelay": { + "css-property-initial": "0", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationDelay", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-delay", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "cssText": { + "specs": "cssom dom-level-2-style", + "ce-reactions": 1, + "name": "cssText", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "gridTemplate": { + "specs": "css-grid", + "ce-reactions": 1, + "name": "gridTemplate", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid-template", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "css-property-subproperties": "grid-template-areas grid-template-columns grid-template-rows", + "type": "DOMString", + "css-property-value-syntax": "slash_separated_grid_dimension_lists_or_grid_area_list_with_line_names" + }, + "layoutGridLine": { + "css-property-initial": "none", + "specs": "css-text", + "ce-reactions": 1, + "name": "layoutGridLine", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "layout-grid-line", + "exposed": "Window", + "css-property-enum-values": "none auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "columnRuleWidth": { + "css-property-initial": "medium", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnRuleWidth", + "tags": "CSSOM", + "type-original": "any", + "css-property": "column-rule-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "webkitUserModify": { + "css-property-initial": "read-only", + "specs": "none", + "ce-reactions": 1, + "name": "webkitUserModify", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-user-modify", + "exposed": "Window", + "css-property-enum-values": "read-only read-write read-write-plaintext-only inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAppearance": { + "css-property-initial": "none", + "specs": "none", + "ce-reactions": 1, + "name": "webkitAppearance", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-appearance", + "exposed": "Window", + "css-property-enum-values": "none button textfield inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "pointerEvents": { + "css-property-initial": "auto", + "specs": "svg11 pointer-events", + "ce-reactions": 1, + "name": "pointerEvents", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "pointer-events", + "exposed": "Window", + "css-property-enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "rotate": { + "css-property-initial": "0deg 0 0 1", + "specs": "css-transform", + "ce-reactions": 1, + "name": "rotate", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "rotate", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_css_angle_followed_by_optional_3_space_separated_floating_point_number" + }, + "webkitTransitionDuration": { + "css-property-initial": "0", + "specs": "none css-transition", + "ce-reactions": 1, + "name": "webkitTransitionDuration", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transition-duration", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "webkitAnimationName": { + "css-property-initial": "none", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationName", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-name", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_keyframes_refs" + }, + "msGridRowAlign": { + "css-property-initial": "stretch", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridRowAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-grid-row-align", + "exposed": "Window", + "css-property-enum-values": "stretch start end center inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msGridColumn": { + "css-property-initial": "1", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridColumn", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-grid-column", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitColumnWidth": { + "css-property-initial": "auto", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnWidth", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-column-width", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "cursor": { + "css-property-initial": "auto", + "specs": "css-ui", + "ce-reactions": 1, + "name": "cursor", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "cursor", + "exposed": "Window", + "css-property-enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum" + }, + "webkitBoxFlex": { + "css-property-initial": "0", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxFlex", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-flex", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "non_negative_integer" + }, + "listStylePosition": { + "css-property-initial": "outside", + "specs": "css-lists", + "ce-reactions": 1, + "name": "listStylePosition", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "list-style-position", + "exposed": "Window", + "css-property-enum-values": "inside outside inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "wordWrap": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "wordWrap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "word-wrap", + "exposed": "Window", + "css-property-enum-values": "normal break-word inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAnimationFillMode": { + "css-property-initial": "none", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationFillMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-fill-mode", + "exposed": "Window", + "css-property-enum-values": "none forwards backwards both inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "borderImageWidth": { + "css-property-initial": "1px", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImageWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-image-width", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length_or_non_negative_integer" + }, + "webkitTransition": { + "specs": "none css-transition", + "ce-reactions": 1, + "name": "webkitTransition", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-transition", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "-webkit-transition-property -webkit-transition-duration -webkit-transition-timing-function -webkit-transition-delay", + "type": "DOMString", + "css-property-value-syntax": "css_transition" + }, + "webkitTransformOrigin": { + "css-property-initial": "50% 50%", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitTransformOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transform-origin", + "exposed": "Window", + "css-property-enum-values": "left center right top bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_transform_origin" + }, + "direction": { + "css-property-initial": "ltr", + "specs": "css-writing-modes", + "ce-reactions": 1, + "name": "direction", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "direction", + "exposed": "Window", + "css-property-enum-values": "ltr rtl inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "alignmentBaseline": { + "css-property-initial": "auto", + "specs": "svg11", + "ce-reactions": 1, + "name": "alignmentBaseline", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "alignment-baseline", + "exposed": "Window", + "css-property-enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeMiterlimit": { + "css-property-initial": "4", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeMiterlimit", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "stroke-miterlimit", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_floating_point_number" + }, + "msScrollSnapY": { + "specs": "none", + "ce-reactions": 1, + "name": "msScrollSnapY", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-scroll-snap-y", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-y", + "type": "DOMString", + "css-property-value-syntax": "css_snap_type_and_points" + }, + "verticalAlign": { + "css-property-initial": "baseline", + "specs": "css21", + "ce-reactions": 1, + "name": "verticalAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "vertical-align", + "exposed": "Window", + "css-property-enum-values": "baseline auto sub super top middle bottom text-top text-bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msImeAlign": { + "css-property-initial": "auto", + "specs": "none", + "ce-reactions": 1, + "name": "msImeAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-ime-align", + "exposed": "Window", + "css-property-enum-values": "auto after inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "overflow": { + "css-property-initial": "visible", + "specs": "css-box", + "ce-reactions": 1, + "name": "overflow", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "overflow", + "exposed": "Window", + "css-property-enum-values": "visible hidden scroll auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "flexShrink": { + "css-property-initial": "1", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexShrink", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "flex-shrink", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitFlexBasis": { + "css-property-initial": "auto", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexBasis", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-flex-basis", + "exposed": "Window", + "css-property-enum-values": "auto content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "borderLeftStyle": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderLeftStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-left-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "emptyCells": { + "css-property-initial": "show", + "specs": "css21", + "ce-reactions": 1, + "name": "emptyCells", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "empty-cells", + "exposed": "Window", + "css-property-enum-values": "show hide inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "stopOpacity": { + "css-property-initial": "1", + "specs": "svg11", + "ce-reactions": 1, + "name": "stopOpacity", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stop-opacity", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "0_to_1_floating_point_number" + }, + "paddingRight": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "paddingRight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "padding-right", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "background": { + "specs": "css-background", + "ce-reactions": 1, + "name": "background", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "background", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none left center right top bottom scroll fixed local repeat-x repeat-y repeat space round no-repeat inherit initial", + "css-property-subproperties": "background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size", + "type": "DOMString", + "css-property-value-syntax": "css_background" + }, + "webkitTextFillColor": { + "css-property-initial": "currentColor", + "specs": "none", + "ce-reactions": 1, + "name": "webkitTextFillColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "-webkit-text-fill-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "animationPlayState": { + "css-property-initial": "running", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationPlayState", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-play-state", + "exposed": "Window", + "css-property-enum-values": "running paused inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "transformOrigin": { + "css-property-aliases": "-ms-transform-origin", + "css-property-initial": "50% 50%", + "specs": "css-transform", + "ce-reactions": 1, + "name": "transformOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "transform-origin", + "exposed": "Window", + "css-property-enum-values": "left center right top bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_transform_origin" + }, + "left": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "left", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "left", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "glyphOrientationHorizontal": { + "css-property-initial": "0", + "specs": "svg11", + "ce-reactions": 1, + "name": "glyphOrientationHorizontal", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "glyph-orientation-horizontal", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_angle" + }, + "display": { + "css-property-initial": "inline", + "specs": "css-grid css-ruby css-flexbox css21", + "ce-reactions": 1, + "name": "display", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "display", + "exposed": "Window", + "css-property-enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex grid line-grid -ms-grid -ms-inline-grid none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "breakBefore": { + "css-property-initial": "auto", + "specs": "css-break css-multicol", + "ce-reactions": 1, + "name": "breakBefore", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "break-before", + "exposed": "Window", + "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "order": { + "css-property-initial": "0", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "order", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "order", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "signed_integer" + }, + "cssFloat": { + "css-property-initial": "none", + "specs": "css-box", + "ce-reactions": 1, + "name": "cssFloat", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "float", + "exposed": "Window", + "css-property-enum-values": "left right none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeDasharray": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeDasharray", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stroke-dasharray", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_or_space_separated_css_percentage_or_length" + }, + "webkitPerspective": { + "css-property-initial": "none", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitPerspective", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-perspective", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "webkitJustifyContent": { + "css-property-initial": "normal", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "webkitJustifyContent", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-justify-content", + "exposed": "Window", + "css-property-enum-values": "normal first last baseline space-between space-around space-evenly stretch unsafe safe center start end flex-start flex-end left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_enums" + }, + "animationDirection": { + "css-property-initial": "normal", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationDirection", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-direction", + "exposed": "Window", + "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "animationDuration": { + "css-property-initial": "0", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationDuration", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-duration", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "rubyAlign": { + "css-property-initial": "auto", + "specs": "css-ruby", + "ce-reactions": 1, + "name": "rubyAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "ruby-align", + "exposed": "Window", + "css-property-enum-values": "auto left center right distribute-letter distribute-space line-edge inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitTransformStyle": { + "css-property-initial": "flat", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitTransformStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transform-style", + "exposed": "Window", + "css-property-enum-values": "flat preserve-3d inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitPerspectiveOrigin": { + "css-property-initial": "50% 50%", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitPerspectiveOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-perspective-origin", + "exposed": "Window", + "css-property-enum-values": "left right center top bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "fontSizeAdjust": { + "css-property-initial": "none", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontSizeAdjust", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-size-adjust", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "floating_point_number" + }, + "borderLeftColor": { + "css-property-initial": "currentColor", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderLeftColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-left-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "msGridRow": { + "css-property-initial": "1", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridRow", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-grid-row", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitBorderTopLeftRadius": { + "css-property-initial": "0", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderTopLeftRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-border-top-left-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "borderImage": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImage", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "border-image", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", + "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", + "type": "DOMString", + "css-property-value-syntax": "css_border_image" + }, + "webkitTransitionProperty": { + "css-property-initial": "all", + "specs": "none css-transition", + "ce-reactions": 1, + "name": "webkitTransitionProperty", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transition-property", + "exposed": "Window", + "css-property-enum-values": "none all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_tokens" + }, + "msTextCombineHorizontal": { + "css-property-initial": "none", + "specs": "none css-writing-modes", + "ce-reactions": 1, + "name": "msTextCombineHorizontal", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-text-combine-horizontal", + "exposed": "Window", + "css-property-enum-values": "none all digits inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_text_combine_enum_and_digit" + }, + "webkitBackgroundClip": { + "css-property-initial": "border-box", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBackgroundClip", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-background-clip", + "exposed": "Window", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "textOverflow": { + "css-property-initial": "clip", + "specs": "css-ui", + "ce-reactions": 1, + "name": "textOverflow", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-overflow", + "exposed": "Window", + "css-property-enum-values": "clip ellipsis inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitTextStrokeColor": { + "css-property-initial": "black", + "specs": "none", + "ce-reactions": 1, + "name": "webkitTextStrokeColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "-webkit-text-stroke-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "columnSpan": { + "css-property-initial": "none", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnSpan", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "column-span", + "exposed": "Window", + "css-property-enum-values": "none all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msContentZooming": { + "css-property-initial": "none", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZooming", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-content-zooming", + "exposed": "Window", + "css-property-enum-values": "none zoom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msScrollSnapPointsX": { + "css-property-initial": "snapInterval(0, 100%)", + "specs": "none css-snappoints", + "ce-reactions": 1, + "name": "msScrollSnapPointsX", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-snap-points-x", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "snap_interval_or_snap_list" + }, + "listStyle": { + "specs": "css-lists", + "ce-reactions": 1, + "name": "listStyle", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "list-style", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none inside outside disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", + "css-property-subproperties": "list-style-type list-style-position list-style-image", + "type": "DOMString", + "css-property-value-syntax": "css_list_style" + }, + "dominantBaseline": { + "css-property-initial": "auto", + "specs": "svg11", + "ce-reactions": 1, + "name": "dominantBaseline", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "dominant-baseline", + "exposed": "Window", + "css-property-enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "overflowY": { + "css-property-initial": "visible", + "specs": "css-box", + "ce-reactions": 1, + "name": "overflowY", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "overflow-y", + "exposed": "Window", + "css-property-enum-values": "visible scroll hidden auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "captionSide": { + "css-property-initial": "top", + "specs": "css-writing-modes css21", + "ce-reactions": 1, + "name": "captionSide", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "caption-side", + "exposed": "Window", + "css-property-enum-values": "top bottom left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "boxShadow": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "boxShadow", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "box-shadow", + "exposed": "Window", + "css-property-enum-values": "none inset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_2_or_4_css_lengths_with_optional_css_color" + }, + "borderCollapse": { + "css-property-initial": "separate", + "specs": "css21", + "ce-reactions": 1, + "name": "borderCollapse", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-collapse", + "exposed": "Window", + "css-property-enum-values": "separate collapse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "grid": { + "specs": "css-grid", + "ce-reactions": 1, + "name": "grid", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "grid-auto-columns grid-auto-flow grid-auto-rows grid-template-areas grid-template-columns grid-template-rows", + "type": "DOMString", + "css-property-value-syntax": "grid_template_or_slash_separated_grid_dimension_lists_with_auto_flow_specifications" + }, + "backgroundSize": { + "css-property-initial": "auto", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundSize", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "background-size", + "exposed": "Window", + "css-property-enum-values": "auto cover contain inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length" + }, + "transitionDuration": { + "css-property-aliases": "-ms-transition-duration", + "css-property-initial": "0", + "specs": "css-transition", + "ce-reactions": 1, + "name": "transitionDuration", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "transition-duration", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "textDecoration": { + "css-property-initial": "none", + "specs": "css-text-decor", + "ce-reactions": 1, + "name": "textDecoration", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-decoration", + "exposed": "Window", + "css-property-enum-values": "none underline overline line-through blink inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeDashoffset": { + "css-property-initial": "0", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeDashoffset", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stroke-dashoffset", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitFlexShrink": { + "css-property-initial": "1", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexShrink", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-flex-shrink", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitColumnRule": { + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnRule", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-column-rule", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "transparent thin medium thick inherit initial", + "css-property-subproperties": "-webkit-column-rule-color -webkit-column-rule-style -webkit-column-rule-width", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "webkitColumnCount": { + "css-property-initial": "auto", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnCount", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-column-count", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "webkitTextStrokeWidth": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "webkitTextStrokeWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "-webkit-text-stroke-width", + "exposed": "Window", + "css-property-enum-values": "inherit initial unset thin medium thick", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "pageBreakBefore": { + "css-property-initial": "auto", + "specs": "css-break", + "ce-reactions": 1, + "name": "pageBreakBefore", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "page-break-before", + "exposed": "Window", + "css-property-enum-values": "auto always avoid left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "border": { + "specs": "css-background", + "ce-reactions": 1, + "name": "border", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-subproperties": "border-top border-right border-bottom border-left", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "webkitTransitionDelay": { + "css-property-initial": "0", + "specs": "none css-transition", + "ce-reactions": 1, + "name": "webkitTransitionDelay", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transition-delay", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "borderTopRightRadius": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTopRightRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-top-right-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "borderBottomLeftRadius": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottomLeftRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-bottom-left-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "alignSelf": { + "css-property-initial": "auto", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "alignSelf", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "align-self", + "exposed": "Window", + "css-property-enum-values": "auto normal stretch baseline last-baseline center start end self-start self-end flex-start flex-end left right unsafe safe inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "webkitAnimationDuration": { + "css-property-initial": "0", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationDuration", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-duration", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "fontFamily": { + "css-property-initial": "serif", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontFamily", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-family", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_font_family_followed_by_generic_family" + }, + "content": { + "css-property-initial": "normal", + "specs": "css21", + "ce-reactions": 1, + "name": "content", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "content", + "exposed": "Window", + "css-property-enum-values": "normal none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_content" + }, + "layoutGridChar": { + "css-property-initial": "none", + "specs": "css-text", + "ce-reactions": 1, + "name": "layoutGridChar", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "layout-grid-char", + "exposed": "Window", + "css-property-enum-values": "none auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "backgroundClip": { + "css-property-initial": "border-box", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundClip", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "background-clip", + "exposed": "Window", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "webkitColumnGap": { + "css-property-initial": "normal", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "webkitColumnGap", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-column-gap", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage_or_length" + }, + "counterReset": { + "css-property-initial": "none", + "specs": "css-lists", + "ce-reactions": 1, + "name": "counterReset", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "counter-reset", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "space_separated_token_and_optional_signed_integer" + }, + "msScrollSnapX": { + "specs": "none", + "ce-reactions": 1, + "name": "msScrollSnapX", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-scroll-snap-x", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none proximity mandatory inherit initial", + "css-property-subproperties": "-ms-scroll-snap-type -ms-scroll-snap-points-x", + "type": "DOMString", + "css-property-value-syntax": "css_snap_type_and_points" + }, + "alignContent": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "alignContent", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "align-content", + "exposed": "Window", + "css-property-enum-values": "normal first last baseline space-between space-around space-evenly stretch unsafe safe center start end flex-start flex-end left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_enums" + }, + "columnRuleColor": { + "css-property-initial": "currentColor", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnRuleColor", + "tags": "CSSOM", + "type-original": "any", + "css-property": "column-rule-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_color" + }, + "webkitUserSelect": { + "css-property-initial": "text", + "specs": "none", + "ce-reactions": 1, + "name": "webkitUserSelect", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-user-select", + "exposed": "Window", + "css-property-enum-values": "text none element all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "outlineWidth": { + "css-property-initial": "medium", + "specs": "css-ui", + "ce-reactions": 1, + "name": "outlineWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "outline-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "layoutGrid": { + "specs": "css-text", + "ce-reactions": 1, + "name": "layoutGrid", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "layout-grid", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none auto line char both loose strict fixed inherit initial", + "css-property-subproperties": "layout-grid-mode layout-grid-type layout-grid-line layout-grid-char", + "type": "DOMString", + "css-property-value-syntax": "css_layout_grid" + }, + "marginRight": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "marginRight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "margin-right", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "transitionDelay": { + "css-property-aliases": "-ms-transition-delay", + "css-property-initial": "0", + "specs": "css-transition", + "ce-reactions": 1, + "name": "transitionDelay", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "transition-delay", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "wordBreak": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "wordBreak", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "word-break", + "exposed": "Window", + "css-property-enum-values": "normal break-all keep-all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msFlowFrom": { + "css-property-initial": "none", + "specs": "none css-regions", + "ce-reactions": 1, + "name": "msFlowFrom", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-flow-from", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_tokens" + }, + "msScrollSnapType": { + "css-property-initial": "none", + "specs": "none css-snappoints", + "ce-reactions": 1, + "name": "msScrollSnapType", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-snap-type", + "exposed": "Window", + "css-property-enum-values": "none proximity mandatory inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "marginTop": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "marginTop", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "margin-top", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "backgroundPositionX": { + "css-property-initial": "0%", + "specs": "none", + "ce-reactions": 1, + "name": "backgroundPositionX", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "background-position-x", + "exposed": "Window", + "css-property-enum-values": "left center right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "gridRowGap": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "gridRowGap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-row-gap", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "touchAction": { + "css-property-initial": "auto", + "specs": "pointer-events", + "ce-reactions": 1, + "name": "touchAction", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "touch-action", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "top": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "top", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "top", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "msScrollRails": { + "css-property-initial": "railed", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollRails", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-rails", + "exposed": "Window", + "css-property-enum-values": "railed none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderRight": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderRight", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-right", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-subproperties": "border-right-width border-right-style border-right-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "width": { + "css-property-initial": "auto", + "specs": "css-box", + "ce-reactions": 1, + "name": "width", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "width", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitFlexDirection": { + "css-property-initial": "row", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexDirection", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-flex-direction", + "exposed": "Window", + "css-property-enum-values": "row row-reverse column column-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "enableBackground": { + "css-property-initial": "accumulate", + "specs": "svg11", + "ce-reactions": 1, + "name": "enableBackground", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "enable-background", + "exposed": "Window", + "css-property-enum-values": "accumulate inherit initial", + "type": "DOMString", + "css-property-value-syntax": "svg_enum_new_followed_by_svg_viewbox" + }, + "webkitBorderRadius": { + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderRadius", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-border-radius", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "-webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-right-radius -webkit-border-bottom-left-radius", + "type": "DOMString", + "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length" + }, + "webkitBorderImage": { + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderImage", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-border-image", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none fill auto stretch repeat round space inherit initial", + "css-property-subproperties": "border-image-source border-image-slice border-image-width border-image-outset border-image-repeat", + "type": "DOMString", + "css-property-value-syntax": "css_border_image" + }, + "kerning": { + "css-property-initial": "auto", + "specs": "svg11", + "ce-reactions": 1, + "name": "kerning", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "kerning", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "msHyphenateLimitLines": { + "css-property-initial": "no-limit", + "specs": "none", + "ce-reactions": 1, + "name": "msHyphenateLimitLines", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-hyphenate-limit-lines", + "exposed": "Window", + "css-property-enum-values": "no-limit inherit initial", + "type": "any", + "css-property-value-syntax": "non_negative_integer" + }, + "pageBreakAfter": { + "css-property-initial": "auto", + "specs": "css-break", + "ce-reactions": 1, + "name": "pageBreakAfter", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "page-break-after", + "exposed": "Window", + "css-property-enum-values": "auto always avoid left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msScrollLimit": { + "specs": "none", + "ce-reactions": 1, + "name": "msScrollLimit", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-scroll-limit", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "-ms-scroll-limit-x-min -ms-scroll-limit-y-min -ms-scroll-limit-x-max -ms-scroll-limit-y-max", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_lengths" + }, + "animation": { + "specs": "css-animation", + "ce-reactions": 1, + "name": "animation", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "animation", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state animation-name", + "type": "DOMString", + "css-property-value-syntax": "css_animation" + }, + "fontStretch": { + "css-property-initial": "normal", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontStretch", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-stretch", + "exposed": "Window", + "css-property-enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderBottomStyle": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottomStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-bottom-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeOpacity": { + "css-property-initial": "1", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeOpacity", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stroke-opacity", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "0_to_1_floating_point_number" + }, + "textCombineUpright": { + "css-property-aliases": "-ms-text-combine-horizontal", + "css-property-initial": "none", + "specs": "none css-writing-modes", + "ce-reactions": 1, + "name": "textCombineUpright", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-combine-upright", + "exposed": "Window", + "css-property-enum-values": "none all digits inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_text_combine_enum_and_digit" + }, + "bottom": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "bottom", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "bottom", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitFilter": { + "css-property-initial": "none", + "specs": "none filter-effects", + "ce-reactions": 1, + "name": "webkitFilter", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-filter", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "space_separated_filter_functions" + }, + "msScrollLimitYMin": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollLimitYMin", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-scroll-limit-y-min", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "justifyContent": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "justifyContent", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "justify-content", + "exposed": "Window", + "css-property-enum-values": "normal first last baseline space-between space-around space-evenly stretch unsafe safe center start end flex-start flex-end left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_enums" + }, + "borderLeftWidth": { + "css-property-initial": "medium", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderLeftWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-left-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "backgroundPosition": { + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundPosition", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "background-position", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "left center right top bottom inherit initial", + "css-property-subproperties": "background-position-x background-position-y", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_0_to_2_css_percentage_or_length" + }, + "strokeLinecap": { + "css-property-initial": "butt", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeLinecap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "stroke-linecap", + "exposed": "Window", + "css-property-enum-values": "butt round square inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "outlineStyle": { + "css-property-initial": "none", + "specs": "css-ui", + "ce-reactions": 1, + "name": "outlineStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "outline-style", + "exposed": "Window", + "css-property-enum-values": "auto none dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitColumnRuleStyle": { + "css-property-initial": "none", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnRuleStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-column-rule-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderTop": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTop", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-top", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-subproperties": "border-top-width border-top-style border-top-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "paddingBottom": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "paddingBottom", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "padding-bottom", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "outlineColor": { + "css-property-initial": "invert", + "specs": "css-ui", + "ce-reactions": 1, + "name": "outlineColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "outline-color", + "exposed": "Window", + "css-property-enum-values": "invert inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "font": { + "specs": "css-fonts", + "ce-reactions": 1, + "name": "font", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "font", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "caption icon menu message-box small-caption status-bar inherit initial", + "css-property-subproperties": "font-style font-variant font-weight font-stretch font-size line-height font-family", + "type": "DOMString", + "css-property-value-syntax": "css_font" + }, + "flexBasis": { + "css-property-initial": "auto", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexBasis", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "flex-basis", + "exposed": "Window", + "css-property-enum-values": "auto content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "justifyItems": { + "css-property-initial": "legacy", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "justifyItems", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "justify-items", + "exposed": "Window", + "css-property-enum-values": "legacy normal stretch first last baseline safe unsafe start end self-start self-end left right flex-start flex-end center inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "gap": { + "specs": "css-align-3", + "ce-reactions": 1, + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "gap", + "css-property-initial": "normal normal", + "name": "gap", + "css-property-shorthand": 1, + "tags": "CSSOM", + "nullable": 1, + "css-property-enum-values": "inherit initial", + "exposed": "Window", + "type": "DOMString", + "css-property-subproperties": "row-gap column-gap", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "justifySelf": { + "css-property-initial": "auto", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "justifySelf", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "justify-self", + "exposed": "Window", + "css-property-enum-values": "auto normal stretch first last baseline safe unsafe start end self-start self-end left right flex-start flex-end center inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "fillOpacity": { + "css-property-initial": "1", + "specs": "svg11", + "ce-reactions": 1, + "name": "fillOpacity", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "fill-opacity", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "0_to_1_floating_point_number" + }, + "letterSpacing": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "letterSpacing", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "letter-spacing", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "borderSpacing": { + "css-property-initial": "0", + "specs": "css21", + "ce-reactions": 1, + "name": "borderSpacing", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-spacing", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "msUserSelect": { + "css-property-initial": "text", + "specs": "none", + "ce-reactions": 1, + "name": "msUserSelect", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-user-select", + "exposed": "Window", + "css-property-enum-values": "text none element all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "textKashida": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "textKashida", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-kashida", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage" + }, + "webkitBoxOrdinalGroup": { + "css-property-initial": "1", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxOrdinalGroup", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-ordinal-group", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "borderImageOutset": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImageOutset", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-image-outset", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_length_or_non_negative_integer" + }, + "animationName": { + "css-property-initial": "none", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationName", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-name", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_keyframes_refs" + }, + "webkitFlexFlow": { + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexFlow", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-flex-flow", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", + "css-property-subproperties": "-webkit-flex-direction -webkit-flex-wrap", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "borderRadius": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderRadius", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-radius", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "border-top-left-radius border-top-right-radius border-bottom-right-radius border-bottom-left-radius", + "type": "DOMString", + "css-property-value-syntax": "0_or_1_slash_separated_1_to_4_css_percentage_or_length" + }, + "msContentZoomLimitMax": { + "css-property-initial": "400%", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomLimitMax", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-content-zoom-limit-max", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage" + }, + "borderWidth": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderWidth", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-width", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "css-property-subproperties": "border-top-width border-right-width border-bottom-width border-left-width", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_lengths" + }, + "objectPosition": { + "css-property-initial": "50% 50%", + "specs": "css-images", + "ce-reactions": 1, + "name": "objectPosition", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "object-position", + "exposed": "Window", + "css-property-enum-values": "left right center top bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "gridTemplateRows": { + "css-property-initial": "none", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridTemplateRows", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-template-rows", + "exposed": "Window", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "borderBottomRightRadius": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottomRightRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-bottom-right-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "msScrollChaining": { + "css-property-initial": "chained", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollChaining", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-chaining", + "exposed": "Window", + "css-property-enum-values": "chained none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "scale": { + "css-property-initial": "0 0 0", + "specs": "css-transform", + "ce-reactions": 1, + "name": "scale", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "scale", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_floating_point_number" + }, + "whiteSpace": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "whiteSpace", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "white-space", + "exposed": "Window", + "css-property-enum-values": "normal pre nowrap pre-wrap pre-line inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msTextSizeAdjust": { + "css-property-initial": "auto", + "specs": "none css-size-adjust", + "ce-reactions": 1, + "name": "msTextSizeAdjust", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-text-size-adjust", + "exposed": "Window", + "css-property-enum-values": "auto none inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage" + }, + "webkitColumnRuleColor": { + "css-property-initial": "currentColor", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnRuleColor", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-column-rule-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_color" + }, + "borderImageSource": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImageSource", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-image-source", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url" + }, + "borderColor": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderColor", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-color", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "border-top-color border-right-color border-bottom-color border-left-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_color" + }, + "borderTopLeftRadius": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTopLeftRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-top-left-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "msGridRowSpan": { + "css-property-initial": "1", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridRowSpan", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-grid-row-span", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "non_negative_integer" + }, + "msContentZoomSnap": { + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomSnap", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-content-zoom-snap", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "-ms-content-zoom-snap-type -ms-content-zoom-snap-points", + "type": "DOMString", + "css-property-value-syntax": "css_snap_type_and_points" + }, + "lineBreak": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "lineBreak", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "line-break", + "exposed": "Window", + "css-property-enum-values": "normal strict inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "markerMid": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "markerMid", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "marker-mid", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "gridAutoRows": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridAutoRows", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-auto-rows", + "exposed": "Window", + "css-property-enum-values": "auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "webkitBoxPack": { + "css-property-initial": "start", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxPack", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-pack", + "exposed": "Window", + "css-property-enum-values": "start center end justify inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitBorderTopRightRadius": { + "css-property-initial": "0", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderTopRightRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-border-top-right-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "breakAfter": { + "css-property-initial": "auto", + "specs": "css-break css-multicol", + "ce-reactions": 1, + "name": "breakAfter", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "break-after", + "exposed": "Window", + "css-property-enum-values": "auto always avoid left right page column avoid-page avoid-column inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "flexDirection": { + "css-property-initial": "row", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexDirection", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "flex-direction", + "exposed": "Window", + "css-property-enum-values": "row row-reverse column column-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "textAlign": { + "css-property-initial": "left", + "specs": "css-text", + "ce-reactions": 1, + "name": "textAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-align", + "exposed": "Window", + "css-property-enum-values": "left right center justify inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitColumnBreakBefore": { + "css-property-initial": "auto", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnBreakBefore", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-column-break-before", + "exposed": "Window", + "css-property-enum-values": "auto always avoid inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAnimationIterationCount": { + "css-property-initial": "1", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationIterationCount", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-iteration-count", + "exposed": "Window", + "css-property-enum-values": "infinite inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_non_negative_integer" + }, + "visibility": { + "css-property-initial": "visible", + "specs": "css21 css-box", + "ce-reactions": 1, + "name": "visibility", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "visibility", + "exposed": "Window", + "css-property-enum-values": "visible hidden collapse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "floodColor": { + "css-property-initial": "black", + "specs": "svg11", + "ce-reactions": 1, + "name": "floodColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "flood-color", + "exposed": "Window", + "css-property-enum-values": "currentColor inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "textShadow": { + "css-property-initial": "none", + "specs": "css-text-decor", + "ce-reactions": 1, + "name": "textShadow", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "text-shadow", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_text_shadow_list" + }, + "borderRightStyle": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderRightStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-right-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "backfaceVisibility": { + "css-property-initial": "visible", + "specs": "css-transform", + "ce-reactions": 1, + "name": "backfaceVisibility", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "backface-visibility", + "exposed": "Window", + "css-property-enum-values": "visible hidden inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "alignItems": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "alignItems", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "align-items", + "exposed": "Window", + "css-property-enum-values": "normal stretch baseline last-baseline center start end self-start self-end flex-start flex-end left right unsafe safe inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "objectFit": { + "css-property-initial": "fill", + "specs": "css-images", + "ce-reactions": 1, + "name": "objectFit", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "object-fit", + "exposed": "Window", + "css-property-enum-values": "fill contain cover none scale-down inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "gridGap": { + "css-property-initial": "normal normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "gridGap", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid-gap", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "grid-row-gap grid-column-gap", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "borderImageRepeat": { + "css-property-initial": "stretch", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImageRepeat", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-image-repeat", + "exposed": "Window", + "css-property-enum-values": "stretch repeat round space inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "borderStyle": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderStyle", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "border-style", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-subproperties": "border-top-style border-right-style border-bottom-style border-left-style", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_enums" + }, + "webkitColumnBreakInside": { + "css-property-initial": "auto", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnBreakInside", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-column-break-inside", + "exposed": "Window", + "css-property-enum-values": "auto always avoid inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderTopColor": { + "css-property-initial": "currentColor", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTopColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-top-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "markerEnd": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "markerEnd", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "marker-end", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "translate": { + "css-property-initial": "0px 0px 0px", + "specs": "css-transform", + "ce-reactions": 1, + "name": "translate", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "translate", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_css_length_and_first_two_optionally_percentage" + }, + "textIndent": { + "css-property-initial": "0", + "specs": "css-text", + "ce-reactions": 1, + "name": "textIndent", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "text-indent", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "listStyleImage": { + "css-property-initial": "none", + "specs": "css-lists", + "ce-reactions": 1, + "name": "listStyleImage", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "list-style-image", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url" + }, + "webkitTransitionTimingFunction": { + "css-property-initial": "ease", + "specs": "none css-transition", + "ce-reactions": 1, + "name": "webkitTransitionTimingFunction", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transition-timing-function", + "exposed": "Window", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_timing_functions" + }, + "gridArea": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridArea", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid-area", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "grid-row-start grid-column-start grid-row-end grid-column-end", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_slash_separated_css_grid_lines" + }, + "msWrapThrough": { + "css-property-initial": "wrap", + "specs": "none css-exclusions", + "ce-reactions": 1, + "name": "msWrapThrough", + "tags": "CSSOM", + "type-original": "DOMString", + "css-property": "-ms-wrap-through", + "exposed": "Window", + "css-property-enum-values": "wrap none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderTopStyle": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTopStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-top-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "columnRuleStyle": { + "css-property-initial": "none", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnRuleStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "column-rule-style", + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "opacity": { + "css-property-initial": "1", + "specs": "css-color", + "ce-reactions": 1, + "name": "opacity", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "opacity", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "0_to_1_floating_point_number" + }, + "color": { + "css-property-initial": "black", + "specs": "css-color", + "ce-reactions": 1, + "name": "color", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "gridTemplateColumns": { + "css-property-initial": "none", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridTemplateColumns", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-template-columns", + "exposed": "Window", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "maxWidth": { + "css-property-initial": "none", + "specs": "css-box", + "ce-reactions": 1, + "name": "maxWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "max-width", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "clip": { + "css-property-initial": "auto", + "specs": "css-masking css21", + "ce-reactions": 1, + "name": "clip", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "clip", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_shape_rect" + }, + "webkitAlignContent": { + "css-property-initial": "normal", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "webkitAlignContent", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-align-content", + "exposed": "Window", + "css-property-enum-values": "normal first last baseline space-between space-around space-evenly stretch unsafe safe center start end flex-start flex-end left right inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_enums" + }, + "webkitFlex": { + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlex", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-flex", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto content none inherit initial", + "css-property-subproperties": "-webkit-flex-grow -webkit-flex-shrink -webkit-flex-basis", + "type": "DOMString", + "css-property-value-syntax": "css_flex" + }, + "msTouchAction": { + "css-property-initial": "auto", + "specs": "none pointer-events", + "ce-reactions": 1, + "name": "msTouchAction", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-touch-action", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto none pan-x pan-y manipulation pinch-zoom double-tap-zoom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderRightWidth": { + "css-property-initial": "medium", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderRightWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-right-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "mask": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "mask", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "mask", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "transform": { + "css-property-aliases": "-ms-transform", + "css-property-initial": "none", + "specs": "css-transform", + "ce-reactions": 1, + "name": "transform", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "transform", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_transform_list" + }, + "parentRule": { + "specs": "cssom dom-level-2-style", + "name": "parentRule", + "tags": "CSSOM", + "type-original": "CSSRule", + "exposed": "Window", + "type": "CSSRule", + "read-only": 1 + }, + "boxSizing": { + "css-property-initial": "content-box", + "specs": "css-ui", + "ce-reactions": 1, + "name": "boxSizing", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "box-sizing", + "exposed": "Window", + "css-property-enum-values": "content-box border-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "textJustify": { + "css-property-initial": "auto", + "specs": "css-text", + "ce-reactions": 1, + "name": "textJustify", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-justify", + "exposed": "Window", + "css-property-enum-values": "auto distribute distribute-all-lines distribute-center-last inter-cluster inter-ideograph inter-word kashida newspaper inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "colorInterpolationFilters": { + "css-property-initial": "linearRGB", + "specs": "svg11", + "ce-reactions": 1, + "name": "colorInterpolationFilters", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "color-interpolation-filters", + "exposed": "Window", + "css-property-enum-values": "linearRGB auto sRGB inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "gridRowStart": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridRowStart", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-row-start", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_line" + }, + "height": { + "css-property-initial": "auto", + "specs": "css-box", + "ce-reactions": 1, + "name": "height", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "height", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "transitionTimingFunction": { + "css-property-aliases": "-ms-transition-timing-function", + "css-property-initial": "ease", + "specs": "css-transition", + "ce-reactions": 1, + "name": "transitionTimingFunction", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "transition-timing-function", + "exposed": "Window", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_timing_functions" + }, + "paddingTop": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "paddingTop", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "padding-top", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "right": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "right", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "right", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "length": { + "specs": "cssom dom-level-2-style", + "name": "length", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "baselineShift": { + "css-property-initial": "baseline", + "specs": "svg11", + "ce-reactions": 1, + "name": "baselineShift", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "baseline-shift", + "exposed": "Window", + "css-property-enum-values": "baseline sub super inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "borderLeft": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderLeft", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-left", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-subproperties": "border-left-width border-left-style border-left-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "maskImage": { + "css-property-initial": "none", + "specs": "css-masking", + "ce-reactions": 1, + "name": "maskImage", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "mask-image", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_urls" + }, + "msContentZoomLimitMin": { + "css-property-initial": "100%", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomLimitMin", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-content-zoom-limit-min", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage" + }, + "msFontFeatureSettings": { + "css-property-initial": "normal", + "specs": "none css-fonts", + "ce-reactions": 1, + "name": "msFontFeatureSettings", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-font-feature-settings", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_font_feature_tag" + }, + "widows": { + "css-property-initial": "2", + "specs": "css-break", + "ce-reactions": 1, + "name": "widows", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "widows", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitColumns": { + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumns", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-columns", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "-webkit-column-width -webkit-column-count", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_length" + }, + "transitionProperty": { + "css-property-aliases": "-ms-transition-property", + "css-property-initial": "all", + "specs": "css-transition", + "ce-reactions": 1, + "name": "transitionProperty", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "transition-property", + "exposed": "Window", + "css-property-enum-values": "none all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_tokens" + }, + "lineHeight": { + "css-property-initial": "normal", + "specs": "css21", + "ce-reactions": 1, + "name": "lineHeight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "line-height", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length_or_floating_point_number" + }, + "textUnderlinePosition": { + "css-property-initial": "auto", + "specs": "css-text-decor", + "ce-reactions": 1, + "name": "textUnderlinePosition", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-underline-position", + "exposed": "Window", + "css-property-enum-values": "auto above below auto-pos inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAnimationDelay": { + "css-property-initial": "0", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationDelay", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-delay", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_times" + }, + "textKashidaSpace": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "textKashidaSpace", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-kashida-space", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage" + }, + "fontFeatureSettings": { + "css-property-initial": "normal", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontFeatureSettings", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-feature-settings", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_font_feature_tag" + }, + "msFlowInto": { + "css-property-initial": "none", + "specs": "none css-regions", + "ce-reactions": 1, + "name": "msFlowInto", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-flow-into", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_tokens" + }, + "textAnchor": { + "css-property-initial": "start", + "specs": "svg11", + "ce-reactions": 1, + "name": "textAnchor", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-anchor", + "exposed": "Window", + "css-property-enum-values": "start middle end inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msScrollSnapPointsY": { + "css-property-initial": "snapInterval(0, 100%)", + "specs": "none css-snappoints", + "ce-reactions": 1, + "name": "msScrollSnapPointsY", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-snap-points-y", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "snap_interval_or_snap_list" + }, + "msOverflowStyle": { + "css-property-initial": "auto", + "specs": "none", + "ce-reactions": 1, + "name": "msOverflowStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-overflow-style", + "exposed": "Window", + "css-property-enum-values": "auto none scrollbar -ms-autohiding-scrollbar inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msGridColumnSpan": { + "css-property-initial": "1", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridColumnSpan", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-grid-column-span", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "non_negative_integer" + }, + "webkitOrder": { + "css-property-initial": "0", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitOrder", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-order", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "signed_integer" + }, + "columnFill": { + "css-property-initial": "balance", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnFill", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "column-fill", + "exposed": "Window", + "css-property-enum-values": "auto balance inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitTextStroke": { + "specs": "none", + "ce-reactions": 1, + "name": "webkitTextStroke", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-text-stroke", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "thin medium thick unset inherit initial", + "css-property-subproperties": "-webkit-text-stroke-width -webkit-text-stroke-color", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_of_css_length_css_color_and_enum" + }, + "msScrollLimitYMax": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollLimitYMax", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-scroll-limit-y-max", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "backgroundImage": { + "css-property-initial": "none", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundImage", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "background-image", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_urls" + }, + "msGridColumnAlign": { + "css-property-initial": "stretch", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridColumnAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-grid-column-align", + "exposed": "Window", + "css-property-enum-values": "stretch start end center inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "perspectiveOrigin": { + "css-property-initial": "50% 50%", + "specs": "css-transform", + "ce-reactions": 1, + "name": "perspectiveOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "perspective-origin", + "exposed": "Window", + "css-property-enum-values": "left right center top bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "webkitTransform": { + "css-property-initial": "none", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitTransform", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-transform", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_transform_list" + }, + "columns": { + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columns", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "columns", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "column-width column-count", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_length" + }, + "lightingColor": { + "css-property-initial": "white", + "specs": "svg11", + "ce-reactions": 1, + "name": "lightingColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "lighting-color", + "exposed": "Window", + "css-property-enum-values": "currentColor inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "webkitWritingMode": { + "css-property-initial": "horizontal-tb", + "specs": "none css-writing-modes", + "ce-reactions": 1, + "name": "webkitWritingMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-writing-mode", + "exposed": "Window", + "css-property-enum-values": "horizontal-tb vertical-lr vertical-rl inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "listStyleType": { + "css-property-initial": "disc", + "specs": "css-lists", + "ce-reactions": 1, + "name": "listStyleType", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "list-style-type", + "exposed": "Window", + "css-property-enum-values": "disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-latin upper-latin armenian georgian lower-alpha upper-alpha none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeWidth": { + "css-property-initial": "1", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stroke-width", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "gridColumnStart": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridColumnStart", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-column-start", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_line" + }, + "msHyphenateLimitChars": { + "css-property-initial": "auto", + "specs": "none", + "ce-reactions": 1, + "name": "msHyphenateLimitChars", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-hyphenate-limit-chars", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_non_negative_integer" + }, + "webkitAlignSelf": { + "css-property-initial": "auto", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "webkitAlignSelf", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-align-self", + "exposed": "Window", + "css-property-enum-values": "auto normal stretch baseline last-baseline center start end self-start self-end flex-start flex-end left right unsafe safe inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "fillRule": { + "css-property-initial": "nonzero", + "specs": "svg11", + "ce-reactions": 1, + "name": "fillRule", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "fill-rule", + "exposed": "Window", + "css-property-enum-values": "nonzero evenodd inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderBottomColor": { + "css-property-initial": "currentColor", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottomColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-bottom-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "gridAutoColumns": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridAutoColumns", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-auto-columns", + "exposed": "Window", + "css-property-enum-values": "auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "zIndex": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "zIndex", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "z-index", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "signed_integer" + }, + "position": { + "css-property-initial": "static", + "specs": "css21", + "ce-reactions": 1, + "name": "position", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "position", + "exposed": "Window", + "css-property-enum-values": "static relative absolute fixed inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "layoutGridType": { + "css-property-initial": "loose", + "specs": "css-text", + "ce-reactions": 1, + "name": "layoutGridType", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "layout-grid-type", + "exposed": "Window", + "css-property-enum-values": "loose strict fixed inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msContentZoomSnapPoints": { + "css-property-initial": "snapInterval(0%, 100%)", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomSnapPoints", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-content-zoom-snap-points", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "snap_interval_or_snap_list" + }, + "fill": { + "css-property-initial": "black", + "specs": "svg11", + "ce-reactions": 1, + "name": "fill", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "fill", + "exposed": "Window", + "css-property-enum-values": "none currentColor inherit initial", + "type": "DOMString", + "css-property-value-syntax": "svg_paint_or_css_color" + }, + "msScrollLimitXMin": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollLimitXMin", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-scroll-limit-x-min", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "gridColumn": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridColumn", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid-column", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "grid-column-start grid-column-end", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_slash_separated_css_grid_lines" + }, + "webkitBoxSizing": { + "css-property-initial": "content-box", + "specs": "none css-ui", + "ce-reactions": 1, + "name": "webkitBoxSizing", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-sizing", + "exposed": "Window", + "css-property-enum-values": "content-box border-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "flexGrow": { + "css-property-initial": "0", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexGrow", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "flex-grow", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitAnimationDirection": { + "css-property-initial": "normal", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationDirection", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-direction", + "exposed": "Window", + "css-property-enum-values": "normal reverse alternate alternate-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "tableLayout": { + "css-property-initial": "auto", + "specs": "css21", + "ce-reactions": 1, + "name": "tableLayout", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "table-layout", + "exposed": "Window", + "css-property-enum-values": "auto fixed inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "quotes": { + "css-property-initial": "none", + "specs": "css21", + "ce-reactions": 1, + "name": "quotes", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "quotes", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "space_separated_strings" + }, + "unicodeBidi": { + "css-property-initial": "normal", + "specs": "css-writing-modes", + "ce-reactions": 1, + "name": "unicodeBidi", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "unicode-bidi", + "exposed": "Window", + "css-property-enum-values": "normal embed bidi-override inherit", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderBottomWidth": { + "css-property-initial": "medium", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottomWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-bottom-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "zoom": { + "css-property-aliases": "-ms-zoom", + "css-property-initial": "normal", + "specs": "none css-device-adapt", + "ce-reactions": 1, + "name": "zoom", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "zoom", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_non_negative_floating_point_number" + }, + "msHyphens": { + "css-property-initial": "manual", + "specs": "css-text", + "ce-reactions": 1, + "name": "msHyphens", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-hyphens", + "exposed": "Window", + "css-property-enum-values": "none manual auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "fontSize": { + "css-property-initial": "medium", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontSize", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "font-size", + "exposed": "Window", + "css-property-enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "msScrollLimitXMax": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollLimitXMax", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-scroll-limit-x-max", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "msContentZoomLimit": { + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomLimit", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-ms-content-zoom-limit", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "-ms-content-zoom-limit-min -ms-content-zoom-limit-max", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage" + }, + "gridRowEnd": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridRowEnd", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-row-end", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_line" + }, + "layoutGridMode": { + "css-property-initial": "both", + "specs": "css-text", + "ce-reactions": 1, + "name": "layoutGridMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "layout-grid-mode", + "exposed": "Window", + "css-property-enum-values": "none line char both inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msWrapMargin": { + "css-property-initial": "0", + "specs": "none css-exclusions", + "ce-reactions": 1, + "name": "msWrapMargin", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-wrap-margin", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "columnCount": { + "css-property-initial": "auto", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnCount", + "tags": "CSSOM", + "type-original": "any", + "css-property": "column-count", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "flexFlow": { + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexFlow", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "flex-flow", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "row row-reverse column column-reverse nowrap wrap wrap-reverse inherit initial", + "css-property-subproperties": "flex-direction flex-wrap", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "msWrapFlow": { + "css-property-initial": "auto", + "specs": "none css-exclusions", + "ce-reactions": 1, + "name": "msWrapFlow", + "tags": "CSSOM", + "type-original": "DOMString", + "css-property": "-ms-wrap-flow", + "exposed": "Window", + "css-property-enum-values": "auto both start end maximum clear inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "transformStyle": { + "css-property-initial": "flat", + "specs": "css-transform", + "ce-reactions": 1, + "name": "transformStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "transform-style", + "exposed": "Window", + "css-property-enum-values": "flat preserve-3d inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "textTransform": { + "css-property-initial": "none", + "specs": "css-text", + "ce-reactions": 1, + "name": "textTransform", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "text-transform", + "exposed": "Window", + "css-property-enum-values": "none capitalize uppercase lowercase inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "rubyPosition": { + "css-property-initial": "above", + "specs": "css-ruby", + "ce-reactions": 1, + "name": "rubyPosition", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "ruby-position", + "exposed": "Window", + "css-property-enum-values": "above inline inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "strokeLinejoin": { + "css-property-initial": "miter", + "specs": "svg11", + "ce-reactions": 1, + "name": "strokeLinejoin", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "stroke-linejoin", + "exposed": "Window", + "css-property-enum-values": "miter round bevel inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitBoxAlign": { + "css-property-initial": "stretch", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxAlign", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-align", + "exposed": "Window", + "css-property-enum-values": "start center end baseline stretch inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "clipPath": { + "css-property-initial": "none", + "specs": "css-masking svg11", + "ce-reactions": 1, + "name": "clipPath", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "clip-path", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "borderRightColor": { + "css-property-initial": "currentColor", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderRightColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-right-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "webkitTapHighlightColor": { + "css-property-initial": "rgba(0,0,0,0.180392)", + "specs": "none", + "ce-reactions": 1, + "name": "webkitTapHighlightColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-tap-highlight-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "animationFillMode": { + "css-property-initial": "none", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationFillMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-fill-mode", + "exposed": "Window", + "css-property-enum-values": "none forwards backwards both inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "clear": { + "css-property-initial": "none", + "specs": "css-box", + "ce-reactions": 1, + "name": "clear", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "clear", + "exposed": "Window", + "css-property-enum-values": "none left right both inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "animationTimingFunction": { + "css-property-initial": "ease", + "specs": "css-animation", + "ce-reactions": 1, + "name": "animationTimingFunction", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "animation-timing-function", + "exposed": "Window", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_timing_functions" + }, + "webkitAlignItems": { + "css-property-initial": "normal", + "specs": "none css-align-3", + "ce-reactions": 1, + "name": "webkitAlignItems", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-align-items", + "exposed": "Window", + "css-property-enum-values": "normal stretch baseline last-baseline center start end self-start self-end flex-start flex-end left right unsafe safe inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "marginBottom": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "marginBottom", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "margin-bottom", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "columnWidth": { + "css-property-initial": "auto", + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnWidth", + "tags": "CSSOM", + "type-original": "any", + "css-property": "column-width", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "imeMode": { + "css-property-initial": "auto", + "specs": "css-ui", + "ce-reactions": 1, + "name": "imeMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "ime-mode", + "exposed": "Window", + "css-property-enum-values": "auto active inactive disabled initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitBoxDirection": { + "css-property-initial": "normal", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxDirection", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-direction", + "exposed": "Window", + "type": "DOMString", + "css-property-value-syntax": "normal reverse inherit initial" + }, + "webkitAnimationPlayState": { + "css-property-initial": "running", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationPlayState", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-play-state", + "exposed": "Window", + "css-property-enum-values": "running paused inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "transition": { + "css-property-aliases": "-ms-transition", + "specs": "css-transition", + "ce-reactions": 1, + "name": "transition", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "transition", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "transition-property transition-duration transition-timing-function transition-delay", + "type": "DOMString", + "css-property-value-syntax": "css_transition" + }, + "paddingLeft": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "paddingLeft", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "padding-left", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "borderBottom": { + "specs": "css-background", + "ce-reactions": 1, + "name": "borderBottom", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "border-bottom", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none hidden dotted dashed solid double groove ridge inset outset thin medium thick inherit initial", + "css-property-subproperties": "border-bottom-width border-bottom-style border-bottom-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "webkitBackgroundOrigin": { + "css-property-initial": "padding-box", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBackgroundOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-background-origin", + "exposed": "Window", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "msContentZoomSnapType": { + "css-property-initial": "none", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomSnapType", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-content-zoom-snap-type", + "exposed": "Window", + "css-property-enum-values": "none proximity mandatory inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAnimation": { + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimation", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "-webkit-animation", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "css-property-subproperties": "-webkit-animation-duration -webkit-animation-timing-function -webkit-animation-delay -webkit-animation-iteration-count -webkit-animation-direction -webkit-animation-fill-mode -webkit-animation-play-state -webkit-animation-name", + "type": "DOMString", + "css-property-value-syntax": "css_animation" + }, + "webkitColumnBreakAfter": { + "css-property-initial": "auto", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnBreakAfter", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-column-break-after", + "exposed": "Window", + "css-property-enum-values": "auto always avoid inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msGridColumns": { + "css-property-initial": "auto", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridColumns", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-grid-columns", + "exposed": "Window", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "fontWeight": { + "css-property-initial": "normal", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontWeight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "font-weight", + "exposed": "Window", + "css-property-enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msContentZoomChaining": { + "css-property-initial": "none", + "specs": "none", + "ce-reactions": 1, + "name": "msContentZoomChaining", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-content-zoom-chaining", + "exposed": "Window", + "css-property-enum-values": "none chained inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msHyphenateLimitZone": { + "css-property-initial": "0", + "specs": "none", + "ce-reactions": 1, + "name": "msHyphenateLimitZone", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-ms-hyphenate-limit-zone", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitColumnRuleWidth": { + "css-property-initial": "medium", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnRuleWidth", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-column-rule-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "any", + "css-property-value-syntax": "css_length" + }, + "flex": { + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flex", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "flex", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto content none inherit initial", + "css-property-subproperties": "flex-grow flex-shrink flex-basis", + "type": "DOMString", + "css-property-value-syntax": "css_flex" + }, + "flexWrap": { + "css-property-initial": "nowrap", + "specs": "css-flexbox", + "ce-reactions": 1, + "name": "flexWrap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "flex-wrap", + "exposed": "Window", + "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "padding": { + "specs": "css-box", + "ce-reactions": 1, + "name": "padding", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "padding", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "padding-top padding-right padding-bottom padding-left", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length" + }, + "filter": { + "css-property-initial": "none", + "specs": "filter-effects", + "ce-reactions": 1, + "name": "filter", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "filter", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "space_separated_filter_functions" + }, + "markerStart": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "markerStart", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "marker-start", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "clipRule": { + "css-property-initial": "nonzero", + "specs": "svg11", + "ce-reactions": 1, + "name": "clipRule", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "clip-rule", + "exposed": "Window", + "css-property-enum-values": "nonzero evenodd inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "columnGap": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "columnGap", + "tags": "CSSOM", + "type-original": "any", + "css-property-animatable": 1, + "css-property": "column-gap", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage_or_length" + }, + "backgroundColor": { + "css-property-initial": "transparent", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "background-color", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "pageBreakInside": { + "css-property-initial": "auto", + "specs": "css-break", + "ce-reactions": 1, + "name": "pageBreakInside", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "page-break-inside", + "exposed": "Window", + "css-property-enum-values": "auto avoid inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "backgroundOrigin": { + "css-property-initial": "padding-box", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundOrigin", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "background-origin", + "exposed": "Window", + "css-property-enum-values": "border-box padding-box content-box inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "borderTopWidth": { + "css-property-initial": "medium", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderTopWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "border-top-width", + "exposed": "Window", + "css-property-enum-values": "thin medium thick inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "gridColumnGap": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "gridColumnGap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-column-gap", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "wordSpacing": { + "css-property-initial": "normal", + "specs": "css-text", + "ce-reactions": 1, + "name": "wordSpacing", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "word-spacing", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "marginLeft": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "marginLeft", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "margin-left", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "outline": { + "specs": "css-ui", + "ce-reactions": 1, + "name": "outline", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "outline", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "invert thin medium thick none dotted dashed solid double groove ridge inset outset inherit initial", + "css-property-subproperties": "outline-width outline-style outline-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "webkitTextSizeAdjust": { + "css-property-initial": "auto", + "specs": "none css-size-adjust", + "ce-reactions": 1, + "name": "webkitTextSizeAdjust", + "tags": "CSSOM", + "type-original": "any", + "css-property": "-webkit-text-size-adjust", + "exposed": "Window", + "css-property-enum-values": "auto none inherit initial", + "type": "any", + "css-property-value-syntax": "css_percentage" + }, + "perspective": { + "css-property-initial": "none", + "specs": "css-transform", + "ce-reactions": 1, + "name": "perspective", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "perspective", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "gridColumnEnd": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridColumnEnd", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-column-end", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_line" + }, + "maxHeight": { + "css-property-initial": "none", + "specs": "css-box", + "ce-reactions": 1, + "name": "maxHeight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "max-height", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitFlexGrow": { + "css-property-initial": "0", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexGrow", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-flex-grow", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_greater_integer" + }, + "webkitFlexWrap": { + "css-property-initial": "nowrap", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitFlexWrap", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-flex-wrap", + "exposed": "Window", + "css-property-enum-values": "nowrap wrap wrap-reverse inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msScrollTranslation": { + "css-property-initial": "inherit", + "specs": "none", + "ce-reactions": 1, + "name": "msScrollTranslation", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-scroll-translation", + "exposed": "Window", + "css-property-enum-values": "inherit none vertical-to-horizontal", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitBoxOrient": { + "css-property-initial": "inline-axis", + "specs": "none css-flexbox", + "ce-reactions": 1, + "name": "webkitBoxOrient", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-box-orient", + "exposed": "Window", + "type": "DOMString", + "css-property-value-syntax": "horizontal vertical inline-axis block-axis inherit initial" + }, + "gridAutoFlow": { + "css-property-initial": "row", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridAutoFlow", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-auto-flow", + "exposed": "Window", + "css-property-enum-values": "row column dense inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_enums" + }, + "columnRule": { + "specs": "css-multicol", + "ce-reactions": 1, + "name": "columnRule", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "column-rule", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "transparent thin medium thick inherit initial", + "css-property-subproperties": "column-rule-width column-rule-style column-rule-color", + "type": "DOMString", + "css-property-value-syntax": "1_to_3_space_separated_of_css_length_css_color_and_enum" + }, + "backgroundRepeat": { + "css-property-initial": "repeat", + "specs": "css-background", + "ce-reactions": 1, + "name": "backgroundRepeat", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "background-repeat", + "exposed": "Window", + "css-property-enum-values": "repeat-x repeat-y repeat space round no-repeat initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_enums" + }, + "outlineOffset": { + "css-property-initial": "0", + "specs": "css-ui", + "ce-reactions": 1, + "name": "outlineOffset", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "outline-offset", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_length" + }, + "rowGap": { + "css-property-initial": "normal", + "specs": "css-align-3", + "ce-reactions": 1, + "name": "rowGap", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "row-gap", + "exposed": "Window", + "css-property-enum-values": "normal inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "msTouchSelect": { + "css-property-initial": "grippers", + "specs": "none", + "ce-reactions": 1, + "name": "msTouchSelect", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-touch-select", + "exposed": "Window", + "css-property-enum-values": "grippers none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "floodOpacity": { + "css-property-initial": "1", + "specs": "svg11", + "ce-reactions": 1, + "name": "floodOpacity", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "flood-opacity", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "0_to_1_floating_point_number" + }, + "fontStyle": { + "css-property-initial": "normal", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontStyle", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-style", + "exposed": "Window", + "css-property-enum-values": "normal italic oblique inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitAnimationTimingFunction": { + "css-property-initial": "ease", + "specs": "none css-animation", + "ce-reactions": 1, + "name": "webkitAnimationTimingFunction", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-animation-timing-function", + "exposed": "Window", + "css-property-enum-values": "step-start step-end ease ease-in ease-out ease-in-out linear inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_css_timing_functions" + }, + "gridRow": { + "css-property-initial": "auto", + "specs": "css-grid-1", + "ce-reactions": 1, + "name": "gridRow", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "grid-row", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "grid-row-start grid-row-end", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_slash_separated_css_grid_lines" + }, + "stopColor": { + "css-property-initial": "black", + "specs": "svg11", + "ce-reactions": 1, + "name": "stopColor", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stop-color", + "exposed": "Window", + "css-property-enum-values": "currentColor inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_color" + }, + "minWidth": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "minWidth", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "min-width", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "webkitBackgroundSize": { + "css-property-initial": "auto", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBackgroundSize", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-background-size", + "exposed": "Window", + "css-property-enum-values": "auto cover contain inherit initial", + "type": "DOMString", + "css-property-value-syntax": "comma_separated_1_or_2_space_separated_css_percentage_or_length" + }, + "webkitBorderBottomRightRadius": { + "css-property-initial": "0", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderBottomRightRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-border-bottom-right-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "writingMode": { + "css-property-initial": "horizontal-tb", + "specs": "css-writing-modes", + "ce-reactions": 1, + "name": "writingMode", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "writing-mode", + "exposed": "Window", + "css-property-enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "backgroundPositionY": { + "css-property-initial": "0%", + "specs": "none", + "ce-reactions": 1, + "name": "backgroundPositionY", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "background-position-y", + "exposed": "Window", + "css-property-enum-values": "top center bottom inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "marker": { + "specs": "svg11", + "ce-reactions": 1, + "name": "marker", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "marker", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "css-property-subproperties": "marker-start marker-mid marker-end", + "type": "DOMString", + "css-property-value-syntax": "css_url_of_local_id_ref" + }, + "glyphOrientationVertical": { + "css-property-initial": "auto", + "specs": "svg11", + "ce-reactions": 1, + "name": "glyphOrientationVertical", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "glyph-orientation-vertical", + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_angle" + }, + "breakInside": { + "css-property-initial": "auto", + "specs": "css-break css-multicol", + "ce-reactions": 1, + "name": "breakInside", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "break-inside", + "exposed": "Window", + "css-property-enum-values": "auto avoid avoid-page avoid-column inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "webkitBackfaceVisibility": { + "css-property-initial": "visible", + "specs": "none css-transform", + "ce-reactions": 1, + "name": "webkitBackfaceVisibility", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-backface-visibility", + "exposed": "Window", + "css-property-enum-values": "visible hidden inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msHighContrastAdjust": { + "css-property-initial": "auto", + "specs": "none", + "ce-reactions": 1, + "name": "msHighContrastAdjust", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-high-contrast-adjust", + "exposed": "Window", + "css-property-enum-values": "auto none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "borderImageSlice": { + "css-property-initial": "0", + "specs": "css-background", + "ce-reactions": 1, + "name": "borderImageSlice", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "border-image-slice", + "exposed": "Window", + "css-property-enum-values": "fill inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_non_negative_integer" + }, + "webkitColumnSpan": { + "css-property-initial": "medium", + "specs": "none css-multicol", + "ce-reactions": 1, + "name": "webkitColumnSpan", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-column-span", + "exposed": "Window", + "css-property-enum-values": "none all inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "fontVariant": { + "css-property-initial": "normal", + "specs": "css-fonts", + "ce-reactions": 1, + "name": "fontVariant", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "font-variant", + "exposed": "Window", + "css-property-enum-values": "normal small-caps inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "penAction": { + "css-property-initial": "auto", + "specs": "none", + "ce-reactions": 1, + "name": "penAction", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property": "pen-action", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "msGridRows": { + "css-property-initial": "auto", + "specs": "css-grid none", + "ce-reactions": 1, + "name": "msGridRows", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-ms-grid-rows", + "exposed": "Window", + "css-property-enum-values": "none auto min-content max-content inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_dimension_list" + }, + "minHeight": { + "css-property-initial": "0", + "specs": "css-box", + "ce-reactions": 1, + "name": "minHeight", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "min-height", + "exposed": "Window", + "css-property-enum-values": "none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_percentage_or_length" + }, + "stroke": { + "css-property-initial": "none", + "specs": "svg11", + "ce-reactions": 1, + "name": "stroke", + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "nullable": 1, + "css-property": "stroke", + "exposed": "Window", + "css-property-enum-values": "none currentColor inherit initial", + "type": "DOMString", + "css-property-value-syntax": "svg_paint_or_css_color" + }, + "webkitBorderBottomLeftRadius": { + "css-property-initial": "0", + "specs": "none css-background", + "ce-reactions": 1, + "name": "webkitBorderBottomLeftRadius", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "-webkit-border-bottom-left-radius", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "1_or_2_space_separated_css_percentage_or_length" + }, + "rubyOverhang": { + "css-property-initial": "auto", + "specs": "css-ruby", + "ce-reactions": 1, + "name": "rubyOverhang", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "ruby-overhang", + "exposed": "Window", + "css-property-enum-values": "auto whitespace none inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "overflowX": { + "css-property-initial": "visible", + "specs": "css-box", + "ce-reactions": 1, + "name": "overflowX", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "overflow-x", + "exposed": "Window", + "css-property-enum-values": "visible scroll hidden auto inherit initial", + "type": "DOMString", + "css-property-value-syntax": "enum" + }, + "gridTemplateAreas": { + "css-property-initial": "none", + "specs": "css-grid", + "ce-reactions": 1, + "name": "gridTemplateAreas", + "tags": "CSSOM", + "type-original": "DOMString?", + "nullable": 1, + "css-property": "grid-template-areas", + "exposed": "Window", + "css-property-enum-values": "inherit initial", + "type": "DOMString", + "css-property-value-syntax": "css_grid_area_list" + }, + "margin": { + "specs": "css-box", + "ce-reactions": 1, + "name": "margin", + "css-property-shorthand": 1, + "tags": "CSSOM", + "type-original": "DOMString?", + "css-property-animatable": 1, + "css-property": "margin", + "nullable": 1, + "exposed": "Window", + "css-property-enum-values": "auto inherit initial", + "css-property-subproperties": "margin-top margin-right margin-bottom margin-left", + "type": "DOMString", + "css-property-value-syntax": "1_to_4_space_separated_css_percentage_or_length" + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getPropertyPriority": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "cssom dom-level-2-style", + "exposed": "Window", + "name": "getPropertyPriority", + "tags": "CSSOM" + }, + "removeProperty": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "cssom dom-level-2-style", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeProperty", + "tags": "CSSOM" + }, + "getPropertyValue": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "propertyName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "cssom dom-level-2-style", + "exposed": "Window", + "name": "getPropertyValue", + "tags": "CSSOM" + }, + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "cssom dom-level-2-style", + "exposed": "Window", + "name": "item", + "tags": "CSSOM" + }, + "setProperty": { + "specs": "cssom dom-level-2-style", + "ce-reactions": 1, + "name": "setProperty", + "tags": "CSSOM", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "propertyName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "value", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "nullable": 1, + "name": "priority", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "VRDisplayEvent": { + "specs": "WebVR", + "constructor": { + "specs": "WebVR", + "signature": [ + { + "param-min-required": 2, + "type": "VRDisplayEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "VRDisplayEventInit", + "type-original": "VRDisplayEventInit" + } + ], + "type-original": "VRDisplayEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "VRDisplayEvent", + "properties": { + "property": { + "reason": { + "specs": "WebVR", + "name": "reason", + "type-original": "VRDisplayEventReason?", + "nullable": 1, + "exposed": "Window", + "type": "VRDisplayEventReason", + "read-only": 1 + }, + "display": { + "specs": "WebVR", + "exposed": "Window", + "name": "display", + "type": "VRDisplay", + "type-original": "VRDisplay", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "SVGGElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGGElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "g" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "MessageChannel": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "type": "MessageChannel", + "type-original": "MessageChannel" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MessageChannel", + "properties": { + "property": { + "port2": { + "specs": "html5", + "exposed": "Window Worker", + "name": "port2", + "type": "MessagePort", + "type-original": "MessagePort", + "read-only": 1 + }, + "port1": { + "specs": "html5", + "exposed": "Window Worker", + "name": "port1", + "type": "MessagePort", + "type-original": "MessagePort", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Navigator": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "Navigator", + "properties": { + "property": { + "cookieEnabled": { + "specs": "html5", + "exposed": "Window", + "name": "cookieEnabled", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "plugins": { + "specs": "html5", + "exposed": "Window", + "name": "plugins", + "type": "PluginArray", + "type-original": "PluginArray", + "read-only": 1 + }, + "msMaxTouchPoints": { + "specs": "html5", + "name": "msMaxTouchPoints", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "maxTouchPoints": { + "specs": "pointer-events", + "name": "maxTouchPoints", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "msPointerEnabled": { + "specs": "html5", + "name": "msPointerEnabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "msManipulationViewsEnabled": { + "specs": "html5", + "exposed": "Window", + "name": "msManipulationViewsEnabled", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "geolocation": { + "specs": "geolocation-api", + "name": "geolocation", + "type-original": "Geolocation", + "exposed": "Window", + "type": "Geolocation", + "read-only": 1 + }, + "authentication": { + "specs": "webauthn", + "name": "authentication", + "type-original": "WebAuthentication", + "exposed": "Window", + "type": "WebAuthentication", + "read-only": 1 + }, + "serviceWorker": { + "specs": "service-workers", + "same-object": 1, + "name": "serviceWorker", + "type-original": "ServiceWorkerContainer", + "exposed": "Window", + "type": "ServiceWorkerContainer", + "secure-context": 1, + "read-only": 1 + }, + "gamepadInputEmulation": { + "specs": "html5", + "exposed": "Window", + "name": "gamepadInputEmulation", + "type": "GamepadInputEmulationType", + "type-original": "GamepadInputEmulationType" + }, + "webdriver": { + "specs": "webdriver", + "exposed": "Window", + "name": "webdriver", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "mimeTypes": { + "specs": "html5", + "name": "mimeTypes", + "tags": "NetworkAccess", + "type-original": "MimeTypeArray", + "exposed": "Window", + "type": "MimeTypeArray", + "read-only": 1 + }, + "activeVRDisplays": { + "pure": 1, + "specs": "html5", + "name": "activeVRDisplays", + "type-original": "FrozenArray", + "subtype": { + "type": "VRDisplay" + }, + "exposed": "Window", + "type": "FrozenArray", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getVRDisplays": { + "signature": [ + { + "subtype": { + "subtype": { + "type": "VRDisplay" + }, + "type": "sequence" + }, + "type": "Promise", + "type-original": "Promise>" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getVRDisplays" + }, + "getGamepads": { + "specs": "gamepad", + "signature": [ + { + "subtype": { + "nullable": 1, + "type": "Gamepad" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "name": "getGamepads", + "exposed": "Window" + }, + "javaEnabled": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "javaEnabled" + }, + "requestMediaKeySystemAccess": { + "signature": [ + { + "subtype": { + "type": "MediaKeySystemAccess" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "subtype": { + "type": "MediaKeySystemConfiguration" + }, + "name": "supportedConfigurations", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "requestMediaKeySystemAccess" + }, + "msLaunchUri": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "uri", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "successCallback", + "default": "0", + "type": "MSLaunchUriCallback", + "optional": 1, + "type-original": "MSLaunchUriCallback" + }, + { + "name": "noHandlerCallback", + "default": "0", + "type": "MSLaunchUriCallback", + "optional": 1, + "type-original": "MSLaunchUriCallback" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "msLaunchUri" + } + } + }, + "exposed": "Window", + "extends": "Object", + "implements": [ + "NavigatorID", + "NavigatorOnLine", + "NavigatorContentUtils", + "NavigatorStorageUtils", + "MSNavigatorDoNotTrack", + "MSFileSaver", + "NavigatorBeacon", + "NavigatorConcurrentHardware", + "NavigatorUserMedia", + "NavigatorLanguage" + ] + }, + "MediaQueryList": { + "specs": "cssom-view", + "anonymous-methods": { + "method": [] + }, + "name": "MediaQueryList", + "properties": { + "property": { + "matches": { + "specs": "cssom-view", + "name": "matches", + "tags": "CSSOM", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "media": { + "specs": "cssom-view", + "name": "media", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "removeListener": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "listener", + "type": "MediaQueryListListener", + "type-original": "MediaQueryListListener" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "removeListener", + "tags": "CSSOM" + }, + "addListener": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "listener", + "type": "MediaQueryListListener", + "type-original": "MediaQueryListListener" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "addListener", + "tags": "CSSOM" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "GamepadPose": { + "constants": { + "constant": {} + }, + "specs": "gamepad extension", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "GamepadPose", + "extends": "Object", + "properties": { + "property": { + "angularVelocity": { + "specs": "gamepad extension", + "name": "angularVelocity", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "linearAcceleration": { + "specs": "gamepad extension", + "name": "linearAcceleration", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "hasPosition": { + "specs": "gamepad extension", + "exposed": "Window", + "name": "hasPosition", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "linearVelocity": { + "specs": "gamepad extension", + "name": "linearVelocity", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "orientation": { + "specs": "gamepad extension", + "name": "orientation", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "position": { + "specs": "gamepad extension", + "name": "position", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "hasOrientation": { + "specs": "gamepad extension", + "exposed": "Window", + "name": "hasOrientation", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "angularAcceleration": { + "specs": "gamepad extension", + "name": "angularAcceleration", + "constant": 1, + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + } + } + } + }, + "SVGFEPointLightElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEPointLightElement", + "properties": { + "property": { + "y": { + "specs": "filter-effects", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "filter-effects", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "z": { + "specs": "filter-effects", + "name": "z", + "constant": 1, + "content-attribute": "z", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "fePointLight" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "CloseEvent": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "CloseEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "CloseEventInit", + "optional": 1, + "type-original": "CloseEventInit" + } + ], + "type-original": "CloseEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "CloseEvent", + "properties": { + "property": { + "wasClean": { + "specs": "html5", + "name": "wasClean", + "type-original": "boolean", + "exposed": "Window Worker", + "type": "boolean", + "read-only": 1 + }, + "reason": { + "specs": "html5", + "name": "reason", + "type-original": "USVString", + "exposed": "Window Worker", + "type": "USVString", + "read-only": 1 + }, + "code": { + "specs": "html5", + "name": "code", + "type-original": "unsigned short", + "exposed": "Window Worker", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": { + "initCloseEvent": { + "deprecated": 1, + "specs": "websockets-20110419", + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "wasCleanArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "codeArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "reasonArg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "initCloseEvent", + "exposed": "Window Worker" + } + } + }, + "extends": "Event" + }, + "SVGZoomEvent": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGZoomEvent", + "extends": "UIEvent", + "properties": { + "property": { + "zoomRectScreen": { + "specs": "svg11", + "name": "zoomRectScreen", + "type-original": "SVGRect", + "exposed": "Window", + "type": "SVGRect", + "read-only": 1 + }, + "previousScale": { + "specs": "svg11", + "name": "previousScale", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "newScale": { + "specs": "svg11", + "name": "newScale", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "newTranslate": { + "specs": "svg11", + "name": "newTranslate", + "type-original": "SVGPoint", + "exposed": "Window", + "type": "SVGPoint", + "read-only": 1 + }, + "previousTranslate": { + "specs": "svg11", + "name": "previousTranslate", + "type-original": "SVGPoint", + "exposed": "Window", + "type": "SVGPoint", + "read-only": 1 + } + } + } + }, + "ProgressEvent": { + "specs": "progress-events", + "constructor": { + "specs": "progress-events", + "signature": [ + { + "param-min-required": 1, + "type": "ProgressEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "ProgressEventInit", + "optional": 1, + "type-original": "ProgressEventInit" + } + ], + "type-original": "ProgressEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ProgressEvent", + "properties": { + "property": { + "loaded": { + "specs": "progress-events", + "name": "loaded", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "lengthComputable": { + "specs": "progress-events", + "name": "lengthComputable", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "total": { + "specs": "progress-events", + "name": "total", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initProgressEvent": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "lengthComputableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "loadedArg", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + { + "name": "totalArg", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + ], + "type-original": "void" + } + ], + "specs": "progress-events", + "exposed": "Window", + "name": "initProgressEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "VRPose": { + "constants": { + "constant": {} + }, + "specs": "WebVR", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "VRPose", + "extends": "Object", + "properties": { + "property": { + "angularVelocity": { + "specs": "WebVR", + "name": "angularVelocity", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "linearAcceleration": { + "specs": "WebVR", + "name": "linearAcceleration", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "timestamp": { + "specs": "WebVR", + "exposed": "Window", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "linearVelocity": { + "specs": "WebVR", + "name": "linearVelocity", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "orientation": { + "specs": "WebVR", + "name": "orientation", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "position": { + "specs": "WebVR", + "name": "position", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + }, + "angularAcceleration": { + "specs": "WebVR", + "name": "angularAcceleration", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + } + } + } + }, + "HTMLBaseElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLBaseElement", + "properties": { + "property": { + "target": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "target", + "content-attribute": "target", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "href": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "href", + "content-attribute": "href", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "base", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "ClientRect": { + "specs": "cssom-view", + "anonymous-methods": { + "method": [] + }, + "name": "ClientRect", + "properties": { + "property": { + "width": { + "specs": "cssom-view", + "name": "width", + "tags": "CSSOM", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "left": { + "specs": "cssom-view", + "exposed": "Window", + "name": "left", + "type": "long", + "tags": "CSSOM", + "type-original": "long" + }, + "right": { + "specs": "cssom-view", + "exposed": "Window", + "name": "right", + "type": "long", + "tags": "CSSOM", + "type-original": "long" + }, + "top": { + "specs": "cssom-view", + "exposed": "Window", + "name": "top", + "type": "long", + "tags": "CSSOM", + "type-original": "long" + }, + "height": { + "specs": "cssom-view", + "name": "height", + "tags": "CSSOM", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "bottom": { + "specs": "cssom-view", + "exposed": "Window", + "name": "bottom", + "type": "long", + "tags": "CSSOM", + "type-original": "long" + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "DOMImplementation": { + "constants": { + "constant": {} + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "createDocumentType": { + "specs": "dom4", + "name": "createDocumentType", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 3, + "type": "DocumentType", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "publicId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "systemId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DocumentType" + } + ], + "exposed": "Window" + }, + "createDocument": { + "specs": "dom4", + "name": "createDocument", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 3, + "type": "Document", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "nullable": 1, + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "doctype", + "type": "DocumentType", + "type-original": "DocumentType" + } + ], + "type-original": "Document" + } + ], + "exposed": "Window" + }, + "hasFeature": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "hasFeature" + }, + "createHTMLDocument": { + "specs": "dom4", + "name": "createHTMLDocument", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 0, + "type": "Document", + "param": [ + { + "name": "title", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Document" + } + ], + "exposed": "Window" + } + } + }, + "name": "DOMImplementation", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGUnitTypes": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGUnitTypes", + "static": 1, + "properties": { + "property": {} + }, + "constants": { + "constant": { + "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_UNIT_TYPE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_UNIT_TYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_UNIT_TYPE_USERSPACEONUSE": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_UNIT_TYPE_USERSPACEONUSE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "ConvolverNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "ConvolverNode", + "extends": "AudioNode", + "properties": { + "property": { + "normalize": { + "specs": "webaudio", + "exposed": "Window", + "name": "normalize", + "type": "boolean", + "type-original": "boolean" + }, + "buffer": { + "specs": "webaudio", + "nullable": 1, + "exposed": "Window", + "name": "buffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer?" + } + } + } + }, + "WebAuthnAssertion": { + "specs": "WD-webauthn-20160531", + "anonymous-methods": { + "method": [] + }, + "name": "WebAuthnAssertion", + "properties": { + "property": { + "signature": { + "specs": "WD-webauthn-20160531", + "exposed": "Window", + "name": "signature", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer", + "read-only": 1 + }, + "authenticatorData": { + "specs": "WD-webauthn-20160531", + "exposed": "Window", + "name": "authenticatorData", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer", + "read-only": 1 + }, + "clientData": { + "specs": "WD-webauthn-20160531", + "exposed": "Window", + "name": "clientData", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer", + "read-only": 1 + }, + "credential": { + "specs": "WD-webauthn-20160531", + "exposed": "Window", + "name": "credential", + "type": "ScopedCredential", + "type-original": "ScopedCredential", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "SpeechSynthesis": { + "specs": "speech-api", + "anonymous-methods": { + "method": [] + }, + "name": "SpeechSynthesis", + "properties": { + "property": { + "pending": { + "specs": "speech-api", + "exposed": "Window", + "name": "pending", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onvoiceschanged": { + "specs": "speech-api", + "name": "onvoiceschanged", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "voiceschanged" + }, + "paused": { + "specs": "speech-api", + "exposed": "Window", + "name": "paused", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "speaking": { + "specs": "speech-api", + "exposed": "Window", + "name": "speaking", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Speech", + "name": "voiceschanged", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "resume": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "speech-api", + "exposed": "Window", + "name": "resume" + }, + "pause": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "speech-api", + "exposed": "Window", + "name": "pause" + }, + "speak": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "utterance", + "type": "SpeechSynthesisUtterance", + "type-original": "SpeechSynthesisUtterance" + } + ], + "type-original": "void" + } + ], + "specs": "speech-api", + "exposed": "Window", + "name": "speak" + }, + "getVoices": { + "signature": [ + { + "subtype": { + "type": "SpeechSynthesisVoice" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "speech-api", + "exposed": "Window", + "name": "getVoices" + }, + "cancel": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "speech-api", + "exposed": "Window", + "name": "cancel" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "Element": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "title" + }, + { + "name": "xml:id" + }, + { + "value-syntax": "url", + "name": "xml:base" + }, + { + "name": "xml:lang" + }, + { + "value-syntax": "id_ref", + "name": "aria-activedescendant" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-atomic" + }, + { + "enum-values": "none inline list both", + "value-syntax": "enum", + "name": "aria-autocomplete" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-busy" + }, + { + "enum-values": "true false mixed", + "value-syntax": "enum", + "name": "aria-checked" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "aria-controls" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "aria-describedby" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-disabled" + }, + { + "enum-values": "none copy move link execute popup", + "value-syntax": "space_separated_enums", + "name": "aria-dropeffect" + }, + { + "enum-values": "undefined true false", + "value-syntax": "enum", + "name": "aria-expanded" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "aria-flowto" + }, + { + "enum-values": "undefined true false", + "value-syntax": "enum", + "name": "aria-grabbed" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-haspopup" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-hidden" + }, + { + "enum-values": "false grammar spelling true", + "value-syntax": "enum", + "name": "aria-invalid" + }, + { + "name": "aria-label" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "aria-labelledby" + }, + { + "value-syntax": "non_negative_integer", + "name": "aria-level" + }, + { + "enum-values": "off polite assertive", + "value-syntax": "enum", + "name": "aria-live" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-multiline" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-multiselectable" + }, + { + "enum-values": "horizontal vertical", + "value-syntax": "enum", + "name": "aria-orientation" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "aria-owns" + }, + { + "value-syntax": "non_negative_integer", + "name": "aria-posinset" + }, + { + "enum-values": "true false mixed", + "value-syntax": "enum", + "name": "aria-pressed" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-readonly" + }, + { + "enum-values": "additions removals text all", + "value-syntax": "space_separated_enums", + "name": "aria-relevant" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "aria-required" + }, + { + "enum-values": "undefined true false", + "value-syntax": "enum", + "name": "aria-selected" + }, + { + "value-syntax": "non_negative_integer", + "name": "aria-setsize" + }, + { + "enum-values": "none ascending descending other", + "value-syntax": "enum", + "name": "aria-sort" + }, + { + "value-syntax": "floating_point_number", + "name": "aria-valuemax" + }, + { + "value-syntax": "floating_point_number", + "name": "aria-valuemin" + }, + { + "value-syntax": "floating_point_number", + "name": "aria-valuenow" + }, + { + "value-syntax": "space_separated_id_refs", + "name": "x-ms-aria-flowfrom" + }, + { + "enum-values": "alert alertdialog application article banner button checkbox columnheader combobox complementary contentinfo definition dialog directory document form grid gridcell group heading img link list listbox listitem log main marquee math menu menubar menuitem menuitemcheckbox menuitemradio navigation note option presentation progressbar radio radiogroup region row rowgroup rowheader scrollbar search separator slider spinbutton status tab tablist tabpanel textbox timer toolbar tooltip tree treegrid treeitem", + "value-syntax": "enum", + "name": "role" + } + ] + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "Element", + "properties": { + "property": { + "onmsgotpointercapture": { + "specs": "dom4", + "name": "onmsgotpointercapture", + "content-attribute": "onmsgotpointercapture", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSGotPointerCapture" + }, + "onmspointerdown": { + "specs": "dom4", + "name": "onmspointerdown", + "content-attribute": "onmspointerdown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerDown" + }, + "msRegionOverflow": { + "specs": "css-regions", + "name": "msRegionOverflow", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onmsgesturedoubletap": { + "specs": "dom4", + "name": "onmsgesturedoubletap", + "content-attribute": "onmsgesturedoubletap", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureDoubleTap" + }, + "scrollLeft": { + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollLeft", + "type": "long", + "type-original": "long" + }, + "classList": { + "specs": "dom4", + "ce-reactions": 1, + "name": "classList", + "constant": 1, + "content-attribute": "class", + "type-original": "DOMTokenList", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMTokenList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "onwebkitfullscreenerror": { + "specs": "dom4", + "name": "onwebkitfullscreenerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "webkitfullscreenerror" + }, + "onmsgesturehold": { + "specs": "dom4", + "name": "onmsgesturehold", + "content-attribute": "onmsgesturehold", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureHold" + }, + "onmspointermove": { + "specs": "dom4", + "name": "onmspointermove", + "content-attribute": "onmspointermove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerMove" + }, + "scrollWidth": { + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollWidth", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onmsgesturechange": { + "specs": "dom4", + "name": "onmsgesturechange", + "content-attribute": "onmsgesturechange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureChange" + }, + "id": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "id", + "content-attribute": "id", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onmsgesturestart": { + "specs": "dom4", + "name": "onmsgesturestart", + "content-attribute": "onmsgesturestart", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureStart" + }, + "innerHTML": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "innerHTML", + "tags": "TreeMutation", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "onmspointercancel": { + "specs": "dom4", + "name": "onmspointercancel", + "content-attribute": "onmspointercancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerCancel" + }, + "clientLeft": { + "specs": "cssom-view", + "exposed": "Window", + "name": "clientLeft", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onmsgestureend": { + "specs": "dom4", + "name": "onmsgestureend", + "content-attribute": "onmsgestureend", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureEnd" + }, + "className": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "className", + "content-attribute": "class", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "msContentZoomFactor": { + "specs": "dom4", + "name": "msContentZoomFactor", + "tags": "CSSOM", + "type-original": "float", + "exposed": "Window", + "type": "float" + }, + "clientHeight": { + "specs": "cssom-view", + "exposed": "Window", + "name": "clientHeight", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "ontouchstart": { + "specs": "dom4", + "name": "ontouchstart", + "content-attribute": "ontouchstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "touchstart" + }, + "attributes": { + "specs": "dom4", + "name": "attributes", + "tags": "TreeNavigation", + "type-original": "NamedNodeMap", + "exposed": "Window", + "type": "NamedNodeMap", + "read-only": 1 + }, + "onmspointerup": { + "specs": "dom4", + "name": "onmspointerup", + "content-attribute": "onmspointerup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerUp" + }, + "scrollTop": { + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollTop", + "type": "long", + "type-original": "long" + }, + "outerHTML": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "outerHTML", + "tags": "TreeMutation", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "ontouchmove": { + "specs": "dom4", + "name": "ontouchmove", + "content-attribute": "ontouchmove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "touchmove" + }, + "clientWidth": { + "specs": "cssom-view", + "exposed": "Window", + "name": "clientWidth", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "ontouchend": { + "specs": "dom4", + "name": "ontouchend", + "content-attribute": "ontouchend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "touchend" + }, + "clientTop": { + "specs": "cssom-view", + "exposed": "Window", + "name": "clientTop", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onlostpointercapture": { + "specs": "dom4", + "name": "onlostpointercapture", + "content-attribute": "onlostpointercapture", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "lostpointercapture" + }, + "oncommand": { + "specs": "dom4", + "name": "oncommand", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "command" + }, + "onariarequest": { + "specs": "dom4", + "name": "onariarequest", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ariarequest" + }, + "ontouchcancel": { + "specs": "dom4", + "name": "ontouchcancel", + "content-attribute": "ontouchcancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "touchcancel" + }, + "onmsgesturetap": { + "specs": "dom4", + "name": "onmsgesturetap", + "content-attribute": "onmsgesturetap", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureTap" + }, + "onmspointerout": { + "specs": "dom4", + "name": "onmspointerout", + "content-attribute": "onmspointerout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOut" + }, + "onmsinertiastart": { + "specs": "dom4", + "name": "onmsinertiastart", + "content-attribute": "onmsinertiastart", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSInertiaStart" + }, + "tagName": { + "pure": 1, + "specs": "dom4", + "name": "tagName", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onmslostpointercapture": { + "specs": "dom4", + "name": "onmslostpointercapture", + "content-attribute": "onmslostpointercapture", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSLostPointerCapture" + }, + "onmspointerover": { + "specs": "dom4", + "name": "onmspointerover", + "content-attribute": "onmspointerover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOver" + }, + "onwebkitfullscreenchange": { + "specs": "dom4", + "name": "onwebkitfullscreenchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "webkitfullscreenchange" + }, + "onmspointerenter": { + "specs": "dom4", + "name": "onmspointerenter", + "content-attribute": "onmspointerenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerEnter" + }, + "scrollHeight": { + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollHeight", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onmspointerleave": { + "specs": "dom4", + "name": "onmspointerleave", + "content-attribute": "onmspointerleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerLeave" + }, + "ongotpointercapture": { + "specs": "dom4", + "name": "ongotpointercapture", + "content-attribute": "ongotpointercapture", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "gotpointercapture" + }, + "prefix": { + "specs": "dom4", + "name": "prefix", + "constant": 1, + "tags": "Namespaces", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "precedes": "dblclick", + "dispatch": "sync", + "specs": "UIEvents", + "name": "click", + "follows": "mouseup pointerup MSPointerUp", + "cancelable": 1, + "type": "MouseEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "dblclick", + "follows": "click", + "type": "MouseEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "mousemove", + "type": "MouseEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "mouseout", + "dispatch": "sync", + "specs": "UIEvents", + "name": "mouseover", + "type": "MouseEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "mouseout", + "follows": "mouseover", + "type": "MouseEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "mouseup", + "dispatch": "sync", + "specs": "UIEvents", + "name": "mousedown", + "type": "MouseEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "click", + "dispatch": "sync", + "specs": "UIEvents", + "name": "mouseup", + "follows": "mousedown", + "cancelable": 1, + "type": "MouseEvent", + "bubbles": 1 + }, + { + "precedes": "mouseleave", + "dispatch": "sync", + "specs": "UIEvents", + "name": "mouseenter", + "type": "MouseEvent" + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "mouseleave", + "follows": "mouseenter", + "type": "MouseEvent" + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "wheel", + "type": "WheelEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "none", + "name": "mousewheel", + "type": "WheelEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "pointerleave", + "dispatch": "sync", + "specs": "PtrEvents", + "name": "pointerenter", + "aliases": "MSPointerEnter", + "type": "PointerEvent" + }, + { + "dispatch": "sync", + "specs": "PtrEvents", + "name": "pointerleave", + "follows": "pointerenter", + "aliases": "MSPointerLeave", + "type": "PointerEvent" + }, + { + "precedes": "pointermove", + "dispatch": "sync", + "specs": "PtrEvents", + "aliases": "MSPointerDown", + "name": "pointerdown", + "cancelable": 1, + "type": "PointerEvent", + "bubbles": 1 + }, + { + "precedes": "pointerup pointercancel", + "dispatch": "sync", + "specs": "PtrEvents", + "name": "pointermove", + "follows": "pointerdown", + "aliases": "MSPointerMove", + "type": "PointerEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "click", + "dispatch": "sync", + "specs": "PtrEvents", + "name": "pointerup", + "follows": "pointermove", + "aliases": "MSPointerUp", + "type": "PointerEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "pointerout", + "dispatch": "sync", + "specs": "PtrEvents", + "aliases": "MSPointerOver", + "name": "pointerover", + "cancelable": 1, + "type": "PointerEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "PtrEvents", + "aliases": "MSPointerOut", + "name": "pointerout", + "follows": "pointerover", + "cancelable": 1, + "type": "PointerEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "PtrEvents", + "name": "pointercancel", + "follows": "pointermove", + "aliases": "MSPointerCancel", + "type": "PointerEvent", + "bubbles": 1 + }, + { + "precedes": "lostpointercapture", + "dispatch": "sync", + "specs": "PtrEvents", + "name": "gotpointercapture", + "aliases": "MSGotPointerCapture", + "type": "PointerEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "PtrEvents", + "name": "lostpointercapture", + "follows": "gotpointercapture", + "aliases": "MSLostPointerCapture", + "type": "PointerEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "contextmenu", + "type": "PointerEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "select", + "follows": "selectstart selectionchange", + "type": "UIEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "keyup", + "follows": "keydown keypress", + "type": "KeyboardEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "keyup keypress", + "dispatch": "sync", + "specs": "UIEvents", + "name": "keydown", + "type": "KeyboardEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "keyup", + "dispatch": "sync", + "specs": "UIEvents", + "name": "keypress", + "follows": "keydown", + "cancelable": 1, + "type": "KeyboardEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "none", + "name": "textInput", + "type": "TextEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "compositionupdate compositionend", + "dispatch": "sync", + "specs": "UIEvents", + "name": "compositionstart", + "type": "CompositionEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "compositionend", + "dispatch": "sync", + "specs": "UIEvents", + "name": "compositionupdate", + "follows": "compositionstart", + "type": "CompositionEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "compositionend", + "follows": "compositionstart compositionupdate", + "type": "CompositionEvent", + "bubbles": 1 + }, + { + "precedes": "dragend", + "dispatch": "sync", + "specs": "HTML5_1", + "name": "drag", + "follows": "dragstart", + "cancelable": 1, + "type": "DragEvent", + "bubbles": 1 + }, + { + "precedes": "drag", + "dispatch": "sync", + "specs": "HTML5_1", + "name": "dragstart", + "type": "DragEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "dragover drop", + "dispatch": "sync", + "specs": "HTML5_1", + "name": "dragenter", + "follows": "drag", + "cancelable": 1, + "type": "DragEvent", + "bubbles": 1 + }, + { + "precedes": "dragleave drop", + "dispatch": "sync", + "specs": "HTML5_1", + "name": "dragover", + "follows": "dragenter", + "cancelable": 1, + "type": "DragEvent", + "bubbles": 1 + }, + { + "precedes": "drag", + "dispatch": "sync", + "specs": "HTML5_1", + "name": "dragleave", + "follows": "dragover", + "type": "DragEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5_1", + "name": "dragend", + "follows": "drag", + "type": "DragEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5_1", + "name": "drop", + "follows": "dragenter dragover", + "type": "DragEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "Clipboard", + "name": "copy", + "follows": "beforecopy", + "type": "ClipboardEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "Clipboard", + "name": "cut", + "follows": "beforecut", + "type": "ClipboardEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "Clipboard", + "name": "paste", + "follows": "beforepaste", + "type": "ClipboardEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "precedes": "blur", + "dispatch": "sync", + "specs": "HTML5", + "name": "focus", + "type": "FocusEvent" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "blur", + "follows": "focus", + "type": "FocusEvent" + }, + { + "precedes": "focusout", + "dispatch": "sync", + "specs": "UIEvents", + "name": "focusin", + "aliases": "DOMFocusIn", + "type": "FocusEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "focusout", + "follows": "focusin", + "aliases": "DOMFocusOut", + "type": "FocusEvent", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "UIEvents", + "name": "scroll", + "type": "UIEvent" + }, + { + "precedes": "transitionend", + "dispatch": "async", + "specs": "CSSTransition", + "aliases": "MSTransitionStart webkitTransitionStart", + "name": "transitionstart", + "cancelable": 1, + "type": "TransitionEvent", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "CSSTransition", + "aliases": "MSTransitionEnd webkitTransitionEnd", + "name": "transitionend", + "follows": "transitionstart", + "cancelable": 1, + "type": "TransitionEvent", + "bubbles": 1 + }, + { + "precedes": "animationend animationiteration", + "dispatch": "async", + "specs": "CSSAnim", + "aliases": "MSAnimationStart webkitAnimationStart", + "name": "animationstart", + "cancelable": 1, + "type": "AnimationEvent", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "CSSAnim", + "aliases": "MSAnimationEnd webkitAnimationEnd", + "name": "animationend", + "follows": "animationstart animationiteration", + "cancelable": 1, + "type": "AnimationEvent", + "bubbles": 1 + }, + { + "precedes": "animationend", + "dispatch": "async", + "specs": "CSSAnim", + "name": "animationiteration", + "follows": "animationstart", + "aliases": "MSAnimationIteration webkitAnimationIteration", + "type": "AnimationEvent", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMAttrModified", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMNodeInserted", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMNodeRemoved", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "async-and-combine", + "specs": "UIEvents", + "name": "DOMSubtreeModified", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "none", + "name": "overflowchanged", + "type": "OverflowEvent" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "webkitRequestFullscreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitRequestFullscreen" + }, + "getElementsByTagNameNS": { + "pure": 1, + "signature": [ + { + "param-min-required": 2, + "type": "NodeList", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByTagNameNS", + "tags": "TreeNavigation Namespaces" + }, + "requestFullscreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "requestFullscreen" + }, + "getBoundingClientRect": { + "signature": [ + { + "type": "ClientRect", + "type-original": "ClientRect" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "getBoundingClientRect" + }, + "getAttributeNodeNS": { + "signature": [ + { + "param-min-required": 2, + "type": "Attr", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getAttributeNodeNS", + "tags": "TreeNavigation Namespaces" + }, + "msMatchesSelector": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "selectors-api", + "exposed": "Window", + "name": "msMatchesSelector" + }, + "releasePointerCapture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "releasePointerCapture" + }, + "msGetUntransformedBounds": { + "signature": [ + { + "type": "ClientRect", + "type-original": "ClientRect" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "msGetUntransformedBounds" + }, + "webkitMatchesSelector": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "selectors-api", + "exposed": "Window", + "name": "webkitMatchesSelector" + }, + "setAttributeNode": { + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "newAttr", + "type": "Attr", + "type-original": "Attr" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "setAttributeNode", + "tags": "TreeMutation" + }, + "msReleasePointerCapture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "msReleasePointerCapture" + }, + "setAttribute": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "setAttribute", + "tags": "TreeMutation" + }, + "hasAttributes": { + "pure": 1, + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "hasAttributes", + "tags": "TreeNavigation" + }, + "msGetRegionContent": { + "signature": [ + { + "type": "MSRangeCollection", + "type-original": "MSRangeCollection" + } + ], + "specs": "css-regions", + "exposed": "Window", + "name": "msGetRegionContent", + "tags": "CSSOM" + }, + "requestPointerLock": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "pointerlock", + "exposed": "Window", + "name": "requestPointerLock" + }, + "setPointerCapture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "setPointerCapture" + }, + "getAttribute": { + "pure": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getAttribute", + "tags": "TreeNavigation" + }, + "closest": { + "pure": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element?" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "closest", + "tags": "TreeNavigation" + }, + "hasAttributeNS": { + "pure": 1, + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "hasAttributeNS", + "tags": "TreeNavigation Namespaces" + }, + "getAttributeNS": { + "pure": 1, + "signature": [ + { + "param-min-required": 2, + "type": "DOMString", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getAttributeNS", + "tags": "TreeNavigation Namespaces" + }, + "setAttributeNodeNS": { + "specs": "dom4", + "ce-reactions": 1, + "name": "setAttributeNodeNS", + "tags": "Namespaces TreeMutation", + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "newAttr", + "type": "Attr", + "type-original": "Attr" + } + ], + "type-original": "Attr" + } + ], + "exposed": "Window" + }, + "getElementsByClassName": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "classNames", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByClassName" + }, + "hasAttribute": { + "pure": 1, + "specs": "dom4", + "name": "hasAttribute", + "tags": "TreeNavigation", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "exposed": "Window" + }, + "removeAttribute": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeAttribute", + "tags": "TreeMutation" + }, + "setAttributeNS": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "treat-null-as": "EmptyString", + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "setAttributeNS", + "tags": "Namespaces TreeMutation" + }, + "msZoomTo": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "args", + "type": "MsZoomToOptions", + "type-original": "MsZoomToOptions" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "msZoomTo" + }, + "getAttributeNode": { + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getAttributeNode", + "tags": "TreeNavigation" + }, + "matches": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "selectors-api", + "exposed": "Window", + "name": "matches" + }, + "getElementsByTagName": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByTagName", + "tags": "TreeNavigation" + }, + "webkitRequestFullScreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitRequestFullScreen" + }, + "getClientRects": { + "signature": [ + { + "type": "ClientRectList", + "type-original": "ClientRectList" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "getClientRects" + }, + "removeAttributeNode": { + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "oldAttr", + "type": "Attr", + "type-original": "Attr" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeAttributeNode", + "tags": "TreeMutation" + }, + "removeAttributeNS": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeAttributeNS", + "tags": "Namespaces TreeMutation" + }, + "msSetPointerCapture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "msSetPointerCapture" + } + } + }, + "extends": "Node", + "implements": [ + "GlobalEventHandlers", + "ElementTraversal", + "ParentNode", + "ChildNode" + ] + }, + "WebKitFileSystem": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebKitFileSystem", + "extends": "Object", + "properties": { + "property": { + "name": { + "specs": "file-system-api", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "root": { + "specs": "file-system-api", + "exposed": "Window", + "name": "root", + "type": "WebKitDirectoryEntry", + "type-original": "WebKitDirectoryEntry", + "read-only": 1 + } + } + } + }, + "WindowClient": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "WindowClient", + "properties": { + "property": { + "visibilityState": { + "specs": "service-workers", + "exposed": "Worker", + "name": "visibilityState", + "type": "VisibilityState", + "type-original": "VisibilityState", + "read-only": 1 + }, + "focused": { + "specs": "service-workers", + "exposed": "Worker", + "name": "focused", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "ancestorOrigins": { + "specs": "service-workers", + "same-object": 1, + "name": "ancestorOrigins", + "type-original": "FrozenArray", + "subtype": { + "type": "USVString" + }, + "exposed": "Worker", + "type": "FrozenArray", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": { + "navigate": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "WindowClient" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "navigate" + }, + "focus": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "WindowClient" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "focus" + } + } + }, + "extends": "Client" + }, + "ExtendableMessageEvent": { + "specs": "service-workers", + "constructor": { + "specs": "service-workers", + "signature": [ + { + "param-min-required": 1, + "type": "ExtendableMessageEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "ExtendableMessageEventInit", + "optional": 1, + "type-original": "ExtendableMessageEventInit" + } + ], + "type-original": "ExtendableMessageEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ExtendableMessageEvent", + "properties": { + "property": { + "source": { + "specs": "service-workers", + "same-object": 1, + "name": "source", + "type-original": "(Client or ServiceWorker or MessagePort)?", + "exposed": "Worker", + "type": [ + { + "nullable": 1, + "type": "Client" + }, + { + "nullable": 1, + "type": "ServiceWorker" + }, + { + "nullable": 1, + "type": "MessagePort" + } + ], + "read-only": 1 + }, + "ports": { + "specs": "service-workers", + "name": "ports", + "type-original": "FrozenArray?", + "subtype": { + "type": "MessagePort" + }, + "nullable": 1, + "exposed": "Worker", + "type": "FrozenArray", + "read-only": 1 + }, + "lastEventId": { + "specs": "service-workers", + "exposed": "Worker", + "name": "lastEventId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "origin": { + "specs": "service-workers", + "exposed": "Worker", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "data": { + "specs": "service-workers", + "exposed": "Worker", + "name": "data", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "ExtendableEvent" + }, + "FileList": { + "constants": { + "constant": {} + }, + "specs": "fileapi", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "File", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "File?" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "item" + } + } + }, + "exposed": "Window Worker", + "name": "FileList", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "fileapi", + "exposed": "Window Worker", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "SVGLineElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-end" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-mid" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-start" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGLineElement", + "properties": { + "property": { + "y1": { + "specs": "svg2", + "same-object": 1, + "name": "y1", + "constant": 1, + "content-attribute": "y1", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x2": { + "specs": "svg2", + "same-object": 1, + "name": "x2", + "constant": 1, + "content-attribute": "x2", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y2": { + "specs": "svg2", + "same-object": 1, + "name": "y2", + "constant": 1, + "content-attribute": "y2", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x1": { + "specs": "svg2", + "same-object": 1, + "name": "x1", + "constant": 1, + "content-attribute": "x1", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "line" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "HTMLParagraphElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLParagraphElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "clear": { + "content-attribute-enum-values": "all left right none", + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "clear", + "type-original": "DOMString", + "content-attribute": "clear", + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "p" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "Plugin": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "MimeType", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "MimeType" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item" + }, + "namedItem": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "MimeType", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "MimeType" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem" + } + } + }, + "name": "Plugin", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html5", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "filename": { + "specs": "html5", + "exposed": "Window", + "name": "filename", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "version": { + "specs": "html5", + "exposed": "Window", + "name": "version", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "name": { + "specs": "html5", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "description": { + "specs": "html5", + "exposed": "Window", + "name": "description", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "ReadableStream": { + "constants": { + "constant": {} + }, + "specs": "whatwg-streams", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getReader": { + "signature": [ + { + "type": "ReadableStreamReader", + "type-original": "ReadableStreamReader" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "getReader" + }, + "cancel": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "cancel" + } + } + }, + "name": "ReadableStream", + "extends": "Object", + "properties": { + "property": { + "locked": { + "specs": "whatwg-streams", + "exposed": "Window", + "name": "locked", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "HTMLAreasCollection": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLAreasCollection", + "properties": { + "property": {} + }, + "tags": "TreeMutation", + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "HTMLCollection" + }, + "Node": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "Node", + "properties": { + "property": { + "nodeType": { + "specs": "dom4", + "name": "nodeType", + "constant": 1, + "store-in-slot": "lazy-type", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "localName": { + "specs": "dom4", + "name": "localName", + "tags": "Namespaces", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "previousSibling": { + "pure": 1, + "specs": "dom4", + "name": "previousSibling", + "tags": "TreeNavigation", + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "textContent": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "textContent", + "tags": "TreeMutation", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString" + }, + "baseURI": { + "pure": 1, + "specs": "dom4", + "name": "baseURI", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "namespaceURI": { + "specs": "dom4", + "name": "namespaceURI", + "tags": "Namespaces", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "parentNode": { + "pure": 1, + "specs": "dom4", + "name": "parentNode", + "tags": "TreeNavigation", + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "parentElement": { + "pure": 1, + "specs": "dom4", + "name": "parentElement", + "tags": "TreeNavigation", + "type-original": "HTMLElement", + "exposed": "Window", + "type": "HTMLElement", + "read-only": 1 + }, + "nodeValue": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "nodeValue", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString" + }, + "lastChild": { + "pure": 1, + "specs": "dom4", + "name": "lastChild", + "tags": "TreeNavigation", + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "nextSibling": { + "pure": 1, + "specs": "dom4", + "name": "nextSibling", + "tags": "TreeNavigation", + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "childNodes": { + "specs": "dom4", + "same-object": 1, + "name": "childNodes", + "tags": "TreeNavigation", + "type-original": "NodeList", + "exposed": "Window", + "type": "NodeList", + "read-only": 1 + }, + "ownerDocument": { + "pure": 1, + "specs": "dom4", + "name": "ownerDocument", + "tags": "TreeNavigation", + "type-original": "Document", + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "nodeName": { + "pure": 1, + "specs": "dom4", + "name": "nodeName", + "store-in-slot": "lazy-instance", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "firstChild": { + "pure": 1, + "specs": "dom4", + "name": "firstChild", + "tags": "TreeNavigation", + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "ENTITY_REFERENCE_NODE": { + "specs": "dom4", + "value": "5", + "exposed": "Window", + "name": "ENTITY_REFERENCE_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ATTRIBUTE_NODE": { + "specs": "dom4", + "value": "2", + "exposed": "Window", + "name": "ATTRIBUTE_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_FRAGMENT_NODE": { + "specs": "dom4", + "value": "11", + "exposed": "Window", + "name": "DOCUMENT_FRAGMENT_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXT_NODE": { + "specs": "dom4", + "value": "3", + "exposed": "Window", + "name": "TEXT_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ELEMENT_NODE": { + "specs": "dom4", + "value": "1", + "exposed": "Window", + "name": "ELEMENT_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "COMMENT_NODE": { + "specs": "dom4", + "value": "8", + "exposed": "Window", + "name": "COMMENT_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_DISCONNECTED": { + "specs": "dom4", + "value": "0x01", + "exposed": "Window", + "name": "DOCUMENT_POSITION_DISCONNECTED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_CONTAINED_BY": { + "specs": "dom4", + "value": "0x10", + "exposed": "Window", + "name": "DOCUMENT_POSITION_CONTAINED_BY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_CONTAINS": { + "specs": "dom4", + "value": "0x08", + "exposed": "Window", + "name": "DOCUMENT_POSITION_CONTAINS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_TYPE_NODE": { + "specs": "dom4", + "value": "10", + "exposed": "Window", + "name": "DOCUMENT_TYPE_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC": { + "specs": "dom4", + "value": "0x20", + "exposed": "Window", + "name": "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_NODE": { + "specs": "dom4", + "value": "9", + "exposed": "Window", + "name": "DOCUMENT_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ENTITY_NODE": { + "specs": "dom4", + "value": "6", + "exposed": "Window", + "name": "ENTITY_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PROCESSING_INSTRUCTION_NODE": { + "specs": "dom4", + "value": "7", + "exposed": "Window", + "name": "PROCESSING_INSTRUCTION_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "CDATA_SECTION_NODE": { + "specs": "dom4", + "value": "4", + "exposed": "Window", + "name": "CDATA_SECTION_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NOTATION_NODE": { + "specs": "dom4", + "value": "12", + "exposed": "Window", + "name": "NOTATION_NODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_PRECEDING": { + "specs": "dom4", + "value": "0x02", + "exposed": "Window", + "name": "DOCUMENT_POSITION_PRECEDING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOCUMENT_POSITION_FOLLOWING": { + "specs": "dom4", + "value": "0x04", + "exposed": "Window", + "name": "DOCUMENT_POSITION_FOLLOWING", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "removeChild": { + "signature": [ + { + "param-min-required": 1, + "type": "Node", + "param": [ + { + "name": "oldChild", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeChild", + "tags": "TreeMutation" + }, + "appendChild": { + "signature": [ + { + "param-min-required": 1, + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "appendChild", + "tags": "TreeMutation" + }, + "isEqualNode": { + "pure": 1, + "specs": "dom4", + "name": "isEqualNode", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "arg", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "boolean" + } + ], + "exposed": "Window" + }, + "lookupPrefix": { + "pure": 1, + "specs": "dom4", + "name": "lookupPrefix", + "tags": "Namespaces", + "signature": [ + { + "param-min-required": 1, + "type-original": "DOMString?", + "nullable": 1, + "type": "DOMString", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + } + ] + } + ], + "exposed": "Window" + }, + "contains": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "child", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "contains" + }, + "isDefaultNamespace": { + "pure": 1, + "specs": "dom4", + "name": "isDefaultNamespace", + "tags": "Namespaces", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + } + ], + "type-original": "boolean" + } + ], + "exposed": "Window" + }, + "compareDocumentPosition": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "unsigned short", + "param": [ + { + "name": "other", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "unsigned short" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "compareDocumentPosition" + }, + "isSameNode": { + "pure": 1, + "specs": "dom4", + "name": "isSameNode", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "other", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "boolean" + } + ], + "exposed": "Window" + }, + "normalize": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "normalize", + "tags": "TreeMutation" + }, + "lookupNamespaceURI": { + "pure": 1, + "specs": "dom4", + "name": "lookupNamespaceURI", + "tags": "Namespaces", + "signature": [ + { + "param-min-required": 1, + "type-original": "DOMString?", + "nullable": 1, + "type": "DOMString", + "param": [ + { + "nullable": 1, + "name": "prefix", + "type": "DOMString", + "type-original": "DOMString?" + } + ] + } + ], + "exposed": "Window" + }, + "hasChildNodes": { + "pure": 1, + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "hasChildNodes" + }, + "cloneNode": { + "signature": [ + { + "param-min-required": 0, + "type": "Node", + "param": [ + { + "name": "deep", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "cloneNode", + "tags": "TreeMutation" + }, + "replaceChild": { + "signature": [ + { + "param-min-required": 2, + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node", + "type-original": "Node" + }, + { + "name": "oldChild", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "replaceChild", + "tags": "TreeMutation" + }, + "insertBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "Node", + "param": [ + { + "name": "newChild", + "type": "Node", + "type-original": "Node" + }, + { + "nullable": 1, + "name": "refChild", + "type": "Node", + "type-original": "Node?" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "insertBefore", + "tags": "TreeMutation" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "File": { + "constants": { + "constant": {} + }, + "specs": "fileapi", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "name": "File", + "extends": "Blob", + "properties": { + "property": { + "lastModifiedDate": { + "specs": "fileapi-20121025", + "name": "lastModifiedDate", + "type-original": "any", + "deprecated": 1, + "interop": 1, + "exposed": "Window Worker", + "type": "any", + "read-only": 1 + }, + "name": { + "specs": "fileapi", + "exposed": "Window Worker", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "webkitRelativePath": { + "extension": 1, + "specs": "none", + "name": "webkitRelativePath", + "type-original": "DOMString", + "interop": 1, + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "WEBGL_depth_texture": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "WEBGL_depth_texture", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "UNSIGNED_INT_24_8_WEBGL": { + "specs": "webgl", + "value": "0x84FA", + "exposed": "Window", + "name": "UNSIGNED_INT_24_8_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WebKitEntry": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebKitEntry", + "extends": "Object", + "properties": { + "property": { + "isDirectory": { + "specs": "file-system-api", + "exposed": "Window", + "name": "isDirectory", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "filesystem": { + "specs": "file-system-api", + "exposed": "Window", + "name": "filesystem", + "type": "WebKitFileSystem", + "type-original": "WebKitFileSystem", + "read-only": 1 + }, + "name": { + "specs": "file-system-api", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "isFile": { + "specs": "file-system-api", + "exposed": "Window", + "name": "isFile", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "fullPath": { + "specs": "file-system-api", + "exposed": "Window", + "name": "fullPath", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "SVGPathSegCurvetoQuadraticSmoothRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoQuadraticSmoothRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "URL": { + "constants": { + "constant": {} + }, + "specs": "url", + "constructor": { + "specs": "url", + "signature": [ + { + "param-min-required": 1, + "type": "URL", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "base", + "type": "USVString", + "optional": 1, + "type-original": "USVString" + } + ], + "type-original": "URL" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "revokeObjectURL": { + "specs": "fileapi", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "url", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "revokeObjectURL", + "exposed": "Window Worker", + "static": 1 + }, + "createObjectURL": { + "specs": "fileapi", + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "object", + "type": "any", + "type-original": "any" + }, + { + "name": "options", + "optional": 1, + "type": "ObjectURLOptions", + "default": "0", + "type-original": "ObjectURLOptions" + } + ], + "type-original": "DOMString" + } + ], + "name": "createObjectURL", + "exposed": "Window Worker", + "static": 1 + }, + "toString": { + "signature": [ + { + "type": "USVString", + "type-original": "USVString" + } + ], + "specs": "url", + "exposed": "Window Worker", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Window Worker", + "name": "URL", + "extends": "Object", + "properties": { + "property": { + "protocol": { + "specs": "url", + "exposed": "Window Worker", + "name": "protocol", + "type": "USVString", + "type-original": "USVString" + }, + "search": { + "specs": "url", + "exposed": "Window Worker", + "name": "search", + "type": "USVString", + "type-original": "USVString" + }, + "origin": { + "specs": "url", + "exposed": "Window Worker", + "name": "origin", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "hostname": { + "specs": "url", + "exposed": "Window Worker", + "name": "hostname", + "type": "USVString", + "type-original": "USVString" + }, + "pathname": { + "specs": "url", + "exposed": "Window Worker", + "name": "pathname", + "type": "USVString", + "type-original": "USVString" + }, + "port": { + "specs": "url", + "exposed": "Window Worker", + "name": "port", + "type": "USVString", + "type-original": "USVString" + }, + "host": { + "specs": "url", + "exposed": "Window Worker", + "name": "host", + "type": "USVString", + "type-original": "USVString" + }, + "username": { + "specs": "url", + "exposed": "Window Worker", + "name": "username", + "type": "USVString", + "type-original": "USVString" + }, + "hash": { + "specs": "url", + "exposed": "Window Worker", + "name": "hash", + "type": "USVString", + "type-original": "USVString" + }, + "password": { + "specs": "url", + "exposed": "Window Worker", + "name": "password", + "type": "USVString", + "type-original": "USVString" + }, + "href": { + "specs": "url", + "exposed": "Window Worker", + "name": "href", + "type": "USVString", + "stringifier": 1, + "type-original": "USVString" + } + } + } + }, + "MouseEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "MouseEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MouseEventInit", + "optional": 1, + "type-original": "MouseEventInit" + } + ], + "type-original": "MouseEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MouseEvent", + "properties": { + "property": { + "toElement": { + "specs": "uievents", + "name": "toElement", + "type-original": "Element", + "deprecated": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "pageX": { + "specs": "cssom-view", + "name": "pageX", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "which": { + "specs": "uievents", + "name": "which", + "type-original": "unsigned short", + "deprecated": 1, + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "fromElement": { + "specs": "uievents", + "name": "fromElement", + "type-original": "Element", + "deprecated": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "layerY": { + "specs": "uievents", + "exposed": "Window", + "name": "layerY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "offsetY": { + "specs": "cssom-view", + "name": "offsetY", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "x": { + "specs": "cssom-view", + "name": "x", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "y": { + "specs": "cssom-view", + "name": "y", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "altKey": { + "specs": "uievents", + "exposed": "Window", + "name": "altKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "metaKey": { + "specs": "uievents", + "exposed": "Window", + "name": "metaKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "ctrlKey": { + "specs": "uievents", + "exposed": "Window", + "name": "ctrlKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "movementY": { + "specs": "pointerlock", + "exposed": "Window", + "name": "movementY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "offsetX": { + "specs": "cssom-view", + "name": "offsetX", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "screenX": { + "specs": "cssom-view", + "name": "screenX", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "clientY": { + "specs": "cssom-view", + "name": "clientY", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "shiftKey": { + "specs": "uievents", + "exposed": "Window", + "name": "shiftKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "layerX": { + "specs": "uievents", + "exposed": "Window", + "name": "layerX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "movementX": { + "specs": "pointerlock", + "exposed": "Window", + "name": "movementX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "screenY": { + "specs": "cssom-view", + "name": "screenY", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "relatedTarget": { + "specs": "uievents", + "name": "relatedTarget", + "type-original": "EventTarget", + "exposed": "Window", + "type": "EventTarget", + "read-only": 1 + }, + "button": { + "specs": "uievents", + "exposed": "Window", + "name": "button", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "pageY": { + "specs": "cssom-view", + "name": "pageY", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "buttons": { + "specs": "uievents", + "exposed": "Window", + "name": "buttons", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "clientX": { + "specs": "cssom-view", + "name": "clientX", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getModifierState": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "keyArg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "getModifierState" + }, + "initMouseEvent": { + "signature": [ + { + "param-min-required": 15, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "ctrlKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initMouseEvent" + } + } + }, + "exposed": "Window", + "extends": "UIEvent" + }, + "DedicatedWorkerGlobalScope": { + "constants": { + "constant": {} + }, + "specs": "workers", + "global": "Worker", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "close" + }, + "postMessage": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "type-original": "any" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "postMessage" + } + } + }, + "exposed": "Worker", + "name": "DedicatedWorkerGlobalScope", + "extends": "WorkerGlobalScope", + "properties": { + "property": { + "onmessage": { + "specs": "workers", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "message" + } + } + } + }, + "AudioContext": { + "specs": "webaudio", + "constructor": { + "specs": "webaudio", + "signature": [ + { + "type": "AudioContext", + "type-original": "AudioContext" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "AudioContext", + "properties": { + "property": { + "sampleRate": { + "specs": "webaudio", + "exposed": "Window", + "name": "sampleRate", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "currentTime": { + "specs": "webaudio", + "exposed": "Window", + "name": "currentTime", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "onstatechange": { + "specs": "webaudio", + "name": "onstatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "statechange" + }, + "listener": { + "specs": "webaudio", + "exposed": "Window", + "name": "listener", + "type": "AudioListener", + "type-original": "AudioListener", + "read-only": 1 + }, + "destination": { + "specs": "webaudio", + "exposed": "Window", + "name": "destination", + "type": "AudioDestinationNode", + "type-original": "AudioDestinationNode", + "read-only": 1 + }, + "state": { + "specs": "webaudio", + "exposed": "Window", + "name": "state", + "type": "AudioContextState", + "type-original": "AudioContextState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "createStereoPanner": { + "signature": [ + { + "type": "StereoPannerNode", + "type-original": "StereoPannerNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createStereoPanner" + }, + "createIIRFilter": { + "signature": [ + { + "param-min-required": 2, + "type": "IIRFilterNode", + "param": [ + { + "subtype": { + "type": "double" + }, + "name": "feedforward", + "type": "sequence", + "type-original": "sequence" + }, + { + "subtype": { + "type": "double" + }, + "name": "feedback", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "IIRFilterNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createIIRFilter" + }, + "createBiquadFilter": { + "signature": [ + { + "type": "BiquadFilterNode", + "type-original": "BiquadFilterNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createBiquadFilter" + }, + "createDynamicsCompressor": { + "signature": [ + { + "type": "DynamicsCompressorNode", + "type-original": "DynamicsCompressorNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createDynamicsCompressor" + }, + "close": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "close" + }, + "createOscillator": { + "signature": [ + { + "type": "OscillatorNode", + "type-original": "OscillatorNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createOscillator" + }, + "createWaveShaper": { + "signature": [ + { + "type": "WaveShaperNode", + "type-original": "WaveShaperNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createWaveShaper" + }, + "createDelay": { + "signature": [ + { + "param-min-required": 0, + "type": "DelayNode", + "param": [ + { + "name": "maxDelayTime", + "default": "1.0", + "type": "double", + "optional": 1, + "type-original": "double" + } + ], + "type-original": "DelayNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createDelay" + }, + "createAnalyser": { + "signature": [ + { + "type": "AnalyserNode", + "type-original": "AnalyserNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createAnalyser" + }, + "createConvolver": { + "signature": [ + { + "type": "ConvolverNode", + "type-original": "ConvolverNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createConvolver" + }, + "resume": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "resume" + }, + "createScriptProcessor": { + "signature": [ + { + "param-min-required": 0, + "type": "ScriptProcessorNode", + "param": [ + { + "name": "bufferSize", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "numberOfInputChannels", + "default": "2", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "numberOfOutputChannels", + "default": "2", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "ScriptProcessorNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createScriptProcessor" + }, + "createPeriodicWave": { + "signature": [ + { + "param-min-required": 2, + "type": "PeriodicWave", + "param": [ + { + "name": "real", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "imag", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "constraints", + "type": "PeriodicWaveConstraints", + "optional": 1, + "type-original": "PeriodicWaveConstraints" + } + ], + "type-original": "PeriodicWave" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createPeriodicWave" + }, + "createChannelMerger": { + "signature": [ + { + "param-min-required": 0, + "type": "ChannelMergerNode", + "param": [ + { + "name": "numberOfInputs", + "default": "6", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "ChannelMergerNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createChannelMerger" + }, + "createMediaElementSource": { + "signature": [ + { + "param-min-required": 1, + "type": "MediaElementAudioSourceNode", + "param": [ + { + "name": "mediaElement", + "type": "HTMLMediaElement", + "type-original": "HTMLMediaElement" + } + ], + "type-original": "MediaElementAudioSourceNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createMediaElementSource" + }, + "createBufferSource": { + "signature": [ + { + "type": "AudioBufferSourceNode", + "type-original": "AudioBufferSourceNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createBufferSource" + }, + "createChannelSplitter": { + "signature": [ + { + "param-min-required": 0, + "type": "ChannelSplitterNode", + "param": [ + { + "name": "numberOfOutputs", + "default": "6", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "ChannelSplitterNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createChannelSplitter" + }, + "suspend": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "suspend" + }, + "decodeAudioData": { + "signature": [ + { + "subtype": { + "type": "AudioBuffer" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "audioData", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer" + }, + { + "name": "successCallback", + "type": "DecodeSuccessCallback", + "optional": 1, + "type-original": "DecodeSuccessCallback" + }, + { + "name": "errorCallback", + "type": "DecodeErrorCallback", + "optional": 1, + "type-original": "DecodeErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "decodeAudioData" + }, + "createGain": { + "signature": [ + { + "type": "GainNode", + "type-original": "GainNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createGain" + }, + "createMediaStreamSource": { + "signature": [ + { + "param-min-required": 1, + "type": "MediaStreamAudioSourceNode", + "param": [ + { + "name": "mediaStream", + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "type-original": "MediaStreamAudioSourceNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createMediaStreamSource" + }, + "createBuffer": { + "signature": [ + { + "param-min-required": 3, + "type": "AudioBuffer", + "param": [ + { + "name": "numberOfChannels", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "sampleRate", + "type": "float", + "type-original": "float" + } + ], + "type-original": "AudioBuffer" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createBuffer" + }, + "createPanner": { + "signature": [ + { + "type": "PannerNode", + "type-original": "PannerNode" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "createPanner" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGTextPositioningElement": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGTextPositioningElement", + "extends": "SVGTextContentElement", + "properties": { + "property": { + "y": { + "specs": "svg2", + "same-object": 1, + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLengthList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "type": "SVGAnimatedLengthList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "rotate": { + "specs": "svg2", + "same-object": 1, + "name": "rotate", + "constant": 1, + "content-attribute": "rotate", + "type-original": "SVGAnimatedNumberList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "type": "SVGAnimatedNumberList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "dy": { + "specs": "svg2", + "same-object": 1, + "name": "dy", + "constant": 1, + "content-attribute": "dy", + "type-original": "SVGAnimatedLengthList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "type": "SVGAnimatedLengthList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "dx": { + "specs": "svg2", + "same-object": 1, + "name": "dx", + "constant": 1, + "content-attribute": "dx", + "type-original": "SVGAnimatedLengthList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "type": "SVGAnimatedLengthList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "svg2", + "same-object": 1, + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLengthList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_svg_number_with_optional_units", + "type": "SVGAnimatedLengthList", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + } + }, + "ExtensionScriptApis": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "ExtensionScriptApis", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "fireExtensionApiTelemetry": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "functionName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "isSucceeded", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "isSupported", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "errorString", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "fireExtensionApiTelemetry" + }, + "registerGenericPersistentCallbackHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "callbackHandler", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "registerGenericPersistentCallbackHandler" + }, + "genericSynchronousFunction": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "functionId", + "type": "long", + "type-original": "long" + }, + { + "name": "parameters", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "none", + "exposed": "Window", + "name": "genericSynchronousFunction" + }, + "registerWebRuntimeCallbackHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "object", + "param": [ + { + "name": "handler", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "object" + } + ], + "specs": "none", + "exposed": "Window", + "name": "registerWebRuntimeCallbackHandler" + }, + "genericWebRuntimeCallout": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "to", + "type": "object", + "type-original": "object" + }, + { + "name": "from", + "type": "object", + "type-original": "object" + }, + { + "name": "payload", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "genericWebRuntimeCallout" + }, + "getExtensionId": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getExtensionId" + }, + "registerGenericFunctionCallbackHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "callbackHandler", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "registerGenericFunctionCallbackHandler" + }, + "genericFunction": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "routerAddress", + "type": "object", + "type-original": "object" + }, + { + "name": "parameters", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "callbackId", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "genericFunction" + }, + "extensionIdToShortId": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "extensionId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "extensionIdToShortId" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "AudioTrackList": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "AudioTrackList", + "properties": { + "property": { + "onremovetrack": { + "specs": "html5", + "name": "onremovetrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "removetrack" + }, + "onchange": { + "specs": "html5", + "name": "onchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "change" + }, + "length": { + "specs": "html5", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "onaddtrack": { + "specs": "html5", + "name": "onaddtrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "addtrack" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "addtrack", + "type": "TrackEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "removetrack", + "type": "TrackEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "change", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "getTrackById": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "AudioTrack", + "param": [ + { + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "AudioTrack?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getTrackById" + }, + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "AudioTrack", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "AudioTrack" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "HTMLOListElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLOListElement", + "properties": { + "property": { + "compact": { + "specs": "html5", + "ce-reactions": 1, + "name": "compact", + "type-original": "boolean", + "content-attribute": "compact", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "type": { + "content-attribute-enum-values": "1 a A i I disc circle square", + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "start": { + "specs": "html5", + "ce-reactions": 1, + "name": "start", + "content-attribute": "start", + "type-original": "long", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "long", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "ol" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "IntersectionObserver": { + "dataslot": [ + { + "name": "callback" + } + ], + "specs": "IntersectionObserver", + "constructor": { + "specs": "IntersectionObserver", + "signature": [ + { + "param-min-required": 1, + "type": "IntersectionObserver", + "param": [ + { + "name": "callback", + "type": "IntersectionObserverCallback", + "type-original": "IntersectionObserverCallback" + }, + { + "name": "options", + "type": "IntersectionObserverInit", + "optional": 1, + "type-original": "IntersectionObserverInit" + } + ], + "type-original": "IntersectionObserver" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "IntersectionObserver", + "properties": { + "property": { + "rootMargin": { + "specs": "IntersectionObserver", + "name": "rootMargin", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "root": { + "specs": "IntersectionObserver", + "name": "root", + "constant": 1, + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "thresholds": { + "specs": "IntersectionObserver", + "name": "thresholds", + "constant": 1, + "type-original": "sequence", + "subtype": { + "type": "double" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "observe": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "target", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "IntersectionObserver", + "exposed": "Window", + "name": "observe" + }, + "takeRecords": { + "signature": [ + { + "subtype": { + "type": "IntersectionObserverEntry" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "IntersectionObserver", + "exposed": "Window", + "name": "takeRecords" + }, + "unobserve": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "target", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "IntersectionObserver", + "exposed": "Window", + "name": "unobserve" + }, + "disconnect": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "IntersectionObserver", + "exposed": "Window", + "name": "disconnect" + } + } + }, + "extends": "Object" + }, + "WEBGL_debug_renderer_info": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "WEBGL_debug_renderer_info", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "UNMASKED_VENDOR_WEBGL": { + "specs": "webgl", + "value": "0x9245", + "exposed": "Window", + "name": "UNMASKED_VENDOR_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNMASKED_RENDERER_WEBGL": { + "specs": "webgl", + "value": "0x9246", + "exposed": "Window", + "name": "UNMASKED_RENDERER_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "FetchEvent": { + "specs": "service-workers", + "constructor": { + "specs": "service-workers", + "signature": [ + { + "param-min-required": 2, + "type": "FetchEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "FetchEventInit", + "type-original": "FetchEventInit" + } + ], + "type-original": "FetchEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "FetchEvent", + "properties": { + "property": { + "request": { + "specs": "service-workers", + "same-object": 1, + "name": "request", + "type-original": "Request", + "exposed": "Worker", + "type": "Request", + "read-only": 1 + }, + "clientId": { + "specs": "service-workers", + "exposed": "Worker", + "name": "clientId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "reservedClientId": { + "specs": "service-workers", + "name": "reservedClientId", + "type-original": "DOMString", + "exposed": "Worker", + "type": "DOMString", + "read-only": 1 + }, + "targetClientId": { + "specs": "service-workers", + "name": "targetClientId", + "type-original": "DOMString", + "exposed": "Worker", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": { + "respondWith": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "Response" + }, + "name": "r", + "type": "Promise", + "type-original": "Promise" + } + ], + "type-original": "void" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "respondWith" + } + } + }, + "extends": "ExtendableEvent" + }, + "StyleMedia": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "StyleMedia", + "properties": { + "property": { + "type": { + "specs": "none", + "name": "type", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "matchMedium": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "mediaquery", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "none", + "exposed": "Window", + "name": "matchMedium", + "tags": "CSSOM" + } + } + }, + "extends": "Object" + }, + "MediaStreamTrack": { + "specs": "media-capture-api", + "anonymous-methods": { + "method": [] + }, + "name": "MediaStreamTrack", + "properties": { + "property": { + "onoverconstrained": { + "specs": "media-capture-api", + "name": "onoverconstrained", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "overconstrained" + }, + "onended": { + "specs": "media-capture-api", + "name": "onended", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "readyState": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "readyState", + "type": "MediaStreamTrackState", + "type-original": "MediaStreamTrackState", + "read-only": 1 + }, + "muted": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "muted", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onunmute": { + "specs": "media-capture-api", + "name": "onunmute", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "unmute" + }, + "remote": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "remote", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onmute": { + "specs": "media-capture-api", + "name": "onmute", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mute" + }, + "kind": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "readonly": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "readonly", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "id": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "label": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "label", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "enabled": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "enabled", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "mute", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "unmute", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "ended", + "type": "MediaStreamErrorEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "overconstrained", + "type": "MediaStreamErrorEvent", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "stop" + }, + "clone": { + "signature": [ + { + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "clone" + }, + "getSettings": { + "signature": [ + { + "type": "MediaTrackSettings", + "type-original": "MediaTrackSettings" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getSettings" + }, + "applyConstraints": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "constraints", + "type": "MediaTrackConstraints", + "type-original": "MediaTrackConstraints" + } + ], + "type-original": "Promise" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "applyConstraints" + }, + "getConstraints": { + "signature": [ + { + "type": "MediaTrackConstraints", + "type-original": "MediaTrackConstraints" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getConstraints" + }, + "getCapabilities": { + "signature": [ + { + "type": "MediaTrackCapabilities", + "type-original": "MediaTrackCapabilities" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getCapabilities" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGFEMorphologyElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEMorphologyElement", + "properties": { + "property": { + "radiusX": { + "specs": "filter-effects", + "name": "radiusX", + "constant": 1, + "content-attribute": "radius", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "operator": { + "content-attribute-enum-values": "erode dilate", + "specs": "filter-effects", + "name": "operator", + "constant": 1, + "content-attribute": "operator", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "radiusY": { + "specs": "filter-effects", + "name": "radiusY", + "constant": 1, + "content-attribute": "radius", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feMorphology" + } + ], + "constants": { + "constant": { + "SVG_MORPHOLOGY_OPERATOR_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_MORPHOLOGY_OPERATOR_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MORPHOLOGY_OPERATOR_ERODE": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_MORPHOLOGY_OPERATOR_ERODE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MORPHOLOGY_OPERATOR_DILATE": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_MORPHOLOGY_OPERATOR_DILATE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "PerformanceNavigationTiming": { + "constants": { + "constant": {} + }, + "specs": "navigation-timing", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "PerformanceNavigationTiming", + "extends": "PerformanceEntry", + "properties": { + "property": { + "redirectStart": { + "specs": "navigation-timing-2-20150923", + "name": "redirectStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "domainLookupEnd": { + "specs": "navigation-timing-2-20150923", + "name": "domainLookupEnd", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "responseStart": { + "specs": "navigation-timing-2-20150923", + "name": "responseStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "domComplete": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "domComplete", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "domainLookupStart": { + "specs": "navigation-timing-2-20150923", + "name": "domainLookupStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "loadEventStart": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "loadEventStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "fetchStart": { + "specs": "navigation-timing-2-20150923", + "name": "fetchStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "requestStart": { + "specs": "navigation-timing-2-20150923", + "name": "requestStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "domInteractive": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "domInteractive", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "unloadEventEnd": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "unloadEventEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "navigationStart": { + "specs": "navigation-timing-2-20130131", + "name": "navigationStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "connectEnd": { + "specs": "navigation-timing-2-20150923", + "name": "connectEnd", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "loadEventEnd": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "loadEventEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "connectStart": { + "specs": "navigation-timing-2-20150923", + "name": "connectStart", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "responseEnd": { + "specs": "navigation-timing-2-20150923", + "name": "responseEnd", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "domLoading": { + "specs": "navigation-timing-2-20150923", + "name": "domLoading", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "redirectEnd": { + "specs": "navigation-timing-2-20150923", + "name": "redirectEnd", + "type-original": "DOMHighResTimeStamp", + "deprecated": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "redirectCount": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "redirectCount", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "unloadEventStart": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "unloadEventStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "domContentLoadedEventEnd": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "domContentLoadedEventEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "domContentLoadedEventStart": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "domContentLoadedEventStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "type": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "type", + "type": "NavigationType", + "type-original": "NavigationType", + "read-only": 1 + }, + "workerStart": { + "specs": "navigation-timing", + "exposed": "Window", + "name": "workerStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + } + } + } + }, + "OfflineAudioCompletionEvent": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "OfflineAudioCompletionEvent", + "extends": "Event", + "properties": { + "property": { + "renderedBuffer": { + "specs": "webaudio", + "exposed": "Window", + "name": "renderedBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer", + "read-only": 1 + } + } + } + }, + "BiquadFilterNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getFrequencyResponse": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "frequencyHz", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "magResponse", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "phaseResponse", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getFrequencyResponse" + } + } + }, + "name": "BiquadFilterNode", + "extends": "AudioNode", + "properties": { + "property": { + "frequency": { + "specs": "webaudio", + "exposed": "Window", + "name": "frequency", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "Q": { + "specs": "webaudio", + "exposed": "Window", + "name": "Q", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "detune": { + "specs": "webaudio", + "exposed": "Window", + "name": "detune", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "gain": { + "specs": "webaudio", + "exposed": "Window", + "name": "gain", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "type": { + "specs": "webaudio", + "exposed": "Window", + "name": "type", + "type": "BiquadFilterType", + "type-original": "BiquadFilterType" + } + } + } + }, + "SVGPatternElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPatternElement", + "properties": { + "property": { + "width": { + "specs": "svg2", + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "svg2", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "patternUnits": { + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "specs": "svg2", + "name": "patternUnits", + "constant": 1, + "content-attribute": "patternUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "svg2", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "height": { + "specs": "svg2", + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "patternTransform": { + "specs": "svg2", + "name": "patternTransform", + "constant": 1, + "content-attribute": "patternTransform", + "type-original": "SVGAnimatedTransformList", + "exposed": "Window", + "content-attribute-value-syntax": "svg_transform_list", + "type": "SVGAnimatedTransformList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "patternContentUnits": { + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "specs": "svg2", + "name": "patternContentUnits", + "constant": 1, + "content-attribute": "patternContentUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "pattern" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGTests", + "SVGUnitTypes", + "SVGFitToViewBox", + "SVGURIReference" + ] + }, + "AnimationEvent": { + "specs": "css-animation", + "constructor": { + "specs": "css-animation", + "signature": [ + { + "param-min-required": 1, + "type": "AnimationEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "AnimationEventInit", + "optional": 1, + "type-original": "AnimationEventInit" + } + ], + "type-original": "AnimationEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "AnimationEvent", + "properties": { + "property": { + "animationName": { + "specs": "css-animation", + "name": "animationName", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "elapsedTime": { + "specs": "css-animation", + "name": "elapsedTime", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "SVGComponentTransferFunctionElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGComponentTransferFunctionElement", + "properties": { + "property": { + "tableValues": { + "specs": "filter-effects", + "name": "tableValues", + "constant": 1, + "content-attribute": "tableValues", + "type-original": "SVGAnimatedNumberList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "type": "SVGAnimatedNumberList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "slope": { + "specs": "filter-effects", + "name": "slope", + "constant": 1, + "content-attribute": "slope", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "exponent": { + "specs": "filter-effects", + "name": "exponent", + "constant": 1, + "content-attribute": "exponent", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "type": { + "content-attribute-enum-values": "identity table discrete linear gamma", + "specs": "filter-effects", + "name": "type", + "constant": 1, + "content-attribute": "type", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "amplitude": { + "specs": "filter-effects", + "name": "amplitude", + "constant": 1, + "content-attribute": "amplitude", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "offset": { + "specs": "filter-effects", + "name": "offset", + "constant": 1, + "content-attribute": "offset", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "intercept": { + "specs": "filter-effects", + "name": "intercept", + "constant": 1, + "content-attribute": "intercept", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_FECOMPONENTTRANSFER_TYPE_TABLE": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA": { + "specs": "filter-effects", + "value": "5", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR": { + "specs": "filter-effects", + "value": "4", + "exposed": "Window", + "name": "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "SVGViewElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGViewElement", + "properties": { + "property": { + "viewTarget": { + "specs": "svg11", + "name": "viewTarget", + "type-original": "SVGStringList", + "content-attribute": "viewTarget", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "space_separated_urls", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "SVGStringList", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "view" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFitToViewBox", + "SVGZoomAndPan" + ] + }, + "HTMLLinkElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLLinkElement", + "properties": { + "property": { + "rel": { + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next offline prefetch preload prev search section start stylesheet subsection shortcut_icon", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "rel", + "content-attribute": "rel", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "disabled": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "type-original": "boolean", + "content-attribute": "disabled", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "charset": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "charset", + "type-original": "DOMString", + "content-attribute": "charset", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "character_encoding", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "hreflang": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "hreflang", + "content-attribute": "hreflang", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "crossOrigin": { + "content-attribute-enum-values": "anonymous use-credentials", + "specs": "html5", + "ce-reactions": 1, + "name": "crossOrigin", + "content-attribute": "crossorigin", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "target": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "target", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "_blank _self _parent _top", + "name": "target", + "deprecated": 1, + "content-attribute-value-syntax": "name_ref", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "href": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "href", + "content-attribute": "href", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "media": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "media", + "content-attribute": "media", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "media_query", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "rev": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "rev", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", + "name": "rev", + "deprecated": 1, + "content-attribute-value-syntax": "space_separated_enums", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "integrity": { + "specs": "html5", + "ce-reactions": 1, + "name": "integrity", + "content-attribute": "integrity", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "link", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "error", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "follows": "readystatechange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "LinkStyle" + ] + }, + "PermissionRequestedEvent": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "PermissionRequestedEvent", + "properties": { + "property": { + "permissionRequest": { + "specs": "none", + "exposed": "Window", + "name": "permissionRequest", + "type": "PermissionRequest", + "type-original": "PermissionRequest", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "HTMLFontElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFontElement", + "properties": { + "property": { + "face": { + "specs": "html5", + "ce-reactions": 1, + "name": "face", + "content-attribute": "face", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "font_family", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "font" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "DOML2DeprecatedColorProperty", + "DOML2DeprecatedSizeProperty" + ] + }, + "WebGLProgram": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLProgram", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "SpeechSynthesisEvent": { + "specs": "speech-api", + "constructor": { + "specs": "speech-api", + "signature": [ + { + "param-min-required": 1, + "type": "SpeechSynthesisEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "SpeechSynthesisEventInit", + "optional": 1, + "type-original": "SpeechSynthesisEventInit" + } + ], + "type-original": "SpeechSynthesisEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "SpeechSynthesisEvent", + "properties": { + "property": { + "charLength": { + "extension": 1, + "specs": "none", + "name": "charLength", + "type-original": "unsigned long", + "interop": 1, + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "utterance": { + "specs": "speech-api", + "exposed": "Window", + "name": "utterance", + "type": "SpeechSynthesisUtterance", + "type-original": "SpeechSynthesisUtterance", + "read-only": 1 + }, + "name": { + "specs": "speech-api", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "charIndex": { + "specs": "speech-api", + "exposed": "Window", + "name": "charIndex", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "elapsedTime": { + "specs": "speech-api", + "exposed": "Window", + "name": "elapsedTime", + "type": "float", + "type-original": "float", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "WebGLObject": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLObject", + "extends": "Object", + "properties": { + "property": {} + } + }, + "CSSConditionRule": { + "constants": { + "constant": {} + }, + "specs": "css-conditional", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSConditionRule", + "extends": "CSSGroupingRule", + "properties": { + "property": { + "conditionText": { + "specs": "css-conditional", + "exposed": "Window", + "name": "conditionText", + "type": "DOMString", + "type-original": "DOMString" + } + } + } + }, + "HTMLOptionElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLOptionElement", + "named-constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 0, + "type": "HTMLOptionElement", + "param": [ + { + "name": "text", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "defaultSelected", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "name": "selected", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "HTMLOptionElement" + } + ], + "name": "Option" + }, + "properties": { + "property": { + "disabled": { + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "value": { + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "defaultSelected": { + "specs": "html5", + "ce-reactions": 1, + "name": "defaultSelected", + "content-attribute": "selected", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "form": { + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "index": { + "specs": "html5", + "exposed": "Window", + "name": "index", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "text": { + "specs": "html5", + "ce-reactions": 1, + "name": "text", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "label": { + "specs": "html5", + "ce-reactions": 1, + "name": "label", + "content-attribute": "label", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "selected": { + "specs": "html5", + "exposed": "Window", + "name": "selected", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "option" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLMapElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMapElement", + "properties": { + "property": { + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "areas": { + "specs": "html5", + "same-object": 1, + "name": "areas", + "constant": 1, + "type-original": "HTMLAreasCollection", + "exposed": "Window", + "type": "HTMLAreasCollection", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "map" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLMenuElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMenuElement", + "properties": { + "property": { + "compact": { + "specs": "html5", + "ce-reactions": 1, + "name": "compact", + "type-original": "boolean", + "content-attribute": "compact", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "type": { + "content-attribute-enum-values": "1 a A i I disc circle square", + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "menu" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "IDBTransaction": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBTransaction", + "properties": { + "property": { + "oncomplete": { + "specs": "indexeddb", + "name": "oncomplete", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "complete" + }, + "db": { + "specs": "indexeddb", + "exposed": "Window", + "name": "db", + "type": "IDBDatabase", + "type-original": "IDBDatabase", + "read-only": 1 + }, + "mode": { + "specs": "indexeddb", + "exposed": "Window", + "name": "mode", + "type": "IDBTransactionMode", + "type-original": "IDBTransactionMode", + "read-only": 1 + }, + "onerror": { + "specs": "indexeddb", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "error": { + "specs": "indexeddb", + "exposed": "Window", + "name": "error", + "type": "DOMError", + "type-original": "DOMError", + "read-only": 1 + }, + "onabort": { + "specs": "indexeddb", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + } + } + }, + "constants": { + "constant": { + "READ_ONLY": { + "specs": "indexeddb", + "value": "readonly", + "exposed": "Window", + "name": "READ_ONLY", + "type": "DOMString", + "type-original": "DOMString" + }, + "VERSION_CHANGE": { + "specs": "indexeddb", + "value": "versionchange", + "exposed": "Window", + "name": "VERSION_CHANGE", + "type": "DOMString", + "type-original": "DOMString" + }, + "READ_WRITE": { + "specs": "indexeddb", + "value": "readwrite", + "exposed": "Window", + "name": "READ_WRITE", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "IDB", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "IDB", + "name": "abort", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "IDB", + "name": "complete", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "abort" + }, + "objectStore": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBObjectStore", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "IDBObjectStore" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "objectStore" + } + } + }, + "extends": "EventTarget" + }, + "SVGPointList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint", + "type-original": "SVGPoint" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "replaceItem" + }, + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getItem" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint", + "type-original": "SVGPoint" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint", + "type-original": "SVGPoint" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGPoint", + "param": [ + { + "name": "newItem", + "type": "SVGPoint", + "type-original": "SVGPoint" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "insertItemBefore" + } + } + }, + "name": "SVGPointList", + "extends": "Object", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg2", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "HTMLTemplateElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTemplateElement", + "properties": { + "property": { + "content": { + "specs": "html5", + "exposed": "Window", + "name": "content", + "type": "DocumentFragment", + "type-original": "DocumentFragment", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "template" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "VideoPlaybackQuality": { + "constants": { + "constant": {} + }, + "specs": "media-source", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "VideoPlaybackQuality", + "extends": "Object", + "properties": { + "property": { + "corruptedVideoFrames": { + "specs": "media-source", + "exposed": "Window", + "name": "corruptedVideoFrames", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "totalFrameDelay": { + "specs": "media-source", + "exposed": "Window", + "name": "totalFrameDelay", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "creationTime": { + "specs": "media-source", + "exposed": "Window", + "name": "creationTime", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "totalVideoFrames": { + "specs": "media-source", + "exposed": "Window", + "name": "totalVideoFrames", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "droppedVideoFrames": { + "specs": "media-source", + "exposed": "Window", + "name": "droppedVideoFrames", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "TextTrackCueList": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "TextTrackCueList", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "tags": "Captions", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "Captions", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "TextTrackCue", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "TextTrackCue" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item", + "tags": "Captions" + }, + "getCueById": { + "signature": [ + { + "param-min-required": 1, + "type": "TextTrackCue", + "param": [ + { + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "TextTrackCue" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getCueById", + "tags": "Captions" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "SVGAnimatedLengthList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedLengthList", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGLengthList", + "exposed": "Window", + "type": "SVGLengthList", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGLengthList", + "exposed": "Window", + "type": "SVGLengthList", + "read-only": 1 + } + } + } + }, + "Window": { + "implicit-this": 1, + "specs": "html5", + "anonymous-methods": { + "method": [ + { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Window", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Window" + } + ], + "specs": "html5", + "name": "" + }, + { + "getter": 1, + "deprecated": 1, + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "type": "Window" + }, + { + "type": "Element" + }, + { + "type": "HTMLCollection" + } + ], + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "(Window or Element or HTMLCollection)" + } + ], + "specs": "html5", + "name": "" + } + ] + }, + "name": "Window", + "properties": { + "property": { + "onmouseleave": { + "specs": "html5", + "name": "onmouseleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseleave" + }, + "onmsgesturedoubletap": { + "specs": "html5", + "name": "onmsgesturedoubletap", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureDoubleTap" + }, + "devicePixelRatio": { + "specs": "cssom-view", + "name": "devicePixelRatio", + "type-original": "double", + "replaceable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "oncompassneedscalibration": { + "specs": "html5", + "name": "oncompassneedscalibration", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "compassneedscalibration" + }, + "isSecureContext": { + "specs": "SecureContext", + "exposed": "Window", + "name": "isSecureContext", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onvrdisplaydeactivate": { + "specs": "html5", + "name": "onvrdisplaydeactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplaydeactivate" + }, + "defaultStatus": { + "specs": "html5", + "exposed": "Window", + "name": "defaultStatus", + "type": "DOMString", + "store-in-slot": "instance", + "type-original": "DOMString" + }, + "onkeydown": { + "specs": "html5", + "name": "onkeydown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keydown" + }, + "onkeyup": { + "specs": "html5", + "name": "onkeyup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keyup" + }, + "onreset": { + "specs": "html5", + "name": "onreset", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "reset" + }, + "onpagehide": { + "specs": "html5", + "name": "onpagehide", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pagehide" + }, + "onmsgesturestart": { + "specs": "html5", + "name": "onmsgesturestart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureStart" + }, + "onvrdisplaypresentchange": { + "specs": "html5", + "name": "onvrdisplaypresentchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplaypresentchange" + }, + "ondragleave": { + "specs": "html5", + "name": "ondragleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragleave" + }, + "history": { + "specs": "html5", + "exposed": "Window", + "name": "history", + "type": "History", + "type-original": "History", + "read-only": 1 + }, + "pageXOffset": { + "specs": "cssom-view", + "name": "pageXOffset", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "msContentScript": { + "specs": "html5", + "name": "msContentScript", + "type-original": "ExtensionScriptApis", + "exposed": "Window", + "type": "ExtensionScriptApis", + "read-only": 1 + }, + "name": { + "specs": "html5", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + "onvrdisplaydisconnect": { + "specs": "html5", + "name": "onvrdisplaydisconnect", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplaydisconnect" + }, + "ondeviceorientation": { + "specs": "html5", + "name": "ondeviceorientation", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "deviceorientation" + }, + "onseeked": { + "specs": "html5", + "name": "onseeked", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeked" + }, + "ontouchstart": { + "specs": "html5", + "name": "ontouchstart", + "store-in-slot": "instance", + "type-original": "any", + "exposed": "Window", + "type": "any", + "event-handler": "touchstart" + }, + "onvrdisplayconnect": { + "specs": "webvr", + "name": "onvrdisplayconnect", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplayconnect" + }, + "ononline": { + "specs": "html5", + "name": "ononline", + "tags": "Offline", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "online" + }, + "ondevicemotion": { + "specs": "html5", + "name": "ondevicemotion", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "devicemotion" + }, + "ondurationchange": { + "specs": "html5", + "name": "ondurationchange", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "durationchange" + }, + "frames": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "frames", + "store-in-slot": "instance", + "type-original": "Window", + "replaceable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "onblur": { + "specs": "html5", + "name": "onblur", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blur" + }, + "onemptied": { + "specs": "html5", + "name": "onemptied", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "emptied" + }, + "onseeking": { + "specs": "html5", + "name": "onseeking", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeking" + }, + "oncanplay": { + "specs": "html5", + "name": "oncanplay", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplay" + }, + "onmspointerout": { + "specs": "html5", + "name": "onmspointerout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOut" + }, + "onoffline": { + "specs": "html5", + "name": "onoffline", + "tags": "Offline", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "offline" + }, + "length": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "length", + "type-original": "unsigned long", + "replaceable": 1, + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "ondevicelight": { + "specs": "html5", + "name": "ondevicelight", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "devicelight" + }, + "onmspointerover": { + "specs": "html5", + "name": "onmspointerover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOver" + }, + "onstorage": { + "specs": "html5", + "name": "onstorage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "storage" + }, + "onloadstart": { + "specs": "html5", + "name": "onloadstart", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + }, + "onmspointerdown": { + "specs": "html5", + "name": "onmspointerdown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerDown" + }, + "ondragenter": { + "specs": "html5", + "name": "ondragenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragenter" + }, + "onsubmit": { + "specs": "html5", + "name": "onsubmit", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "submit" + }, + "screenLeft": { + "specs": "html5", + "exposed": "Window", + "name": "screenLeft", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "scrollX": { + "specs": "cssom-view", + "name": "scrollX", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onchange": { + "specs": "html5", + "name": "onchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "change" + }, + "onmsgesturehold": { + "specs": "html5", + "name": "onmsgesturehold", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureHold" + }, + "onmspointercancel": { + "specs": "html5", + "name": "onmspointercancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerCancel" + }, + "parent": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "parent", + "type-original": "Window", + "replaceable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "onvrdisplayactivate": { + "specs": "html5", + "name": "onvrdisplayactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplayactivate" + }, + "oncanplaythrough": { + "specs": "html5", + "name": "oncanplaythrough", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplaythrough" + }, + "outerHeight": { + "specs": "cssom-view", + "name": "outerHeight", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "locationbar": { + "specs": "html5", + "name": "locationbar", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "onsuspend": { + "specs": "html5", + "name": "onsuspend", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "suspend" + }, + "status": { + "specs": "html5", + "exposed": "Window", + "name": "status", + "type": "DOMString", + "store-in-slot": "instance", + "type-original": "DOMString" + }, + "ontouchmove": { + "specs": "html5", + "name": "ontouchmove", + "store-in-slot": "instance", + "type-original": "any", + "exposed": "Window", + "type": "any", + "event-handler": "touchmove" + }, + "onmouseenter": { + "specs": "html5", + "name": "onmouseenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseenter" + }, + "crypto": { + "specs": "html5", + "exposed": "Window", + "name": "crypto", + "type": "Crypto", + "type-original": "Crypto", + "read-only": 1 + }, + "doNotTrack": { + "specs": "tracking-dnt", + "exposed": "Window", + "name": "doNotTrack", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "caches": { + "specs": "service-workers", + "same-object": 1, + "name": "caches", + "type-original": "CacheStorage", + "exposed": "Window", + "type": "CacheStorage", + "secure-context": 1, + "read-only": 1 + }, + "onvrdisplaypointerrestricted": { + "specs": "html5", + "name": "onvrdisplaypointerrestricted", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplaypointerrestricted" + }, + "closed": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "closed", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "ontouchcancel": { + "specs": "html5", + "name": "ontouchcancel", + "store-in-slot": "instance", + "type-original": "any", + "exposed": "Window", + "type": "any", + "event-handler": "touchcancel" + }, + "onmsgesturetap": { + "specs": "html5", + "name": "onmsgesturetap", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureTap" + }, + "onmouseout": { + "specs": "html5", + "name": "onmouseout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseout" + }, + "screenTop": { + "specs": "html5", + "exposed": "Window", + "name": "screenTop", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onunload": { + "specs": "html5", + "name": "onunload", + "tags": "NetworkAccess", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "unload" + }, + "screenY": { + "specs": "cssom-view", + "name": "screenY", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onmousewheel": { + "specs": "html5", + "name": "onmousewheel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousewheel" + }, + "onvolumechange": { + "specs": "html5", + "name": "onvolumechange", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "volumechange" + }, + "personalbar": { + "specs": "html5", + "name": "personalbar", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "ondragend": { + "specs": "html5", + "name": "ondragend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragend" + }, + "ondragover": { + "specs": "html5", + "name": "ondragover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragover" + }, + "clientInformation": { + "specs": "html5", + "exposed": "Window", + "name": "clientInformation", + "type": "Navigator", + "type-original": "Navigator", + "read-only": 1 + }, + "ondragstart": { + "specs": "html5", + "name": "ondragstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragstart" + }, + "onmouseup": { + "specs": "html5", + "name": "onmouseup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseup" + }, + "onmsgesturechange": { + "specs": "html5", + "name": "onmsgesturechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureChange" + }, + "ondrag": { + "specs": "html5", + "name": "ondrag", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drag" + }, + "screenX": { + "specs": "cssom-view", + "name": "screenX", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onvrdisplayblur": { + "specs": "html5", + "name": "onvrdisplayblur", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplayblur" + }, + "onmouseover": { + "specs": "html5", + "name": "onmouseover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseover" + }, + "toolbar": { + "specs": "html5", + "name": "toolbar", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "onpause": { + "specs": "html5", + "name": "onpause", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pause" + }, + "top": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "top", + "type-original": "Window", + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "onmousedown": { + "specs": "html5", + "name": "onmousedown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousedown" + }, + "opener": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "opener", + "type-original": "Window", + "replaceable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "innerHeight": { + "specs": "cssom-view", + "name": "innerHeight", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onclick": { + "specs": "html5", + "name": "onclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "click" + }, + "onwaiting": { + "specs": "html5", + "name": "onwaiting", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "waiting" + }, + "msCredentials": { + "specs": "webauthn", + "name": "msCredentials", + "type-original": "MSCredentials", + "exposed": "Window", + "type": "MSCredentials", + "read-only": 1 + }, + "onpageshow": { + "specs": "html5", + "name": "onpageshow", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pageshow" + }, + "outerWidth": { + "specs": "cssom-view", + "name": "outerWidth", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onstalled": { + "specs": "html5", + "name": "onstalled", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "stalled" + }, + "onmousemove": { + "specs": "html5", + "name": "onmousemove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousemove" + }, + "external": { + "specs": "html5", + "name": "external", + "type-original": "External", + "replaceable": 1, + "exposed": "Window", + "type": "External", + "read-only": 1 + }, + "innerWidth": { + "specs": "cssom-view", + "name": "innerWidth", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onmsinertiastart": { + "specs": "html5", + "name": "onmsinertiastart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSInertiaStart" + }, + "statusbar": { + "specs": "html5", + "name": "statusbar", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "screen": { + "specs": "cssom-view", + "exposed": "Window", + "name": "screen", + "type": "Screen", + "type-original": "Screen", + "read-only": 1 + }, + "onbeforeunload": { + "specs": "html5", + "name": "onbeforeunload", + "tags": "NetworkAccess", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforeunload" + }, + "onmspointerenter": { + "specs": "html5", + "name": "onmspointerenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerEnter" + }, + "onratechange": { + "specs": "html5", + "name": "onratechange", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ratechange" + }, + "onpopstate": { + "specs": "html5", + "name": "onpopstate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "popstate" + }, + "onmspointerleave": { + "specs": "html5", + "name": "onmspointerleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerLeave" + }, + "browser": { + "specs": "none", + "name": "browser", + "type-original": "BhxBrowser", + "replaceable": 1, + "exposed": "Window", + "type": "BhxBrowser", + "read-only": 1 + }, + "document": { + "property-descriptor-not-configurable": 1, + "pure": 1, + "specs": "html5", + "name": "document", + "store-in-slot": "instance", + "type-original": "Document", + "unforgeable": 1, + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "self": { + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "self", + "constant": 1, + "store-in-slot": "instance", + "type-original": "Window", + "replaceable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "onprogress": { + "specs": "html5", + "name": "onprogress", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "oninvalid": { + "specs": "html5", + "name": "oninvalid", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "invalid" + }, + "ondblclick": { + "specs": "html5", + "name": "ondblclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dblclick" + }, + "pageYOffset": { + "specs": "cssom-view", + "name": "pageYOffset", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "oncontextmenu": { + "specs": "html5", + "name": "oncontextmenu", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "contextmenu" + }, + "onloadedmetadata": { + "specs": "html5", + "name": "onloadedmetadata", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadedmetadata" + }, + "onmspointermove": { + "specs": "html5", + "name": "onmspointermove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerMove" + }, + "scrollY": { + "specs": "cssom-view", + "name": "scrollY", + "type-original": "long", + "replaceable": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "tags": "Exceptions", + "type-original": "ErrorEventHandler", + "exposed": "Window", + "type": "ErrorEventHandler", + "event-handler": "error" + }, + "onplay": { + "specs": "html5", + "name": "onplay", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "play" + }, + "onplaying": { + "specs": "html5", + "name": "onplaying", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "playing" + }, + "menubar": { + "specs": "html5", + "name": "menubar", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "location": { + "property-descriptor-not-configurable": 1, + "put-forwards": "href", + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "location", + "type-original": "Location", + "unforgeable": 1, + "exposed": "Window", + "type": "Location", + "read-only": 1 + }, + "onmsgestureend": { + "specs": "html5", + "name": "onmsgestureend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureEnd" + }, + "event": { + "specs": "html5", + "exposed": "Window", + "name": "event", + "type": "Event", + "store-in-slot": "instance", + "type-original": "Event" + }, + "onabort": { + "specs": "html5", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "onorientationchange": { + "specs": "html5", + "name": "onorientationchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "orientationchange" + }, + "onreadystatechange": { + "specs": "html5", + "name": "onreadystatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "readystatechange" + }, + "onkeypress": { + "specs": "html5", + "name": "onkeypress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keypress" + }, + "frameElement": { + "specs": "html5", + "name": "frameElement", + "tags": "TreeNavigation", + "type-original": "Element", + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "onvrdisplaypointerunrestricted": { + "specs": "html5", + "name": "onvrdisplaypointerunrestricted", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplaypointerunrestricted" + }, + "onmspointerup": { + "specs": "html5", + "name": "onmspointerup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerUp" + }, + "onloadeddata": { + "specs": "html5", + "name": "onloadeddata", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadeddata" + }, + "window": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "do-not-check-domain-security": 1, + "name": "window", + "constant": 1, + "store-in-slot": "instance", + "type-original": "Window", + "unforgeable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "orientation": { + "specs": "html5", + "name": "orientation", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "offscreenBuffering": { + "specs": "html5", + "exposed": "Window", + "name": "offscreenBuffering", + "type": [ + { + "type": "DOMString" + }, + { + "type": "boolean" + } + ], + "type-original": "(DOMString or boolean)" + }, + "onfocus": { + "specs": "html5", + "name": "onfocus", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focus" + }, + "ontouchend": { + "specs": "html5", + "name": "ontouchend", + "store-in-slot": "instance", + "type-original": "any", + "exposed": "Window", + "type": "any", + "event-handler": "touchend" + }, + "onmessage": { + "specs": "html5", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "message" + }, + "ontimeupdate": { + "specs": "html5", + "name": "ontimeupdate", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "timeupdate" + }, + "onresize": { + "specs": "html5", + "name": "onresize", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "resize" + }, + "navigator": { + "specs": "html5", + "exposed": "Window", + "name": "navigator", + "type": "Navigator", + "type-original": "Navigator", + "read-only": 1 + }, + "styleMedia": { + "specs": "none", + "exposed": "Window", + "name": "styleMedia", + "type": "StyleMedia", + "type-original": "StyleMedia", + "read-only": 1 + }, + "onselect": { + "specs": "html5", + "name": "onselect", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "select" + }, + "ondrop": { + "specs": "html5", + "name": "ondrop", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drop" + }, + "scrollbars": { + "specs": "html5", + "name": "scrollbars", + "type-original": "BarProp", + "replaceable": 1, + "exposed": "Window", + "type": "BarProp", + "read-only": 1 + }, + "onended": { + "specs": "html5", + "name": "onended", + "tags": "Media", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "applicationCache": { + "specs": "html5", + "name": "applicationCache", + "tags": "Offline", + "type-original": "ApplicationCache", + "exposed": "Window", + "type": "ApplicationCache", + "read-only": 1 + }, + "onhashchange": { + "specs": "html5", + "name": "onhashchange", + "tags": "Offline", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "hashchange" + }, + "onvrdisplayfocus": { + "specs": "html5", + "name": "onvrdisplayfocus", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "vrdisplayfocus" + }, + "onscroll": { + "specs": "html5", + "name": "onscroll", + "tags": "CSSOM", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll" + }, + "speechSynthesis": { + "specs": "speech-api", + "exposed": "Window", + "name": "speechSynthesis", + "type": "SpeechSynthesis", + "type-original": "SpeechSynthesis", + "read-only": 1 + }, + "onload": { + "specs": "html5", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "oninput": { + "specs": "html5", + "name": "oninput", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "input" + }, + "performance": { + "pure": 1, + "specs": "html5", + "name": "performance", + "type-original": "Performance", + "replaceable": 1, + "exposed": "Window", + "type": "Performance", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "primary-global": "Window", + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "alternate-target": "Document", + "name": "load", + "follows": "DOMContentLoaded readystatechange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "svg11", + "name": "SVGUnload", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "unload", + "follows": "beforeunload", + "type": "Event" + }, + { + "precedes": "unload", + "dispatch": "sync", + "specs": "HTML5", + "name": "beforeunload", + "type": "BeforeUnloadEvent", + "cancelable": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "hashchange", + "type": "HashChangeEvent" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "popstate", + "type": "PopStateEvent" + }, + { + "dispatch": "sync", + "specs": "svg11", + "name": "SVGResize", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "resize", + "type": "UIEvent" + }, + { + "precedes": "afterprint", + "dispatch": "sync", + "specs": "HTML5", + "name": "beforeprint", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "afterprint", + "follows": "beforeprint", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "focus", + "type": "FocusEvent" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "blur", + "type": "FocusEvent" + }, + { + "dispatch": "sync", + "specs": "Storage", + "name": "storage", + "type": "StorageEvent" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "ErrorEvent" + }, + { + "dispatch": "async", + "specs": "PostMsg", + "name": "message", + "type": "MessageEvent" + }, + { + "dispatch": "async", + "specs": "Orient", + "name": "orientationchange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "Orient", + "name": "deviceorientation", + "type": "DeviceOrientationEvent", + "tags": "NotOnWin7" + }, + { + "dispatch": "sync", + "specs": "Orient", + "name": "devicemotion", + "type": "DeviceMotionEvent", + "tags": "NotOnWin7" + }, + { + "dispatch": "sync", + "specs": "Light", + "name": "devicelight", + "type": "DeviceLightEvent", + "tags": "NotOnWin7" + }, + { + "dispatch": "async", + "specs": "Orient", + "name": "compassneedscalibration", + "type": "Event", + "tags": "NotOnWin7" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "pageshow", + "type": "PageTransitionEvent" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "pagehide", + "type": "PageTransitionEvent" + }, + { + "dispatch": "sync", + "specs": "GamePad", + "name": "gamepadconnected", + "type": "GamepadEvent" + }, + { + "dispatch": "sync", + "specs": "GamePad", + "name": "gamepaddisconnected", + "type": "GamepadEvent" + }, + { + "dispatch": "sync", + "specs": "none", + "name": "navigatingfocus", + "type": "FocusNavigationEvent" + }, + { + "dispatch": "sync", + "specs": "WebVR", + "name": "onvrdisplayconnected", + "type": "VRDisplayEvent " + }, + { + "dispatch": "sync", + "specs": "WebVR", + "name": "onvrdisplaydisconnected", + "type": "VRDisplayEvent " + }, + { + "dispatch": "sync", + "specs": "WebVR", + "name": "onvrdisplaypresentchange", + "type": "VRDisplayEvent " + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "scroll": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "scroll" + }, + "captureEvents": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "captureEvents" + }, + "scrollTo": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollTo" + }, + "focus": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "do-not-check-domain-security": 1, + "exposed": "Window", + "name": "focus" + }, + "releaseEvents": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "releaseEvents" + }, + "resizeTo": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "resizeTo" + }, + "scrollBy": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollBy" + }, + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "do-not-check-domain-security": 1, + "exposed": "Window", + "name": "close" + }, + "confirm": { + "signature": [ + { + "param-min-required": 0, + "type": "boolean", + "param": [ + { + "name": "message", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "confirm" + }, + "matchMedia": { + "signature": [ + { + "param-min-required": 1, + "type": "MediaQueryList", + "param": [ + { + "name": "mediaQuery", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "MediaQueryList" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "matchMedia" + }, + "cancelAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "animation-timing", + "exposed": "Window", + "name": "cancelAnimationFrame", + "tags": "Timers" + }, + "webkitConvertPointFromNodeToPage": { + "signature": [ + { + "param-min-required": 2, + "type": "WebKitPoint", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "pt", + "type": "WebKitPoint", + "type-original": "WebKitPoint" + } + ], + "type-original": "WebKitPoint" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "webkitConvertPointFromNodeToPage", + "tags": "CSSOM" + }, + "moveTo": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "moveTo" + }, + "webkitRequestAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "callback", + "type": "FrameRequestCallback", + "type-original": "FrameRequestCallback" + } + ], + "type-original": "long" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "webkitRequestAnimationFrame" + }, + "blur": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "do-not-check-domain-security": 1, + "exposed": "Window", + "name": "blur" + }, + "moveBy": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "moveBy" + }, + "alert": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "alert" + }, + "resizeBy": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "x", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "y", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "resizeBy" + }, + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "stop" + }, + "getMatchedCSSRules": { + "signature": [ + { + "param-min-required": 1, + "type": "CSSRuleList", + "param": [ + { + "name": "elt", + "type": "Element", + "type-original": "Element" + }, + { + "nullable": 1, + "name": "pseudoElt", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "CSSRuleList" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getMatchedCSSRules" + }, + "requestAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "callback", + "type": "FrameRequestCallback", + "type-original": "FrameRequestCallback" + } + ], + "type-original": "long" + } + ], + "specs": "animation-timing", + "exposed": "Window", + "name": "requestAnimationFrame", + "tags": "Timers" + }, + "prompt": { + "signature": [ + { + "nullable": 1, + "param-min-required": 0, + "type": "DOMString", + "param": [ + { + "name": "message", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "default", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "prompt" + }, + "msWriteProfilerMark": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "profilerMarkName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "msWriteProfilerMark" + }, + "open": { + "signature": [ + { + "param-min-required": 0, + "type": "Window", + "param": [ + { + "name": "url", + "default": "\"about:blank\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "target", + "default": "\"_blank\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "features", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "replace", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "Window" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "open" + }, + "webkitConvertPointFromPageToNode": { + "signature": [ + { + "param-min-required": 2, + "type": "WebKitPoint", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "pt", + "type": "WebKitPoint", + "type-original": "WebKitPoint" + } + ], + "type-original": "WebKitPoint" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "webkitConvertPointFromPageToNode", + "tags": "CSSOM" + }, + "departFocus": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "navigationReason", + "type": "NavigationReason", + "type-original": "NavigationReason" + }, + { + "name": "origin", + "type": "FocusNavigationOrigin", + "type-original": "FocusNavigationOrigin" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "departFocus" + }, + "postMessage": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "type-original": "any" + }, + { + "name": "targetOrigin", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webmessaging", + "do-not-check-domain-security": 1, + "exposed": "Window", + "name": "postMessage" + }, + "webkitCancelAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "webkitCancelAnimationFrame" + }, + "getSelection": { + "signature": [ + { + "type": "Selection", + "type-original": "Selection" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "getSelection" + }, + "getComputedStyle": { + "specs": "cssom", + "signature": [ + { + "new-object": 1, + "param-min-required": 1, + "type": "CSSStyleDeclaration", + "param": [ + { + "name": "elt", + "type": "Element", + "type-original": "Element" + }, + { + "nullable": 1, + "name": "pseudoElt", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString?" + } + ], + "type-original": "CSSStyleDeclaration" + } + ], + "name": "getComputedStyle", + "exposed": "Window" + } + } + }, + "extends": "EventTarget", + "implements": [ + "WindowTimers", + "WindowSessionStorage", + "WindowLocalStorage", + "WindowConsole", + "GlobalEventHandlers", + "IDBEnvironment", + "WindowBase64", + "GlobalFetch" + ] + }, + "SVGFETurbulenceElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFETurbulenceElement", + "properties": { + "property": { + "baseFrequencyX": { + "specs": "filter-effects", + "name": "baseFrequencyX", + "constant": 1, + "content-attribute": "baseFrequency", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "numOctaves": { + "specs": "filter-effects", + "name": "numOctaves", + "constant": 1, + "content-attribute": "numOctaves", + "type-original": "SVGAnimatedInteger", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "type": { + "content-attribute-enum-values": "turbulence fractalNoise", + "specs": "filter-effects", + "name": "type", + "constant": 1, + "content-attribute": "type", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "stitchTiles": { + "content-attribute-enum-values": "noStitch stitch", + "specs": "filter-effects", + "name": "stitchTiles", + "constant": 1, + "content-attribute": "stitchTiles", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "baseFrequencyY": { + "specs": "filter-effects", + "name": "baseFrequencyY", + "constant": 1, + "content-attribute": "baseFrequency", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "seed": { + "specs": "filter-effects", + "name": "seed", + "constant": 1, + "content-attribute": "seed", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feTurbulence" + } + ], + "constants": { + "constant": { + "SVG_STITCHTYPE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_STITCHTYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_STITCHTYPE_NOSTITCH": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_STITCHTYPE_NOSTITCH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TURBULENCE_TYPE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_TURBULENCE_TYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TURBULENCE_TYPE_TURBULENCE": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_TURBULENCE_TYPE_TURBULENCE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_STITCHTYPE_STITCH": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_STITCHTYPE_STITCH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TURBULENCE_TYPE_FRACTALNOISE": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_TURBULENCE_TYPE_FRACTALNOISE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGAnimatedPreserveAspectRatio": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedPreserveAspectRatio", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGPreserveAspectRatio", + "exposed": "Window", + "type": "SVGPreserveAspectRatio", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGPreserveAspectRatio", + "exposed": "Window", + "type": "SVGPreserveAspectRatio", + "read-only": 1 + } + } + } + }, + "PushSubscriptionChangeEvent": { + "specs": "push-api", + "constructor": { + "specs": "push-api", + "signature": [ + { + "param-min-required": 1, + "type": "PushSubscriptionChangeEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PushSubscriptionChangeInit", + "optional": 1, + "type-original": "PushSubscriptionChangeInit" + } + ], + "type-original": "PushSubscriptionChangeEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PushSubscriptionChangeEvent", + "properties": { + "property": { + "newSubscription": { + "specs": "push-api", + "name": "newSubscription", + "type-original": "PushSubscription?", + "nullable": 1, + "exposed": "Worker", + "type": "PushSubscription", + "read-only": 1 + }, + "oldSubscription": { + "specs": "push-api", + "name": "oldSubscription", + "type-original": "PushSubscription?", + "nullable": 1, + "exposed": "Worker", + "type": "PushSubscription", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "ExtendableEvent" + }, + "Console": { + "constants": { + "constant": {} + }, + "specs": "whatwg-console", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "profile": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "reportName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "profile", + "exposed": "Window Worker Worklet" + }, + "groupEnd": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "groupEnd" + }, + "assert": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "condition", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "assert" + }, + "timeEnd": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "default": "\"default\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "timeEnd" + }, + "time": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "default": "\"default\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "time" + }, + "table": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "tabularData", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "table" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "clear" + }, + "timeStamp": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "timeStamp", + "exposed": "Window Worker Worklet" + }, + "timelineEnd": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "timelineEnd", + "exposed": "Window Worker Worklet" + }, + "timeline": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "timeline", + "exposed": "Window Worker Worklet" + }, + "dir": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "item", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "variadic": 1, + "name": "options", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "dir" + }, + "trace": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "trace" + }, + "group": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "groupTitle", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "group" + }, + "markTimeline": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "markTimeline", + "exposed": "Window Worker Worklet" + }, + "warn": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "warn" + }, + "dirxml": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "dirxml" + }, + "debug": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "debug" + }, + "error": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "error" + }, + "log": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "log" + }, + "select": { + "extension": 1, + "specs": "none-ms-console", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "name": "select", + "exposed": "Window Worker Worklet" + }, + "profileEnd": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "profileEnd", + "exposed": "Window Worker Worklet" + }, + "info": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "info" + }, + "count": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "label", + "default": "\"default\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "count" + }, + "msIsIndependentlyComposed": { + "extension": 1, + "specs": "none-ms-console", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "boolean" + } + ], + "name": "msIsIndependentlyComposed", + "exposed": "Window Worker Worklet" + }, + "exception": { + "extension": 1, + "interop": 1, + "specs": "none-console", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "optionalParams", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "name": "exception", + "exposed": "Window Worker Worklet" + }, + "groupCollapsed": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "groupTitle", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-console", + "exposed": "Window Worker Worklet", + "name": "groupCollapsed" + } + } + }, + "exposed": "Window Worker Worklet", + "name": "Console", + "extends": "Object", + "properties": { + "property": { + "memory": { + "extension": 1, + "specs": "none-console", + "name": "memory", + "exposed": "Window Worker Worklet", + "type": "object", + "type-original": "object" + } + } + } + }, + "SVGFESpotLightElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFESpotLightElement", + "properties": { + "property": { + "pointsAtZ": { + "specs": "filter-effects", + "name": "pointsAtZ", + "constant": 1, + "content-attribute": "pointsAtZ", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "filter-effects", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "pointsAtX": { + "specs": "filter-effects", + "name": "pointsAtX", + "constant": 1, + "content-attribute": "pointsAtX", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "filter-effects", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "pointsAtY": { + "specs": "filter-effects", + "name": "pointsAtY", + "constant": 1, + "content-attribute": "pointsAtY", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "specularExponent": { + "specs": "filter-effects", + "name": "specularExponent", + "constant": 1, + "content-attribute": "specularExponent", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "limitingConeAngle": { + "specs": "filter-effects", + "name": "limitingConeAngle", + "constant": 1, + "content-attribute": "limitingConeAngle", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "z": { + "specs": "filter-effects", + "name": "z", + "constant": 1, + "content-attribute": "z", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feSpotLight" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "HTMLImageElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLImageElement", + "named-constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 0, + "type": "HTMLImageElement", + "param": [ + { + "name": "width", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "HTMLImageElement" + } + ], + "name": "Image" + }, + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "msPlayToPrimary": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPrimary", + "type-original": "boolean", + "content-attribute": "x-ms-playtoprimary", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "currentSrc": { + "specs": "html5", + "exposed": "Window", + "name": "currentSrc", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "msPlayToDisabled": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToDisabled", + "type-original": "boolean", + "content-attribute": "x-ms-playtodisabled", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "x": { + "specs": "cssom-view-1", + "name": "x", + "exposed": "Window", + "type": "long", + "read-only": 1, + "type-original": "long" + }, + "y": { + "specs": "cssom-view-1", + "name": "y", + "exposed": "Window", + "type": "long", + "read-only": 1, + "type-original": "long" + }, + "msPlayToSource": { + "extension": 1, + "specs": "none", + "name": "msPlayToSource", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "lowsrc": { + "specs": "html5", + "ce-reactions": 1, + "name": "lowsrc", + "type-original": "USVString", + "content-attribute": "lowsrc", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "USVString" + }, + "vspace": { + "specs": "html5", + "ce-reactions": 1, + "name": "vspace", + "type-original": "unsigned long", + "content-attribute": "vspace", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "msPlayToPreferredSourceUri": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPreferredSourceUri", + "type-original": "DOMString", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "naturalHeight": { + "specs": "html5", + "name": "naturalHeight", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "alt": { + "specs": "html5", + "ce-reactions": 1, + "name": "alt", + "content-attribute": "alt", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "srcset": { + "specs": "html5", + "ce-reactions": 1, + "name": "srcset", + "content-attribute": "srcset", + "type-original": "USVString", + "content-attribute-value-syntax": "image_candidates", + "exposed": "Window", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "align": { + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "src": { + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "name": { + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "type-original": "DOMString", + "content-attribute": "name", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "useMap": { + "specs": "html5", + "ce-reactions": 1, + "name": "useMap", + "content-attribute": "usemap", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "hash_name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "naturalWidth": { + "specs": "html5", + "name": "naturalWidth", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "sizes": { + "specs": "html5", + "ce-reactions": 1, + "name": "sizes", + "content-attribute": "sizes", + "type-original": "DOMString", + "content-attribute-value-syntax": "image_sizes", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "height": { + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "border": { + "specs": "html5", + "ce-reactions": 1, + "name": "border", + "type-original": "DOMString", + "content-attribute": "border", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "crossOrigin": { + "content-attribute-enum-values": "anonymous use-credentials", + "specs": "html5", + "ce-reactions": 1, + "name": "crossOrigin", + "content-attribute": "crossorigin", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "longDesc": { + "specs": "html-longdesc", + "ce-reactions": 1, + "name": "longDesc", + "type-original": "USVString", + "content-attribute": "longdesc", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "USVString" + }, + "hspace": { + "specs": "html5", + "ce-reactions": 1, + "name": "hspace", + "type-original": "unsigned long", + "content-attribute": "hspace", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "isMap": { + "specs": "html5", + "ce-reactions": 1, + "name": "isMap", + "content-attribute": "ismap", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "complete": { + "specs": "html5", + "name": "complete", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "img", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "Event" + } + ] + }, + "methods": { + "method": { + "msGetAsCastingSource": { + "extension": 1, + "specs": "none", + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "name": "msGetAsCastingSource", + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "CanvasGradient": { + "constants": { + "constant": {} + }, + "specs": "2dcontext", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "addColorStop": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "offset", + "type": "float", + "type-original": "float" + }, + { + "name": "color", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "addColorStop" + } + } + }, + "name": "CanvasGradient", + "extends": "Object", + "properties": { + "property": {} + } + }, + "ANGLE_instanced_arrays": { + "constants": { + "constant": { + "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE": { + "specs": "webgl", + "value": "0x88FE", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "vertexAttribDivisorANGLE": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "divisor", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttribDivisorANGLE" + }, + "drawArraysInstancedANGLE": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "first", + "type": "long", + "type-original": "GLint" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "primcount", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "drawArraysInstancedANGLE" + }, + "drawElementsInstancedANGLE": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + }, + { + "name": "primcount", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "drawElementsInstancedANGLE" + } + } + }, + "name": "ANGLE_instanced_arrays", + "extends": "Object", + "properties": { + "property": {} + } + }, + "MediaStream": { + "specs": "media-capture-api", + "constructor": { + "specs": "media-capture-api", + "signature": [ + { + "type": "MediaStream", + "type-original": "MediaStream" + }, + { + "param-min-required": 1, + "type": "MediaStream", + "param": [ + { + "name": "stream", + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "type-original": "MediaStream" + }, + { + "param-min-required": 1, + "type": "MediaStream", + "param": [ + { + "subtype": { + "type": "MediaStreamTrack" + }, + "name": "tracks", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "MediaStream" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaStream", + "properties": { + "property": { + "oninactive": { + "specs": "media-capture-api", + "name": "oninactive", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "inactive" + }, + "onremovetrack": { + "specs": "media-capture-api", + "name": "onremovetrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "removetrack" + }, + "onaddtrack": { + "specs": "media-capture-api", + "name": "onaddtrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "addtrack" + }, + "onactive": { + "specs": "media-capture-api", + "name": "onactive", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "active" + }, + "active": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "active", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "id": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "active", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "inactive", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "addtrack", + "type": "MediaStreamTrackEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "removetrack", + "type": "MediaStreamTrackEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "addTrack": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack" + } + ], + "type-original": "void" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "addTrack" + }, + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "stop" + }, + "getTrackById": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "MediaStreamTrack", + "param": [ + { + "name": "trackId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "MediaStreamTrack?" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getTrackById" + }, + "getVideoTracks": { + "signature": [ + { + "subtype": { + "type": "MediaStreamTrack" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getVideoTracks" + }, + "clone": { + "signature": [ + { + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "clone" + }, + "removeTrack": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack" + } + ], + "type-original": "void" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "removeTrack" + }, + "getAudioTracks": { + "signature": [ + { + "subtype": { + "type": "MediaStreamTrack" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getAudioTracks" + }, + "getTracks": { + "signature": [ + { + "subtype": { + "type": "MediaStreamTrack" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getTracks" + } + } + }, + "extends": "EventTarget" + }, + "Cache": { + "constants": { + "constant": {} + }, + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "keys": { + "signature": [ + { + "new-object": 1, + "subtype": { + "subtype": { + "type": "Request" + }, + "type": "sequence" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "optional": 1, + "type-original": "RequestInfo" + }, + { + "name": "options", + "type": "CacheQueryOptions", + "optional": 1, + "type-original": "CacheQueryOptions" + } + ], + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "keys" + }, + "add": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "add" + }, + "delete": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "boolean" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + }, + { + "name": "options", + "type": "CacheQueryOptions", + "optional": 1, + "type-original": "CacheQueryOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "delete" + }, + "match": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "Response" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + }, + { + "name": "options", + "type": "CacheQueryOptions", + "optional": 1, + "type-original": "CacheQueryOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "match" + }, + "put": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + }, + { + "name": "response", + "type": "Response", + "type-original": "Response" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "put" + }, + "addAll": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "subtype": { + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ] + }, + "name": "requests", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "addAll" + }, + "matchAll": { + "signature": [ + { + "new-object": 1, + "subtype": { + "subtype": { + "type": "Response" + }, + "type": "sequence" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "optional": 1, + "type-original": "RequestInfo" + }, + { + "name": "options", + "type": "CacheQueryOptions", + "optional": 1, + "type-original": "CacheQueryOptions" + } + ], + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "matchAll" + } + } + }, + "name": "Cache", + "extends": "Object", + "properties": { + "property": {} + } + }, + "Document": { + "specs": "dom4", + "anonymous-methods": { + "method": [ + { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "type": "Window" + }, + { + "type": "Element" + }, + { + "type": "HTMLCollection" + } + ], + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "(Window or Element or HTMLCollection)" + } + ], + "specs": "dom4", + "name": "" + } + ] + }, + "name": "Document", + "properties": { + "property": { + "webkitFullscreenElement": { + "specs": "fullscreen", + "name": "webkitFullscreenElement", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "onmsgesturedoubletap": { + "specs": "dom4", + "name": "onmsgesturedoubletap", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureDoubleTap" + }, + "fullscreenEnabled": { + "specs": "fullscreen", + "name": "fullscreenEnabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "onkeydown": { + "specs": "dom4", + "name": "onkeydown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keydown" + }, + "onkeyup": { + "specs": "dom4", + "name": "onkeyup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keyup" + }, + "implementation": { + "specs": "dom4", + "name": "implementation", + "type-original": "DOMImplementation", + "exposed": "Window", + "type": "DOMImplementation", + "read-only": 1 + }, + "onreset": { + "specs": "dom4", + "name": "onreset", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "reset" + }, + "scripts": { + "specs": "dom4", + "name": "scripts", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "onmsgesturestart": { + "specs": "dom4", + "name": "onmsgesturestart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureStart" + }, + "ondragleave": { + "specs": "dom4", + "name": "ondragleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragleave" + }, + "charset": { + "specs": "dom4", + "name": "charset", + "tags": "Parsing", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "webkitCurrentFullScreenElement": { + "specs": "fullscreen", + "name": "webkitCurrentFullScreenElement", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "vlinkColor": { + "specs": "dom4", + "ce-reactions": 1, + "name": "vlinkColor", + "tags": "CSSOM", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "onseeked": { + "specs": "dom4", + "name": "onseeked", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeked" + }, + "ontouchstart": { + "specs": "dom4", + "name": "ontouchstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "touchstart" + }, + "title": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "title", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "embeds": { + "specs": "dom4", + "name": "embeds", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "styleSheets": { + "specs": "cssom", + "same-object": 1, + "name": "styleSheets", + "constant": 1, + "type-original": "StyleSheetList", + "exposed": "Window", + "type": "StyleSheetList", + "read-only": 1 + }, + "ondurationchange": { + "specs": "dom4", + "name": "ondurationchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "durationchange" + }, + "all": { + "specs": "dom4", + "name": "all", + "tags": "TreeNavigation", + "type-original": "HTMLAllCollection", + "exposed": "Window", + "type": "HTMLAllCollection", + "read-only": 1 + }, + "forms": { + "specs": "dom4", + "name": "forms", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "onblur": { + "specs": "dom4", + "name": "onblur", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blur" + }, + "dir": { + "pure": 1, + "specs": "dom4", + "ce-reactions": 1, + "name": "dir", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "onmscontentzoom": { + "specs": "dom4", + "name": "onmscontentzoom", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSContentZoom" + }, + "onemptied": { + "specs": "dom4", + "name": "onemptied", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "emptied" + }, + "designMode": { + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "designMode", + "type": "DOMString", + "type-original": "DOMString" + }, + "onseeking": { + "specs": "dom4", + "name": "onseeking", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeking" + }, + "ondeactivate": { + "specs": "dom4", + "name": "ondeactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "deactivate" + }, + "oncanplay": { + "specs": "dom4", + "name": "oncanplay", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplay" + }, + "onmspointerout": { + "specs": "dom4", + "name": "onmspointerout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOut" + }, + "onmspointerover": { + "specs": "dom4", + "name": "onmspointerover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerOver" + }, + "URLUnencoded": { + "property-descriptor-not-configurable": 1, + "specs": "dom4", + "name": "URLUnencoded", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onloadstart": { + "specs": "dom4", + "name": "onloadstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + }, + "onmspointerdown": { + "specs": "dom4", + "name": "onmspointerdown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerDown" + }, + "defaultView": { + "pure": 1, + "specs": "dom4", + "name": "defaultView", + "type-original": "Window", + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "ondragenter": { + "specs": "dom4", + "name": "ondragenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragenter" + }, + "onsubmit": { + "specs": "dom4", + "name": "onsubmit", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "submit" + }, + "inputEncoding": { + "specs": "dom4", + "name": "inputEncoding", + "tags": "Parsing", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "activeElement": { + "specs": "dom4", + "exposed": "Window", + "name": "activeElement", + "type": "Element", + "type-original": "Element", + "read-only": 1 + }, + "onchange": { + "specs": "dom4", + "name": "onchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "change" + }, + "onmsgesturehold": { + "specs": "dom4", + "name": "onmsgesturehold", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureHold" + }, + "links": { + "specs": "dom4", + "name": "links", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "URL": { + "property-descriptor-not-configurable": 1, + "pure": 1, + "specs": "dom4", + "name": "URL", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onmspointercancel": { + "specs": "dom4", + "name": "onmspointercancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerCancel" + }, + "onbeforeactivate": { + "specs": "dom4", + "name": "onbeforeactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforeactivate" + }, + "head": { + "specs": "dom4", + "name": "head", + "tags": "TreeNavigation", + "type-original": "HTMLHeadElement", + "exposed": "Window", + "type": "HTMLHeadElement", + "read-only": 1 + }, + "cookie": { + "specs": "dom4", + "name": "cookie", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "xmlEncoding": { + "specs": "dom4", + "name": "xmlEncoding", + "tags": "Parsing", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "oncanplaythrough": { + "specs": "dom4", + "name": "oncanplaythrough", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplaythrough" + }, + "characterSet": { + "pure": 1, + "specs": "dom4", + "name": "characterSet", + "tags": "Parsing", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "anchors": { + "specs": "dom4", + "name": "anchors", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "fullscreenElement": { + "specs": "fullscreen", + "name": "fullscreenElement", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "plugins": { + "specs": "dom4", + "name": "plugins", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "onsuspend": { + "specs": "dom4", + "name": "onsuspend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "suspend" + }, + "rootElement": { + "specs": "dom4", + "name": "rootElement", + "type-original": "SVGSVGElement", + "exposed": "Window", + "type": "SVGSVGElement", + "read-only": 1 + }, + "readyState": { + "specs": "dom4", + "exposed": "Window", + "name": "readyState", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "referrer": { + "property-descriptor-not-configurable": 1, + "specs": "dom4", + "name": "referrer", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "alinkColor": { + "specs": "dom4", + "ce-reactions": 1, + "name": "alinkColor", + "tags": "CSSOM", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "ontouchmove": { + "specs": "dom4", + "name": "ontouchmove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "touchmove" + }, + "ontouchcancel": { + "specs": "dom4", + "name": "ontouchcancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "touchcancel" + }, + "onmsgesturetap": { + "specs": "dom4", + "name": "onmsgesturetap", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureTap" + }, + "onmouseout": { + "specs": "dom4", + "name": "onmouseout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseout" + }, + "onmsthumbnailclick": { + "specs": "dom4", + "name": "onmsthumbnailclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "msthumbnailclick" + }, + "onmousewheel": { + "specs": "dom4", + "name": "onmousewheel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousewheel" + }, + "onvolumechange": { + "specs": "dom4", + "name": "onvolumechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "volumechange" + }, + "hidden": { + "specs": "page-visibility", + "exposed": "Window", + "name": "hidden", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "scrollingElement": { + "specs": "cssom-view", + "name": "scrollingElement", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "xmlVersion": { + "specs": "dom4", + "name": "xmlVersion", + "tags": "Parsing", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString" + }, + "msCapsLockWarningOff": { + "specs": "dom4", + "exposed": "Window", + "name": "msCapsLockWarningOff", + "type": "boolean", + "type-original": "boolean" + }, + "ondragend": { + "specs": "dom4", + "name": "ondragend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragend" + }, + "doctype": { + "specs": "dom4", + "name": "doctype", + "tags": "TreeNavigation", + "type-original": "DocumentType", + "exposed": "Window", + "type": "DocumentType", + "read-only": 1 + }, + "ondragover": { + "specs": "dom4", + "name": "ondragover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragover" + }, + "onwebkitfullscreenerror": { + "specs": "fullscreen", + "name": "onwebkitfullscreenerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "webkitfullscreenerror" + }, + "bgColor": { + "specs": "dom4", + "ce-reactions": 1, + "name": "bgColor", + "tags": "CSSOM", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "onpointerlockchange": { + "specs": "pointerlock", + "name": "onpointerlockchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pointerlockchange" + }, + "ondragstart": { + "specs": "dom4", + "name": "ondragstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragstart" + }, + "onmouseup": { + "specs": "dom4", + "name": "onmouseup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseup" + }, + "onmsgesturechange": { + "specs": "dom4", + "name": "onmsgesturechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureChange" + }, + "ondrag": { + "specs": "dom4", + "name": "ondrag", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drag" + }, + "onmouseover": { + "specs": "dom4", + "name": "onmouseover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseover" + }, + "linkColor": { + "specs": "dom4", + "ce-reactions": 1, + "name": "linkColor", + "tags": "CSSOM", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "onpause": { + "specs": "dom4", + "name": "onpause", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pause" + }, + "onpointerlockerror": { + "specs": "pointerlock", + "name": "onpointerlockerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pointerlockerror" + }, + "onmousedown": { + "specs": "dom4", + "name": "onmousedown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousedown" + }, + "onclick": { + "specs": "dom4", + "name": "onclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "click" + }, + "onwaiting": { + "specs": "dom4", + "name": "onwaiting", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "waiting" + }, + "currentScript": { + "pure": 1, + "specs": "dom4", + "name": "currentScript", + "type-original": "(HTMLScriptElement? or SVGScriptElement?)", + "exposed": "Window", + "type": [ + { + "nullable": 1, + "type": "HTMLScriptElement" + }, + { + "nullable": 1, + "type": "SVGScriptElement" + } + ], + "read-only": 1 + }, + "onfullscreenchange": { + "specs": "fullscreen", + "name": "onfullscreenchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "fullscreenchange" + }, + "onstop": { + "specs": "dom4", + "name": "onstop", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "stop" + }, + "onmssitemodejumplistitemremoved": { + "specs": "dom4", + "name": "onmssitemodejumplistitemremoved", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mssitemodejumplistitemremoved" + }, + "applets": { + "specs": "dom4", + "name": "applets", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "body": { + "specs": "dom4", + "ce-reactions": 1, + "name": "body", + "tags": "TreeNavigation", + "type-original": "HTMLElement", + "exposed": "Window", + "type": "HTMLElement" + }, + "domain": { + "property-descriptor-not-configurable": 1, + "specs": "dom4", + "name": "domain", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "xmlStandalone": { + "specs": "dom4", + "name": "xmlStandalone", + "tags": "Parsing", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "onstalled": { + "specs": "dom4", + "name": "onstalled", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "stalled" + }, + "onmousemove": { + "specs": "dom4", + "name": "onmousemove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousemove" + }, + "documentElement": { + "pure": 1, + "specs": "dom4", + "name": "documentElement", + "tags": "TreeNavigation", + "type-original": "Element", + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "onmsinertiastart": { + "specs": "dom4", + "name": "onmsinertiastart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSInertiaStart" + }, + "webkitIsFullScreen": { + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitIsFullScreen", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onmspointerenter": { + "specs": "dom4", + "name": "onmspointerenter", + "content-attribute": "onmspointerenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerEnter" + }, + "onratechange": { + "specs": "dom4", + "name": "onratechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ratechange" + }, + "onmspointerleave": { + "specs": "dom4", + "name": "onmspointerleave", + "content-attribute": "onmspointerleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerLeave" + }, + "visibilityState": { + "specs": "page-visibility", + "exposed": "Window", + "name": "visibilityState", + "type": "VisibilityState", + "type-original": "VisibilityState", + "read-only": 1 + }, + "onprogress": { + "specs": "dom4", + "name": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "oninvalid": { + "specs": "dom4", + "name": "oninvalid", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "invalid" + }, + "ondblclick": { + "specs": "dom4", + "name": "ondblclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dblclick" + }, + "oncontextmenu": { + "specs": "dom4", + "name": "oncontextmenu", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "contextmenu" + }, + "onloadedmetadata": { + "specs": "dom4", + "name": "onloadedmetadata", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadedmetadata" + }, + "onmspointermove": { + "specs": "dom4", + "name": "onmspointermove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerMove" + }, + "onerror": { + "specs": "dom4", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onplay": { + "specs": "dom4", + "name": "onplay", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "play" + }, + "onplaying": { + "specs": "dom4", + "name": "onplaying", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "playing" + }, + "images": { + "specs": "dom4", + "name": "images", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "location": { + "put-forwards": "href", + "specs": "dom4", + "name": "location", + "tags": "NetworkAccess", + "type-original": "Location", + "exposed": "Window", + "type": "Location", + "read-only": 1 + }, + "onmsgestureend": { + "specs": "dom4", + "name": "onmsgestureend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSGestureEnd" + }, + "onabort": { + "specs": "dom4", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "onselectionchange": { + "specs": "selection-api", + "name": "onselectionchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "selectionchange" + }, + "msCSSOMElementFloatMetrics": { + "specs": "dom4", + "name": "msCSSOMElementFloatMetrics", + "tags": "CSSOM", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "pointerLockElement": { + "specs": "pointerlock", + "exposed": "Window", + "name": "pointerLockElement", + "type": "Element", + "type-original": "Element", + "read-only": 1 + }, + "onreadystatechange": { + "specs": "dom4", + "name": "onreadystatechange", + "type-original": "EventHandler", + "lenient-this": 1, + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "readystatechange" + }, + "lastModified": { + "specs": "dom4", + "name": "lastModified", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onkeypress": { + "specs": "dom4", + "name": "onkeypress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keypress" + }, + "onmspointerup": { + "specs": "dom4", + "name": "onmspointerup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSPointerUp" + }, + "onloadeddata": { + "specs": "dom4", + "name": "onloadeddata", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadeddata" + }, + "onbeforedeactivate": { + "specs": "dom4", + "name": "onbeforedeactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforedeactivate" + }, + "onactivate": { + "specs": "dom4", + "name": "onactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "activate" + }, + "onmsmanipulationstatechanged": { + "specs": "dom4", + "name": "onmsmanipulationstatechanged", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSManipulationStateChanged" + }, + "onselectstart": { + "specs": "selection-api", + "name": "onselectstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "selectstart" + }, + "onfocus": { + "specs": "dom4", + "name": "onfocus", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focus" + }, + "ontouchend": { + "specs": "dom4", + "name": "ontouchend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "touchend" + }, + "onfullscreenerror": { + "specs": "fullscreen", + "name": "onfullscreenerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "fullscreenerror" + }, + "fgColor": { + "specs": "dom4", + "ce-reactions": 1, + "name": "fgColor", + "tags": "CSSOM", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "ontimeupdate": { + "specs": "dom4", + "name": "ontimeupdate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "timeupdate" + }, + "webkitFullscreenEnabled": { + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitFullscreenEnabled", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "onselect": { + "specs": "dom4", + "name": "onselect", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "select" + }, + "ondrop": { + "specs": "dom4", + "name": "ondrop", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drop" + }, + "onended": { + "specs": "dom4", + "name": "onended", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "compatMode": { + "pure": 1, + "specs": "dom4", + "name": "compatMode", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onscroll": { + "specs": "dom4", + "name": "onscroll", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll" + }, + "onwebkitfullscreenchange": { + "specs": "fullscreen", + "name": "onwebkitfullscreenchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "webkitfullscreenchange" + }, + "onload": { + "specs": "dom4", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "oninput": { + "specs": "dom4", + "name": "oninput", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "input" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "precedes": "load", + "dispatch": "sync", + "specs": "HTML5", + "name": "DOMContentLoaded", + "follows": "readystatechange", + "type": "Event", + "bubbles": 1 + }, + { + "precedes": "load DOMContentLoaded", + "dispatch": "sync", + "specs": "HTML5", + "name": "readystatechange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "none", + "name": "stop", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "PageVis", + "name": "visibilitychanged", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "csp", + "name": "securitypolicyviolation", + "type": "SecurityPolicyViolationEvent" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "queryCommandValue": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandValue" + }, + "captureEvents": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "captureEvents" + }, + "queryCommandIndeterm": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandIndeterm" + }, + "adoptNode": { + "specs": "dom4", + "ce-reactions": 1, + "name": "adoptNode", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 1, + "type": "Node", + "param": [ + { + "name": "source", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "Node" + } + ], + "exposed": "Window" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "clear", + "tags": "TreeMutation" + }, + "getElementsByTagNameNS": { + "pure": 1, + "signature": [ + { + "param-min-required": 2, + "type": "NodeList", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByTagNameNS", + "tags": "TreeNavigation Namespaces" + }, + "execCommand": { + "specs": "dom4", + "ce-reactions": 1, + "name": "execCommand", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "showUI", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "name": "value", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "boolean" + } + ], + "exposed": "Window" + }, + "createProcessingInstruction": { + "signature": [ + { + "param-min-required": 2, + "type": "ProcessingInstruction", + "param": [ + { + "name": "target", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "ProcessingInstruction" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createProcessingInstruction", + "tags": "TreeMutation" + }, + "webkitExitFullscreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitExitFullscreen" + }, + "webkitCancelFullScreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "webkitCancelFullScreen" + }, + "elementFromPoint": { + "signature": [ + { + "param-min-required": 2, + "type": "Element", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "long" + }, + { + "name": "y", + "type": "long", + "type-original": "long" + } + ], + "type-original": "Element" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "elementFromPoint" + }, + "createNSResolver": { + "signature": [ + { + "param-min-required": 1, + "type": "XPathNSResolver", + "param": [ + { + "name": "nodeResolver", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "XPathNSResolver" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createNSResolver" + }, + "createCDATASection": { + "signature": [ + { + "param-min-required": 1, + "type": "CDATASection", + "param": [ + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "CDATASection" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createCDATASection", + "tags": "TreeMutation" + }, + "queryCommandText": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandText" + }, + "write": { + "specs": "dom4", + "ce-reactions": 1, + "name": "write", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "content", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + }, + "caretRangeFromPoint": { + "signature": [ + { + "param-min-required": 2, + "type": "Range", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "Range" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "caretRangeFromPoint" + }, + "createElement": { + "signature": [ + { + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "tagName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createElement", + "tags": "TreeMutation" + }, + "writeln": { + "specs": "dom4", + "ce-reactions": 1, + "name": "writeln", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "content", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + }, + "createElementNS": { + "specs": "dom4", + "name": "createElementNS", + "tags": "Namespaces", + "signature": [ + { + "param-min-required": 2, + "type": "Element", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element" + } + ], + "exposed": "Window" + }, + "exitPointerLock": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "pointerlock", + "exposed": "Window", + "name": "exitPointerLock" + }, + "open": { + "specs": "dom4", + "ce-reactions": 1, + "name": "open", + "tags": "NetworkAccess Parsing", + "signature": [ + { + "param-min-required": 0, + "type": [ + { + "type": "Document" + }, + { + "type": "Window" + } + ], + "param": [ + { + "name": "url", + "default": "\"text/html\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "name", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "features", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "replace", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "(Document or Window)" + } + ], + "exposed": "Window" + }, + "queryCommandSupported": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandSupported" + }, + "createTreeWalker": { + "signature": [ + { + "param-min-required": 1, + "type": "TreeWalker", + "param": [ + { + "name": "root", + "type": "Node", + "type-original": "Node" + }, + { + "name": "whatToShow", + "default": "0xFFFFFFFF", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "filter", + "default": "null", + "type": "NodeFilter", + "optional": 1, + "type-original": "NodeFilter" + }, + { + "name": "entityReferenceExpansion", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "TreeWalker" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createTreeWalker", + "tags": "TreeNavigation" + }, + "exitFullscreen": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fullscreen", + "exposed": "Window", + "name": "exitFullscreen" + }, + "queryCommandEnabled": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandEnabled" + }, + "createAttributeNS": { + "specs": "dom4", + "name": "createAttributeNS", + "tags": "Namespaces", + "signature": [ + { + "param-min-required": 2, + "type": "Attr", + "param": [ + { + "nullable": 1, + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "exposed": "Window" + }, + "createTouchList": { + "signature": [ + { + "param-min-required": 0, + "type": "TouchList", + "param": [ + { + "variadic": 1, + "name": "touches", + "type": "Touch", + "type-original": "Touch" + } + ], + "type-original": "TouchList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createTouchList" + }, + "msElementsFromPoint": { + "signature": [ + { + "param-min-required": 2, + "type": "NodeList", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "NodeList" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "msElementsFromPoint" + }, + "msElementsFromRect": { + "specs": "dom4", + "name": "msElementsFromRect", + "tags": "CSSOM", + "signature": [ + { + "param-min-required": 4, + "type": "NodeList", + "param": [ + { + "name": "left", + "type": "float", + "type-original": "float" + }, + { + "name": "top", + "type": "float", + "type-original": "float" + }, + { + "name": "width", + "type": "float", + "type-original": "float" + }, + { + "name": "height", + "type": "float", + "type-original": "float" + } + ], + "type-original": "NodeList" + } + ], + "exposed": "Window" + }, + "evaluate": { + "signature": [ + { + "param-min-required": 5, + "type": "XPathResult", + "param": [ + { + "name": "expression", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "contextNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "resolver", + "type": "XPathNSResolver", + "type-original": "XPathNSResolver" + }, + { + "name": "type", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult", + "type-original": "XPathResult" + } + ], + "type-original": "XPathResult" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "evaluate" + }, + "focus": { + "deprecated": 1, + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "focus" + }, + "releaseEvents": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "releaseEvents" + }, + "close": { + "specs": "dom4", + "ce-reactions": 1, + "name": "close", + "tags": "Parsing", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "exposed": "Window" + }, + "getElementsByClassName": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "classNames", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByClassName", + "tags": "TreeNavigation" + }, + "importNode": { + "specs": "dom4", + "ce-reactions": 1, + "name": "importNode", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 2, + "type": "Node", + "param": [ + { + "name": "importedNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "deep", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "Node" + } + ], + "exposed": "Window" + }, + "createExpression": { + "signature": [ + { + "param-min-required": 2, + "type": "XPathExpression", + "param": [ + { + "name": "expression", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "resolver", + "type": "XPathNSResolver", + "type-original": "XPathNSResolver" + } + ], + "type-original": "XPathExpression" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createExpression" + }, + "createRange": { + "signature": [ + { + "type": "Range", + "type-original": "Range" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createRange" + }, + "createComment": { + "specs": "dom4", + "name": "createComment", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 1, + "type": "Comment", + "param": [ + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Comment" + } + ], + "exposed": "Window" + }, + "getElementsByTagName": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "tagname", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByTagName", + "tags": "TreeNavigation" + }, + "createDocumentFragment": { + "signature": [ + { + "type": "DocumentFragment", + "type-original": "DocumentFragment" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createDocumentFragment", + "tags": "TreeMutation" + }, + "getElementsByName": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "elementName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementsByName", + "tags": "TreeNavigation" + }, + "createTouch": { + "signature": [ + { + "param-min-required": 7, + "type": "Touch", + "param": [ + { + "name": "view", + "type": "Window", + "type-original": "Window" + }, + { + "name": "target", + "type": "EventTarget", + "type-original": "EventTarget" + }, + { + "name": "identifier", + "type": "long", + "type-original": "long" + }, + { + "name": "pageX", + "type": "long", + "type-original": "long" + }, + { + "name": "pageY", + "type": "long", + "type-original": "long" + }, + { + "name": "screenX", + "type": "long", + "type-original": "long" + }, + { + "name": "screenY", + "type": "long", + "type-original": "long" + } + ], + "type-original": "Touch" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createTouch" + }, + "queryCommandState": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "queryCommandState" + }, + "execCommandShowHelp": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "commandId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "execCommandShowHelp" + }, + "createAttribute": { + "specs": "dom4", + "name": "createAttribute", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "exposed": "Window" + }, + "hasFocus": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "hasFocus" + }, + "createTextNode": { + "signature": [ + { + "param-min-required": 1, + "type": "Text", + "param": [ + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Text" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createTextNode", + "tags": "TreeMutation" + }, + "createNodeIterator": { + "signature": [ + { + "param-min-required": 1, + "type": "NodeIterator", + "param": [ + { + "name": "root", + "type": "Node", + "type-original": "Node" + }, + { + "name": "whatToShow", + "default": "0xFFFFFFFF", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "filter", + "default": "null", + "type": "NodeFilter", + "optional": 1, + "type-original": "NodeFilter" + }, + { + "name": "entityReferenceExpansion", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "NodeIterator" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createNodeIterator", + "tags": "TreeNavigation" + }, + "getSelection": { + "signature": [ + { + "type": "Selection", + "type-original": "Selection" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "getSelection" + }, + "getElementById": { + "pure": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "elementId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "getElementById", + "tags": "TreeNavigation" + } + } + }, + "extends": "Node", + "implements": [ + "GlobalEventHandlers", + "ParentNode", + "DocumentEvent" + ] + }, + "MessageEvent": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "MessageEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MessageEventInit", + "optional": 1, + "type-original": "MessageEventInit" + } + ], + "type-original": "MessageEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MessageEvent", + "properties": { + "property": { + "source": { + "specs": "html5", + "name": "source", + "type-original": "Window?", + "nullable": 1, + "exposed": "Window Worker", + "type": "Window", + "read-only": 1 + }, + "ports": { + "pure": 1, + "specs": "html5", + "name": "ports", + "type-original": "FrozenArray", + "subtype": { + "type": "MessagePort" + }, + "exposed": "Window Worker", + "type": "FrozenArray", + "read-only": 1 + }, + "origin": { + "specs": "html5", + "exposed": "Window Worker", + "name": "origin", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "data": { + "specs": "html5", + "exposed": "Window Worker", + "name": "data", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": { + "initMessageEvent": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bubbles", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelable", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "data", + "type": "any", + "type-original": "any" + }, + { + "name": "origin", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "lastEventId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "source", + "type": "Window", + "type-original": "Window" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "initMessageEvent" + } + } + }, + "extends": "Event" + }, + "SVGElement": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGElement", + "properties": { + "property": { + "onmouseover": { + "specs": "svg2", + "name": "onmouseover", + "content-attribute": "onmouseover", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseover" + }, + "viewportElement": { + "specs": "svg2", + "name": "viewportElement", + "type-original": "SVGElement?", + "nullable": 1, + "exposed": "Window", + "type": "SVGElement", + "read-only": 1 + }, + "onmouseout": { + "specs": "svg2", + "name": "onmouseout", + "content-attribute": "onmouseout", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseout" + }, + "onmousemove": { + "specs": "svg2", + "name": "onmousemove", + "content-attribute": "onmousemove", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousemove" + }, + "ondblclick": { + "specs": "svg2", + "name": "ondblclick", + "content-attribute": "ondblclick", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dblclick" + }, + "onfocusout": { + "specs": "svg2", + "name": "onfocusout", + "content-attribute": "onfocusout", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focusout" + }, + "className": { + "specs": "svg2", + "same-object": 1, + "name": "className", + "constant": 1, + "content-attribute": "class", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "onfocusin": { + "specs": "svg2", + "name": "onfocusin", + "content-attribute": "onfocusin", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focusin" + }, + "xmlbase": { + "specs": "svg11", + "name": "xmlbase", + "type-original": "DOMString", + "deprecated": 1, + "exposed": "Window", + "type": "DOMString" + }, + "onmousedown": { + "specs": "svg2", + "name": "onmousedown", + "content-attribute": "onmousedown", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousedown" + }, + "onload": { + "specs": "svg2", + "name": "onload", + "content-attribute": "onload", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onmouseup": { + "specs": "svg2", + "name": "onmouseup", + "content-attribute": "onmouseup", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseup" + }, + "ownerSVGElement": { + "specs": "svg2", + "name": "ownerSVGElement", + "type-original": "SVGSVGElement?", + "nullable": 1, + "exposed": "Window", + "type": "SVGSVGElement", + "read-only": 1 + }, + "onclick": { + "specs": "svg2", + "name": "onclick", + "content-attribute": "onclick", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "click" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "svg11", + "name": "SVGLoad", + "type": "Event" + } + ] + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Element", + "implements": [ + "ElementCSSInlineStyle" + ] + }, + "DeferredPermissionRequest": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "DeferredPermissionRequest", + "properties": { + "property": { + "type": { + "specs": "none", + "exposed": "Window", + "name": "type", + "type": "MSWebViewPermissionType", + "type-original": "MSWebViewPermissionType", + "read-only": 1 + }, + "id": { + "specs": "none", + "exposed": "Window", + "name": "id", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "uri": { + "specs": "none", + "exposed": "Window", + "name": "uri", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "deny": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "deny" + }, + "allow": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "allow" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLScriptElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLScriptElement", + "properties": { + "property": { + "async": { + "specs": "html5", + "ce-reactions": 1, + "name": "async", + "content-attribute": "async", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "src": { + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "charset": { + "specs": "html5", + "ce-reactions": 1, + "name": "charset", + "content-attribute": "charset", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "character_encoding", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "event": { + "content-attribute-enum-values": "onload onload()", + "specs": "html5", + "ce-reactions": 1, + "name": "event", + "type-original": "DOMString", + "content-attribute": "event", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "noModule": { + "specs": "html5", + "ce-reactions": 1, + "name": "noModule", + "content-attribute": "nomodule", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1 + }, + "crossOrigin": { + "content-attribute-enum-values": "anonymous use-credentials", + "specs": "html5", + "ce-reactions": 1, + "name": "crossOrigin", + "content-attribute": "crossorigin", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "defer": { + "specs": "html5", + "ce-reactions": 1, + "name": "defer", + "content-attribute": "defer", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "htmlFor": { + "content-attribute-enum-values": "window", + "specs": "html5", + "ce-reactions": 1, + "name": "htmlFor", + "type-original": "DOMString", + "content-attribute": "for", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "text": { + "specs": "html5", + "ce-reactions": 1, + "name": "text", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "integrity": { + "specs": "html5", + "ce-reactions": 1, + "name": "integrity", + "content-attribute": "integrity", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "script" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "TextTrack": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "TextTrack", + "properties": { + "property": { + "language": { + "specs": "html5", + "name": "language", + "tags": "Captions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "mode": { + "specs": "html5", + "exposed": "Window", + "name": "mode", + "type": [ + { + "type": "TextTrackMode" + }, + { + "type": "unsigned short" + } + ], + "tags": "Captions", + "type-original": "(TextTrackMode or unsigned short)" + }, + "activeCues": { + "specs": "html5", + "name": "activeCues", + "tags": "Captions", + "type-original": "TextTrackCueList", + "exposed": "Window", + "type": "TextTrackCueList", + "read-only": 1 + }, + "readyState": { + "specs": "html5", + "name": "readyState", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "cues": { + "specs": "html5", + "name": "cues", + "tags": "Captions", + "type-original": "TextTrackCueList", + "exposed": "Window", + "type": "TextTrackCueList", + "read-only": 1 + }, + "inBandMetadataTrackDispatchType": { + "specs": "html5", + "name": "inBandMetadataTrackDispatchType", + "tags": "Captions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "kind": { + "specs": "html5", + "name": "kind", + "tags": "Captions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "oncuechange": { + "specs": "html5", + "name": "oncuechange", + "tags": "Captions", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "cuechange" + }, + "onload": { + "specs": "html5", + "name": "onload", + "tags": "Captions", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "tags": "Captions", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "label": { + "specs": "html5", + "name": "label", + "tags": "Captions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "tags": "Captions", + "constants": { + "constant": { + "SHOWING": { + "specs": "html5", + "value": "2", + "name": "SHOWING", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "ERROR": { + "specs": "html5", + "value": "3", + "name": "ERROR", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "LOADED": { + "specs": "html5", + "value": "2", + "name": "LOADED", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "LOADING": { + "specs": "html5", + "value": "1", + "name": "LOADING", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "HIDDEN": { + "specs": "html5", + "value": "1", + "name": "HIDDEN", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NONE": { + "specs": "html5", + "value": "0", + "name": "NONE", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "DISABLED": { + "specs": "html5", + "value": "0", + "name": "DISABLED", + "tags": "Captions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "cuechange", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "load", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "addCue": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "cue", + "type": "TextTrackCue", + "type-original": "TextTrackCue" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "addCue", + "tags": "Captions" + }, + "removeCue": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "cue", + "type": "TextTrackCue", + "type-original": "TextTrackCue" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "removeCue", + "tags": "Captions" + } + } + }, + "extends": "EventTarget" + }, + "HTMLTableRowElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableRowElement", + "properties": { + "property": { + "rowIndex": { + "specs": "html5", + "exposed": "Window", + "name": "rowIndex", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "bgColor": { + "specs": "html5", + "ce-reactions": 1, + "name": "bgColor", + "type-original": "DOMString", + "content-attribute": "bgcolor", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "cells": { + "specs": "html5", + "same-object": 1, + "name": "cells", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "ch": { + "specs": "html5", + "ce-reactions": 1, + "name": "ch", + "type-original": "DOMString", + "content-attribute": "char", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "vAlign": { + "content-attribute-enum-values": "middle baseline bottom top", + "specs": "html5", + "ce-reactions": 1, + "name": "vAlign", + "type-original": "DOMString", + "content-attribute": "valign", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "sectionRowIndex": { + "specs": "html5", + "exposed": "Window", + "name": "sectionRowIndex", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "chOff": { + "specs": "html5", + "ce-reactions": 1, + "name": "chOff", + "type-original": "DOMString", + "content-attribute": "charoff", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "tr" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "deleteCell": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteCell" + }, + "insertCell": { + "signature": [ + { + "param-min-required": 0, + "type": "HTMLTableCellElement", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "HTMLTableCellElement" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "insertCell" + } + } + }, + "extends": "HTMLElement" + }, + "VRDisplay": { + "constants": { + "constant": {} + }, + "specs": "WebVR", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getLayers": { + "signature": [ + { + "subtype": { + "type": "VRLayer" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "getLayers" + }, + "getPose": { + "deprecated": 1, + "signature": [ + { + "new-object": 1, + "type": "VRPose", + "type-original": "VRPose" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "getPose" + }, + "getEyeParameters": { + "signature": [ + { + "param-min-required": 1, + "type": "VREyeParameters", + "param": [ + { + "name": "whichEye", + "type": "DOMString", + "type-original": "VREye" + } + ], + "type-original": "VREyeParameters" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "getEyeParameters" + }, + "requestAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "callback", + "type": "FrameRequestCallback", + "type-original": "FrameRequestCallback" + } + ], + "type-original": "long" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "requestAnimationFrame" + }, + "submitFrame": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "pose", + "type": "VRPose", + "optional": 1, + "type-original": "VRPose" + } + ], + "type-original": "void" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "submitFrame" + }, + "exitPresent": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "exitPresent" + }, + "getFrameData": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "frameData", + "type": "VRFrameData", + "type-original": "VRFrameData" + } + ], + "type-original": "boolean" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "getFrameData" + }, + "cancelAnimationFrame": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "cancelAnimationFrame" + }, + "requestPresent": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "subtype": { + "type": "VRLayer" + }, + "name": "layers", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "requestPresent" + }, + "resetPose": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "WebVR", + "exposed": "Window", + "name": "resetPose" + } + } + }, + "name": "VRDisplay", + "extends": "EventTarget", + "properties": { + "property": { + "displayId": { + "specs": "WebVR", + "name": "displayId", + "constant": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "isConnected": { + "specs": "WebVR", + "exposed": "Window", + "name": "isConnected", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "depthNear": { + "specs": "WebVR", + "exposed": "Window", + "name": "depthNear", + "type": "double", + "type-original": "double" + }, + "capabilities": { + "specs": "WebVR", + "name": "capabilities", + "constant": 1, + "type-original": "VRDisplayCapabilities", + "exposed": "Window", + "type": "VRDisplayCapabilities", + "read-only": 1 + }, + "depthFar": { + "specs": "WebVR", + "exposed": "Window", + "name": "depthFar", + "type": "double", + "type-original": "double" + }, + "isPresenting": { + "specs": "WebVR", + "exposed": "Window", + "name": "isPresenting", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "displayName": { + "specs": "WebVR", + "name": "displayName", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "stageParameters": { + "specs": "WebVR", + "name": "stageParameters", + "type-original": "VRStageParameters?", + "nullable": 1, + "exposed": "Window", + "type": "VRStageParameters", + "read-only": 1 + } + } + } + }, + "IDBRequest": { + "dataslot": [ + { + "name": "result" + } + ], + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBRequest", + "properties": { + "property": { + "onsuccess": { + "specs": "indexeddb", + "name": "onsuccess", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "success" + }, + "source": { + "specs": "indexeddb", + "name": "source", + "type-original": "(IDBObjectStore or IDBIndex or IDBCursor)?", + "exposed": "Window", + "type": [ + { + "nullable": 1, + "type": "IDBObjectStore" + }, + { + "nullable": 1, + "type": "IDBIndex" + }, + { + "nullable": 1, + "type": "IDBCursor" + } + ], + "read-only": 1 + }, + "onerror": { + "specs": "indexeddb", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "transaction": { + "specs": "indexeddb", + "exposed": "Window", + "name": "transaction", + "type": "IDBTransaction", + "type-original": "IDBTransaction", + "read-only": 1 + }, + "error": { + "specs": "indexeddb", + "exposed": "Window", + "name": "error", + "type": "DOMError", + "type-original": "DOMError", + "read-only": 1 + }, + "readyState": { + "specs": "indexeddb", + "exposed": "Window", + "name": "readyState", + "type": "IDBRequestReadyState", + "type-original": "IDBRequestReadyState", + "read-only": 1 + }, + "result": { + "specs": "indexeddb", + "exposed": "Window", + "name": "result", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "IDB", + "name": "error", + "type": "Event", + "bubbles": 1, + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "IDB", + "name": "success", + "type": "Event", + "bubbles": 1, + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "AnalyserNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getByteTimeDomainData": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "array", + "type": "Uint8Array", + "type-original": "Uint8Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getByteTimeDomainData" + }, + "getByteFrequencyData": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "array", + "type": "Uint8Array", + "type-original": "Uint8Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getByteFrequencyData" + }, + "getFloatFrequencyData": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "array", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getFloatFrequencyData" + }, + "getFloatTimeDomainData": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "array", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getFloatTimeDomainData" + } + } + }, + "name": "AnalyserNode", + "extends": "AudioNode", + "properties": { + "property": { + "minDecibels": { + "pure": 1, + "specs": "webaudio", + "exposed": "Window", + "name": "minDecibels", + "type": "double", + "type-original": "double" + }, + "maxDecibels": { + "pure": 1, + "specs": "webaudio", + "exposed": "Window", + "name": "maxDecibels", + "type": "double", + "type-original": "double" + }, + "frequencyBinCount": { + "pure": 1, + "specs": "webaudio", + "name": "frequencyBinCount", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "smoothingTimeConstant": { + "pure": 1, + "specs": "webaudio", + "exposed": "Window", + "name": "smoothingTimeConstant", + "type": "double", + "type-original": "double" + }, + "fftSize": { + "pure": 1, + "specs": "webaudio", + "exposed": "Window", + "name": "fftSize", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + } + }, + "VRFieldOfView": { + "specs": "WebVR", + "anonymous-methods": { + "method": [] + }, + "name": "VRFieldOfView", + "properties": { + "property": { + "upDegrees": { + "specs": "WebVR", + "exposed": "Window", + "name": "upDegrees", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "leftDegrees": { + "specs": "WebVR", + "exposed": "Window", + "name": "leftDegrees", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "downDegrees": { + "specs": "WebVR", + "exposed": "Window", + "name": "downDegrees", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "rightDegrees": { + "specs": "WebVR", + "exposed": "Window", + "name": "rightDegrees", + "type": "double", + "type-original": "double", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "MSMediaKeyMessageEvent": { + "constants": { + "constant": {} + }, + "specs": "encrypted-media-20130510", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MSMediaKeyMessageEvent", + "extends": "Event", + "properties": { + "property": { + "destinationURL": { + "specs": "encrypted-media-20130510", + "name": "destinationURL", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "message": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "message", + "type": "Uint8Array", + "type-original": "Uint8Array", + "read-only": 1 + } + } + } + }, + "HTMLFrameElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFrameElement", + "properties": { + "property": { + "width": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "width", + "type-original": "(DOMString or unsigned long)", + "content-attribute": "width", + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": [ + { + "type": "DOMString" + }, + { + "type": "unsigned long" + } + ], + "content-attribute-reflects": 1 + }, + "scrolling": { + "content-attribute-enum-values": "auto no yes", + "specs": "html5", + "ce-reactions": 1, + "name": "scrolling", + "content-attribute": "scrolling", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "marginHeight": { + "specs": "html5", + "ce-reactions": 1, + "content-attribute": "marginheight", + "type-original": "DOMString", + "interop": 1, + "name": "marginHeight", + "deprecated": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "signed_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "borderColor": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "borderColor", + "type-original": "any", + "content-attribute": "bordercolor", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "any" + }, + "marginWidth": { + "specs": "html5", + "ce-reactions": 1, + "content-attribute": "marginwidth", + "type-original": "DOMString", + "interop": 1, + "name": "marginWidth", + "deprecated": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "signed_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "frameSpacing": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "frameSpacing", + "type-original": "any", + "content-attribute": "framespacing", + "content-attribute-value-syntax": "signed_integer", + "exposed": "Window", + "type": "any", + "content-attribute-reflects": 1 + }, + "frameBorder": { + "specs": "html5", + "ce-reactions": 1, + "name": "frameBorder", + "content-attribute": "frameborder", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noResize": { + "specs": "html5", + "ce-reactions": 1, + "name": "noResize", + "content-attribute": "noresize", + "type-original": "boolean", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "contentWindow": { + "specs": "html5", + "name": "contentWindow", + "type-original": "Window?", + "interop": 1, + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "src": { + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "name": { + "content-attribute-enum-values": "_blank _self _parent _top", + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "height": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "height", + "type-original": "(DOMString or unsigned long)", + "content-attribute": "height", + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": [ + { + "type": "DOMString" + }, + { + "type": "unsigned long" + } + ], + "content-attribute-reflects": 1 + }, + "contentDocument": { + "specs": "html5", + "name": "contentDocument", + "type-original": "Document?", + "interop": 1, + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "border": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "border", + "type-original": "DOMString", + "content-attribute": "border", + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "longDesc": { + "specs": "html5", + "ce-reactions": 1, + "name": "longDesc", + "content-attribute": "longdesc", + "type-original": "USVString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "onload": { + "specs": "html5", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "frame", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "GetSVGDocument" + ] + }, + "Touch": { + "specs": "touch-events", + "anonymous-methods": { + "method": [] + }, + "name": "Touch", + "properties": { + "property": { + "target": { + "specs": "touch-events", + "exposed": "Window", + "name": "target", + "type": "EventTarget", + "type-original": "EventTarget", + "read-only": 1 + }, + "identifier": { + "specs": "touch-events", + "exposed": "Window", + "name": "identifier", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "clientY": { + "specs": "touch-events", + "exposed": "Window", + "name": "clientY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "screenY": { + "specs": "touch-events", + "exposed": "Window", + "name": "screenY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pageX": { + "specs": "touch-events", + "exposed": "Window", + "name": "pageX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pageY": { + "specs": "touch-events", + "exposed": "Window", + "name": "pageY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "clientX": { + "specs": "touch-events", + "exposed": "Window", + "name": "clientX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "screenX": { + "specs": "touch-events", + "exposed": "Window", + "name": "screenX", + "type": "long", + "type-original": "long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "CSSMediaRule": { + "constants": { + "constant": {} + }, + "specs": "css-conditional", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSMediaRule", + "extends": "CSSConditionRule", + "properties": { + "property": { + "media": { + "put-forwards": "mediaText", + "specs": "css-conditional", + "same-object": 1, + "name": "media", + "type-original": "MediaList", + "exposed": "Window", + "type": "MediaList", + "read-only": 1 + } + } + } + }, + "MediaDevices": { + "specs": "media-capture-api", + "anonymous-methods": { + "method": [] + }, + "name": "MediaDevices", + "properties": { + "property": { + "ondevicechange": { + "specs": "media-capture-api", + "name": "ondevicechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "devicechange" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "MediaCap", + "name": "devicechange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "getUserMedia": { + "signature": [ + { + "subtype": { + "type": "MediaStream" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "constraints", + "type": "MediaStreamConstraints", + "type-original": "MediaStreamConstraints" + } + ], + "type-original": "Promise" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getUserMedia" + }, + "enumerateDevices": { + "signature": [ + { + "subtype": { + "subtype": { + "type": "MediaDeviceInfo" + }, + "type": "sequence" + }, + "type": "Promise", + "type-original": "Promise>" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "enumerateDevices" + }, + "getSupportedConstraints": { + "signature": [ + { + "type": "MediaTrackSupportedConstraints", + "type-original": "MediaTrackSupportedConstraints" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getSupportedConstraints" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "BarProp": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "BarProp", + "extends": "Object", + "properties": { + "property": { + "visible": { + "specs": "html5", + "exposed": "Window", + "name": "visible", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "DeviceLightEvent": { + "specs": "ambient-light", + "constructor": { + "specs": "ambient-light", + "signature": [ + { + "param-min-required": 1, + "type": "DeviceLightEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "DeviceLightEventInit", + "optional": 1, + "type-original": "DeviceLightEventInit" + } + ], + "type-original": "DeviceLightEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "DeviceLightEvent", + "properties": { + "property": { + "value": { + "specs": "ambient-light", + "exposed": "Window", + "name": "value", + "type": "double", + "type-original": "double", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "SourceBuffer": { + "specs": "media-source", + "anonymous-methods": { + "method": [] + }, + "name": "SourceBuffer", + "properties": { + "property": { + "videoTracks": { + "specs": "media-source", + "exposed": "Window", + "name": "videoTracks", + "type": "VideoTrackList", + "type-original": "VideoTrackList", + "read-only": 1 + }, + "appendWindowEnd": { + "specs": "media-source", + "exposed": "Window", + "name": "appendWindowEnd", + "type": "double", + "type-original": "double" + }, + "mode": { + "specs": "media-source", + "exposed": "Window", + "name": "mode", + "type": "AppendMode", + "type-original": "AppendMode" + }, + "timestampOffset": { + "specs": "media-source", + "exposed": "Window", + "name": "timestampOffset", + "type": "double", + "type-original": "double" + }, + "audioTracks": { + "specs": "media-source", + "exposed": "Window", + "name": "audioTracks", + "type": "AudioTrackList", + "type-original": "AudioTrackList", + "read-only": 1 + }, + "updating": { + "specs": "media-source", + "exposed": "Window", + "name": "updating", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "appendWindowStart": { + "specs": "media-source", + "exposed": "Window", + "name": "appendWindowStart", + "type": "double", + "type-original": "double" + }, + "buffered": { + "specs": "media-source", + "exposed": "Window", + "name": "buffered", + "type": "TimeRanges", + "type-original": "TimeRanges", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "MSE", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "abort", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "updatestart", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "update", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "updateend", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "appendBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": [ + { + "type": "ArrayBuffer" + }, + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "(ArrayBuffer or ArrayBufferView)" + } + ], + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "appendBuffer" + }, + "remove": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "start", + "type": "double", + "type-original": "double" + }, + { + "name": "end", + "type": "double", + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "remove" + }, + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "abort" + }, + "appendStream": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "maxSize", + "type": "unsigned long long", + "optional": 1, + "type-original": "unsigned long long" + } + ], + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "appendStream" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "PaymentAddress": { + "specs": "payment-request", + "anonymous-methods": { + "method": [] + }, + "name": "PaymentAddress", + "properties": { + "property": { + "languageCode": { + "specs": "payment-request", + "exposed": "Window", + "name": "languageCode", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "country": { + "specs": "payment-request", + "exposed": "Window", + "name": "country", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "recipient": { + "specs": "payment-request", + "exposed": "Window", + "name": "recipient", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "region": { + "specs": "payment-request", + "exposed": "Window", + "name": "region", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "addressLine": { + "specs": "payment-request", + "name": "addressLine", + "type-original": "sequence", + "subtype": { + "type": "DOMString" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "phone": { + "specs": "payment-request", + "exposed": "Window", + "name": "phone", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "dependentLocality": { + "specs": "payment-request", + "exposed": "Window", + "name": "dependentLocality", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "city": { + "specs": "payment-request", + "exposed": "Window", + "name": "city", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "sortingCode": { + "specs": "payment-request", + "exposed": "Window", + "name": "sortingCode", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "organization": { + "specs": "payment-request", + "exposed": "Window", + "name": "organization", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "postalCode": { + "specs": "payment-request", + "exposed": "Window", + "name": "postalCode", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "toJSON": { + "serializer": 1, + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "payment-request", + "exposed": "Window", + "serializer-info": "attribute", + "name": "toJSON" + } + } + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "SVGPathSegLinetoHorizontalRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoHorizontalRel", + "properties": { + "property": { + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "SVGEllipseElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGEllipseElement", + "properties": { + "property": { + "ry": { + "specs": "svg2", + "same-object": 1, + "name": "ry", + "constant": 1, + "content-attribute": "ry", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "cx": { + "specs": "svg2", + "same-object": 1, + "name": "cx", + "constant": 1, + "content-attribute": "cx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "rx": { + "specs": "svg2", + "same-object": 1, + "name": "rx", + "constant": 1, + "content-attribute": "rx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "cy": { + "specs": "svg2", + "same-object": 1, + "name": "cy", + "constant": 1, + "content-attribute": "cy", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "ellipse" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "MSDCCEvent": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 2, + "type": "MSDCCEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MSDCCEventInit", + "type-original": "MSDCCEventInit" + } + ], + "type-original": "MSDCCEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSDCCEvent", + "properties": { + "property": { + "maxFr": { + "specs": "ortc", + "exposed": "Window", + "name": "maxFr", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "maxFs": { + "specs": "ortc", + "exposed": "Window", + "name": "maxFs", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "MSBlobBuilder": { + "constants": { + "constant": {} + }, + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "type": "MSBlobBuilder", + "type-original": "MSBlobBuilder" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "append": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "type-original": "any" + }, + { + "name": "endings", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "append" + }, + "getBlob": { + "signature": [ + { + "param-min-required": 0, + "type": "Blob", + "param": [ + { + "name": "contentType", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Blob" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getBlob" + } + } + }, + "name": "MSBlobBuilder", + "extends": "Object", + "properties": { + "property": {} + } + }, + "DataTransfer": { + "constants": { + "constant": {} + }, + "specs": "html51", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "clearData": { + "signature": [ + { + "param-min-required": 0, + "type": "boolean", + "param": [ + { + "name": "format", + "default": "\"null\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "clearData" + }, + "setData": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "setData" + }, + "getData": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "getData" + } + } + }, + "name": "DataTransfer", + "extends": "Object", + "properties": { + "property": { + "types": { + "pure": 1, + "specs": "html51", + "same-object": 1, + "name": "types", + "type-original": "DOMStringList", + "exposed": "Window", + "type": "DOMStringList", + "read-only": 1 + }, + "effectAllowed": { + "specs": "html51", + "exposed": "Window", + "name": "effectAllowed", + "type": "DOMString", + "type-original": "DOMString" + }, + "files": { + "specs": "html51", + "same-object": 1, + "name": "files", + "type-original": "FileList", + "exposed": "Window", + "type": "FileList", + "read-only": 1 + }, + "dropEffect": { + "specs": "html51", + "exposed": "Window", + "name": "dropEffect", + "type": "DOMString", + "type-original": "DOMString" + }, + "items": { + "specs": "html51", + "exposed": "Window", + "name": "items", + "type": "DataTransferItemList", + "type-original": "DataTransferItemList", + "read-only": 1 + } + } + } + }, + "MutationObserver": { + "dataslot": [ + { + "name": "callback" + } + ], + "specs": "dom4", + "constructor": { + "specs": "dom4", + "signature": [ + { + "param-min-required": 1, + "type": "MutationObserver", + "param": [ + { + "name": "callback", + "type": "MutationCallback", + "type-original": "MutationCallback" + } + ], + "type-original": "MutationObserver" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MutationObserver", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "observe": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "Node", + "type-original": "Node" + }, + { + "name": "options", + "type": "MutationObserverInit", + "type-original": "MutationObserverInit" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "observe" + }, + "takeRecords": { + "signature": [ + { + "subtype": { + "type": "MutationRecord" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "takeRecords" + }, + "disconnect": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "disconnect" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "MSDSHEvent": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 2, + "type": "MSDSHEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MSDSHEventInit", + "type-original": "MSDSHEventInit" + } + ], + "type-original": "MSDSHEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSDSHEvent", + "properties": { + "property": { + "sources": { + "specs": "ortc", + "name": "sources", + "type-original": "sequence", + "subtype": { + "type": "unsigned long" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "timestamp": { + "specs": "ortc", + "exposed": "Window", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "IDBFactory": { + "constants": { + "constant": {} + }, + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "open": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBOpenDBRequest", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "version", + "enforce-range": 1, + "type": "unsigned long long", + "optional": 1, + "type-original": "unsigned long long" + } + ], + "type-original": "IDBOpenDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "open" + }, + "cmp": { + "signature": [ + { + "param-min-required": 2, + "type": "short", + "param": [ + { + "name": "first", + "type": "any", + "type-original": "any" + }, + { + "name": "second", + "type": "any", + "type-original": "any" + } + ], + "type-original": "short" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "cmp" + }, + "deleteDatabase": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBOpenDBRequest", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "IDBOpenDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "deleteDatabase" + } + } + }, + "name": "IDBFactory", + "extends": "Object", + "properties": { + "property": {} + } + }, + "WebGLShaderPrecisionFormat": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLShaderPrecisionFormat", + "extends": "Object", + "properties": { + "property": { + "rangeMax": { + "specs": "webgl", + "exposed": "Window", + "name": "rangeMax", + "type": "long", + "type-original": "GLint", + "read-only": 1 + }, + "rangeMin": { + "specs": "webgl", + "exposed": "Window", + "name": "rangeMin", + "type": "long", + "type-original": "GLint", + "read-only": 1 + }, + "precision": { + "specs": "webgl", + "exposed": "Window", + "name": "precision", + "type": "long", + "type-original": "GLint", + "read-only": 1 + } + } + } + }, + "SVGAnimatedNumberList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedNumberList", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGNumberList", + "exposed": "Window", + "type": "SVGNumberList", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGNumberList", + "exposed": "Window", + "type": "SVGNumberList", + "read-only": 1 + } + } + } + }, + "MSAssertion": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "MSAssertion", + "properties": { + "property": { + "id": { + "specs": "webauthn", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "type": { + "specs": "webauthn", + "exposed": "Window", + "name": "type", + "type": "MSCredentialType", + "type-original": "MSCredentialType", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "PushManager": { + "specs": "push-api", + "anonymous-methods": { + "method": [] + }, + "name": "PushManager", + "properties": { + "property": { + "supportedContentEncodings": { + "specs": "push-api", + "name": "supportedContentEncodings", + "static": 1, + "type-original": "FrozenArray", + "subtype": { + "type": "DOMString" + }, + "exposed": "Window", + "type": "FrozenArray", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "subscribe": { + "signature": [ + { + "subtype": { + "type": "PushSubscription" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "options", + "type": "PushSubscriptionOptionsInit", + "optional": 1, + "type-original": "PushSubscriptionOptionsInit" + } + ], + "type-original": "Promise" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "subscribe" + }, + "permissionState": { + "signature": [ + { + "subtype": { + "type": "PushPermissionState" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "options", + "type": "PushSubscriptionOptionsInit", + "optional": 1, + "type-original": "PushSubscriptionOptionsInit" + } + ], + "type-original": "Promise" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "permissionState" + }, + "getSubscription": { + "signature": [ + { + "subtype": { + "nullable": 1, + "type": "PushSubscription" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "getSubscription" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "MediaEncryptedEvent": { + "specs": "encrypted-media", + "constructor": { + "specs": "encrypted-media", + "signature": [ + { + "param-min-required": 1, + "type": "MediaEncryptedEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaEncryptedEventInit", + "optional": 1, + "type-original": "MediaEncryptedEventInit" + } + ], + "type-original": "MediaEncryptedEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaEncryptedEvent", + "properties": { + "property": { + "initDataType": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "initDataType", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "initData": { + "specs": "encrypted-media", + "name": "initData", + "type-original": "ArrayBuffer?", + "nullable": 1, + "exposed": "Window", + "type": "ArrayBuffer", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "TouchEvent": { + "specs": "touch-events", + "anonymous-methods": { + "method": [] + }, + "name": "TouchEvent", + "properties": { + "property": { + "changedTouches": { + "specs": "touch-events", + "exposed": "Window", + "name": "changedTouches", + "type": "TouchList", + "type-original": "TouchList", + "read-only": 1 + }, + "keyCode": { + "specs": "touch-events", + "exposed": "Window", + "name": "keyCode", + "type": "short", + "type-original": "short", + "read-only": 1 + }, + "which": { + "specs": "touch-events", + "name": "which", + "type-original": "unsigned short", + "deprecated": 1, + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "shiftKey": { + "specs": "touch-events", + "exposed": "Window", + "name": "shiftKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "targetTouches": { + "specs": "touch-events", + "exposed": "Window", + "name": "targetTouches", + "type": "TouchList", + "type-original": "TouchList", + "read-only": 1 + }, + "altKey": { + "specs": "touch-events", + "exposed": "Window", + "name": "altKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "metaKey": { + "specs": "touch-events", + "exposed": "Window", + "name": "metaKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "touches": { + "specs": "touch-events", + "exposed": "Window", + "name": "touches", + "type": "TouchList", + "type-original": "TouchList", + "read-only": 1 + }, + "ctrlKey": { + "specs": "touch-events", + "exposed": "Window", + "name": "ctrlKey", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "charCode": { + "specs": "touch-events", + "exposed": "Window", + "name": "charCode", + "type": "short", + "type-original": "short", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "UIEvent" + }, + "WorkerLocation": { + "constants": { + "constant": {} + }, + "specs": "workers", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Worker", + "name": "WorkerLocation", + "extends": "Object", + "properties": { + "property": { + "protocol": { + "specs": "workers", + "exposed": "Worker", + "name": "protocol", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "search": { + "specs": "workers", + "exposed": "Worker", + "name": "search", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "origin": { + "specs": "workers", + "exposed": "Worker", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "hostname": { + "specs": "workers", + "exposed": "Worker", + "name": "hostname", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "pathname": { + "specs": "workers", + "exposed": "Worker", + "name": "pathname", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "port": { + "specs": "workers", + "exposed": "Worker", + "name": "port", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "host": { + "specs": "workers", + "exposed": "Worker", + "name": "host", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "hash": { + "specs": "workers", + "exposed": "Worker", + "name": "hash", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "href": { + "specs": "workers", + "name": "href", + "type-original": "DOMString", + "exposed": "Worker", + "type": "DOMString", + "stringifier": 1, + "read-only": 1 + } + } + } + }, + "ServiceWorkerMessageEvent": { + "specs": "service-workers", + "constructor": { + "specs": "service-workers", + "signature": [ + { + "param-min-required": 1, + "type": "ServiceWorkerMessageEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "ServiceWorkerMessageEventInit", + "optional": 1, + "type-original": "ServiceWorkerMessageEventInit" + } + ], + "type-original": "ServiceWorkerMessageEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ServiceWorkerMessageEvent", + "properties": { + "property": { + "source": { + "specs": "service-workers", + "same-object": 1, + "name": "source", + "type-original": "(ServiceWorker or MessagePort)?", + "exposed": "Window", + "type": [ + { + "nullable": 1, + "type": "ServiceWorker" + }, + { + "nullable": 1, + "type": "MessagePort" + } + ], + "read-only": 1 + }, + "ports": { + "specs": "service-workers", + "name": "ports", + "type-original": "FrozenArray?", + "subtype": { + "type": "MessagePort" + }, + "nullable": 1, + "exposed": "Window", + "type": "FrozenArray", + "read-only": 1 + }, + "lastEventId": { + "specs": "service-workers", + "exposed": "Window", + "name": "lastEventId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "origin": { + "specs": "service-workers", + "exposed": "Window", + "name": "origin", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "data": { + "specs": "service-workers", + "exposed": "Window", + "name": "data", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "SVGTextElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "ltr rtl inherit", + "value-syntax": "enum", + "name": "direction" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "value-syntax": "enum", + "name": "dominant-baseline" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "value-syntax": "css_font", + "name": "font" + }, + { + "enum-values": "inherit", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family", + "name": "font-family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "value-syntax": "css_percentage_or_length", + "name": "font-size" + }, + { + "enum-values": "none inherit", + "value-syntax": "floating_point_number", + "name": "font-size-adjust" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "value-syntax": "enum", + "name": "font-stretch" + }, + { + "enum-values": "normal italic oblique inherit initial", + "value-syntax": "enum", + "name": "font-style" + }, + { + "enum-values": "normal small-caps inherit initial", + "value-syntax": "enum", + "name": "font-variant" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "value-syntax": "enum", + "name": "font-weight" + }, + { + "enum-values": "inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-horizontal" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-vertical" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_length", + "name": "kerning" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "letter-spacing" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "start middle end inherit", + "value-syntax": "enum", + "name": "text-anchor" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "value-syntax": "enum", + "name": "text-decoration" + }, + { + "enum-values": "normal embed bidi-override inherit", + "value-syntax": "enum", + "name": "unicode-bidi" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "word-spacing" + }, + { + "enum-values": "lr-tb tb-rl rl-tb bt-rl tb-lr bt-lr lr-bt rl-bt lr rl tb horizontal-tb vertical-lr vertical-rl inherit", + "value-syntax": "enum", + "name": "writing-mode" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTextElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "text" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGTextPositioningElement" + }, + "ValidityState": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "ValidityState", + "extends": "Object", + "properties": { + "property": { + "customError": { + "specs": "html5", + "exposed": "Window", + "name": "customError", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "valueMissing": { + "specs": "html5", + "exposed": "Window", + "name": "valueMissing", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "badInput": { + "specs": "html5", + "exposed": "Window", + "name": "badInput", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "tooLong": { + "specs": "html5", + "exposed": "Window", + "name": "tooLong", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "valid": { + "specs": "html5", + "exposed": "Window", + "name": "valid", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "stepMismatch": { + "specs": "html5", + "exposed": "Window", + "name": "stepMismatch", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "rangeUnderflow": { + "specs": "html5", + "exposed": "Window", + "name": "rangeUnderflow", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "rangeOverflow": { + "specs": "html5", + "exposed": "Window", + "name": "rangeOverflow", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "typeMismatch": { + "specs": "html5", + "exposed": "Window", + "name": "typeMismatch", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "patternMismatch": { + "specs": "html5", + "exposed": "Window", + "name": "patternMismatch", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "Storage": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "Storage", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "property-descriptor-not-enumerable": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "override-builtins": 1, + "methods": { + "method": { + "getItem": { + "specs": "html5", + "name": "getItem", + "property-descriptor-not-enumerable": 1, + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "key", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any?" + } + ], + "exposed": "Window" + }, + "setItem": { + "specs": "html5", + "name": "setItem", + "property-descriptor-not-enumerable": 1, + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "key", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window", + "setter": 1 + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "clear", + "property-descriptor-not-enumerable": 1 + }, + "removeItem": { + "specs": "html5", + "name": "removeItem", + "property-descriptor-not-enumerable": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "key", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window", + "deleter": 1 + }, + "key": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "key", + "property-descriptor-not-enumerable": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLIFrameElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLIFrameElement", + "properties": { + "property": { + "width": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "align", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "name": "align", + "deprecated": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "scrolling": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "scrolling", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "auto no yes", + "name": "scrolling", + "deprecated": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "contentWindow": { + "specs": "html5", + "name": "contentWindow", + "type-original": "Window?", + "nullable": 1, + "exposed": "Window", + "type": "Window", + "read-only": 1 + }, + "marginHeight": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "marginheight", + "interop": 1, + "pure": 1, + "name": "marginHeight", + "deprecated": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "signed_integer", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "allowPaymentRequest": { + "specs": "html5", + "ce-reactions": 1, + "name": "allowPaymentRequest", + "content-attribute": "allowpaymentrequest", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "src": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "name": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "marginWidth": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "marginwidth", + "interop": 1, + "pure": 1, + "name": "marginWidth", + "deprecated": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "signed_integer", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "height": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "contentDocument": { + "specs": "html5", + "name": "contentDocument", + "type-original": "Document?", + "nullable": 1, + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "allowFullscreen": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "allowFullscreen", + "content-attribute": "allowfullscreen", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "longDesc": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "longDesc", + "type-original": "DOMString", + "content-attribute": "longdesc", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "url", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onload": { + "specs": "html5", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "sandbox": { + "content-attribute-enum-values": "allow-scripts allow-forms allow-same-origin allow-top-navigation allow-popups allow-pointer-lock", + "put-forwards": "value", + "specs": "html5", + "same-object": 1, + "name": "sandbox", + "content-attribute": "sandbox", + "type-original": "DOMTokenList", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMTokenList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "frameBorder": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "frameBorder", + "type-original": "DOMString", + "content-attribute": "frameborder", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "iframe" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "GetSVGDocument" + ] + }, + "PaymentRequestUpdateEvent": { + "specs": "payment-request", + "constructor": { + "specs": "payment-request", + "signature": [ + { + "param-min-required": 1, + "type": "PaymentRequestUpdateEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PaymentRequestUpdateEventInit", + "optional": 1, + "type-original": "PaymentRequestUpdateEventInit" + } + ], + "type-original": "PaymentRequestUpdateEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PaymentRequestUpdateEvent", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "updateWith": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "PaymentDetailsUpdate" + }, + "name": "detailsPromise", + "type": "Promise", + "type-original": "Promise" + } + ], + "type-original": "void" + } + ], + "specs": "payment-request", + "exposed": "Window", + "name": "updateWith" + } + } + }, + "extends": "Event", + "secure-context": 1 + }, + "HTMLBodyElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLBodyElement", + "properties": { + "property": { + "link": { + "specs": "html5", + "ce-reactions": 1, + "name": "link", + "type-original": "DOMString", + "content-attribute": "link", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onresize": { + "specs": "html5", + "name": "onresize", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "resize", + "event-handler-map-to-window": 1 + }, + "aLink": { + "specs": "html5", + "ce-reactions": 1, + "name": "aLink", + "type-original": "DOMString", + "content-attribute": "alink", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "background": { + "specs": "html5", + "ce-reactions": 1, + "name": "background", + "type-original": "DOMString", + "content-attribute": "background", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "vLink": { + "specs": "html5", + "ce-reactions": 1, + "name": "vLink", + "type-original": "DOMString", + "content-attribute": "vlink", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noWrap": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "noWrap", + "type-original": "boolean", + "content-attribute": "nowrap", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "onblur": { + "specs": "html5", + "name": "onblur", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blur", + "event-handler-map-to-window": 1 + }, + "onorientationchange": { + "specs": "whatwg-compat", + "name": "onorientationchange", + "type-original": "EventHandler", + "content-attribute": "onorientationchange", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler-map-to-window": 1, + "event-handler": "orientationchange" + }, + "onfocus": { + "specs": "html5", + "name": "onfocus", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focus", + "event-handler-map-to-window": 1 + }, + "bgColor": { + "specs": "html5", + "ce-reactions": 1, + "name": "bgColor", + "type-original": "DOMString", + "content-attribute": "bgcolor", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onscroll": { + "specs": "html5", + "name": "onscroll", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll", + "event-handler-map-to-window": 1 + }, + "text": { + "specs": "html5", + "ce-reactions": 1, + "name": "text", + "type-original": "DOMString", + "content-attribute": "text", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error", + "event-handler-map-to-window": 1 + }, + "onload": { + "specs": "html5", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load", + "event-handler-map-to-window": 1 + }, + "bgProperties": { + "extension": 1, + "specs": "none", + "name": "bgProperties", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "body" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "offline", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "online", + "type": "Event", + "bubbles": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "WindowEventHandlers" + ] + }, + "CSS": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "name": "CSS", + "static": 1, + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "supports": { + "specs": "css-conditional", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "property", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "name": "supports", + "exposed": "Window", + "static": 1 + } + } + }, + "extends": "Object" + }, + "MutationEvent": { + "specs": "uievents", + "anonymous-methods": { + "method": [] + }, + "name": "MutationEvent", + "properties": { + "property": { + "attrChange": { + "specs": "uievents", + "name": "attrChange", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "newValue": { + "specs": "uievents", + "name": "newValue", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "attrName": { + "specs": "uievents", + "name": "attrName", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "prevValue": { + "specs": "uievents", + "name": "prevValue", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "relatedNode": { + "specs": "uievents", + "name": "relatedNode", + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "MODIFICATION": { + "specs": "uievents", + "value": "1", + "exposed": "Window", + "name": "MODIFICATION", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "REMOVAL": { + "specs": "uievents", + "value": "3", + "exposed": "Window", + "name": "REMOVAL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "ADDITION": { + "specs": "uievents", + "value": "2", + "exposed": "Window", + "name": "ADDITION", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "initMutationEvent": { + "signature": [ + { + "param-min-required": 8, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "relatedNodeArg", + "type": "Node", + "type-original": "Node" + }, + { + "name": "prevValueArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "newValueArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "attrNameArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "attrChangeArg", + "type": "unsigned short", + "type-original": "unsigned short" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initMutationEvent" + } + } + }, + "extends": "Event" + }, + "AbortController": { + "specs": "dom", + "constructor": { + "specs": "dom", + "signature": [ + { + "type": "AbortController", + "type-original": "AbortController" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "AbortController", + "properties": { + "property": { + "signal": { + "specs": "dom", + "exposed": "Window", + "name": "signal", + "type": "AbortSignal", + "type-original": "AbortSignal", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "abort" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "DragEvent": { + "constants": { + "constant": {} + }, + "specs": "html51", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "initDragEvent": { + "signature": [ + { + "param-min-required": 16, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "ctrlKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + }, + { + "name": "dataTransferArg", + "type": "DataTransfer", + "type-original": "DataTransfer" + } + ], + "type-original": "void" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "initDragEvent" + }, + "msConvertURL": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "file", + "type": "File", + "type-original": "File" + }, + { + "name": "targetType", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "targetURL", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "msConvertURL" + } + } + }, + "name": "DragEvent", + "extends": "MouseEvent", + "properties": { + "property": { + "dataTransfer": { + "specs": "html51", + "name": "dataTransfer", + "type-original": "DataTransfer", + "exposed": "Window", + "type": "DataTransfer", + "read-only": 1 + } + } + } + }, + "Crypto": { + "constants": { + "constant": {} + }, + "specs": "webcryptoapi", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getRandomValues": { + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "param": [ + { + "name": "array", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView" + } + ], + "type-original": "ArrayBufferView" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "getRandomValues" + } + } + }, + "name": "Crypto", + "extends": "Object", + "properties": { + "property": { + "subtle": { + "specs": "webcryptoapi", + "name": "subtle", + "type-original": "SubtleCrypto", + "exposed": "Window", + "type": "SubtleCrypto", + "secure-context": 1, + "read-only": 1 + } + } + } + }, + "ErrorEvent": { + "specs": "workers", + "constructor": { + "specs": "workers", + "signature": [ + { + "param-min-required": 1, + "type": "ErrorEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "ErrorEventInit", + "optional": 1, + "type-original": "ErrorEventInit" + } + ], + "type-original": "ErrorEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ErrorEvent", + "properties": { + "property": { + "colno": { + "specs": "workers", + "exposed": "Window", + "name": "colno", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "filename": { + "specs": "workers", + "exposed": "Window", + "name": "filename", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "error": { + "specs": "workers", + "name": "error", + "type-original": "any?", + "nullable": 1, + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "lineno": { + "specs": "workers", + "exposed": "Window", + "name": "lineno", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "message": { + "specs": "workers", + "exposed": "Window", + "name": "message", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initErrorEvent": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "messageArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "filenameArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "linenoArg", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Window", + "name": "initErrorEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "SVGFilterElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFilterElement", + "properties": { + "property": { + "filterResX": { + "specs": "svg11", + "name": "filterResX", + "constant": 1, + "type-original": "SVGAnimatedInteger", + "content-attribute": "filterRes", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "svg_x_y_pair", + "exposed": "Window", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "width": { + "specs": "filter-effects", + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "filter-effects", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "filterUnits": { + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "specs": "filter-effects", + "name": "filterUnits", + "constant": 1, + "content-attribute": "filterUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "primitiveUnits": { + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "specs": "filter-effects", + "name": "primitiveUnits", + "constant": 1, + "content-attribute": "primitiveUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "filter-effects", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "height": { + "specs": "filter-effects", + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "filterResY": { + "specs": "svg11", + "name": "filterResY", + "constant": 1, + "type-original": "SVGAnimatedInteger", + "content-attribute": "filterRes", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "svg_x_y_pair", + "exposed": "Window", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "filter" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": { + "setFilterRes": { + "interop": 1, + "deprecated": 1, + "specs": "svg11", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "filterResX", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "filterResY", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "name": "setFilterRes", + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGUnitTypes", + "SVGURIReference" + ] + }, + "SVGImageElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGImageElement", + "properties": { + "property": { + "width": { + "specs": "svg2", + "same-object": 1, + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y": { + "specs": "svg2", + "same-object": 1, + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "preserveAspectRatio": { + "specs": "svg2", + "same-object": 1, + "name": "preserveAspectRatio", + "constant": 1, + "content-attribute": "preserveAspectRatio", + "type-original": "SVGAnimatedPreserveAspectRatio", + "exposed": "Window", + "content-attribute-value-syntax": "svg_aspect_ratio", + "type": "SVGAnimatedPreserveAspectRatio", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "svg2", + "same-object": 1, + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "height": { + "specs": "svg2", + "same-object": 1, + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "image" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "svg11", + "name": "SVGAbort", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "svg11", + "name": "SVGError", + "type": "Event", + "bubbles": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement", + "implements": [ + "SVGURIReference" + ] + }, + "MSStreamReader": { + "dataslot": [ + { + "name": "result" + } + ], + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "type": "MSStreamReader", + "type-original": "MSStreamReader" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSStreamReader", + "properties": { + "property": { + "onprogress": { + "specs": "none", + "name": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "readyState": { + "specs": "none", + "exposed": "Window", + "name": "readyState", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "onabort": { + "specs": "none", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "onloadend": { + "specs": "none", + "name": "onloadend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadend" + }, + "error": { + "specs": "none", + "exposed": "Window", + "name": "error", + "type": "DOMError", + "type-original": "DOMError", + "read-only": 1 + }, + "onload": { + "specs": "none", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onerror": { + "specs": "none", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "result": { + "specs": "none", + "exposed": "Window", + "name": "result", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "onloadstart": { + "specs": "none", + "name": "onloadstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + } + } + }, + "constants": { + "constant": { + "LOADING": { + "specs": "none", + "value": "1", + "exposed": "Window", + "name": "LOADING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DONE": { + "specs": "none", + "value": "2", + "exposed": "Window", + "name": "DONE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "EMPTY": { + "specs": "none", + "value": "0", + "exposed": "Window", + "name": "EMPTY", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [] + }, + "exposed": "Window", + "methods": { + "method": { + "readAsArrayBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "size", + "default": "-1", + "type": "long long", + "optional": 1, + "type-original": "long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "readAsArrayBuffer" + }, + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "abort" + }, + "readAsBlob": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "size", + "default": "-1", + "type": "long long", + "optional": 1, + "type-original": "long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "readAsBlob" + }, + "readAsDataURL": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "size", + "default": "-1", + "type": "long long", + "optional": 1, + "type-original": "long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "readAsDataURL" + }, + "readAsBinaryString": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "size", + "default": "-1", + "type": "long long", + "optional": 1, + "type-original": "long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "readAsBinaryString" + }, + "readAsText": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MSStream", + "type-original": "MSStream" + }, + { + "name": "encoding", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "size", + "default": "-1", + "type": "long long", + "optional": 1, + "type-original": "long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "readAsText" + } + } + }, + "extends": "EventTarget" + }, + "PerformanceTiming": { + "specs": "navigation-timing", + "anonymous-methods": { + "method": [] + }, + "name": "PerformanceTiming", + "properties": { + "property": { + "responseStart": { + "specs": "navigation-timing", + "name": "responseStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domainLookupEnd": { + "specs": "navigation-timing", + "name": "domainLookupEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "redirectStart": { + "specs": "navigation-timing", + "name": "redirectStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domComplete": { + "specs": "navigation-timing", + "name": "domComplete", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "msFirstPaint": { + "extension": 1, + "specs": "none", + "name": "msFirstPaint", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "loadEventStart": { + "specs": "navigation-timing", + "name": "loadEventStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domainLookupStart": { + "specs": "navigation-timing", + "name": "domainLookupStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domInteractive": { + "specs": "navigation-timing", + "name": "domInteractive", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "requestStart": { + "specs": "navigation-timing", + "name": "requestStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "fetchStart": { + "specs": "navigation-timing", + "name": "fetchStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "unloadEventEnd": { + "specs": "navigation-timing", + "name": "unloadEventEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "navigationStart": { + "specs": "navigation-timing", + "name": "navigationStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "loadEventEnd": { + "specs": "navigation-timing", + "name": "loadEventEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "connectEnd": { + "specs": "navigation-timing", + "name": "connectEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "connectStart": { + "specs": "navigation-timing", + "name": "connectStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domLoading": { + "specs": "navigation-timing", + "name": "domLoading", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "responseEnd": { + "specs": "navigation-timing", + "name": "responseEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "redirectEnd": { + "specs": "navigation-timing", + "name": "redirectEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "unloadEventStart": { + "specs": "navigation-timing", + "name": "unloadEventStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domContentLoadedEventEnd": { + "specs": "navigation-timing", + "name": "domContentLoadedEventEnd", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "domContentLoadedEventStart": { + "specs": "navigation-timing", + "name": "domContentLoadedEventStart", + "type-original": "unsigned long long", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "toJSON": { + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "navigation-timing", + "exposed": "Window", + "name": "toJSON" + } + } + }, + "extends": "Object" + }, + "WebGLFramebuffer": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLFramebuffer", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "SVGPathSegArcRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegArcRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "sweepFlag": { + "specs": "svg11", + "exposed": "Window", + "name": "sweepFlag", + "type": "boolean", + "type-original": "boolean" + }, + "r2": { + "specs": "svg11", + "exposed": "Window", + "name": "r2", + "type": "float", + "type-original": "float" + }, + "angle": { + "specs": "svg11", + "exposed": "Window", + "name": "angle", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "largeArcFlag": { + "specs": "svg11", + "exposed": "Window", + "name": "largeArcFlag", + "type": "boolean", + "type-original": "boolean" + }, + "r1": { + "specs": "svg11", + "exposed": "Window", + "name": "r1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "SpeechSynthesisVoice": { + "constants": { + "constant": {} + }, + "specs": "speech-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SpeechSynthesisVoice", + "extends": "Object", + "properties": { + "property": { + "localService": { + "specs": "speech-api", + "exposed": "Window", + "name": "localService", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "lang": { + "specs": "speech-api", + "exposed": "Window", + "name": "lang", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "voiceURI": { + "specs": "speech-api", + "exposed": "Window", + "name": "voiceURI", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "name": { + "specs": "speech-api", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "default": { + "specs": "speech-api", + "exposed": "Window", + "name": "default", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "SVGStringList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "replaceItem" + }, + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getItem" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "DOMString", + "param": [ + { + "name": "newItem", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "insertItemBefore" + } + } + }, + "name": "SVGStringList", + "extends": "Object", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg2", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "CSSGroupingRule": { + "constants": { + "constant": {} + }, + "specs": "css-conditional cssom", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "insertRule": { + "signature": [ + { + "param-min-required": 2, + "type": "unsigned long", + "param": [ + { + "name": "rule", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "unsigned long" + } + ], + "specs": "css-conditional cssom", + "exposed": "Window", + "name": "insertRule" + }, + "deleteRule": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "css-conditional cssom", + "exposed": "Window", + "name": "deleteRule" + } + } + }, + "name": "CSSGroupingRule", + "extends": "CSSRule", + "properties": { + "property": { + "cssRules": { + "specs": "css-conditional cssom", + "same-object": 1, + "name": "cssRules", + "type-original": "CSSRuleList", + "exposed": "Window", + "type": "CSSRuleList", + "read-only": 1 + } + } + } + }, + "MutationRecord": { + "constants": { + "constant": {} + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MutationRecord", + "extends": "Object", + "properties": { + "property": { + "oldValue": { + "specs": "dom4", + "name": "oldValue", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "previousSibling": { + "specs": "dom4", + "name": "previousSibling", + "constant": 1, + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "target": { + "specs": "dom4", + "name": "target", + "constant": 1, + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "nextSibling": { + "specs": "dom4", + "name": "nextSibling", + "constant": 1, + "type-original": "Node?", + "nullable": 1, + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "addedNodes": { + "specs": "dom4", + "name": "addedNodes", + "constant": 1, + "type-original": "NodeList", + "exposed": "Window", + "type": "NodeList", + "read-only": 1 + }, + "attributeNamespace": { + "specs": "dom4", + "name": "attributeNamespace", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "attributeName": { + "specs": "dom4", + "name": "attributeName", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "removedNodes": { + "specs": "dom4", + "name": "removedNodes", + "constant": 1, + "type-original": "NodeList", + "exposed": "Window", + "type": "NodeList", + "read-only": 1 + }, + "type": { + "specs": "dom4", + "name": "type", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "ScopedCredential": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "ScopedCredential", + "properties": { + "property": { + "id": { + "specs": "webauthn", + "exposed": "Window", + "name": "id", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer", + "read-only": 1 + }, + "type": { + "specs": "webauthn", + "exposed": "Window", + "name": "type", + "type": "ScopedCredentialType", + "type-original": "ScopedCredentialType", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "SVGLength": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGLength", + "properties": { + "property": { + "valueAsString": { + "specs": "svg2", + "exposed": "Window", + "name": "valueAsString", + "type": "DOMString", + "type-original": "DOMString" + }, + "valueInSpecifiedUnits": { + "specs": "svg2", + "exposed": "Window", + "name": "valueInSpecifiedUnits", + "type": "float", + "type-original": "float" + }, + "value": { + "specs": "svg2", + "exposed": "Window", + "name": "value", + "type": "float", + "type-original": "float" + }, + "unitType": { + "specs": "svg2", + "name": "unitType", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_LENGTHTYPE_NUMBER": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_NUMBER", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_PC": { + "specs": "svg2", + "value": "10", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_PC", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_CM": { + "specs": "svg2", + "value": "6", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_CM", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_PERCENTAGE": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_PERCENTAGE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_MM": { + "specs": "svg2", + "value": "7", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_MM", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_PT": { + "specs": "svg2", + "value": "9", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_PT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_IN": { + "specs": "svg2", + "value": "8", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_IN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_EMS": { + "specs": "svg2", + "value": "3", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_EMS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_PX": { + "specs": "svg2", + "value": "5", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_PX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_LENGTHTYPE_EXS": { + "specs": "svg2", + "value": "4", + "exposed": "Window", + "name": "SVG_LENGTHTYPE_EXS", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "newValueSpecifiedUnits": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "newValueSpecifiedUnits" + }, + "convertToSpecifiedUnits": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short", + "type-original": "unsigned short" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "convertToSpecifiedUnits" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "WebAuthentication": { + "specs": "WD-webauthn-20160902", + "anonymous-methods": { + "method": [] + }, + "name": "WebAuthentication", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getAssertion": { + "signature": [ + { + "subtype": { + "type": "WebAuthnAssertion" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "assertionChallenge", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + { + "name": "options", + "type": "AssertionOptions", + "optional": 1, + "type-original": "AssertionOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "WD-webauthn-20160902", + "exposed": "Window", + "name": "getAssertion" + }, + "makeCredential": { + "signature": [ + { + "subtype": { + "type": "ScopedCredentialInfo" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "accountInformation", + "type": "Account", + "type-original": "Account" + }, + { + "subtype": { + "type": "ScopedCredentialParameters" + }, + "name": "cryptoParameters", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "attestationChallenge", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + { + "name": "options", + "type": "ScopedCredentialOptions", + "optional": 1, + "type-original": "ScopedCredentialOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "WD-webauthn-20160902", + "exposed": "Window", + "name": "makeCredential" + } + } + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "DOMError": { + "constants": { + "constant": {} + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "name": "DOMError", + "extends": "Object", + "properties": { + "property": { + "name": { + "specs": "dom4", + "name": "name", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "stringifier": 1, + "read-only": 1 + } + } + } + }, + "SVGPathSegCurvetoCubicRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoCubicRel", + "properties": { + "property": { + "y1": { + "specs": "svg11", + "exposed": "Window", + "name": "y1", + "type": "float", + "type-original": "float" + }, + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x2": { + "specs": "svg11", + "exposed": "Window", + "name": "x2", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "y2": { + "specs": "svg11", + "exposed": "Window", + "name": "y2", + "type": "float", + "type-original": "float" + }, + "x1": { + "specs": "svg11", + "exposed": "Window", + "name": "x1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "PannerNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "setPosition": { + "deprecated": 1, + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setPosition" + }, + "setOrientation": { + "deprecated": 1, + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setOrientation" + }, + "setVelocity": { + "interop": 1, + "deprecated": 1, + "specs": "WD-webaudio-20151208", + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "name": "setVelocity", + "exposed": "Window" + } + } + }, + "name": "PannerNode", + "extends": "AudioNode", + "properties": { + "property": { + "rolloffFactor": { + "specs": "webaudio", + "exposed": "Window", + "name": "rolloffFactor", + "type": "float", + "type-original": "float" + }, + "coneOuterAngle": { + "specs": "webaudio", + "exposed": "Window", + "name": "coneOuterAngle", + "type": "float", + "type-original": "float" + }, + "panningModel": { + "specs": "webaudio", + "exposed": "Window", + "name": "panningModel", + "type": "PanningModelType", + "type-original": "PanningModelType" + }, + "distanceModel": { + "specs": "webaudio", + "exposed": "Window", + "name": "distanceModel", + "type": "DistanceModelType", + "type-original": "DistanceModelType" + }, + "maxDistance": { + "specs": "webaudio", + "exposed": "Window", + "name": "maxDistance", + "type": "float", + "type-original": "float" + }, + "coneInnerAngle": { + "specs": "webaudio", + "exposed": "Window", + "name": "coneInnerAngle", + "type": "float", + "type-original": "float" + }, + "coneOuterGain": { + "specs": "webaudio", + "exposed": "Window", + "name": "coneOuterGain", + "type": "float", + "type-original": "float" + }, + "refDistance": { + "specs": "webaudio", + "exposed": "Window", + "name": "refDistance", + "type": "float", + "type-original": "float" + } + } + } + }, + "OfflineAudioContext": { + "specs": "webaudio", + "constructor": { + "specs": "webaudio", + "signature": [ + { + "param-min-required": 3, + "type": "OfflineAudioContext", + "param": [ + { + "name": "numberOfChannels", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "sampleRate", + "type": "float", + "type-original": "float" + } + ], + "type-original": "OfflineAudioContext" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "OfflineAudioContext", + "properties": { + "property": { + "oncomplete": { + "specs": "webaudio", + "name": "oncomplete", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "complete" + }, + "length": { + "specs": "webaudio", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Audio", + "name": "complete", + "type": "OfflineAudioCompletionEvent", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "suspend": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "suspendTime", + "type": "double", + "type-original": "double" + } + ], + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "suspend" + }, + "startRendering": { + "signature": [ + { + "subtype": { + "type": "AudioBuffer" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "startRendering" + } + } + }, + "exposed": "Window", + "extends": "AudioContext" + }, + "HTMLCanvasElement": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLCanvasElement", + "properties": { + "property": { + "width": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "height": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "canvas" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "precedes": "webglcontextrestored", + "dispatch": "async", + "specs": "WebGL", + "name": "webglcontextlost", + "type": "WebGLContextEvent" + }, + { + "dispatch": "async", + "specs": "WebGL", + "name": "webglcontextrestored", + "follows": "webglcontextlost", + "type": "WebGLContextEvent" + }, + { + "dispatch": "async", + "specs": "WebGL", + "name": "webglcontextcreationerror", + "type": "WebGLContextEvent" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "toDataURL": { + "signature": [ + { + "param-min-required": 0, + "type": "DOMString", + "param": [ + { + "name": "type", + "default": "\"image/png\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "DOMString" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "toDataURL" + }, + "msToBlob": { + "signature": [ + { + "type": "Blob", + "type-original": "Blob" + } + ], + "specs": "fileapi", + "exposed": "Window", + "name": "msToBlob" + }, + "getContext": { + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "type": "CanvasRenderingContext2D" + }, + { + "type": "WebGLRenderingContext" + } + ], + "param": [ + { + "name": "contextId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "(CanvasRenderingContext2D or WebGLRenderingContext)" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getContext" + } + } + }, + "extends": "HTMLElement" + }, + "Request": { + "specs": "whatwg-fetch", + "constructor": { + "specs": "whatwg-fetch", + "signature": [ + { + "param-min-required": 1, + "type": "Request", + "param": [ + { + "name": "input", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + }, + { + "name": "init", + "type": "RequestInit", + "optional": 1, + "type-original": "RequestInit" + } + ], + "type-original": "Request" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Request", + "properties": { + "property": { + "headers": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "headers", + "type": "Headers", + "type-original": "Headers", + "read-only": 1 + }, + "mode": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "mode", + "type": "RequestMode", + "type-original": "RequestMode", + "read-only": 1 + }, + "destination": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "destination", + "type": "RequestDestination", + "type-original": "RequestDestination", + "read-only": 1 + }, + "referrer": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "referrer", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "credentials": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "credentials", + "type": "RequestCredentials", + "type-original": "RequestCredentials", + "read-only": 1 + }, + "signal": { + "specs": "whatwg-fetch", + "name": "signal", + "type-original": "AbortSignal?", + "nullable": 1, + "exposed": "Window", + "type": "AbortSignal", + "read-only": 1 + }, + "redirect": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "redirect", + "type": "RequestRedirect", + "type-original": "RequestRedirect", + "read-only": 1 + }, + "url": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "url", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "referrerPolicy": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "referrerPolicy", + "type": "ReferrerPolicy", + "type-original": "ReferrerPolicy", + "read-only": 1 + }, + "keepalive": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "keepalive", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "integrity": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "integrity", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "method": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "method", + "type": "ByteString", + "type-original": "ByteString", + "read-only": 1 + }, + "type": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "type", + "type": "RequestType", + "type-original": "RequestType", + "read-only": 1 + }, + "cache": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "cache", + "type": "RequestCache", + "type-original": "RequestCache", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "clone": { + "signature": [ + { + "new-object": 1, + "type": "Request", + "type-original": "Request" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "clone" + } + } + }, + "exposed": "Window", + "extends": "Object", + "implements": [ + "Body" + ] + }, + "HTMLTitleElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTitleElement", + "properties": { + "property": { + "text": { + "specs": "html5", + "ce-reactions": 1, + "name": "text", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "title" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "MSFIDOSignatureAssertion": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "MSFIDOSignatureAssertion", + "properties": { + "property": { + "signature": { + "specs": "webauthn", + "exposed": "Window", + "name": "signature", + "type": "MSFIDOSignature", + "type-original": "MSFIDOSignature", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "MSAssertion" + }, + "HTMLStyleElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLStyleElement", + "properties": { + "property": { + "disabled": { + "pure": 1, + "specs": "html5", + "name": "disabled", + "type-original": "boolean", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean" + }, + "media": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "media", + "content-attribute": "media", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "media_query", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "style" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "error", + "type": "Event" + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "follows": "readystatechange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "LinkStyle" + ] + }, + "RTCDtlsTransport": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 1, + "type": "RTCDtlsTransport", + "param": [ + { + "name": "transport", + "type": "RTCIceTransport", + "type-original": "RTCIceTransport" + } + ], + "type-original": "RTCDtlsTransport" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCDtlsTransport", + "properties": { + "property": { + "transport": { + "specs": "ortc", + "exposed": "Window", + "name": "transport", + "type": "RTCIceTransport", + "type-original": "RTCIceTransport", + "read-only": 1 + }, + "ondtlsstatechange": { + "specs": "ortc", + "name": "ondtlsstatechange", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dtlsstatechange" + }, + "onerror": { + "specs": "ortc", + "name": "onerror", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "state": { + "specs": "ortc", + "exposed": "Window", + "name": "state", + "type": "RTCDtlsTransportState", + "type-original": "RTCDtlsTransportState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "dtlsstatechange", + "type": "RTCDtlsTransportStateChangedEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "error", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "stop" + }, + "getRemoteParameters": { + "signature": [ + { + "nullable": 1, + "type": "RTCDtlsParameters", + "type-original": "RTCDtlsParameters?" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getRemoteParameters" + }, + "getRemoteCertificates": { + "signature": [ + { + "subtype": { + "type": "ArrayBuffer" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getRemoteCertificates" + }, + "getLocalParameters": { + "signature": [ + { + "type": "RTCDtlsParameters", + "type-original": "RTCDtlsParameters" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getLocalParameters" + }, + "start": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "remoteParameters", + "type": "RTCDtlsParameters", + "type-original": "RTCDtlsParameters" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "start" + } + } + }, + "extends": "RTCStatsProvider" + }, + "SVGTransform": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTransform", + "properties": { + "property": { + "angle": { + "specs": "svg2", + "name": "angle", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "type": { + "specs": "svg2", + "name": "type", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "matrix": { + "specs": "svg2", + "same-object": 1, + "name": "matrix", + "type-original": "SVGMatrix", + "exposed": "Window", + "type": "SVGMatrix", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_TRANSFORM_SKEWX": { + "specs": "svg2", + "value": "5", + "exposed": "Window", + "name": "SVG_TRANSFORM_SKEWX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_SCALE": { + "specs": "svg2", + "value": "3", + "exposed": "Window", + "name": "SVG_TRANSFORM_SCALE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_TRANSFORM_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_TRANSLATE": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_TRANSFORM_TRANSLATE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_MATRIX": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_TRANSFORM_MATRIX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_ROTATE": { + "specs": "svg2", + "value": "4", + "exposed": "Window", + "name": "SVG_TRANSFORM_ROTATE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_TRANSFORM_SKEWY": { + "specs": "svg2", + "value": "6", + "exposed": "Window", + "name": "SVG_TRANSFORM_SKEWY", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "setScale": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "sx", + "type": "float", + "type-original": "float" + }, + { + "name": "sy", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setScale" + }, + "setTranslate": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "tx", + "type": "float", + "type-original": "float" + }, + { + "name": "ty", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setTranslate" + }, + "setMatrix": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setMatrix" + }, + "setSkewY": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setSkewY" + }, + "setRotate": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + }, + { + "name": "cx", + "type": "float", + "type-original": "float" + }, + { + "name": "cy", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setRotate" + }, + "setSkewX": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setSkewX" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "WebGLShader": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLShader", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "IIRFilterNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getFrequencyResponse": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "frequencyHz", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "magResponse", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "phaseResponse", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getFrequencyResponse" + } + } + }, + "name": "IIRFilterNode", + "extends": "AudioNode", + "properties": { + "property": {} + } + }, + "UIEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "UIEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "UIEventInit", + "optional": 1, + "type-original": "UIEventInit" + } + ], + "type-original": "UIEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "UIEvent", + "properties": { + "property": { + "detail": { + "specs": "uievents", + "name": "detail", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "view": { + "specs": "uievents", + "name": "view", + "type-original": "Window", + "exposed": "Window", + "type": "Window", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initUIEvent": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initUIEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "WebGLBuffer": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLBuffer", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "SVGPathSeg": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSeg", + "properties": { + "property": { + "pathSegType": { + "pure": 1, + "specs": "svg11", + "name": "pathSegType", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "pathSegTypeAsLetter": { + "pure": 1, + "specs": "svg11", + "name": "pathSegTypeAsLetter", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS": { + "specs": "svg11", + "value": "16", + "exposed": "Window", + "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_VERTICAL_REL": { + "specs": "svg11", + "value": "15", + "exposed": "Window", + "name": "PATHSEG_LINETO_VERTICAL_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_MOVETO_REL": { + "specs": "svg11", + "value": "3", + "exposed": "Window", + "name": "PATHSEG_MOVETO_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_QUADRATIC_REL": { + "specs": "svg11", + "value": "9", + "exposed": "Window", + "name": "PATHSEG_CURVETO_QUADRATIC_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_CUBIC_ABS": { + "specs": "svg11", + "value": "6", + "exposed": "Window", + "name": "PATHSEG_CURVETO_CUBIC_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_HORIZONTAL_ABS": { + "specs": "svg11", + "value": "12", + "exposed": "Window", + "name": "PATHSEG_LINETO_HORIZONTAL_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_QUADRATIC_ABS": { + "specs": "svg11", + "value": "8", + "exposed": "Window", + "name": "PATHSEG_CURVETO_QUADRATIC_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_ABS": { + "specs": "svg11", + "value": "4", + "exposed": "Window", + "name": "PATHSEG_LINETO_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CLOSEPATH": { + "specs": "svg11", + "value": "1", + "exposed": "Window", + "name": "PATHSEG_CLOSEPATH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_HORIZONTAL_REL": { + "specs": "svg11", + "value": "13", + "exposed": "Window", + "name": "PATHSEG_LINETO_HORIZONTAL_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_CUBIC_SMOOTH_REL": { + "specs": "svg11", + "value": "17", + "exposed": "Window", + "name": "PATHSEG_CURVETO_CUBIC_SMOOTH_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_REL": { + "specs": "svg11", + "value": "5", + "exposed": "Window", + "name": "PATHSEG_LINETO_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS": { + "specs": "svg11", + "value": "18", + "exposed": "Window", + "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_ARC_REL": { + "specs": "svg11", + "value": "11", + "exposed": "Window", + "name": "PATHSEG_ARC_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_CUBIC_REL": { + "specs": "svg11", + "value": "7", + "exposed": "Window", + "name": "PATHSEG_CURVETO_CUBIC_REL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_UNKNOWN": { + "specs": "svg11", + "value": "0", + "exposed": "Window", + "name": "PATHSEG_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_LINETO_VERTICAL_ABS": { + "specs": "svg11", + "value": "14", + "exposed": "Window", + "name": "PATHSEG_LINETO_VERTICAL_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_ARC_ABS": { + "specs": "svg11", + "value": "10", + "exposed": "Window", + "name": "PATHSEG_ARC_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_MOVETO_ABS": { + "specs": "svg11", + "value": "2", + "exposed": "Window", + "name": "PATHSEG_MOVETO_ABS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL": { + "specs": "svg11", + "value": "19", + "exposed": "Window", + "name": "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object" + }, + "IDBIndex": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBIndex", + "properties": { + "property": { + "unique": { + "specs": "indexeddb", + "exposed": "Window", + "name": "unique", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "name": { + "specs": "indexeddb", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "keyPath": { + "specs": "indexeddb", + "exposed": "Window", + "name": "keyPath", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "objectStore": { + "specs": "indexeddb", + "exposed": "Window", + "name": "objectStore", + "type": "IDBObjectStore", + "type-original": "IDBObjectStore", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "count": { + "signature": [ + { + "param-min-required": 0, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "count" + }, + "getKey": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "getKey" + }, + "get": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "get" + }, + "openKeyCursor": { + "signature": [ + { + "param-min-required": 0, + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "type": "IDBCursorDirection", + "optional": 1, + "type-original": "IDBCursorDirection" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "openKeyCursor" + }, + "openCursor": { + "signature": [ + { + "param-min-required": 0, + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "type": "IDBCursorDirection", + "optional": 1, + "type-original": "IDBCursorDirection" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "openCursor" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "SVGNumber": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGNumber", + "extends": "Object", + "properties": { + "property": { + "value": { + "specs": "svg2", + "exposed": "Window", + "name": "value", + "type": "float", + "type-original": "float" + } + } + } + }, + "CSSSupportsRule": { + "constants": { + "constant": {} + }, + "specs": "css-conditional", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSSupportsRule", + "extends": "CSSConditionRule", + "properties": { + "property": {} + } + }, + "ClipboardEvent": { + "constants": { + "constant": {} + }, + "specs": "clipboard-apis", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "ClipboardEvent", + "extends": "Event", + "properties": { + "property": { + "clipboardData": { + "specs": "clipboard-apis", + "exposed": "Window", + "name": "clipboardData", + "type": "DataTransfer", + "type-original": "DataTransfer", + "read-only": 1 + } + } + } + }, + "Text": { + "specs": "dom", + "constructor": { + "specs": "dom", + "signature": [ + { + "param-min-required": 0, + "type": "Text", + "param": [ + { + "name": "data", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Text" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Text", + "properties": { + "property": { + "wholeText": { + "specs": "dom", + "exposed": "Window", + "name": "wholeText", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMNodeInserted", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMNodeRemoved", + "type": "MutationEvent", + "bubbles": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "splitText": { + "signature": [ + { + "new-object": 1, + "param-min-required": 1, + "type": "Text", + "param": [ + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Text" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "splitText" + } + } + }, + "extends": "CharacterData" + }, + "SVGAnimatedRect": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedRect", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "type-original": "SVGRect", + "exposed": "Window", + "type": "SVGRect", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "type-original": "SVGRect", + "exposed": "Window", + "type": "SVGRect", + "read-only": 1 + } + } + } + }, + "ByteLengthQueuingStrategy": { + "specs": "whatwg-streams", + "constructor": { + "specs": "whatwg-streams", + "signature": [ + { + "param-min-required": 1, + "type": "ByteLengthQueuingStrategy", + "param": [ + { + "name": "strategy", + "type": "QueuingStrategy", + "type-original": "QueuingStrategy" + } + ], + "type-original": "ByteLengthQueuingStrategy" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ByteLengthQueuingStrategy", + "properties": { + "property": { + "highWaterMark": { + "specs": "whatwg-streams", + "exposed": "Window", + "name": "highWaterMark", + "type": "double", + "type-original": "double" + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "size": { + "signature": [ + { + "param-min-required": 0, + "type": "long", + "param": [ + { + "name": "chunk", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "size" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "CSSNamespaceRule": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSNamespaceRule", + "extends": "CSSRule", + "properties": { + "property": { + "namespaceURI": { + "specs": "cssom", + "exposed": "Window", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "prefix": { + "specs": "cssom", + "exposed": "Window", + "name": "prefix", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "DataCue": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "DataCue", + "properties": { + "property": { + "data": { + "specs": "html5", + "exposed": "Window", + "name": "data", + "type": "ArrayBuffer", + "tags": "Captions", + "type-original": "ArrayBuffer" + } + } + }, + "tags": "Captions", + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "TextTrackCue" + }, + "HTMLUnknownElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLUnknownElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "isindex" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "nextid" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "MediaSource": { + "specs": "media-source", + "constructor": { + "specs": "media-source", + "signature": [ + { + "type": "MediaSource", + "type-original": "MediaSource" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaSource", + "properties": { + "property": { + "sourceBuffers": { + "specs": "media-source", + "exposed": "Window", + "name": "sourceBuffers", + "type": "SourceBufferList", + "type-original": "SourceBufferList", + "read-only": 1 + }, + "readyState": { + "specs": "media-source", + "exposed": "Window", + "name": "readyState", + "type": "ReadyState", + "type-original": "ReadyState", + "read-only": 1 + }, + "duration": { + "specs": "media-source", + "exposed": "Window", + "name": "duration", + "type": "double", + "type-original": "double" + }, + "activeSourceBuffers": { + "specs": "media-source", + "exposed": "Window", + "name": "activeSourceBuffers", + "type": "SourceBufferList", + "type-original": "SourceBufferList", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "precedes": "sourceended sourceclose", + "dispatch": "sync", + "specs": "MSE", + "name": "sourceopen", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "sourceclose", + "dispatch": "sync", + "specs": "MSE", + "name": "sourceended", + "follows": "sourceopen", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "sourceclose", + "follows": "sourceended sourceopen", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "addSourceBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "SourceBuffer", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "SourceBuffer" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "addSourceBuffer" + }, + "endOfStream": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "error", + "type": "EndOfStreamError", + "optional": 1, + "type-original": "EndOfStreamError" + } + ], + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "endOfStream" + }, + "isTypeSupported": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "isTypeSupported", + "static": 1 + }, + "removeSourceBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "sourceBuffer", + "type": "SourceBuffer", + "type-original": "SourceBuffer" + } + ], + "type-original": "void" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "removeSourceBuffer" + } + } + }, + "extends": "EventTarget" + }, + "PositionError": { + "specs": "geolocation-api", + "anonymous-methods": { + "method": [] + }, + "name": "PositionError", + "properties": { + "property": { + "message": { + "specs": "geolocation-api", + "name": "message", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "stringifier": 1, + "read-only": 1 + }, + "code": { + "specs": "geolocation-api", + "name": "code", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "POSITION_UNAVAILABLE": { + "specs": "geolocation-api", + "value": "2", + "exposed": "Window", + "name": "POSITION_UNAVAILABLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TIMEOUT": { + "specs": "geolocation-api", + "value": "3", + "exposed": "Window", + "name": "TIMEOUT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PERMISSION_DENIED": { + "specs": "geolocation-api", + "value": "1", + "exposed": "Window", + "name": "PERMISSION_DENIED", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "geolocation-api", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLTableCellElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableCellElement", + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "type-original": "DOMString", + "content-attribute": "width", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "headers": { + "specs": "html5", + "ce-reactions": 1, + "name": "headers", + "content-attribute": "headers", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_id_refs", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "cellIndex": { + "specs": "html5", + "exposed": "Window", + "name": "cellIndex", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "vAlign": { + "content-attribute-enum-values": "middle baseline bottom top", + "specs": "html5", + "ce-reactions": 1, + "name": "vAlign", + "type-original": "DOMString", + "content-attribute": "valign", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "colSpan": { + "specs": "html5", + "ce-reactions": 1, + "name": "colSpan", + "content-attribute": "colspan", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "axis": { + "specs": "html5", + "ce-reactions": 1, + "name": "axis", + "type-original": "DOMString", + "content-attribute": "axis", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "height": { + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "type-original": "DOMString", + "content-attribute": "height", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noWrap": { + "specs": "html5", + "ce-reactions": 1, + "name": "noWrap", + "type-original": "boolean", + "content-attribute": "nowrap", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "abbr": { + "specs": "html5", + "ce-reactions": 1, + "name": "abbr", + "content-attribute": "abbr", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "bgColor": { + "specs": "html5", + "ce-reactions": 1, + "name": "bgColor", + "type-original": "DOMString", + "content-attribute": "bgcolor", + "deprecated": 1, + "interop": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "simple_color", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "rowSpan": { + "specs": "html5", + "ce-reactions": 1, + "name": "rowSpan", + "content-attribute": "rowspan", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "ch": { + "specs": "html5", + "ce-reactions": 1, + "name": "ch", + "type-original": "DOMString", + "content-attribute": "char", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "chOff": { + "specs": "html5", + "ce-reactions": 1, + "name": "chOff", + "type-original": "DOMString", + "content-attribute": "charoff", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "scope": { + "content-attribute-enum-values": "row col rowgroup colgroup", + "specs": "html5", + "ce-reactions": 1, + "name": "scope", + "content-attribute": "scope", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "td" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "th" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "VideoTrackList": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "VideoTrackList", + "properties": { + "property": { + "onremovetrack": { + "specs": "html5", + "name": "onremovetrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "removetrack" + }, + "onchange": { + "specs": "html5", + "name": "onchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "change" + }, + "selectedIndex": { + "specs": "html5", + "exposed": "Window", + "name": "selectedIndex", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "length": { + "specs": "html5", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "onaddtrack": { + "specs": "html5", + "name": "onaddtrack", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "addtrack" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "addtrack", + "type": "TrackEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "removetrack", + "type": "TrackEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "change", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "getTrackById": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "VideoTrack", + "param": [ + { + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "VideoTrack?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "getTrackById" + }, + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "VideoTrack", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "VideoTrack" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGElementInstance": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGElementInstance", + "extends": "EventTarget", + "properties": { + "property": { + "previousSibling": { + "specs": "svg11", + "name": "previousSibling", + "type-original": "SVGElementInstance", + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "parentNode": { + "specs": "svg11", + "name": "parentNode", + "type-original": "SVGElementInstance", + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "lastChild": { + "specs": "svg11", + "name": "lastChild", + "type-original": "SVGElementInstance", + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "nextSibling": { + "specs": "svg11", + "name": "nextSibling", + "type-original": "SVGElementInstance", + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "childNodes": { + "specs": "svg11", + "name": "childNodes", + "type-original": "SVGElementInstanceList", + "exposed": "Window", + "type": "SVGElementInstanceList", + "read-only": 1 + }, + "correspondingUseElement": { + "specs": "svg11", + "name": "correspondingUseElement", + "type-original": "SVGUseElement", + "exposed": "Window", + "type": "SVGUseElement", + "read-only": 1 + }, + "correspondingElement": { + "specs": "svg11", + "name": "correspondingElement", + "type-original": "SVGElement", + "exposed": "Window", + "type": "SVGElement", + "read-only": 1 + }, + "firstChild": { + "specs": "svg11", + "name": "firstChild", + "type-original": "SVGElementInstance", + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + } + } + } + }, + "MediaKeyMessageEvent": { + "specs": "encrypted-media", + "constructor": { + "specs": "encrypted-media", + "signature": [ + { + "param-min-required": 1, + "type": "MediaKeyMessageEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaKeyMessageEventInit", + "optional": 1, + "type-original": "MediaKeyMessageEventInit" + } + ], + "type-original": "MediaKeyMessageEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaKeyMessageEvent", + "properties": { + "property": { + "messageType": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "messageType", + "type": "MediaKeyMessageType", + "type-original": "MediaKeyMessageType", + "read-only": 1 + }, + "message": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "message", + "type": "ArrayBuffer", + "type-original": "ArrayBuffer", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "GamepadButton": { + "constants": { + "constant": {} + }, + "specs": "gamepad", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "GamepadButton", + "extends": "Object", + "properties": { + "property": { + "pressed": { + "specs": "gamepad", + "exposed": "Window", + "name": "pressed", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "value": { + "specs": "gamepad", + "exposed": "Window", + "name": "value", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "touched": { + "specs": "gamepad", + "exposed": "Window", + "name": "touched", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "StyleSheetList": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "legacy-array-class": 1, + "name": "StyleSheetList", + "properties": { + "property": { + "length": { + "specs": "cssom", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "specs": "cssom", + "name": "item", + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "StyleSheet", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "StyleSheet?" + } + ], + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "CustomEvent": { + "specs": "dom4", + "constructor": { + "specs": "dom4", + "signature": [ + { + "param-min-required": 1, + "type": "CustomEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "CustomEventInit", + "optional": 1, + "type-original": "CustomEventInit" + } + ], + "type-original": "CustomEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "CustomEvent", + "properties": { + "property": { + "detail": { + "specs": "dom4", + "name": "detail", + "store-in-slot": "instance", + "type-original": "object", + "exposed": "Window", + "type": "object", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initCustomEvent": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "detailArg", + "type": "object", + "type-original": "object" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "initCustomEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "ChannelSplitterNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "ChannelSplitterNode", + "extends": "AudioNode", + "properties": { + "property": {} + } + }, + "HTMLTextAreaElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTextAreaElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "disabled": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "form": { + "pure": 1, + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "selectionStart": { + "specs": "html5", + "exposed": "Window", + "name": "selectionStart", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "rows": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "rows", + "content-attribute": "rows", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "readOnly": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "readOnly", + "content-attribute": "readonly", + "type-original": "boolean", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "cols": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "cols", + "content-attribute": "cols", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "autofocus": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autofocus", + "content-attribute": "autofocus", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "required": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "required", + "content-attribute": "required", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "selectionEnd": { + "specs": "html5", + "exposed": "Window", + "name": "selectionEnd", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "wrap": { + "content-attribute-enum-values": "soft hard off", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "wrap", + "content-attribute": "wrap", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "placeholder": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "placeholder", + "content-attribute": "placeholder", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "value": { + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "validity": { + "specs": "html5", + "exposed": "Window", + "name": "validity", + "type": "ValidityState", + "type-original": "ValidityState", + "read-only": 1 + }, + "maxLength": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "maxLength", + "content-attribute": "maxlength", + "type-original": "long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "html5", + "name": "type", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "defaultValue": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "defaultValue", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "textarea" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "change", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "input", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "invalid", + "type": "Event", + "cancelable": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "setSelectionRange": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "start", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "end", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setSelectionRange" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + }, + "select": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "select" + } + } + }, + "extends": "HTMLElement" + }, + "RTCIceTransport": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "type": "RTCIceTransport", + "type-original": "RTCIceTransport" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceTransport", + "properties": { + "property": { + "component": { + "specs": "ortc", + "exposed": "Window", + "name": "component", + "type": "RTCIceComponent", + "type-original": "RTCIceComponent", + "read-only": 1 + }, + "iceGatherer": { + "specs": "ortc", + "name": "iceGatherer", + "type-original": "RTCIceGatherer?", + "nullable": 1, + "exposed": "Window", + "type": "RTCIceGatherer", + "read-only": 1 + }, + "oncandidatepairchange": { + "specs": "ortc", + "name": "oncandidatepairchange", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "candidatepairchange" + }, + "onicestatechange": { + "specs": "ortc", + "name": "onicestatechange", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "icestatechange" + }, + "role": { + "specs": "ortc", + "exposed": "Window", + "name": "role", + "type": "RTCIceRole", + "type-original": "RTCIceRole", + "read-only": 1 + }, + "state": { + "specs": "ortc", + "exposed": "Window", + "name": "state", + "type": "RTCIceTransportState", + "type-original": "RTCIceTransportState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "icestatechange", + "type": "RTCIceTransportStateChangedEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "candidatepairchange", + "type": "RTCIceCandidatePairChangedEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "createAssociatedTransport": { + "signature": [ + { + "type": "RTCIceTransport", + "type-original": "RTCIceTransport" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "createAssociatedTransport" + }, + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "stop" + }, + "setRemoteCandidates": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "RTCIceCandidateDictionary" + }, + "name": "remoteCandidates", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "setRemoteCandidates" + }, + "getNominatedCandidatePair": { + "signature": [ + { + "nullable": 1, + "type": "RTCIceCandidatePair", + "type-original": "RTCIceCandidatePair?" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getNominatedCandidatePair" + }, + "getRemoteParameters": { + "signature": [ + { + "nullable": 1, + "type": "RTCIceParameters", + "type-original": "RTCIceParameters?" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getRemoteParameters" + }, + "getRemoteCandidates": { + "signature": [ + { + "subtype": { + "type": "RTCIceCandidateDictionary" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getRemoteCandidates" + }, + "start": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "gatherer", + "type": "RTCIceGatherer", + "type-original": "RTCIceGatherer" + }, + { + "name": "remoteParameters", + "type": "RTCIceParameters", + "type-original": "RTCIceParameters" + }, + { + "name": "role", + "type": "RTCIceRole", + "optional": 1, + "type-original": "RTCIceRole" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "start" + }, + "addRemoteCandidate": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "remoteCandidate", + "type": [ + { + "type": "RTCIceCandidateDictionary" + }, + { + "type": "RTCIceCandidateComplete" + } + ], + "type-original": "RTCIceGatherCandidate" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "addRemoteCandidate" + } + } + }, + "extends": "RTCStatsProvider" + }, + "SVGRect": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGRect", + "extends": "Object", + "properties": { + "property": { + "width": { + "specs": "svg11", + "exposed": "Window", + "name": "width", + "type": "float", + "type-original": "float" + }, + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "height": { + "specs": "svg11", + "exposed": "Window", + "name": "height", + "type": "float", + "type-original": "float" + } + } + } + }, + "RTCPeerConnection": { + "specs": "webrtc", + "constructor": { + "specs": "webrtc", + "signature": [ + { + "param-min-required": 1, + "type": "RTCPeerConnection", + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration", + "type-original": "RTCConfiguration" + } + ], + "type-original": "RTCPeerConnection" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCPeerConnection", + "properties": { + "property": { + "iceGatheringState": { + "specs": "webrtc", + "exposed": "Window", + "name": "iceGatheringState", + "type": "RTCIceGatheringState", + "type-original": "RTCIceGatheringState", + "read-only": 1 + }, + "onremovestream": { + "specs": "webrtc", + "name": "onremovestream", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "removestream" + }, + "onaddstream": { + "specs": "webrtc", + "name": "onaddstream", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "addstream" + }, + "remoteDescription": { + "specs": "webrtc", + "name": "remoteDescription", + "type-original": "RTCSessionDescription?", + "nullable": 1, + "exposed": "Window", + "type": "RTCSessionDescription", + "read-only": 1 + }, + "oniceconnectionstatechange": { + "specs": "webrtc", + "name": "oniceconnectionstatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "iceconnectionstatechange" + }, + "onicegatheringstatechange": { + "specs": "webrtc", + "name": "onicegatheringstatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "icegatheringstatechange" + }, + "onicecandidate": { + "specs": "webrtc", + "name": "onicecandidate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "icecandidate" + }, + "iceConnectionState": { + "specs": "webrtc", + "exposed": "Window", + "name": "iceConnectionState", + "type": "RTCIceConnectionState", + "type-original": "RTCIceConnectionState", + "read-only": 1 + }, + "canTrickleIceCandidates": { + "specs": "webrtc", + "name": "canTrickleIceCandidates", + "type-original": "boolean?", + "nullable": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "localDescription": { + "specs": "webrtc", + "name": "localDescription", + "type-original": "RTCSessionDescription?", + "nullable": 1, + "exposed": "Window", + "type": "RTCSessionDescription", + "read-only": 1 + }, + "signalingState": { + "specs": "webrtc", + "exposed": "Window", + "name": "signalingState", + "type": "RTCSignalingState", + "type-original": "RTCSignalingState", + "read-only": 1 + }, + "onsignalingstatechange": { + "specs": "webrtc", + "name": "onsignalingstatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "signalingstatechange" + }, + "onnegotiationneeded": { + "specs": "webrtc", + "name": "onnegotiationneeded", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "negotiationneeded" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "negotiationneeded", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "icecandidate", + "type": "RTCPeerConnectionIceEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "signalingstatechange", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "addstream", + "type": "MediaStreamEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "removestream", + "type": "MediaStreamEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "iceconnectionstatechange", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebRTC", + "name": "icegatheringstatechange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "getStats": { + "signature": [ + { + "subtype": { + "type": "RTCStatsReport" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "nullable": 1, + "name": "selector", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack?" + }, + { + "name": "successCallback", + "type": "RTCStatsCallback", + "optional": 1, + "type-original": "RTCStatsCallback" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "getStats" + }, + "addStream": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "type-original": "void" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "addStream" + }, + "removeStream": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "stream", + "type": "MediaStream", + "type-original": "MediaStream" + } + ], + "type-original": "void" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "removeStream" + }, + "createOffer": { + "signature": [ + { + "subtype": { + "type": "RTCSessionDescription" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "successCallback", + "type": "RTCSessionDescriptionCallback", + "optional": 1, + "type-original": "RTCSessionDescriptionCallback" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + }, + { + "name": "options", + "type": "RTCOfferOptions", + "optional": 1, + "type-original": "RTCOfferOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "createOffer" + }, + "setLocalDescription": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "description", + "type": "RTCSessionDescription", + "type-original": "RTCSessionDescription" + }, + { + "name": "successCallback", + "type": "VoidFunction", + "optional": 1, + "type-original": "VoidFunction" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "setLocalDescription" + }, + "getLocalStreams": { + "signature": [ + { + "subtype": { + "type": "MediaStream" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "getLocalStreams" + }, + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "close" + }, + "setRemoteDescription": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "description", + "type": "RTCSessionDescription", + "type-original": "RTCSessionDescription" + }, + { + "name": "successCallback", + "type": "VoidFunction", + "optional": 1, + "type-original": "VoidFunction" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "setRemoteDescription" + }, + "getConfiguration": { + "signature": [ + { + "type": "RTCConfiguration", + "type-original": "RTCConfiguration" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "getConfiguration" + }, + "createAnswer": { + "signature": [ + { + "subtype": { + "type": "RTCSessionDescription" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "successCallback", + "type": "RTCSessionDescriptionCallback", + "optional": 1, + "type-original": "RTCSessionDescriptionCallback" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "createAnswer" + }, + "addIceCandidate": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "candidate", + "type": "RTCIceCandidate", + "type-original": "RTCIceCandidate" + }, + { + "name": "successCallback", + "type": "VoidFunction", + "optional": 1, + "type-original": "VoidFunction" + }, + { + "name": "failureCallback", + "type": "RTCPeerConnectionErrorCallback", + "optional": 1, + "type-original": "RTCPeerConnectionErrorCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "addIceCandidate" + }, + "getStreamById": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "MediaStream", + "param": [ + { + "name": "streamId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "MediaStream?" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "getStreamById" + }, + "getRemoteStreams": { + "signature": [ + { + "subtype": { + "type": "MediaStream" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "webrtc", + "exposed": "Window", + "name": "getRemoteStreams" + } + } + }, + "extends": "EventTarget" + }, + "History": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "replaceState": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "type-original": "any" + }, + { + "name": "title", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "url", + "default": "null", + "type": "USVString", + "optional": 1, + "type-original": "USVString?" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "replaceState" + }, + "forward": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "distance", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "forward" + }, + "back": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "distance", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "back" + }, + "pushState": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "type-original": "any" + }, + { + "name": "title", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "url", + "default": "null", + "type": "USVString", + "optional": 1, + "type-original": "USVString?" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "pushState" + }, + "go": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "delta", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "go" + } + } + }, + "name": "History", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "state": { + "specs": "html5", + "exposed": "Window", + "name": "state", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + } + }, + "TimeRanges": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "end": { + "signature": [ + { + "param-min-required": 1, + "type": "double", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "double" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "end" + }, + "start": { + "signature": [ + { + "param-min-required": 1, + "type": "double", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "double" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "start" + } + } + }, + "name": "TimeRanges", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "SVGPathSegCurvetoQuadraticAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoQuadraticAbs", + "properties": { + "property": { + "y1": { + "specs": "svg11", + "exposed": "Window", + "name": "y1", + "type": "float", + "type-original": "float" + }, + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "x1": { + "specs": "svg11", + "exposed": "Window", + "name": "x1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "webkitRTCPeerConnection": { + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "param-min-required": 1, + "type": "webkitRTCPeerConnection", + "param": [ + { + "name": "configuration", + "type": "RTCConfiguration", + "type-original": "RTCConfiguration" + } + ], + "type-original": "webkitRTCPeerConnection" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "webkitRTCPeerConnection", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "RTCPeerConnection" + }, + "ServiceWorkerRegistration": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "ServiceWorkerRegistration", + "properties": { + "property": { + "onupdatefound": { + "specs": "service-workers", + "name": "onupdatefound", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "updatefound" + }, + "waiting": { + "specs": "service-workers", + "name": "waiting", + "type-original": "ServiceWorker?", + "nullable": 1, + "exposed": "Window", + "type": "ServiceWorker", + "read-only": 1 + }, + "sync": { + "specs": "web-background-sync", + "name": "sync", + "type-original": "SyncManager", + "exposed": "Window", + "type": "SyncManager", + "read-only": 1 + }, + "active": { + "specs": "service-workers", + "name": "active", + "type-original": "ServiceWorker?", + "nullable": 1, + "exposed": "Window", + "type": "ServiceWorker", + "read-only": 1 + }, + "installing": { + "specs": "service-workers", + "name": "installing", + "type-original": "ServiceWorker?", + "nullable": 1, + "exposed": "Window", + "type": "ServiceWorker", + "read-only": 1 + }, + "pushManager": { + "specs": "push-api", + "exposed": "Window", + "name": "pushManager", + "type": "PushManager", + "type-original": "PushManager", + "read-only": 1 + }, + "scope": { + "specs": "service-workers", + "exposed": "Window", + "name": "scope", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "updatefound", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "unregister": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "boolean" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "unregister" + }, + "getNotifications": { + "signature": [ + { + "subtype": { + "subtype": { + "type": "Notification" + }, + "type": "sequence" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "filter", + "type": "GetNotificationOptions", + "optional": 1, + "type-original": "GetNotificationOptions" + } + ], + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "getNotifications" + }, + "showNotification": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "title", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "options", + "type": "NotificationOptions", + "optional": 1, + "type-original": "NotificationOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "notifications", + "exposed": "Window", + "name": "showNotification" + }, + "update": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "update" + } + } + }, + "extends": "EventTarget" + }, + "WebGLUniformLocation": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLUniformLocation", + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLModElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLModElement", + "properties": { + "property": { + "dateTime": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "dateTime", + "content-attribute": "datetime", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "date_time", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "cite": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "cite", + "content-attribute": "cite", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "ins" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "del" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WEBGL_compressed_texture_s3tc": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "WEBGL_compressed_texture_s3tc", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "COMPRESSED_RGBA_S3TC_DXT1_EXT": { + "specs": "webgl", + "value": "0x83F1", + "exposed": "Window", + "name": "COMPRESSED_RGBA_S3TC_DXT1_EXT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COMPRESSED_RGBA_S3TC_DXT5_EXT": { + "specs": "webgl", + "value": "0x83F3", + "exposed": "Window", + "name": "COMPRESSED_RGBA_S3TC_DXT5_EXT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COMPRESSED_RGBA_S3TC_DXT3_EXT": { + "specs": "webgl", + "value": "0x83F2", + "exposed": "Window", + "name": "COMPRESSED_RGBA_S3TC_DXT3_EXT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COMPRESSED_RGB_S3TC_DXT1_EXT": { + "specs": "webgl", + "value": "0x83F0", + "exposed": "Window", + "name": "COMPRESSED_RGB_S3TC_DXT1_EXT", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "SVGUseElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGUseElement", + "properties": { + "property": { + "width": { + "specs": "svg2", + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "svg2", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "animatedInstanceRoot": { + "specs": "svg2", + "name": "animatedInstanceRoot", + "constant": 1, + "type-original": "SVGElementInstance?", + "nullable": 1, + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "instanceRoot": { + "specs": "svg2", + "name": "instanceRoot", + "constant": 1, + "type-original": "SVGElementInstance?", + "nullable": 1, + "exposed": "Window", + "type": "SVGElementInstance", + "read-only": 1 + }, + "x": { + "specs": "svg2", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "height": { + "specs": "svg2", + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "use" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement", + "implements": [ + "SVGURIReference" + ] + }, + "Event": { + "dataslot": [ + { + "name": "data_1" + }, + { + "name": "data_2" + }, + { + "name": "data_3" + }, + { + "name": "data_4" + } + ], + "specs": "dom4", + "constructor": { + "specs": "dom4", + "signature": [ + { + "param-min-required": 1, + "type": "Event", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "EventInit", + "optional": 1, + "type-original": "EventInit" + } + ], + "type-original": "Event" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Event", + "properties": { + "property": { + "returnValue": { + "interop": 1, + "extension": 1, + "specs": "none", + "exposed": "Window", + "name": "returnValue", + "type": "boolean", + "type-original": "boolean" + }, + "timeStamp": { + "specs": "dom4", + "exposed": "Window", + "name": "timeStamp", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "isTrusted": { + "pure": 1, + "specs": "dom4", + "name": "isTrusted", + "type-original": "boolean", + "unforgeable": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "defaultPrevented": { + "pure": 1, + "specs": "dom4", + "name": "defaultPrevented", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "currentTarget": { + "pure": 1, + "specs": "dom4", + "name": "currentTarget", + "type-original": "EventTarget?", + "nullable": 1, + "exposed": "Window", + "type": "EventTarget", + "read-only": 1 + }, + "cancelBubble": { + "specs": "dom4", + "exposed": "Window", + "name": "cancelBubble", + "type": "boolean", + "type-original": "boolean" + }, + "target": { + "pure": 1, + "specs": "dom4", + "name": "target", + "type-original": "EventTarget?", + "nullable": 1, + "exposed": "Window", + "type": "EventTarget", + "read-only": 1 + }, + "eventPhase": { + "pure": 1, + "specs": "dom4", + "name": "eventPhase", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "srcElement": { + "extension": 1, + "specs": "none", + "name": "srcElement", + "type-original": "Element?", + "interop": 1, + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "type": { + "pure": 1, + "specs": "dom4", + "name": "type", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "cancelable": { + "pure": 1, + "specs": "dom4", + "name": "cancelable", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "bubbles": { + "pure": 1, + "specs": "dom4", + "name": "bubbles", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "AT_TARGET": { + "specs": "dom4", + "value": "2", + "exposed": "Window", + "name": "AT_TARGET", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "CAPTURING_PHASE": { + "specs": "dom4", + "value": "1", + "exposed": "Window", + "name": "CAPTURING_PHASE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NONE": { + "specs": "dom4", + "value": "0", + "exposed": "Window", + "name": "NONE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "BUBBLING_PHASE": { + "specs": "dom4", + "value": "3", + "exposed": "Window", + "name": "BUBBLING_PHASE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "initEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bubbles", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "name": "cancelable", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "initEvent" + }, + "stopPropagation": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "stopPropagation" + }, + "stopImmediatePropagation": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "stopImmediatePropagation" + }, + "preventDefault": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "preventDefault" + } + } + }, + "extends": "Object" + }, + "ImageData": { + "specs": "2dcontext", + "constructor": { + "specs": "2dcontext", + "signature": [ + { + "param-min-required": 2, + "type": "ImageData", + "param": [ + { + "name": "width", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "ImageData" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ImageData", + "properties": { + "property": { + "width": { + "specs": "2dcontext", + "name": "width", + "constant": 1, + "store-in-slot": "instance", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "data": { + "specs": "2dcontext", + "name": "data", + "constant": 1, + "store-in-slot": "instance", + "type-original": "Uint8ClampedArray", + "exposed": "Window", + "type": "Uint8ClampedArray", + "read-only": 1 + }, + "height": { + "specs": "2dcontext", + "name": "height", + "constant": 1, + "store-in-slot": "instance", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Headers": { + "specs": "whatwg-fetch", + "constructor": { + "specs": "whatwg-fetch", + "signature": [ + { + "param-min-required": 0, + "type": "Headers", + "param": [ + { + "name": "init", + "type": [ + { + "type": "Headers" + }, + { + "subtype": { + "subtype": { + "type": "ByteString" + }, + "type": "sequence" + }, + "type": "sequence" + } + ], + "optional": 1, + "type-original": "HeadersInit" + } + ], + "type-original": "Headers" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Headers", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "forEach": { + "iterator-key-type": "ByteString", + "iterator-value-type": "ByteString", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "callback", + "type": "Function", + "type-original": "Function" + }, + { + "name": "thisArg", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "forEach" + }, + "has": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "name", + "type": "ByteString", + "type-original": "ByteString" + } + ], + "type-original": "boolean" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "has" + }, + "get": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "ByteString", + "param": [ + { + "name": "name", + "type": "ByteString", + "type-original": "ByteString" + } + ], + "type-original": "ByteString?" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "get" + }, + "delete": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "name", + "type": "ByteString", + "type-original": "ByteString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "delete" + }, + "append": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "name", + "type": "ByteString", + "type-original": "ByteString" + }, + { + "name": "value", + "type": "ByteString", + "type-original": "ByteString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "append" + }, + "set": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "name", + "type": "ByteString", + "type-original": "ByteString" + }, + { + "name": "value", + "type": "ByteString", + "type-original": "ByteString" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "set" + } + } + }, + "exposed": "Window", + "iterable": "pair", + "extends": "Object" + }, + "HTMLTableColElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableColElement", + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "type-original": "DOMString", + "content-attribute": "width", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "ch": { + "specs": "html5", + "ce-reactions": 1, + "name": "ch", + "type-original": "DOMString", + "content-attribute": "char", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "vAlign": { + "content-attribute-enum-values": "middle baseline bottom top", + "specs": "html5", + "ce-reactions": 1, + "name": "vAlign", + "type-original": "DOMString", + "content-attribute": "valign", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "span": { + "specs": "html5", + "ce-reactions": 1, + "name": "span", + "content-attribute": "span", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "chOff": { + "specs": "html5", + "ce-reactions": 1, + "name": "chOff", + "type-original": "DOMString", + "content-attribute": "charoff", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "col", + "html-self-closing": 1 + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "colgroup" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLDocument": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "HTMLDocument", + "extends": "Document", + "properties": { + "property": {} + } + }, + "MediaStreamTrackEvent": { + "specs": "media-capture-api", + "constructor": { + "specs": "media-capture-api", + "signature": [ + { + "param-min-required": 1, + "type": "MediaStreamTrackEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaStreamTrackEventInit", + "optional": 1, + "type-original": "MediaStreamTrackEventInit" + } + ], + "type-original": "MediaStreamTrackEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaStreamTrackEvent", + "properties": { + "property": { + "track": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "track", + "type": "MediaStreamTrack", + "type-original": "MediaStreamTrack", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "SVGAnimatedEnumeration": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedEnumeration", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "name": "animVal", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "name": "baseVal", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + } + }, + "SVGFEFuncBElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEFuncBElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feFuncB" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGComponentTransferFunctionElement" + }, + "RTCStatsProvider": { + "constants": { + "constant": {} + }, + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "msGetStats": { + "signature": [ + { + "subtype": { + "type": "RTCStatsReport" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "webrtc-stats", + "exposed": "Window", + "name": "msGetStats" + }, + "getStats": { + "signature": [ + { + "subtype": { + "type": "RTCStatsReport" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getStats" + } + } + }, + "name": "RTCStatsProvider", + "extends": "EventTarget", + "properties": { + "property": {} + } + }, + "HTMLUListElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLUListElement", + "properties": { + "property": { + "compact": { + "specs": "html5", + "ce-reactions": 1, + "name": "compact", + "type-original": "boolean", + "content-attribute": "compact", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "type": { + "content-attribute-enum-values": "1 a A i I disc circle square", + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "type-original": "DOMString", + "content-attribute": "type", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "ul" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WritableStream": { + "specs": "whatwg-streams", + "constructor": { + "specs": "whatwg-streams", + "signature": [ + { + "param-min-required": 0, + "type": "WritableStream", + "param": [ + { + "name": "underlyingSink", + "type": "UnderlyingSink", + "optional": 1, + "type-original": "UnderlyingSink" + }, + { + "name": "strategy", + "type": "QueuingStrategy", + "optional": 1, + "type-original": "QueuingStrategy" + } + ], + "type-original": "WritableStream" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WritableStream", + "properties": { + "property": { + "locked": { + "specs": "whatwg-streams", + "exposed": "Window", + "name": "locked", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "abort": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "reason", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "abort" + }, + "getWriter": { + "signature": [ + { + "type": "WritableStreamDefaultWriter", + "type-original": "WritableStreamDefaultWriter" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "getWriter" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLDivElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLDivElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noWrap": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "noWrap", + "type-original": "boolean", + "content-attribute": "nowrap", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "div" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "ChannelMergerNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "ChannelMergerNode", + "extends": "AudioNode", + "properties": { + "property": {} + } + }, + "MediaList": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "legacy-array-class": 1, + "name": "MediaList", + "properties": { + "property": { + "length": { + "specs": "cssom", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "mediaText": { + "specs": "cssom", + "name": "mediaText", + "type-original": "long", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "long", + "stringifier": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "deleteMedium": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "medium", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "deleteMedium" + }, + "appendMedium": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "medium", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "appendMedium" + }, + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "item" + }, + "toString": { + "signature": [ + { + "type": "long", + "type-original": "long" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "SVGPathSegCurvetoCubicSmoothRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoCubicSmoothRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x2": { + "specs": "svg11", + "exposed": "Window", + "name": "x2", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "y2": { + "specs": "svg11", + "exposed": "Window", + "name": "y2", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "DataTransferItemList": { + "constants": { + "constant": {} + }, + "specs": "html51", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "remove": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "remove" + }, + "add": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DataTransferItem", + "param": [ + { + "name": "data", + "type": "File", + "type-original": "File" + } + ], + "type-original": "DataTransferItem?" + }, + { + "nullable": 1, + "param-min-required": 2, + "type": "DataTransferItem", + "param": [ + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DataTransferItem?" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "add" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "clear" + }, + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "File", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "File" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "item" + } + } + }, + "name": "DataTransferItemList", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html51", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "DocumentFragment": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "DocumentFragment", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Node", + "implements": [ + "ParentNode" + ] + }, + "Position": { + "constants": { + "constant": {} + }, + "specs": "geolocation-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "Position", + "extends": "Object", + "properties": { + "property": { + "timestamp": { + "specs": "geolocation-api", + "name": "timestamp", + "type-original": "DOMTimeStamp", + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "coords": { + "specs": "geolocation-api", + "name": "coords", + "type-original": "Coordinates", + "exposed": "Window", + "type": "Coordinates", + "read-only": 1 + } + } + } + }, + "SVGFEColorMatrixElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEColorMatrixElement", + "properties": { + "property": { + "values": { + "specs": "filter-effects", + "name": "values", + "constant": 1, + "content-attribute": "values", + "type-original": "SVGAnimatedNumberList", + "exposed": "Window", + "content-attribute-value-syntax": "svg_5x5_matrix_values_or_single_floating_point_number", + "type": "SVGAnimatedNumberList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "type": { + "content-attribute-enum-values": "matrix saturate hueRotate luminanceToAlpha", + "specs": "filter-effects", + "name": "type", + "constant": 1, + "content-attribute": "type", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feColorMatrix" + } + ], + "constants": { + "constant": { + "SVG_FECOLORMATRIX_TYPE_SATURATE": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_FECOLORMATRIX_TYPE_SATURATE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOLORMATRIX_TYPE_MATRIX": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_FECOLORMATRIX_TYPE_MATRIX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOLORMATRIX_TYPE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_FECOLORMATRIX_TYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA": { + "specs": "filter-effects", + "value": "4", + "exposed": "Window", + "name": "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOLORMATRIX_TYPE_HUEROTATE": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_FECOLORMATRIX_TYPE_HUEROTATE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "PerformanceMark": { + "constants": { + "constant": {} + }, + "specs": "user-timing", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "name": "PerformanceMark", + "extends": "PerformanceEntry", + "properties": { + "property": {} + } + }, + "SVGForeignObjectElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGForeignObjectElement", + "properties": { + "property": { + "width": { + "specs": "svg2", + "same-object": 1, + "name": "width", + "constant": 1, + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y": { + "specs": "svg2", + "same-object": 1, + "name": "y", + "constant": 1, + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x": { + "specs": "svg2", + "same-object": 1, + "name": "x", + "constant": 1, + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "height": { + "specs": "svg2", + "same-object": 1, + "name": "height", + "constant": 1, + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "foreignObject" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "CSSPageRule": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSPageRule", + "extends": "CSSRule", + "properties": { + "property": { + "pseudoClass": { + "extension": 1, + "specs": "none", + "name": "pseudoClass", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "selector": { + "extension": 1, + "specs": "none", + "name": "selector", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "selectorText": { + "specs": "cssom", + "exposed": "Window", + "name": "selectorText", + "type": "DOMString", + "type-original": "DOMString" + }, + "style": { + "specs": "cssom", + "same-object": 1, + "name": "style", + "type-original": "CSSStyleDeclaration", + "exposed": "Window", + "type": "CSSStyleDeclaration", + "read-only": 1 + } + } + } + }, + "HTMLBRElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLBRElement", + "properties": { + "property": { + "clear": { + "content-attribute-enum-values": "all both left right", + "specs": "html5", + "ce-reactions": 1, + "name": "clear", + "type-original": "DOMString", + "content-attribute": "clear", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "br", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLProgressElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLProgressElement", + "properties": { + "property": { + "value": { + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "float", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "float", + "content-attribute-reflects": 1 + }, + "form": { + "extension": 1, + "specs": "none", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "position": { + "specs": "html5", + "name": "position", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "max": { + "specs": "html5", + "ce-reactions": 1, + "name": "max", + "content-attribute": "max", + "type-original": "float", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "float", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "progress" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLHeadElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLHeadElement", + "properties": { + "property": { + "profile": { + "specs": "DOM-Level-2-HTML", + "ce-reactions": 1, + "name": "profile", + "type-original": "DOMString", + "content-attribute": "profile", + "deprecated": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "head" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGZoomAndPan": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGZoomAndPan", + "static": 1, + "properties": { + "property": { + "zoomAndPan": { + "content-attribute-enum-values": "disable magnify", + "specs": "svg2", + "name": "zoomAndPan", + "content-attribute": "zoomAndPan", + "type-original": "unsigned short", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "unsigned short", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_ZOOMANDPAN_MAGNIFY": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_ZOOMANDPAN_MAGNIFY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ZOOMANDPAN_DISABLE": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_ZOOMANDPAN_DISABLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ZOOMANDPAN_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_ZOOMANDPAN_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object" + }, + "MimeTypeArray": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Plugin", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Plugin" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item" + }, + "namedItem": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Plugin", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Plugin" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem" + } + } + }, + "name": "MimeTypeArray", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html5", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "HTMLMediaElement": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMediaElement", + "properties": { + "property": { + "videoTracks": { + "specs": "html5", + "same-object": 1, + "name": "videoTracks", + "type-original": "VideoTrackList", + "exposed": "Window", + "type": "VideoTrackList", + "read-only": 1 + }, + "onencrypted": { + "specs": "encrypted-media", + "name": "onencrypted", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "encrypted" + }, + "loop": { + "specs": "html5", + "ce-reactions": 1, + "name": "loop", + "content-attribute": "loop", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "srcObject": { + "specs": "html5", + "exposed": "Window", + "name": "srcObject", + "type": [ + { + "nullable": 1, + "type": "MediaStream" + }, + { + "nullable": 1, + "type": "MediaSource" + }, + { + "nullable": 1, + "type": "Blob" + } + ], + "type-original": "MediaProvider?" + }, + "textTracks": { + "specs": "html5", + "same-object": 1, + "name": "textTracks", + "type-original": "TextTrackList", + "exposed": "Window", + "type": "TextTrackList", + "read-only": 1 + }, + "buffered": { + "specs": "html5", + "name": "buffered", + "type-original": "TimeRanges", + "exposed": "Window", + "type": "TimeRanges", + "read-only": 1 + }, + "controls": { + "specs": "html5", + "ce-reactions": 1, + "name": "controls", + "content-attribute": "controls", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "autoplay": { + "specs": "html5", + "ce-reactions": 1, + "name": "autoplay", + "content-attribute": "autoplay", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "msAudioDeviceType": { + "extension": 1, + "specs": "none", + "name": "msAudioDeviceType", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "msAudioCategory": { + "extension": 1, + "specs": "none", + "name": "msAudioCategory", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "src": { + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "playbackRate": { + "specs": "html5", + "exposed": "Window", + "name": "playbackRate", + "type": "double", + "type-original": "double" + }, + "muted": { + "specs": "html5", + "exposed": "Window", + "name": "muted", + "type": "boolean", + "type-original": "boolean" + }, + "duration": { + "specs": "html5", + "name": "duration", + "type-original": "double", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "audioTracks": { + "specs": "html5", + "same-object": 1, + "name": "audioTracks", + "type-original": "AudioTrackList", + "exposed": "Window", + "type": "AudioTrackList", + "read-only": 1 + }, + "paused": { + "specs": "html5", + "name": "paused", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "msGraphicsTrustStatus": { + "extension": 1, + "specs": "none", + "name": "msGraphicsTrustStatus", + "type-original": "MSGraphicsTrust", + "exposed": "Window", + "type": "MSGraphicsTrust", + "read-only": 1 + }, + "seeking": { + "specs": "html5", + "name": "seeking", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "crossOrigin": { + "content-attribute-enum-values": "anonymous use-credentials", + "specs": "html5", + "ce-reactions": 1, + "name": "crossOrigin", + "content-attribute": "crossorigin", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "preload": { + "content-attribute-enum-values": "none metadata auto", + "specs": "html5", + "ce-reactions": 1, + "name": "preload", + "content-attribute": "preload", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "played": { + "specs": "html5", + "name": "played", + "type-original": "TimeRanges", + "exposed": "Window", + "type": "TimeRanges", + "read-only": 1 + }, + "msPlayToPrimary": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPrimary", + "type-original": "boolean", + "content-attribute": "x-ms-playtoprimary", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "currentSrc": { + "specs": "html5", + "name": "currentSrc", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString", + "read-only": 1 + }, + "onmsneedkey": { + "specs": "encrypted-media-20130510", + "name": "onmsneedkey", + "type-original": "EventHandler", + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "msneedkey" + }, + "readyState": { + "specs": "html5", + "name": "readyState", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "msPlayToDisabled": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToDisabled", + "type-original": "boolean", + "content-attribute": "x-ms-playtodisabled", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "msRealTime": { + "extension": 1, + "specs": "none", + "name": "msRealTime", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "ended": { + "specs": "html5", + "name": "ended", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "defaultMuted": { + "specs": "html5", + "ce-reactions": 1, + "name": "defaultMuted", + "content-attribute": "muted", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "error": { + "specs": "html5", + "name": "error", + "type-original": "MediaError?", + "nullable": 1, + "exposed": "Window", + "type": "MediaError", + "read-only": 1 + }, + "seekable": { + "specs": "html5", + "name": "seekable", + "type-original": "TimeRanges", + "exposed": "Window", + "type": "TimeRanges", + "read-only": 1 + }, + "msKeys": { + "specs": "encrypted-media-20130510", + "name": "msKeys", + "type-original": "MSMediaKeys", + "deprecated": 1, + "exposed": "Window", + "type": "MSMediaKeys", + "read-only": 1 + }, + "msPlayToSource": { + "extension": 1, + "specs": "none", + "name": "msPlayToSource", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "msPlayToPreferredSourceUri": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPreferredSourceUri", + "type-original": "DOMString", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "volume": { + "specs": "html5", + "exposed": "Window", + "name": "volume", + "type": "double", + "type-original": "double" + }, + "mediaKeys": { + "specs": "encrypted-media", + "name": "mediaKeys", + "type-original": "MediaKeys?", + "nullable": 1, + "exposed": "Window", + "type": "MediaKeys", + "secure-context": 1, + "read-only": 1 + }, + "defaultPlaybackRate": { + "specs": "html5", + "exposed": "Window", + "name": "defaultPlaybackRate", + "type": "double", + "type-original": "double" + }, + "currentTime": { + "specs": "html5", + "exposed": "Window", + "name": "currentTime", + "type": "double", + "type-original": "double" + }, + "networkState": { + "specs": "html5", + "name": "networkState", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "HAVE_CURRENT_DATA": { + "specs": "html5", + "value": "2", + "exposed": "Window", + "name": "HAVE_CURRENT_DATA", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "HAVE_METADATA": { + "specs": "html5", + "value": "1", + "exposed": "Window", + "name": "HAVE_METADATA", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "HAVE_NOTHING": { + "specs": "html5", + "value": "0", + "exposed": "Window", + "name": "HAVE_NOTHING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NETWORK_NO_SOURCE": { + "specs": "html5", + "value": "3", + "exposed": "Window", + "name": "NETWORK_NO_SOURCE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "HAVE_ENOUGH_DATA": { + "specs": "html5", + "value": "4", + "exposed": "Window", + "name": "HAVE_ENOUGH_DATA", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NETWORK_EMPTY": { + "specs": "html5", + "value": "0", + "exposed": "Window", + "name": "NETWORK_EMPTY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NETWORK_LOADING": { + "specs": "html5", + "value": "2", + "exposed": "Window", + "name": "NETWORK_LOADING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NETWORK_IDLE": { + "specs": "html5", + "value": "1", + "exposed": "Window", + "name": "NETWORK_IDLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "HAVE_FUTURE_DATA": { + "specs": "html5", + "value": "3", + "exposed": "Window", + "name": "HAVE_FUTURE_DATA", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "precedes": "progress", + "dispatch": "sync", + "specs": "HTML5", + "name": "loadstart", + "type": "Event" + }, + { + "precedes": "loadedmetadata", + "dispatch": "sync", + "specs": "HTML5", + "name": "progress", + "follows": "loadstart", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "suspend", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "abort", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "emptied", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "stalled", + "follows": "playing", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "play", + "follows": "pause", + "type": "Event" + }, + { + "precedes": "play", + "dispatch": "sync", + "specs": "HTML5", + "name": "pause", + "type": "Event" + }, + { + "precedes": "loadeddata waiting seeking", + "dispatch": "sync", + "specs": "HTML5", + "name": "loadedmetadata", + "follows": "loadstart", + "type": "Event" + }, + { + "precedes": "canplay", + "dispatch": "sync", + "specs": "HTML5", + "name": "loadeddata", + "follows": "loadedmetadata", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "waiting", + "type": "Event" + }, + { + "precedes": "stalled", + "dispatch": "sync", + "specs": "HTML5", + "name": "playing", + "follows": "canplay", + "type": "Event" + }, + { + "precedes": "canplaythrough", + "dispatch": "sync", + "specs": "HTML5", + "name": "canplay", + "follows": "loadeddata", + "type": "Event" + }, + { + "precedes": "ended", + "dispatch": "sync", + "specs": "HTML5", + "name": "canplaythrough", + "follows": "canplay", + "type": "Event" + }, + { + "precedes": "seeked", + "dispatch": "sync", + "specs": "HTML5", + "name": "seeking", + "follows": "loadedmetadata", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "seeked", + "follows": "seeking", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "timeupdate", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "ended", + "follows": "canplaythrough", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "ratechange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "durationchange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "volumechange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "EME", + "name": "encrypted", + "follows": "loadedmetadata", + "type": "MediaEncryptedEvent" + }, + { + "dispatch": "sync", + "specs": "EME", + "name": "waitingforkey", + "follows": "playing", + "type": "Event" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "msClearEffects": { + "extension": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "msClearEffects", + "exposed": "Window" + }, + "play": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "play" + }, + "canPlayType": { + "signature": [ + { + "param-min-required": 1, + "type": "CanPlayTypeResult", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "CanPlayTypeResult" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "canPlayType" + }, + "msInsertAudioEffect": { + "extension": 1, + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "activatableClassId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "effectRequired", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "config", + "optional": 1, + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msInsertAudioEffect" + }, + "pause": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "pause" + }, + "msGetAsCastingSource": { + "extension": 1, + "specs": "none", + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "name": "msGetAsCastingSource", + "exposed": "Window" + }, + "msSetMediaProtectionManager": { + "extension": 1, + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "mediaProtectionManager", + "optional": 1, + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msSetMediaProtectionManager" + }, + "setMediaKeys": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "nullable": 1, + "name": "mediaKeys", + "type": "MediaKeys", + "type-original": "MediaKeys?" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "setMediaKeys", + "secure-context": 1 + }, + "msSetMediaKeys": { + "deprecated": 1, + "specs": "encrypted-media-20130510", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mediaKeys", + "type": "MSMediaKeys", + "type-original": "MSMediaKeys" + } + ], + "type-original": "void" + } + ], + "name": "msSetMediaKeys", + "exposed": "Window" + }, + "addTextTrack": { + "signature": [ + { + "param-min-required": 1, + "type": "TextTrack", + "param": [ + { + "name": "kind", + "type": "TextTrackKind", + "type-original": "TextTrackKind" + }, + { + "name": "label", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "language", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "TextTrack" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "addTextTrack" + }, + "load": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "load" + } + } + }, + "extends": "HTMLElement" + }, + "StyleSheet": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "StyleSheet", + "extends": "Object", + "properties": { + "property": { + "disabled": { + "pure": 1, + "specs": "cssom", + "name": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "ownerNode": { + "pure": 1, + "specs": "cssom", + "name": "ownerNode", + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "media": { + "put-forwards": "mediaText", + "specs": "cssom", + "same-object": 1, + "name": "media", + "constant": 1, + "type-original": "MediaList", + "exposed": "Window", + "type": "MediaList", + "read-only": 1 + }, + "parentStyleSheet": { + "pure": 1, + "specs": "cssom", + "name": "parentStyleSheet", + "type-original": "StyleSheet?", + "nullable": 1, + "exposed": "Window", + "type": "StyleSheet", + "read-only": 1 + }, + "href": { + "specs": "cssom", + "name": "href", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "title": { + "pure": 1, + "specs": "cssom", + "name": "title", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "type": { + "specs": "cssom", + "name": "type", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "MessagePort": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "MessagePort", + "properties": { + "property": { + "onmessage": { + "specs": "html5", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "message" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "PostMsg", + "name": "message", + "type": "MessageEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window Worker", + "methods": { + "method": { + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "close" + }, + "postMessage": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "default": "[]", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "postMessage" + }, + "start": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "start" + } + } + }, + "extends": "EventTarget" + }, + "FileReader": { + "dataslot": [ + { + "name": "result" + } + ], + "specs": "fileapi", + "constructor": { + "specs": "fileapi", + "signature": [ + { + "type": "FileReader", + "type-original": "FileReader" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "FileReader", + "properties": { + "property": { + "onprogress": { + "specs": "fileapi", + "name": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "readyState": { + "specs": "fileapi", + "exposed": "Window Worker", + "name": "readyState", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "onabort": { + "specs": "fileapi", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "onloadend": { + "specs": "fileapi", + "name": "onloadend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "loadend" + }, + "error": { + "specs": "fileapi", + "name": "error", + "type-original": "DOMException?", + "nullable": 1, + "exposed": "Window Worker", + "type": "DOMException", + "read-only": 1 + }, + "onload": { + "specs": "fileapi", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onerror": { + "specs": "fileapi", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "result": { + "specs": "fileapi", + "name": "result", + "type-original": "(DOMString or ArrayBuffer)?", + "exposed": "Window Worker", + "type": [ + { + "nullable": 1, + "type": "DOMString" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "read-only": 1 + }, + "onloadstart": { + "specs": "fileapi", + "name": "onloadstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + } + } + }, + "constants": { + "constant": { + "LOADING": { + "specs": "fileapi", + "value": "1", + "exposed": "Window Worker", + "name": "LOADING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DONE": { + "specs": "fileapi", + "value": "2", + "exposed": "Window Worker", + "name": "DONE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "EMPTY": { + "specs": "fileapi", + "value": "0", + "exposed": "Window Worker", + "name": "EMPTY", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "precedes": "loadend", + "dispatch": "sync", + "specs": "FileAPI", + "name": "load", + "follows": "progress", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "precedes": "progress", + "dispatch": "sync", + "specs": "FileAPI", + "name": "loadstart", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "FileAPI", + "name": "loadend", + "follows": "load", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "precedes": "load", + "dispatch": "sync", + "specs": "FileAPI", + "name": "progress", + "follows": "loadstart", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "FileAPI", + "name": "abort", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "FileAPI", + "name": "error", + "type": "ProgressEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window Worker", + "methods": { + "method": { + "readAsArrayBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "readAsArrayBuffer" + }, + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "abort" + }, + "readAsDataURL": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "readAsDataURL" + }, + "readAsText": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + }, + { + "name": "label", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "readAsText" + }, + "readAsBinaryString": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "readAsBinaryString" + } + } + }, + "extends": "EventTarget" + }, + "SVGTextPathElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", + "value-syntax": "enum", + "name": "alignment-baseline" + }, + { + "enum-values": "baseline sub super inherit", + "value-syntax": "css_percentage_or_length", + "name": "baseline-shift" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "ltr rtl inherit", + "value-syntax": "enum", + "name": "direction" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "value-syntax": "enum", + "name": "dominant-baseline" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "value-syntax": "css_font", + "name": "font" + }, + { + "enum-values": "inherit", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family", + "name": "font-family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "value-syntax": "css_percentage_or_length", + "name": "font-size" + }, + { + "enum-values": "none inherit", + "value-syntax": "floating_point_number", + "name": "font-size-adjust" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "value-syntax": "enum", + "name": "font-stretch" + }, + { + "enum-values": "normal italic oblique inherit initial", + "value-syntax": "enum", + "name": "font-style" + }, + { + "enum-values": "normal small-caps inherit initial", + "value-syntax": "enum", + "name": "font-variant" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "value-syntax": "enum", + "name": "font-weight" + }, + { + "enum-values": "inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-horizontal" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-vertical" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_length", + "name": "kerning" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "letter-spacing" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "start middle end inherit", + "value-syntax": "enum", + "name": "text-anchor" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "value-syntax": "enum", + "name": "text-decoration" + }, + { + "enum-values": "normal embed bidi-override inherit", + "value-syntax": "enum", + "name": "unicode-bidi" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "word-spacing" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTextPathElement", + "properties": { + "property": { + "startOffset": { + "specs": "svg2", + "same-object": 1, + "name": "startOffset", + "constant": 1, + "content-attribute": "startOffset", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "method": { + "content-attribute-enum-values": "align stretch", + "specs": "svg2", + "same-object": 1, + "name": "method", + "constant": 1, + "content-attribute": "method", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "spacing": { + "content-attribute-enum-values": "auto exact", + "specs": "svg2", + "same-object": 1, + "name": "spacing", + "constant": 1, + "content-attribute": "spacing", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "textPath" + } + ], + "constants": { + "constant": { + "TEXTPATH_SPACINGTYPE_EXACT": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "TEXTPATH_SPACINGTYPE_EXACT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXTPATH_SPACINGTYPE_AUTO": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "TEXTPATH_SPACINGTYPE_AUTO", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXTPATH_METHODTYPE_STRETCH": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "TEXTPATH_METHODTYPE_STRETCH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXTPATH_SPACINGTYPE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "TEXTPATH_SPACINGTYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXTPATH_METHODTYPE_ALIGN": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "TEXTPATH_METHODTYPE_ALIGN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TEXTPATH_METHODTYPE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "TEXTPATH_METHODTYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGTextContentElement", + "implements": [ + "SVGURIReference" + ] + }, + "AbortSignal": { + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "name": "AbortSignal", + "properties": { + "property": { + "onabort": { + "specs": "dom", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "aborted": { + "specs": "dom", + "exposed": "Window", + "name": "aborted", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "dom", + "name": "abort", + "type": "ProgressEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "EventTarget" + }, + "NodeList": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "NodeList", + "properties": { + "property": { + "length": { + "specs": "dom4", + "name": "length", + "tags": "TreeNavigation", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Node", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Node" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "item", + "tags": "TreeNavigation" + } + } + }, + "exposed": "Window", + "iterable": "value", + "extends": "Object" + }, + "XMLSerializer": { + "constants": { + "constant": {} + }, + "specs": "dom-parsing", + "constructor": { + "specs": "dom-parsing", + "signature": [ + { + "type": "XMLSerializer", + "type-original": "XMLSerializer" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "serializeToString": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "target", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom-parsing", + "exposed": "Window", + "name": "serializeToString" + } + } + }, + "name": "XMLSerializer", + "extends": "Object", + "properties": { + "property": {} + } + }, + "ServiceWorkerContainer": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "ServiceWorkerContainer", + "properties": { + "property": { + "controller": { + "specs": "service-workers", + "name": "controller", + "type-original": "ServiceWorker?", + "nullable": 1, + "exposed": "Window", + "type": "ServiceWorker", + "read-only": 1 + }, + "onmessage": { + "specs": "service-workers", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "message" + }, + "ready": { + "specs": "service-workers", + "same-object": 1, + "name": "ready", + "type-original": "Promise", + "subtype": { + "type": "ServiceWorkerRegistration" + }, + "exposed": "Window", + "type": "Promise", + "read-only": 1 + }, + "onmessageerror": { + "specs": "service-workers", + "name": "onmessageerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "messageerror" + }, + "oncontrollerchange": { + "specs": "service-workers", + "name": "oncontrollerchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "controllerchange" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "controllerchange", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "error", + "type": "ErrorEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "message", + "type": "ServiceWorkerMessageEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "messageerror", + "type": "MessageEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "register": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "ServiceWorkerRegistration" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "scriptURL", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "options", + "type": "RegistrationOptions", + "optional": 1, + "type-original": "RegistrationOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "register" + }, + "startMessages": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "startMessages" + }, + "getRegistration": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "any" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "clientURL", + "default": "\"\"", + "type": "USVString", + "optional": 1, + "type-original": "USVString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "getRegistration" + }, + "getRegistrations": { + "signature": [ + { + "new-object": 1, + "subtype": { + "subtype": { + "type": "ServiceWorkerRegistration" + }, + "type": "sequence" + }, + "type": "Promise", + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "getRegistrations" + } + } + }, + "extends": "EventTarget", + "secure-context": 1 + }, + "PerformanceMeasure": { + "constants": { + "constant": {} + }, + "specs": "user-timing", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "name": "PerformanceMeasure", + "extends": "PerformanceEntry", + "properties": { + "property": {} + } + }, + "SVGGradientElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGGradientElement", + "properties": { + "property": { + "spreadMethod": { + "content-attribute-enum-values": "pad reflect repeat", + "specs": "svg2", + "same-object": 1, + "name": "spreadMethod", + "constant": 1, + "content-attribute": "spreadMethod", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "gradientTransform": { + "specs": "svg2", + "same-object": 1, + "name": "gradientTransform", + "constant": 1, + "content-attribute": "gradientTransform", + "type-original": "SVGAnimatedTransformList", + "exposed": "Window", + "content-attribute-value-syntax": "svg_transform_list", + "type": "SVGAnimatedTransformList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "gradientUnits": { + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "specs": "svg2", + "same-object": 1, + "name": "gradientUnits", + "constant": 1, + "content-attribute": "gradientUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_SPREADMETHOD_REFLECT": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_SPREADMETHOD_REFLECT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_SPREADMETHOD_PAD": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_SPREADMETHOD_PAD", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_SPREADMETHOD_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_SPREADMETHOD_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_SPREADMETHOD_REPEAT": { + "specs": "svg2", + "value": "3", + "exposed": "Window", + "name": "SVG_SPREADMETHOD_REPEAT", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGUnitTypes", + "SVGURIReference" + ] + }, + "CSSKeyframeRule": { + "constants": { + "constant": {} + }, + "specs": "css-animation", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSKeyframeRule", + "extends": "CSSRule", + "properties": { + "property": { + "keyText": { + "specs": "css-animation", + "exposed": "Window", + "name": "keyText", + "type": "DOMString", + "type-original": "DOMString" + }, + "style": { + "specs": "css-animation", + "same-object": 1, + "name": "style", + "type-original": "CSSStyleDeclaration", + "exposed": "Window", + "type": "CSSStyleDeclaration", + "read-only": 1 + } + } + } + }, + "OES_texture_half_float_linear": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "OES_texture_half_float_linear", + "extends": "Object", + "properties": { + "property": {} + } + }, + "RTCDtmfSender": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 1, + "type": "RTCDtmfSender", + "param": [ + { + "name": "sender", + "type": "RTCRtpSender", + "type-original": "RTCRtpSender" + } + ], + "type-original": "RTCDtmfSender" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCDtmfSender", + "properties": { + "property": { + "ontonechange": { + "specs": "ortc", + "name": "ontonechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "tonechange" + }, + "sender": { + "specs": "ortc", + "exposed": "Window", + "name": "sender", + "type": "RTCRtpSender", + "type-original": "RTCRtpSender", + "read-only": 1 + }, + "toneBuffer": { + "specs": "ortc", + "exposed": "Window", + "name": "toneBuffer", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "duration": { + "specs": "ortc", + "exposed": "Window", + "name": "duration", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "canInsertDTMF": { + "specs": "ortc", + "exposed": "Window", + "name": "canInsertDTMF", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "interToneGap": { + "specs": "ortc", + "exposed": "Window", + "name": "interToneGap", + "type": "long", + "type-original": "long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "tonechange", + "type": "RTCDTMFToneChangeEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "insertDTMF": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "tones", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "duration", + "type": "long", + "optional": 1, + "type-original": "long" + }, + { + "name": "interToneGap", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "insertDTMF" + } + } + }, + "extends": "EventTarget" + }, + "MSStream": { + "constants": { + "constant": {} + }, + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "msDetachStream": { + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msDetachStream" + }, + "msClose": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msClose" + } + } + }, + "name": "MSStream", + "extends": "Object", + "properties": { + "property": { + "type": { + "specs": "none", + "name": "type", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "XMLDocument": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "XMLDocument", + "extends": "Document", + "properties": { + "property": {} + } + }, + "SVGNumberList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber", + "type-original": "SVGNumber" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "replaceItem" + }, + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGNumber", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getItem" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber", + "type-original": "SVGNumber" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGNumber", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber", + "type-original": "SVGNumber" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGNumber", + "param": [ + { + "name": "newItem", + "type": "SVGNumber", + "type-original": "SVGNumber" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "insertItemBefore" + } + } + }, + "name": "SVGNumberList", + "extends": "Object", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg2", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "MSFIDOSignature": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "MSFIDOSignature", + "properties": { + "property": { + "authnrData": { + "specs": "webauthn", + "exposed": "Window", + "name": "authnrData", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "signature": { + "specs": "webauthn", + "exposed": "Window", + "name": "signature", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "clientData": { + "specs": "webauthn", + "exposed": "Window", + "name": "clientData", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "MediaKeyStatusMap": { + "specs": "encrypted-media", + "anonymous-methods": { + "method": [] + }, + "name": "MediaKeyStatusMap", + "properties": { + "property": { + "size": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "size", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "get": { + "signature": [ + { + "param-min-required": 1, + "type": "MediaKeyStatus", + "param": [ + { + "name": "keyId", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "MediaKeyStatus" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "get" + }, + "has": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "keyId", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "boolean" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "has" + }, + "forEach": { + "iterator-key-type": "BufferSource", + "iterator-value-type": "MediaKeyStatus", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "callback", + "type": "Function", + "type-original": "Function" + }, + { + "name": "thisArg", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "forEach" + } + } + }, + "exposed": "Window", + "iterable": "pair", + "extends": "Object" + }, + "HashChangeEvent": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "HashChangeEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "HashChangeEventInit", + "optional": 1, + "type-original": "HashChangeEventInit" + } + ], + "type-original": "HashChangeEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "HashChangeEvent", + "properties": { + "property": { + "newURL": { + "specs": "html5", + "exposed": "Window", + "name": "newURL", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "oldURL": { + "specs": "html5", + "exposed": "Window", + "name": "oldURL", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "RTCPeerConnectionIceEvent": { + "specs": "webrtc", + "constructor": { + "specs": "webrtc", + "signature": [ + { + "param-min-required": 2, + "type": "RTCPeerConnectionIceEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCPeerConnectionIceEventInit", + "type-original": "RTCPeerConnectionIceEventInit" + } + ], + "type-original": "RTCPeerConnectionIceEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCPeerConnectionIceEvent", + "properties": { + "property": { + "candidate": { + "specs": "webrtc", + "exposed": "Window", + "name": "candidate", + "type": "RTCIceCandidate", + "type-original": "RTCIceCandidate", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "MediaDeviceInfo": { + "constants": { + "constant": {} + }, + "specs": "media-capture-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MediaDeviceInfo", + "extends": "Object", + "properties": { + "property": { + "kind": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "kind", + "type": "MediaDeviceKind", + "type-original": "MediaDeviceKind", + "read-only": 1 + }, + "deviceId": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "deviceId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "groupId": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "groupId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "label": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "label", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "HTMLObjectElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLObjectElement", + "properties": { + "property": { + "codeType": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "codeType", + "type-original": "DOMString", + "content-attribute": "codetype", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "mime_type", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "width": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "msPlayToPrimary": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPrimary", + "type-original": "boolean", + "content-attribute": "x-ms-playtoprimary", + "tags": "Media", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "form": { + "pure": 1, + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "readyState": { + "extension": 1, + "specs": "none", + "name": "readyState", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "msPlayToDisabled": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToDisabled", + "type-original": "boolean", + "content-attribute": "x-ms-playtodisabled", + "tags": "Media", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "msPlayToSource": { + "extension": 1, + "specs": "none", + "name": "msPlayToSource", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "code": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "code", + "type-original": "DOMString", + "content-attribute": "code", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "url", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "vspace": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "vspace", + "type-original": "unsigned long", + "content-attribute": "vspace", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "msPlayToPreferredSourceUri": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPreferredSourceUri", + "type-original": "DOMString", + "content-attribute": "x-ms-playtopreferredsourceuri", + "tags": "Media", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "standby": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "standby", + "type-original": "DOMString", + "content-attribute": "standby", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "archive": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "archive", + "type-original": "DOMString", + "content-attribute": "archive", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "align", + "interop": 1, + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "pure": 1, + "name": "align", + "deprecated": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "name": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "useMap": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "useMap", + "content-attribute": "usemap", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "hash_name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "data": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "data", + "content-attribute": "data", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "height": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "border": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "border", + "interop": 1, + "pure": 1, + "name": "border", + "deprecated": 1, + "treat-null-as": "EmptyString", + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "contentDocument": { + "specs": "html5", + "name": "contentDocument", + "type-original": "Document?", + "nullable": 1, + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "codeBase": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "codeBase", + "type-original": "DOMString", + "content-attribute": "codebase", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "url", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "hspace": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "hspace", + "type-original": "unsigned long", + "content-attribute": "hspace", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "declare": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "declare", + "type-original": "boolean", + "content-attribute": "declare", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1 + }, + "validity": { + "specs": "html5", + "exposed": "Window", + "name": "validity", + "type": "ValidityState", + "type-original": "ValidityState", + "read-only": 1 + }, + "type": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "BaseHref": { + "extension": 1, + "specs": "none", + "name": "BaseHref", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "object" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "load", + "type": "Event", + "skips-window": 1, + "tags": "ObjectAsImageOnly" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + } + } + }, + "extends": "HTMLElement", + "implements": [ + "GetSVGDocument" + ] + }, + "StorageEvent": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "StorageEvent", + "properties": { + "property": { + "newValue": { + "specs": "html5", + "name": "newValue", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "oldValue": { + "specs": "html5", + "name": "oldValue", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "url": { + "specs": "html5", + "name": "url", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString", + "read-only": 1 + }, + "storageArea": { + "specs": "html5", + "name": "storageArea", + "type-original": "Storage?", + "nullable": 1, + "exposed": "Window", + "type": "Storage", + "read-only": 1 + }, + "key": { + "specs": "html5", + "name": "key", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "initStorageEvent": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 8, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "keyArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "oldValueArg", + "type": "any", + "type-original": "any" + }, + { + "name": "newValueArg", + "type": "any", + "type-original": "any" + }, + { + "name": "urlArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "storageAreaArg", + "type": "Storage", + "type-original": "Storage" + } + ], + "type-original": "void" + } + ], + "specs": "webstorage-20110901", + "exposed": "Window", + "name": "initStorageEvent" + } + } + }, + "extends": "Event" + }, + "HTMLEmbedElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLEmbedElement", + "properties": { + "property": { + "palette": { + "extension": 1, + "specs": "none", + "name": "palette", + "type-original": "DOMString", + "content-attribute": "palette", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString", + "read-only": 1 + }, + "width": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "msPlayToPreferredSourceUri": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPreferredSourceUri", + "type-original": "DOMString", + "content-attribute": "x-ms-playtopreferredsourceuri", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "msPlayToPrimary": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToPrimary", + "type-original": "boolean", + "content-attribute": "x-ms-playtoprimary", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "src": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "content-attribute-enum-values": "_blank _self _parent _top", + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "type-original": "DOMString", + "content-attribute": "name", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "name_ref", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "pluginspage": { + "extension": 1, + "specs": "none", + "name": "pluginspage", + "type-original": "DOMString", + "content-attribute": "pluginspage", + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString", + "read-only": 1 + }, + "readyState": { + "extension": 1, + "specs": "none", + "name": "readyState", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "msPlayToDisabled": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "msPlayToDisabled", + "type-original": "boolean", + "content-attribute": "x-ms-playtodisabled", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "height": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "hidden": { + "content-attribute-enum-values": "false true", + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "hidden", + "type-original": "DOMString", + "content-attribute": "hidden", + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "msPlayToSource": { + "extension": 1, + "specs": "none", + "name": "msPlayToSource", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "units": { + "content-attribute-enum-values": "px em", + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "units", + "type-original": "DOMString", + "content-attribute": "units", + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "embed", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "GetSVGDocument" + ] + }, + "DOMException": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "DOMException", + "properties": { + "property": { + "name": { + "specs": "dom4", + "name": "name", + "tags": "Exceptions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "message": { + "specs": "dom4", + "name": "message", + "tags": "Exceptions", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "stringifier": 1, + "read-only": 1 + }, + "code": { + "specs": "dom4", + "name": "code", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "tags": "Exceptions", + "constants": { + "constant": { + "NO_MODIFICATION_ALLOWED_ERR": { + "specs": "dom4", + "value": "7", + "name": "NO_MODIFICATION_ALLOWED_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "HIERARCHY_REQUEST_ERR": { + "specs": "dom4", + "value": "3", + "name": "HIERARCHY_REQUEST_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "DATA_CLONE_ERR": { + "specs": "dom4", + "value": "25", + "name": "DATA_CLONE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INVALID_MODIFICATION_ERR": { + "specs": "dom4", + "value": "13", + "name": "INVALID_MODIFICATION_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NAMESPACE_ERR": { + "specs": "dom4", + "value": "14", + "name": "NAMESPACE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INVALID_CHARACTER_ERR": { + "specs": "dom4", + "value": "5", + "name": "INVALID_CHARACTER_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "TYPE_MISMATCH_ERR": { + "specs": "dom4", + "value": "17", + "name": "TYPE_MISMATCH_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "ABORT_ERR": { + "specs": "dom4", + "value": "20", + "name": "ABORT_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INVALID_STATE_ERR": { + "specs": "dom4", + "value": "11", + "name": "INVALID_STATE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "SECURITY_ERR": { + "specs": "dom4", + "value": "18", + "name": "SECURITY_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NETWORK_ERR": { + "specs": "dom4", + "value": "19", + "name": "NETWORK_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "WRONG_DOCUMENT_ERR": { + "specs": "dom4", + "value": "4", + "name": "WRONG_DOCUMENT_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INVALID_NODE_TYPE_ERR": { + "specs": "dom4", + "value": "24", + "name": "INVALID_NODE_TYPE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "QUOTA_EXCEEDED_ERR": { + "specs": "dom4", + "value": "22", + "name": "QUOTA_EXCEEDED_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INDEX_SIZE_ERR": { + "specs": "dom4", + "value": "1", + "name": "INDEX_SIZE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "DOMSTRING_SIZE_ERR": { + "specs": "dom4", + "value": "2", + "name": "DOMSTRING_SIZE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "SYNTAX_ERR": { + "specs": "dom4", + "value": "12", + "name": "SYNTAX_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "SERIALIZE_ERR": { + "specs": "dom4", + "value": "82", + "name": "SERIALIZE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NOT_FOUND_ERR": { + "specs": "dom4", + "value": "8", + "name": "NOT_FOUND_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "VALIDATION_ERR": { + "specs": "dom4", + "value": "16", + "name": "VALIDATION_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "URL_MISMATCH_ERR": { + "specs": "dom4", + "value": "21", + "name": "URL_MISMATCH_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "PARSE_ERR": { + "specs": "dom4", + "value": "81", + "name": "PARSE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NO_DATA_ALLOWED_ERR": { + "specs": "dom4", + "value": "6", + "name": "NO_DATA_ALLOWED_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "NOT_SUPPORTED_ERR": { + "specs": "dom4", + "value": "9", + "name": "NOT_SUPPORTED_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "TIMEOUT_ERR": { + "specs": "dom4", + "value": "23", + "name": "TIMEOUT_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INVALID_ACCESS_ERR": { + "specs": "dom4", + "value": "15", + "name": "INVALID_ACCESS_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "INUSE_ATTRIBUTE_ERR": { + "specs": "dom4", + "value": "10", + "name": "INUSE_ATTRIBUTE_ERR", + "tags": "Exceptions", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "extends": "Object" + }, + "SVGAnimatedBoolean": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedBoolean", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "name": "animVal", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "exposed": "Window", + "name": "baseVal", + "type": "boolean", + "type-original": "boolean" + } + } + } + }, + "OES_texture_float": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "OES_texture_float", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SyncEvent": { + "specs": "web-background-sync", + "constructor": { + "specs": "web-background-sync", + "signature": [ + { + "param-min-required": 2, + "type": "SyncEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "init", + "type": "SyncEventInit", + "type-original": "SyncEventInit" + } + ], + "type-original": "SyncEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "SyncEvent", + "properties": { + "property": { + "lastChance": { + "specs": "web-background-sync", + "exposed": "Worker", + "name": "lastChance", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "tag": { + "specs": "web-background-sync", + "exposed": "Worker", + "name": "tag", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "ExtendableEvent" + }, + "FormData": { + "constants": { + "constant": {} + }, + "specs": "xhr", + "constructor": { + "specs": "xhr", + "signature": [ + { + "type": "FormData", + "type-original": "FormData" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "append": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "name", + "type": "any", + "type-original": "any" + }, + { + "name": "value", + "type": "any", + "type-original": "any" + }, + { + "name": "blobName", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "append" + } + } + }, + "name": "FormData", + "extends": "Object", + "properties": { + "property": {} + } + }, + "PushEvent": { + "specs": "push-api", + "constructor": { + "specs": "push-api", + "signature": [ + { + "param-min-required": 1, + "type": "PushEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PushEventInit", + "optional": 1, + "type-original": "PushEventInit" + } + ], + "type-original": "PushEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PushEvent", + "properties": { + "property": { + "data": { + "specs": "push-api", + "name": "data", + "type-original": "PushMessageData?", + "nullable": 1, + "exposed": "Worker", + "type": "PushMessageData", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "ExtendableEvent" + }, + "SVGFECompositeElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFECompositeElement", + "properties": { + "property": { + "operator": { + "content-attribute-enum-values": "over in out atop xor arithmetic", + "specs": "filter-effects", + "name": "operator", + "constant": 1, + "content-attribute": "operator", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "k2": { + "specs": "filter-effects", + "name": "k2", + "constant": 1, + "content-attribute": "k2", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in2": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in2", + "constant": 1, + "content-attribute": "in2", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "k1": { + "specs": "filter-effects", + "name": "k1", + "constant": 1, + "content-attribute": "k1", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "k3": { + "specs": "filter-effects", + "name": "k3", + "constant": 1, + "content-attribute": "k3", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "k4": { + "specs": "filter-effects", + "name": "k4", + "constant": 1, + "content-attribute": "k4", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feComposite" + } + ], + "constants": { + "constant": { + "SVG_FECOMPOSITE_OPERATOR_OUT": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_OUT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_OVER": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_OVER", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_XOR": { + "specs": "filter-effects", + "value": "5", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_XOR", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC": { + "specs": "filter-effects", + "value": "6", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_ATOP": { + "specs": "filter-effects", + "value": "4", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_ATOP", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_IN": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_IN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_FECOMPOSITE_OPERATOR_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_FECOMPOSITE_OPERATOR_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGSymbolElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGSymbolElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "symbol" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFitToViewBox" + ] + }, + "SVGElementInstanceList": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "item": { + "deprecated": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGElementInstance", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGElementInstance" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "item" + } + } + }, + "name": "SVGElementInstanceList", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "svg11", + "name": "length", + "type-original": "unsigned long", + "deprecated": 1, + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "PageTransitionEvent": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "PageTransitionEvent", + "extends": "Event", + "properties": { + "property": { + "persisted": { + "specs": "html5", + "exposed": "Window", + "name": "persisted", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "MSCredentials": { + "constants": { + "constant": {} + }, + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getAssertion": { + "signature": [ + { + "subtype": { + "type": "MSAssertion" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "challenge", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "filter", + "type": "MSCredentialFilter", + "optional": 1, + "type-original": "MSCredentialFilter" + }, + { + "name": "params", + "type": "MSSignatureParameters", + "optional": 1, + "type-original": "MSSignatureParameters" + } + ], + "type-original": "Promise" + } + ], + "specs": "webauthn", + "exposed": "Window", + "name": "getAssertion" + }, + "makeCredential": { + "signature": [ + { + "subtype": { + "type": "MSAssertion" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "accountInfo", + "type": "MSAccountInfo", + "type-original": "MSAccountInfo" + }, + { + "subtype": { + "type": "MSCredentialParameters" + }, + "name": "params", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "challenge", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "webauthn", + "exposed": "Window", + "name": "makeCredential" + } + } + }, + "name": "MSCredentials", + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLVideoElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLVideoElement", + "properties": { + "property": { + "videoWidth": { + "specs": "html5", + "name": "videoWidth", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "msStereo3DPackingMode": { + "extension": 1, + "specs": "none", + "name": "msStereo3DPackingMode", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "onMSVideoFrameStepCompleted": { + "extension": 1, + "specs": "none", + "name": "onMSVideoFrameStepCompleted", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSVideoFrameStepCompleted" + }, + "msIsLayoutOptimalForPlayback": { + "extension": 1, + "specs": "none", + "name": "msIsLayoutOptimalForPlayback", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "webkitSupportsFullscreen": { + "extension": 1, + "specs": "none", + "name": "webkitSupportsFullscreen", + "type-original": "boolean", + "interop": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "height": { + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "msZoom": { + "extension": 1, + "specs": "none", + "exposed": "Window", + "name": "msZoom", + "type": "boolean", + "type-original": "boolean" + }, + "msIsStereo3D": { + "extension": 1, + "specs": "none", + "name": "msIsStereo3D", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "webkitDisplayingFullscreen": { + "extension": 1, + "specs": "none", + "name": "webkitDisplayingFullscreen", + "type-original": "boolean", + "interop": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "onMSVideoOptimalLayoutChanged": { + "extension": 1, + "specs": "none", + "name": "onMSVideoOptimalLayoutChanged", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSVideoOptimalLayoutChanged" + }, + "videoHeight": { + "specs": "html5", + "name": "videoHeight", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "msStereo3DRenderMode": { + "extension": 1, + "specs": "none", + "name": "msStereo3DRenderMode", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "msHorizontalMirror": { + "extension": 1, + "specs": "none", + "name": "msHorizontalMirror", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "onMSVideoFormatChanged": { + "extension": 1, + "specs": "none", + "name": "onMSVideoFormatChanged", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSVideoFormatChanged" + }, + "poster": { + "specs": "html5", + "ce-reactions": 1, + "name": "poster", + "content-attribute": "poster", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "video" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "resize", + "type": "Event" + } + ] + }, + "methods": { + "method": { + "webkitExitFullScreen": { + "extension": 1, + "interop": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "webkitExitFullScreen", + "exposed": "Window" + }, + "getVideoPlaybackQuality": { + "specs": "media-playback-quality", + "signature": [ + { + "type": "VideoPlaybackQuality", + "type-original": "VideoPlaybackQuality" + } + ], + "name": "getVideoPlaybackQuality", + "exposed": "Window" + }, + "msInsertVideoEffect": { + "extension": 1, + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "activatableClassId", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "effectRequired", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "config", + "optional": 1, + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msInsertVideoEffect" + }, + "msFrameStep": { + "extension": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "forward", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msFrameStep" + }, + "webkitExitFullscreen": { + "extension": 1, + "interop": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "webkitExitFullscreen", + "exposed": "Window" + }, + "webkitEnterFullScreen": { + "extension": 1, + "interop": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "webkitEnterFullScreen", + "exposed": "Window" + }, + "webkitEnterFullscreen": { + "extension": 1, + "interop": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "webkitEnterFullscreen", + "exposed": "Window" + }, + "msSetVideoRectangle": { + "extension": 1, + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "left", + "type": "float", + "type-original": "float" + }, + { + "name": "top", + "type": "float", + "type-original": "float" + }, + { + "name": "right", + "type": "float", + "type-original": "float" + }, + { + "name": "bottom", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "msSetVideoRectangle" + } + } + }, + "exposed": "Window", + "extends": "HTMLMediaElement" + }, + "SVGFEDiffuseLightingElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + }, + { + "enum-values": "currentColor inherit initial", + "value-syntax": "css_color", + "name": "lighting-color" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEDiffuseLightingElement", + "properties": { + "property": { + "kernelUnitLengthY": { + "specs": "filter-effects", + "name": "kernelUnitLengthY", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "surfaceScale": { + "specs": "filter-effects", + "name": "surfaceScale", + "constant": 1, + "content-attribute": "surfaceScale", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "kernelUnitLengthX": { + "specs": "filter-effects", + "name": "kernelUnitLengthX", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "diffuseConstant": { + "specs": "filter-effects", + "name": "diffuseConstant", + "constant": 1, + "content-attribute": "diffuseConstant", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feDiffuseLighting" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGFEComponentTransferElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEComponentTransferElement", + "properties": { + "property": { + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feComponentTransfer" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "OES_texture_float_linear": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "OES_texture_float_linear", + "extends": "Object", + "properties": { + "property": {} + } + }, + "ServiceWorkerGlobalScope": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "ServiceWorkerGlobalScope", + "properties": { + "property": { + "onactivate": { + "specs": "service-workers", + "name": "onactivate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "activate" + }, + "onpush": { + "specs": "push-api", + "name": "onpush", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "push" + }, + "onnotificationclose": { + "specs": "notifications", + "name": "onnotificationclose", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "notificationclose" + }, + "onsync": { + "specs": "web-background-sync", + "name": "onsync", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "sync" + }, + "oninstall": { + "specs": "service-workers", + "name": "oninstall", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "install" + }, + "onnotificationclick": { + "specs": "notifications", + "name": "onnotificationclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "notificationclick" + }, + "onfetch": { + "specs": "service-workers", + "name": "onfetch", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "fetch" + }, + "registration": { + "specs": "service-workers", + "same-object": 1, + "name": "registration", + "type-original": "ServiceWorkerRegistration", + "exposed": "Worker", + "type": "ServiceWorkerRegistration", + "read-only": 1 + }, + "onmessage": { + "specs": "service-workers", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "message" + }, + "onpushsubscriptionchange": { + "specs": "push-api", + "name": "onpushsubscriptionchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "pushsubscriptionchange" + }, + "clients": { + "specs": "service-workers", + "same-object": 1, + "name": "clients", + "type-original": "Clients", + "exposed": "Worker", + "type": "Clients", + "read-only": 1 + }, + "onmessageerror": { + "specs": "service-workers", + "name": "onmessageerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "messageerror" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "install", + "type": "ExtendableEvent" + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "activate", + "type": "ExtendableEvent" + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "fetch", + "type": "FetchEvent" + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "message", + "type": "ExtendableMessageEvent" + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "messageerror", + "type": "MessageEvent" + }, + { + "dispatch": "async", + "specs": "WebNotifications", + "name": "notificationclick", + "type": "NotificationEvent" + }, + { + "dispatch": "async", + "specs": "WebNotifications", + "name": "notificationclose", + "type": "NotificationEvent" + }, + { + "dispatch": "async", + "specs": "PushNotification", + "name": "push", + "type": "PushEvent" + }, + { + "dispatch": "async", + "specs": "PushNotification", + "name": "pushsubscriptionchange", + "type": "PushSubscriptionChangeEvent" + }, + { + "dispatch": "async", + "specs": "BackgroundSync", + "name": "sync", + "type": "SyncEvent" + } + ] + }, + "exposed": "Worker", + "methods": { + "method": { + "skipWaiting": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "skipWaiting" + } + } + }, + "extends": "WorkerGlobalScope" + }, + "PaymentRequest": { + "specs": "payment-request", + "constructor": { + "specs": "payment-request", + "signature": [ + { + "param-min-required": 2, + "type": "PaymentRequest", + "param": [ + { + "subtype": { + "type": "PaymentMethodData" + }, + "name": "methodData", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "details", + "type": "PaymentDetailsInit", + "type-original": "PaymentDetailsInit" + }, + { + "name": "options", + "type": "PaymentOptions", + "optional": 1, + "type-original": "PaymentOptions" + } + ], + "type-original": "PaymentRequest" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PaymentRequest", + "properties": { + "property": { + "onshippingaddresschange": { + "specs": "payment-request", + "name": "onshippingaddresschange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "shippingaddresschange" + }, + "onshippingoptionchange": { + "specs": "payment-request", + "name": "onshippingoptionchange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "shippingoptionchange" + }, + "shippingType": { + "specs": "payment-request", + "name": "shippingType", + "type-original": "PaymentShippingType?", + "nullable": 1, + "exposed": "Window", + "type": "PaymentShippingType", + "read-only": 1 + }, + "shippingAddress": { + "specs": "payment-request", + "name": "shippingAddress", + "type-original": "PaymentAddress?", + "nullable": 1, + "exposed": "Window", + "type": "PaymentAddress", + "read-only": 1 + }, + "id": { + "specs": "payment-request", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "shippingOption": { + "specs": "payment-request", + "name": "shippingOption", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "payment-request", + "name": "shippingaddresschange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "payment-request", + "name": "shippingoptionchange", + "type": "Event" + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "show": { + "signature": [ + { + "subtype": { + "type": "PaymentResponse" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "payment-request", + "exposed": "Window", + "name": "show" + }, + "abort": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "payment-request", + "exposed": "Window", + "name": "abort" + }, + "canMakePayment": { + "signature": [ + { + "subtype": { + "type": "boolean" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "payment-request", + "exposed": "Window", + "name": "canMakePayment" + } + } + }, + "extends": "EventTarget", + "secure-context": 1 + }, + "WorkerNavigator": { + "specs": "workers", + "anonymous-methods": { + "method": [] + }, + "name": "WorkerNavigator", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "Object", + "implements": [ + "NavigatorID", + "NavigatorOnLine", + "NavigatorBeacon", + "NavigatorConcurrentHardware" + ] + }, + "HTMLFormControlsCollection": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFormControlsCollection", + "properties": { + "property": {} + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "namedItem": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "nullable": 1, + "type": "HTMLCollection" + }, + { + "nullable": 1, + "type": "Element" + } + ], + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "(HTMLCollection or Element)?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem", + "tags": "TreeNavigation" + } + } + }, + "exposed": "Window", + "extends": "HTMLCollection" + }, + "XPathEvaluator": { + "constants": { + "constant": {} + }, + "specs": "dom-level-3-xpath", + "constructor": { + "specs": "dom-level-3-xpath", + "signature": [ + { + "type": "XPathEvaluator", + "type-original": "XPathEvaluator" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "createExpression": { + "signature": [ + { + "param-min-required": 2, + "type": "XPathExpression", + "param": [ + { + "name": "expression", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "resolver", + "type": "XPathNSResolver", + "type-original": "XPathNSResolver" + } + ], + "type-original": "XPathExpression" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "createExpression" + }, + "createNSResolver": { + "pure": 1, + "signature": [ + { + "param-min-required": 0, + "type": "XPathNSResolver", + "param": [ + { + "name": "nodeResolver", + "type": "Node", + "optional": 1, + "type-original": "Node" + } + ], + "type-original": "XPathNSResolver" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "createNSResolver" + }, + "evaluate": { + "signature": [ + { + "param-min-required": 5, + "type": "XPathResult", + "param": [ + { + "name": "expression", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "contextNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "resolver", + "type": "XPathNSResolver", + "type-original": "XPathNSResolver" + }, + { + "name": "type", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult", + "type-original": "XPathResult" + } + ], + "type-original": "XPathResult" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "evaluate" + } + } + }, + "name": "XPathEvaluator", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGFEFloodElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + }, + { + "enum-values": "currentColor inherit initial", + "value-syntax": "css_color", + "name": "flood-color" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "flood-opacity" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEFloodElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feFlood" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGFEMergeNodeElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEMergeNodeElement", + "properties": { + "property": { + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "SVG1_1", + "namespace": "SVG", + "name": "feMergeNode" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "TrackEvent": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "TrackEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "TrackEventInit", + "optional": 1, + "type-original": "TrackEventInit" + } + ], + "type-original": "TrackEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "TrackEvent", + "properties": { + "property": { + "track": { + "specs": "html5", + "name": "track", + "type-original": "(VideoTrack or AudioTrack or TextTrack)?", + "exposed": "Window", + "type": [ + { + "nullable": 1, + "type": "VideoTrack" + }, + { + "nullable": 1, + "type": "AudioTrack" + }, + { + "nullable": 1, + "type": "TextTrack" + } + ], + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "IntersectionObserverEntry": { + "specs": "IntersectionObserver", + "constructor": { + "specs": "IntersectionObserver", + "signature": [ + { + "param-min-required": 1, + "type": "IntersectionObserverEntry", + "param": [ + { + "name": "intersectionObserverEntryInit", + "type": "IntersectionObserverEntryInit", + "type-original": "IntersectionObserverEntryInit" + } + ], + "type-original": "IntersectionObserverEntry" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "IntersectionObserverEntry", + "properties": { + "property": { + "target": { + "specs": "IntersectionObserver", + "name": "target", + "constant": 1, + "type-original": "Element", + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "intersectionRect": { + "specs": "IntersectionObserver", + "name": "intersectionRect", + "constant": 1, + "type-original": "ClientRect", + "exposed": "Window", + "type": "ClientRect", + "read-only": 1 + }, + "isIntersecting": { + "specs": "IntersectionObserver", + "name": "isIntersecting", + "constant": 1, + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "intersectionRatio": { + "specs": "IntersectionObserver", + "name": "intersectionRatio", + "constant": 1, + "type-original": "double", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "time": { + "specs": "IntersectionObserver", + "name": "time", + "constant": 1, + "type-original": "DOMHighResTimeStamp", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "boundingClientRect": { + "specs": "IntersectionObserver", + "name": "boundingClientRect", + "constant": 1, + "type-original": "ClientRect", + "exposed": "Window", + "type": "ClientRect", + "read-only": 1 + }, + "rootBounds": { + "specs": "IntersectionObserver", + "name": "rootBounds", + "constant": 1, + "type-original": "ClientRect", + "exposed": "Window", + "type": "ClientRect", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "MSGesture": { + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "type": "MSGesture", + "type-original": "MSGesture" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSGesture", + "properties": { + "property": { + "target": { + "specs": "none", + "exposed": "Window", + "name": "target", + "type": "Element", + "type-original": "Element" + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "stop" + }, + "addPointer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "pointerId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "addPointer" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "SVGPathSegCurvetoQuadraticRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoQuadraticRel", + "properties": { + "property": { + "y1": { + "specs": "svg11", + "exposed": "Window", + "name": "y1", + "type": "float", + "type-original": "float" + }, + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "x1": { + "specs": "svg11", + "exposed": "Window", + "name": "x1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "WebGLRenderingContext": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "WebGLRenderingContext", + "properties": { + "property": { + "drawingBufferWidth": { + "specs": "webgl", + "exposed": "Window", + "name": "drawingBufferWidth", + "type": "long", + "type-original": "GLsizei", + "read-only": 1 + }, + "drawingBufferHeight": { + "specs": "webgl", + "exposed": "Window", + "name": "drawingBufferHeight", + "type": "long", + "type-original": "GLsizei", + "read-only": 1 + }, + "canvas": { + "specs": "webgl", + "exposed": "Window", + "name": "canvas", + "type": "HTMLCanvasElement", + "type-original": "HTMLCanvasElement", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "DEPTH_COMPONENT16": { + "specs": "webgl", + "value": "0x81A5", + "exposed": "Window", + "name": "DEPTH_COMPONENT16", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_FUNC": { + "specs": "webgl", + "value": "0x0B74", + "exposed": "Window", + "name": "DEPTH_FUNC", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_INCOMPLETE_DIMENSIONS": { + "specs": "webgl", + "value": "0x8CD9", + "exposed": "Window", + "name": "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_ENABLED": { + "specs": "webgl", + "value": "0x8622", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_ENABLED", + "type": "unsigned long", + "type-original": "GLenum" + }, + "REPEAT": { + "specs": "webgl", + "value": "0x2901", + "exposed": "Window", + "name": "REPEAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "REPLACE": { + "specs": "webgl", + "value": "0x1E01", + "exposed": "Window", + "name": "REPLACE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERER": { + "specs": "webgl", + "value": "0x1F01", + "exposed": "Window", + "name": "RENDERER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_REF": { + "specs": "webgl", + "value": "0x8CA3", + "exposed": "Window", + "name": "STENCIL_BACK_REF", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BUFFER_BIT": { + "specs": "webgl", + "value": "0x00000400", + "exposed": "Window", + "name": "STENCIL_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE26": { + "specs": "webgl", + "value": "0x84DA", + "exposed": "Window", + "name": "TEXTURE26", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RGB565": { + "specs": "webgl", + "value": "0x8D62", + "exposed": "Window", + "name": "RGB565", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DITHER": { + "specs": "webgl", + "value": "0x0BD0", + "exposed": "Window", + "name": "DITHER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CONSTANT_COLOR": { + "specs": "webgl", + "value": "0x8001", + "exposed": "Window", + "name": "CONSTANT_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "GENERATE_MIPMAP_HINT": { + "specs": "webgl", + "value": "0x8192", + "exposed": "Window", + "name": "GENERATE_MIPMAP_HINT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "POINTS": { + "specs": "webgl", + "value": "0x0000", + "exposed": "Window", + "name": "POINTS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INT_VEC3": { + "specs": "webgl", + "value": "0x8B54", + "exposed": "Window", + "name": "INT_VEC3", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE28": { + "specs": "webgl", + "value": "0x84DC", + "exposed": "Window", + "name": "TEXTURE28", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DECR": { + "specs": "webgl", + "value": "0x1E03", + "exposed": "Window", + "name": "DECR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_CONSTANT_ALPHA": { + "specs": "webgl", + "value": "0x8004", + "exposed": "Window", + "name": "ONE_MINUS_CONSTANT_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BACK": { + "specs": "webgl", + "value": "0x0405", + "exposed": "Window", + "name": "BACK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_STENCIL_SIZE": { + "specs": "webgl", + "value": "0x8D55", + "exposed": "Window", + "name": "RENDERBUFFER_STENCIL_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNPACK_FLIP_Y_WEBGL": { + "specs": "webgl", + "value": "0x9240", + "exposed": "Window", + "name": "UNPACK_FLIP_Y_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND": { + "specs": "webgl", + "value": "0x0BE2", + "exposed": "Window", + "name": "BLEND", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE9": { + "specs": "webgl", + "value": "0x84C9", + "exposed": "Window", + "name": "TEXTURE9", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ARRAY_BUFFER_BINDING": { + "specs": "webgl", + "value": "0x8894", + "exposed": "Window", + "name": "ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_VIEWPORT_DIMS": { + "specs": "webgl", + "value": "0x0D3A", + "exposed": "Window", + "name": "MAX_VIEWPORT_DIMS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INVALID_FRAMEBUFFER_OPERATION": { + "specs": "webgl", + "value": "0x0506", + "exposed": "Window", + "name": "INVALID_FRAMEBUFFER_OPERATION", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE": { + "specs": "webgl", + "value": "0x1702", + "exposed": "Window", + "name": "TEXTURE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE0": { + "specs": "webgl", + "value": "0x84C0", + "exposed": "Window", + "name": "TEXTURE0", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE31": { + "specs": "webgl", + "value": "0x84DF", + "exposed": "Window", + "name": "TEXTURE31", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE24": { + "specs": "webgl", + "value": "0x84D8", + "exposed": "Window", + "name": "TEXTURE24", + "type": "unsigned long", + "type-original": "GLenum" + }, + "HIGH_INT": { + "specs": "webgl", + "value": "0x8DF5", + "exposed": "Window", + "name": "HIGH_INT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_BINDING": { + "specs": "webgl", + "value": "0x8CA7", + "exposed": "Window", + "name": "RENDERBUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FASTEST": { + "specs": "webgl", + "value": "0x1101", + "exposed": "Window", + "name": "FASTEST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_COLOR": { + "specs": "webgl", + "value": "0x8005", + "exposed": "Window", + "name": "BLEND_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_WRITEMASK": { + "specs": "webgl", + "value": "0x0B98", + "exposed": "Window", + "name": "STENCIL_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ALIASED_POINT_SIZE_RANGE": { + "specs": "webgl", + "value": "0x846D", + "exposed": "Window", + "name": "ALIASED_POINT_SIZE_RANGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE12": { + "specs": "webgl", + "value": "0x84CC", + "exposed": "Window", + "name": "TEXTURE12", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DST_ALPHA": { + "specs": "webgl", + "value": "0x0304", + "exposed": "Window", + "name": "DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_EQUATION_RGB": { + "specs": "webgl", + "value": "0x8009", + "exposed": "Window", + "name": "BLEND_EQUATION_RGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_COMPLETE": { + "specs": "webgl", + "value": "0x8CD5", + "exposed": "Window", + "name": "FRAMEBUFFER_COMPLETE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NEAREST_MIPMAP_NEAREST": { + "specs": "webgl", + "value": "0x2700", + "exposed": "Window", + "name": "NEAREST_MIPMAP_NEAREST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_SIZE": { + "specs": "webgl", + "value": "0x8623", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE3": { + "specs": "webgl", + "value": "0x84C3", + "exposed": "Window", + "name": "TEXTURE3", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_WRITEMASK": { + "specs": "webgl", + "value": "0x0B72", + "exposed": "Window", + "name": "DEPTH_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CONTEXT_LOST_WEBGL": { + "specs": "webgl", + "value": "0x9242", + "exposed": "Window", + "name": "CONTEXT_LOST_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INVALID_VALUE": { + "specs": "webgl", + "value": "0x0501", + "exposed": "Window", + "name": "INVALID_VALUE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_MAG_FILTER": { + "specs": "webgl", + "value": "0x2800", + "exposed": "Window", + "name": "TEXTURE_MAG_FILTER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_CONSTANT_COLOR": { + "specs": "webgl", + "value": "0x8002", + "exposed": "Window", + "name": "ONE_MINUS_CONSTANT_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_SRC_ALPHA": { + "specs": "webgl", + "value": "0x0303", + "exposed": "Window", + "name": "ONE_MINUS_SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_POSITIVE_Z": { + "specs": "webgl", + "value": "0x8519", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_POSITIVE_Z", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NOTEQUAL": { + "specs": "webgl", + "value": "0x0205", + "exposed": "Window", + "name": "NOTEQUAL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ALPHA": { + "specs": "webgl", + "value": "0x1906", + "exposed": "Window", + "name": "ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_STENCIL": { + "specs": "webgl", + "value": "0x84F9", + "exposed": "Window", + "name": "DEPTH_STENCIL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_VERTEX_UNIFORM_VECTORS": { + "specs": "webgl", + "value": "0x8DFB", + "exposed": "Window", + "name": "MAX_VERTEX_UNIFORM_VECTORS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_COMPONENT": { + "specs": "webgl", + "value": "0x1902", + "exposed": "Window", + "name": "DEPTH_COMPONENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_RED_SIZE": { + "specs": "webgl", + "value": "0x8D50", + "exposed": "Window", + "name": "RENDERBUFFER_RED_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE20": { + "specs": "webgl", + "value": "0x84D4", + "exposed": "Window", + "name": "TEXTURE20", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RED_BITS": { + "specs": "webgl", + "value": "0x0D52", + "exposed": "Window", + "name": "RED_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_BLUE_SIZE": { + "specs": "webgl", + "value": "0x8D52", + "exposed": "Window", + "name": "RENDERBUFFER_BLUE_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SCISSOR_BOX": { + "specs": "webgl", + "value": "0x0C10", + "exposed": "Window", + "name": "SCISSOR_BOX", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VENDOR": { + "specs": "webgl", + "value": "0x1F00", + "exposed": "Window", + "name": "VENDOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRONT_AND_BACK": { + "specs": "webgl", + "value": "0x0408", + "exposed": "Window", + "name": "FRONT_AND_BACK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CONSTANT_ALPHA": { + "specs": "webgl", + "value": "0x8003", + "exposed": "Window", + "name": "CONSTANT_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING": { + "specs": "webgl", + "value": "0x889F", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum" + }, + "IMPLEMENTATION_COLOR_READ_FORMAT": { + "specs": "webgl", + "value": "0x8B9B", + "exposed": "Window", + "name": "IMPLEMENTATION_COLOR_READ_FORMAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NEAREST": { + "specs": "webgl", + "value": "0x2600", + "exposed": "Window", + "name": "NEAREST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CULL_FACE": { + "specs": "webgl", + "value": "0x0B44", + "exposed": "Window", + "name": "CULL_FACE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ALIASED_LINE_WIDTH_RANGE": { + "specs": "webgl", + "value": "0x846E", + "exposed": "Window", + "name": "ALIASED_LINE_WIDTH_RANGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE19": { + "specs": "webgl", + "value": "0x84D3", + "exposed": "Window", + "name": "TEXTURE19", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRONT": { + "specs": "webgl", + "value": "0x0404", + "exposed": "Window", + "name": "FRONT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_CLEAR_VALUE": { + "specs": "webgl", + "value": "0x0B73", + "exposed": "Window", + "name": "DEPTH_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "GREEN_BITS": { + "specs": "webgl", + "value": "0x0D53", + "exposed": "Window", + "name": "GREEN_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE29": { + "specs": "webgl", + "value": "0x84DD", + "exposed": "Window", + "name": "TEXTURE29", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE23": { + "specs": "webgl", + "value": "0x84D7", + "exposed": "Window", + "name": "TEXTURE23", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_RENDERBUFFER_SIZE": { + "specs": "webgl", + "value": "0x84E8", + "exposed": "Window", + "name": "MAX_RENDERBUFFER_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_ATTACHMENT": { + "specs": "webgl", + "value": "0x8D20", + "exposed": "Window", + "name": "STENCIL_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE27": { + "specs": "webgl", + "value": "0x84DB", + "exposed": "Window", + "name": "TEXTURE27", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BOOL_VEC2": { + "specs": "webgl", + "value": "0x8B57", + "exposed": "Window", + "name": "BOOL_VEC2", + "type": "unsigned long", + "type-original": "GLenum" + }, + "OUT_OF_MEMORY": { + "specs": "webgl", + "value": "0x0505", + "exposed": "Window", + "name": "OUT_OF_MEMORY", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MIRRORED_REPEAT": { + "specs": "webgl", + "value": "0x8370", + "exposed": "Window", + "name": "MIRRORED_REPEAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "POLYGON_OFFSET_UNITS": { + "specs": "webgl", + "value": "0x2A00", + "exposed": "Window", + "name": "POLYGON_OFFSET_UNITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_MIN_FILTER": { + "specs": "webgl", + "value": "0x2801", + "exposed": "Window", + "name": "TEXTURE_MIN_FILTER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_PASS_DEPTH_PASS": { + "specs": "webgl", + "value": "0x8803", + "exposed": "Window", + "name": "STENCIL_BACK_PASS_DEPTH_PASS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINE_LOOP": { + "specs": "webgl", + "value": "0x0002", + "exposed": "Window", + "name": "LINE_LOOP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_MAT3": { + "specs": "webgl", + "value": "0x8B5B", + "exposed": "Window", + "name": "FLOAT_MAT3", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE14": { + "specs": "webgl", + "value": "0x84CE", + "exposed": "Window", + "name": "TEXTURE14", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINEAR": { + "specs": "webgl", + "value": "0x2601", + "exposed": "Window", + "name": "LINEAR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RGB5_A1": { + "specs": "webgl", + "value": "0x8057", + "exposed": "Window", + "name": "RGB5_A1", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_SRC_COLOR": { + "specs": "webgl", + "value": "0x0301", + "exposed": "Window", + "name": "ONE_MINUS_SRC_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLE_COVERAGE_INVERT": { + "specs": "webgl", + "value": "0x80AB", + "exposed": "Window", + "name": "SAMPLE_COVERAGE_INVERT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DONT_CARE": { + "specs": "webgl", + "value": "0x1100", + "exposed": "Window", + "name": "DONT_CARE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_BINDING": { + "specs": "webgl", + "value": "0x8CA6", + "exposed": "Window", + "name": "FRAMEBUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_ALPHA_SIZE": { + "specs": "webgl", + "value": "0x8D53", + "exposed": "Window", + "name": "RENDERBUFFER_ALPHA_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_REF": { + "specs": "webgl", + "value": "0x0B97", + "exposed": "Window", + "name": "STENCIL_REF", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ZERO": { + "specs": "webgl", + "value": "0", + "exposed": "Window", + "name": "ZERO", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DECR_WRAP": { + "specs": "webgl", + "value": "0x8508", + "exposed": "Window", + "name": "DECR_WRAP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLE_COVERAGE": { + "specs": "webgl", + "value": "0x80A0", + "exposed": "Window", + "name": "SAMPLE_COVERAGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_FUNC": { + "specs": "webgl", + "value": "0x8800", + "exposed": "Window", + "name": "STENCIL_BACK_FUNC", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE30": { + "specs": "webgl", + "value": "0x84DE", + "exposed": "Window", + "name": "TEXTURE30", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VIEWPORT": { + "specs": "webgl", + "value": "0x0BA2", + "exposed": "Window", + "name": "VIEWPORT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BITS": { + "specs": "webgl", + "value": "0x0D57", + "exposed": "Window", + "name": "STENCIL_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT": { + "specs": "webgl", + "value": "0x1406", + "exposed": "Window", + "name": "FLOAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COLOR_WRITEMASK": { + "specs": "webgl", + "value": "0x0C23", + "exposed": "Window", + "name": "COLOR_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLE_COVERAGE_VALUE": { + "specs": "webgl", + "value": "0x80AA", + "exposed": "Window", + "name": "SAMPLE_COVERAGE_VALUE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_NEGATIVE_Y": { + "specs": "webgl", + "value": "0x8518", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_NEGATIVE_Y", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_FAIL": { + "specs": "webgl", + "value": "0x8801", + "exposed": "Window", + "name": "STENCIL_BACK_FAIL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_MAT4": { + "specs": "webgl", + "value": "0x8B5C", + "exposed": "Window", + "name": "FLOAT_MAT4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_SHORT_4_4_4_4": { + "specs": "webgl", + "value": "0x8033", + "exposed": "Window", + "name": "UNSIGNED_SHORT_4_4_4_4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE6": { + "specs": "webgl", + "value": "0x84C6", + "exposed": "Window", + "name": "TEXTURE6", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_WIDTH": { + "specs": "webgl", + "value": "0x8D42", + "exposed": "Window", + "name": "RENDERBUFFER_WIDTH", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RGBA4": { + "specs": "webgl", + "value": "0x8056", + "exposed": "Window", + "name": "RGBA4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ALWAYS": { + "specs": "webgl", + "value": "0x0207", + "exposed": "Window", + "name": "ALWAYS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_EQUATION_ALPHA": { + "specs": "webgl", + "value": "0x883D", + "exposed": "Window", + "name": "BLEND_EQUATION_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COLOR_BUFFER_BIT": { + "specs": "webgl", + "value": "0x00004000", + "exposed": "Window", + "name": "COLOR_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP": { + "specs": "webgl", + "value": "0x8513", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_BUFFER_BIT": { + "specs": "webgl", + "value": "0x00000100", + "exposed": "Window", + "name": "DEPTH_BUFFER_BIT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_CLEAR_VALUE": { + "specs": "webgl", + "value": "0x0B91", + "exposed": "Window", + "name": "STENCIL_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_EQUATION": { + "specs": "webgl", + "value": "0x8009", + "exposed": "Window", + "name": "BLEND_EQUATION", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_GREEN_SIZE": { + "specs": "webgl", + "value": "0x8D51", + "exposed": "Window", + "name": "RENDERBUFFER_GREEN_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NEAREST_MIPMAP_LINEAR": { + "specs": "webgl", + "value": "0x2702", + "exposed": "Window", + "name": "NEAREST_MIPMAP_LINEAR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_TYPE": { + "specs": "webgl", + "value": "0x8625", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_TYPE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INCR_WRAP": { + "specs": "webgl", + "value": "0x8507", + "exposed": "Window", + "name": "INCR_WRAP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_DST_COLOR": { + "specs": "webgl", + "value": "0x0307", + "exposed": "Window", + "name": "ONE_MINUS_DST_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "HIGH_FLOAT": { + "specs": "webgl", + "value": "0x8DF2", + "exposed": "Window", + "name": "HIGH_FLOAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BYTE": { + "specs": "webgl", + "value": "0x1400", + "exposed": "Window", + "name": "BYTE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRONT_FACE": { + "specs": "webgl", + "value": "0x0B46", + "exposed": "Window", + "name": "FRONT_FACE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLE_ALPHA_TO_COVERAGE": { + "specs": "webgl", + "value": "0x809E", + "exposed": "Window", + "name": "SAMPLE_ALPHA_TO_COVERAGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE13": { + "specs": "webgl", + "value": "0x84CD", + "exposed": "Window", + "name": "TEXTURE13", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_VERTEX_ATTRIBS": { + "specs": "webgl", + "value": "0x8869", + "exposed": "Window", + "name": "MAX_VERTEX_ATTRIBS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CCW": { + "specs": "webgl", + "value": "0x0901", + "exposed": "Window", + "name": "CCW", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_VERTEX_TEXTURE_IMAGE_UNITS": { + "specs": "webgl", + "value": "0x8B4C", + "exposed": "Window", + "name": "MAX_VERTEX_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_WRAP_T": { + "specs": "webgl", + "value": "0x2803", + "exposed": "Window", + "name": "TEXTURE_WRAP_T", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNPACK_PREMULTIPLY_ALPHA_WEBGL": { + "specs": "webgl", + "value": "0x9241", + "exposed": "Window", + "name": "UNPACK_PREMULTIPLY_ALPHA_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_VEC2": { + "specs": "webgl", + "value": "0x8B50", + "exposed": "Window", + "name": "FLOAT_VEC2", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LUMINANCE": { + "specs": "webgl", + "value": "0x1909", + "exposed": "Window", + "name": "LUMINANCE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INT_VEC2": { + "specs": "webgl", + "value": "0x8B53", + "exposed": "Window", + "name": "INT_VEC2", + "type": "unsigned long", + "type-original": "GLenum" + }, + "GREATER": { + "specs": "webgl", + "value": "0x0204", + "exposed": "Window", + "name": "GREATER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER": { + "specs": "webgl", + "value": "0x8D40", + "exposed": "Window", + "name": "FRAMEBUFFER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VALIDATE_STATUS": { + "specs": "webgl", + "value": "0x8B83", + "exposed": "Window", + "name": "VALIDATE_STATUS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_UNSUPPORTED": { + "specs": "webgl", + "value": "0x8CDD", + "exposed": "Window", + "name": "FRAMEBUFFER_UNSUPPORTED", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE5": { + "specs": "webgl", + "value": "0x84C5", + "exposed": "Window", + "name": "TEXTURE5", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FUNC_SUBTRACT": { + "specs": "webgl", + "value": "0x800A", + "exposed": "Window", + "name": "FUNC_SUBTRACT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_DST_ALPHA": { + "specs": "webgl", + "value": "0x80CA", + "exposed": "Window", + "name": "BLEND_DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLER_CUBE": { + "specs": "webgl", + "value": "0x8B60", + "exposed": "Window", + "name": "SAMPLER_CUBE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE_MINUS_DST_ALPHA": { + "specs": "webgl", + "value": "0x0305", + "exposed": "Window", + "name": "ONE_MINUS_DST_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LESS": { + "specs": "webgl", + "value": "0x0201", + "exposed": "Window", + "name": "LESS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_POSITIVE_X": { + "specs": "webgl", + "value": "0x8515", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_POSITIVE_X", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLUE_BITS": { + "specs": "webgl", + "value": "0x0D54", + "exposed": "Window", + "name": "BLUE_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_TEST": { + "specs": "webgl", + "value": "0x0B71", + "exposed": "Window", + "name": "DEPTH_TEST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_STRIDE": { + "specs": "webgl", + "value": "0x8624", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_STRIDE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DELETE_STATUS": { + "specs": "webgl", + "value": "0x8B80", + "exposed": "Window", + "name": "DELETE_STATUS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE18": { + "specs": "webgl", + "value": "0x84D2", + "exposed": "Window", + "name": "TEXTURE18", + "type": "unsigned long", + "type-original": "GLenum" + }, + "POLYGON_OFFSET_FACTOR": { + "specs": "webgl", + "value": "0x8038", + "exposed": "Window", + "name": "POLYGON_OFFSET_FACTOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_INT": { + "specs": "webgl", + "value": "0x1405", + "exposed": "Window", + "name": "UNSIGNED_INT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_2D": { + "specs": "webgl", + "value": "0x0DE1", + "exposed": "Window", + "name": "TEXTURE_2D", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DST_COLOR": { + "specs": "webgl", + "value": "0x0306", + "exposed": "Window", + "name": "DST_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_MAT2": { + "specs": "webgl", + "value": "0x8B5A", + "exposed": "Window", + "name": "FLOAT_MAT2", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COMPRESSED_TEXTURE_FORMATS": { + "specs": "webgl", + "value": "0x86A3", + "exposed": "Window", + "name": "COMPRESSED_TEXTURE_FORMATS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_FRAGMENT_UNIFORM_VECTORS": { + "specs": "webgl", + "value": "0x8DFD", + "exposed": "Window", + "name": "MAX_FRAGMENT_UNIFORM_VECTORS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_STENCIL_ATTACHMENT": { + "specs": "webgl", + "value": "0x821A", + "exposed": "Window", + "name": "DEPTH_STENCIL_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LUMINANCE_ALPHA": { + "specs": "webgl", + "value": "0x190A", + "exposed": "Window", + "name": "LUMINANCE_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CW": { + "specs": "webgl", + "value": "0x0900", + "exposed": "Window", + "name": "CW", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_NORMALIZED": { + "specs": "webgl", + "value": "0x886A", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_NORMALIZED", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_NEGATIVE_Z": { + "specs": "webgl", + "value": "0x851A", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_NEGATIVE_Z", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINEAR_MIPMAP_LINEAR": { + "specs": "webgl", + "value": "0x2703", + "exposed": "Window", + "name": "LINEAR_MIPMAP_LINEAR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BUFFER_SIZE": { + "specs": "webgl", + "value": "0x8764", + "exposed": "Window", + "name": "BUFFER_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLE_BUFFERS": { + "specs": "webgl", + "value": "0x80A8", + "exposed": "Window", + "name": "SAMPLE_BUFFERS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE15": { + "specs": "webgl", + "value": "0x84CF", + "exposed": "Window", + "name": "TEXTURE15", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ACTIVE_TEXTURE": { + "specs": "webgl", + "value": "0x84E0", + "exposed": "Window", + "name": "ACTIVE_TEXTURE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_SHADER": { + "specs": "webgl", + "value": "0x8B31", + "exposed": "Window", + "name": "VERTEX_SHADER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE22": { + "specs": "webgl", + "value": "0x84D6", + "exposed": "Window", + "name": "TEXTURE22", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERTEX_ATTRIB_ARRAY_POINTER": { + "specs": "webgl", + "value": "0x8645", + "exposed": "Window", + "name": "VERTEX_ATTRIB_ARRAY_POINTER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INCR": { + "specs": "webgl", + "value": "0x1E02", + "exposed": "Window", + "name": "INCR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COMPILE_STATUS": { + "specs": "webgl", + "value": "0x8B81", + "exposed": "Window", + "name": "COMPILE_STATUS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_COMBINED_TEXTURE_IMAGE_UNITS": { + "specs": "webgl", + "value": "0x8B4D", + "exposed": "Window", + "name": "MAX_COMBINED_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE7": { + "specs": "webgl", + "value": "0x84C7", + "exposed": "Window", + "name": "TEXTURE7", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_SHORT_5_5_5_1": { + "specs": "webgl", + "value": "0x8034", + "exposed": "Window", + "name": "UNSIGNED_SHORT_5_5_5_1", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_BITS": { + "specs": "webgl", + "value": "0x0D56", + "exposed": "Window", + "name": "DEPTH_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RGBA": { + "specs": "webgl", + "value": "0x1908", + "exposed": "Window", + "name": "RGBA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TRIANGLE_STRIP": { + "specs": "webgl", + "value": "0x0005", + "exposed": "Window", + "name": "TRIANGLE_STRIP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COLOR_CLEAR_VALUE": { + "specs": "webgl", + "value": "0x0C22", + "exposed": "Window", + "name": "COLOR_CLEAR_VALUE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BROWSER_DEFAULT_WEBGL": { + "specs": "webgl", + "value": "0x9244", + "exposed": "Window", + "name": "BROWSER_DEFAULT_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INVALID_ENUM": { + "specs": "webgl", + "value": "0x0500", + "exposed": "Window", + "name": "INVALID_ENUM", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SCISSOR_TEST": { + "specs": "webgl", + "value": "0x0C11", + "exposed": "Window", + "name": "SCISSOR_TEST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINE_STRIP": { + "specs": "webgl", + "value": "0x0003", + "exposed": "Window", + "name": "LINE_STRIP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_INCOMPLETE_ATTACHMENT": { + "specs": "webgl", + "value": "0x8CD6", + "exposed": "Window", + "name": "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_FUNC": { + "specs": "webgl", + "value": "0x0B92", + "exposed": "Window", + "name": "STENCIL_FUNC", + "type": "unsigned long", + "type-original": "GLenum" + }, + "IMPLEMENTATION_COLOR_READ_TYPE": { + "specs": "webgl", + "value": "0x8B9A", + "exposed": "Window", + "name": "IMPLEMENTATION_COLOR_READ_TYPE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME": { + "specs": "webgl", + "value": "0x8CD1", + "exposed": "Window", + "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_HEIGHT": { + "specs": "webgl", + "value": "0x8D43", + "exposed": "Window", + "name": "RENDERBUFFER_HEIGHT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE8": { + "specs": "webgl", + "value": "0x84C8", + "exposed": "Window", + "name": "TEXTURE8", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TRIANGLES": { + "specs": "webgl", + "value": "0x0004", + "exposed": "Window", + "name": "TRIANGLES", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE": { + "specs": "webgl", + "value": "0x8CD0", + "exposed": "Window", + "name": "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_VALUE_MASK": { + "specs": "webgl", + "value": "0x8CA4", + "exposed": "Window", + "name": "STENCIL_BACK_VALUE_MASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE25": { + "specs": "webgl", + "value": "0x84D9", + "exposed": "Window", + "name": "TEXTURE25", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER": { + "specs": "webgl", + "value": "0x8D41", + "exposed": "Window", + "name": "RENDERBUFFER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LEQUAL": { + "specs": "webgl", + "value": "0x0203", + "exposed": "Window", + "name": "LEQUAL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE1": { + "specs": "webgl", + "value": "0x84C1", + "exposed": "Window", + "name": "TEXTURE1", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_INDEX8": { + "specs": "webgl", + "value": "0x8D48", + "exposed": "Window", + "name": "STENCIL_INDEX8", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FUNC_ADD": { + "specs": "webgl", + "value": "0x8006", + "exposed": "Window", + "name": "FUNC_ADD", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_FAIL": { + "specs": "webgl", + "value": "0x0B94", + "exposed": "Window", + "name": "STENCIL_FAIL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_SRC_ALPHA": { + "specs": "webgl", + "value": "0x80CB", + "exposed": "Window", + "name": "BLEND_SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BOOL": { + "specs": "webgl", + "value": "0x8B56", + "exposed": "Window", + "name": "BOOL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ALPHA_BITS": { + "specs": "webgl", + "value": "0x0D55", + "exposed": "Window", + "name": "ALPHA_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LOW_INT": { + "specs": "webgl", + "value": "0x8DF3", + "exposed": "Window", + "name": "LOW_INT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE10": { + "specs": "webgl", + "value": "0x84CA", + "exposed": "Window", + "name": "TEXTURE10", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SRC_COLOR": { + "specs": "webgl", + "value": "0x0300", + "exposed": "Window", + "name": "SRC_COLOR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_VARYING_VECTORS": { + "specs": "webgl", + "value": "0x8DFC", + "exposed": "Window", + "name": "MAX_VARYING_VECTORS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_DST_RGB": { + "specs": "webgl", + "value": "0x80C8", + "exposed": "Window", + "name": "BLEND_DST_RGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_BINDING_CUBE_MAP": { + "specs": "webgl", + "value": "0x8514", + "exposed": "Window", + "name": "TEXTURE_BINDING_CUBE_MAP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_INDEX": { + "specs": "webgl", + "value": "0x1901", + "exposed": "Window", + "name": "STENCIL_INDEX", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_BINDING_2D": { + "specs": "webgl", + "value": "0x8069", + "exposed": "Window", + "name": "TEXTURE_BINDING_2D", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MEDIUM_INT": { + "specs": "webgl", + "value": "0x8DF4", + "exposed": "Window", + "name": "MEDIUM_INT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SHADER_TYPE": { + "specs": "webgl", + "value": "0x8B4F", + "exposed": "Window", + "name": "SHADER_TYPE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "POLYGON_OFFSET_FILL": { + "specs": "webgl", + "value": "0x8037", + "exposed": "Window", + "name": "POLYGON_OFFSET_FILL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DYNAMIC_DRAW": { + "specs": "webgl", + "value": "0x88E8", + "exposed": "Window", + "name": "DYNAMIC_DRAW", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE4": { + "specs": "webgl", + "value": "0x84C4", + "exposed": "Window", + "name": "TEXTURE4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_PASS_DEPTH_FAIL": { + "specs": "webgl", + "value": "0x8802", + "exposed": "Window", + "name": "STENCIL_BACK_PASS_DEPTH_FAIL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STREAM_DRAW": { + "specs": "webgl", + "value": "0x88E0", + "exposed": "Window", + "name": "STREAM_DRAW", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_CUBE_MAP_TEXTURE_SIZE": { + "specs": "webgl", + "value": "0x851C", + "exposed": "Window", + "name": "MAX_CUBE_MAP_TEXTURE_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE17": { + "specs": "webgl", + "value": "0x84D1", + "exposed": "Window", + "name": "TEXTURE17", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TRIANGLE_FAN": { + "specs": "webgl", + "value": "0x0006", + "exposed": "Window", + "name": "TRIANGLE_FAN", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNPACK_ALIGNMENT": { + "specs": "webgl", + "value": "0x0CF5", + "exposed": "Window", + "name": "UNPACK_ALIGNMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CURRENT_PROGRAM": { + "specs": "webgl", + "value": "0x8B8D", + "exposed": "Window", + "name": "CURRENT_PROGRAM", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINES": { + "specs": "webgl", + "value": "0x0001", + "exposed": "Window", + "name": "LINES", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INVALID_OPERATION": { + "specs": "webgl", + "value": "0x0502", + "exposed": "Window", + "name": "INVALID_OPERATION", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT": { + "specs": "webgl", + "value": "0x8CD7", + "exposed": "Window", + "name": "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINEAR_MIPMAP_NEAREST": { + "specs": "webgl", + "value": "0x2701", + "exposed": "Window", + "name": "LINEAR_MIPMAP_NEAREST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CLAMP_TO_EDGE": { + "specs": "webgl", + "value": "0x812F", + "exposed": "Window", + "name": "CLAMP_TO_EDGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_DEPTH_SIZE": { + "specs": "webgl", + "value": "0x8D54", + "exposed": "Window", + "name": "RENDERBUFFER_DEPTH_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_WRAP_S": { + "specs": "webgl", + "value": "0x2802", + "exposed": "Window", + "name": "TEXTURE_WRAP_S", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ELEMENT_ARRAY_BUFFER": { + "specs": "webgl", + "value": "0x8893", + "exposed": "Window", + "name": "ELEMENT_ARRAY_BUFFER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_SHORT_5_6_5": { + "specs": "webgl", + "value": "0x8363", + "exposed": "Window", + "name": "UNSIGNED_SHORT_5_6_5", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ACTIVE_UNIFORMS": { + "specs": "webgl", + "value": "0x8B86", + "exposed": "Window", + "name": "ACTIVE_UNIFORMS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_VEC3": { + "specs": "webgl", + "value": "0x8B51", + "exposed": "Window", + "name": "FLOAT_VEC3", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NO_ERROR": { + "specs": "webgl", + "value": "0", + "exposed": "Window", + "name": "NO_ERROR", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ATTACHED_SHADERS": { + "specs": "webgl", + "value": "0x8B85", + "exposed": "Window", + "name": "ATTACHED_SHADERS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_ATTACHMENT": { + "specs": "webgl", + "value": "0x8D00", + "exposed": "Window", + "name": "DEPTH_ATTACHMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE11": { + "specs": "webgl", + "value": "0x84CB", + "exposed": "Window", + "name": "TEXTURE11", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_TEST": { + "specs": "webgl", + "value": "0x0B90", + "exposed": "Window", + "name": "STENCIL_TEST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ONE": { + "specs": "webgl", + "value": "1", + "exposed": "Window", + "name": "ONE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE": { + "specs": "webgl", + "value": "0x8CD3", + "exposed": "Window", + "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STATIC_DRAW": { + "specs": "webgl", + "value": "0x88E4", + "exposed": "Window", + "name": "STATIC_DRAW", + "type": "unsigned long", + "type-original": "GLenum" + }, + "GEQUAL": { + "specs": "webgl", + "value": "0x0206", + "exposed": "Window", + "name": "GEQUAL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BOOL_VEC4": { + "specs": "webgl", + "value": "0x8B59", + "exposed": "Window", + "name": "BOOL_VEC4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "COLOR_ATTACHMENT0": { + "specs": "webgl", + "value": "0x8CE0", + "exposed": "Window", + "name": "COLOR_ATTACHMENT0", + "type": "unsigned long", + "type-original": "GLenum" + }, + "PACK_ALIGNMENT": { + "specs": "webgl", + "value": "0x0D05", + "exposed": "Window", + "name": "PACK_ALIGNMENT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_TEXTURE_SIZE": { + "specs": "webgl", + "value": "0x0D33", + "exposed": "Window", + "name": "MAX_TEXTURE_SIZE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_PASS_DEPTH_FAIL": { + "specs": "webgl", + "value": "0x0B95", + "exposed": "Window", + "name": "STENCIL_PASS_DEPTH_FAIL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CULL_FACE_MODE": { + "specs": "webgl", + "value": "0x0B45", + "exposed": "Window", + "name": "CULL_FACE_MODE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE16": { + "specs": "webgl", + "value": "0x84D0", + "exposed": "Window", + "name": "TEXTURE16", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_BACK_WRITEMASK": { + "specs": "webgl", + "value": "0x8CA5", + "exposed": "Window", + "name": "STENCIL_BACK_WRITEMASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SRC_ALPHA": { + "specs": "webgl", + "value": "0x0302", + "exposed": "Window", + "name": "SRC_ALPHA", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_SHORT": { + "specs": "webgl", + "value": "0x1403", + "exposed": "Window", + "name": "UNSIGNED_SHORT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE21": { + "specs": "webgl", + "value": "0x84D5", + "exposed": "Window", + "name": "TEXTURE21", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FUNC_REVERSE_SUBTRACT": { + "specs": "webgl", + "value": "0x800B", + "exposed": "Window", + "name": "FUNC_REVERSE_SUBTRACT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SHADING_LANGUAGE_VERSION": { + "specs": "webgl", + "value": "0x8B8C", + "exposed": "Window", + "name": "SHADING_LANGUAGE_VERSION", + "type": "unsigned long", + "type-original": "GLenum" + }, + "EQUAL": { + "specs": "webgl", + "value": "0x0202", + "exposed": "Window", + "name": "EQUAL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL": { + "specs": "webgl", + "value": "0x8CD2", + "exposed": "Window", + "name": "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BOOL_VEC3": { + "specs": "webgl", + "value": "0x8B58", + "exposed": "Window", + "name": "BOOL_VEC3", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_TEXTURE_IMAGE_UNITS": { + "specs": "webgl", + "value": "0x8872", + "exposed": "Window", + "name": "MAX_TEXTURE_IMAGE_UNITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_NEGATIVE_X": { + "specs": "webgl", + "value": "0x8516", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_NEGATIVE_X", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLER_2D": { + "specs": "webgl", + "value": "0x8B5E", + "exposed": "Window", + "name": "SAMPLER_2D", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RENDERBUFFER_INTERNAL_FORMAT": { + "specs": "webgl", + "value": "0x8D44", + "exposed": "Window", + "name": "RENDERBUFFER_INTERNAL_FORMAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE_CUBE_MAP_POSITIVE_Y": { + "specs": "webgl", + "value": "0x8517", + "exposed": "Window", + "name": "TEXTURE_CUBE_MAP_POSITIVE_Y", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_VALUE_MASK": { + "specs": "webgl", + "value": "0x0B93", + "exposed": "Window", + "name": "STENCIL_VALUE_MASK", + "type": "unsigned long", + "type-original": "GLenum" + }, + "DEPTH_RANGE": { + "specs": "webgl", + "value": "0x0B70", + "exposed": "Window", + "name": "DEPTH_RANGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ARRAY_BUFFER": { + "specs": "webgl", + "value": "0x8892", + "exposed": "Window", + "name": "ARRAY_BUFFER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ELEMENT_ARRAY_BUFFER_BINDING": { + "specs": "webgl", + "value": "0x8895", + "exposed": "Window", + "name": "ELEMENT_ARRAY_BUFFER_BINDING", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NICEST": { + "specs": "webgl", + "value": "0x1102", + "exposed": "Window", + "name": "NICEST", + "type": "unsigned long", + "type-original": "GLenum" + }, + "ACTIVE_ATTRIBUTES": { + "specs": "webgl", + "value": "0x8B89", + "exposed": "Window", + "name": "ACTIVE_ATTRIBUTES", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NEVER": { + "specs": "webgl", + "value": "0x0200", + "exposed": "Window", + "name": "NEVER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "CURRENT_VERTEX_ATTRIB": { + "specs": "webgl", + "value": "0x8626", + "exposed": "Window", + "name": "CURRENT_VERTEX_ATTRIB", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FLOAT_VEC4": { + "specs": "webgl", + "value": "0x8B52", + "exposed": "Window", + "name": "FLOAT_VEC4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "STENCIL_PASS_DEPTH_PASS": { + "specs": "webgl", + "value": "0x0B96", + "exposed": "Window", + "name": "STENCIL_PASS_DEPTH_PASS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INVERT": { + "specs": "webgl", + "value": "0x150A", + "exposed": "Window", + "name": "INVERT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINK_STATUS": { + "specs": "webgl", + "value": "0x8B82", + "exposed": "Window", + "name": "LINK_STATUS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "RGB": { + "specs": "webgl", + "value": "0x1907", + "exposed": "Window", + "name": "RGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INT_VEC4": { + "specs": "webgl", + "value": "0x8B55", + "exposed": "Window", + "name": "INT_VEC4", + "type": "unsigned long", + "type-original": "GLenum" + }, + "TEXTURE2": { + "specs": "webgl", + "value": "0x84C2", + "exposed": "Window", + "name": "TEXTURE2", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNPACK_COLORSPACE_CONVERSION_WEBGL": { + "specs": "webgl", + "value": "0x9243", + "exposed": "Window", + "name": "UNPACK_COLORSPACE_CONVERSION_WEBGL", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MEDIUM_FLOAT": { + "specs": "webgl", + "value": "0x8DF1", + "exposed": "Window", + "name": "MEDIUM_FLOAT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SRC_ALPHA_SATURATE": { + "specs": "webgl", + "value": "0x0308", + "exposed": "Window", + "name": "SRC_ALPHA_SATURATE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "NONE": { + "specs": "webgl", + "value": "0", + "exposed": "Window", + "name": "NONE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SHORT": { + "specs": "webgl", + "value": "0x1402", + "exposed": "Window", + "name": "SHORT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BUFFER_USAGE": { + "specs": "webgl", + "value": "0x8765", + "exposed": "Window", + "name": "BUFFER_USAGE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "INT": { + "specs": "webgl", + "value": "0x1404", + "exposed": "Window", + "name": "INT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "UNSIGNED_BYTE": { + "specs": "webgl", + "value": "0x1401", + "exposed": "Window", + "name": "UNSIGNED_BYTE", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SUBPIXEL_BITS": { + "specs": "webgl", + "value": "0x0D50", + "exposed": "Window", + "name": "SUBPIXEL_BITS", + "type": "unsigned long", + "type-original": "GLenum" + }, + "SAMPLES": { + "specs": "webgl", + "value": "0x80A9", + "exposed": "Window", + "name": "SAMPLES", + "type": "unsigned long", + "type-original": "GLenum" + }, + "KEEP": { + "specs": "webgl", + "value": "0x1E00", + "exposed": "Window", + "name": "KEEP", + "type": "unsigned long", + "type-original": "GLenum" + }, + "FRAGMENT_SHADER": { + "specs": "webgl", + "value": "0x8B30", + "exposed": "Window", + "name": "FRAGMENT_SHADER", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LINE_WIDTH": { + "specs": "webgl", + "value": "0x0B21", + "exposed": "Window", + "name": "LINE_WIDTH", + "type": "unsigned long", + "type-original": "GLenum" + }, + "BLEND_SRC_RGB": { + "specs": "webgl", + "value": "0x80C9", + "exposed": "Window", + "name": "BLEND_SRC_RGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + "VERSION": { + "specs": "webgl", + "value": "0x1F02", + "exposed": "Window", + "name": "VERSION", + "type": "unsigned long", + "type-original": "GLenum" + }, + "LOW_FLOAT": { + "specs": "webgl", + "value": "0x8DF0", + "exposed": "Window", + "name": "LOW_FLOAT", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "methods": { + "method": { + "getUniformLocation": { + "signature": [ + { + "nullable": 1, + "param-min-required": 2, + "type": "WebGLUniformLocation", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "WebGLUniformLocation?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getUniformLocation" + }, + "bindTexture": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "texture", + "type": "WebGLTexture", + "type-original": "WebGLTexture?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bindTexture" + }, + "depthMask": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "flag", + "type": "boolean", + "type-original": "GLboolean" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "depthMask" + }, + "bufferData": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "size", + "type": [ + { + "type": "long long" + }, + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "(GLsizeiptr or ArrayBufferView or ArrayBuffer?)" + }, + { + "name": "usage", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bufferData" + }, + "getUniform": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getUniform" + }, + "vertexAttrib3fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "subtype": { + "type": "float" + }, + "name": "values", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib3fv" + }, + "linkProgram": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "linkProgram" + }, + "getSupportedExtensions": { + "signature": [ + { + "subtype": { + "type": "DOMString" + }, + "nullable": 1, + "type": "sequence", + "type-original": "sequence?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getSupportedExtensions" + }, + "bufferSubData": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + }, + { + "name": "data", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "(ArrayBufferView or ArrayBuffer?)" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bufferSubData" + }, + "vertexAttribPointer": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "size", + "type": "long", + "type-original": "GLint" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "normalized", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "stride", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttribPointer" + }, + "polygonOffset": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "factor", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "units", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "polygonOffset" + }, + "blendColor": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "red", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "green", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "blue", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "alpha", + "type": "float", + "type-original": "GLclampf" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "blendColor" + }, + "createTexture": { + "signature": [ + { + "nullable": 1, + "type": "WebGLTexture", + "type-original": "WebGLTexture?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createTexture" + }, + "hint": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "hint" + }, + "getVertexAttrib": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getVertexAttrib" + }, + "enableVertexAttribArray": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "enableVertexAttribArray" + }, + "depthRange": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "zNear", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "zFar", + "type": "float", + "type-original": "GLclampf" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "depthRange" + }, + "cullFace": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "cullFace" + }, + "createFramebuffer": { + "signature": [ + { + "nullable": 1, + "type": "WebGLFramebuffer", + "type-original": "WebGLFramebuffer?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createFramebuffer" + }, + "uniformMatrix4fv": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "subtype": { + "type": "float" + }, + "name": "value", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniformMatrix4fv" + }, + "framebufferTexture2D": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "textarget", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "texture", + "type": "WebGLTexture", + "type-original": "WebGLTexture?" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "framebufferTexture2D" + }, + "deleteFramebuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "framebuffer", + "type": "WebGLFramebuffer", + "type-original": "WebGLFramebuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteFramebuffer" + }, + "colorMask": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "red", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "green", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "blue", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "alpha", + "type": "boolean", + "type-original": "GLboolean" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "colorMask" + }, + "compressedTexImage2D": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "border", + "type": "long", + "type-original": "GLint" + }, + { + "name": "data", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "compressedTexImage2D" + }, + "uniformMatrix2fv": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "subtype": { + "type": "float" + }, + "name": "value", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniformMatrix2fv" + }, + "getExtension": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "object", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "object?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getExtension" + }, + "createProgram": { + "signature": [ + { + "nullable": 1, + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createProgram" + }, + "deleteShader": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteShader" + }, + "getAttachedShaders": { + "signature": [ + { + "subtype": { + "type": "WebGLShader" + }, + "nullable": 1, + "param-min-required": 1, + "type": "sequence", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "sequence?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getAttachedShaders" + }, + "enable": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "enable" + }, + "blendEquation": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "blendEquation" + }, + "texImage2D": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "pixels", + "type": "ImageData", + "type-original": "ImageData?" + } + ], + "type-original": "void" + }, + { + "param-min-required": 9, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "border", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView?" + } + ], + "type-original": "void" + }, + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "image", + "type": "HTMLImageElement", + "type-original": "HTMLImageElement" + } + ], + "type-original": "void" + }, + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "canvas", + "type": "HTMLCanvasElement", + "type-original": "HTMLCanvasElement" + } + ], + "type-original": "void" + }, + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "video", + "type": "HTMLVideoElement", + "type-original": "HTMLVideoElement" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "texImage2D" + }, + "createBuffer": { + "signature": [ + { + "nullable": 1, + "type": "WebGLBuffer", + "type-original": "WebGLBuffer?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createBuffer" + }, + "deleteTexture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "texture", + "type": "WebGLTexture", + "type-original": "WebGLTexture?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteTexture" + }, + "useProgram": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "useProgram" + }, + "vertexAttrib2fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "subtype": { + "type": "float" + }, + "name": "values", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib2fv" + }, + "checkFramebufferStatus": { + "signature": [ + { + "param-min-required": 1, + "type": "unsigned long", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "GLenum" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "checkFramebufferStatus" + }, + "frontFace": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "frontFace" + }, + "getBufferParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getBufferParameter" + }, + "texSubImage2D": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "pixels", + "type": "ImageData", + "type-original": "ImageData?" + } + ], + "type-original": "void" + }, + { + "param-min-required": 9, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView?" + } + ], + "type-original": "void" + }, + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "image", + "type": "HTMLImageElement", + "type-original": "HTMLImageElement" + } + ], + "type-original": "void" + }, + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "canvas", + "type": "HTMLCanvasElement", + "type-original": "HTMLCanvasElement" + } + ], + "type-original": "void" + }, + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "video", + "type": "HTMLVideoElement", + "type-original": "HTMLVideoElement" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "texSubImage2D" + }, + "copyTexImage2D": { + "signature": [ + { + "param-min-required": 8, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "border", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "copyTexImage2D" + }, + "getVertexAttribOffset": { + "signature": [ + { + "param-min-required": 2, + "type": "long long", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "GLsizeiptr" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getVertexAttribOffset" + }, + "disableVertexAttribArray": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "disableVertexAttribArray" + }, + "blendFunc": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "sfactor", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dfactor", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "blendFunc" + }, + "drawElements": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "offset", + "type": "long long", + "type-original": "GLintptr" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "drawElements" + }, + "isFramebuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "framebuffer", + "type": "WebGLFramebuffer", + "type-original": "WebGLFramebuffer?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isFramebuffer" + }, + "uniform3iv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Int32Array", + "type-original": "Int32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "long" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform3iv" + }, + "lineWidth": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "width", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "lineWidth" + }, + "getShaderInfoLog": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getShaderInfoLog" + }, + "getTexParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getTexParameter" + }, + "getParameter": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getParameter" + }, + "getShaderPrecisionFormat": { + "signature": [ + { + "nullable": 1, + "param-min-required": 2, + "type": "WebGLShaderPrecisionFormat", + "param": [ + { + "name": "shadertype", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "precisiontype", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "WebGLShaderPrecisionFormat?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getShaderPrecisionFormat" + }, + "getContextAttributes": { + "signature": [ + { + "type": "WebGLContextAttributes", + "type-original": "WebGLContextAttributes" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getContextAttributes" + }, + "vertexAttrib1f": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib1f" + }, + "bindFramebuffer": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "framebuffer", + "type": "WebGLFramebuffer", + "type-original": "WebGLFramebuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bindFramebuffer" + }, + "compressedTexSubImage2D": { + "signature": [ + { + "param-min-required": 8, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "data", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "compressedTexSubImage2D" + }, + "isContextLost": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isContextLost" + }, + "uniform1iv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Int32Array", + "type-original": "Int32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "long" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform1iv" + }, + "getRenderbufferParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getRenderbufferParameter" + }, + "uniform2fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "float" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform2fv" + }, + "isTexture": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "texture", + "type": "WebGLTexture", + "type-original": "WebGLTexture?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isTexture" + }, + "getError": { + "signature": [ + { + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getError" + }, + "shaderSource": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + }, + { + "name": "source", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "shaderSource" + }, + "deleteRenderbuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "renderbuffer", + "type": "WebGLRenderbuffer", + "type-original": "WebGLRenderbuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteRenderbuffer" + }, + "stencilMask": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilMask" + }, + "bindBuffer": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "buffer", + "type": "WebGLBuffer", + "type-original": "WebGLBuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bindBuffer" + }, + "getAttribLocation": { + "signature": [ + { + "param-min-required": 2, + "type": "long", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "GLint" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getAttribLocation" + }, + "uniform3i": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "z", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform3i" + }, + "blendEquationSeparate": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "modeRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "modeAlpha", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "blendEquationSeparate" + }, + "clear": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLbitfield" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "clear" + }, + "blendFuncSeparate": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "srcRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dstRGB", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "srcAlpha", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "dstAlpha", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "blendFuncSeparate" + }, + "stencilFuncSeparate": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "ref", + "type": "long", + "type-original": "GLint" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilFuncSeparate" + }, + "readPixels": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "format", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pixels", + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ], + "type-original": "ArrayBufferView?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "readPixels" + }, + "scissor": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "scissor" + }, + "uniform2i": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform2i" + }, + "getActiveAttrib": { + "signature": [ + { + "nullable": 1, + "param-min-required": 2, + "type": "WebGLActiveInfo", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "WebGLActiveInfo?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getActiveAttrib" + }, + "getShaderSource": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getShaderSource" + }, + "generateMipmap": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "generateMipmap" + }, + "bindAttribLocation": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bindAttribLocation" + }, + "uniform1fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "float" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform1fv" + }, + "uniform2iv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Int32Array", + "type-original": "Int32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "long" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform2iv" + }, + "stencilOp": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "fail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zfail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zpass", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilOp" + }, + "uniform4fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "float" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform4fv" + }, + "vertexAttrib1fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "subtype": { + "type": "float" + }, + "name": "values", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib1fv" + }, + "flush": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "flush" + }, + "uniform4f": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "w", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform4f" + }, + "deleteProgram": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteProgram" + }, + "isRenderbuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "renderbuffer", + "type": "WebGLRenderbuffer", + "type-original": "WebGLRenderbuffer?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isRenderbuffer" + }, + "uniform1i": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform1i" + }, + "getProgramParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getProgramParameter" + }, + "getActiveUniform": { + "signature": [ + { + "nullable": 1, + "param-min-required": 2, + "type": "WebGLActiveInfo", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "WebGLActiveInfo?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getActiveUniform" + }, + "stencilFunc": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "ref", + "type": "long", + "type-original": "GLint" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilFunc" + }, + "pixelStorei": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "pixelStorei" + }, + "disable": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "disable" + }, + "vertexAttrib4fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "values", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "subtype": { + "type": "float" + }, + "name": "values", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib4fv" + }, + "createRenderbuffer": { + "signature": [ + { + "nullable": 1, + "type": "WebGLRenderbuffer", + "type-original": "WebGLRenderbuffer?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createRenderbuffer" + }, + "isBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "buffer", + "type": "WebGLBuffer", + "type-original": "WebGLBuffer?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isBuffer" + }, + "stencilOpSeparate": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "fail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zfail", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "zpass", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilOpSeparate" + }, + "getFramebufferAttachmentParameter": { + "signature": [ + { + "param-min-required": 3, + "type": "any", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getFramebufferAttachmentParameter" + }, + "uniform4i": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "z", + "type": "long", + "type-original": "GLint" + }, + { + "name": "w", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform4i" + }, + "sampleCoverage": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "value", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "invert", + "type": "boolean", + "type-original": "GLboolean" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "sampleCoverage" + }, + "depthFunc": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "func", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "depthFunc" + }, + "texParameterf": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "texParameterf" + }, + "vertexAttrib3f": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib3f" + }, + "drawArrays": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "mode", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "first", + "type": "long", + "type-original": "GLint" + }, + { + "name": "count", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "drawArrays" + }, + "texParameteri": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "param", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "texParameteri" + }, + "vertexAttrib4f": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "w", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib4f" + }, + "getShaderParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + }, + { + "name": "pname", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "any" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getShaderParameter" + }, + "clearDepth": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "depth", + "type": "float", + "type-original": "GLclampf" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "clearDepth" + }, + "activeTexture": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "texture", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "activeTexture" + }, + "viewport": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "viewport" + }, + "detachShader": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "detachShader" + }, + "uniform1f": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform1f" + }, + "uniformMatrix3fv": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "name": "value", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "transpose", + "type": "boolean", + "type-original": "GLboolean" + }, + { + "subtype": { + "type": "float" + }, + "name": "value", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniformMatrix3fv" + }, + "deleteBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "buffer", + "type": "WebGLBuffer", + "type-original": "WebGLBuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "deleteBuffer" + }, + "copyTexSubImage2D": { + "signature": [ + { + "param-min-required": 8, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "level", + "type": "long", + "type-original": "GLint" + }, + { + "name": "xoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "yoffset", + "type": "long", + "type-original": "GLint" + }, + { + "name": "x", + "type": "long", + "type-original": "GLint" + }, + { + "name": "y", + "type": "long", + "type-original": "GLint" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "copyTexSubImage2D" + }, + "uniform3fv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Float32Array", + "type-original": "Float32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "float" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform3fv" + }, + "stencilMaskSeparate": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "face", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "mask", + "type": "unsigned long", + "type-original": "GLuint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "stencilMaskSeparate" + }, + "attachShader": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + }, + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "attachShader" + }, + "compileShader": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "compileShader" + }, + "clearColor": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "red", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "green", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "blue", + "type": "float", + "type-original": "GLclampf" + }, + { + "name": "alpha", + "type": "float", + "type-original": "GLclampf" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "clearColor" + }, + "isShader": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "shader", + "type": "WebGLShader", + "type-original": "WebGLShader?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isShader" + }, + "clearStencil": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "s", + "type": "long", + "type-original": "GLint" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "clearStencil" + }, + "framebufferRenderbuffer": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "attachment", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "renderbuffertarget", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "renderbuffer", + "type": "WebGLRenderbuffer", + "type-original": "WebGLRenderbuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "framebufferRenderbuffer" + }, + "finish": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "finish" + }, + "uniform2f": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform2f" + }, + "renderbufferStorage": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "internalformat", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "name": "width", + "type": "long", + "type-original": "GLsizei" + }, + { + "name": "height", + "type": "long", + "type-original": "GLsizei" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "renderbufferStorage" + }, + "uniform3f": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "z", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform3f" + }, + "getProgramInfoLog": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "getProgramInfoLog" + }, + "validateProgram": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "validateProgram" + }, + "vertexAttrib2f": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "indx", + "type": "unsigned long", + "type-original": "GLuint" + }, + { + "name": "x", + "type": "float", + "type-original": "GLfloat" + }, + { + "name": "y", + "type": "float", + "type-original": "GLfloat" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "vertexAttrib2f" + }, + "isEnabled": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "cap", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isEnabled" + }, + "createShader": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "WebGLShader", + "param": [ + { + "name": "type", + "type": "unsigned long", + "type-original": "GLenum" + } + ], + "type-original": "WebGLShader?" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "createShader" + }, + "isProgram": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "nullable": 1, + "name": "program", + "type": "WebGLProgram", + "type-original": "WebGLProgram?" + } + ], + "type-original": "GLboolean" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "isProgram" + }, + "bindRenderbuffer": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "target", + "type": "unsigned long", + "type-original": "GLenum" + }, + { + "nullable": 1, + "name": "renderbuffer", + "type": "WebGLRenderbuffer", + "type-original": "WebGLRenderbuffer?" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "bindRenderbuffer" + }, + "uniform4iv": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "name": "v", + "type": "Int32Array", + "type-original": "Int32Array" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "location", + "type": "WebGLUniformLocation", + "type-original": "WebGLUniformLocation?" + }, + { + "subtype": { + "type": "long" + }, + "name": "v", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "webgl", + "exposed": "Window", + "name": "uniform4iv" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "Performance": { + "constants": { + "constant": {} + }, + "specs": "hr-time", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "getEntriesByType": { + "specs": "performance-timeline", + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "name": "getEntriesByType", + "exposed": "Window Worker" + }, + "toJSON": { + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "hr-time", + "exposed": "Window Worker", + "name": "toJSON" + }, + "getMeasures": { + "deprecated": 1, + "specs": "user-timing-20120508", + "signature": [ + { + "param-min-required": 0, + "type": "any", + "param": [ + { + "name": "measureName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "name": "getMeasures", + "exposed": "Window Worker" + }, + "clearMarks": { + "specs": "user-timing", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "markName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "clearMarks", + "exposed": "Window Worker" + }, + "getMarks": { + "deprecated": 1, + "specs": "user-timing-20120508", + "signature": [ + { + "param-min-required": 0, + "type": "any", + "param": [ + { + "name": "markName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "name": "getMarks", + "exposed": "Window Worker" + }, + "clearResourceTimings": { + "specs": "resource-timing", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "clearResourceTimings", + "exposed": "Window Worker" + }, + "mark": { + "specs": "user-timing", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "markName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "mark", + "exposed": "Window Worker" + }, + "now": { + "signature": [ + { + "type": "double", + "type-original": "DOMHighResTimeStamp" + } + ], + "specs": "hr-time", + "exposed": "Window Worker", + "name": "now", + "affects": "Nothing", + "depends-on": "DeviceState" + }, + "measure": { + "specs": "user-timing", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "measureName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "startMarkName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "endMarkName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "measure", + "exposed": "Window Worker" + }, + "getEntriesByName": { + "specs": "performance-timeline", + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "type", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "name": "getEntriesByName", + "exposed": "Window Worker" + }, + "getEntries": { + "specs": "performance-timeline", + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "name": "getEntries", + "exposed": "Window Worker" + }, + "clearMeasures": { + "specs": "user-timing", + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "measureName", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "clearMeasures", + "exposed": "Window Worker" + }, + "setResourceTimingBufferSize": { + "specs": "resource-timing", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "maxSize", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "name": "setResourceTimingBufferSize", + "exposed": "Window Worker" + } + } + }, + "exposed": "Window Worker", + "name": "Performance", + "extends": "Object", + "properties": { + "property": { + "navigation": { + "specs": "navigation-timing", + "same-object": 1, + "name": "navigation", + "constant": 1, + "type-original": "PerformanceNavigation", + "deprecated": 1, + "interop": 1, + "exposed": "Window Worker", + "type": "PerformanceNavigation", + "read-only": 1 + }, + "timeOrigin": { + "specs": "hr-time", + "exposed": "Window Worker", + "name": "timeOrigin", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "timing": { + "specs": "navigation-timing", + "same-object": 1, + "name": "timing", + "constant": 1, + "type-original": "PerformanceTiming", + "deprecated": 1, + "interop": 1, + "exposed": "Window Worker", + "type": "PerformanceTiming", + "read-only": 1 + } + } + } + }, + "HTMLAllCollection": { + "specs": "html5", + "anonymous-methods": { + "method": [ + { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Element?" + } + ], + "specs": "html5", + "name": "", + "tags": "TreeNavigation" + } + ] + }, + "name": "HTMLAllCollection", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "tags": "TreeNavigation", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "specs": "html5", + "name": "item", + "legacy-caller": 1, + "tags": "TreeNavigation", + "signature": [ + { + "param-min-required": 0, + "type": [ + { + "nullable": 1, + "type": "HTMLCollection" + }, + { + "nullable": 1, + "type": "Element" + } + ], + "param": [ + { + "name": "nameOrIndex", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "(HTMLCollection or Element)?" + } + ], + "exposed": "Window" + }, + "namedItem": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": [ + { + "nullable": 1, + "type": "HTMLCollection" + }, + { + "nullable": 1, + "type": "Element" + } + ], + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "(HTMLCollection or Element)?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem", + "tags": "TreeNavigation" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "CompositionEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "CompositionEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "CompositionEventInit", + "optional": 1, + "type-original": "CompositionEventInit" + } + ], + "type-original": "CompositionEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "CompositionEvent", + "properties": { + "property": { + "locale": { + "specs": "uievents", + "name": "locale", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "data": { + "specs": "uievents", + "name": "data", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initCompositionEvent": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "dataArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "locale", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initCompositionEvent" + } + } + }, + "exposed": "Window", + "extends": "UIEvent" + }, + "HTMLPictureElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLPictureElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "picture" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGMarkerElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGMarkerElement", + "properties": { + "property": { + "orientType": { + "content-attribute-enum-values": "auto", + "specs": "svg2", + "name": "orientType", + "constant": 1, + "content-attribute": "orient", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "markerUnits": { + "content-attribute-enum-values": "strokeWidth userSpaceOnUse", + "specs": "svg2", + "name": "markerUnits", + "constant": 1, + "content-attribute": "markerUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "orientAngle": { + "content-attribute-enum-values": "auto", + "specs": "svg2", + "name": "orientAngle", + "constant": 1, + "content-attribute": "orient", + "type-original": "SVGAnimatedAngle", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedAngle", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "markerHeight": { + "specs": "svg2", + "name": "markerHeight", + "constant": 1, + "content-attribute": "markerHeight", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "markerWidth": { + "specs": "svg2", + "name": "markerWidth", + "constant": 1, + "content-attribute": "markerWidth", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "refY": { + "specs": "svg2", + "name": "refY", + "constant": 1, + "content-attribute": "refY", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "refX": { + "specs": "svg2", + "name": "refX", + "constant": 1, + "content-attribute": "refX", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "marker" + } + ], + "constants": { + "constant": { + "SVG_MARKER_ORIENT_ANGLE": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_MARKER_ORIENT_ANGLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MARKER_ORIENT_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_MARKER_ORIENT_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MARKERUNITS_STROKEWIDTH": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_MARKERUNITS_STROKEWIDTH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MARKERUNITS_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_MARKERUNITS_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MARKER_ORIENT_AUTO": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_MARKER_ORIENT_AUTO", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MARKERUNITS_USERSPACEONUSE": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_MARKERUNITS_USERSPACEONUSE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "setOrientToAngle": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "angle", + "type": "SVGAngle", + "type-original": "SVGAngle" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setOrientToAngle" + }, + "setOrientToAuto": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "setOrientToAuto" + } + } + }, + "extends": "SVGElement", + "implements": [ + "SVGFitToViewBox" + ] + }, + "TextDecoder": { + "specs": "encoding", + "constructor": { + "specs": "encoding", + "signature": [ + { + "param-min-required": 0, + "type": "TextDecoder", + "param": [ + { + "name": "label", + "default": "\"utf-8\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "options", + "type": "TextDecoderOptions", + "optional": 1, + "type-original": "TextDecoderOptions" + } + ], + "type-original": "TextDecoder" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "TextDecoder", + "properties": { + "property": { + "ignoreBOM": { + "specs": "encoding", + "exposed": "Window Worker", + "name": "ignoreBOM", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "fatal": { + "specs": "encoding", + "exposed": "Window Worker", + "name": "fatal", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "encoding": { + "specs": "encoding", + "exposed": "Window Worker", + "name": "encoding", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": { + "decode": { + "signature": [ + { + "param-min-required": 0, + "type": "USVString", + "param": [ + { + "name": "input", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "optional": 1, + "type-original": "BufferSource" + }, + { + "name": "options", + "type": "TextDecodeOptions", + "optional": 1, + "type-original": "TextDecodeOptions" + } + ], + "type-original": "USVString" + } + ], + "specs": "encoding", + "exposed": "Window Worker", + "name": "decode" + } + } + }, + "extends": "Object" + }, + "HTMLMeterElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMeterElement", + "properties": { + "property": { + "high": { + "specs": "html5", + "ce-reactions": 1, + "name": "high", + "content-attribute": "high", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + }, + "optimum": { + "specs": "html5", + "ce-reactions": 1, + "name": "optimum", + "content-attribute": "optimum", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + }, + "min": { + "specs": "html5", + "ce-reactions": 1, + "name": "min", + "content-attribute": "min", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + }, + "value": { + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + }, + "low": { + "specs": "html5", + "ce-reactions": 1, + "name": "low", + "content-attribute": "low", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + }, + "max": { + "specs": "html5", + "ce-reactions": 1, + "name": "max", + "content-attribute": "max", + "type-original": "double", + "content-attribute-value-syntax": "floating_point_number", + "exposed": "Window", + "type": "double", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "meter" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGFEMergeElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEMergeElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feMerge" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGPathSegCurvetoCubicSmoothAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoCubicSmoothAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x2": { + "specs": "svg11", + "exposed": "Window", + "name": "x2", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "y2": { + "specs": "svg11", + "exposed": "Window", + "name": "y2", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "TransitionEvent": { + "specs": "css-transition", + "constructor": { + "specs": "css-transition", + "signature": [ + { + "param-min-required": 1, + "type": "TransitionEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "TransitionEventInit", + "optional": 1, + "type-original": "TransitionEventInit" + } + ], + "type-original": "TransitionEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "TransitionEvent", + "properties": { + "property": { + "propertyName": { + "specs": "css-transition", + "name": "propertyName", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "elapsedTime": { + "specs": "css-transition", + "name": "elapsedTime", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initTransitionEvent": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "propertyNameArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "elapsedTimeArg", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "css-transition", + "exposed": "Window", + "name": "initTransitionEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "IDBObjectStore": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBObjectStore", + "properties": { + "property": { + "indexNames": { + "specs": "indexeddb", + "exposed": "Window", + "name": "indexNames", + "type": "DOMStringList", + "type-original": "DOMStringList", + "read-only": 1 + }, + "transaction": { + "specs": "indexeddb", + "exposed": "Window", + "name": "transaction", + "type": "IDBTransaction", + "type-original": "IDBTransaction", + "read-only": 1 + }, + "name": { + "specs": "indexeddb", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "keyPath": { + "specs": "indexeddb", + "name": "keyPath", + "type-original": "IDBKeyPath?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "count": { + "signature": [ + { + "param-min-required": 0, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "count" + }, + "add": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any", + "type-original": "any" + }, + { + "name": "key", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "add" + }, + "createIndex": { + "signature": [ + { + "param-min-required": 2, + "type": "IDBIndex", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "keyPath", + "type": "DOMString", + "type-original": "IDBKeyPath" + }, + { + "name": "optionalParameters", + "default": "0", + "type": "IDBIndexParameters", + "optional": 1, + "type-original": "IDBIndexParameters" + } + ], + "type-original": "IDBIndex" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "createIndex" + }, + "clear": { + "signature": [ + { + "type": "IDBRequest", + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "clear" + }, + "put": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any", + "type-original": "any" + }, + { + "name": "key", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "put" + }, + "deleteIndex": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "indexName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "deleteIndex" + }, + "openCursor": { + "signature": [ + { + "param-min-required": 0, + "type": "IDBRequest", + "param": [ + { + "name": "range", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "name": "direction", + "default": "\"next\"", + "type": "IDBCursorDirection", + "optional": 1, + "type-original": "IDBCursorDirection" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "openCursor" + }, + "index": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBIndex", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "IDBIndex" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "index" + }, + "delete": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "delete" + }, + "get": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "key", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "get" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "DOMStringMap": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [ + { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "html5", + "name": "" + }, + { + "specs": "html5", + "creator": 1, + "ce-reactions": 1, + "name": "", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "setter": 1 + }, + { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "deleter": 1, + "name": "" + } + ] + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "name": "DOMStringMap", + "extends": "Object", + "properties": { + "property": {} + } + }, + "GamepadEvent": { + "specs": "gamepad", + "constructor": { + "specs": "gamepad", + "signature": [ + { + "param-min-required": 1, + "type": "GamepadEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "GamepadEventInit", + "optional": 1, + "type-original": "GamepadEventInit" + } + ], + "type-original": "GamepadEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "GamepadEvent", + "properties": { + "property": { + "gamepad": { + "specs": "gamepad", + "exposed": "Window", + "name": "gamepad", + "type": "Gamepad", + "type-original": "Gamepad", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "OES_element_index_uint": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "OES_element_index_uint", + "extends": "Object", + "properties": { + "property": {} + } + }, + "MSFIDOCredentialAssertion": { + "specs": "webauthn", + "anonymous-methods": { + "method": [] + }, + "name": "MSFIDOCredentialAssertion", + "properties": { + "property": { + "algorithm": { + "specs": "webauthn", + "exposed": "Window", + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier", + "read-only": 1 + }, + "transportHints": { + "specs": "webauthn", + "name": "transportHints", + "type-original": "sequence", + "subtype": { + "type": "MSTransportType" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "attestation": { + "specs": "webauthn", + "exposed": "Window", + "name": "attestation", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "publicKey": { + "specs": "webauthn", + "exposed": "Window", + "name": "publicKey", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "MSAssertion" + }, + "VREyeParameters": { + "constants": { + "constant": {} + }, + "specs": "WebVR", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "VREyeParameters", + "extends": "Object", + "properties": { + "property": { + "renderWidth": { + "specs": "WebVR", + "name": "renderWidth", + "constant": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "renderHeight": { + "specs": "WebVR", + "name": "renderHeight", + "constant": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "fieldOfView": { + "specs": "WebVR", + "name": "fieldOfView", + "constant": 1, + "type-original": "VRFieldOfView", + "deprecated": 1, + "exposed": "Window", + "type": "VRFieldOfView", + "read-only": 1 + }, + "offset": { + "specs": "WebVR", + "name": "offset", + "constant": 1, + "type-original": "Float32Array", + "exposed": "Window", + "type": "Float32Array", + "read-only": 1 + } + } + } + }, + "AudioNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "disconnect": { + "signature": [ + { + "type": "void", + "type-original": "void" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "output", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioNode", + "type-original": "AudioNode" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioNode", + "type-original": "AudioNode" + }, + { + "name": "output", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + }, + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioNode", + "type-original": "AudioNode" + }, + { + "name": "output", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "input", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioParam", + "type-original": "AudioParam" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioParam", + "type-original": "AudioParam" + }, + { + "name": "output", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "disconnect" + }, + "connect": { + "signature": [ + { + "param-min-required": 1, + "type": "AudioNode", + "param": [ + { + "name": "destination", + "type": "AudioNode", + "type-original": "AudioNode" + }, + { + "name": "output", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "input", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "AudioNode" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "destination", + "type": "AudioParam", + "type-original": "AudioParam" + }, + { + "name": "output", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "connect" + } + } + }, + "name": "AudioNode", + "extends": "EventTarget", + "properties": { + "property": { + "channelCount": { + "specs": "webaudio", + "exposed": "Window", + "name": "channelCount", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "channelInterpretation": { + "specs": "webaudio", + "exposed": "Window", + "name": "channelInterpretation", + "type": "ChannelInterpretation", + "type-original": "ChannelInterpretation" + }, + "numberOfOutputs": { + "specs": "webaudio", + "exposed": "Window", + "name": "numberOfOutputs", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "context": { + "specs": "webaudio", + "exposed": "Window", + "name": "context", + "type": "AudioContext", + "type-original": "AudioContext", + "read-only": 1 + }, + "numberOfInputs": { + "specs": "webaudio", + "exposed": "Window", + "name": "numberOfInputs", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "channelCountMode": { + "specs": "webaudio", + "exposed": "Window", + "name": "channelCountMode", + "type": "ChannelCountMode", + "type-original": "ChannelCountMode" + } + } + } + }, + "IDBVersionChangeEvent": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBVersionChangeEvent", + "properties": { + "property": { + "newVersion": { + "specs": "indexeddb", + "name": "newVersion", + "type-original": "unsigned long long?", + "nullable": 1, + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "oldVersion": { + "specs": "indexeddb", + "exposed": "Window", + "name": "oldVersion", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "PermissionRequest": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "PermissionRequest", + "properties": { + "property": { + "state": { + "specs": "none", + "exposed": "Window", + "name": "state", + "type": "MSWebViewPermissionState", + "type-original": "MSWebViewPermissionState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "defer": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "defer" + } + } + }, + "exposed": "Window", + "extends": "DeferredPermissionRequest" + }, + "MSInputMethodContext": { + "specs": "ime-api", + "anonymous-methods": { + "method": [] + }, + "name": "MSInputMethodContext", + "properties": { + "property": { + "oncandidatewindowshow": { + "specs": "ime-api", + "name": "oncandidatewindowshow", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSCandidateWindowShow" + }, + "compositionStartOffset": { + "specs": "ime-api", + "exposed": "Window", + "name": "compositionStartOffset", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "target": { + "specs": "ime-api", + "exposed": "Window", + "name": "target", + "type": "HTMLElement", + "type-original": "HTMLElement", + "read-only": 1 + }, + "oncandidatewindowhide": { + "specs": "ime-api", + "name": "oncandidatewindowhide", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSCandidateWindowHide" + }, + "oncandidatewindowupdate": { + "specs": "ime-api", + "name": "oncandidatewindowupdate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSCandidateWindowUpdate" + }, + "compositionEndOffset": { + "specs": "ime-api", + "exposed": "Window", + "name": "compositionEndOffset", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [] + }, + "methods": { + "method": { + "getCandidateWindowClientRect": { + "signature": [ + { + "type": "ClientRect", + "type-original": "ClientRect" + } + ], + "specs": "ime-api", + "exposed": "Window", + "name": "getCandidateWindowClientRect" + }, + "getCompositionAlternatives": { + "signature": [ + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ime-api", + "exposed": "Window", + "name": "getCompositionAlternatives" + }, + "isCandidateWindowVisible": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "ime-api", + "exposed": "Window", + "name": "isCandidateWindowVisible" + }, + "hasComposition": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "ime-api", + "exposed": "Window", + "name": "hasComposition" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGPathSegMovetoRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegMovetoRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "PluginArray": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "refresh": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "reload", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "refresh" + }, + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Plugin", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Plugin" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item" + }, + "namedItem": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "Plugin", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Plugin" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem" + } + } + }, + "name": "PluginArray", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "html5", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "SVGFESpecularLightingElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + }, + { + "enum-values": "currentColor inherit initial", + "value-syntax": "css_color", + "name": "lighting-color" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFESpecularLightingElement", + "properties": { + "property": { + "kernelUnitLengthY": { + "specs": "filter-effects", + "name": "kernelUnitLengthY", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "surfaceScale": { + "specs": "filter-effects", + "name": "surfaceScale", + "constant": 1, + "content-attribute": "surfaceScale", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "specularExponent": { + "specs": "filter-effects", + "name": "specularExponent", + "constant": 1, + "content-attribute": "specularExponent", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "kernelUnitLengthX": { + "specs": "filter-effects", + "name": "kernelUnitLengthX", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "specularConstant": { + "specs": "filter-effects", + "name": "specularConstant", + "constant": 1, + "content-attribute": "specularConstant", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feSpecularLighting" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGDescElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGDescElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "desc" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement" + }, + "BhxBrowser": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "BhxBrowser", + "properties": { + "property": { + "lastError": { + "specs": "none", + "exposed": "Window", + "name": "lastError", + "type": "DOMException", + "type-original": "DOMException", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "fireExtensionApiTelemetry": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "functionName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "isSucceeded", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "isSupported", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "errorString", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "fireExtensionApiTelemetry" + }, + "genericSynchronousFunction": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "functionId", + "type": "long", + "type-original": "long" + }, + { + "name": "parameters", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "none", + "exposed": "Window", + "name": "genericSynchronousFunction" + }, + "webPlatformGenericFunction": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "destination", + "type": "object", + "type-original": "object" + }, + { + "name": "parameters", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "callbackId", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "webPlatformGenericFunction" + }, + "setLastError": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "parameters", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "setLastError" + }, + "clearLastError": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "clearLastError" + }, + "checkMatchesUriExpression": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "pattern", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "none", + "exposed": "Window", + "name": "checkMatchesUriExpression" + }, + "getExtensionId": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getExtensionId" + }, + "registerGenericListenerHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "eventHandler", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "registerGenericListenerHandler" + }, + "getThisAddress": { + "signature": [ + { + "type": "object", + "type-original": "object" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getThisAddress" + }, + "checkMatchesGlobExpression": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "pattern", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "none", + "exposed": "Window", + "name": "checkMatchesGlobExpression" + }, + "registerGenericFunctionCallbackHandler": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "callbackHandler", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "registerGenericFunctionCallbackHandler" + }, + "genericFunction": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "functionId", + "type": "long", + "type-original": "long" + }, + { + "name": "destination", + "type": "object", + "type-original": "object" + }, + { + "name": "parameters", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + }, + { + "name": "callbackId", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "genericFunction" + }, + "currentWindowId": { + "signature": [ + { + "type": "long", + "type-original": "long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "currentWindowId" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "MediaElementAudioSourceNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MediaElementAudioSourceNode", + "extends": "AudioNode", + "properties": { + "property": {} + } + }, + "SVGClipPathElement": { + "specs": "css-masking", + "anonymous-methods": { + "method": [] + }, + "name": "SVGClipPathElement", + "properties": { + "property": { + "clipPathUnits": { + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "specs": "css-masking", + "name": "clipPathUnits", + "constant": 1, + "content-attribute": "clipPathUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "css-masking", + "namespace": "SVG", + "name": "clipPath" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGGraphicsElement", + "implements": [ + "SVGUnitTypes" + ] + }, + "VideoTrack": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "VideoTrack", + "extends": "Object", + "properties": { + "property": { + "kind": { + "specs": "html5", + "exposed": "Window", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString" + }, + "language": { + "specs": "html5", + "exposed": "Window", + "name": "language", + "type": "DOMString", + "type-original": "DOMString" + }, + "sourceBuffer": { + "specs": "media-source", + "exposed": "Window", + "name": "sourceBuffer", + "type": "SourceBuffer", + "type-original": "SourceBuffer", + "read-only": 1 + }, + "label": { + "specs": "html5", + "exposed": "Window", + "name": "label", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "id": { + "specs": "html5", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "selected": { + "specs": "html5", + "exposed": "Window", + "name": "selected", + "type": "boolean", + "type-original": "boolean" + } + } + } + }, + "ServiceUIFrameContext": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "ServiceUIFrameContext", + "static": 1, + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getCachedFrameMessage": { + "property-descriptor-not-configurable": 1, + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "key", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "none", + "property-descriptor-not-writable": 1, + "exposed": "Window", + "name": "getCachedFrameMessage", + "static": 1 + }, + "postFrameMessage": { + "property-descriptor-not-configurable": 1, + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "key", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "data", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "property-descriptor-not-writable": 1, + "exposed": "Window", + "name": "postFrameMessage", + "static": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "IDBCursorWithValue": { + "dataslot": [ + { + "name": "value" + } + ], + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBCursorWithValue", + "properties": { + "property": { + "value": { + "specs": "indexeddb", + "exposed": "Window", + "name": "value", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "IDBCursor" + }, + "HTMLAppletElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLAppletElement", + "properties": { + "property": { + "width": { + "pure": 1, + "specs": "html5", + "name": "width", + "content-attribute": "width", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "vspace": { + "pure": 1, + "specs": "html5", + "name": "vspace", + "content-attribute": "vspace", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "object": { + "pure": 1, + "specs": "html5", + "name": "object", + "type-original": "USVString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "type": "USVString" + }, + "archive": { + "pure": 1, + "specs": "html5", + "name": "archive", + "content-attribute": "archive", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "alt": { + "pure": 1, + "specs": "html5", + "name": "alt", + "content-attribute": "alt", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "specs": "html5", + "content-attribute": "align", + "type-original": "DOMString", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "name": "align", + "deprecated": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "height": { + "pure": 1, + "specs": "html5", + "name": "height", + "content-attribute": "height", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "codeBase": { + "pure": 1, + "specs": "html5", + "name": "codeBase", + "content-attribute": "codebase", + "type-original": "USVString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "hspace": { + "pure": 1, + "specs": "html5", + "name": "hspace", + "content-attribute": "hspace", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "code": { + "pure": 1, + "specs": "html5", + "name": "code", + "content-attribute": "code", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "applet" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "TextMetrics": { + "constants": { + "constant": {} + }, + "specs": "2dcontext", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "TextMetrics", + "extends": "Object", + "properties": { + "property": { + "width": { + "specs": "2dcontext", + "exposed": "Window", + "name": "width", + "type": "float", + "type-original": "float", + "read-only": 1 + } + } + } + }, + "SVGAnimatedString": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedString", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "name": "animVal", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "exposed": "Window", + "name": "baseVal", + "type": "DOMString", + "type-original": "DOMString" + } + } + } + }, + "SVGPathSegLinetoVerticalRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoVerticalRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "CDATASection": { + "constants": { + "constant": {} + }, + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CDATASection", + "extends": "Text", + "properties": { + "property": {} + } + }, + "HTMLSelectElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLSelectElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "disabled": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "options": { + "specs": "html5", + "same-object": 1, + "name": "options", + "constant": 1, + "type-original": "HTMLOptionsCollection", + "exposed": "Window", + "type": "HTMLOptionsCollection", + "read-only": 1 + }, + "value": { + "pure": 1, + "specs": "html5", + "exposed": "Window", + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "pure": 1, + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "size": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "size", + "content-attribute": "size", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "selectedIndex": { + "specs": "html5", + "exposed": "Window", + "name": "selectedIndex", + "type": "long", + "type-original": "long" + }, + "length": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long" + }, + "autofocus": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autofocus", + "content-attribute": "autofocus", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "validity": { + "specs": "html5", + "exposed": "Window", + "name": "validity", + "type": "ValidityState", + "type-original": "ValidityState", + "read-only": 1 + }, + "required": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "required", + "content-attribute": "required", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "multiple": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "multiple", + "content-attribute": "multiple", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "type": { + "pure": 1, + "specs": "html5", + "name": "type", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "selectedOptions": { + "specs": "html5", + "same-object": 1, + "name": "selectedOptions", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "select" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "change", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "invalid", + "type": "Event", + "cancelable": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "remove": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "index", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "remove" + }, + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "add": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": [ + { + "type": "HTMLOptionElement" + }, + { + "type": "HTMLOptGroupElement" + } + ], + "type-original": "(HTMLOptionElement or HTMLOptGroupElement)" + }, + { + "name": "before", + "type": [ + { + "nullable": 1, + "type": "HTMLElement" + }, + { + "nullable": 1, + "type": "long" + } + ], + "optional": 1, + "type-original": "(HTMLElement or long)?" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "add" + }, + "item": { + "specs": "html5", + "name": "item", + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 0, + "type": "Element", + "param": [ + { + "name": "name", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "name": "index", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "Element?" + } + ], + "exposed": "Window" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + }, + "namedItem": { + "specs": "html5", + "name": "namedItem", + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "exposed": "Window" + } + } + }, + "extends": "HTMLElement" + }, + "MSMediaKeyNeededEvent": { + "constants": { + "constant": {} + }, + "specs": "encrypted-media-20130510", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MSMediaKeyNeededEvent", + "extends": "Event", + "properties": { + "property": { + "initData": { + "specs": "encrypted-media-20130510", + "name": "initData", + "type-original": "Uint8Array?", + "nullable": 1, + "exposed": "Window", + "type": "Uint8Array", + "read-only": 1 + } + } + } + }, + "RTCIceTransportStateChangedEvent": { + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceTransportStateChangedEvent", + "properties": { + "property": { + "state": { + "specs": "ortc", + "exposed": "Window", + "name": "state", + "type": "RTCIceTransportState", + "type-original": "RTCIceTransportState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "CSSStyleSheet": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "addImport": { + "deprecated": 1, + "extension": 1, + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "bstrURL", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "lIndex", + "optional": 1, + "type": "long", + "default": "-1", + "type-original": "long" + } + ], + "type-original": "long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "addImport" + }, + "addPageRule": { + "deprecated": 1, + "extension": 1, + "signature": [ + { + "param-min-required": 2, + "type": "long", + "param": [ + { + "name": "bstrSelector", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bstrStyle", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "lIndex", + "optional": 1, + "type": "long", + "default": "-1", + "type-original": "long" + } + ], + "type-original": "long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "addPageRule" + }, + "removeRule": { + "interop": 1, + "extension": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "lIndex", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "removeRule" + }, + "insertRule": { + "signature": [ + { + "param-min-required": 1, + "type": "unsigned long", + "param": [ + { + "name": "rule", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "index", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "unsigned long" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "insertRule" + }, + "deleteRule": { + "extension": 1, + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "cssom", + "exposed": "Window", + "name": "deleteRule" + }, + "addRule": { + "interop": 1, + "extension": 1, + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "bstrSelector", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bstrStyle", + "optional": 1, + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "lIndex", + "optional": 1, + "type": "long", + "default": "-1", + "type-original": "long" + } + ], + "type-original": "long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "addRule" + }, + "removeImport": { + "deprecated": 1, + "extension": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "lIndex", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "removeImport" + } + } + }, + "name": "CSSStyleSheet", + "extends": "StyleSheet", + "properties": { + "property": { + "owningElement": { + "extension": 1, + "specs": "none", + "name": "owningElement", + "type-original": "Element", + "deprecated": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "imports": { + "extension": 1, + "specs": "none", + "name": "imports", + "type-original": "StyleSheetList", + "deprecated": 1, + "exposed": "Window", + "type": "StyleSheetList", + "read-only": 1 + }, + "rules": { + "extension": 1, + "specs": "none", + "name": "rules", + "type-original": "CSSRuleList", + "interop": 1, + "exposed": "Window", + "type": "CSSRuleList", + "read-only": 1 + }, + "isAlternate": { + "extension": 1, + "specs": "none", + "name": "isAlternate", + "type-original": "boolean", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "isPrefAlternate": { + "extension": 1, + "specs": "none", + "name": "isPrefAlternate", + "type-original": "boolean", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "readOnly": { + "extension": 1, + "specs": "none", + "name": "readOnly", + "type-original": "boolean", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "cssText": { + "deprecated": 1, + "extension": 1, + "specs": "none", + "exposed": "Window", + "name": "cssText", + "type": "DOMString", + "type-original": "DOMString" + }, + "ownerRule": { + "pure": 1, + "specs": "cssom", + "name": "ownerRule", + "type-original": "CSSRule?", + "nullable": 1, + "exposed": "Window", + "type": "CSSRule", + "read-only": 1 + }, + "cssRules": { + "specs": "cssom", + "same-object": 1, + "name": "cssRules", + "type-original": "CSSRuleList", + "exposed": "Window", + "type": "CSSRuleList", + "read-only": 1 + }, + "id": { + "extension": 1, + "specs": "none", + "name": "id", + "type-original": "DOMString", + "deprecated": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "pages": { + "extension": 1, + "specs": "none", + "name": "pages", + "type-original": "StyleSheetPageList", + "deprecated": 1, + "exposed": "Window", + "type": "StyleSheetPageList", + "read-only": 1 + } + } + } + }, + "AudioBuffer": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getChannelData": { + "signature": [ + { + "param-min-required": 1, + "type": "Float32Array", + "param": [ + { + "name": "channel", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Float32Array" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "getChannelData" + }, + "copyFromChannel": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "destination", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "channelNumber", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "startInChannel", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "copyFromChannel" + }, + "copyToChannel": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "source", + "type": "Float32Array", + "type-original": "Float32Array" + }, + { + "name": "channelNumber", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "startInChannel", + "default": "0", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "copyToChannel" + } + } + }, + "name": "AudioBuffer", + "extends": "Object", + "properties": { + "property": { + "sampleRate": { + "specs": "webaudio", + "exposed": "Window", + "name": "sampleRate", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "length": { + "specs": "webaudio", + "exposed": "Window", + "name": "length", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "numberOfChannels": { + "specs": "webaudio", + "exposed": "Window", + "name": "numberOfChannels", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "duration": { + "specs": "webaudio", + "exposed": "Window", + "name": "duration", + "type": "double", + "type-original": "double", + "read-only": 1 + } + } + } + }, + "HTMLMetaElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMetaElement", + "properties": { + "property": { + "httpEquiv": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "httpEquiv", + "content-attribute": "http-equiv", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "url": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "url", + "type-original": "DOMString", + "content-attribute": "url", + "deprecated": 1, + "content-attribute-value-syntax": "url", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "content": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "content", + "content-attribute": "content", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "charset": { + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "charset", + "type-original": "DOMString", + "content-attribute": "charset", + "deprecated": 1, + "content-attribute-value-syntax": "character_encoding", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "scheme": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "scheme", + "type-original": "DOMString", + "content-attribute": "scheme", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "meta", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "Selection": { + "constants": { + "constant": {} + }, + "specs": "selection-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "setPosition": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "setPosition" + }, + "extend": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "newNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "extend" + }, + "addRange": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "range", + "type": "Range", + "type-original": "Range" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "addRange" + }, + "collapseToEnd": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "collapseToEnd" + }, + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + }, + "selectAllChildren": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "selectAllChildren" + }, + "containsNode": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "partlyContained", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "boolean" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "containsNode" + }, + "getRangeAt": { + "signature": [ + { + "param-min-required": 1, + "type": "Range", + "param": [ + { + "name": "index", + "type": "long", + "type-original": "long" + } + ], + "type-original": "Range" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "getRangeAt" + }, + "setBaseAndExtent": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "baseNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "baseOffset", + "type": "long", + "type-original": "long" + }, + { + "name": "extentNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "extentOffset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "setBaseAndExtent" + }, + "collapse": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "parentNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "collapse" + }, + "removeAllRanges": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "removeAllRanges" + }, + "empty": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "empty" + }, + "collapseToStart": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "collapseToStart" + }, + "deleteFromDocument": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "selection-api", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteFromDocument" + }, + "removeRange": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "range", + "type": "Range", + "type-original": "Range" + } + ], + "type-original": "void" + } + ], + "specs": "selection-api", + "exposed": "Window", + "name": "removeRange" + } + } + }, + "name": "Selection", + "extends": "Object", + "properties": { + "property": { + "baseNode": { + "specs": "selection-api", + "exposed": "Window", + "name": "baseNode", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "extentNode": { + "specs": "selection-api", + "exposed": "Window", + "name": "extentNode", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "anchorNode": { + "specs": "selection-api", + "exposed": "Window", + "name": "anchorNode", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "focusOffset": { + "specs": "selection-api", + "name": "focusOffset", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "anchorOffset": { + "specs": "selection-api", + "name": "anchorOffset", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "rangeCount": { + "specs": "selection-api", + "name": "rangeCount", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "isCollapsed": { + "specs": "selection-api", + "name": "isCollapsed", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "extentOffset": { + "specs": "selection-api", + "exposed": "Window", + "name": "extentOffset", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "focusNode": { + "specs": "selection-api", + "exposed": "Window", + "name": "focusNode", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "type": { + "specs": "selection-api", + "exposed": "Window", + "name": "type", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "baseOffset": { + "specs": "selection-api", + "exposed": "Window", + "name": "baseOffset", + "type": "long", + "type-original": "long", + "read-only": 1 + } + } + } + }, + "SVGAnimatedAngle": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedAngle", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGAngle", + "exposed": "Window", + "type": "SVGAngle", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGAngle", + "exposed": "Window", + "type": "SVGAngle", + "read-only": 1 + } + } + } + }, + "SVGScriptElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGScriptElement", + "properties": { + "property": { + "type": { + "specs": "svg2", + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "content-attribute-value-syntax": "mime_type", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "script" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGURIReference" + ] + }, + "CSSStyleRule": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSStyleRule", + "extends": "CSSRule", + "properties": { + "property": { + "selectorText": { + "specs": "cssom", + "exposed": "Window", + "name": "selectorText", + "type": "DOMString", + "type-original": "DOMString" + }, + "style": { + "specs": "cssom", + "same-object": 1, + "name": "style", + "type-original": "CSSStyleDeclaration", + "exposed": "Window", + "type": "CSSStyleDeclaration", + "read-only": 1 + } + } + } + }, + "NodeIterator": { + "constants": { + "constant": {} + }, + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "nextNode": { + "specs": "dom", + "name": "nextNode", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + }, + "detach": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "detach" + }, + "previousNode": { + "specs": "dom", + "name": "previousNode", + "signature": [ + { + "nullable": 1, + "type": "Node", + "type-original": "Node?" + } + ], + "exposed": "Window" + } + } + }, + "exposed": "Window", + "name": "NodeIterator", + "extends": "Object", + "properties": { + "property": { + "whatToShow": { + "specs": "dom", + "name": "whatToShow", + "constant": 1, + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "filter": { + "specs": "dom", + "name": "filter", + "constant": 1, + "type-original": "NodeFilter?", + "nullable": 1, + "exposed": "Window", + "type": "NodeFilter", + "read-only": 1 + }, + "root": { + "specs": "dom", + "same-object": 1, + "name": "root", + "constant": 1, + "type-original": "Node", + "exposed": "Window", + "type": "Node", + "read-only": 1 + }, + "expandEntityReferences": { + "specs": "dom-level-2-traversal-range", + "name": "expandEntityReferences", + "type-original": "boolean", + "deprecated": 1, + "exposed": "Window", + "type": "boolean", + "read-only": 1 + } + } + } + }, + "Notification": { + "specs": "notifications", + "constructor": { + "specs": "notifications", + "signature": [ + { + "param-min-required": 1, + "type": "Notification", + "param": [ + { + "name": "title", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "options", + "type": "NotificationOptions", + "optional": 1, + "type-original": "NotificationOptions" + } + ], + "type-original": "Notification" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Notification", + "properties": { + "property": { + "icon": { + "pure": 1, + "specs": "notifications", + "name": "icon", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "lang": { + "pure": 1, + "specs": "notifications", + "name": "lang", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "permission": { + "specs": "notifications", + "name": "permission", + "static": 1, + "type-original": "NotificationPermission", + "exposed": "Window", + "type": "NotificationPermission", + "read-only": 1 + }, + "data": { + "specs": "notifications", + "same-object": 1, + "name": "data", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "dir": { + "pure": 1, + "specs": "notifications", + "name": "dir", + "type-original": "NotificationDirection", + "exposed": "Window", + "type": "NotificationDirection", + "read-only": 1 + }, + "body": { + "pure": 1, + "specs": "notifications", + "name": "body", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onshow": { + "specs": "notifications", + "name": "onshow", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "show" + }, + "onclose": { + "specs": "notifications", + "name": "onclose", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "close" + }, + "onerror": { + "specs": "notifications", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onclick": { + "specs": "notifications", + "name": "onclick", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "click" + }, + "title": { + "pure": 1, + "specs": "notifications", + "name": "title", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "tag": { + "specs": "notifications", + "name": "tag", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "WebNotifications", + "name": "click", + "follows": "show", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "click", + "dispatch": "sync", + "specs": "WebNotifications", + "name": "show", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebNotifications", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "WebNotifications", + "name": "close", + "follows": "show", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "notifications", + "exposed": "Window", + "name": "close" + }, + "requestPermission": { + "signature": [ + { + "subtype": { + "type": "NotificationPermission" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "callback", + "type": "NotificationPermissionCallback", + "optional": 1, + "type-original": "NotificationPermissionCallback" + } + ], + "type-original": "Promise" + } + ], + "specs": "notifications", + "exposed": "Window", + "name": "requestPermission", + "static": 1 + } + } + }, + "extends": "EventTarget" + }, + "SVGFEDistantLightElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEDistantLightElement", + "properties": { + "property": { + "azimuth": { + "specs": "filter-effects", + "name": "azimuth", + "constant": 1, + "content-attribute": "azimuth", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "elevation": { + "specs": "filter-effects", + "name": "elevation", + "constant": 1, + "content-attribute": "elevation", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feDistantLight" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "SVGTitleElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTitleElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "title" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement" + }, + "HTMLTableCaptionElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableCaptionElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "bottom center left right top", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "caption" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGAnimatedTransformList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedTransformList", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGTransformList", + "exposed": "Window", + "type": "SVGTransformList", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGTransformList", + "exposed": "Window", + "type": "SVGTransformList", + "read-only": 1 + } + } + } + }, + "AudioTrack": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "AudioTrack", + "extends": "Object", + "properties": { + "property": { + "kind": { + "specs": "html5", + "exposed": "Window", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString" + }, + "language": { + "specs": "html5", + "exposed": "Window", + "name": "language", + "type": "DOMString", + "type-original": "DOMString" + }, + "sourceBuffer": { + "specs": "media-source", + "exposed": "Window", + "name": "sourceBuffer", + "type": "SourceBuffer", + "type-original": "SourceBuffer", + "read-only": 1 + }, + "label": { + "specs": "html5", + "exposed": "Window", + "name": "label", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "id": { + "specs": "html5", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "enabled": { + "specs": "html5", + "exposed": "Window", + "name": "enabled", + "type": "boolean", + "type-original": "boolean" + } + } + } + }, + "SVGFEConvolveMatrixElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEConvolveMatrixElement", + "properties": { + "property": { + "kernelUnitLengthY": { + "specs": "filter-effects", + "name": "kernelUnitLengthY", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "orderY": { + "specs": "filter-effects", + "name": "orderY", + "constant": 1, + "content-attribute": "order", + "type-original": "SVGAnimatedInteger", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "orderX": { + "specs": "filter-effects", + "name": "orderX", + "constant": 1, + "content-attribute": "order", + "type-original": "SVGAnimatedInteger", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "preserveAlpha": { + "content-attribute-enum-values": "false true", + "specs": "filter-effects", + "name": "preserveAlpha", + "constant": 1, + "content-attribute": "preserveAlpha", + "type-original": "SVGAnimatedBoolean", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedBoolean", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "edgeMode": { + "content-attribute-enum-values": "duplicate wrap none", + "specs": "filter-effects", + "name": "edgeMode", + "constant": 1, + "content-attribute": "edgeMode", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "kernelMatrix": { + "specs": "filter-effects", + "name": "kernelMatrix", + "constant": 1, + "content-attribute": "kernelMatrix", + "type-original": "SVGAnimatedNumberList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_or_space_separated_floating_point_numbers", + "type": "SVGAnimatedNumberList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "kernelUnitLengthX": { + "specs": "filter-effects", + "name": "kernelUnitLengthX", + "constant": 1, + "content-attribute": "kernelUnitLength", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "svg_x_y_pair", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "bias": { + "specs": "filter-effects", + "name": "bias", + "constant": 1, + "content-attribute": "bias", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "targetX": { + "specs": "filter-effects", + "name": "targetX", + "constant": 1, + "content-attribute": "targetX", + "type-original": "SVGAnimatedInteger", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "targetY": { + "specs": "filter-effects", + "name": "targetY", + "constant": 1, + "content-attribute": "targetY", + "type-original": "SVGAnimatedInteger", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "SVGAnimatedInteger", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "divisor": { + "specs": "filter-effects", + "name": "divisor", + "constant": 1, + "content-attribute": "divisor", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feConvolveMatrix" + } + ], + "constants": { + "constant": { + "SVG_EDGEMODE_WRAP": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_EDGEMODE_WRAP", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_EDGEMODE_DUPLICATE": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_EDGEMODE_DUPLICATE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_EDGEMODE_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_EDGEMODE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_EDGEMODE_NONE": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_EDGEMODE_NONE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "CSSKeyframesRule": { + "constants": { + "constant": {} + }, + "specs": "css-animation", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "findRule": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "CSSKeyframeRule", + "param": [ + { + "name": "rule", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "CSSKeyframeRule?" + } + ], + "specs": "css-animation", + "exposed": "Window", + "name": "findRule" + }, + "deleteRule": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "rule", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "css-animation", + "exposed": "Window", + "name": "deleteRule" + }, + "appendRule": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "rule", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "css-animation", + "exposed": "Window", + "name": "appendRule" + } + } + }, + "name": "CSSKeyframesRule", + "extends": "CSSRule", + "properties": { + "property": { + "cssRules": { + "specs": "css-animation", + "exposed": "Window", + "name": "cssRules", + "type": "CSSRuleList", + "type-original": "CSSRuleList", + "read-only": 1 + }, + "name": { + "specs": "css-animation", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + } + } + }, + "VRDisplayCapabilities": { + "constants": { + "constant": {} + }, + "specs": "WebVR", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "VRDisplayCapabilities", + "extends": "Object", + "properties": { + "property": { + "canPresent": { + "specs": "WebVR", + "exposed": "Window", + "name": "canPresent", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "hasPosition": { + "specs": "WebVR", + "exposed": "Window", + "name": "hasPosition", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "maxLayers": { + "specs": "WebVR", + "exposed": "Window", + "name": "maxLayers", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "hasOrientation": { + "specs": "WebVR", + "exposed": "Window", + "name": "hasOrientation", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "hasExternalDisplay": { + "specs": "WebVR", + "exposed": "Window", + "name": "hasExternalDisplay", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "TextTrackList": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "TextTrackList", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "tags": "Captions", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "onaddtrack": { + "specs": "html5", + "name": "onaddtrack", + "tags": "Captions", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "addtrack" + } + } + }, + "tags": "Captions", + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "HTML5", + "name": "addtrack", + "type": "TrackEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "removetrack", + "type": "TrackEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "TextTrack", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "TextTrack" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item", + "tags": "Captions" + } + } + }, + "extends": "EventTarget" + }, + "SVGFEFuncGElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEFuncGElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feFuncG" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGComponentTransferFunctionElement" + }, + "MediaKeySystemAccess": { + "constants": { + "constant": {} + }, + "specs": "encrypted-media", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getConfiguration": { + "signature": [ + { + "type": "MediaKeySystemConfiguration", + "type-original": "MediaKeySystemConfiguration" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "getConfiguration" + }, + "createMediaKeys": { + "signature": [ + { + "subtype": { + "type": "MediaKeys" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "createMediaKeys" + } + } + }, + "name": "MediaKeySystemAccess", + "extends": "Object", + "properties": { + "property": { + "keySystem": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "HTMLCollection": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLCollection", + "properties": { + "property": { + "length": { + "specs": "html5", + "name": "length", + "tags": "TreeNavigation", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Element?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "item", + "tags": "TreeNavigation" + }, + "namedItem": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element?" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "namedItem", + "tags": "TreeNavigation" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "WebKitDirectoryReader": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "readEntries": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "WebKitEntriesCallback", + "type-original": "WebKitEntriesCallback" + }, + { + "name": "errorCallback", + "type": "WebKitErrorCallback", + "optional": 1, + "type-original": "WebKitErrorCallback" + } + ], + "type-original": "void" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "readEntries" + } + } + }, + "name": "WebKitDirectoryReader", + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLAreaElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLAreaElement", + "properties": { + "property": { + "rel": { + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "specs": "html5", + "ce-reactions": 1, + "name": "rel", + "content-attribute": "rel", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "target": { + "content-attribute-enum-values": "_blank _self _parent _top", + "specs": "html5", + "ce-reactions": 1, + "name": "target", + "content-attribute": "target", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "alt": { + "specs": "html5", + "ce-reactions": 1, + "name": "alt", + "content-attribute": "alt", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noHref": { + "specs": "html5", + "ce-reactions": 1, + "name": "noHref", + "type-original": "boolean", + "content-attribute": "nohref", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "coords": { + "specs": "html5", + "ce-reactions": 1, + "name": "coords", + "content-attribute": "coords", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "comma_separated_signed_integers", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "shape": { + "content-attribute-enum-values": "circ circle poly polygon rect rectangle", + "specs": "html5", + "ce-reactions": 1, + "name": "shape", + "content-attribute": "shape", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "download": { + "specs": "html5", + "ce-reactions": 1, + "name": "download", + "content-attribute": "download", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "area", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "HTMLHyperlinkElementUtils" + ] + }, + "EventTarget": { + "constants": { + "constant": {} + }, + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "removeEventListener": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "listener", + "type": "EventListener", + "optional": 1, + "type-original": "EventListener?" + }, + { + "name": "options", + "type": [ + { + "type": "EventListenerOptions" + }, + { + "type": "boolean" + } + ], + "optional": 1, + "type-original": "(EventListenerOptions or boolean)" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "removeEventListener" + }, + "addEventListener": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "listener", + "type": "EventListener", + "optional": 1, + "type-original": "EventListener?" + }, + { + "name": "options", + "type": [ + { + "type": "AddEventListenerOptions" + }, + { + "type": "boolean" + } + ], + "optional": 1, + "type-original": "(AddEventListenerOptions or boolean)" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "addEventListener" + }, + "dispatchEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "evt", + "type": "Event", + "type-original": "Event" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "dispatchEvent" + } + } + }, + "name": "EventTarget", + "extends": "Object", + "properties": { + "property": {} + } + }, + "IDBDatabase": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBDatabase", + "properties": { + "property": { + "version": { + "specs": "indexeddb", + "exposed": "Window", + "name": "version", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + }, + "onerror": { + "specs": "indexeddb", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "objectStoreNames": { + "specs": "indexeddb", + "exposed": "Window", + "name": "objectStoreNames", + "type": "DOMStringList", + "type-original": "DOMStringList", + "read-only": 1 + }, + "name": { + "specs": "indexeddb", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "onabort": { + "specs": "indexeddb", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "IDB", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "IDB", + "name": "abort", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "close" + }, + "createObjectStore": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBObjectStore", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "optionalParameters", + "default": "0", + "type": "IDBObjectStoreParameters", + "optional": 1, + "type-original": "IDBObjectStoreParameters" + } + ], + "type-original": "IDBObjectStore" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "createObjectStore" + }, + "transaction": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBTransaction", + "param": [ + { + "name": "storeNames", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + } + ], + "type-original": "(DOMString or sequence)" + }, + { + "name": "mode", + "default": "\"readonly\"", + "type": "IDBTransactionMode", + "optional": 1, + "type-original": "IDBTransactionMode" + } + ], + "type-original": "IDBTransaction" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "transaction" + }, + "deleteObjectStore": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "deleteObjectStore" + } + } + }, + "extends": "EventTarget" + }, + "DOMStringList": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "DOMStringList", + "properties": { + "property": { + "length": { + "specs": "dom4", + "name": "length", + "tags": "TreeNavigation", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "contains": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "str", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "contains", + "tags": "TreeNavigation" + }, + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "item", + "tags": "TreeNavigation" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "SVGAngle": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGAngle", + "properties": { + "property": { + "valueAsString": { + "specs": "svg2", + "exposed": "Window", + "name": "valueAsString", + "type": "DOMString", + "type-original": "DOMString" + }, + "valueInSpecifiedUnits": { + "specs": "svg2", + "exposed": "Window", + "name": "valueInSpecifiedUnits", + "type": "float", + "type-original": "float" + }, + "value": { + "specs": "svg2", + "exposed": "Window", + "name": "value", + "type": "float", + "type-original": "float" + }, + "unitType": { + "specs": "svg2", + "name": "unitType", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SVG_ANGLETYPE_RAD": { + "specs": "svg2", + "value": "3", + "exposed": "Window", + "name": "SVG_ANGLETYPE_RAD", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ANGLETYPE_UNSPECIFIED": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_ANGLETYPE_UNSPECIFIED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ANGLETYPE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_ANGLETYPE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ANGLETYPE_GRAD": { + "specs": "svg2", + "value": "4", + "exposed": "Window", + "name": "SVG_ANGLETYPE_GRAD", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_ANGLETYPE_DEG": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_ANGLETYPE_DEG", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "newValueSpecifiedUnits": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "valueInSpecifiedUnits", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "newValueSpecifiedUnits" + }, + "convertToSpecifiedUnits": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "unitType", + "type": "unsigned short", + "type-original": "unsigned short" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "convertToSpecifiedUnits" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLButtonElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLButtonElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "disabled": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "status": { + "extension": 1, + "specs": "none", + "exposed": "Window", + "name": "status", + "type": "any", + "type-original": "any" + }, + "value": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formTarget": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formTarget", + "content-attribute": "formtarget", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "pure": 1, + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "formAction": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formAction", + "content-attribute": "formaction", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "autofocus": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autofocus", + "content-attribute": "autofocus", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "validity": { + "specs": "html5", + "exposed": "Window", + "name": "validity", + "type": "ValidityState", + "type-original": "ValidityState", + "read-only": 1 + }, + "formNoValidate": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formNoValidate", + "content-attribute": "formnovalidate", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "formEnctype": { + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formEnctype", + "content-attribute": "formenctype", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "content-attribute-enum-values": "button submit reset", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formMethod": { + "content-attribute-enum-values": "GET POST", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formMethod", + "content-attribute": "formmethod", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "button" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + } + } + }, + "extends": "HTMLElement" + }, + "IDBOpenDBRequest": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBOpenDBRequest", + "properties": { + "property": { + "onupgradeneeded": { + "specs": "indexeddb", + "name": "onupgradeneeded", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "upgradeneeded" + }, + "onblocked": { + "specs": "indexeddb", + "name": "onblocked", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blocked" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "IDB", + "name": "blocked", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "IDB", + "name": "upgradeneeded", + "type": "IDBVersionChangeEvent", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "IDBRequest" + }, + "HTMLSourceElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLSourceElement", + "properties": { + "property": { + "srcset": { + "specs": "html5", + "ce-reactions": 1, + "name": "srcset", + "content-attribute": "srcset", + "type-original": "USVString", + "content-attribute-value-syntax": "image_candidates", + "exposed": "Window", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "media": { + "specs": "html5", + "ce-reactions": 1, + "name": "media", + "content-attribute": "media", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "media_query", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "src": { + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "sizes": { + "specs": "html5", + "ce-reactions": 1, + "name": "sizes", + "content-attribute": "sizes", + "type-original": "DOMString", + "content-attribute-value-syntax": "image_sizes", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "msKeySystem": { + "deprecated": 1, + "specs": "encrypted-media-20130510", + "name": "msKeySystem", + "exposed": "Window", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "source", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WebGLTexture": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLTexture", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "KeyboardEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "KeyboardEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "KeyboardEventInit", + "optional": 1, + "type-original": "KeyboardEventInit" + } + ], + "type-original": "KeyboardEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "KeyboardEvent", + "properties": { + "property": { + "keyCode": { + "specs": "uievents", + "name": "keyCode", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "location": { + "specs": "uievents", + "name": "location", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "which": { + "specs": "uievents", + "name": "which", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "shiftKey": { + "specs": "uievents", + "name": "shiftKey", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "key": { + "specs": "uievents", + "name": "key", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "altKey": { + "specs": "uievents", + "name": "altKey", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "metaKey": { + "specs": "uievents", + "name": "metaKey", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "ctrlKey": { + "specs": "uievents", + "name": "ctrlKey", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "charCode": { + "specs": "uievents", + "name": "charCode", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "repeat": { + "specs": "uievents", + "name": "repeat", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "DOM_KEY_LOCATION_RIGHT": { + "specs": "uievents", + "value": "0x02", + "exposed": "Window", + "name": "DOM_KEY_LOCATION_RIGHT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_KEY_LOCATION_LEFT": { + "specs": "uievents", + "value": "0x01", + "exposed": "Window", + "name": "DOM_KEY_LOCATION_LEFT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_KEY_LOCATION_STANDARD": { + "specs": "uievents", + "value": "0x00", + "exposed": "Window", + "name": "DOM_KEY_LOCATION_STANDARD", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_KEY_LOCATION_NUMPAD": { + "specs": "uievents", + "value": "0x03", + "exposed": "Window", + "name": "DOM_KEY_LOCATION_NUMPAD", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_KEY_LOCATION_JOYSTICK": { + "specs": "none", + "value": "0x05", + "name": "DOM_KEY_LOCATION_JOYSTICK", + "exposed": "Window", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_KEY_LOCATION_MOBILE": { + "specs": "none", + "value": "0x04", + "name": "DOM_KEY_LOCATION_MOBILE", + "exposed": "Window", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "getModifierState": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "keyArg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "getModifierState" + }, + "initKeyboardEvent": { + "deprecated": 1, + "specs": "WD-uievents-20151215", + "signature": [ + { + "param-min-required": 9, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "keyArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "locationArg", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "modifiersListArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "repeat", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "locale", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "name": "initKeyboardEvent", + "exposed": "Window" + } + } + }, + "extends": "UIEvent" + }, + "CacheStorage": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "CacheStorage", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "keys": { + "signature": [ + { + "new-object": 1, + "subtype": { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + "type": "Promise", + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "keys" + }, + "open": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "Cache" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "open" + }, + "delete": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "boolean" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "delete" + }, + "has": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "boolean" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "cacheName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "has" + }, + "match": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "any" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "request", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "type-original": "RequestInfo" + }, + { + "name": "options", + "type": "CacheQueryOptions", + "optional": 1, + "type-original": "CacheQueryOptions" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "match" + } + } + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "CanvasRenderingContext2D": { + "specs": "2dcontext", + "anonymous-methods": { + "method": [] + }, + "name": "CanvasRenderingContext2D", + "properties": { + "property": { + "imageSmoothingEnabled": { + "specs": "2dcontext", + "exposed": "Window", + "name": "imageSmoothingEnabled", + "type": "boolean", + "type-original": "boolean" + }, + "miterLimit": { + "specs": "2dcontext", + "exposed": "Window", + "name": "miterLimit", + "type": "float", + "type-original": "float" + }, + "font": { + "specs": "2dcontext", + "exposed": "Window", + "name": "font", + "type": "DOMString", + "type-original": "DOMString" + }, + "globalCompositeOperation": { + "specs": "2dcontext", + "exposed": "Window", + "name": "globalCompositeOperation", + "type": "DOMString", + "type-original": "DOMString" + }, + "msFillRule": { + "specs": "2dcontext", + "exposed": "Window", + "name": "msFillRule", + "type": "CanvasFillRule", + "type-original": "CanvasFillRule" + }, + "lineCap": { + "specs": "2dcontext", + "exposed": "Window", + "name": "lineCap", + "type": "DOMString", + "type-original": "DOMString" + }, + "lineDashOffset": { + "specs": "2dcontext", + "exposed": "Window", + "name": "lineDashOffset", + "type": "unrestricted double", + "type-original": "unrestricted double" + }, + "shadowColor": { + "specs": "2dcontext", + "exposed": "Window", + "name": "shadowColor", + "type": "DOMString", + "type-original": "DOMString" + }, + "lineJoin": { + "specs": "2dcontext", + "exposed": "Window", + "name": "lineJoin", + "type": "DOMString", + "type-original": "DOMString" + }, + "shadowOffsetX": { + "specs": "2dcontext", + "exposed": "Window", + "name": "shadowOffsetX", + "type": "float", + "type-original": "float" + }, + "lineWidth": { + "specs": "2dcontext", + "exposed": "Window", + "name": "lineWidth", + "type": "float", + "type-original": "float" + }, + "canvas": { + "specs": "2dcontext", + "exposed": "Window", + "name": "canvas", + "type": "HTMLCanvasElement", + "type-original": "HTMLCanvasElement", + "read-only": 1 + }, + "strokeStyle": { + "specs": "2dcontext", + "exposed": "Window", + "name": "strokeStyle", + "type": "any", + "type-original": "any" + }, + "globalAlpha": { + "specs": "2dcontext", + "exposed": "Window", + "name": "globalAlpha", + "type": "float", + "type-original": "float" + }, + "shadowOffsetY": { + "specs": "2dcontext", + "exposed": "Window", + "name": "shadowOffsetY", + "type": "float", + "type-original": "float" + }, + "fillStyle": { + "specs": "2dcontext", + "exposed": "Window", + "name": "fillStyle", + "type": "any", + "type-original": "any" + }, + "textAlign": { + "specs": "2dcontext", + "exposed": "Window", + "name": "textAlign", + "type": "DOMString", + "type-original": "DOMString" + }, + "shadowBlur": { + "specs": "2dcontext", + "exposed": "Window", + "name": "shadowBlur", + "type": "float", + "type-original": "float" + }, + "textBaseline": { + "specs": "2dcontext", + "exposed": "Window", + "name": "textBaseline", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "restore": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "restore" + }, + "setTransform": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "m11", + "type": "float", + "type-original": "float" + }, + { + "name": "m12", + "type": "float", + "type-original": "float" + }, + { + "name": "m21", + "type": "float", + "type-original": "float" + }, + { + "name": "m22", + "type": "float", + "type-original": "float" + }, + { + "name": "dx", + "type": "float", + "type-original": "float" + }, + { + "name": "dy", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "setTransform" + }, + "getLineDash": { + "signature": [ + { + "subtype": { + "type": "unrestricted double" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "getLineDash" + }, + "save": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "save" + }, + "fill": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "void" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "path", + "type": "Path2D", + "type-original": "Path2D" + }, + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "fill" + }, + "clip": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "void" + }, + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "path", + "type": "Path2D", + "type-original": "Path2D" + }, + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "clip" + }, + "createImageData": { + "signature": [ + { + "param-min-required": 1, + "type": "ImageData", + "param": [ + { + "name": "imageDataOrSw", + "type": [ + { + "type": "float" + }, + { + "type": "ImageData" + } + ], + "type-original": "(float or ImageData)" + }, + { + "name": "sh", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "ImageData" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "createImageData" + }, + "createPattern": { + "signature": [ + { + "param-min-required": 2, + "type": "CanvasPattern", + "param": [ + { + "name": "image", + "type": [ + { + "type": "HTMLImageElement" + }, + { + "type": "HTMLCanvasElement" + }, + { + "type": "HTMLVideoElement" + } + ], + "type-original": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" + }, + { + "name": "repetition", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "CanvasPattern" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "createPattern" + }, + "clearRect": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "w", + "type": "float", + "type-original": "float" + }, + { + "name": "h", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "clearRect" + }, + "getImageData": { + "signature": [ + { + "param-min-required": 4, + "type": "ImageData", + "param": [ + { + "name": "sx", + "type": "float", + "type-original": "float" + }, + { + "name": "sy", + "type": "float", + "type-original": "float" + }, + { + "name": "sw", + "type": "float", + "type-original": "float" + }, + { + "name": "sh", + "type": "float", + "type-original": "float" + } + ], + "type-original": "ImageData" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "getImageData" + }, + "measureText": { + "signature": [ + { + "param-min-required": 1, + "type": "TextMetrics", + "param": [ + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "TextMetrics" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "measureText" + }, + "fillRect": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "w", + "type": "float", + "type-original": "float" + }, + { + "name": "h", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "fillRect" + }, + "drawImage": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "image", + "type": [ + { + "type": "HTMLImageElement" + }, + { + "type": "HTMLCanvasElement" + }, + { + "type": "HTMLVideoElement" + } + ], + "type-original": "(HTMLImageElement or HTMLCanvasElement or HTMLVideoElement)" + }, + { + "name": "offsetX", + "type": "float", + "type-original": "float" + }, + { + "name": "offsetY", + "type": "float", + "type-original": "float" + }, + { + "name": "width", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "height", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "canvasOffsetX", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "canvasOffsetY", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "canvasImageWidth", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "canvasImageHeight", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "drawImage" + }, + "isPointInPath": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "boolean" + }, + { + "param-min-required": 3, + "type": "boolean", + "param": [ + { + "name": "path", + "type": "Path2D", + "type-original": "Path2D" + }, + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "fillRule", + "default": "\"nonzero\"", + "type": "CanvasFillRule", + "optional": 1, + "type-original": "CanvasFillRule" + } + ], + "type-original": "boolean" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "isPointInPath" + }, + "transform": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "m11", + "type": "float", + "type-original": "float" + }, + { + "name": "m12", + "type": "float", + "type-original": "float" + }, + { + "name": "m21", + "type": "float", + "type-original": "float" + }, + { + "name": "m22", + "type": "float", + "type-original": "float" + }, + { + "name": "dx", + "type": "float", + "type-original": "float" + }, + { + "name": "dy", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "transform" + }, + "stroke": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "path", + "type": "Path2D", + "optional": 1, + "type-original": "Path2D" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "stroke" + }, + "drawFocusIfNeeded": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + }, + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "path", + "type": "Path2D", + "type-original": "Path2D" + }, + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "drawFocusIfNeeded" + }, + "strokeRect": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "w", + "type": "float", + "type-original": "float" + }, + { + "name": "h", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "strokeRect" + }, + "setLineDash": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "unrestricted double" + }, + "name": "segments", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "setLineDash" + }, + "strokeText": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "maxWidth", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "strokeText" + }, + "putImageData": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "imagedata", + "type": "ImageData", + "type-original": "ImageData" + }, + { + "name": "dx", + "type": "float", + "type-original": "float" + }, + { + "name": "dy", + "type": "float", + "type-original": "float" + }, + { + "name": "dirtyX", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "dirtyY", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "dirtyWidth", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "dirtyHeight", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "putImageData" + }, + "rotate": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "rotate" + }, + "translate": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "translate" + }, + "fillText": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "maxWidth", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "fillText" + }, + "beginPath": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "beginPath" + }, + "scale": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "scale" + }, + "createRadialGradient": { + "signature": [ + { + "param-min-required": 6, + "type": "CanvasGradient", + "param": [ + { + "name": "x0", + "type": "float", + "type-original": "float" + }, + { + "name": "y0", + "type": "float", + "type-original": "float" + }, + { + "name": "r0", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + }, + { + "name": "r1", + "type": "float", + "type-original": "float" + } + ], + "type-original": "CanvasGradient" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "createRadialGradient" + }, + "createLinearGradient": { + "signature": [ + { + "param-min-required": 4, + "type": "CanvasGradient", + "param": [ + { + "name": "x0", + "type": "float", + "type-original": "float" + }, + { + "name": "y0", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + } + ], + "type-original": "CanvasGradient" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "createLinearGradient" + } + } + }, + "exposed": "Window", + "extends": "Object", + "implements": [ + "CanvasPathMethods" + ] + }, + "SVGPathSegLinetoHorizontalAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoHorizontalAbs", + "properties": { + "property": { + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "SVGPathSegArcAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegArcAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "sweepFlag": { + "specs": "svg11", + "exposed": "Window", + "name": "sweepFlag", + "type": "boolean", + "type-original": "boolean" + }, + "r2": { + "specs": "svg11", + "exposed": "Window", + "name": "r2", + "type": "float", + "type-original": "float" + }, + "angle": { + "specs": "svg11", + "exposed": "Window", + "name": "angle", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "largeArcFlag": { + "specs": "svg11", + "exposed": "Window", + "name": "largeArcFlag", + "type": "boolean", + "type-original": "boolean" + }, + "r1": { + "specs": "svg11", + "exposed": "Window", + "name": "r1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "HTMLHtmlElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLHtmlElement", + "properties": { + "property": { + "version": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "version", + "type-original": "DOMString", + "content-attribute": "version", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "html" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGTransformList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getItem" + }, + "consolidate": { + "signature": [ + { + "type": "SVGTransform", + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "consolidate" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform", + "type-original": "SVGTransform" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform", + "type-original": "SVGTransform" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform", + "type-original": "SVGTransform" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "insertItemBefore" + }, + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGTransform", + "param": [ + { + "name": "newItem", + "type": "SVGTransform", + "type-original": "SVGTransform" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "replaceItem" + }, + "createSVGTransformFromMatrix": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGTransformFromMatrix" + } + } + }, + "name": "SVGTransformList", + "extends": "Object", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg2", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "EXT_frag_depth": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "EXT_frag_depth", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGPathSegClosePath": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegClosePath", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGPathSeg" + }, + "OES_standard_derivatives": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "OES_standard_derivatives", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "FRAGMENT_SHADER_DERIVATIVE_HINT_OES": { + "specs": "webgl", + "value": "0x8B8B", + "exposed": "Window", + "name": "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Path2D": { + "specs": "2dcontext", + "constructor": { + "specs": "2dcontext", + "signature": [ + { + "param-min-required": 0, + "type": "Path2D", + "param": [ + { + "name": "path", + "type": "Path2D", + "optional": 1, + "type-original": "Path2D" + } + ], + "type-original": "Path2D" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Path2D", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object", + "implements": [ + "CanvasPathMethods" + ] + }, + "SVGAnimatedLength": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedLength", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "same-object": 1, + "name": "animVal", + "constant": 1, + "type-original": "SVGLength", + "exposed": "Window", + "type": "SVGLength", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "same-object": 1, + "name": "baseVal", + "constant": 1, + "type-original": "SVGLength", + "exposed": "Window", + "type": "SVGLength", + "read-only": 1 + } + } + } + }, + "ApplicationCache": { + "specs": "whatwg-html", + "anonymous-methods": { + "method": [] + }, + "name": "ApplicationCache", + "properties": { + "property": { + "status": { + "specs": "whatwg-html", + "name": "status", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "onprogress": { + "specs": "whatwg-html", + "name": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "ondownloading": { + "specs": "whatwg-html", + "name": "ondownloading", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "downloading" + }, + "onupdateready": { + "specs": "whatwg-html", + "name": "onupdateready", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "updateready" + }, + "oncached": { + "specs": "whatwg-html", + "name": "oncached", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "cached" + }, + "onobsolete": { + "specs": "whatwg-html", + "name": "onobsolete", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "obsolete" + }, + "onerror": { + "specs": "whatwg-html", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onchecking": { + "specs": "whatwg-html", + "name": "onchecking", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "checking" + }, + "onnoupdate": { + "specs": "whatwg-html", + "name": "onnoupdate", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "noupdate" + } + } + }, + "constants": { + "constant": { + "CHECKING": { + "specs": "whatwg-html", + "value": "2", + "exposed": "Window", + "name": "CHECKING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "UPDATEREADY": { + "specs": "whatwg-html", + "value": "4", + "exposed": "Window", + "name": "UPDATEREADY", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "UNCACHED": { + "specs": "whatwg-html", + "value": "0", + "exposed": "Window", + "name": "UNCACHED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "DOWNLOADING": { + "specs": "whatwg-html", + "value": "3", + "exposed": "Window", + "name": "DOWNLOADING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "IDLE": { + "specs": "whatwg-html", + "value": "1", + "exposed": "Window", + "name": "IDLE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "OBSOLETE": { + "specs": "whatwg-html", + "value": "5", + "exposed": "Window", + "name": "OBSOLETE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "precedes": "updateready", + "dispatch": "sync", + "specs": "HTML5", + "name": "progress", + "follows": "downloading", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "obsolete", + "follows": "downloading", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "follows": "downloading", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "cached", + "follows": "downloading", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "updateready", + "follows": "progress", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "noupdate progress obsolete cached", + "dispatch": "sync", + "specs": "HTML5", + "name": "downloading", + "follows": "checking", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "noupdate", + "follows": "downloading", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "downloading", + "dispatch": "sync", + "specs": "HTML5", + "name": "checking", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "swapCache": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-html", + "exposed": "Window", + "name": "swapCache" + }, + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-html", + "exposed": "Window", + "name": "abort" + }, + "update": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-html", + "exposed": "Window", + "name": "update" + } + } + }, + "extends": "EventTarget" + }, + "HTMLQuoteElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLQuoteElement", + "properties": { + "property": { + "cite": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "cite", + "content-attribute": "cite", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "q" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "blockquote" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGDefsElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGDefsElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "defs" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "Clients": { + "constants": { + "constant": {} + }, + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "openWindow": { + "signature": [ + { + "new-object": 1, + "subtype": { + "nullable": 1, + "type": "WindowClient" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "openWindow" + }, + "get": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "any" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "id", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "get" + }, + "claim": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "claim" + }, + "matchAll": { + "signature": [ + { + "new-object": 1, + "subtype": { + "subtype": { + "type": "Client" + }, + "type": "sequence" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "options", + "type": "ClientQueryOptions", + "optional": 1, + "type-original": "ClientQueryOptions" + } + ], + "type-original": "Promise>" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "matchAll" + } + } + }, + "exposed": "Worker", + "name": "Clients", + "extends": "Object", + "properties": { + "property": {} + } + }, + "XMLHttpRequest": { + "specs": "xhr", + "constructor": { + "specs": "xhr", + "signature": [ + { + "type": "XMLHttpRequest", + "type-original": "XMLHttpRequest" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "XMLHttpRequest", + "properties": { + "property": { + "msCaching": { + "specs": "xhr", + "exposed": "Window", + "name": "msCaching", + "type": "DOMString", + "tags": "NetworkAccess", + "type-original": "DOMString" + }, + "response": { + "specs": "xhr", + "name": "response", + "tags": "NetworkAccess", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "status": { + "specs": "xhr", + "name": "status", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "withCredentials": { + "specs": "xhr", + "exposed": "Window", + "name": "withCredentials", + "type": "boolean", + "tags": "NetworkAccess", + "type-original": "boolean" + }, + "responseXML": { + "specs": "xhr", + "name": "responseXML", + "tags": "NetworkAccess", + "type-original": "Document?", + "nullable": 1, + "exposed": "Window", + "type": "Document", + "read-only": 1 + }, + "responseText": { + "pure": 1, + "specs": "xhr", + "name": "responseText", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "readyState": { + "specs": "xhr", + "name": "readyState", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "statusText": { + "specs": "xhr", + "name": "statusText", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "responseType": { + "specs": "xhr", + "exposed": "Window", + "name": "responseType", + "type": "XMLHttpRequestResponseType", + "tags": "NetworkAccess", + "type-original": "XMLHttpRequestResponseType" + }, + "responseURL": { + "specs": "xhr", + "name": "responseURL", + "tags": "NetworkAccess", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "onreadystatechange": { + "specs": "xhr", + "name": "onreadystatechange", + "tags": "NetworkAccess", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "readystatechange" + }, + "timeout": { + "specs": "xhr", + "exposed": "Window", + "name": "timeout", + "type": "unsigned long", + "tags": "NetworkAccess", + "type-original": "unsigned long" + }, + "upload": { + "specs": "xhr", + "name": "upload", + "tags": "NetworkAccess", + "type-original": "XMLHttpRequestUpload", + "exposed": "Window", + "type": "XMLHttpRequestUpload", + "read-only": 1 + } + } + }, + "tags": "NetworkAccess", + "constants": { + "constant": { + "LOADING": { + "specs": "xhr", + "value": "3", + "name": "LOADING", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "DONE": { + "specs": "xhr", + "value": "4", + "name": "DONE", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "HEADERS_RECEIVED": { + "specs": "xhr", + "value": "2", + "name": "HEADERS_RECEIVED", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "OPENED": { + "specs": "xhr", + "value": "1", + "name": "OPENED", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "UNSENT": { + "specs": "xhr", + "value": "0", + "name": "UNSENT", + "tags": "NetworkAccess", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "precedes": "load", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "readystatechange", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "loadend", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "load", + "follows": "progress readystatechange", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "timeout", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "load", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "progress", + "follows": "readystatechange", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "abort", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "precedes": "readystatechange", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "loadstart", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "loadend", + "follows": "load", + "type": "ProgressEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "msCachingEnabled": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "msCachingEnabled", + "tags": "NetworkAccess" + }, + "abort": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "abort", + "tags": "NetworkAccess" + }, + "send": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "data", + "type": [ + { + "type": "Document" + }, + { + "type": "DOMString" + } + ], + "optional": 1, + "type-original": "(Document or DOMString)" + } + ], + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "send", + "tags": "NetworkAccess" + }, + "getAllResponseHeaders": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "getAllResponseHeaders", + "tags": "NetworkAccess" + }, + "getResponseHeader": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "header", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "getResponseHeader", + "tags": "NetworkAccess" + }, + "setRequestHeader": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "header", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "setRequestHeader", + "tags": "NetworkAccess" + }, + "open": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "method", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "url", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "async", + "default": "true", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "nullable": 1, + "name": "user", + "default": "null", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + }, + { + "nullable": 1, + "name": "password", + "default": "null", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "open", + "tags": "NetworkAccess" + }, + "overrideMimeType": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "mime", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "xhr", + "exposed": "Window", + "name": "overrideMimeType", + "tags": "NetworkAccess" + } + } + }, + "extends": "EventTarget", + "implements": [ + "XMLHttpRequestEventTarget" + ] + }, + "WaveShaperNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WaveShaperNode", + "extends": "AudioNode", + "properties": { + "property": { + "curve": { + "pure": 1, + "specs": "webaudio", + "name": "curve", + "type-original": "Float32Array?", + "nullable": 1, + "exposed": "Window", + "type": "Float32Array" + }, + "oversample": { + "specs": "webaudio", + "exposed": "Window", + "name": "oversample", + "type": "OverSampleType", + "type-original": "OverSampleType" + } + } + } + }, + "HTMLDListElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLDListElement", + "properties": { + "property": { + "compact": { + "specs": "html5", + "ce-reactions": 1, + "name": "compact", + "type-original": "boolean", + "content-attribute": "compact", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "dl" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "DeviceRotationRate": { + "constants": { + "constant": {} + }, + "specs": "orientation-event", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "DeviceRotationRate", + "extends": "Object", + "properties": { + "property": { + "gamma": { + "specs": "orientation-event", + "name": "gamma", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "alpha": { + "specs": "orientation-event", + "name": "alpha", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "beta": { + "specs": "orientation-event", + "name": "beta", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + } + } + } + }, + "SVGAElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGAElement", + "properties": { + "property": { + "target": { + "content-attribute-enum-values": "_blank _self _parent _top", + "specs": "svg2", + "same-object": 1, + "name": "target", + "content-attribute": "target", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "a" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement", + "implements": [ + "SVGURIReference" + ] + }, + "MSMediaKeyError": { + "specs": "encrypted-media-20130510", + "anonymous-methods": { + "method": [] + }, + "name": "MSMediaKeyError", + "properties": { + "property": { + "systemCode": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "systemCode", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "code": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "code", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "MS_MEDIA_KEYERR_HARDWARECHANGE": { + "specs": "encrypted-media-20130510", + "value": "5", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_HARDWARECHANGE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MS_MEDIA_KEYERR_SERVICE": { + "specs": "encrypted-media-20130510", + "value": "3", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_SERVICE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MS_MEDIA_KEYERR_OUTPUT": { + "specs": "encrypted-media-20130510", + "value": "4", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_OUTPUT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MS_MEDIA_KEYERR_DOMAIN": { + "specs": "encrypted-media-20130510", + "value": "6", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_DOMAIN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MS_MEDIA_KEYERR_CLIENT": { + "specs": "encrypted-media-20130510", + "value": "2", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_CLIENT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MS_MEDIA_KEYERR_UNKNOWN": { + "specs": "encrypted-media-20130510", + "value": "1", + "exposed": "Window", + "name": "MS_MEDIA_KEYERR_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "HTMLFrameSetElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFrameSetElement", + "properties": { + "property": { + "onresize": { + "specs": "html5", + "name": "onresize", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "resize", + "event-handler-map-to-window": 1 + }, + "name": { + "content-attribute-enum-values": "_blank _self _parent _top", + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "name", + "type-original": "DOMString", + "content-attribute": "name", + "content-attribute-value-syntax": "name_ref", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "rows": { + "specs": "html5", + "ce-reactions": 1, + "name": "rows", + "content-attribute": "rows", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "onblur": { + "specs": "html5", + "name": "onblur", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blur", + "event-handler-map-to-window": 1 + }, + "cols": { + "specs": "html5", + "ce-reactions": 1, + "name": "cols", + "content-attribute": "cols", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "onfocus": { + "specs": "html5", + "name": "onfocus", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focus", + "event-handler-map-to-window": 1 + }, + "onorientationchange": { + "specs": "whatwg-compat", + "name": "onorientationchange", + "type-original": "EventHandler", + "content-attribute": "onorientationchange", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler-map-to-window": 1, + "event-handler": "orientationchange" + }, + "onscroll": { + "specs": "html5", + "name": "onscroll", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll", + "event-handler-map-to-window": 1 + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error", + "event-handler-map-to-window": 1 + }, + "onload": { + "specs": "html5", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load", + "event-handler-map-to-window": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "frameset" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "WindowEventHandlers" + ] + }, + "Screen": { + "specs": "cssom-view", + "anonymous-methods": { + "method": [] + }, + "name": "Screen", + "properties": { + "property": { + "onmsorientationchange": { + "specs": "screen-orientation", + "name": "onmsorientationchange", + "tags": "CSSOM", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSOrientationChange" + }, + "deviceXDPI": { + "specs": "cssom-view", + "name": "deviceXDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "width": { + "specs": "cssom-view", + "name": "width", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "bufferDepth": { + "specs": "cssom-view", + "name": "bufferDepth", + "tags": "CSSOM", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "type": "long" + }, + "logicalXDPI": { + "specs": "cssom-view", + "name": "logicalXDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "logicalYDPI": { + "specs": "cssom-view", + "name": "logicalYDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "deviceYDPI": { + "specs": "cssom-view", + "name": "deviceYDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "pixelDepth": { + "specs": "cssom-view", + "name": "pixelDepth", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "fontSmoothingEnabled": { + "specs": "cssom-view", + "name": "fontSmoothingEnabled", + "tags": "CSSOM", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "msOrientation": { + "specs": "screen-orientation", + "name": "msOrientation", + "tags": "CSSOM", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "systemXDPI": { + "specs": "cssom-view", + "name": "systemXDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "availHeight": { + "specs": "cssom-view", + "name": "availHeight", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "height": { + "specs": "cssom-view", + "name": "height", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "systemYDPI": { + "specs": "cssom-view", + "name": "systemYDPI", + "tags": "CSSOM", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "colorDepth": { + "specs": "cssom-view", + "name": "colorDepth", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "availWidth": { + "specs": "cssom-view", + "name": "availWidth", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "events": { + "event": [] + }, + "exposed": "Window", + "methods": { + "method": { + "msUnlockOrientation": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "screen-orientation", + "exposed": "Window", + "name": "msUnlockOrientation", + "tags": "CSSOM" + }, + "msLockOrientation": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "orientations", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + } + ], + "type-original": "(DOMString or sequence)" + } + ], + "type-original": "boolean" + } + ], + "specs": "screen-orientation", + "exposed": "Window", + "name": "msLockOrientation", + "tags": "CSSOM" + } + } + }, + "extends": "EventTarget" + }, + "ScriptProcessorNode": { + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "name": "ScriptProcessorNode", + "properties": { + "property": { + "onaudioprocess": { + "specs": "webaudio", + "name": "onaudioprocess", + "type-original": "EventHandler", + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "audioprocess" + }, + "bufferSize": { + "specs": "webaudio", + "name": "bufferSize", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "type": "long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "deprecated": 1, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Audio", + "name": "audioprocess", + "type": "AudioProcessingEvent", + "skips-window": 1 + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "AudioNode" + }, + "Coordinates": { + "constants": { + "constant": {} + }, + "specs": "geolocation-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "Coordinates", + "extends": "Object", + "properties": { + "property": { + "altitudeAccuracy": { + "specs": "geolocation-api", + "name": "altitudeAccuracy", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "longitude": { + "specs": "geolocation-api", + "name": "longitude", + "type-original": "double", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "speed": { + "specs": "geolocation-api", + "name": "speed", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "latitude": { + "specs": "geolocation-api", + "name": "latitude", + "type-original": "double", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "heading": { + "specs": "geolocation-api", + "name": "heading", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "accuracy": { + "specs": "geolocation-api", + "name": "accuracy", + "type-original": "double", + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "altitude": { + "specs": "geolocation-api", + "name": "altitude", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + } + } + } + }, + "RTCDtlsTransportStateChangedEvent": { + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "name": "RTCDtlsTransportStateChangedEvent", + "properties": { + "property": { + "state": { + "specs": "ortc", + "exposed": "Window", + "name": "state", + "type": "RTCDtlsTransportState", + "type-original": "RTCDtlsTransportState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "FocusEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "FocusEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "FocusEventInit", + "optional": 1, + "type-original": "FocusEventInit" + } + ], + "type-original": "FocusEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "FocusEvent", + "properties": { + "property": { + "relatedTarget": { + "specs": "uievents", + "name": "relatedTarget", + "type-original": "EventTarget", + "exposed": "Window", + "type": "EventTarget", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initFocusEvent": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initFocusEvent" + } + } + }, + "exposed": "Window", + "extends": "UIEvent" + }, + "DOMSettableTokenList": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "DOMSettableTokenList", + "properties": { + "property": { + "value": { + "specs": "dom4", + "ce-reactions": 1, + "name": "value", + "tags": "TreeNavigation", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "DOMTokenList" + }, + "PaymentResponse": { + "specs": "payment-request", + "anonymous-methods": { + "method": [] + }, + "name": "PaymentResponse", + "properties": { + "property": { + "shippingAddress": { + "specs": "payment-request", + "name": "shippingAddress", + "type-original": "PaymentAddress?", + "nullable": 1, + "exposed": "Window", + "type": "PaymentAddress", + "read-only": 1 + }, + "requestId": { + "specs": "payment-request", + "exposed": "Window", + "name": "requestId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "payerName": { + "specs": "payment-request", + "name": "payerName", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "payerEmail": { + "specs": "payment-request", + "name": "payerEmail", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "details": { + "specs": "payment-request", + "exposed": "Window", + "name": "details", + "type": "object", + "type-original": "object", + "read-only": 1 + }, + "methodName": { + "specs": "payment-request", + "exposed": "Window", + "name": "methodName", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "payerPhone": { + "specs": "payment-request", + "name": "payerPhone", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "shippingOption": { + "specs": "payment-request", + "name": "shippingOption", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "toJSON": { + "serializer": 1, + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "payment-request", + "exposed": "Window", + "serializer-info": "attribute", + "name": "toJSON" + }, + "complete": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "result", + "default": "\"unknown\"", + "type": "PaymentComplete", + "optional": 1, + "type-original": "PaymentComplete" + } + ], + "type-original": "Promise" + } + ], + "specs": "payment-request", + "exposed": "Window", + "name": "complete" + } + } + }, + "exposed": "Window", + "extends": "Object", + "secure-context": 1 + }, + "Range": { + "specs": "dom", + "constructor": { + "specs": "dom", + "signature": [ + { + "type": "Range", + "type-original": "Range" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Range", + "properties": { + "property": { + "collapsed": { + "specs": "dom", + "name": "collapsed", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "startOffset": { + "specs": "dom", + "name": "startOffset", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "endOffset": { + "specs": "dom", + "name": "endOffset", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "startContainer": { + "specs": "dom", + "exposed": "Window", + "name": "startContainer", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "commonAncestorContainer": { + "specs": "dom", + "exposed": "Window", + "name": "commonAncestorContainer", + "type": "Node", + "type-original": "Node", + "read-only": 1 + }, + "endContainer": { + "specs": "dom", + "exposed": "Window", + "name": "endContainer", + "type": "Node", + "type-original": "Node", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "END_TO_END": { + "specs": "dom", + "value": "2", + "exposed": "Window", + "name": "END_TO_END", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "END_TO_START": { + "specs": "dom", + "value": "3", + "exposed": "Window", + "name": "END_TO_START", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "START_TO_END": { + "specs": "dom", + "value": "1", + "exposed": "Window", + "name": "START_TO_END", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "START_TO_START": { + "specs": "dom", + "value": "0", + "exposed": "Window", + "name": "START_TO_START", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "createContextualFragment": { + "specs": "dom-parsing", + "signature": [ + { + "new-object": 1, + "param-min-required": 1, + "type": "DocumentFragment", + "param": [ + { + "name": "fragment", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DocumentFragment" + } + ], + "ce-reactions": 1, + "name": "createContextualFragment", + "exposed": "Window" + }, + "setEndBefore": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setEndBefore" + }, + "setStart": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setStart" + }, + "setStartBefore": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setStartBefore" + }, + "detach": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "detach" + }, + "selectNode": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "selectNode" + }, + "isPointInRange": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "isPointInRange" + }, + "getBoundingClientRect": { + "specs": "cssom-view", + "signature": [ + { + "new-object": 1, + "type": "ClientRect", + "type-original": "ClientRect" + } + ], + "name": "getBoundingClientRect", + "exposed": "Window" + }, + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + }, + "compareBoundaryPoints": { + "signature": [ + { + "param-min-required": 2, + "type": "short", + "param": [ + { + "name": "how", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "sourceRange", + "type": "Range", + "type-original": "Range" + } + ], + "type-original": "short" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "compareBoundaryPoints" + }, + "insertNode": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "insertNode" + }, + "collapse": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "toStart", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "collapse" + }, + "selectNodeContents": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "selectNodeContents" + }, + "cloneContents": { + "signature": [ + { + "new-object": 1, + "type": "DocumentFragment", + "type-original": "DocumentFragment" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "cloneContents" + }, + "setEnd": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + }, + { + "name": "offset", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setEnd" + }, + "cloneRange": { + "signature": [ + { + "new-object": 1, + "type": "Range", + "type-original": "Range" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "cloneRange" + }, + "getClientRects": { + "specs": "cssom-view", + "signature": [ + { + "type": "ClientRectList", + "type-original": "ClientRectList" + } + ], + "name": "getClientRects", + "exposed": "Window" + }, + "surroundContents": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "newParent", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "surroundContents" + }, + "setStartAfter": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setStartAfter" + }, + "deleteContents": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteContents" + }, + "extractContents": { + "signature": [ + { + "new-object": 1, + "type": "DocumentFragment", + "type-original": "DocumentFragment" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "extractContents" + }, + "expand": { + "extension": 1, + "interop": 1, + "specs": "none", + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "Unit", + "type": "ExpandGranularity", + "type-original": "ExpandGranularity" + } + ], + "type-original": "boolean" + } + ], + "name": "expand", + "exposed": "Window" + }, + "setEndAfter": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "setEndAfter" + } + } + }, + "extends": "Object" + }, + "WorkerGlobalScope": { + "specs": "workers", + "anonymous-methods": { + "method": [] + }, + "name": "WorkerGlobalScope", + "properties": { + "property": { + "location": { + "property-descriptor-not-configurable": 1, + "specs": "workers", + "name": "location", + "type-original": "WorkerLocation", + "exposed": "Worker", + "type": "WorkerLocation", + "read-only": 1 + }, + "caches": { + "specs": "ServiceWorker", + "same-object": 1, + "name": "caches", + "type-original": "CacheStorage", + "exposed": "Worker", + "type": "CacheStorage", + "secure-context": 1, + "read-only": 1 + }, + "onerror": { + "specs": "workers", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Worker", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "self": { + "property-descriptor-not-configurable": 1, + "specs": "workers", + "name": "self", + "type-original": "WorkerGlobalScope", + "exposed": "Worker", + "type": "WorkerGlobalScope", + "read-only": 1 + }, + "isSecureContext": { + "specs": "SecureContext", + "exposed": "Worker", + "name": "isSecureContext", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "performance": { + "property-descriptor-not-configurable": 1, + "specs": "workers", + "name": "performance", + "type-original": "Performance", + "exposed": "Worker", + "type": "Performance", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": { + "msWriteProfilerMark": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "profilerMarkName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "msWriteProfilerMark" + } + } + }, + "extends": "EventTarget", + "implements": [ + "WorkerUtils", + "WindowConsole", + "GlobalFetch" + ] + }, + "SVGPoint": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "matrixTransform": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "matrixTransform" + } + } + }, + "name": "SVGPoint", + "extends": "Object", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + } + }, + "DelayNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "DelayNode", + "extends": "AudioNode", + "properties": { + "property": { + "delayTime": { + "specs": "webaudio", + "exposed": "Window", + "name": "delayTime", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + } + } + } + }, + "MSPointerEvent": { + "specs": "pointer-events", + "constructor": { + "specs": "pointer-events", + "signature": [ + { + "param-min-required": 1, + "type": "MSPointerEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PointerEventInit", + "optional": 1, + "type-original": "PointerEventInit" + } + ], + "type-original": "MSPointerEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSPointerEvent", + "properties": { + "property": { + "rotation": { + "specs": "pointer-events", + "exposed": "Window", + "name": "rotation", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "width": { + "specs": "pointer-events", + "exposed": "Window", + "name": "width", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pressure": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pressure", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "isPrimary": { + "specs": "pointer-events", + "exposed": "Window", + "name": "isPrimary", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "pointerType": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pointerType", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "tiltY": { + "specs": "pointer-events", + "exposed": "Window", + "name": "tiltY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "height": { + "specs": "pointer-events", + "exposed": "Window", + "name": "height", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "intermediatePoints": { + "specs": "pointer-events", + "name": "intermediatePoints", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "currentPoint": { + "specs": "pointer-events", + "name": "currentPoint", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "tiltX": { + "specs": "pointer-events", + "exposed": "Window", + "name": "tiltX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pointerId": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pointerId", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "hwTimestamp": { + "specs": "pointer-events", + "exposed": "Window", + "name": "hwTimestamp", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "getCurrentPoint": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "getCurrentPoint" + }, + "initPointerEvent": { + "signature": [ + { + "param-min-required": 27, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "clientYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "ctrlKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + }, + { + "name": "offsetXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "offsetYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "widthArg", + "type": "long", + "type-original": "long" + }, + { + "name": "heightArg", + "type": "long", + "type-original": "long" + }, + { + "name": "pressure", + "type": "float", + "type-original": "float" + }, + { + "name": "rotation", + "type": "long", + "type-original": "long" + }, + { + "name": "tiltX", + "type": "long", + "type-original": "long" + }, + { + "name": "tiltY", + "type": "long", + "type-original": "long" + }, + { + "name": "pointerIdArg", + "type": "long", + "type-original": "long" + }, + { + "name": "pointerType", + "type": "any", + "type-original": "any" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + { + "name": "isPrimary", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "initPointerEvent" + }, + "getIntermediatePoints": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "getIntermediatePoints" + } + } + }, + "extends": "MouseEvent" + }, + "SVGSVGElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "value-syntax": "floating_point_number", + "name": "version" + }, + { + "name": "baseProfile" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_shape_rect", + "name": "clip" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "visible hidden scroll auto inherit", + "value-syntax": "enum", + "name": "overflow" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGSVGElement", + "properties": { + "property": { + "width": { + "specs": "svg2", + "same-object": 1, + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "contentStyleType": { + "specs": "svg11", + "name": "contentStyleType", + "type-original": "DOMString", + "content-attribute": "contentStyleType", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "mime_type", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "onzoom": { + "specs": "svg2", + "name": "onzoom", + "content-attribute": "onzoom", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "SVGZoom" + }, + "x": { + "specs": "svg2", + "same-object": 1, + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y": { + "specs": "svg2", + "same-object": 1, + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "viewport": { + "specs": "svg11", + "name": "viewport", + "type-original": "SVGRect", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "SVGRect", + "read-only": 1 + }, + "onerror": { + "specs": "svg2", + "name": "onerror", + "content-attribute": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "SVGError" + }, + "pixelUnitToMillimeterY": { + "specs": "svg11", + "name": "pixelUnitToMillimeterY", + "constant": 1, + "type-original": "float", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "onresize": { + "specs": "svg2", + "name": "onresize", + "content-attribute": "onresize", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "resize" + }, + "screenPixelToMillimeterY": { + "specs": "svg11", + "name": "screenPixelToMillimeterY", + "constant": 1, + "type-original": "float", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "height": { + "specs": "svg2", + "same-object": 1, + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "onabort": { + "specs": "svg2", + "name": "onabort", + "content-attribute": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "SVGAbort" + }, + "contentScriptType": { + "specs": "svg11", + "name": "contentScriptType", + "type-original": "DOMString", + "content-attribute": "contentScriptType", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "mime_type", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "currentTranslate": { + "specs": "svg2", + "same-object": 1, + "name": "currentTranslate", + "type-original": "SVGPoint", + "exposed": "Window", + "type": "SVGPoint", + "read-only": 1 + }, + "pixelUnitToMillimeterX": { + "specs": "svg11", + "name": "pixelUnitToMillimeterX", + "constant": 1, + "type-original": "float", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "onunload": { + "specs": "svg2", + "name": "onunload", + "content-attribute": "onunload", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "SVGUnload" + }, + "currentScale": { + "specs": "svg2", + "name": "currentScale", + "type-original": "float", + "exposed": "Window", + "type": "float" + }, + "onscroll": { + "specs": "svg2", + "name": "onscroll", + "content-attribute": "onscroll", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll" + }, + "screenPixelToMillimeterX": { + "specs": "svg11", + "name": "screenPixelToMillimeterX", + "constant": 1, + "type-original": "float", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "float", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "svg" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync-or-async", + "specs": "svg11", + "name": "SVGScroll", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "svg11", + "name": "SVGZoom", + "type": "SVGZoomEvent", + "bubbles": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "setCurrentTime": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "seconds", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "setCurrentTime" + }, + "createSVGLength": { + "signature": [ + { + "type": "SVGLength", + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGLength" + }, + "getIntersectionList": { + "signature": [ + { + "param-min-required": 2, + "type": "NodeList", + "param": [ + { + "name": "rect", + "type": "SVGRect", + "type-original": "SVGRect" + }, + { + "nullable": 1, + "name": "referenceElement", + "type": "SVGElement", + "type-original": "SVGElement?" + } + ], + "type-original": "NodeList" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getIntersectionList" + }, + "unpauseAnimations": { + "interop": 1, + "deprecated": 1, + "specs": "svg11", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "unpauseAnimations", + "exposed": "Window" + }, + "createSVGRect": { + "signature": [ + { + "type": "SVGRect", + "type-original": "SVGRect" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGRect" + }, + "pauseAnimations": { + "interop": 1, + "deprecated": 1, + "specs": "svg11", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "pauseAnimations", + "exposed": "Window" + }, + "unsuspendRedrawAll": { + "specs": "svg2", + "name": "unsuspendRedrawAll", + "constant": 1, + "interop": 1, + "deprecated": 1, + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "exposed": "Window" + }, + "checkIntersection": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "element", + "type": "SVGElement", + "type-original": "SVGElement" + }, + { + "name": "rect", + "type": "SVGRect", + "type-original": "SVGRect" + } + ], + "type-original": "boolean" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "checkIntersection" + }, + "suspendRedraw": { + "specs": "svg2", + "name": "suspendRedraw", + "constant": 1, + "interop": 1, + "deprecated": 1, + "signature": [ + { + "param-min-required": 1, + "type": "unsigned long", + "param": [ + { + "name": "maxWaitMilliseconds", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "unsigned long" + } + ], + "exposed": "Window" + }, + "deselectAll": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "deselectAll" + }, + "createSVGAngle": { + "signature": [ + { + "type": "SVGAngle", + "type-original": "SVGAngle" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGAngle" + }, + "getEnclosureList": { + "signature": [ + { + "param-min-required": 2, + "type": "NodeList", + "param": [ + { + "name": "rect", + "type": "SVGRect", + "type-original": "SVGRect" + }, + { + "nullable": 1, + "name": "referenceElement", + "type": "SVGElement", + "type-original": "SVGElement?" + } + ], + "type-original": "NodeList" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getEnclosureList" + }, + "createSVGTransform": { + "signature": [ + { + "type": "SVGTransform", + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGTransform" + }, + "forceRedraw": { + "specs": "svg2", + "name": "forceRedraw", + "constant": 1, + "interop": 1, + "deprecated": 1, + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "exposed": "Window" + }, + "unsuspendRedraw": { + "specs": "svg2", + "name": "unsuspendRedraw", + "constant": 1, + "interop": 1, + "deprecated": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "suspendHandleID", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + }, + "getCurrentTime": { + "interop": 1, + "deprecated": 1, + "specs": "svg11", + "signature": [ + { + "type": "float", + "type-original": "float" + } + ], + "name": "getCurrentTime", + "exposed": "Window" + }, + "checkEnclosure": { + "signature": [ + { + "param-min-required": 2, + "type": "boolean", + "param": [ + { + "name": "element", + "type": "SVGElement", + "type-original": "SVGElement" + }, + { + "name": "rect", + "type": "SVGRect", + "type-original": "SVGRect" + } + ], + "type-original": "boolean" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "checkEnclosure" + }, + "createSVGMatrix": { + "signature": [ + { + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGMatrix" + }, + "createSVGPoint": { + "signature": [ + { + "type": "SVGPoint", + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGPoint" + }, + "createSVGNumber": { + "signature": [ + { + "type": "SVGNumber", + "type-original": "SVGNumber" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGNumber" + }, + "createSVGTransformFromMatrix": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGTransform", + "param": [ + { + "name": "matrix", + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "type-original": "SVGTransform" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "createSVGTransformFromMatrix" + }, + "getComputedStyle": { + "specs": "svg2", + "name": "getComputedStyle", + "signature": [ + { + "param-min-required": 1, + "type": "CSSStyleDeclaration", + "param": [ + { + "name": "elt", + "type": "Element", + "type-original": "Element" + }, + { + "nullable": 1, + "name": "pseudoElt", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "CSSStyleDeclaration" + } + ], + "exposed": "Window" + }, + "getElementById": { + "signature": [ + { + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "elementId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getElementById" + } + } + }, + "extends": "SVGGraphicsElement", + "implements": [ + "DocumentEvent", + "SVGFitToViewBox", + "SVGZoomAndPan" + ] + }, + "SyncManager": { + "constants": { + "constant": {} + }, + "specs": "web-background-sync", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "register": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "tag", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "web-background-sync", + "exposed": "Window", + "name": "register" + }, + "getTags": { + "signature": [ + { + "subtype": { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + }, + "type": "Promise", + "type-original": "Promise>" + } + ], + "specs": "web-background-sync", + "exposed": "Window", + "name": "getTags" + } + } + }, + "name": "SyncManager", + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLLabelElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLLabelElement", + "properties": { + "property": { + "htmlFor": { + "specs": "html5", + "ce-reactions": 1, + "name": "htmlFor", + "content-attribute": "for", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "id_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "label" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WebGLContextEvent": { + "specs": "webgl", + "constructor": { + "specs": "webgl", + "signature": [ + { + "param-min-required": 1, + "type": "WebGLContextEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "WebGLContextEventInit", + "optional": 1, + "type-original": "WebGLContextEventInit" + } + ], + "type-original": "WebGLContextEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WebGLContextEvent", + "properties": { + "property": { + "statusMessage": { + "specs": "webgl", + "exposed": "Window", + "name": "statusMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "WebKitFileEntry": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "file": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "WebKitFileCallback", + "type-original": "WebKitFileCallback" + }, + { + "name": "errorCallback", + "type": "WebKitErrorCallback", + "optional": 1, + "type-original": "WebKitErrorCallback" + } + ], + "type-original": "void" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "file" + } + } + }, + "name": "WebKitFileEntry", + "extends": "WebKitEntry", + "properties": { + "property": {} + } + }, + "HTMLDirectoryElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLDirectoryElement", + "properties": { + "property": { + "compact": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "compact", + "content-attribute": "compact", + "type-original": "boolean", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "dir" + } + ], + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLLegendElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLLegendElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "bottom center left right top", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "legend" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WebGLRenderbuffer": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLRenderbuffer", + "extends": "WebGLObject", + "properties": { + "property": {} + } + }, + "SVGAnimatedInteger": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedInteger", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "name": "animVal", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "exposed": "Window", + "name": "baseVal", + "type": "long", + "type-original": "long" + } + } + } + }, + "GamepadHapticActuator": { + "constants": { + "constant": {} + }, + "specs": "gamepad extension", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "pulse": { + "signature": [ + { + "subtype": { + "type": "boolean" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "value", + "type": "double", + "type-original": "double" + }, + { + "name": "duration", + "type": "double", + "type-original": "double" + } + ], + "type-original": "Promise" + } + ], + "specs": "gamepad extension", + "exposed": "Window", + "name": "pulse" + } + } + }, + "name": "GamepadHapticActuator", + "extends": "Object", + "properties": { + "property": { + "type": { + "specs": "gamepad extension", + "exposed": "Window", + "name": "type", + "type": "GamepadHapticActuatorType", + "type-original": "GamepadHapticActuatorType", + "read-only": 1 + } + } + } + }, + "SVGTSpanElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical inherit", + "value-syntax": "enum", + "name": "alignment-baseline" + }, + { + "enum-values": "baseline sub super inherit", + "value-syntax": "css_percentage_or_length", + "name": "baseline-shift" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "ltr rtl inherit", + "value-syntax": "enum", + "name": "direction" + }, + { + "enum-values": "auto use-script no-change reset-size ideographic alphabetic hanging mathematical central middle text-after-edge text-before-edge inherit", + "value-syntax": "enum", + "name": "dominant-baseline" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "caption icon menu message-box small-caption status-bar inherit", + "value-syntax": "css_font", + "name": "font" + }, + { + "enum-values": "inherit", + "value-syntax": "comma_separated_css_font_family_followed_by_generic_family", + "name": "font-family" + }, + { + "enum-values": "smaller larger xx-small x-small small medium large x-large xx-large inherit initial", + "value-syntax": "css_percentage_or_length", + "name": "font-size" + }, + { + "enum-values": "none inherit", + "value-syntax": "floating_point_number", + "name": "font-size-adjust" + }, + { + "enum-values": "normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded inherit", + "value-syntax": "enum", + "name": "font-stretch" + }, + { + "enum-values": "normal italic oblique inherit initial", + "value-syntax": "enum", + "name": "font-style" + }, + { + "enum-values": "normal small-caps inherit initial", + "value-syntax": "enum", + "name": "font-variant" + }, + { + "enum-values": "normal bold bolder lighter 100 200 300 400 500 600 700 800 900 inherit initial", + "value-syntax": "enum", + "name": "font-weight" + }, + { + "enum-values": "inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-horizontal" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_angle", + "name": "glyph-orientation-vertical" + }, + { + "enum-values": "auto inherit", + "value-syntax": "css_length", + "name": "kerning" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "letter-spacing" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "start middle end inherit", + "value-syntax": "enum", + "name": "text-anchor" + }, + { + "enum-values": "none underline overline line-through blink inherit", + "value-syntax": "enum", + "name": "text-decoration" + }, + { + "enum-values": "normal embed bidi-override inherit", + "value-syntax": "enum", + "name": "unicode-bidi" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + }, + { + "enum-values": "normal inherit initial", + "value-syntax": "css_length", + "name": "word-spacing" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTSpanElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "tspan" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGTextPositioningElement" + }, + "HTMLLIElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLLIElement", + "properties": { + "property": { + "value": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "long", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "long", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "html5", + "ce-reactions": 1, + "type-original": "DOMString", + "content-attribute": "type", + "interop": 1, + "pure": 1, + "content-attribute-enum-values": "1 a A i I disc circle square", + "name": "type", + "deprecated": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "li" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "RTCSrtpSdesTransport": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 3, + "type": "RTCSrtpSdesTransport", + "param": [ + { + "name": "transport", + "type": "RTCIceTransport", + "type-original": "RTCIceTransport" + }, + { + "name": "encryptParameters", + "type": "RTCSrtpSdesParameters", + "type-original": "RTCSrtpSdesParameters" + }, + { + "name": "decryptParameters", + "type": "RTCSrtpSdesParameters", + "type-original": "RTCSrtpSdesParameters" + } + ], + "type-original": "RTCSrtpSdesTransport" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCSrtpSdesTransport", + "properties": { + "property": { + "transport": { + "specs": "ortc", + "exposed": "Window", + "name": "transport", + "type": "RTCIceTransport", + "type-original": "RTCIceTransport", + "read-only": 1 + }, + "onerror": { + "specs": "ortc", + "name": "onerror", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "error", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "getLocalParameters": { + "signature": [ + { + "subtype": { + "type": "RTCSrtpSdesParameters" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getLocalParameters", + "static": 1 + } + } + }, + "extends": "EventTarget" + }, + "SVGPathSegLinetoVerticalAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoVerticalAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "PerfWidgetExternal": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "PerfWidgetExternal", + "properties": { + "property": { + "maxCpuSpeed": { + "specs": "none", + "exposed": "Window", + "name": "maxCpuSpeed", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "irDisablingContentString": { + "specs": "none", + "exposed": "Window", + "name": "irDisablingContentString", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "independentRenderingEnabled": { + "specs": "none", + "exposed": "Window", + "name": "independentRenderingEnabled", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "irStatusAvailable": { + "specs": "none", + "exposed": "Window", + "name": "irStatusAvailable", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "performanceCounter": { + "specs": "none", + "exposed": "Window", + "name": "performanceCounter", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + }, + "averagePaintTime": { + "specs": "none", + "exposed": "Window", + "name": "averagePaintTime", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "paintRequestsPerSecond": { + "specs": "none", + "exposed": "Window", + "name": "paintRequestsPerSecond", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "activeNetworkRequestCount": { + "specs": "none", + "exposed": "Window", + "name": "activeNetworkRequestCount", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "extraInformationEnabled": { + "specs": "none", + "exposed": "Window", + "name": "extraInformationEnabled", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "averageFrameTime": { + "specs": "none", + "exposed": "Window", + "name": "averageFrameTime", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "performanceCounterFrequency": { + "specs": "none", + "exposed": "Window", + "name": "performanceCounterFrequency", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "repositionWindow": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "x", + "type": "long", + "type-original": "long" + }, + { + "name": "y", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "repositionWindow" + }, + "getRecentMemoryUsage": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "last", + "type": "unsigned long long", + "type-original": "unsigned long long?" + } + ], + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getRecentMemoryUsage" + }, + "getMemoryUsage": { + "signature": [ + { + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getMemoryUsage" + }, + "resizeWindow": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "width", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "height", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "resizeWindow" + }, + "getProcessCpuUsage": { + "signature": [ + { + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getProcessCpuUsage" + }, + "removeEventListener": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "eventType", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "callback", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "removeEventListener" + }, + "getRecentCpuUsage": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "last", + "type": "unsigned long long", + "type-original": "unsigned long long?" + } + ], + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getRecentCpuUsage" + }, + "addEventListener": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "eventType", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "callback", + "type": "Function", + "type-original": "Function" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "addEventListener" + }, + "getRecentFrames": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "last", + "type": "unsigned long long", + "type-original": "unsigned long long?" + } + ], + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getRecentFrames" + }, + "getRecentPaintRequests": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "nullable": 1, + "name": "last", + "type": "unsigned long long", + "type-original": "unsigned long long?" + } + ], + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getRecentPaintRequests" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "ReadableStreamReader": { + "constants": { + "constant": {} + }, + "specs": "whatwg-streams", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "releaseLock": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "releaseLock" + }, + "read": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "read" + }, + "cancel": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "cancel" + } + } + }, + "name": "ReadableStreamReader", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGFEImageElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + }, + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEImageElement", + "properties": { + "property": { + "preserveAspectRatio": { + "specs": "filter-effects", + "name": "preserveAspectRatio", + "constant": 1, + "type-original": "SVGAnimatedPreserveAspectRatio", + "exposed": "Window", + "type": "SVGAnimatedPreserveAspectRatio", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feImage" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes", + "SVGURIReference" + ] + }, + "MediaKeySession": { + "specs": "encrypted-media", + "anonymous-methods": { + "method": [] + }, + "name": "MediaKeySession", + "properties": { + "property": { + "closed": { + "specs": "encrypted-media", + "name": "closed", + "type-original": "Promise", + "subtype": { + "type": "void" + }, + "exposed": "Window", + "type": "Promise", + "read-only": 1 + }, + "sessionId": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "sessionId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "keyStatuses": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "keyStatuses", + "type": "MediaKeyStatusMap", + "type-original": "MediaKeyStatusMap", + "read-only": 1 + }, + "expiration": { + "specs": "encrypted-media", + "exposed": "Window", + "name": "expiration", + "type": "unrestricted double", + "type-original": "unrestricted double", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "EME", + "name": "keystatuseschange", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "EME", + "name": "message", + "type": "MediaKeyMessageEvent" + } + ] + }, + "methods": { + "method": { + "remove": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "remove" + }, + "close": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "close" + }, + "generateRequest": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "initDataType", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "initData", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "generateRequest" + }, + "update": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "response", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "update" + }, + "load": { + "signature": [ + { + "subtype": { + "type": "boolean" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "sessionId", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "load" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "SVGStyleElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGStyleElement", + "properties": { + "property": { + "disabled": { + "interop": 1, + "extension": 1, + "specs": "none", + "exposed": "Window", + "name": "disabled", + "type": "boolean", + "type-original": "boolean" + }, + "media": { + "specs": "svg2", + "name": "media", + "content-attribute": "media", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "media_query", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "title": { + "specs": "svg2", + "name": "title", + "content-attribute": "title", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "svg2", + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "style" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement" + }, + "Worker": { + "specs": "workers", + "constructor": { + "specs": "workers", + "signature": [ + { + "param-min-required": 1, + "type": "Worker", + "param": [ + { + "name": "stringUrl", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Worker" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Worker", + "properties": { + "property": { + "onmessage": { + "specs": "workers", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "message" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "Workers", + "name": "error", + "type": "ErrorEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "Workers", + "name": "message", + "type": "MessageEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "postMessage": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "type-original": "any" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "default": "[]", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Window", + "name": "postMessage" + }, + "terminate": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Window", + "name": "terminate" + } + } + }, + "extends": "EventTarget", + "implements": [ + "AbstractWorker" + ] + }, + "Gamepad": { + "constants": { + "constant": {} + }, + "specs": "gamepad", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "Gamepad", + "extends": "Object", + "properties": { + "property": { + "mapping": { + "specs": "gamepad", + "exposed": "Window", + "name": "mapping", + "type": "GamepadMappingType", + "type-original": "GamepadMappingType", + "read-only": 1 + }, + "connected": { + "specs": "gamepad", + "exposed": "Window", + "name": "connected", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "axes": { + "pure": 1, + "specs": "gamepad", + "name": "axes", + "type-original": "sequence", + "subtype": { + "type": "double" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "displayId": { + "specs": "WebVR", + "name": "displayId", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1, + "type-original": "unsigned long" + }, + "index": { + "specs": "gamepad", + "exposed": "Window", + "name": "index", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "timestamp": { + "specs": "gamepad", + "exposed": "Window", + "name": "timestamp", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "hand": { + "specs": "gamepad extension", + "name": "hand", + "exposed": "Window", + "type": "GamepadHand", + "read-only": 1, + "type-original": "GamepadHand" + }, + "id": { + "specs": "gamepad", + "exposed": "Window", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "hapticActuators": { + "specs": "gamepad extension", + "name": "hapticActuators", + "constant": 1, + "type-original": "sequence", + "subtype": { + "type": "GamepadHapticActuator" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "pose": { + "specs": "gamepad extension", + "name": "pose", + "type-original": "GamepadPose?", + "nullable": 1, + "exposed": "Window", + "type": "GamepadPose", + "read-only": 1 + }, + "buttons": { + "pure": 1, + "specs": "gamepad", + "name": "buttons", + "type-original": "sequence", + "subtype": { + "type": "GamepadButton" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + } + } + } + }, + "NotificationEvent": { + "specs": "notifications", + "constructor": { + "specs": "notifications", + "signature": [ + { + "param-min-required": 2, + "type": "NotificationEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "NotificationEventInit", + "type-original": "NotificationEventInit" + } + ], + "type-original": "NotificationEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "NotificationEvent", + "properties": { + "property": { + "notification": { + "specs": "notifications", + "exposed": "Worker", + "name": "notification", + "type": "Notification", + "type-original": "Notification", + "read-only": 1 + }, + "action": { + "specs": "notifications", + "exposed": "Worker", + "name": "action", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": {} + }, + "extends": "ExtendableEvent" + }, + "WebKitPoint": { + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "param-min-required": 0, + "type": "WebKitPoint", + "param": [ + { + "name": "x", + "default": "0", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "y", + "default": "0", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "WebKitPoint" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WebKitPoint", + "properties": { + "property": { + "y": { + "specs": "none", + "exposed": "Window", + "name": "y", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "x": { + "specs": "none", + "exposed": "Window", + "name": "x", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object" + }, + "DocumentType": { + "specs": "dom4 dom-level-3-core", + "anonymous-methods": { + "method": [] + }, + "name": "DocumentType", + "properties": { + "property": { + "name": { + "specs": "dom4 dom-level-3-core", + "name": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "internalSubset": { + "specs": "dom4 dom-level-3-core", + "name": "internalSubset", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "systemId": { + "specs": "dom4 dom-level-3-core", + "name": "systemId", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "notations": { + "specs": "dom4 dom-level-3-core", + "name": "notations", + "type-original": "NamedNodeMap", + "exposed": "Window", + "type": "NamedNodeMap", + "read-only": 1 + }, + "publicId": { + "specs": "dom4 dom-level-3-core", + "name": "publicId", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "entities": { + "specs": "dom4 dom-level-3-core", + "name": "entities", + "type-original": "NamedNodeMap", + "exposed": "Window", + "type": "NamedNodeMap", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Node", + "implements": [ + "ChildNode" + ] + }, + "SVGRadialGradientElement": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGRadialGradientElement", + "properties": { + "property": { + "cx": { + "specs": "svg2", + "same-object": 1, + "name": "cx", + "constant": 1, + "content-attribute": "cx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "r": { + "specs": "svg2", + "same-object": 1, + "name": "r", + "constant": 1, + "content-attribute": "r", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "fx": { + "specs": "svg2", + "same-object": 1, + "name": "fx", + "constant": 1, + "content-attribute": "fx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "cy": { + "specs": "svg2", + "same-object": 1, + "name": "cy", + "constant": 1, + "content-attribute": "cy", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "fy": { + "specs": "svg2", + "same-object": 1, + "name": "fy", + "constant": 1, + "content-attribute": "fy", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "radialGradient" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGGradientElement" + }, + "MSGestureEvent": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "MSGestureEvent", + "properties": { + "property": { + "translationY": { + "specs": "none", + "exposed": "Window", + "name": "translationY", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "offsetY": { + "specs": "none", + "exposed": "Window", + "name": "offsetY", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "velocityExpansion": { + "specs": "none", + "exposed": "Window", + "name": "velocityExpansion", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "velocityAngular": { + "specs": "none", + "exposed": "Window", + "name": "velocityAngular", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "velocityY": { + "specs": "none", + "exposed": "Window", + "name": "velocityY", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "translationX": { + "specs": "none", + "exposed": "Window", + "name": "translationX", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "velocityX": { + "specs": "none", + "exposed": "Window", + "name": "velocityX", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "hwTimestamp": { + "specs": "none", + "exposed": "Window", + "name": "hwTimestamp", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + }, + "offsetX": { + "specs": "none", + "exposed": "Window", + "name": "offsetX", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "screenX": { + "specs": "none", + "exposed": "Window", + "name": "screenX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "rotation": { + "specs": "none", + "exposed": "Window", + "name": "rotation", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "expansion": { + "specs": "none", + "exposed": "Window", + "name": "expansion", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "clientY": { + "specs": "none", + "exposed": "Window", + "name": "clientY", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "screenY": { + "specs": "none", + "exposed": "Window", + "name": "screenY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "scale": { + "specs": "none", + "exposed": "Window", + "name": "scale", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "gestureObject": { + "specs": "none", + "exposed": "Window", + "name": "gestureObject", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "clientX": { + "specs": "none", + "exposed": "Window", + "name": "clientX", + "type": "float", + "type-original": "float", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "MSGESTURE_FLAG_BEGIN": { + "specs": "none", + "value": "0x00000001", + "exposed": "Window", + "name": "MSGESTURE_FLAG_BEGIN", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "MSGESTURE_FLAG_CANCEL": { + "specs": "none", + "value": "0x00000004", + "exposed": "Window", + "name": "MSGESTURE_FLAG_CANCEL", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "MSGESTURE_FLAG_END": { + "specs": "none", + "value": "0x00000002", + "exposed": "Window", + "name": "MSGESTURE_FLAG_END", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "MSGESTURE_FLAG_INERTIA": { + "specs": "none", + "value": "0x00000008", + "exposed": "Window", + "name": "MSGESTURE_FLAG_INERTIA", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "MSGESTURE_FLAG_NONE": { + "specs": "none", + "value": "0x00000000", + "exposed": "Window", + "name": "MSGESTURE_FLAG_NONE", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "methods": { + "method": { + "initGestureEvent": { + "signature": [ + { + "param-min-required": 21, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "clientYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "offsetXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "offsetYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "translationXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "translationYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "scaleArg", + "type": "float", + "type-original": "float" + }, + { + "name": "expansionArg", + "type": "float", + "type-original": "float" + }, + { + "name": "rotationArg", + "type": "float", + "type-original": "float" + }, + { + "name": "velocityXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "velocityYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "velocityExpansionArg", + "type": "float", + "type-original": "float" + }, + { + "name": "velocityAngularArg", + "type": "float", + "type-original": "float" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long", + "type-original": "unsigned long long" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "initGestureEvent" + } + } + }, + "exposed": "Window", + "extends": "UIEvent" + }, + "SubtleCrypto": { + "constants": { + "constant": {} + }, + "specs": "webcryptoapi", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "unwrapKey": { + "signature": [ + { + "subtype": { + "type": "CryptoKey" + }, + "param-min-required": 7, + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "wrappedKey", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + { + "name": "unwrappingKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "unwrapAlgorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "unwrappedKeyAlgorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean", + "type-original": "boolean" + }, + { + "subtype": { + "type": "DOMString" + }, + "name": "keyUsages", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "unwrapKey" + }, + "encrypt": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "data", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "encrypt" + }, + "importKey": { + "signature": [ + { + "subtype": { + "type": "CryptoKey" + }, + "param-min-required": 5, + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "keyData", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + }, + { + "type": "JsonWebKey" + } + ], + "type-original": "(BufferSource or JsonWebKey)" + }, + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean", + "type-original": "boolean" + }, + { + "subtype": { + "type": "DOMString" + }, + "name": "keyUsages", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "importKey" + }, + "deriveBits": { + "signature": [ + { + "subtype": { + "type": "ArrayBuffer" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "baseKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "deriveBits" + }, + "wrapKey": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 4, + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "wrappingKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "wrapAlgorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "wrapKey" + }, + "verify": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 4, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "signature", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + }, + { + "name": "data", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "verify" + }, + "deriveKey": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 5, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "baseKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "derivedKeyType", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean", + "type-original": "boolean" + }, + { + "subtype": { + "type": "DOMString" + }, + "name": "keyUsages", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "deriveKey" + }, + "digest": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "data", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "digest" + }, + "exportKey": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 2, + "type": "Promise", + "param": [ + { + "name": "format", + "type": "DOMString", + "type-original": "KeyFormat" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "exportKey" + }, + "generateKey": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "extractable", + "type": "boolean", + "type-original": "boolean" + }, + { + "subtype": { + "type": "DOMString" + }, + "name": "keyUsages", + "type": "sequence", + "type-original": "sequence" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "generateKey" + }, + "decrypt": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "data", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "decrypt" + }, + "sign": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 3, + "type": "Promise", + "param": [ + { + "name": "algorithm", + "type": [ + { + "type": "DOMString" + }, + { + "type": "Algorithm" + } + ], + "type-original": "AlgorithmIdentifier" + }, + { + "name": "key", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + { + "name": "data", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "webcryptoapi", + "exposed": "Window", + "name": "sign" + } + } + }, + "name": "SubtleCrypto", + "secure-context": 1, + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLTableSectionElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTableSectionElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "ch": { + "specs": "html5", + "ce-reactions": 1, + "name": "ch", + "type-original": "DOMString", + "content-attribute": "char", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "vAlign": { + "content-attribute-enum-values": "middle baseline bottom top", + "specs": "html5", + "ce-reactions": 1, + "name": "vAlign", + "type-original": "DOMString", + "content-attribute": "valign", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "rows": { + "specs": "html5", + "same-object": 1, + "name": "rows", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + }, + "chOff": { + "specs": "html5", + "ce-reactions": 1, + "name": "chOff", + "type-original": "DOMString", + "content-attribute": "charoff", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "thead" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "tbody" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "tfoot" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "deleteRow": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "deleteRow" + }, + "insertRow": { + "signature": [ + { + "param-min-required": 0, + "type": "HTMLElement", + "param": [ + { + "name": "index", + "default": "-1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "HTMLElement" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "insertRow" + } + } + }, + "extends": "HTMLElement" + }, + "HTMLInputElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLInputElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "files": { + "pure": 1, + "specs": "html5", + "name": "files", + "type-original": "FileList?", + "nullable": 1, + "exposed": "Window", + "type": "FileList", + "read-only": 1 + }, + "max": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "max", + "content-attribute": "max", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formTarget": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formTarget", + "content-attribute": "formtarget", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "webkitdirectory": { + "specs": "entries-api", + "ce-reactions": 1, + "name": "webkitdirectory", + "type-original": "boolean", + "content-attribute": "webkitdirectory", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "selectionStart": { + "specs": "html5", + "nullable": 1, + "exposed": "Window", + "name": "selectionStart", + "type": "unsigned long", + "type-original": "unsigned long?" + }, + "willValidate": { + "pure": 1, + "specs": "html5", + "name": "willValidate", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "readOnly": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "readOnly", + "content-attribute": "readonly", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "step": { + "content-attribute-enum-values": "any", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "step", + "content-attribute": "step", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "required": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "required", + "content-attribute": "required", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "list": { + "pure": 1, + "specs": "html5", + "name": "list", + "content-attribute": "list", + "type-original": "HTMLElement?", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "id_ref", + "type": "HTMLElement", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "align": { + "pure": 1, + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "autocomplete": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autocomplete", + "content-attribute": "autocomplete", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "value": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "src": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "useMap": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "useMap", + "type-original": "DOMString", + "content-attribute": "usemap", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "hash_name_ref", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formAction": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formAction", + "content-attribute": "formaction", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "checked": { + "pure": 1, + "specs": "html5", + "exposed": "Window", + "name": "checked", + "type": "boolean", + "type-original": "boolean" + }, + "validity": { + "pure": 1, + "specs": "html5", + "name": "validity", + "type-original": "ValidityState", + "exposed": "Window", + "type": "ValidityState", + "read-only": 1 + }, + "valueAsDate": { + "specs": "html5", + "nullable": 1, + "exposed": "Window", + "name": "valueAsDate", + "type": "object", + "type-original": "object?" + }, + "type": { + "content-attribute-enum-values": "text hidden search tel url email password month week number range checkbox radio file submit image reset button", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "defaultValue": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "defaultValue", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "disabled": { + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "indeterminate": { + "pure": 1, + "specs": "html5", + "name": "indeterminate", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "size": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "size", + "content-attribute": "size", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "autofocus": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autofocus", + "content-attribute": "autofocus", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "selectionEnd": { + "specs": "html5", + "nullable": 1, + "exposed": "Window", + "name": "selectionEnd", + "type": "unsigned long", + "type-original": "unsigned long?" + }, + "formEnctype": { + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formEnctype", + "content-attribute": "formenctype", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "valueAsNumber": { + "pure": 1, + "specs": "html5", + "name": "valueAsNumber", + "type-original": "double", + "exposed": "Window", + "type": "double" + }, + "placeholder": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "placeholder", + "content-attribute": "placeholder", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formMethod": { + "content-attribute-enum-values": "GET POST", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formMethod", + "content-attribute": "formmethod", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "defaultChecked": { + "specs": "html5", + "ce-reactions": 1, + "name": "defaultChecked", + "content-attribute": "checked", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "alt": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "alt", + "content-attribute": "alt", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "accept": { + "content-attribute-enum-values": "audio/* video/* image/*", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "accept", + "content-attribute": "accept", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "comma_separated_mime_types", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "min": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "min", + "content-attribute": "min", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "selectionDirection": { + "specs": "html5", + "nullable": 1, + "exposed": "Window", + "name": "selectionDirection", + "type": "DOMString", + "type-original": "DOMString?" + }, + "height": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "unsigned long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "unsigned long", + "content-attribute-reflects": 1 + }, + "pattern": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "pattern", + "content-attribute": "pattern", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "regular_expression", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "formNoValidate": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "formNoValidate", + "content-attribute": "formnovalidate", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "maxLength": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "maxLength", + "content-attribute": "maxlength", + "type-original": "long", + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "type": "long", + "content-attribute-reflects": 1 + }, + "multiple": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "multiple", + "content-attribute": "multiple", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "input", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "change", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "async", + "specs": "HTML5", + "name": "input", + "type": "Event", + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "error", + "type": "Event" + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "invalid", + "type": "Event", + "cancelable": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "stepDown": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "n", + "default": "1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "stepDown" + }, + "stepUp": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "n", + "default": "1", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "stepUp" + }, + "setSelectionRange": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "start", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "end", + "type": "unsigned long", + "optional": 1, + "type-original": "unsigned long" + }, + { + "name": "direction", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setSelectionRange" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + }, + "select": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "select" + } + } + }, + "extends": "HTMLElement" + }, + "HTMLAnchorElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLAnchorElement", + "properties": { + "property": { + "rel": { + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "specs": "html5", + "ce-reactions": 1, + "name": "rel", + "content-attribute": "rel", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_enums", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "coords": { + "specs": "html5", + "ce-reactions": 1, + "name": "coords", + "type-original": "DOMString", + "content-attribute": "coords", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "comma_separated_signed_integers", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "Methods": { + "extension": 1, + "specs": "none", + "name": "Methods", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "target": { + "content-attribute-enum-values": "_blank _self _parent _top", + "specs": "html5", + "ce-reactions": 1, + "name": "target", + "content-attribute": "target", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "protocolLong": { + "extension": 1, + "specs": "none", + "name": "protocolLong", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "text": { + "specs": "html5", + "ce-reactions": 1, + "name": "text", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "name": { + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "type-original": "DOMString", + "content-attribute": "name", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "charset": { + "specs": "html5", + "ce-reactions": 1, + "name": "charset", + "type-original": "DOMString", + "content-attribute": "charset", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "character_encoding", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "hreflang": { + "specs": "html5", + "ce-reactions": 1, + "name": "hreflang", + "content-attribute": "hreflang", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "urn": { + "extension": 1, + "specs": "none", + "name": "urn", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "nameProp": { + "extension": 1, + "specs": "none", + "name": "nameProp", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "rev": { + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright glossary help index next prev section start stylesheet subsection", + "specs": "html5", + "ce-reactions": 1, + "name": "rev", + "type-original": "DOMString", + "content-attribute": "rev", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "space_separated_enums", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "content-attribute": "type", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "mime_type", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "shape": { + "content-attribute-enum-values": "circ circle poly polygon rect rectangle", + "specs": "html5", + "ce-reactions": 1, + "name": "shape", + "type-original": "DOMString", + "content-attribute": "shape", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "mimeType": { + "extension": 1, + "specs": "none", + "name": "mimeType", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "download": { + "specs": "html5", + "ce-reactions": 1, + "name": "download", + "content-attribute": "download", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "a" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "HTMLHyperlinkElementUtils" + ] + }, + "AudioProcessingEvent": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "AudioProcessingEvent", + "extends": "Event", + "properties": { + "property": { + "playbackTime": { + "specs": "webaudio", + "exposed": "Window", + "name": "playbackTime", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "outputBuffer": { + "specs": "webaudio", + "exposed": "Window", + "name": "outputBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer", + "read-only": 1 + }, + "inputBuffer": { + "specs": "webaudio", + "exposed": "Window", + "name": "inputBuffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer", + "read-only": 1 + } + } + } + }, + "HTMLParamElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLParamElement", + "properties": { + "property": { + "value": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "type": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "type", + "type-original": "DOMString", + "content-attribute": "type", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "mime_type", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "valueType": { + "pure": 1, + "content-attribute-enum-values": "data ref object", + "specs": "html5", + "ce-reactions": 1, + "name": "valueType", + "type-original": "DOMString", + "content-attribute": "valuetype", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "param", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "StereoPannerNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "StereoPannerNode", + "extends": "AudioNode", + "properties": { + "property": { + "pan": { + "specs": "webaudio", + "exposed": "Window", + "name": "pan", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + } + } + } + }, + "SVGAnimatedNumber": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "SVGAnimatedNumber", + "extends": "Object", + "properties": { + "property": { + "animVal": { + "specs": "svg2", + "name": "animVal", + "type-original": "float", + "exposed": "Window", + "type": "float", + "read-only": 1 + }, + "baseVal": { + "specs": "svg2", + "exposed": "Window", + "name": "baseVal", + "type": "float", + "type-original": "float" + } + } + } + }, + "PushMessageData": { + "constants": { + "constant": {} + }, + "specs": "push-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "arrayBuffer": { + "signature": [ + { + "type": "ArrayBuffer", + "type-original": "ArrayBuffer" + } + ], + "specs": "push-api", + "exposed": "Worker", + "name": "arrayBuffer" + }, + "text": { + "signature": [ + { + "type": "USVString", + "type-original": "USVString" + } + ], + "specs": "push-api", + "exposed": "Worker", + "name": "text" + }, + "blob": { + "signature": [ + { + "type": "Blob", + "type-original": "Blob" + } + ], + "specs": "push-api", + "exposed": "Worker", + "name": "blob" + }, + "json": { + "signature": [ + { + "type": "any", + "type-original": "JSON" + } + ], + "specs": "push-api", + "exposed": "Worker", + "name": "json" + } + } + }, + "exposed": "Worker", + "name": "PushMessageData", + "extends": "Object", + "properties": { + "property": {} + } + }, + "HTMLPreElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLPreElement", + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "type-original": "long", + "content-attribute": "width", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "long", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "pre" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "listing" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "xmp" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "PushSubscriptionOptions": { + "specs": "push-api", + "anonymous-methods": { + "method": [] + }, + "name": "PushSubscriptionOptions", + "properties": { + "property": { + "userVisibleOnly": { + "specs": "push-api", + "exposed": "Window", + "name": "userVisibleOnly", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "applicationServerKey": { + "specs": "push-api", + "name": "applicationServerKey", + "type-original": "ArrayBuffer?", + "nullable": 1, + "exposed": "Window", + "type": "ArrayBuffer", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "DOMTokenList": { + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "name": "DOMTokenList", + "properties": { + "property": { + "length": { + "specs": "dom", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "contains": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "token", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "contains" + }, + "toggle": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "token", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "force", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "boolean" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "toggle" + }, + "remove": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "tokens", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "remove" + }, + "add": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "tokens", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "add" + }, + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString?" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "item" + }, + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Window", + "iterable": "value", + "extends": "Object" + }, + "Response": { + "specs": "whatwg-fetch", + "constructor": { + "specs": "whatwg-fetch", + "signature": [ + { + "param-min-required": 0, + "type": "Response", + "param": [ + { + "name": "body", + "default": "null", + "type": [ + { + "nullable": 1, + "type": "Blob" + }, + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ] + }, + { + "nullable": 1, + "type": "FormData" + }, + { + "nullable": 1, + "type": "USVString" + } + ], + "optional": 1, + "type-original": "BodyInit?" + }, + { + "name": "init", + "type": "ResponseInit", + "optional": 1, + "type-original": "ResponseInit" + } + ], + "type-original": "Response" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Response", + "properties": { + "property": { + "headers": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "headers", + "type": "Headers", + "type-original": "Headers", + "read-only": 1 + }, + "status": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "status", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "statusText": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "statusText", + "type": "ByteString", + "type-original": "ByteString", + "read-only": 1 + }, + "ok": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "ok", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "body": { + "specs": "whatwg-fetch", + "name": "body", + "type-original": "ReadableStream?", + "nullable": 1, + "exposed": "Window", + "type": "ReadableStream", + "read-only": 1 + }, + "redirected": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "redirected", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "url": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "url", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "type": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "type", + "type": "ResponseType", + "type-original": "ResponseType", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "clone": { + "signature": [ + { + "new-object": 1, + "type": "Response", + "type-original": "Response" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "clone" + }, + "redirect": { + "signature": [ + { + "param-min-required": 1, + "type": "Response", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "status", + "default": "302", + "type": "unsigned short", + "optional": 1, + "type-original": "unsigned short" + } + ], + "type-original": "Response" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "redirect", + "static": 1 + }, + "error": { + "signature": [ + { + "type": "Response", + "type-original": "Response" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "error", + "static": 1 + } + } + }, + "exposed": "Window", + "extends": "Object", + "implements": [ + "Body" + ] + }, + "SVGMetadataElement": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGMetadataElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "metadata" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGElement" + }, + "SVGPathSegMovetoAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegMovetoAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "WebKitCSSMatrix": { + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "param-min-required": 0, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "text", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WebKitCSSMatrix", + "properties": { + "property": { + "m24": { + "specs": "none", + "exposed": "Window", + "name": "m24", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m34": { + "specs": "none", + "exposed": "Window", + "name": "m34", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "a": { + "specs": "none", + "exposed": "Window", + "name": "a", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "d": { + "specs": "none", + "exposed": "Window", + "name": "d", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m41": { + "specs": "none", + "exposed": "Window", + "name": "m41", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m32": { + "specs": "none", + "exposed": "Window", + "name": "m32", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m11": { + "specs": "none", + "exposed": "Window", + "name": "m11", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "f": { + "specs": "none", + "exposed": "Window", + "name": "f", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "e": { + "specs": "none", + "exposed": "Window", + "name": "e", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m23": { + "specs": "none", + "exposed": "Window", + "name": "m23", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m14": { + "specs": "none", + "exposed": "Window", + "name": "m14", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m33": { + "specs": "none", + "exposed": "Window", + "name": "m33", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m22": { + "specs": "none", + "exposed": "Window", + "name": "m22", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m21": { + "specs": "none", + "exposed": "Window", + "name": "m21", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "c": { + "specs": "none", + "exposed": "Window", + "name": "c", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m12": { + "specs": "none", + "exposed": "Window", + "name": "m12", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m42": { + "specs": "none", + "exposed": "Window", + "name": "m42", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "b": { + "specs": "none", + "exposed": "Window", + "name": "b", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m43": { + "specs": "none", + "exposed": "Window", + "name": "m43", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m31": { + "specs": "none", + "exposed": "Window", + "name": "m31", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m13": { + "specs": "none", + "exposed": "Window", + "name": "m13", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + }, + "m44": { + "specs": "none", + "exposed": "Window", + "name": "m44", + "type": "float", + "tags": "CSSOM", + "type-original": "float" + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "skewY": { + "signature": [ + { + "param-min-required": 1, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "skewY", + "tags": "CSSOM" + }, + "multiply": { + "signature": [ + { + "param-min-required": 1, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "secondMatrix", + "type": "WebKitCSSMatrix", + "type-original": "WebKitCSSMatrix" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "multiply", + "tags": "CSSOM" + }, + "setMatrixValue": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "setMatrixValue", + "tags": "CSSOM" + }, + "toString": { + "signature": [ + { + "type": "DOMString", + "type-original": "DOMString" + } + ], + "specs": "none", + "exposed": "Window", + "name": "toString", + "stringifier": 1, + "tags": "CSSOM" + }, + "rotateAxisAngle": { + "signature": [ + { + "param-min-required": 4, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + }, + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "rotateAxisAngle", + "tags": "CSSOM" + }, + "inverse": { + "signature": [ + { + "type": "WebKitCSSMatrix", + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "inverse", + "tags": "CSSOM" + }, + "rotate": { + "signature": [ + { + "param-min-required": 1, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angleX", + "type": "float", + "type-original": "float" + }, + { + "name": "angleY", + "default": "0", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "angleZ", + "default": "0", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "rotate", + "tags": "CSSOM" + }, + "translate": { + "signature": [ + { + "param-min-required": 2, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "default": "0", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "translate", + "tags": "CSSOM" + }, + "scale": { + "signature": [ + { + "param-min-required": 1, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "scaleX", + "type": "float", + "type-original": "float" + }, + { + "name": "scaleY", + "type": "float", + "optional": 1, + "type-original": "float" + }, + { + "name": "scaleZ", + "default": "1", + "type": "float", + "optional": 1, + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "scale", + "tags": "CSSOM" + }, + "skewX": { + "signature": [ + { + "param-min-required": 1, + "type": "WebKitCSSMatrix", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "WebKitCSSMatrix" + } + ], + "specs": "none", + "exposed": "Window", + "name": "skewX", + "tags": "CSSOM" + } + } + }, + "extends": "Object" + }, + "PeriodicWave": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "PeriodicWave", + "extends": "Object", + "properties": { + "property": {} + } + }, + "RTCSsrcConflictEvent": { + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "name": "RTCSsrcConflictEvent", + "properties": { + "property": { + "ssrc": { + "specs": "ortc", + "exposed": "Window", + "name": "ssrc", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "CryptoKeyPair": { + "constants": { + "constant": {} + }, + "specs": "webcryptoapi", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CryptoKeyPair", + "extends": "Object", + "properties": { + "property": { + "privateKey": { + "specs": "webcryptoapi", + "exposed": "Window", + "name": "privateKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + }, + "publicKey": { + "specs": "webcryptoapi", + "exposed": "Window", + "name": "publicKey", + "type": "CryptoKey", + "type-original": "CryptoKey" + } + } + } + }, + "SVGPolygonElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-end" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-mid" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-start" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPolygonElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "polygon" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement", + "implements": [ + "SVGAnimatedPoints" + ] + }, + "MediaStreamAudioSourceNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MediaStreamAudioSourceNode", + "extends": "AudioNode", + "properties": { + "property": {} + } + }, + "WebSocket": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "WebSocket", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "protocols", + "default": "[]", + "type": [ + { + "type": "DOMString" + }, + { + "subtype": { + "type": "DOMString" + }, + "type": "sequence" + } + ], + "optional": 1, + "type-original": "(DOMString or sequence)" + } + ], + "type-original": "WebSocket" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WebSocket", + "properties": { + "property": { + "protocol": { + "specs": "html5", + "exposed": "Window Worker", + "name": "protocol", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "onopen": { + "specs": "html5", + "name": "onopen", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "open" + }, + "bufferedAmount": { + "specs": "html5", + "exposed": "Window Worker", + "name": "bufferedAmount", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + }, + "readyState": { + "specs": "html5", + "exposed": "Window Worker", + "name": "readyState", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "extensions": { + "specs": "html5", + "exposed": "Window Worker", + "name": "extensions", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "onmessage": { + "specs": "html5", + "name": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "message" + }, + "onclose": { + "specs": "html5", + "name": "onclose", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "close" + }, + "binaryType": { + "specs": "html5", + "exposed": "Window Worker", + "name": "binaryType", + "type": "BinaryType", + "type-original": "BinaryType" + }, + "url": { + "specs": "html5", + "exposed": "Window Worker", + "name": "url", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "error" + } + } + }, + "constants": { + "constant": { + "CLOSING": { + "specs": "html5", + "value": "2", + "exposed": "Window Worker", + "name": "CLOSING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "OPEN": { + "specs": "html5", + "value": "1", + "exposed": "Window Worker", + "name": "OPEN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "CLOSED": { + "specs": "html5", + "value": "3", + "exposed": "Window Worker", + "name": "CLOSED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "CONNECTING": { + "specs": "html5", + "value": "0", + "exposed": "Window Worker", + "name": "CONNECTING", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Sockets", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "Sockets", + "name": "message", + "type": "MessageEvent", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Sockets", + "name": "open", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "Sockets", + "name": "close", + "type": "CloseEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window Worker", + "methods": { + "method": { + "close": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "clamp": 1, + "name": "code", + "type": "unsigned short", + "optional": 1, + "type-original": "unsigned short" + }, + { + "name": "reason", + "type": "USVString", + "optional": 1, + "type-original": "USVString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "close" + }, + "send": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "data", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "send" + } + } + }, + "extends": "EventTarget" + }, + "RTCIceCandidatePairChangedEvent": { + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceCandidatePairChangedEvent", + "properties": { + "property": { + "pair": { + "specs": "ortc", + "exposed": "Window", + "name": "pair", + "type": "RTCIceCandidatePair", + "type-original": "RTCIceCandidatePair", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "SVGTextContentElement": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTextContentElement", + "properties": { + "property": { + "textLength": { + "specs": "svg2", + "same-object": 1, + "name": "textLength", + "constant": 1, + "content-attribute": "textLength", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "lengthAdjust": { + "content-attribute-enum-values": "spacing spacingAndGlyphs", + "specs": "svg2", + "same-object": 1, + "name": "lengthAdjust", + "constant": 1, + "content-attribute": "lengthAdjust", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "LENGTHADJUST_SPACING": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "LENGTHADJUST_SPACING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "LENGTHADJUST_SPACINGANDGLYPHS": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "LENGTHADJUST_SPACINGANDGLYPHS", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "LENGTHADJUST_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "LENGTHADJUST_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": { + "getCharNumAtPosition": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "point", + "type": "SVGPoint", + "type-original": "SVGPoint" + } + ], + "type-original": "long" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getCharNumAtPosition" + }, + "getStartPositionOfChar": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getStartPositionOfChar" + }, + "getExtentOfChar": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGRect", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGRect" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getExtentOfChar" + }, + "selectSubString": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "nchars", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "selectSubString" + }, + "getSubStringLength": { + "signature": [ + { + "param-min-required": 2, + "type": "float", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "nchars", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "float" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getSubStringLength" + }, + "getComputedTextLength": { + "signature": [ + { + "type": "float", + "type-original": "float" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getComputedTextLength" + }, + "getNumberOfChars": { + "signature": [ + { + "type": "long", + "type-original": "long" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getNumberOfChars" + }, + "getRotationOfChar": { + "signature": [ + { + "param-min-required": 1, + "type": "float", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "float" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getRotationOfChar" + }, + "getEndPositionOfChar": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "charnum", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPoint" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getEndPositionOfChar" + } + } + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "OES_texture_half_float": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "OES_texture_half_float", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "HALF_FLOAT_OES": { + "specs": "webgl", + "value": "0x8D61", + "exposed": "Window", + "name": "HALF_FLOAT_OES", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Location": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "reload": { + "property-descriptor-not-configurable": 1, + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "forcedReload", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "property-descriptor-not-writable": 1, + "unforgeable": 1, + "exposed": "Window", + "name": "reload" + }, + "replace": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "replace", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + } + ], + "type-original": "void" + } + ], + "unforgeable": 1, + "property-descriptor-not-writable": 1, + "exposed": "Window" + }, + "assign": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "assign", + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + } + ], + "type-original": "void" + } + ], + "unforgeable": 1, + "property-descriptor-not-writable": 1, + "exposed": "Window" + }, + "toString": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "toString", + "signature": [ + { + "type": "USVString", + "type-original": "USVString" + } + ], + "exposed": "Window", + "stringifier": 1 + } + } + }, + "name": "Location", + "extends": "Object", + "properties": { + "property": { + "protocol": { + "specs": "html5", + "name": "protocol", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "search": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "search", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "origin": { + "specs": "html5", + "name": "origin", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString", + "read-only": 1 + }, + "hostname": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "hostname", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "pathname": { + "specs": "html5", + "name": "pathname", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "port": { + "specs": "html5", + "name": "port", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "host": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "host", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "hash": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "hash", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString" + }, + "href": { + "property-descriptor-not-configurable": 1, + "specs": "html5", + "name": "href", + "type-original": "USVString", + "unforgeable": 1, + "exposed": "Window", + "type": "USVString", + "stringifier": 1 + } + } + } + }, + "RTCDTMFToneChangeEvent": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 2, + "type": "RTCDTMFToneChangeEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "RTCDTMFToneChangeEventInit", + "type-original": "RTCDTMFToneChangeEventInit" + } + ], + "type-original": "RTCDTMFToneChangeEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCDTMFToneChangeEvent", + "properties": { + "property": { + "tone": { + "specs": "ortc", + "exposed": "Window", + "name": "tone", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "SVGFEGaussianBlurElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEGaussianBlurElement", + "properties": { + "property": { + "stdDeviationX": { + "specs": "filter-effects", + "name": "stdDeviationX", + "constant": 1, + "content-attribute": "stdDeviation", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "stdDeviationY": { + "specs": "filter-effects", + "name": "stdDeviationY", + "constant": 1, + "content-attribute": "stdDeviation", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feGaussianBlur" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "setStdDeviation": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "stdDeviationX", + "type": "float", + "type-original": "float" + }, + { + "name": "stdDeviationY", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "filter-effects", + "exposed": "Window", + "name": "setStdDeviation" + } + } + }, + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "TouchList": { + "specs": "touch-events", + "anonymous-methods": { + "method": [] + }, + "name": "TouchList", + "properties": { + "property": { + "length": { + "pure": 1, + "specs": "touch-events", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Touch", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Touch?" + } + ], + "specs": "touch-events", + "exposed": "Window", + "name": "item" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "RTCIceCandidate": { + "specs": "webrtc", + "constructor": { + "specs": "webrtc", + "signature": [ + { + "param-min-required": 0, + "type": "RTCIceCandidate", + "param": [ + { + "name": "candidateInitDict", + "type": "RTCIceCandidateInit", + "optional": 1, + "type-original": "RTCIceCandidateInit" + } + ], + "type-original": "RTCIceCandidate" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceCandidate", + "properties": { + "property": { + "sdpMLineIndex": { + "specs": "webrtc", + "nullable": 1, + "exposed": "Window", + "name": "sdpMLineIndex", + "type": "unsigned short", + "type-original": "unsigned short?" + }, + "candidate": { + "specs": "webrtc", + "nullable": 1, + "exposed": "Window", + "name": "candidate", + "type": "DOMString", + "type-original": "DOMString?" + }, + "sdpMid": { + "specs": "webrtc", + "nullable": 1, + "exposed": "Window", + "name": "sdpMid", + "type": "DOMString", + "type-original": "DOMString?" + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "toJSON": { + "serializer": 1, + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "webrtc", + "exposed": "Window", + "serializer-info": "attribute", + "name": "toJSON" + } + } + }, + "extends": "Object" + }, + "PerformanceEntry": { + "constants": { + "constant": {} + }, + "specs": "performance-timeline", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "toJSON": { + "signature": [ + { + "type": "object", + "type-original": "object" + } + ], + "specs": "performance-timeline", + "exposed": "Window Worker", + "name": "toJSON" + } + } + }, + "exposed": "Window Worker", + "name": "PerformanceEntry", + "extends": "Object", + "properties": { + "property": { + "name": { + "specs": "performance-timeline", + "exposed": "Window Worker", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "duration": { + "specs": "performance-timeline", + "exposed": "Window Worker", + "name": "duration", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "startTime": { + "specs": "performance-timeline", + "exposed": "Window Worker", + "name": "startTime", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "entryType": { + "specs": "performance-timeline", + "exposed": "Window Worker", + "name": "entryType", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "XSLTProcessor": { + "constants": { + "constant": {} + }, + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "type": "XSLTProcessor", + "type-original": "XSLTProcessor" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "clearParameters": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "clearParameters" + }, + "transformToDocument": { + "signature": [ + { + "param-min-required": 1, + "type": "Document", + "param": [ + { + "name": "source", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "Document" + } + ], + "specs": "none", + "exposed": "Window", + "name": "transformToDocument" + }, + "reset": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "reset" + }, + "transformToFragment": { + "signature": [ + { + "param-min-required": 2, + "type": "DocumentFragment", + "param": [ + { + "name": "source", + "type": "Node", + "type-original": "Node" + }, + { + "name": "document", + "type": "Document", + "type-original": "Document" + } + ], + "type-original": "DocumentFragment" + } + ], + "specs": "none", + "exposed": "Window", + "name": "transformToFragment" + }, + "importStylesheet": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "style", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "importStylesheet" + }, + "setParameter": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "value", + "type": "any", + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "setParameter" + }, + "removeParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "removeParameter" + }, + "getParameter": { + "signature": [ + { + "param-min-required": 2, + "type": "any", + "param": [ + { + "treat-null-as": "EmptyString", + "name": "namespaceURI", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "specs": "none", + "exposed": "Window", + "name": "getParameter" + } + } + }, + "name": "XSLTProcessor", + "extends": "Object", + "properties": { + "property": {} + } + }, + "MSMediaKeys": { + "specs": "encrypted-media-20130510", + "constructor": { + "specs": "encrypted-media-20130510", + "signature": [ + { + "param-min-required": 1, + "type": "MSMediaKeys", + "param": [ + { + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "MSMediaKeys" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MSMediaKeys", + "properties": { + "property": { + "keySystem": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "createSession": { + "signature": [ + { + "param-min-required": 2, + "type": "MSMediaKeySession", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "initData", + "type": "Uint8Array", + "type-original": "Uint8Array" + }, + { + "nullable": 1, + "name": "cdmData", + "type": "Uint8Array", + "optional": 1, + "type-original": "Uint8Array?" + } + ], + "type-original": "MSMediaKeySession" + } + ], + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "createSession" + }, + "isTypeSupported": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "type", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "boolean" + } + ], + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "isTypeSupported", + "static": 1 + }, + "isTypeSupportedWithFeatures": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "nullable": 1, + "name": "type", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString?" + } + ], + "type-original": "DOMString" + } + ], + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "isTypeSupportedWithFeatures", + "static": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "WheelEvent": { + "specs": "uievents", + "constructor": { + "specs": "uievents", + "signature": [ + { + "param-min-required": 1, + "type": "WheelEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "WheelEventInit", + "optional": 1, + "type-original": "WheelEventInit" + } + ], + "type-original": "WheelEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "WheelEvent", + "properties": { + "property": { + "deltaZ": { + "specs": "uievents", + "exposed": "Window", + "name": "deltaZ", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "wheelDeltaY": { + "specs": "uievents", + "exposed": "Window", + "name": "wheelDeltaY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "wheelDelta": { + "specs": "uievents", + "exposed": "Window", + "name": "wheelDelta", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "deltaX": { + "specs": "uievents", + "exposed": "Window", + "name": "deltaX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "deltaMode": { + "specs": "uievents", + "name": "deltaMode", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "deltaY": { + "specs": "uievents", + "exposed": "Window", + "name": "deltaY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "wheelDeltaX": { + "specs": "uievents", + "exposed": "Window", + "name": "wheelDeltaX", + "type": "long", + "type-original": "long", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "DOM_DELTA_PIXEL": { + "specs": "uievents", + "value": "0x00", + "exposed": "Window", + "name": "DOM_DELTA_PIXEL", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_DELTA_LINE": { + "specs": "uievents", + "value": "0x01", + "exposed": "Window", + "name": "DOM_DELTA_LINE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_DELTA_PAGE": { + "specs": "uievents", + "value": "0x02", + "exposed": "Window", + "name": "DOM_DELTA_PAGE", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "getCurrentPoint": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "getCurrentPoint" + }, + "initWheelEvent": { + "signature": [ + { + "param-min-required": 16, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "buttonArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + }, + { + "name": "modifiersListArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "deltaXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "deltaYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "deltaZArg", + "type": "long", + "type-original": "long" + }, + { + "name": "deltaMode", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "uievents", + "exposed": "Window", + "name": "initWheelEvent" + } + } + }, + "extends": "MouseEvent" + }, + "SVGPathElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "value-syntax": "svg_path_data", + "name": "d" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-end" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-mid" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-start" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathElement", + "properties": { + "property": { + "pathSegList": { + "specs": "svg11", + "name": "pathSegList", + "type-original": "SVGPathSegList", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "SVGPathSegList", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "path" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getPathSegAtLength": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "unsigned long", + "param": [ + { + "name": "distance", + "type": "float", + "type-original": "float" + } + ], + "type-original": "unsigned long" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "getPathSegAtLength" + }, + "getPointAtLength": { + "specs": "svg11", + "signature": [ + { + "param-min-required": 1, + "type": "SVGPoint", + "param": [ + { + "name": "distance", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPoint" + } + ], + "name": "getPointAtLength", + "exposed": "Window" + }, + "createSVGPathSegCurvetoQuadraticAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 4, + "type": "SVGPathSegCurvetoQuadraticAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoQuadraticAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoQuadraticAbs" + }, + "createSVGPathSegLinetoRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegLinetoRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoRel" + }, + "createSVGPathSegCurvetoQuadraticRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 4, + "type": "SVGPathSegCurvetoQuadraticRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoQuadraticRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoQuadraticRel" + }, + "createSVGPathSegCurvetoCubicAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 6, + "type": "SVGPathSegCurvetoCubicAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoCubicAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoCubicAbs" + }, + "createSVGPathSegLinetoAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegLinetoAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoAbs" + }, + "createSVGPathSegClosePath": { + "interop": 1, + "deprecated": 1, + "specs": "svg11", + "signature": [ + { + "type": "SVGPathSegClosePath", + "type-original": "SVGPathSegClosePath" + } + ], + "name": "createSVGPathSegClosePath", + "exposed": "Window" + }, + "createSVGPathSegCurvetoCubicRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 6, + "type": "SVGPathSegCurvetoCubicRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoCubicRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoCubicRel" + }, + "createSVGPathSegCurvetoQuadraticSmoothRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegCurvetoQuadraticSmoothRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoQuadraticSmoothRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoQuadraticSmoothRel" + }, + "createSVGPathSegMovetoRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegMovetoRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegMovetoRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegMovetoRel" + }, + "createSVGPathSegCurvetoCubicSmoothAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 4, + "type": "SVGPathSegCurvetoCubicSmoothAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoCubicSmoothAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoCubicSmoothAbs" + }, + "createSVGPathSegMovetoAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegMovetoAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegMovetoAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegMovetoAbs" + }, + "createSVGPathSegLinetoVerticalRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSegLinetoVerticalRel", + "param": [ + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoVerticalRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoVerticalRel" + }, + "createSVGPathSegArcRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 7, + "type": "SVGPathSegArcRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "r1", + "type": "float", + "type-original": "float" + }, + { + "name": "r2", + "type": "float", + "type-original": "float" + }, + { + "name": "angle", + "type": "float", + "type-original": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "sweepFlag", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "SVGPathSegArcRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegArcRel" + }, + "createSVGPathSegCurvetoQuadraticSmoothAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSegCurvetoQuadraticSmoothAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoQuadraticSmoothAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoQuadraticSmoothAbs" + }, + "createSVGPathSegLinetoHorizontalRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSegLinetoHorizontalRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoHorizontalRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoHorizontalRel" + }, + "getTotalLength": { + "specs": "svg11", + "signature": [ + { + "type": "float", + "type-original": "float" + } + ], + "name": "getTotalLength", + "exposed": "Window" + }, + "createSVGPathSegCurvetoCubicSmoothRel": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 4, + "type": "SVGPathSegCurvetoCubicSmoothRel", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegCurvetoCubicSmoothRel" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegCurvetoCubicSmoothRel" + }, + "createSVGPathSegLinetoHorizontalAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSegLinetoHorizontalAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoHorizontalAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoHorizontalAbs" + }, + "createSVGPathSegLinetoVerticalAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSegLinetoVerticalAbs", + "param": [ + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGPathSegLinetoVerticalAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegLinetoVerticalAbs" + }, + "createSVGPathSegArcAbs": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 7, + "type": "SVGPathSegArcAbs", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "r1", + "type": "float", + "type-original": "float" + }, + { + "name": "r2", + "type": "float", + "type-original": "float" + }, + { + "name": "angle", + "type": "float", + "type-original": "float" + }, + { + "name": "largeArcFlag", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "sweepFlag", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "SVGPathSegArcAbs" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "createSVGPathSegArcAbs" + } + } + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "IDBCursor": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBCursor", + "properties": { + "property": { + "direction": { + "specs": "indexeddb", + "exposed": "Window", + "name": "direction", + "type": "IDBCursorDirection", + "type-original": "IDBCursorDirection", + "read-only": 1 + }, + "source": { + "specs": "indexeddb", + "exposed": "Window", + "name": "source", + "type": [ + { + "type": "IDBObjectStore" + }, + { + "type": "IDBIndex" + } + ], + "type-original": "(IDBObjectStore or IDBIndex)", + "read-only": 1 + }, + "primaryKey": { + "specs": "indexeddb", + "exposed": "Window", + "name": "primaryKey", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "key": { + "specs": "indexeddb", + "exposed": "Window", + "name": "key", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "PREV": { + "specs": "indexeddb", + "value": "prev", + "exposed": "Window", + "name": "PREV", + "type": "DOMString", + "type-original": "DOMString" + }, + "PREV_NO_DUPLICATE": { + "specs": "indexeddb", + "value": "prevunique", + "exposed": "Window", + "name": "PREV_NO_DUPLICATE", + "type": "DOMString", + "type-original": "DOMString" + }, + "NEXT": { + "specs": "indexeddb", + "value": "next", + "exposed": "Window", + "name": "NEXT", + "type": "DOMString", + "type-original": "DOMString" + }, + "NEXT_NO_DUPLICATE": { + "specs": "indexeddb", + "value": "nextunique", + "exposed": "Window", + "name": "NEXT_NO_DUPLICATE", + "type": "DOMString", + "type-original": "DOMString" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "advance": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "count", + "enforce-range": 1, + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "advance" + }, + "delete": { + "signature": [ + { + "type": "IDBRequest", + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "delete" + }, + "continue": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "key", + "default": "0", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "continue" + }, + "update": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBRequest", + "param": [ + { + "name": "value", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBRequest" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "update" + } + } + }, + "extends": "Object" + }, + "SVGPathSegList": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegList", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg11", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg", + "type-original": "SVGPathSeg" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "replaceItem" + }, + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSeg", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "getItem" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg", + "type-original": "SVGPathSeg" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSeg", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg", + "type-original": "SVGPathSeg" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGPathSeg", + "param": [ + { + "name": "newItem", + "type": "SVGPathSeg", + "type-original": "SVGPathSeg" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGPathSeg" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "insertItemBefore" + } + } + }, + "extends": "Object" + }, + "HTMLAudioElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLAudioElement", + "named-constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 0, + "type": "HTMLAudioElement", + "param": [ + { + "name": "src", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "HTMLAudioElement" + } + ], + "name": "Audio" + }, + "properties": { + "property": {} + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "audio" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLMediaElement" + }, + "Client": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "Client", + "properties": { + "property": { + "url": { + "specs": "service-workers", + "exposed": "Worker", + "name": "url", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "type": { + "specs": "service-workers", + "exposed": "Worker", + "name": "type", + "type": "ClientType", + "type-original": "ClientType", + "read-only": 1 + }, + "id": { + "specs": "service-workers", + "exposed": "Worker", + "name": "id", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "reserved": { + "specs": "service-workers", + "name": "reserved", + "type-original": "boolean", + "exposed": "Worker", + "type": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": { + "postMessage": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "type-original": "any" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "postMessage" + } + } + }, + "extends": "Object" + }, + "WebKitDirectoryEntry": { + "constants": { + "constant": {} + }, + "specs": "file-system-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "createReader": { + "signature": [ + { + "type": "WebKitDirectoryReader", + "type-original": "WebKitDirectoryReader" + } + ], + "specs": "file-system-api", + "exposed": "Window", + "name": "createReader" + } + } + }, + "name": "WebKitDirectoryEntry", + "extends": "WebKitEntry", + "properties": { + "property": {} + } + }, + "MimeType": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MimeType", + "extends": "Object", + "properties": { + "property": { + "enabledPlugin": { + "specs": "html5", + "exposed": "Window", + "name": "enabledPlugin", + "type": "Plugin", + "type-original": "Plugin", + "read-only": 1 + }, + "suffixes": { + "specs": "html5", + "exposed": "Window", + "name": "suffixes", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "type": { + "specs": "html5", + "exposed": "Window", + "name": "type", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "description": { + "specs": "html5", + "exposed": "Window", + "name": "description", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "AudioBufferSourceNode": { + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "name": "AudioBufferSourceNode", + "properties": { + "property": { + "detune": { + "specs": "webaudio", + "exposed": "Window", + "name": "detune", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "playbackRate": { + "specs": "webaudio", + "exposed": "Window", + "name": "playbackRate", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "onended": { + "specs": "webaudio", + "name": "onended", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "loopEnd": { + "specs": "webaudio", + "exposed": "Window", + "name": "loopEnd", + "type": "double", + "type-original": "double" + }, + "buffer": { + "specs": "webaudio", + "nullable": 1, + "exposed": "Window", + "name": "buffer", + "type": "AudioBuffer", + "type-original": "AudioBuffer?" + }, + "loopStart": { + "specs": "webaudio", + "exposed": "Window", + "name": "loopStart", + "type": "double", + "type-original": "double" + }, + "loop": { + "specs": "webaudio", + "exposed": "Window", + "name": "loop", + "type": "boolean", + "type-original": "boolean" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Audio", + "name": "end", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "stop": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "type": "double", + "optional": 1, + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "stop" + }, + "start": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "type": "double", + "optional": 1, + "type-original": "double" + }, + { + "name": "offset", + "type": "double", + "optional": 1, + "type-original": "double" + }, + { + "name": "duration", + "type": "double", + "optional": 1, + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "start" + } + } + }, + "exposed": "Window", + "extends": "AudioNode" + }, + "PointerEvent": { + "specs": "pointer-events", + "constructor": { + "specs": "pointer-events", + "signature": [ + { + "param-min-required": 1, + "type": "PointerEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PointerEventInit", + "optional": 1, + "type-original": "PointerEventInit" + } + ], + "type-original": "PointerEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PointerEvent", + "properties": { + "property": { + "rotation": { + "specs": "pointer-events", + "exposed": "Window", + "name": "rotation", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "width": { + "specs": "pointer-events", + "exposed": "Window", + "name": "width", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pressure": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pressure", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "isPrimary": { + "specs": "pointer-events", + "exposed": "Window", + "name": "isPrimary", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "pointerType": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pointerType", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "tiltY": { + "specs": "pointer-events", + "exposed": "Window", + "name": "tiltY", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "height": { + "specs": "pointer-events", + "exposed": "Window", + "name": "height", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "intermediatePoints": { + "specs": "pointer-events", + "name": "intermediatePoints", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "currentPoint": { + "specs": "pointer-events", + "name": "currentPoint", + "type-original": "any", + "exposed": "Window", + "type": "any", + "read-only": 1 + }, + "tiltX": { + "specs": "pointer-events", + "exposed": "Window", + "name": "tiltX", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "pointerId": { + "specs": "pointer-events", + "exposed": "Window", + "name": "pointerId", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "hwTimestamp": { + "specs": "pointer-events", + "exposed": "Window", + "name": "hwTimestamp", + "type": "unsigned long long", + "type-original": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getCurrentPoint": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "getCurrentPoint" + }, + "initPointerEvent": { + "signature": [ + { + "param-min-required": 27, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "detailArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenXArg", + "type": "long", + "type-original": "long" + }, + { + "name": "screenYArg", + "type": "long", + "type-original": "long" + }, + { + "name": "clientXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "clientYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "ctrlKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "altKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "shiftKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "metaKeyArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "buttonArg", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "relatedTargetArg", + "type": "EventTarget", + "type-original": "EventTarget" + }, + { + "name": "offsetXArg", + "type": "float", + "type-original": "float" + }, + { + "name": "offsetYArg", + "type": "float", + "type-original": "float" + }, + { + "name": "widthArg", + "type": "long", + "type-original": "long" + }, + { + "name": "heightArg", + "type": "long", + "type-original": "long" + }, + { + "name": "pressure", + "type": "float", + "type-original": "float" + }, + { + "name": "rotation", + "type": "long", + "type-original": "long" + }, + { + "name": "tiltX", + "type": "long", + "type-original": "long" + }, + { + "name": "tiltY", + "type": "long", + "type-original": "long" + }, + { + "name": "pointerIdArg", + "type": "long", + "type-original": "long" + }, + { + "name": "pointerType", + "type": "any", + "type-original": "any" + }, + { + "name": "hwTimestampArg", + "type": "unsigned long long", + "type-original": "unsigned long long" + }, + { + "name": "isPrimary", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "initPointerEvent" + }, + "getIntermediatePoints": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "void" + } + ], + "specs": "pointer-events", + "exposed": "Window", + "name": "getIntermediatePoints" + } + } + }, + "exposed": "Window", + "extends": "MouseEvent" + }, + "SVGCircleElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGCircleElement", + "properties": { + "property": { + "cx": { + "specs": "svg2", + "same-object": 1, + "name": "cx", + "constant": 1, + "content-attribute": "cx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "r": { + "specs": "svg2", + "same-object": 1, + "name": "r", + "constant": 1, + "content-attribute": "r", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "cy": { + "specs": "svg2", + "same-object": 1, + "name": "cy", + "constant": 1, + "content-attribute": "cy", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "circle" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "HTMLBaseFontElement": { + "specs": "DOM-Level-2-HTML", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLBaseFontElement", + "properties": { + "property": { + "face": { + "specs": "DOM-Level-2-HTML", + "name": "face", + "content-attribute": "face", + "type-original": "DOMString", + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "font_family", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "size": { + "specs": "DOM-Level-2-HTML", + "name": "size", + "content-attribute": "size", + "type-original": "long", + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "long", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "basefont", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "HTMLElement", + "implements": [ + "DOML2DeprecatedColorProperty" + ] + }, + "CSSImportRule": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSImportRule", + "extends": "CSSRule", + "properties": { + "property": { + "styleSheet": { + "specs": "cssom", + "same-object": 1, + "name": "styleSheet", + "type-original": "CSSStyleSheet", + "exposed": "Window", + "type": "CSSStyleSheet", + "read-only": 1 + }, + "media": { + "put-forwards": "mediaText", + "specs": "cssom", + "same-object": 1, + "name": "media", + "type-original": "MediaList", + "exposed": "Window", + "type": "MediaList", + "read-only": 1 + }, + "href": { + "specs": "cssom", + "exposed": "Window", + "name": "href", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "Geolocation": { + "constants": { + "constant": {} + }, + "specs": "geolocation-api", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "clearWatch": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "watchId", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "geolocation-api", + "exposed": "Window", + "name": "clearWatch" + }, + "getCurrentPosition": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "successCallback", + "type": "PositionCallback", + "type-original": "PositionCallback" + }, + { + "name": "errorCallback", + "default": "0", + "type": "PositionErrorCallback", + "optional": 1, + "type-original": "PositionErrorCallback" + }, + { + "name": "options", + "default": "0", + "type": "PositionOptions", + "optional": 1, + "type-original": "PositionOptions" + } + ], + "type-original": "void" + } + ], + "specs": "geolocation-api", + "exposed": "Window", + "name": "getCurrentPosition" + }, + "watchPosition": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "successCallback", + "type": "PositionCallback", + "type-original": "PositionCallback" + }, + { + "name": "errorCallback", + "default": "0", + "type": "PositionErrorCallback", + "optional": 1, + "type-original": "PositionErrorCallback" + }, + { + "name": "options", + "default": "0", + "type": "PositionOptions", + "optional": 1, + "type-original": "PositionOptions" + } + ], + "type-original": "long" + } + ], + "specs": "geolocation-api", + "exposed": "Window", + "name": "watchPosition" + } + } + }, + "name": "Geolocation", + "extends": "Object", + "properties": { + "property": {} + } + }, + "XMLHttpRequestUpload": { + "specs": "xhr", + "anonymous-methods": { + "method": [] + }, + "name": "XMLHttpRequestUpload", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "precedes": "progress", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "readystatechange", + "follows": "loadstart", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "precedes": "load", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "progress", + "follows": "readystatechange", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "abort", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "error", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "precedes": "loadend", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "load", + "follows": "progress", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "precedes": "readystatechange", + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "loadstart", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "loadend", + "follows": "load", + "type": "ProgressEvent", + "skips-window": 1 + }, + { + "dispatch": "sync-or-async", + "specs": "XHR", + "name": "timeout", + "type": "ProgressEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "EventTarget", + "implements": [ + "XMLHttpRequestEventTarget" + ] + }, + "HTMLMarqueeElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLMarqueeElement", + "properties": { + "property": { + "onbounce": { + "specs": "html5", + "name": "onbounce", + "content-attribute": "onbounce", + "type-original": "EventHandler", + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "bounce" + }, + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "content-attribute": "width", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "vspace": { + "specs": "html5", + "ce-reactions": 1, + "name": "vspace", + "content-attribute": "vspace", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "trueSpeed": { + "specs": "html5", + "ce-reactions": 1, + "name": "trueSpeed", + "content-attribute": "truespeed", + "type-original": "boolean", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "boolean", + "content-attribute-boolean": 1 + }, + "scrollDelay": { + "specs": "html5", + "ce-reactions": 1, + "name": "scrollDelay", + "content-attribute": "scrolldelay", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "scrollAmount": { + "specs": "html5", + "ce-reactions": 1, + "name": "scrollAmount", + "content-attribute": "scrollamount", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "height": { + "specs": "html5", + "ce-reactions": 1, + "name": "height", + "content-attribute": "height", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "behavior": { + "content-attribute-enum-values": "scroll slide alternate", + "specs": "html5", + "ce-reactions": 1, + "name": "behavior", + "content-attribute": "behavior", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "loop": { + "specs": "html5", + "ce-reactions": 1, + "name": "loop", + "content-attribute": "loop", + "type-original": "long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "long", + "content-attribute-boolean": 1 + }, + "direction": { + "content-attribute-enum-values": "left right up down", + "specs": "html5", + "ce-reactions": 1, + "name": "direction", + "content-attribute": "direction", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "bgColor": { + "specs": "html5", + "ce-reactions": 1, + "name": "bgColor", + "content-attribute": "bgcolor", + "type-original": "DOMString", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "simple_color", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "hspace": { + "specs": "html5", + "ce-reactions": 1, + "name": "hspace", + "content-attribute": "hspace", + "type-original": "unsigned long", + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "content-attribute-value-syntax": "non_negative_integer", + "content-attribute-reflects": 1, + "type": "unsigned long" + }, + "onstart": { + "specs": "html5", + "name": "onstart", + "content-attribute": "onstart", + "type-original": "EventHandler", + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "start" + }, + "onfinish": { + "specs": "html5", + "name": "onfinish", + "content-attribute": "onfinish", + "type-original": "EventHandler", + "deprecated": 1, + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "finish" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "marquee" + } + ], + "constants": { + "constant": {} + }, + "events": { + "event": [] + }, + "exposed": "Window", + "methods": { + "method": { + "stop": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "stop" + }, + "start": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "start" + } + } + }, + "extends": "HTMLElement" + }, + "EXT_texture_filter_anisotropic": { + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "name": "EXT_texture_filter_anisotropic", + "properties": { + "property": {} + }, + "constants": { + "constant": { + "TEXTURE_MAX_ANISOTROPY_EXT": { + "specs": "webgl", + "value": "0x84FE", + "exposed": "Window", + "name": "TEXTURE_MAX_ANISOTROPY_EXT", + "type": "unsigned long", + "type-original": "GLenum" + }, + "MAX_TEXTURE_MAX_ANISOTROPY_EXT": { + "specs": "webgl", + "value": "0x84FF", + "exposed": "Window", + "name": "MAX_TEXTURE_MAX_ANISOTROPY_EXT", + "type": "unsigned long", + "type-original": "GLenum" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "FileReaderSync": { + "constants": { + "constant": {} + }, + "specs": "fileapi", + "constructor": { + "specs": "fileapi", + "signature": [ + { + "type": "FileReaderSync", + "type-original": "FileReaderSync" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": { + "readAsArrayBuffer": { + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "any" + } + ], + "specs": "fileapi", + "exposed": "Worker", + "name": "readAsArrayBuffer" + }, + "readAsDataURL": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "DOMString" + } + ], + "specs": "fileapi", + "exposed": "Worker", + "name": "readAsDataURL" + }, + "readAsBinaryString": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + } + ], + "type-original": "void" + } + ], + "specs": "fileapi", + "exposed": "Worker", + "name": "readAsBinaryString" + }, + "readAsText": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "blob", + "type": "Blob", + "type-original": "Blob" + }, + { + "name": "encoding", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "fileapi", + "exposed": "Worker", + "name": "readAsText" + } + } + }, + "exposed": "Worker", + "name": "FileReaderSync", + "extends": "Object", + "properties": { + "property": {} + } + }, + "OscillatorNode": { + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "name": "OscillatorNode", + "properties": { + "property": { + "frequency": { + "specs": "webaudio", + "exposed": "Window", + "name": "frequency", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "detune": { + "specs": "webaudio", + "exposed": "Window", + "name": "detune", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + }, + "onended": { + "specs": "webaudio", + "name": "onended", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "type": { + "specs": "webaudio", + "exposed": "Window", + "name": "type", + "type": "OscillatorType", + "type-original": "OscillatorType" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "Audio", + "name": "end", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "stop": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "type": "double", + "optional": 1, + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "stop" + }, + "setPeriodicWave": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "periodicWave", + "type": "PeriodicWave", + "type-original": "PeriodicWave" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setPeriodicWave" + }, + "start": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "when", + "default": "0", + "type": "double", + "optional": 1, + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "start" + } + } + }, + "exposed": "Window", + "extends": "AudioNode" + }, + "SVGPathSegCurvetoCubicAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoCubicAbs", + "properties": { + "property": { + "y1": { + "specs": "svg11", + "exposed": "Window", + "name": "y1", + "type": "float", + "type-original": "float" + }, + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x2": { + "specs": "svg11", + "exposed": "Window", + "name": "x2", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + }, + "y2": { + "specs": "svg11", + "exposed": "Window", + "name": "y2", + "type": "float", + "type-original": "float" + }, + "x1": { + "specs": "svg11", + "exposed": "Window", + "name": "x1", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "ListeningStateChangedEvent": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "ListeningStateChangedEvent", + "properties": { + "property": { + "label": { + "specs": "none", + "exposed": "Window", + "name": "label", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "state": { + "specs": "none", + "exposed": "Window", + "name": "state", + "type": "ListeningState", + "type-original": "ListeningState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "CSSRule": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "name": "CSSRule", + "properties": { + "property": { + "cssText": { + "specs": "cssom", + "exposed": "Window", + "name": "cssText", + "type": "DOMString", + "type-original": "DOMString" + }, + "parentStyleSheet": { + "specs": "cssom", + "name": "parentStyleSheet", + "type-original": "CSSStyleSheet?", + "nullable": 1, + "exposed": "Window", + "type": "CSSStyleSheet", + "read-only": 1 + }, + "parentRule": { + "specs": "cssom", + "name": "parentRule", + "type-original": "CSSRule?", + "nullable": 1, + "exposed": "Window", + "type": "CSSRule", + "read-only": 1 + }, + "type": { + "specs": "cssom", + "exposed": "Window", + "name": "type", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "SUPPORTS_RULE": { + "specs": "css-conditional", + "value": "12", + "name": "SUPPORTS_RULE", + "exposed": "Window", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "VIEWPORT_RULE": { + "specs": "css-device-adapt", + "value": "15", + "name": "VIEWPORT_RULE", + "exposed": "Window", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "KEYFRAME_RULE": { + "specs": "css-animation", + "value": "8", + "name": "KEYFRAME_RULE", + "exposed": "Window", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "FONT_FACE_RULE": { + "specs": "cssom", + "value": "5", + "exposed": "Window", + "name": "FONT_FACE_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "IMPORT_RULE": { + "specs": "cssom", + "value": "3", + "exposed": "Window", + "name": "IMPORT_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "STYLE_RULE": { + "specs": "cssom", + "value": "1", + "exposed": "Window", + "name": "STYLE_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "MEDIA_RULE": { + "specs": "cssom", + "value": "4", + "exposed": "Window", + "name": "MEDIA_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "KEYFRAMES_RULE": { + "specs": "css-animation", + "value": "7", + "name": "KEYFRAMES_RULE", + "exposed": "Window", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "UNKNOWN_RULE": { + "specs": "cssom", + "value": "0", + "exposed": "Window", + "name": "UNKNOWN_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "PAGE_RULE": { + "specs": "cssom", + "value": "6", + "exposed": "Window", + "name": "PAGE_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NAMESPACE_RULE": { + "specs": "cssom", + "value": "10", + "exposed": "Window", + "name": "NAMESPACE_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "CHARSET_RULE": { + "specs": "cssom", + "value": "2", + "exposed": "Window", + "name": "CHARSET_RULE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "SVGFEFuncRElement": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEFuncRElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feFuncR" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGComponentTransferFunctionElement" + }, + "WritableStreamDefaultWriter": { + "constants": { + "constant": {} + }, + "specs": "whatwg-streams", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "close": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "close" + }, + "abort": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "reason", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "abort" + }, + "releaseLock": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "releaseLock" + }, + "write": { + "signature": [ + { + "subtype": { + "type": "any" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "chunk", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "Promise" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "write" + } + } + }, + "name": "WritableStreamDefaultWriter", + "extends": "Object", + "properties": { + "property": { + "closed": { + "specs": "whatwg-streams", + "name": "closed", + "type-original": "Promise", + "subtype": { + "type": "void" + }, + "exposed": "Window", + "type": "Promise", + "read-only": 1 + }, + "desiredSize": { + "specs": "whatwg-streams", + "exposed": "Window", + "name": "desiredSize", + "type": "double", + "type-original": "double", + "read-only": 1 + }, + "ready": { + "specs": "whatwg-streams", + "name": "ready", + "type-original": "Promise", + "subtype": { + "type": "void" + }, + "exposed": "Window", + "type": "Promise", + "read-only": 1 + } + } + } + }, + "SVGFEDisplacementMapElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEDisplacementMapElement", + "properties": { + "property": { + "in2": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in2", + "constant": 1, + "content-attribute": "in2", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "xChannelSelector": { + "content-attribute-enum-values": "A R G B", + "specs": "filter-effects", + "name": "xChannelSelector", + "constant": 1, + "content-attribute": "xChannelSelector", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "yChannelSelector": { + "content-attribute-enum-values": "A R G B", + "specs": "filter-effects", + "name": "yChannelSelector", + "constant": 1, + "content-attribute": "yChannelSelector", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "scale": { + "specs": "filter-effects", + "name": "scale", + "constant": 1, + "content-attribute": "scale", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feDisplacementMap" + } + ], + "constants": { + "constant": { + "SVG_CHANNEL_B": { + "specs": "filter-effects", + "value": "3", + "exposed": "Window", + "name": "SVG_CHANNEL_B", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_CHANNEL_R": { + "specs": "filter-effects", + "value": "1", + "exposed": "Window", + "name": "SVG_CHANNEL_R", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_CHANNEL_G": { + "specs": "filter-effects", + "value": "2", + "exposed": "Window", + "name": "SVG_CHANNEL_G", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_CHANNEL_UNKNOWN": { + "specs": "filter-effects", + "value": "0", + "exposed": "Window", + "name": "SVG_CHANNEL_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_CHANNEL_A": { + "specs": "filter-effects", + "value": "4", + "exposed": "Window", + "name": "SVG_CHANNEL_A", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "SVGPathSegLinetoAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "HTMLOptionsCollection": { + "specs": "html5", + "anonymous-methods": { + "method": [ + { + "specs": "html5", + "creator": 1, + "ce-reactions": 1, + "name": "", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "nullable": 1, + "name": "option", + "type": "HTMLOptionElement", + "type-original": "HTMLOptionElement?" + } + ], + "type-original": "void" + } + ], + "setter": 1 + } + ] + }, + "name": "HTMLOptionsCollection", + "properties": { + "property": { + "selectedIndex": { + "specs": "html5", + "exposed": "Window", + "name": "selectedIndex", + "type": "long", + "type-original": "long" + }, + "length": { + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "remove": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "index", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "remove" + }, + "add": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "element", + "type": [ + { + "type": "HTMLOptionElement" + }, + { + "type": "HTMLOptGroupElement" + } + ], + "type-original": "(HTMLOptionElement or HTMLOptGroupElement)" + }, + { + "name": "before", + "default": "null", + "type": [ + { + "nullable": 1, + "type": "HTMLElement" + }, + { + "nullable": 1, + "type": "long" + } + ], + "optional": 1, + "type-original": "(HTMLElement or long)?" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "add" + } + } + }, + "exposed": "Window", + "extends": "HTMLCollection" + }, + "RTCIceGathererEvent": { + "specs": "ortc", + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceGathererEvent", + "properties": { + "property": { + "candidate": { + "specs": "ortc", + "exposed": "Window", + "name": "candidate", + "type": [ + { + "type": "RTCIceCandidateDictionary" + }, + { + "type": "RTCIceCandidateComplete" + } + ], + "type-original": "RTCIceGatherCandidate", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "BeforeUnloadEvent": { + "constants": { + "constant": {} + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "BeforeUnloadEvent", + "extends": "Event", + "properties": { + "property": { + "returnValue": { + "specs": "html5", + "name": "returnValue", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + } + }, + "SVGMatrix": { + "constants": { + "constant": {} + }, + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "skewY": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "skewY" + }, + "flipY": { + "signature": [ + { + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "flipY" + }, + "multiply": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "secondMatrix", + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "multiply" + }, + "inverse": { + "signature": [ + { + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "inverse" + }, + "scaleNonUniform": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGMatrix", + "param": [ + { + "name": "scaleFactorX", + "type": "float", + "type-original": "float" + }, + { + "name": "scaleFactorY", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "scaleNonUniform" + }, + "rotate": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "rotate" + }, + "flipX": { + "signature": [ + { + "type": "SVGMatrix", + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "flipX" + }, + "translate": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGMatrix", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "translate" + }, + "scale": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "scaleFactor", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "scale" + }, + "rotateFromVector": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGMatrix", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "rotateFromVector" + }, + "skewX": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "angle", + "type": "float", + "type-original": "float" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "skewX" + } + } + }, + "name": "SVGMatrix", + "extends": "Object", + "properties": { + "property": { + "e": { + "specs": "svg11", + "exposed": "Window", + "name": "e", + "type": "float", + "type-original": "float" + }, + "c": { + "specs": "svg11", + "exposed": "Window", + "name": "c", + "type": "float", + "type-original": "float" + }, + "a": { + "specs": "svg11", + "exposed": "Window", + "name": "a", + "type": "float", + "type-original": "float" + }, + "b": { + "specs": "svg11", + "exposed": "Window", + "name": "b", + "type": "float", + "type-original": "float" + }, + "d": { + "specs": "svg11", + "exposed": "Window", + "name": "d", + "type": "float", + "type-original": "float" + }, + "f": { + "specs": "svg11", + "exposed": "Window", + "name": "f", + "type": "float", + "type-original": "float" + } + } + } + }, + "DataTransferItem": { + "constants": { + "constant": {} + }, + "specs": "html51", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "getAsFile": { + "signature": [ + { + "nullable": 1, + "type": "File", + "type-original": "File?" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "getAsFile" + }, + "getAsString": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "nullable": 1, + "name": "_callback", + "type": "FunctionStringCallback", + "type-original": "FunctionStringCallback?" + } + ], + "type-original": "void" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "getAsString" + }, + "webkitGetAsEntry": { + "signature": [ + { + "nullable": 1, + "type": "WebKitEntry", + "type-original": "WebKitEntry?" + } + ], + "specs": "html51", + "exposed": "Window", + "name": "webkitGetAsEntry" + } + } + }, + "name": "DataTransferItem", + "extends": "Object", + "properties": { + "property": { + "kind": { + "specs": "html51", + "exposed": "Window", + "name": "kind", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "type": { + "specs": "html51", + "exposed": "Window", + "name": "type", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + } + }, + "CryptoKey": { + "constants": { + "constant": {} + }, + "specs": "webcryptoapi", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CryptoKey", + "extends": "Object", + "properties": { + "property": { + "algorithm": { + "specs": "webcryptoapi", + "exposed": "Window", + "name": "algorithm", + "type": "KeyAlgorithm", + "type-original": "KeyAlgorithm", + "read-only": 1 + }, + "usages": { + "specs": "webcryptoapi", + "name": "usages", + "type-original": "sequence", + "subtype": { + "type": "DOMString" + }, + "exposed": "Window", + "type": "sequence", + "read-only": 1 + }, + "type": { + "specs": "webcryptoapi", + "exposed": "Window", + "name": "type", + "type": "DOMString", + "type-original": "KeyType", + "read-only": 1 + }, + "extractable": { + "specs": "webcryptoapi", + "exposed": "Window", + "name": "extractable", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "SVGLinearGradientElement": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGLinearGradientElement", + "properties": { + "property": { + "y1": { + "specs": "svg2", + "same-object": 1, + "name": "y1", + "constant": 1, + "content-attribute": "y1", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x2": { + "specs": "svg2", + "same-object": 1, + "name": "x2", + "constant": 1, + "content-attribute": "x2", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y2": { + "specs": "svg2", + "same-object": 1, + "name": "y2", + "constant": 1, + "content-attribute": "y2", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x1": { + "specs": "svg2", + "same-object": 1, + "name": "x1", + "constant": 1, + "content-attribute": "x1", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "linearGradient" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "SVGGradientElement" + }, + "SVGRectElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGRectElement", + "properties": { + "property": { + "ry": { + "specs": "svg2", + "same-object": 1, + "name": "ry", + "constant": 1, + "content-attribute": "ry", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "width": { + "specs": "svg2", + "same-object": 1, + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "y": { + "specs": "svg2", + "same-object": 1, + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "rx": { + "specs": "svg2", + "same-object": 1, + "name": "rx", + "constant": 1, + "content-attribute": "rx", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "x": { + "specs": "svg2", + "same-object": 1, + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + }, + "height": { + "specs": "svg2", + "same-object": 1, + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "content-attribute-reflects": 1, + "type": "SVGAnimatedLength", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "rect" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "IDBKeyRange": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBKeyRange", + "properties": { + "property": { + "upperOpen": { + "specs": "indexeddb", + "name": "upperOpen", + "constant": 1, + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "upper": { + "specs": "indexeddb", + "exposed": "Window", + "name": "upper", + "type": "any", + "type-original": "any", + "read-only": 1 + }, + "lowerOpen": { + "specs": "indexeddb", + "name": "lowerOpen", + "constant": 1, + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "lower": { + "specs": "indexeddb", + "exposed": "Window", + "name": "lower", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "bound": { + "signature": [ + { + "param-min-required": 2, + "type": "IDBKeyRange", + "param": [ + { + "name": "lower", + "type": "any", + "type-original": "any" + }, + { + "name": "upper", + "type": "any", + "type-original": "any" + }, + { + "name": "lowerOpen", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + }, + { + "name": "upperOpen", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "IDBKeyRange" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "bound", + "static": 1 + }, + "only": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBKeyRange", + "param": [ + { + "name": "value", + "type": "any", + "type-original": "any" + } + ], + "type-original": "IDBKeyRange" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "only", + "static": 1 + }, + "upperBound": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBKeyRange", + "param": [ + { + "name": "upper", + "type": "any", + "type-original": "any" + }, + { + "name": "open", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "IDBKeyRange" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "upperBound", + "static": 1 + }, + "lowerBound": { + "signature": [ + { + "param-min-required": 1, + "type": "IDBKeyRange", + "param": [ + { + "name": "lower", + "type": "any", + "type-original": "any" + }, + { + "name": "open", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "IDBKeyRange" + } + ], + "specs": "indexeddb", + "exposed": "Window", + "name": "lowerBound", + "static": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "NamedNodeMap": { + "legacy-unenumerable-named-properties": 1, + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "name": "NamedNodeMap", + "properties": { + "property": { + "length": { + "specs": "dom", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "removeNamedItemNS": { + "signature": [ + { + "param-min-required": 2, + "type": "Attr", + "param": [ + { + "nullable": 1, + "name": "namespace", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeNamedItemNS" + }, + "item": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "Attr?" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "item" + }, + "removeNamedItem": { + "signature": [ + { + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "removeNamedItem" + }, + "getNamedItem": { + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "qualifiedName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr?" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "getNamedItem" + }, + "setNamedItemNS": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "attr", + "type": "Attr", + "type-original": "Attr" + } + ], + "type-original": "Attr?" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "setNamedItemNS" + }, + "setNamedItem": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Attr", + "param": [ + { + "name": "attr", + "type": "Attr", + "type-original": "Attr" + } + ], + "type-original": "Attr?" + } + ], + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "setNamedItem" + }, + "getNamedItemNS": { + "signature": [ + { + "nullable": 1, + "param-min-required": 2, + "type": "Attr", + "param": [ + { + "nullable": 1, + "name": "namespace", + "type": "DOMString", + "type-original": "DOMString?" + }, + { + "name": "localName", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Attr?" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "getNamedItemNS" + } + } + }, + "extends": "Object" + }, + "SVGPathSegCurvetoQuadraticSmoothAbs": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegCurvetoQuadraticSmoothAbs", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "SVGLengthList": { + "constants": { + "constant": {} + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "replaceItem": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength", + "type-original": "SVGLength" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "replaceItem" + }, + "getItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGLength", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getItem" + }, + "appendItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength", + "type-original": "SVGLength" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "appendItem" + }, + "clear": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "clear" + }, + "removeItem": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGLength", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "removeItem" + }, + "initialize": { + "signature": [ + { + "param-min-required": 1, + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength", + "type-original": "SVGLength" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "initialize" + }, + "insertItemBefore": { + "signature": [ + { + "param-min-required": 2, + "type": "SVGLength", + "param": [ + { + "name": "newItem", + "type": "SVGLength", + "type-original": "SVGLength" + }, + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SVGLength" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "insertItemBefore" + } + } + }, + "name": "SVGLengthList", + "extends": "Object", + "properties": { + "property": { + "numberOfItems": { + "specs": "svg2", + "name": "numberOfItems", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "ProcessingInstruction": { + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "name": "ProcessingInstruction", + "properties": { + "property": { + "target": { + "specs": "dom", + "exposed": "Window", + "name": "target", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMCharacterDataModified", + "type": "MutationEvent", + "bubbles": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "CharacterData" + }, + "MSGraphicsTrust": { + "constants": { + "constant": {} + }, + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MSGraphicsTrust", + "extends": "Object", + "properties": { + "property": { + "status": { + "specs": "none", + "exposed": "Window", + "name": "status", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "constrictionActive": { + "specs": "none", + "exposed": "Window", + "name": "constrictionActive", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + } + }, + "CSSFontFaceRule": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CSSFontFaceRule", + "extends": "CSSRule", + "properties": { + "property": { + "style": { + "specs": "cssom", + "exposed": "Window", + "name": "style", + "type": "CSSStyleDeclaration", + "type-original": "CSSStyleDeclaration", + "read-only": 1 + } + } + } + }, + "GainNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "GainNode", + "extends": "AudioNode", + "properties": { + "property": { + "gain": { + "specs": "webaudio", + "exposed": "Window", + "name": "gain", + "type": "AudioParam", + "type-original": "AudioParam", + "read-only": 1 + } + } + } + }, + "TextEvent": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "TextEvent", + "properties": { + "property": { + "data": { + "specs": "none", + "name": "data", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "DOM_INPUT_METHOD_DROP": { + "specs": "none", + "value": "0x03", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_DROP", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_KEYBOARD": { + "specs": "none", + "value": "0x01", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_KEYBOARD", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_IME": { + "specs": "none", + "value": "0x04", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_IME", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_SCRIPT": { + "specs": "none", + "value": "0x09", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_SCRIPT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_VOICE": { + "specs": "none", + "value": "0x07", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_VOICE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_UNKNOWN": { + "specs": "none", + "value": "0x00", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_UNKNOWN", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_PASTE": { + "specs": "none", + "value": "0x02", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_PASTE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_HANDWRITING": { + "specs": "none", + "value": "0x06", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_HANDWRITING", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_OPTION": { + "specs": "none", + "value": "0x05", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_OPTION", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "DOM_INPUT_METHOD_MULTIMODAL": { + "specs": "none", + "value": "0x08", + "exposed": "Window", + "name": "DOM_INPUT_METHOD_MULTIMODAL", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "initTextEvent": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "canBubbleArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelableArg", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "viewArg", + "type": "Window", + "type-original": "Window" + }, + { + "name": "dataArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "inputMethod", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "locale", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "initTextEvent" + } + } + }, + "extends": "UIEvent" + }, + "SVGPolylineElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "clip-rule" + }, + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "fill" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "fill-opacity" + }, + { + "enum-values": "nonzero evenodd inherit", + "value-syntax": "enum", + "name": "fill-rule" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-end" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-mid" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "marker-start" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "auto none visiblePainted visibleFill visibleStroke visible painted fill stroke all inherit initial", + "value-syntax": "enum", + "name": "pointer-events" + }, + { + "enum-values": "none currentColor inherit", + "value-syntax": "svg_paint_or_css_color", + "name": "stroke" + }, + { + "enum-values": "none inherit", + "value-syntax": "comma_or_space_separated_css_percentage_or_length", + "name": "stroke-dasharray" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-dashoffset" + }, + { + "enum-values": "butt round square inherit", + "value-syntax": "enum", + "name": "stroke-linecap" + }, + { + "enum-values": "miter round bevel inherit", + "value-syntax": "enum", + "name": "stroke-linejoin" + }, + { + "enum-values": "inherit", + "value-syntax": "1_or_greater_floating_point_number", + "name": "stroke-miterlimit" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stroke-opacity" + }, + { + "enum-values": "inherit", + "value-syntax": "css_percentage_or_length", + "name": "stroke-width" + }, + { + "enum-values": "visible hidden collapse inherit initial", + "value-syntax": "enum", + "name": "visibility" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPolylineElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "polyline" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement", + "implements": [ + "SVGAnimatedPoints" + ] + }, + "RTCSessionDescription": { + "specs": "webrtc", + "constructor": { + "specs": "webrtc", + "signature": [ + { + "param-min-required": 0, + "type": "RTCSessionDescription", + "param": [ + { + "name": "descriptionInitDict", + "type": "RTCSessionDescriptionInit", + "optional": 1, + "type-original": "RTCSessionDescriptionInit" + } + ], + "type-original": "RTCSessionDescription" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCSessionDescription", + "properties": { + "property": { + "sdp": { + "specs": "webrtc", + "nullable": 1, + "exposed": "Window", + "name": "sdp", + "type": "DOMString", + "type-original": "DOMString?" + }, + "type": { + "specs": "webrtc", + "nullable": 1, + "exposed": "Window", + "name": "type", + "type": "RTCSdpType", + "type-original": "RTCSdpType?" + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "toJSON": { + "serializer": 1, + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "webrtc", + "exposed": "Window", + "serializer-info": "attribute", + "name": "toJSON" + } + } + }, + "extends": "Object" + }, + "DeviceAcceleration": { + "constants": { + "constant": {} + }, + "specs": "orientation-event", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "DeviceAcceleration", + "extends": "Object", + "properties": { + "property": { + "y": { + "specs": "orientation-event", + "name": "y", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "x": { + "specs": "orientation-event", + "name": "x", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "z": { + "specs": "orientation-event", + "name": "z", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + } + } + } + }, + "RTCIceGatherer": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 1, + "type": "RTCIceGatherer", + "param": [ + { + "name": "options", + "type": "RTCIceGatherOptions", + "type-original": "RTCIceGatherOptions" + } + ], + "type-original": "RTCIceGatherer" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCIceGatherer", + "properties": { + "property": { + "component": { + "specs": "ortc", + "exposed": "Window", + "name": "component", + "type": "RTCIceComponent", + "type-original": "RTCIceComponent", + "read-only": 1 + }, + "onerror": { + "specs": "ortc", + "name": "onerror", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onlocalcandidate": { + "specs": "ortc", + "name": "onlocalcandidate", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "localcandidate" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "localcandidate", + "type": "RTCIceGathererEvent", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "createAssociatedGatherer": { + "signature": [ + { + "type": "RTCIceGatherer", + "type-original": "RTCIceGatherer" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "createAssociatedGatherer" + }, + "getLocalCandidates": { + "signature": [ + { + "subtype": { + "type": "RTCIceCandidateDictionary" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getLocalCandidates" + }, + "getLocalParameters": { + "signature": [ + { + "type": "RTCIceParameters", + "type-original": "RTCIceParameters" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getLocalParameters" + } + } + }, + "extends": "RTCStatsProvider" + }, + "MediaKeys": { + "constants": { + "constant": {} + }, + "specs": "encrypted-media", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "setServerCertificate": { + "signature": [ + { + "subtype": { + "type": "void" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "serverCertificate", + "type": [ + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + } + ] + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ], + "type-original": "BufferSource" + } + ], + "type-original": "Promise" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "setServerCertificate" + }, + "createSession": { + "signature": [ + { + "param-min-required": 0, + "type": "MediaKeySession", + "param": [ + { + "name": "sessionType", + "default": "\"temporary\"", + "type": "MediaKeySessionType", + "optional": 1, + "type-original": "MediaKeySessionType" + } + ], + "type-original": "MediaKeySession" + } + ], + "specs": "encrypted-media", + "exposed": "Window", + "name": "createSession" + } + } + }, + "name": "MediaKeys", + "extends": "Object", + "properties": { + "property": {} + } + }, + "TextEncoder": { + "specs": "encoding", + "constructor": { + "specs": "encoding", + "signature": [ + { + "type": "TextEncoder", + "type-original": "TextEncoder" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "TextEncoder", + "properties": { + "property": { + "encoding": { + "specs": "encoding", + "exposed": "Window Worker", + "name": "encoding", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": { + "encode": { + "signature": [ + { + "new-object": 1, + "param-min-required": 0, + "type": "Uint8Array", + "param": [ + { + "name": "input", + "default": "\"\"", + "type": "USVString", + "optional": 1, + "type-original": "USVString" + } + ], + "type-original": "Uint8Array" + } + ], + "specs": "encoding", + "exposed": "Window Worker", + "name": "encode" + } + } + }, + "extends": "Object" + }, + "HTMLSpanElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLSpanElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "span" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLHeadingElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLHeadingElement", + "properties": { + "property": { + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h1" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h2" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h3" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h4" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h5" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "h6" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGFEOffsetElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "linearRGB auto sRGB inherit", + "value-syntax": "enum", + "name": "color-interpolation-filters" + } + ] + }, + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFEOffsetElement", + "properties": { + "property": { + "dy": { + "specs": "filter-effects", + "name": "dy", + "constant": 1, + "content-attribute": "dy", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "dx": { + "specs": "filter-effects", + "name": "dx", + "constant": 1, + "content-attribute": "dx", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "in1": { + "content-attribute-enum-values": "SourceGraphic SourceAlpha BackgroundImage BackgroundAlpha FillPaint StrokePaint", + "specs": "filter-effects", + "name": "in1", + "constant": 1, + "content-attribute": "in", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "filter_result_ref", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "filter-effects", + "namespace": "SVG", + "name": "feOffset" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGFilterPrimitiveStandardAttributes" + ] + }, + "HTMLFormElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFormElement", + "properties": { + "property": { + "acceptCharset": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "acceptCharset", + "content-attribute": "accept-charset", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "elements": { + "specs": "html5", + "name": "elements", + "constant": 1, + "tags": "TreeNavigation", + "type-original": "HTMLFormControlsCollection", + "exposed": "Window", + "type": "HTMLFormControlsCollection", + "read-only": 1 + }, + "enctype": { + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "enctype", + "content-attribute": "enctype", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "autocomplete": { + "content-attribute-enum-values": "on off", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "autocomplete", + "content-attribute": "autocomplete", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noValidate": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "noValidate", + "content-attribute": "novalidate", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "length": { + "pure": 1, + "specs": "html5", + "name": "length", + "tags": "TreeNavigation", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "target": { + "content-attribute-enum-values": "_blank _self _parent _top", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "target", + "content-attribute": "target", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "name_ref", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "action": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "action", + "content-attribute": "action", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "method": { + "content-attribute-enum-values": "GET POST", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "method", + "content-attribute": "method", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "encoding": { + "content-attribute-enum-values": "application/x-www-form-urlencoded multipart/form-data text/plain", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "encoding", + "content-attribute": "enctype", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "form" + } + ], + "constants": { + "constant": {} + }, + "override-builtins": 1, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "reset", + "type": "Event", + "cancelable": 1, + "bubbles": 1 + }, + { + "dispatch": "sync", + "specs": "HTML5", + "name": "submit", + "type": "Event", + "cancelable": 1, + "bubbles": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "reset": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "ce-reactions": 1, + "exposed": "Window", + "name": "reset", + "tags": "TreeMutation" + }, + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "item": { + "specs": "html5", + "name": "item", + "tags": "TreeNavigation", + "getter": 1, + "signature": [ + { + "param-min-required": 0, + "type": "any", + "param": [ + { + "name": "name", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "name": "index", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "any" + } + ], + "exposed": "Window" + }, + "submit": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "submit", + "tags": "NetworkAccess" + }, + "namedItem": { + "specs": "html5", + "name": "namedItem", + "tags": "TreeNavigation", + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "any", + "param": [ + { + "name": "name", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "any" + } + ], + "exposed": "Window" + } + } + }, + "extends": "HTMLElement" + }, + "MediaStreamErrorEvent": { + "specs": "media-capture-api", + "constructor": { + "specs": "media-capture-api", + "signature": [ + { + "param-min-required": 1, + "type": "MediaStreamErrorEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaStreamErrorEventInit", + "optional": 1, + "type-original": "MediaStreamErrorEventInit" + } + ], + "type-original": "MediaStreamErrorEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaStreamErrorEvent", + "properties": { + "property": { + "error": { + "specs": "media-capture-api", + "name": "error", + "type-original": "MediaStreamError?", + "nullable": 1, + "exposed": "Window", + "type": "MediaStreamError", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "DOMParser": { + "constants": { + "constant": {} + }, + "specs": "dom-parsing", + "constructor": { + "specs": "dom-parsing", + "signature": [ + { + "type": "DOMParser", + "type-original": "DOMParser" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "parseFromString": { + "signature": [ + { + "param-min-required": 2, + "type": "Document", + "param": [ + { + "name": "source", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "mimeType", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Document" + } + ], + "specs": "dom-parsing", + "exposed": "Window", + "name": "parseFromString", + "tags": "TreeMutation" + } + } + }, + "name": "DOMParser", + "extends": "Object", + "properties": { + "property": {} + } + }, + "AudioParam": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "setTargetAtTime": { + "signature": [ + { + "param-min-required": 3, + "type": "AudioParam", + "param": [ + { + "name": "target", + "type": "float", + "type-original": "float" + }, + { + "name": "startTime", + "type": "double", + "type-original": "double" + }, + { + "name": "timeConstant", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setTargetAtTime" + }, + "cancelScheduledValues": { + "signature": [ + { + "param-min-required": 1, + "type": "AudioParam", + "param": [ + { + "name": "cancelTime", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "cancelScheduledValues" + }, + "exponentialRampToValueAtTime": { + "signature": [ + { + "param-min-required": 2, + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float", + "type-original": "float" + }, + { + "name": "endTime", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "exponentialRampToValueAtTime" + }, + "setValueAtTime": { + "signature": [ + { + "param-min-required": 2, + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float", + "type-original": "float" + }, + { + "name": "startTime", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setValueAtTime" + }, + "setValueCurveAtTime": { + "signature": [ + { + "param-min-required": 3, + "type": "AudioParam", + "param": [ + { + "subtype": { + "type": "float" + }, + "name": "values", + "type": "sequence", + "type-original": "sequence" + }, + { + "name": "startTime", + "type": "double", + "type-original": "double" + }, + { + "name": "duration", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setValueCurveAtTime" + }, + "linearRampToValueAtTime": { + "signature": [ + { + "param-min-required": 2, + "type": "AudioParam", + "param": [ + { + "name": "value", + "type": "float", + "type-original": "float" + }, + { + "name": "endTime", + "type": "double", + "type-original": "double" + } + ], + "type-original": "AudioParam" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "linearRampToValueAtTime" + } + } + }, + "name": "AudioParam", + "extends": "Object", + "properties": { + "property": { + "value": { + "specs": "webaudio", + "exposed": "Window", + "name": "value", + "type": "float", + "type-original": "float" + }, + "defaultValue": { + "specs": "webaudio", + "exposed": "Window", + "name": "defaultValue", + "type": "float", + "type-original": "float", + "read-only": 1 + } + } + } + }, + "ServiceWorker": { + "specs": "service-workers", + "anonymous-methods": { + "method": [] + }, + "name": "ServiceWorker", + "properties": { + "property": { + "scriptURL": { + "specs": "service-workers", + "exposed": "Window", + "name": "scriptURL", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + }, + "onstatechange": { + "specs": "service-workers", + "name": "onstatechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "statechange" + }, + "state": { + "specs": "service-workers", + "exposed": "Window", + "name": "state", + "type": "ServiceWorkerState", + "type-original": "ServiceWorkerState", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "async", + "specs": "Workers", + "name": "error", + "type": "ErrorEvent", + "skips-window": 1 + }, + { + "dispatch": "async", + "specs": "ServiceWorker", + "name": "statechange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "postMessage": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "message", + "type": "any", + "type-original": "any" + }, + { + "subtype": { + "type": "object" + }, + "name": "transfer", + "type": "sequence", + "optional": 1, + "type-original": "sequence" + } + ], + "type-original": "void" + } + ], + "specs": "service-workers", + "exposed": "Window", + "name": "postMessage" + } + } + }, + "extends": "EventTarget", + "implements": [ + "AbstractWorker" + ] + }, + "RTCRtpReceiver": { + "specs": "ortc", + "constructor": { + "specs": "ortc", + "signature": [ + { + "param-min-required": 2, + "type": "RTCRtpReceiver", + "param": [ + { + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport" + }, + { + "name": "kind", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "optional": 1, + "type-original": "RTCDtlsTransport" + } + ], + "type-original": "RTCRtpReceiver" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "RTCRtpReceiver", + "properties": { + "property": { + "onmsdsh": { + "specs": "ortc", + "name": "onmsdsh", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "msdsh" + }, + "rtcpTransport": { + "specs": "ortc", + "exposed": "Window", + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "type-original": "RTCDtlsTransport", + "read-only": 1 + }, + "transport": { + "specs": "ortc", + "exposed": "Window", + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport", + "read-only": 1 + }, + "onmsdecodercapacitychange": { + "specs": "ortc", + "name": "onmsdecodercapacitychange", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "msdecodercapacitychange" + }, + "track": { + "specs": "ortc", + "name": "track", + "type-original": "MediaStreamTrack?", + "nullable": 1, + "exposed": "Window", + "type": "MediaStreamTrack", + "read-only": 1 + }, + "onerror": { + "specs": "ortc", + "name": "onerror", + "type-original": "EventHandler?", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "ORTC", + "name": "error", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "msdsh", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "ORTC", + "name": "decodercapacitychange", + "type": "Event", + "skips-window": 1 + } + ] + }, + "exposed": "Window", + "methods": { + "method": { + "receive": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "parameters", + "type": "RTCRtpParameters", + "type-original": "RTCRtpParameters" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "receive" + }, + "requestSendCSRC": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "csrc", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "requestSendCSRC" + }, + "stop": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "stop" + }, + "setTransport": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "transport", + "type": [ + { + "type": "RTCDtlsTransport" + }, + { + "type": "RTCSrtpSdesTransport" + } + ], + "type-original": "RTCTransport" + }, + { + "name": "rtcpTransport", + "type": "RTCDtlsTransport", + "optional": 1, + "type-original": "RTCDtlsTransport" + } + ], + "type-original": "void" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "setTransport" + }, + "getContributingSources": { + "signature": [ + { + "subtype": { + "type": "RTCRtpContributingSource" + }, + "type": "sequence", + "type-original": "sequence" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getContributingSources" + }, + "getCapabilities": { + "signature": [ + { + "param-min-required": 0, + "type": "RTCRtpCapabilities", + "param": [ + { + "name": "kind", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "RTCRtpCapabilities" + } + ], + "specs": "ortc", + "exposed": "Window", + "name": "getCapabilities", + "static": 1 + } + } + }, + "extends": "RTCStatsProvider" + }, + "DeviceOrientationEvent": { + "specs": "orientation-event", + "constructor": { + "specs": "orientation-event", + "signature": [ + { + "param-min-required": 1, + "type": "DeviceOrientationEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "DeviceOrientationEventInit", + "optional": 1, + "type-original": "DeviceOrientationEventInit" + } + ], + "type-original": "DeviceOrientationEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "DeviceOrientationEvent", + "properties": { + "property": { + "gamma": { + "specs": "orientation-event", + "name": "gamma", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "absolute": { + "specs": "orientation-event", + "exposed": "Window", + "name": "absolute", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "alpha": { + "specs": "orientation-event", + "name": "alpha", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "beta": { + "specs": "orientation-event", + "name": "beta", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initDeviceOrientationEvent": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bubbles", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelable", + "type": "boolean", + "type-original": "boolean" + }, + { + "nullable": 1, + "name": "alpha", + "type": "double", + "type-original": "double?" + }, + { + "nullable": 1, + "name": "beta", + "type": "double", + "type-original": "double?" + }, + { + "nullable": 1, + "name": "gamma", + "type": "double", + "type-original": "double?" + }, + { + "name": "absolute", + "type": "boolean", + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "orientation-event", + "exposed": "Window", + "name": "initDeviceOrientationEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "Blob": { + "specs": "fileapi", + "constructor": { + "specs": "fileapi", + "signature": [ + { + "type": "Blob", + "type-original": "Blob" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Blob", + "properties": { + "property": { + "type": { + "specs": "fileapi", + "name": "type", + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "size": { + "specs": "fileapi", + "name": "size", + "type-original": "unsigned long long", + "exposed": "Window Worker", + "type": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window Worker", + "methods": { + "method": { + "msDetachStream": { + "extension": 1, + "specs": "none", + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "name": "msDetachStream", + "exposed": "Window Worker" + }, + "msClose": { + "extension": 1, + "specs": "none", + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "name": "msClose", + "exposed": "Window Worker" + }, + "slice": { + "signature": [ + { + "param-min-required": 0, + "type": "Blob", + "param": [ + { + "clamp": 1, + "name": "start", + "type": "long long", + "optional": 1, + "type-original": "long long" + }, + { + "clamp": 1, + "name": "end", + "type": "long long", + "optional": 1, + "type-original": "long long" + }, + { + "name": "contentType", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Blob" + } + ], + "specs": "fileapi", + "exposed": "Window Worker", + "name": "slice" + } + } + }, + "extends": "Object" + }, + "ContentScriptGlobalScope": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "ContentScriptGlobalScope", + "properties": { + "property": { + "window": { + "specs": "none", + "exposed": "Extension", + "name": "window", + "type": "Window", + "type-original": "Window", + "read-only": 1 + }, + "msContentScript": { + "specs": "none", + "exposed": "Extension", + "name": "msContentScript", + "type": "ExtensionScriptApis", + "type-original": "ExtensionScriptApis", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "mirror-from": "Window", + "exposed": "Extension", + "methods": { + "method": {} + }, + "extends": "EventTarget" + }, + "AudioDestinationNode": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "AudioDestinationNode", + "extends": "AudioNode", + "properties": { + "property": { + "maxChannelCount": { + "specs": "webaudio", + "exposed": "Window", + "name": "maxChannelCount", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + } + }, + "PopStateEvent": { + "specs": "html5", + "constructor": { + "specs": "html5", + "signature": [ + { + "param-min-required": 1, + "type": "PopStateEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "PopStateEventInit", + "optional": 1, + "type-original": "PopStateEventInit" + } + ], + "type-original": "PopStateEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "PopStateEvent", + "properties": { + "property": { + "state": { + "specs": "html5", + "exposed": "Window", + "name": "state", + "type": "any", + "type-original": "any", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "NodeFilter": { + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "name": "NodeFilter", + "static": 1, + "properties": { + "property": {} + }, + "constants": { + "constant": { + "SHOW_NOTATION": { + "specs": "dom", + "value": "0x800", + "exposed": "Window", + "name": "SHOW_NOTATION", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_DOCUMENT": { + "specs": "dom", + "value": "0x100", + "exposed": "Window", + "name": "SHOW_DOCUMENT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "FILTER_REJECT": { + "specs": "dom", + "value": "2", + "exposed": "Window", + "name": "FILTER_REJECT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SHOW_CDATA_SECTION": { + "specs": "dom", + "value": "0x8", + "exposed": "Window", + "name": "SHOW_CDATA_SECTION", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_DOCUMENT_TYPE": { + "specs": "dom", + "value": "0x200", + "exposed": "Window", + "name": "SHOW_DOCUMENT_TYPE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_TEXT": { + "specs": "dom", + "value": "0x4", + "exposed": "Window", + "name": "SHOW_TEXT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_COMMENT": { + "specs": "dom", + "value": "0x80", + "exposed": "Window", + "name": "SHOW_COMMENT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_ATTRIBUTE": { + "specs": "dom", + "value": "0x2", + "exposed": "Window", + "name": "SHOW_ATTRIBUTE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_ENTITY_REFERENCE": { + "specs": "dom", + "value": "0x10", + "exposed": "Window", + "name": "SHOW_ENTITY_REFERENCE", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_ENTITY": { + "specs": "dom", + "value": "0x20", + "exposed": "Window", + "name": "SHOW_ENTITY", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_PROCESSING_INSTRUCTION": { + "specs": "dom", + "value": "0x40", + "exposed": "Window", + "name": "SHOW_PROCESSING_INSTRUCTION", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "SHOW_ALL": { + "specs": "dom", + "value": "0xFFFFFFFF", + "exposed": "Window", + "name": "SHOW_ALL", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "FILTER_ACCEPT": { + "specs": "dom", + "value": "1", + "exposed": "Window", + "name": "FILTER_ACCEPT", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SHOW_ELEMENT": { + "specs": "dom", + "value": "0x1", + "exposed": "Window", + "name": "SHOW_ELEMENT", + "type": "unsigned long", + "type-original": "unsigned long" + }, + "FILTER_SKIP": { + "specs": "dom", + "value": "3", + "exposed": "Window", + "name": "FILTER_SKIP", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SHOW_DOCUMENT_FRAGMENT": { + "specs": "dom", + "value": "0x400", + "exposed": "Window", + "name": "SHOW_DOCUMENT_FRAGMENT", + "type": "unsigned long", + "type-original": "unsigned long" + } + } + }, + "exposed": "Window", + "methods": { + "method": { + "acceptNode": { + "signature": [ + { + "param-min-required": 1, + "type": "unsigned short", + "param": [ + { + "name": "node", + "type": "Node", + "type-original": "Node" + } + ], + "type-original": "unsigned short" + } + ], + "specs": "dom", + "exposed": "Window", + "name": "acceptNode" + } + } + }, + "extends": "Object" + }, + "PushSubscription": { + "specs": "push-api", + "anonymous-methods": { + "method": [] + }, + "name": "PushSubscription", + "properties": { + "property": { + "expirationTime": { + "specs": "push-api", + "name": "expirationTime", + "type-original": "DOMTimeStamp?", + "nullable": 1, + "exposed": "Window", + "type": "unsigned long long", + "read-only": 1 + }, + "options": { + "specs": "push-api", + "same-object": 1, + "name": "options", + "type-original": "PushSubscriptionOptions", + "exposed": "Window", + "type": "PushSubscriptionOptions", + "read-only": 1 + }, + "endpoint": { + "specs": "push-api", + "exposed": "Window", + "name": "endpoint", + "type": "USVString", + "type-original": "USVString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "toJSON": { + "serializer": 1, + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "toJSON" + }, + "getKey": { + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "ArrayBuffer", + "param": [ + { + "name": "name", + "type": "PushEncryptionKeyName", + "type-original": "PushEncryptionKeyName" + } + ], + "type-original": "ArrayBuffer?" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "getKey" + }, + "unsubscribe": { + "signature": [ + { + "subtype": { + "type": "boolean" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "push-api", + "exposed": "Window", + "name": "unsubscribe" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "OverflowEvent": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "OverflowEvent", + "properties": { + "property": { + "verticalOverflow": { + "specs": "none", + "exposed": "Window", + "name": "verticalOverflow", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "orient": { + "specs": "none", + "exposed": "Window", + "name": "orient", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + }, + "horizontalOverflow": { + "specs": "none", + "exposed": "Window", + "name": "horizontalOverflow", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "BOTH": { + "specs": "none", + "value": "2", + "exposed": "Window", + "name": "BOTH", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "HORIZONTAL": { + "specs": "none", + "value": "0", + "exposed": "Window", + "name": "HORIZONTAL", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "VERTICAL": { + "specs": "none", + "value": "1", + "exposed": "Window", + "name": "VERTICAL", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "UIEvent" + }, + "SVGGraphicsElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGGraphicsElement", + "properties": { + "property": { + "transform": { + "specs": "svg2", + "same-object": 1, + "name": "transform", + "content-attribute": "transform", + "type-original": "SVGAnimatedTransformList", + "exposed": "Window", + "content-attribute-value-syntax": "svg_transform_list", + "content-attribute-reflects": 1, + "type": "SVGAnimatedTransformList", + "read-only": 1 + }, + "farthestViewportElement": { + "specs": "svg2-20140211", + "name": "farthestViewportElement", + "type-original": "SVGElement?", + "deprecated": 1, + "interop": 1, + "nullable": 1, + "exposed": "Window", + "type": "SVGElement", + "read-only": 1 + }, + "nearestViewportElement": { + "specs": "svg2-20140211", + "name": "nearestViewportElement", + "type-original": "SVGElement?", + "deprecated": 1, + "interop": 1, + "nullable": 1, + "exposed": "Window", + "type": "SVGElement", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "getBBox": { + "signature": [ + { + "type": "SVGRect", + "type-original": "SVGRect" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getBBox" + }, + "getTransformToElement": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SVGMatrix", + "param": [ + { + "name": "element", + "type": "SVGElement", + "type-original": "SVGElement" + } + ], + "type-original": "SVGMatrix" + } + ], + "specs": "svg2-20140211", + "exposed": "Window", + "name": "getTransformToElement" + }, + "getScreenCTM": { + "signature": [ + { + "nullable": 1, + "type": "SVGMatrix", + "type-original": "SVGMatrix?" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getScreenCTM" + }, + "getCTM": { + "signature": [ + { + "nullable": 1, + "type": "SVGMatrix", + "type-original": "SVGMatrix?" + } + ], + "specs": "svg2", + "exposed": "Window", + "name": "getCTM" + } + } + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGTests" + ] + }, + "MediaError": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "MediaError", + "properties": { + "property": { + "msExtendedCode": { + "specs": "html5", + "name": "msExtendedCode", + "tags": "Media", + "type-original": "long", + "exposed": "Window", + "type": "long", + "read-only": 1 + }, + "code": { + "specs": "html5", + "name": "code", + "constant": 1, + "tags": "Media", + "type-original": "short", + "exposed": "Window", + "type": "short", + "read-only": 1 + } + } + }, + "tags": "Media", + "constants": { + "constant": { + "MEDIA_ERR_SRC_NOT_SUPPORTED": { + "specs": "html5", + "value": "4", + "name": "MEDIA_ERR_SRC_NOT_SUPPORTED", + "tags": "Media", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "MEDIA_ERR_NETWORK": { + "specs": "html5", + "value": "2", + "name": "MEDIA_ERR_NETWORK", + "tags": "Media", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "MEDIA_ERR_ABORTED": { + "specs": "html5", + "value": "1", + "name": "MEDIA_ERR_ABORTED", + "tags": "Media", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "MS_MEDIA_ERR_ENCRYPTED": { + "specs": "html5", + "value": "5", + "name": "MS_MEDIA_ERR_ENCRYPTED", + "tags": "Media", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "MEDIA_ERR_DECODE": { + "specs": "html5", + "value": "3", + "name": "MEDIA_ERR_DECODE", + "tags": "Media", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLFieldSetElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLFieldSetElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "disabled": { + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "align": { + "content-attribute-enum-values": "absbottom absmiddle baseline bottom left middle right texttop top", + "extension": 1, + "specs": "none", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "DOMString" + }, + "validity": { + "specs": "html5", + "same-object": 1, + "name": "validity", + "type-original": "ValidityState", + "exposed": "Window", + "type": "ValidityState", + "read-only": 1 + }, + "name": { + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "fieldset" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + } + } + }, + "extends": "HTMLElement" + }, + "SourceBufferList": { + "specs": "media-source", + "anonymous-methods": { + "method": [] + }, + "name": "SourceBufferList", + "properties": { + "property": { + "length": { + "specs": "media-source", + "exposed": "Window", + "name": "length", + "type": "unsigned long", + "type-original": "unsigned long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "MSE", + "name": "addsourcebuffer", + "type": "Event", + "skips-window": 1 + }, + { + "dispatch": "sync", + "specs": "MSE", + "name": "removesourcebuffer", + "type": "Event", + "skips-window": 1 + } + ] + }, + "methods": { + "method": { + "item": { + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "SourceBuffer", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "SourceBuffer" + } + ], + "specs": "media-source", + "exposed": "Window", + "name": "item" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "WebGLActiveInfo": { + "constants": { + "constant": {} + }, + "specs": "webgl", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "WebGLActiveInfo", + "extends": "Object", + "properties": { + "property": { + "name": { + "specs": "webgl", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "type": { + "specs": "webgl", + "exposed": "Window", + "name": "type", + "type": "unsigned long", + "type-original": "GLenum", + "read-only": 1 + }, + "size": { + "specs": "webgl", + "exposed": "Window", + "name": "size", + "type": "long", + "type-original": "GLint", + "read-only": 1 + } + } + } + }, + "DeviceMotionEvent": { + "specs": "orientation-event", + "constructor": { + "specs": "orientation-event", + "signature": [ + { + "param-min-required": 1, + "type": "DeviceMotionEvent", + "param": [ + { + "name": "typeArg", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "DeviceMotionEventInit", + "optional": 1, + "type-original": "DeviceMotionEventInit" + } + ], + "type-original": "DeviceMotionEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "DeviceMotionEvent", + "properties": { + "property": { + "rotationRate": { + "specs": "orientation-event", + "name": "rotationRate", + "type-original": "DeviceRotationRate?", + "nullable": 1, + "exposed": "Window", + "type": "DeviceRotationRate", + "read-only": 1 + }, + "acceleration": { + "specs": "orientation-event", + "name": "acceleration", + "type-original": "DeviceAcceleration?", + "nullable": 1, + "exposed": "Window", + "type": "DeviceAcceleration", + "read-only": 1 + }, + "interval": { + "specs": "orientation-event", + "name": "interval", + "type-original": "double?", + "nullable": 1, + "exposed": "Window", + "type": "double", + "read-only": 1 + }, + "accelerationIncludingGravity": { + "specs": "orientation-event", + "name": "accelerationIncludingGravity", + "type-original": "DeviceAcceleration?", + "nullable": 1, + "exposed": "Window", + "type": "DeviceAcceleration", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "initDeviceMotionEvent": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "bubbles", + "type": "boolean", + "type-original": "boolean" + }, + { + "name": "cancelable", + "type": "boolean", + "type-original": "boolean" + }, + { + "nullable": 1, + "name": "acceleration", + "type": "DeviceAccelerationDict", + "type-original": "DeviceAccelerationDict?" + }, + { + "nullable": 1, + "name": "accelerationIncludingGravity", + "type": "DeviceAccelerationDict", + "type-original": "DeviceAccelerationDict?" + }, + { + "nullable": 1, + "name": "rotationRate", + "type": "DeviceRotationRateDict", + "type-original": "DeviceRotationRateDict?" + }, + { + "nullable": 1, + "name": "interval", + "type": "double", + "type-original": "double?" + } + ], + "type-original": "void" + } + ], + "specs": "orientation-event", + "exposed": "Window", + "name": "initDeviceMotionEvent" + } + } + }, + "exposed": "Window", + "extends": "Event" + }, + "CountQueuingStrategy": { + "specs": "whatwg-streams", + "constructor": { + "specs": "whatwg-streams", + "signature": [ + { + "param-min-required": 1, + "type": "CountQueuingStrategy", + "param": [ + { + "name": "strategy", + "type": "QueuingStrategy", + "type-original": "QueuingStrategy" + } + ], + "type-original": "CountQueuingStrategy" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "CountQueuingStrategy", + "properties": { + "property": { + "highWaterMark": { + "specs": "whatwg-streams", + "exposed": "Window", + "name": "highWaterMark", + "type": "double", + "type-original": "double" + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": { + "size": { + "signature": [ + { + "type": "long", + "type-original": "long" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "size" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "name": "x-ms-acceleratorkey" + }, + { + "enum-values": "all none phone", + "value-syntax": "enum", + "name": "x-ms-format-detection" + } + ] + }, + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLElement", + "properties": { + "property": { + "onmouseleave": { + "specs": "html5", + "name": "onmouseleave", + "content-attribute": "onmouseleave", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseleave" + }, + "onbeforecut": { + "specs": "html5", + "name": "onbeforecut", + "content-attribute": "onbeforecut", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforecut" + }, + "ondragend": { + "specs": "html5", + "name": "ondragend", + "content-attribute": "ondragend", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragend" + }, + "onbeforepaste": { + "specs": "html5", + "name": "onbeforepaste", + "content-attribute": "onbeforepaste", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforepaste" + }, + "onkeydown": { + "specs": "html5", + "name": "onkeydown", + "content-attribute": "onkeydown", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keydown" + }, + "ondragover": { + "specs": "html5", + "name": "ondragover", + "content-attribute": "ondragover", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragover" + }, + "onkeyup": { + "specs": "html5", + "name": "onkeyup", + "content-attribute": "onkeyup", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keyup" + }, + "offsetTop": { + "specs": "cssom-view", + "exposed": "Window", + "name": "offsetTop", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "onreset": { + "specs": "html5", + "name": "onreset", + "content-attribute": "onreset", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "reset" + }, + "onmouseup": { + "specs": "html5", + "name": "onmouseup", + "content-attribute": "onmouseup", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseup" + }, + "ondragstart": { + "specs": "html5", + "name": "ondragstart", + "content-attribute": "ondragstart", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragstart" + }, + "onbeforecopy": { + "specs": "html5", + "name": "onbeforecopy", + "content-attribute": "onbeforecopy", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforecopy" + }, + "ondrag": { + "specs": "html5", + "name": "ondrag", + "content-attribute": "ondrag", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drag" + }, + "onmouseover": { + "specs": "html5", + "name": "onmouseover", + "content-attribute": "onmouseover", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseover" + }, + "ondragleave": { + "specs": "html5", + "name": "ondragleave", + "content-attribute": "ondragleave", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragleave" + }, + "lang": { + "content-attribute-aliases": "language", + "specs": "html5", + "ce-reactions": 1, + "name": "lang", + "tags": "Accessibility", + "content-attribute": "lang", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onpause": { + "specs": "html5", + "name": "onpause", + "content-attribute": "onpause", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pause" + }, + "onseeked": { + "specs": "html5", + "name": "onseeked", + "content-attribute": "onseeked", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeked" + }, + "onmousedown": { + "specs": "html5", + "name": "onmousedown", + "content-attribute": "onmousedown", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousedown" + }, + "title": { + "specs": "html5", + "ce-reactions": 1, + "name": "title", + "content-attribute": "title", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onclick": { + "specs": "html5", + "name": "onclick", + "content-attribute": "onclick", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "click" + }, + "onwaiting": { + "specs": "html5", + "name": "onwaiting", + "content-attribute": "onwaiting", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "waiting" + }, + "offsetLeft": { + "specs": "cssom-view", + "exposed": "Window", + "name": "offsetLeft", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "ondurationchange": { + "specs": "html5", + "name": "ondurationchange", + "content-attribute": "ondurationchange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "durationchange" + }, + "offsetHeight": { + "specs": "cssom-view", + "exposed": "Window", + "name": "offsetHeight", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "dir": { + "content-attribute-enum-values": "ltr rtl auto", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "dir", + "tags": "CSSOM", + "content-attribute": "dir", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onblur": { + "specs": "html5", + "name": "onblur", + "content-attribute": "onblur", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "blur" + }, + "onmscontentzoom": { + "specs": "html5", + "name": "onmscontentzoom", + "content-attribute": "onmscontentzoom", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSContentZoom" + }, + "onemptied": { + "specs": "html5", + "name": "onemptied", + "content-attribute": "onemptied", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "emptied" + }, + "onpaste": { + "specs": "html5", + "name": "onpaste", + "content-attribute": "onpaste", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "paste" + }, + "onseeking": { + "specs": "html5", + "name": "onseeking", + "content-attribute": "onseeking", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "seeking" + }, + "ondeactivate": { + "specs": "html5", + "name": "ondeactivate", + "content-attribute": "ondeactivate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "deactivate" + }, + "oncanplay": { + "specs": "html5", + "name": "oncanplay", + "content-attribute": "oncanplay", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplay" + }, + "onstalled": { + "specs": "html5", + "name": "onstalled", + "content-attribute": "onstalled", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "stalled" + }, + "onmousemove": { + "specs": "html5", + "name": "onmousemove", + "content-attribute": "onmousemove", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousemove" + }, + "isContentEditable": { + "pure": 1, + "specs": "html5", + "name": "isContentEditable", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "read-only": 1 + }, + "onratechange": { + "specs": "html5", + "name": "onratechange", + "content-attribute": "onratechange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ratechange" + }, + "onloadstart": { + "specs": "html5", + "name": "onloadstart", + "content-attribute": "onloadstart", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + }, + "ondragenter": { + "specs": "html5", + "name": "ondragenter", + "content-attribute": "ondragenter", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dragenter" + }, + "contentEditable": { + "content-attribute-enum-values": "true false", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "contentEditable", + "content-attribute": "contenteditable", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString" + }, + "onsubmit": { + "specs": "html5", + "name": "onsubmit", + "content-attribute": "onsubmit", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "submit" + }, + "tabIndex": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "tabIndex", + "content-attribute": "tabindex", + "type-original": "short", + "exposed": "Window", + "content-attribute-value-syntax": "signed_integer", + "type": "short", + "content-attribute-reflects": 1 + }, + "onprogress": { + "specs": "html5", + "name": "onprogress", + "content-attribute": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "oninvalid": { + "specs": "html5", + "name": "oninvalid", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "invalid" + }, + "ondblclick": { + "specs": "html5", + "name": "ondblclick", + "content-attribute": "ondblclick", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "dblclick" + }, + "oncontextmenu": { + "specs": "html5", + "name": "oncontextmenu", + "content-attribute": "oncontextmenu", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "contextmenu" + }, + "onchange": { + "specs": "html5", + "name": "onchange", + "content-attribute": "onchange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "change" + }, + "onloadedmetadata": { + "specs": "html5", + "name": "onloadedmetadata", + "content-attribute": "onloadedmetadata", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadedmetadata" + }, + "onerror": { + "specs": "html5", + "name": "onerror", + "content-attribute": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onplay": { + "specs": "html5", + "name": "onplay", + "content-attribute": "onplay", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "play" + }, + "onplaying": { + "specs": "html5", + "name": "onplaying", + "content-attribute": "onplaying", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "playing" + }, + "onbeforeactivate": { + "specs": "html5", + "name": "onbeforeactivate", + "content-attribute": "onbeforeactivate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforeactivate" + }, + "oncanplaythrough": { + "specs": "html5", + "name": "oncanplaythrough", + "content-attribute": "oncanplaythrough", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "canplaythrough" + }, + "onabort": { + "specs": "html5", + "name": "onabort", + "content-attribute": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "hideFocus": { + "content-attribute-enum-values": "false true", + "specs": "html5", + "name": "hideFocus", + "content-attribute": "hidefocus", + "type-original": "boolean", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "boolean" + }, + "oncuechange": { + "specs": "html5", + "name": "oncuechange", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "cuechange" + }, + "onkeypress": { + "specs": "html5", + "name": "onkeypress", + "content-attribute": "onkeypress", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "keypress" + }, + "offsetParent": { + "specs": "cssom-view", + "name": "offsetParent", + "type-original": "Element", + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "onloadeddata": { + "specs": "html5", + "name": "onloadeddata", + "content-attribute": "onloadeddata", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadeddata" + }, + "onbeforedeactivate": { + "specs": "html5", + "name": "onbeforedeactivate", + "content-attribute": "onbeforedeactivate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforedeactivate" + }, + "outerText": { + "specs": "html5", + "ce-reactions": 1, + "name": "outerText", + "tags": "TreeMutation", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "onactivate": { + "specs": "html5", + "name": "onactivate", + "content-attribute": "onactivate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "activate" + }, + "spellcheck": { + "content-attribute-enum-values": "true false", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "spellcheck", + "content-attribute": "spellcheck", + "type-original": "boolean", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "boolean" + }, + "onsuspend": { + "specs": "html5", + "name": "onsuspend", + "content-attribute": "onsuspend", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "suspend" + }, + "accessKey": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "accessKey", + "tags": "Accessibility", + "content-attribute": "accesskey", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_tokens", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "onmsmanipulationstatechanged": { + "specs": "html5", + "name": "onmsmanipulationstatechanged", + "content-attribute": "onmsmanipulationstatechanged", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "MSManipulationStateChanged" + }, + "onmouseenter": { + "specs": "html5", + "name": "onmouseenter", + "content-attribute": "onmouseenter", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseenter" + }, + "onselectstart": { + "specs": "selection-api", + "name": "onselectstart", + "content-attribute": "onselectstart", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "selectstart" + }, + "onfocus": { + "specs": "html5", + "name": "onfocus", + "content-attribute": "onfocus", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "focus" + }, + "ontimeupdate": { + "specs": "html5", + "name": "ontimeupdate", + "content-attribute": "ontimeupdate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "timeupdate" + }, + "innerText": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "innerText", + "tags": "TreeMutation", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + }, + "oncut": { + "specs": "html5", + "name": "oncut", + "content-attribute": "oncut", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "cut" + }, + "onselect": { + "specs": "html5", + "name": "onselect", + "content-attribute": "onselect", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "select" + }, + "offsetWidth": { + "specs": "cssom-view", + "exposed": "Window", + "name": "offsetWidth", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "ondrop": { + "specs": "html5", + "name": "ondrop", + "content-attribute": "ondrop", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "drop" + }, + "dataset": { + "specs": "html5", + "name": "dataset", + "constant": 1, + "content-attribute": "data-", + "type-original": "DOMStringMap", + "exposed": "Window", + "type": "DOMStringMap", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "onmouseout": { + "specs": "html5", + "name": "onmouseout", + "content-attribute": "onmouseout", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mouseout" + }, + "oncopy": { + "specs": "html5", + "name": "oncopy", + "content-attribute": "oncopy", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "copy" + }, + "onended": { + "specs": "html5", + "name": "onended", + "content-attribute": "onended", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "ended" + }, + "onscroll": { + "specs": "html5", + "name": "onscroll", + "content-attribute": "onscroll", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "scroll" + }, + "onmousewheel": { + "specs": "html5", + "name": "onmousewheel", + "content-attribute": "onmousewheel", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "mousewheel" + }, + "onload": { + "specs": "html5", + "name": "onload", + "content-attribute": "onload", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onvolumechange": { + "specs": "html5", + "name": "onvolumechange", + "content-attribute": "onvolumechange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "volumechange" + }, + "hidden": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "hidden", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean" + }, + "oninput": { + "specs": "html5", + "name": "oninput", + "content-attribute": "oninput", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "input" + }, + "draggable": { + "content-attribute-enum-values": "true false", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "draggable", + "content-attribute": "draggable", + "type-original": "boolean", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "boolean" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "noframes" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "noscript" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "wbr", + "html-self-closing": 1 + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "section" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "nav" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "article" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "aside" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "hgroup" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "header" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "footer" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "figure" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "figcaption" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "mark" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "dd" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "dt" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "abbr" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "acronym" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "b" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "bdo" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "big" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "cite" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "code" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "dfn" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "em" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "i" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "kbd" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "nobr" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "rt" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "ruby" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "s" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "samp" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "small" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "strike" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "strong" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "sub" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "sup" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "tt" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "u" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "var" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "address" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "center" + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "keygen", + "html-self-closing": 1 + }, + { + "specs": "HTML5", + "namespace": "HTML", + "name": "plaintext" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "dragDrop": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "dragDrop" + }, + "scrollIntoView": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "top", + "default": "VARIANT_TRUE", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "cssom-view", + "exposed": "Window", + "name": "scrollIntoView" + }, + "focus": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "focus" + }, + "click": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "click" + }, + "msGetInputContext": { + "signature": [ + { + "type": "MSInputMethodContext", + "type-original": "MSInputMethodContext" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "msGetInputContext" + }, + "insertAdjacentText": { + "specs": "html5", + "ce-reactions": 1, + "name": "insertAdjacentText", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "where", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "text", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + }, + "insertAdjacentElement": { + "specs": "html5", + "ce-reactions": 1, + "name": "insertAdjacentElement", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 2, + "type": "Element", + "param": [ + { + "name": "position", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "insertedElement", + "type": "Element", + "type-original": "Element" + } + ], + "type-original": "Element" + } + ], + "exposed": "Window" + }, + "blur": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "blur" + }, + "insertAdjacentHTML": { + "specs": "html5", + "ce-reactions": 1, + "name": "insertAdjacentHTML", + "tags": "TreeMutation", + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "where", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "html", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "exposed": "Window" + } + } + }, + "extends": "Element", + "implements": [ + "ElementCSSInlineStyle" + ] + }, + "Comment": { + "specs": "dom", + "constructor": { + "specs": "dom", + "signature": [ + { + "param-min-required": 0, + "type": "Comment", + "param": [ + { + "name": "data", + "default": "\"\"", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "Comment" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "Comment", + "properties": { + "property": { + "text": { + "extension": 1, + "specs": "none", + "name": "text", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "CharacterData" + }, + "PerformanceResourceTiming": { + "constants": { + "constant": {} + }, + "specs": "resource-timing", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "name": "PerformanceResourceTiming", + "extends": "PerformanceEntry", + "properties": { + "property": { + "responseStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "responseStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "domainLookupEnd": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "domainLookupEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "redirectEnd": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "redirectEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "redirectStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "redirectStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "domainLookupStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "domainLookupStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "requestStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "requestStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "fetchStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "fetchStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "connectEnd": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "connectEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "initiatorType": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "initiatorType", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "connectStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "connectStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "workerStart": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "workerStart", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + }, + "responseEnd": { + "specs": "resource-timing", + "exposed": "Window Worker", + "name": "responseEnd", + "type": "double", + "type-original": "DOMHighResTimeStamp", + "read-only": 1 + } + } + } + }, + "CanvasPattern": { + "constants": { + "constant": {} + }, + "specs": "2dcontext", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "CanvasPattern", + "extends": "Object", + "properties": { + "property": {} + } + }, + "MediaStreamError": { + "constants": { + "constant": {} + }, + "specs": "media-capture-api", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "MediaStreamError", + "extends": "Object", + "properties": { + "property": { + "constraintName": { + "specs": "media-capture-api", + "name": "constraintName", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "name": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "name", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "message": { + "specs": "media-capture-api", + "name": "message", + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "HTMLHRElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "off on", + "value-syntax": "enum", + "name": "unselectable" + } + ] + }, + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLHRElement", + "properties": { + "property": { + "width": { + "specs": "html5", + "ce-reactions": 1, + "name": "width", + "type-original": "DOMString", + "content-attribute": "width", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "non_negative_integer", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "align": { + "content-attribute-enum-values": "center justify left right", + "specs": "html5", + "ce-reactions": 1, + "name": "align", + "type-original": "DOMString", + "content-attribute": "align", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "enum", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "noShade": { + "specs": "html5", + "ce-reactions": 1, + "name": "noShade", + "type-original": "boolean", + "content-attribute": "noshade", + "deprecated": 1, + "interop": 1, + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "hr", + "html-self-closing": 1 + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement", + "implements": [ + "DOML2DeprecatedColorProperty", + "DOML2DeprecatedSizeProperty" + ] + }, + "FocusNavigationEvent": { + "specs": "none", + "constructor": { + "specs": "none", + "signature": [ + { + "param-min-required": 1, + "type": "FocusNavigationEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "FocusNavigationEventInit", + "optional": 1, + "type-original": "FocusNavigationEventInit" + } + ], + "type-original": "FocusNavigationEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "FocusNavigationEvent", + "properties": { + "property": { + "navigationReason": { + "specs": "none", + "exposed": "Window", + "name": "navigationReason", + "type": "NavigationReason", + "type-original": "NavigationReason", + "read-only": 1 + }, + "originHeight": { + "specs": "none", + "exposed": "Window", + "name": "originHeight", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "originTop": { + "specs": "none", + "exposed": "Window", + "name": "originTop", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "originLeft": { + "specs": "none", + "exposed": "Window", + "name": "originLeft", + "type": "float", + "type-original": "float", + "read-only": 1 + }, + "originWidth": { + "specs": "none", + "exposed": "Window", + "name": "originWidth", + "type": "float", + "type-original": "float", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "requestFocus": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "none", + "exposed": "Window", + "name": "requestFocus" + } + } + }, + "extends": "Event" + }, + "CharacterData": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "CharacterData", + "properties": { + "property": { + "length": { + "pure": 1, + "specs": "dom4", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "data": { + "pure": 1, + "specs": "dom4", + "name": "data", + "type-original": "DOMString", + "treat-null-as": "EmptyString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "UIEvents", + "name": "DOMCharacterDataModified", + "type": "MutationEvent", + "bubbles": 1 + }, + { + "dispatch": "async-and-combine", + "specs": "UIEvents", + "name": "DOMSubtreeModified", + "type": "MutationEvent", + "bubbles": 1 + } + ] + }, + "methods": { + "method": { + "replaceData": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "arg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "replaceData" + }, + "deleteData": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "deleteData" + }, + "appendData": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "arg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "appendData" + }, + "insertData": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "arg", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "insertData" + }, + "substringData": { + "signature": [ + { + "param-min-required": 2, + "type": "DOMString", + "param": [ + { + "name": "offset", + "type": "unsigned long", + "type-original": "unsigned long" + }, + { + "name": "count", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "substringData" + } + } + }, + "exposed": "Window", + "extends": "Node", + "implements": [ + "ChildNode" + ] + }, + "HTMLOptGroupElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLOptGroupElement", + "properties": { + "property": { + "disabled": { + "specs": "html5", + "ce-reactions": 1, + "name": "disabled", + "content-attribute": "disabled", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "label": { + "specs": "html5", + "ce-reactions": 1, + "name": "label", + "content-attribute": "label", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "optgroup" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "WritableStreamDefaultController": { + "constants": { + "constant": {} + }, + "specs": "whatwg-streams", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "error": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "error", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "void" + } + ], + "specs": "whatwg-streams", + "exposed": "Window", + "name": "error" + } + } + }, + "name": "WritableStreamDefaultController", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGPathSegLinetoRel": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPathSegLinetoRel", + "properties": { + "property": { + "y": { + "specs": "svg11", + "exposed": "Window", + "name": "y", + "type": "float", + "type-original": "float" + }, + "x": { + "specs": "svg11", + "exposed": "Window", + "name": "x", + "type": "float", + "type-original": "float" + } + } + }, + "constants": { + "constant": {} + }, + "interop": 1, + "deprecated": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGPathSeg" + }, + "XPathExpression": { + "constants": { + "constant": {} + }, + "specs": "dom-level-3-xpath", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "evaluate": { + "signature": [ + { + "param-min-required": 3, + "type": "XPathResult", + "param": [ + { + "name": "contextNode", + "type": "Node", + "type-original": "Node" + }, + { + "name": "type", + "type": "unsigned short", + "type-original": "unsigned short" + }, + { + "name": "result", + "type": "XPathResult", + "type-original": "XPathResult" + } + ], + "type-original": "XPathResult" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "evaluate" + } + } + }, + "name": "XPathExpression", + "extends": "Object", + "properties": { + "property": {} + } + }, + "SVGSwitchElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "inline block inline-block list-item table inline-table table-header-group table-footer-group table-row-group table-column-group table-row table-column table-cell table-caption run-in ruby ruby-base ruby-text ruby-base-container flex inline-flex -ms-grid -ms-inline-grid none inherit initial", + "value-syntax": "enum", + "name": "display" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGSwitchElement", + "properties": { + "property": {} + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "switch" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGGraphicsElement" + }, + "SVGPreserveAspectRatio": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGPreserveAspectRatio", + "properties": { + "property": { + "align": { + "specs": "svg2", + "name": "align", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + }, + "meetOrSlice": { + "specs": "svg2", + "name": "meetOrSlice", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short" + } + } + }, + "constants": { + "constant": { + "SVG_PRESERVEASPECTRATIO_XMINYMID": { + "specs": "svg2", + "value": "5", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMINYMID", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_NONE": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_NONE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMAXYMIN": { + "specs": "svg2", + "value": "4", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMIN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMAXYMAX": { + "specs": "svg2", + "value": "10", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMAX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMINYMAX": { + "specs": "svg2", + "value": "8", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMINYMAX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MEETORSLICE_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_MEETORSLICE_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMIDYMAX": { + "specs": "svg2", + "value": "9", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMAX", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMINYMIN": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMINYMIN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMAXYMID": { + "specs": "svg2", + "value": "7", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMAXYMID", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MEETORSLICE_MEET": { + "specs": "svg2", + "value": "1", + "exposed": "Window", + "name": "SVG_MEETORSLICE_MEET", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMIDYMIN": { + "specs": "svg2", + "value": "3", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMIN", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_XMIDYMID": { + "specs": "svg2", + "value": "6", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_XMIDYMID", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_MEETORSLICE_SLICE": { + "specs": "svg2", + "value": "2", + "exposed": "Window", + "name": "SVG_MEETORSLICE_SLICE", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "SVG_PRESERVEASPECTRATIO_UNKNOWN": { + "specs": "svg2", + "value": "0", + "exposed": "Window", + "name": "SVG_PRESERVEASPECTRATIO_UNKNOWN", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Attr": { + "constants": { + "constant": {} + }, + "specs": "dom", + "anonymous-methods": { + "method": [] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "name": "Attr", + "extends": "Node", + "properties": { + "property": { + "specified": { + "specs": "dom", + "exposed": "Window", + "name": "specified", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "ownerElement": { + "specs": "dom", + "name": "ownerElement", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "value": { + "specs": "dom", + "ce-reactions": 1, + "exposed": "Window", + "name": "value", + "type": "DOMString", + "type-original": "DOMString" + }, + "name": { + "specs": "dom", + "name": "name", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "prefix": { + "specs": "dom", + "name": "prefix", + "constant": 1, + "type-original": "DOMString?", + "nullable": 1, + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + } + } + } + }, + "PerformanceNavigation": { + "specs": "navigation-timing", + "anonymous-methods": { + "method": [] + }, + "name": "PerformanceNavigation", + "properties": { + "property": { + "redirectCount": { + "specs": "navigation-timing", + "name": "redirectCount", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + }, + "type": { + "specs": "navigation-timing", + "name": "type", + "type-original": "unsigned short", + "exposed": "Window", + "type": "unsigned short", + "read-only": 1 + } + } + }, + "constants": { + "constant": { + "TYPE_RELOAD": { + "specs": "navigation-timing", + "value": "1", + "exposed": "Window", + "name": "TYPE_RELOAD", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TYPE_RESERVED": { + "specs": "navigation-timing", + "value": "255", + "exposed": "Window", + "name": "TYPE_RESERVED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TYPE_BACK_FORWARD": { + "specs": "navigation-timing", + "value": "2", + "exposed": "Window", + "name": "TYPE_BACK_FORWARD", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "TYPE_NAVIGATE": { + "specs": "navigation-timing", + "value": "0", + "exposed": "Window", + "name": "TYPE_NAVIGATE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "interop": 1, + "deprecated": 1, + "exposed": "Window", + "methods": { + "method": { + "toJSON": { + "signature": [ + { + "type": "any", + "type-original": "any" + } + ], + "specs": "navigation-timing", + "exposed": "Window", + "name": "toJSON" + } + } + }, + "extends": "Object" + }, + "HTMLDataListElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLDataListElement", + "properties": { + "property": { + "options": { + "specs": "html5", + "same-object": 1, + "name": "options", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "datalist" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "SVGStopElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "inherit initial", + "value-syntax": "css_color", + "name": "color" + }, + { + "enum-values": "currentColor inherit initial", + "value-syntax": "css_color", + "name": "stop-color" + }, + { + "enum-values": "inherit", + "value-syntax": "0_to_1_floating_point_number", + "name": "stop-opacity" + } + ] + }, + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGStopElement", + "properties": { + "property": { + "offset": { + "specs": "svg2", + "same-object": 1, + "name": "offset", + "constant": 1, + "content-attribute": "offset", + "type-original": "SVGAnimatedNumber", + "exposed": "Window", + "content-attribute-value-syntax": "floating_point_number", + "type": "SVGAnimatedNumber", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "stop" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement" + }, + "ExtendableEvent": { + "specs": "service-workers", + "constructor": { + "specs": "service-workers", + "signature": [ + { + "param-min-required": 1, + "type": "ExtendableEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "ExtendableEventInit", + "optional": 1, + "type-original": "ExtendableEventInit" + } + ], + "type-original": "ExtendableEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "ExtendableEvent", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Worker", + "methods": { + "method": { + "waitUntil": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "subtype": { + "type": "any" + }, + "name": "f", + "type": "Promise", + "type-original": "Promise" + } + ], + "type-original": "void" + } + ], + "specs": "service-workers", + "exposed": "Worker", + "name": "waitUntil" + } + } + }, + "extends": "Event" + }, + "XPathNSResolver": { + "constants": { + "constant": {} + }, + "specs": "dom-level-3-xpath", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "lookupNamespaceURI": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "prefix", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "dom-level-3-xpath", + "exposed": "Window", + "name": "lookupNamespaceURI" + } + } + }, + "name": "XPathNSResolver", + "extends": "Object", + "properties": { + "property": {} + } + }, + "MediaStreamEvent": { + "specs": "webrtc", + "constructor": { + "specs": "webrtc", + "signature": [ + { + "param-min-required": 2, + "type": "MediaStreamEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "MediaStreamEventInit", + "type-original": "MediaStreamEventInit" + } + ], + "type-original": "MediaStreamEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "MediaStreamEvent", + "properties": { + "property": { + "stream": { + "specs": "webrtc", + "name": "stream", + "type-original": "MediaStream?", + "nullable": 1, + "exposed": "Window", + "type": "MediaStream", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Event" + }, + "CSSRuleList": { + "constants": { + "constant": {} + }, + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "item": { + "specs": "cssom", + "name": "item", + "getter": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "CSSRule", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "CSSRule?" + } + ], + "exposed": "Window" + } + } + }, + "name": "CSSRuleList", + "extends": "Object", + "properties": { + "property": { + "length": { + "specs": "cssom", + "name": "length", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + } + }, + "SecurityPolicyViolationEvent": { + "specs": "csp", + "constructor": { + "specs": "csp", + "signature": [ + { + "param-min-required": 1, + "type": "SecurityPolicyViolationEvent", + "param": [ + { + "name": "type", + "type": "DOMString", + "type-original": "DOMString" + }, + { + "name": "eventInitDict", + "type": "SecurityPolicyViolationEventInit", + "optional": 1, + "type-original": "SecurityPolicyViolationEventInit" + } + ], + "type-original": "SecurityPolicyViolationEvent" + } + ], + "name": "" + }, + "anonymous-methods": { + "method": [] + }, + "name": "SecurityPolicyViolationEvent", + "properties": { + "property": { + "sourceFile": { + "specs": "csp", + "exposed": "Window", + "name": "sourceFile", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "violatedDirective": { + "specs": "csp", + "exposed": "Window", + "name": "violatedDirective", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "lineNumber": { + "specs": "csp", + "exposed": "Window", + "name": "lineNumber", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "referrer": { + "specs": "csp", + "exposed": "Window", + "name": "referrer", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "columnNumber": { + "specs": "csp", + "exposed": "Window", + "name": "columnNumber", + "type": "long", + "type-original": "long", + "read-only": 1 + }, + "statusCode": { + "specs": "csp", + "exposed": "Window", + "name": "statusCode", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "originalPolicy": { + "specs": "csp", + "exposed": "Window", + "name": "originalPolicy", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "effectiveDirective": { + "specs": "csp", + "exposed": "Window", + "name": "effectiveDirective", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "blockedURI": { + "specs": "csp", + "exposed": "Window", + "name": "blockedURI", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "documentURI": { + "specs": "csp", + "exposed": "Window", + "name": "documentURI", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Event" + }, + "MSMediaKeySession": { + "specs": "encrypted-media-20130510", + "anonymous-methods": { + "method": [] + }, + "name": "MSMediaKeySession", + "properties": { + "property": { + "sessionId": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "sessionId", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "error": { + "specs": "encrypted-media-20130510", + "name": "error", + "type-original": "MSMediaKeyError?", + "nullable": 1, + "exposed": "Window", + "type": "MSMediaKeyError", + "read-only": 1 + }, + "keySystem": { + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "keySystem", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "events": { + "event": [] + }, + "methods": { + "method": { + "close": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "close" + }, + "update": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "key", + "type": "Uint8Array", + "type-original": "Uint8Array" + } + ], + "type-original": "void" + } + ], + "specs": "encrypted-media-20130510", + "exposed": "Window", + "name": "update" + } + } + }, + "exposed": "Window", + "extends": "EventTarget" + }, + "HTMLTrackElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLTrackElement", + "properties": { + "property": { + "kind": { + "content-attribute-enum-values": "subtitles captions descriptions chapters metadata", + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "kind", + "content-attribute": "kind", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "track": { + "specs": "html5", + "exposed": "Window", + "name": "track", + "type": "TextTrack", + "type-original": "TextTrack", + "read-only": 1 + }, + "srclang": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "srclang", + "content-attribute": "srclang", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "bcp47_lang", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "src": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "src", + "content-attribute": "src", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1 + }, + "readyState": { + "specs": "html5", + "exposed": "Window", + "name": "readyState", + "type": "unsigned short", + "type-original": "unsigned short", + "read-only": 1 + }, + "default": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "default", + "content-attribute": "default", + "type-original": "boolean", + "exposed": "Window", + "type": "boolean", + "content-attribute-reflects": 1, + "content-attribute-boolean": 1 + }, + "label": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "label", + "content-attribute": "label", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "track", + "html-self-closing": 1 + } + ], + "constants": { + "constant": { + "ERROR": { + "specs": "html5", + "value": "3", + "exposed": "Window", + "name": "ERROR", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "LOADED": { + "specs": "html5", + "value": "2", + "exposed": "Window", + "name": "LOADED", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "LOADING": { + "specs": "html5", + "value": "1", + "exposed": "Window", + "name": "LOADING", + "type": "unsigned short", + "type-original": "unsigned short" + }, + "NONE": { + "specs": "html5", + "value": "0", + "exposed": "Window", + "name": "NONE", + "type": "unsigned short", + "type-original": "unsigned short" + } + } + }, + "events": { + "event": [ + { + "dispatch": "sync", + "specs": "HTML5", + "name": "cuechange", + "type": "Event" + } + ] + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "HTMLOutputElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLOutputElement", + "properties": { + "property": { + "validationMessage": { + "specs": "html5", + "exposed": "Window", + "name": "validationMessage", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "validity": { + "specs": "html5", + "exposed": "Window", + "name": "validity", + "type": "ValidityState", + "type-original": "ValidityState", + "read-only": 1 + }, + "value": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + }, + "htmlFor": { + "put-forwards": "value", + "specs": "html5", + "same-object": 1, + "name": "htmlFor", + "constant": 1, + "content-attribute": "for", + "type-original": "DOMTokenList", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_id_refs", + "type": "DOMTokenList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "name": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "name", + "content-attribute": "name", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + }, + "form": { + "pure": 1, + "specs": "html5", + "name": "form", + "type-original": "HTMLFormElement?", + "nullable": 1, + "exposed": "Window", + "type": "HTMLFormElement", + "read-only": 1 + }, + "type": { + "specs": "html5", + "name": "type", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "willValidate": { + "specs": "html5", + "exposed": "Window", + "name": "willValidate", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + }, + "defaultValue": { + "pure": 1, + "specs": "html5", + "ce-reactions": 1, + "name": "defaultValue", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString" + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "output" + } + ], + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": { + "checkValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "checkValidity" + }, + "reportValidity": { + "signature": [ + { + "type": "boolean", + "type-original": "boolean" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "reportValidity" + }, + "setCustomValidity": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "error", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setCustomValidity" + } + } + }, + "extends": "HTMLElement" + }, + "ClientRectList": { + "specs": "cssom-view", + "anonymous-methods": { + "method": [] + }, + "name": "ClientRectList", + "properties": { + "property": { + "length": { + "specs": "cssom-view", + "name": "length", + "tags": "CSSOM", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + } + } + }, + "tags": "CSSOM", + "constants": { + "constant": {} + }, + "methods": { + "method": { + "item": { + "specs": "cssom-view", + "name": "item", + "tags": "CSSOM", + "getter": 1, + "signature": [ + { + "param-min-required": 1, + "type": "ClientRect", + "param": [ + { + "name": "index", + "type": "unsigned long", + "type-original": "unsigned long" + } + ], + "type-original": "ClientRect" + } + ], + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "HTMLDataElement": { + "specs": "html5", + "html-constructor": 1, + "anonymous-methods": { + "method": [] + }, + "name": "HTMLDataElement", + "properties": { + "property": { + "value": { + "specs": "html5", + "ce-reactions": 1, + "name": "value", + "content-attribute": "value", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "element": [ + { + "specs": "HTML5", + "namespace": "HTML", + "name": "data" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "HTMLElement" + }, + "AudioListener": { + "constants": { + "constant": {} + }, + "specs": "webaudio", + "anonymous-methods": { + "method": [] + }, + "exposed": "Window", + "methods": { + "method": { + "setPosition": { + "deprecated": 1, + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setPosition" + }, + "setOrientation": { + "deprecated": 1, + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "z", + "type": "float", + "type-original": "float" + }, + { + "name": "xUp", + "type": "float", + "type-original": "float" + }, + { + "name": "yUp", + "type": "float", + "type-original": "float" + }, + { + "name": "zUp", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "webaudio", + "exposed": "Window", + "name": "setOrientation" + }, + "setVelocity": { + "interop": 1, + "deprecated": 1, + "specs": "WD-webaudio-20131010", + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "x", + "type": "double", + "type-original": "double" + }, + { + "name": "y", + "type": "double", + "type-original": "double" + }, + { + "name": "z", + "type": "double", + "type-original": "double" + } + ], + "type-original": "void" + } + ], + "name": "setVelocity", + "exposed": "Window" + } + } + }, + "name": "AudioListener", + "extends": "Object", + "properties": { + "property": { + "dopplerFactor": { + "deprecated": 1, + "interop": 1, + "specs": "WD-webaudio-20131010", + "exposed": "Window", + "name": "dopplerFactor", + "type": "double", + "type-original": "double" + }, + "speedOfSound": { + "deprecated": 1, + "interop": 1, + "specs": "WD-webaudio-20131010", + "exposed": "Window", + "name": "speedOfSound", + "type": "double", + "type-original": "double" + } + } + } + }, + "SVGMaskElement": { + "anonymous-content-attributes": { + "parsedattribute": [ + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "clip-path" + }, + { + "enum-values": "auto default none context-menu help pointer progress wait cell crosshair text vertical-text alias copy move no-drop not-allowed e-resize n-resize ne-resize nw-resize s-resize se-resize sw-resize w-resize ew-resize ns-resize nesw-resize nwse-resize col-resize row-resize all-scroll zoom-in zoom-out inherit", + "value-syntax": "comma_separated_css_url_with_optional_x_y_offset_followed_by_enum", + "name": "cursor" + }, + { + "enum-values": "accumulate inherit", + "value-syntax": "svg_enum_new_followed_by_svg_viewbox", + "name": "enable-background" + }, + { + "enum-values": "false true", + "value-syntax": "enum", + "name": "externalResourcesRequired" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "filter" + }, + { + "enum-values": "none inherit", + "value-syntax": "css_url_of_local_id_ref", + "name": "mask" + }, + { + "enum-values": "inherit initial", + "value-syntax": "0_to_1_floating_point_number", + "name": "opacity" + }, + { + "enum-values": "default preserve", + "value-syntax": "enum", + "name": "xml:space" + } + ] + }, + "specs": "css-masking", + "anonymous-methods": { + "method": [] + }, + "name": "SVGMaskElement", + "properties": { + "property": { + "width": { + "specs": "css-masking", + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "css-masking", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "maskUnits": { + "content-attribute-enum-values": "objectBoundingBox userSpaceOnUse", + "specs": "css-masking", + "name": "maskUnits", + "constant": 1, + "content-attribute": "maskUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "maskContentUnits": { + "content-attribute-enum-values": "userSpaceOnUse objectBoundingBox", + "specs": "css-masking", + "name": "maskContentUnits", + "constant": 1, + "content-attribute": "maskContentUnits", + "type-original": "SVGAnimatedEnumeration", + "exposed": "Window", + "content-attribute-value-syntax": "enum", + "type": "SVGAnimatedEnumeration", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "css-masking", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "height": { + "specs": "css-masking", + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "element": [ + { + "specs": "svg2", + "namespace": "SVG", + "name": "mask" + } + ], + "constants": { + "constant": {} + }, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "SVGElement", + "implements": [ + "SVGTests", + "SVGUnitTypes" + ] + }, + "External": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "External", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + } + } + }, + "mixins": { + "mixin": { + "NavigatorID": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorID", + "properties": { + "property": { + "appVersion": { + "specs": "html5", + "name": "appVersion", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "appName": { + "specs": "html5", + "name": "appName", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "appCodeName": { + "specs": "html5", + "name": "appCodeName", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "userAgent": { + "property-descriptor-not-configurable": 1, + "pure": 1, + "specs": "html5", + "name": "userAgent", + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "productSub": { + "specs": "html5", + "exposed": "Window Worker", + "name": "productSub", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "product": { + "specs": "html5", + "name": "product", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "platform": { + "specs": "html5", + "name": "platform", + "constant": 1, + "type-original": "DOMString", + "exposed": "Window Worker", + "type": "DOMString", + "read-only": 1 + }, + "vendorSub": { + "specs": "html5", + "exposed": "Window Worker", + "name": "vendorSub", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + }, + "vendor": { + "specs": "html5", + "exposed": "Window Worker", + "name": "vendor", + "type": "DOMString", + "type-original": "DOMString", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "SVGFitToViewBox": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFitToViewBox", + "properties": { + "property": { + "viewBox": { + "specs": "svg2", + "same-object": 1, + "name": "viewBox", + "constant": 1, + "content-attribute": "viewBox", + "type-original": "SVGAnimatedRect", + "exposed": "Window", + "content-attribute-value-syntax": "svg_viewbox", + "type": "SVGAnimatedRect", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "preserveAspectRatio": { + "specs": "svg2", + "same-object": 1, + "name": "preserveAspectRatio", + "constant": 1, + "content-attribute": "preserveAspectRatio", + "type-original": "SVGAnimatedPreserveAspectRatio", + "exposed": "Window", + "content-attribute-value-syntax": "svg_aspect_ratio", + "type": "SVGAnimatedPreserveAspectRatio", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "ParentNode": { + "specs": "selectors-api", + "anonymous-methods": { + "method": [] + }, + "name": "ParentNode", + "properties": { + "property": { + "children": { + "specs": "selectors-api", + "same-object": 1, + "name": "children", + "tags": "TreeNavigation", + "type-original": "HTMLCollection", + "exposed": "Window", + "type": "HTMLCollection", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": { + "querySelectorAll": { + "pure": 1, + "signature": [ + { + "new-object": 1, + "param-min-required": 1, + "type": "NodeList", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "NodeList" + } + ], + "specs": "selectors-api", + "exposed": "Window", + "name": "querySelectorAll", + "tags": "TreeNavigation" + }, + "querySelector": { + "pure": 1, + "signature": [ + { + "nullable": 1, + "param-min-required": 1, + "type": "Element", + "param": [ + { + "name": "selectors", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Element?" + } + ], + "specs": "selectors-api", + "exposed": "Window", + "name": "querySelector", + "tags": "TreeNavigation" + } + } + }, + "extends": "Object" + }, + "MSFileSaver": { + "specs": "file-writer-api", + "anonymous-methods": { + "method": [] + }, + "name": "MSFileSaver", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "msSaveBlob": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "blob", + "type": "any", + "type-original": "any" + }, + { + "name": "defaultName", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "file-writer-api", + "exposed": "Window", + "name": "msSaveBlob" + }, + "msSaveOrOpenBlob": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "blob", + "type": "any", + "type-original": "any" + }, + { + "name": "defaultName", + "type": "DOMString", + "optional": 1, + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "file-writer-api", + "exposed": "Window", + "name": "msSaveOrOpenBlob" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "GlobalEventHandlers": { + "specs": "pointer-events", + "anonymous-methods": { + "method": [] + }, + "name": "GlobalEventHandlers", + "properties": { + "property": { + "onpointerout": { + "specs": "pointer-events", + "name": "onpointerout", + "content-attribute": "onpointerout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerout" + }, + "onpointerup": { + "specs": "pointer-events", + "name": "onpointerup", + "content-attribute": "onpointerup", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerup" + }, + "onpointermove": { + "specs": "pointer-events", + "name": "onpointermove", + "content-attribute": "onpointermove", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointermove" + }, + "onpointerenter": { + "specs": "pointer-events", + "name": "onpointerenter", + "content-attribute": "onpointerenter", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerenter" + }, + "onpointerdown": { + "specs": "pointer-events", + "name": "onpointerdown", + "content-attribute": "onpointerdown", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerdown" + }, + "onpointercancel": { + "specs": "pointer-events", + "name": "onpointercancel", + "content-attribute": "onpointercancel", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointercancel" + }, + "onpointerover": { + "specs": "pointer-events", + "name": "onpointerover", + "content-attribute": "onpointerover", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerover" + }, + "onpointerleave": { + "specs": "pointer-events", + "name": "onpointerleave", + "content-attribute": "onpointerleave", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "content-attribute-value-syntax": "javascript", + "type": "EventHandlerNonNull", + "event-handler": "pointerleave" + }, + "onwheel": { + "specs": "pointer-events", + "name": "onwheel", + "content-attribute": "onwheel", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "wheel" + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "Body": { + "specs": "whatwg-fetch", + "anonymous-methods": { + "method": [] + }, + "name": "Body", + "properties": { + "property": { + "bodyUsed": { + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "bodyUsed", + "type": "boolean", + "type-original": "boolean", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "arrayBuffer": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "ArrayBuffer" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "arrayBuffer" + }, + "text": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "USVString" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "text" + }, + "blob": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "Blob" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "blob" + }, + "json": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "any" + }, + "type": "Promise", + "type-original": "Promise" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window", + "name": "json" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "GetSVGDocument": { + "specs": "svg11", + "anonymous-methods": { + "method": [] + }, + "name": "GetSVGDocument", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "getSVGDocument": { + "signature": [ + { + "type": "Document", + "type-original": "Document" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "getSVGDocument" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "GlobalFetch": { + "specs": "whatwg-fetch", + "anonymous-methods": { + "method": [] + }, + "name": "GlobalFetch", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": { + "fetch": { + "signature": [ + { + "new-object": 1, + "subtype": { + "type": "Response" + }, + "param-min-required": 0, + "type": "Promise", + "param": [ + { + "name": "input", + "type": [ + { + "type": "Request" + }, + { + "type": "USVString" + } + ], + "optional": 1, + "type-original": "RequestInfo" + }, + { + "name": "init", + "type": "RequestInit", + "optional": 1, + "type-original": "RequestInit" + } + ], + "type-original": "Promise" + } + ], + "specs": "whatwg-fetch", + "exposed": "Window Worker", + "name": "fetch" + } + } + }, + "extends": "Object" + }, + "NavigatorContentUtils": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorContentUtils", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "CanvasPathMethods": { + "specs": "2dcontext", + "anonymous-methods": { + "method": [] + }, + "name": "CanvasPathMethods", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "quadraticCurveTo": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "cpx", + "type": "float", + "type-original": "float" + }, + { + "name": "cpy", + "type": "float", + "type-original": "float" + }, + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "quadraticCurveTo" + }, + "lineTo": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "lineTo" + }, + "closePath": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "closePath" + }, + "rect": { + "signature": [ + { + "param-min-required": 4, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "w", + "type": "float", + "type-original": "float" + }, + { + "name": "h", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "rect" + }, + "ellipse": { + "signature": [ + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "radiusX", + "type": "float", + "type-original": "float" + }, + { + "name": "radiusY", + "type": "float", + "type-original": "float" + }, + { + "name": "rotation", + "type": "float", + "type-original": "float" + }, + { + "name": "startAngle", + "type": "float", + "type-original": "float" + }, + { + "name": "endAngle", + "type": "float", + "type-original": "float" + }, + { + "name": "anticlockwise", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "ellipse" + }, + "moveTo": { + "signature": [ + { + "param-min-required": 2, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "moveTo" + }, + "arcTo": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + }, + { + "name": "radius", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + }, + { + "param-min-required": 7, + "type": "void", + "param": [ + { + "name": "x1", + "type": "float", + "type-original": "float" + }, + { + "name": "y1", + "type": "float", + "type-original": "float" + }, + { + "name": "x2", + "type": "float", + "type-original": "float" + }, + { + "name": "y2", + "type": "float", + "type-original": "float" + }, + { + "name": "radiusX", + "type": "float", + "type-original": "float" + }, + { + "name": "radiusY", + "type": "float", + "type-original": "float" + }, + { + "name": "rotation", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "arcTo" + }, + "arc": { + "signature": [ + { + "param-min-required": 5, + "type": "void", + "param": [ + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + }, + { + "name": "radius", + "type": "float", + "type-original": "float" + }, + { + "name": "startAngle", + "type": "float", + "type-original": "float" + }, + { + "name": "endAngle", + "type": "float", + "type-original": "float" + }, + { + "name": "anticlockwise", + "default": "false", + "type": "boolean", + "optional": 1, + "type-original": "boolean" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "arc" + }, + "bezierCurveTo": { + "signature": [ + { + "param-min-required": 6, + "type": "void", + "param": [ + { + "name": "cp1x", + "type": "float", + "type-original": "float" + }, + { + "name": "cp1y", + "type": "float", + "type-original": "float" + }, + { + "name": "cp2x", + "type": "float", + "type-original": "float" + }, + { + "name": "cp2y", + "type": "float", + "type-original": "float" + }, + { + "name": "x", + "type": "float", + "type-original": "float" + }, + { + "name": "y", + "type": "float", + "type-original": "float" + } + ], + "type-original": "void" + } + ], + "specs": "2dcontext", + "exposed": "Window", + "name": "bezierCurveTo" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "MSNavigatorDoNotTrack": { + "specs": "tracking-dnt", + "anonymous-methods": { + "method": [] + }, + "name": "MSNavigatorDoNotTrack", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "removeWebWideTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "args", + "type": "ExceptionInformation", + "type-original": "ExceptionInformation" + } + ], + "type-original": "void" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "removeWebWideTrackingException" + }, + "removeSiteSpecificTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "args", + "type": "ExceptionInformation", + "type-original": "ExceptionInformation" + } + ], + "type-original": "void" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "removeSiteSpecificTrackingException" + }, + "storeWebWideTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "args", + "type": "StoreExceptionsInformation", + "type-original": "StoreExceptionsInformation" + } + ], + "type-original": "void" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "storeWebWideTrackingException" + }, + "confirmWebWideTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "args", + "type": "ExceptionInformation", + "type-original": "ExceptionInformation" + } + ], + "type-original": "boolean" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "confirmWebWideTrackingException" + }, + "confirmSiteSpecificTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "args", + "type": "ConfirmSiteSpecificExceptionsInformation", + "type-original": "ConfirmSiteSpecificExceptionsInformation" + } + ], + "type-original": "boolean" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "confirmSiteSpecificTrackingException" + }, + "storeSiteSpecificTrackingException": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "args", + "type": "StoreSiteSpecificExceptionsInformation", + "type-original": "StoreSiteSpecificExceptionsInformation" + } + ], + "type-original": "void" + } + ], + "specs": "tracking-dnt", + "exposed": "Window", + "name": "storeSiteSpecificTrackingException" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "NavigatorOnLine": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorOnLine", + "properties": { + "property": { + "onLine": { + "specs": "html5", + "name": "onLine", + "tags": "Offline", + "type-original": "boolean", + "exposed": "Window Worker", + "type": "boolean", + "read-only": 1 + } + } + }, + "tags": "Offline", + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "extends": "Object" + }, + "WindowBase64": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "WindowBase64", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": { + "btoa": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "rawString", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "btoa" + }, + "atob": { + "signature": [ + { + "param-min-required": 1, + "type": "DOMString", + "param": [ + { + "name": "encodedString", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "DOMString" + } + ], + "specs": "html5", + "exposed": "Window Worker", + "name": "atob" + } + } + }, + "extends": "Object" + }, + "ChildNode": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "ChildNode", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "remove": { + "signature": [ + { + "type": "void", + "type-original": "void" + } + ], + "specs": "dom4", + "ce-reactions": 1, + "exposed": "Window", + "name": "remove", + "tags": "TreeMutation" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "XMLHttpRequestEventTarget": { + "specs": "xhr", + "anonymous-methods": { + "method": [] + }, + "name": "XMLHttpRequestEventTarget", + "properties": { + "property": { + "onload": { + "specs": "xhr", + "name": "onload", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "load" + }, + "onerror": { + "specs": "xhr", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "error" + }, + "onprogress": { + "specs": "xhr", + "name": "onprogress", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "progress" + }, + "ontimeout": { + "specs": "xhr", + "name": "ontimeout", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "timeout" + }, + "onabort": { + "specs": "xhr", + "name": "onabort", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "abort" + }, + "onloadend": { + "specs": "xhr", + "name": "onloadend", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadend" + }, + "onloadstart": { + "specs": "xhr", + "name": "onloadstart", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "loadstart" + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WindowLocalStorage": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "WindowLocalStorage", + "properties": { + "property": { + "localStorage": { + "specs": "html5", + "exposed": "Window", + "name": "localStorage", + "type": "Storage", + "type-original": "Storage", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "NavigatorBeacon": { + "specs": "beacon", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorBeacon", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": { + "sendBeacon": { + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "url", + "type": "USVString", + "type-original": "USVString" + }, + { + "name": "data", + "default": "null", + "type": [ + { + "nullable": 1, + "type": "Blob" + }, + { + "type": [ + { + "nullable": 1, + "type": "Int8Array" + }, + { + "nullable": 1, + "type": "Int16Array" + }, + { + "nullable": 1, + "type": "Int32Array" + }, + { + "nullable": 1, + "type": "Uint8Array" + }, + { + "nullable": 1, + "type": "Uint16Array" + }, + { + "nullable": 1, + "type": "Uint32Array" + }, + { + "nullable": 1, + "type": "Uint8ClampedArray" + }, + { + "nullable": 1, + "type": "Float32Array" + }, + { + "nullable": 1, + "type": "Float64Array" + }, + { + "nullable": 1, + "type": "DataView" + }, + { + "nullable": 1, + "type": "ArrayBuffer" + } + ] + }, + { + "nullable": 1, + "type": "FormData" + }, + { + "nullable": 1, + "type": "USVString" + } + ], + "optional": 1, + "type-original": "BodyInit?" + } + ], + "type-original": "boolean" + } + ], + "specs": "beacon", + "exposed": "Window Worker", + "name": "sendBeacon" + } + } + }, + "extends": "Object" + }, + "DocumentEvent": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "DocumentEvent", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "createEvent": { + "signature": [ + { + "param-min-required": 1, + "type": "Event", + "param": [ + { + "name": "eventInterface", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "Event" + } + ], + "specs": "dom4", + "exposed": "Window", + "name": "createEvent" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "IDBEnvironment": { + "specs": "indexeddb", + "anonymous-methods": { + "method": [] + }, + "name": "IDBEnvironment", + "properties": { + "property": { + "indexedDB": { + "specs": "indexeddb", + "name": "indexedDB", + "type-original": "IDBFactory", + "exposed": "Window", + "type": "IDBFactory", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "HTMLHyperlinkElementUtils": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "HTMLHyperlinkElementUtils", + "properties": { + "property": { + "protocol": { + "specs": "html5", + "ce-reactions": 1, + "name": "protocol", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "search": { + "specs": "html5", + "ce-reactions": 1, + "name": "search", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "hostname": { + "specs": "html5", + "ce-reactions": 1, + "name": "hostname", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "pathname": { + "specs": "html5", + "ce-reactions": 1, + "name": "pathname", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "port": { + "specs": "html5", + "ce-reactions": 1, + "name": "port", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "host": { + "specs": "html5", + "ce-reactions": 1, + "name": "host", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "hash": { + "specs": "html5", + "ce-reactions": 1, + "name": "hash", + "type-original": "USVString", + "exposed": "Window", + "type": "USVString" + }, + "href": { + "specs": "html5", + "ce-reactions": 1, + "name": "href", + "content-attribute": "href", + "type-original": "USVString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "USVString", + "content-attribute-reflects": 1, + "stringifier": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "toString": { + "signature": [ + { + "type": "USVString", + "type-original": "USVString" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "toString", + "stringifier": 1 + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "WindowTimers": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "WindowTimers", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "clearTimeout": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "handle", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "clearTimeout" + }, + "setTimeout": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "handler", + "type": "any", + "type-original": "any" + }, + { + "name": "timeout", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setTimeout" + }, + "clearInterval": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "name": "handle", + "default": "0", + "type": "long", + "optional": 1, + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "clearInterval" + }, + "setInterval": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "handler", + "type": "any", + "type-original": "any" + }, + { + "name": "timeout", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "html5", + "exposed": "Window", + "name": "setInterval" + } + } + }, + "exposed": "Window", + "extends": "Object", + "implements": [ + "WindowTimersExtension" + ] + }, + "ElementTraversal": { + "specs": "dom4", + "anonymous-methods": { + "method": [] + }, + "name": "ElementTraversal", + "properties": { + "property": { + "previousElementSibling": { + "specs": "dom4", + "name": "previousElementSibling", + "tags": "TreeNavigation", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "childElementCount": { + "specs": "dom4", + "name": "childElementCount", + "tags": "TreeNavigation", + "type-original": "unsigned long", + "exposed": "Window", + "type": "unsigned long", + "read-only": 1 + }, + "nextElementSibling": { + "specs": "dom4", + "name": "nextElementSibling", + "tags": "TreeNavigation", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "lastElementChild": { + "specs": "dom4", + "name": "lastElementChild", + "tags": "TreeNavigation", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + }, + "firstElementChild": { + "specs": "dom4", + "name": "firstElementChild", + "tags": "TreeNavigation", + "type-original": "Element?", + "nullable": 1, + "exposed": "Window", + "type": "Element", + "read-only": 1 + } + } + }, + "tags": "TreeNavigation", + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": {} + }, + "exposed": "Window", + "extends": "Object" + }, + "WindowEventHandlers": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "WindowEventHandlers", + "properties": { + "property": { + "ononline": { + "specs": "html5", + "name": "ononline", + "content-attribute": "ononline", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "online", + "event-handler-map-to-window": 1 + }, + "onpageshow": { + "specs": "html5", + "name": "onpageshow", + "content-attribute": "onpageshow", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pageshow", + "event-handler-map-to-window": 1 + }, + "onafterprint": { + "specs": "html5", + "name": "onafterprint", + "content-attribute": "onafterprint", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "afterprint", + "event-handler-map-to-window": 1 + }, + "onbeforeprint": { + "specs": "html5", + "name": "onbeforeprint", + "content-attribute": "onbeforeprint", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforeprint", + "event-handler-map-to-window": 1 + }, + "onoffline": { + "specs": "html5", + "name": "onoffline", + "content-attribute": "onoffline", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "offline", + "event-handler-map-to-window": 1 + }, + "onunload": { + "specs": "html5", + "name": "onunload", + "content-attribute": "onunload", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "unload", + "event-handler-map-to-window": 1 + }, + "onhashchange": { + "specs": "html5", + "name": "onhashchange", + "content-attribute": "onhashchange", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "hashchange", + "event-handler-map-to-window": 1 + }, + "onmessage": { + "specs": "html5", + "name": "onmessage", + "content-attribute": "onmessage", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "message", + "event-handler-map-to-window": 1 + }, + "onbeforeunload": { + "specs": "html5", + "name": "onbeforeunload", + "content-attribute": "onbeforeunload", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "beforeunload", + "event-handler-map-to-window": 1 + }, + "onstorage": { + "specs": "html5", + "name": "onstorage", + "content-attribute": "onstorage", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "storage", + "event-handler-map-to-window": 1 + }, + "onpopstate": { + "specs": "html5", + "name": "onpopstate", + "content-attribute": "onpopstate", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "popstate", + "event-handler-map-to-window": 1 + }, + "onpagehide": { + "specs": "html5", + "name": "onpagehide", + "content-attribute": "onpagehide", + "type-original": "EventHandler", + "nullable": 1, + "content-attribute-value-syntax": "javascript", + "exposed": "Window", + "type": "EventHandlerNonNull", + "event-handler": "pagehide", + "event-handler-map-to-window": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "SVGTests": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGTests", + "properties": { + "property": { + "requiredFeatures": { + "specs": "svg11", + "name": "requiredFeatures", + "type-original": "SVGStringList", + "content-attribute": "requiredFeatures", + "deprecated": 1, + "interop": 1, + "content-attribute-value-syntax": "space_separated_tokens", + "exposed": "Window", + "content-attribute-reflects": 1, + "type": "SVGStringList", + "read-only": 1 + }, + "requiredExtensions": { + "specs": "svg2", + "same-object": 1, + "name": "requiredExtensions", + "content-attribute": "requiredExtensions", + "type-original": "SVGStringList", + "exposed": "Window", + "content-attribute-value-syntax": "space_separated_urls", + "type": "SVGStringList", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "systemLanguage": { + "specs": "svg2", + "same-object": 1, + "name": "systemLanguage", + "content-attribute": "systemLanguage", + "type-original": "SVGStringList", + "exposed": "Window", + "content-attribute-value-syntax": "comma_separated_bcp47_langs", + "type": "SVGStringList", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": { + "hasExtension": { + "deprecated": 1, + "interop": 1, + "signature": [ + { + "param-min-required": 1, + "type": "boolean", + "param": [ + { + "name": "extension", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "boolean" + } + ], + "specs": "svg11", + "exposed": "Window", + "name": "hasExtension" + } + } + }, + "extends": "Object" + }, + "NavigatorStorageUtils": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorStorageUtils", + "properties": { + "property": {} + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WindowTimersExtension": { + "specs": "setimmediate", + "anonymous-methods": { + "method": [] + }, + "name": "WindowTimersExtension", + "properties": { + "property": {} + }, + "tags": "Timers", + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "clearImmediate": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "setimmediate", + "exposed": "Window", + "name": "clearImmediate", + "tags": "Timers" + }, + "setImmediate": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "expression", + "type": "any", + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "setimmediate", + "exposed": "Window", + "name": "setImmediate", + "tags": "Timers" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "ElementCSSInlineStyle": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "name": "ElementCSSInlineStyle", + "properties": { + "property": { + "style": { + "put-forwards": "cssText", + "specs": "cssom", + "same-object": 1, + "name": "style", + "constant": 1, + "content-attribute": "style", + "type-original": "CSSStyleDeclaration", + "exposed": "Window", + "content-attribute-value-syntax": "css", + "type": "CSSStyleDeclaration", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "DOML2DeprecatedColorProperty": { + "specs": "dom-level-2-html", + "anonymous-methods": { + "method": [] + }, + "name": "DOML2DeprecatedColorProperty", + "properties": { + "property": { + "color": { + "specs": "dom-level-2-html", + "ce-reactions": 1, + "name": "color", + "tags": "CSSOM", + "content-attribute": "color", + "type-original": "DOMString", + "exposed": "Window", + "content-attribute-value-syntax": "simple_color", + "type": "DOMString", + "content-attribute-reflects": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "NavigatorUserMedia": { + "specs": "media-capture-api", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorUserMedia", + "properties": { + "property": { + "mediaDevices": { + "specs": "media-capture-api", + "exposed": "Window", + "name": "mediaDevices", + "type": "MediaDevices", + "type-original": "MediaDevices", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": { + "getUserMedia": { + "signature": [ + { + "param-min-required": 3, + "type": "void", + "param": [ + { + "name": "constraints", + "type": "MediaStreamConstraints", + "type-original": "MediaStreamConstraints" + }, + { + "name": "successCallback", + "type": "NavigatorUserMediaSuccessCallback", + "type-original": "NavigatorUserMediaSuccessCallback" + }, + { + "name": "errorCallback", + "type": "NavigatorUserMediaErrorCallback", + "type-original": "NavigatorUserMediaErrorCallback" + } + ], + "type-original": "void" + } + ], + "specs": "media-capture-api", + "exposed": "Window", + "name": "getUserMedia" + }, + "getDisplayMedia": { + "specs": "screen-capture", + "signature": [ + { + "subtype": { + "type": "MediaStream" + }, + "param-min-required": 1, + "type": "Promise", + "param": [ + { + "name": "constraints", + "type": "MediaStreamConstraints", + "type-original": "MediaStreamConstraints" + } + ], + "type-original": "Promise" + } + ], + "name": "getDisplayMedia", + "exposed": "Window" + } + } + }, + "exposed": "Window", + "extends": "Object" + }, + "NavigatorConcurrentHardware": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorConcurrentHardware", + "properties": { + "property": { + "hardwareConcurrency": { + "specs": "none", + "name": "hardwareConcurrency", + "constant": 1, + "type-original": "unsigned long long", + "exposed": "Window Worker", + "type": "unsigned long long", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "AbstractWorker": { + "specs": "workers", + "anonymous-methods": { + "method": [] + }, + "name": "AbstractWorker", + "properties": { + "property": { + "onerror": { + "specs": "workers", + "name": "onerror", + "type-original": "EventHandler", + "nullable": 1, + "exposed": "Window Worker", + "type": "EventHandlerNonNull", + "event-handler": "error" + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window Worker", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "LinkStyle": { + "specs": "cssom", + "anonymous-methods": { + "method": [] + }, + "name": "LinkStyle", + "properties": { + "property": { + "sheet": { + "specs": "cssom", + "name": "sheet", + "type-original": "StyleSheet?", + "nullable": 1, + "exposed": "Window", + "type": "StyleSheet", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "DOML2DeprecatedSizeProperty": { + "specs": "dom-level-2-html", + "anonymous-methods": { + "method": [] + }, + "name": "DOML2DeprecatedSizeProperty", + "properties": { + "property": { + "size": { + "specs": "dom-level-2-html", + "ce-reactions": 1, + "name": "size", + "tags": "CSSOM", + "content-attribute": "size", + "type-original": "long", + "exposed": "Window", + "content-attribute-value-syntax": "1_or_greater_integer", + "type": "long", + "content-attribute-reflects": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "NavigatorLanguage": { + "specs": "whatwg-html", + "anonymous-methods": { + "method": [] + }, + "name": "NavigatorLanguage", + "properties": { + "property": { + "language": { + "pure": 1, + "specs": "whatwg-html", + "name": "language", + "type-original": "DOMString", + "exposed": "Window", + "type": "DOMString", + "read-only": 1 + }, + "languages": { + "pure": 1, + "specs": "whatwg-html", + "name": "languages", + "type-original": "FrozenArray", + "subtype": { + "type": "DOMString" + }, + "exposed": "Window", + "type": "FrozenArray", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WindowConsole": { + "specs": "none", + "anonymous-methods": { + "method": [] + }, + "name": "WindowConsole", + "properties": { + "property": { + "console": { + "specs": "none", + "name": "console", + "tags": "Console", + "type-original": "Console", + "replaceable": 1, + "exposed": "Window Worker", + "type": "Console", + "read-only": 1 + } + } + }, + "tags": "Console", + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "methods": { + "method": {} + }, + "exposed": "Window Worker", + "extends": "Object" + }, + "SVGAnimatedPoints": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGAnimatedPoints", + "properties": { + "property": { + "animatedPoints": { + "specs": "svg2", + "same-object": 1, + "name": "animatedPoints", + "constant": 1, + "type-original": "SVGPointList", + "exposed": "Window", + "type": "SVGPointList", + "read-only": 1 + }, + "points": { + "specs": "svg2", + "same-object": 1, + "name": "points", + "constant": 1, + "content-attribute": "points", + "type-original": "SVGPointList", + "exposed": "Window", + "content-attribute-value-syntax": "svg_coordinate_pair_list", + "content-attribute-reflects": 1, + "type": "SVGPointList", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WindowSessionStorage": { + "specs": "html5", + "anonymous-methods": { + "method": [] + }, + "name": "WindowSessionStorage", + "properties": { + "property": { + "sessionStorage": { + "specs": "html5", + "exposed": "Window", + "name": "sessionStorage", + "type": "Storage", + "type-original": "Storage", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "SVGFilterPrimitiveStandardAttributes": { + "specs": "filter-effects", + "anonymous-methods": { + "method": [] + }, + "name": "SVGFilterPrimitiveStandardAttributes", + "properties": { + "property": { + "width": { + "specs": "filter-effects", + "name": "width", + "constant": 1, + "content-attribute": "width", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "y": { + "specs": "filter-effects", + "name": "y", + "constant": 1, + "content-attribute": "y", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "x": { + "specs": "filter-effects", + "name": "x", + "constant": 1, + "content-attribute": "x", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "height": { + "specs": "filter-effects", + "name": "height", + "constant": 1, + "content-attribute": "height", + "type-original": "SVGAnimatedLength", + "exposed": "Window", + "content-attribute-value-syntax": "svg_number_with_optional_unit", + "type": "SVGAnimatedLength", + "content-attribute-reflects": 1, + "read-only": 1 + }, + "result": { + "specs": "filter-effects", + "name": "result", + "constant": 1, + "content-attribute": "result", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + }, + "WorkerUtils": { + "specs": "workers", + "anonymous-methods": { + "method": [] + }, + "name": "WorkerUtils", + "properties": { + "property": { + "navigator": { + "property-descriptor-not-configurable": 1, + "specs": "workers", + "name": "navigator", + "type-original": "WorkerNavigator", + "exposed": "Worker", + "type": "WorkerNavigator", + "read-only": 1 + }, + "msIndexedDB": { + "specs": "indexeddb", + "name": "msIndexedDB", + "type-original": "IDBFactory", + "exposed": "Worker", + "type": "IDBFactory", + "read-only": 1 + }, + "indexedDB": { + "specs": "indexeddb", + "name": "indexedDB", + "type-original": "IDBFactory", + "exposed": "Worker", + "type": "IDBFactory", + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Worker", + "methods": { + "method": { + "clearImmediate": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "clearImmediate" + }, + "importScripts": { + "signature": [ + { + "param-min-required": 0, + "type": "void", + "param": [ + { + "variadic": 1, + "name": "urls", + "type": "DOMString", + "type-original": "DOMString" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "importScripts" + }, + "clearTimeout": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "clearTimeout" + }, + "setImmediate": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "handler", + "type": "any", + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "optional": 1, + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "setimmediate", + "exposed": "Worker", + "name": "setImmediate" + }, + "setTimeout": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "handler", + "type": "any", + "type-original": "any" + }, + { + "name": "timeout", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "setTimeout" + }, + "clearInterval": { + "signature": [ + { + "param-min-required": 1, + "type": "void", + "param": [ + { + "name": "handle", + "type": "long", + "type-original": "long" + } + ], + "type-original": "void" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "clearInterval" + }, + "setInterval": { + "signature": [ + { + "param-min-required": 1, + "type": "long", + "param": [ + { + "name": "handler", + "type": "any", + "type-original": "any" + }, + { + "name": "timeout", + "type": "any", + "optional": 1, + "type-original": "any" + }, + { + "variadic": 1, + "name": "args", + "type": "any", + "type-original": "any" + } + ], + "type-original": "long" + } + ], + "specs": "workers", + "exposed": "Worker", + "name": "setInterval" + } + } + }, + "extends": "Object", + "implements": [ + "WindowBase64" + ] + }, + "SVGURIReference": { + "specs": "svg2", + "anonymous-methods": { + "method": [] + }, + "name": "SVGURIReference", + "properties": { + "property": { + "href": { + "content-attribute-aliases": "xlink:href", + "specs": "svg2", + "same-object": 1, + "name": "href", + "constant": 1, + "content-attribute": "href", + "type-original": "SVGAnimatedString", + "exposed": "Window", + "content-attribute-value-syntax": "url", + "type": "SVGAnimatedString", + "content-attribute-reflects": 1, + "read-only": 1 + } + } + }, + "constants": { + "constant": {} + }, + "no-interface-object": 1, + "exposed": "Window", + "methods": { + "method": {} + }, + "extends": "Object" + } + } + } +} \ No newline at end of file From e72c4c156698b685365b84e050561816aaff6389 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 09:18:52 -0800 Subject: [PATCH 67/93] Update travis file --- .travis.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1382edc22..f30f44d46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ -language: csharp -mono: - - latest +language: node_js -script: - - ./build.sh +node_js: + - 'stable' + +sudo: false + +install: + - npm uninstall typescript --no-save + - npm install \ No newline at end of file From a856a1068f674e78443517852965f17a015e05a6 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 09:54:51 -0800 Subject: [PATCH 68/93] some cleanup --- src/helpers.ts | 16 +- src/index.ts | 439 +++++++++++++++++++++++----------------------- src/preprocess.ts | 27 +-- src/test.ts | 14 +- 4 files changed, 239 insertions(+), 257 deletions(-) diff --git a/src/helpers.ts b/src/helpers.ts index ffcb10ae4..49cb9b77d 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -1,8 +1,7 @@ export function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) { - var result = obj; if (typeof obj === "object") { if (Array.isArray(obj)) { - var newArray: any[] = []; + const newArray: any[] = []; for (const e of obj) { if (fn(e, undefined)) { newArray.push(filter(e, fn)); @@ -11,15 +10,16 @@ export function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) return newArray; } else { - result = {}; + const result: any = {}; for (const e in obj) { if (fn(obj[e], e)) { result[e] = filter(obj[e], fn); } } + return result; } } - return result; + return obj; } export function filterProperties(obj: Record, fn: (o: T) => boolean): Record { @@ -33,7 +33,9 @@ export function filterProperties(obj: Record, fn: (o: T) => boolea } export function merge(src: T, target: T): T { - if (typeof src !== "object" || typeof target !== "object") return src; + if (typeof src !== "object" || typeof target !== "object") { + return src; + } for (const k in target) { if (Object.getOwnPropertyDescriptor(target, k)) { if (Object.getOwnPropertyDescriptor(src, k)) { @@ -43,7 +45,9 @@ export function merge(src: T, target: T): T { mergeNamedArrays(srcProp, targetProp); } else { - if (Array.isArray(srcProp) !== Array.isArray(targetProp)) throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); + if (Array.isArray(srcProp) !== Array.isArray(targetProp)) { + throw new Error("Mismatch on property: " + k + JSON.stringify(targetProp)); + } merge(src[k], target[k]); } } diff --git a/src/index.ts b/src/index.ts index f52c85082..c90c8a91b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ enum Flavor { Web, Worker, ES6Iterators -}; +} function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { @@ -28,16 +28,16 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const defaultEventType = "Event"; // Global print target - const Pt = createTextWriter("\n"); + const printer = createTextWriter("\n"); // Extended types used but not defined in the spec const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); - let allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl["mixins"], "mixin")); - let allInterfaces = getElements(webidl.interfaces, "interface").concat( + const allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl.mixins, "mixin")); + const allInterfaces = getElements(webidl.interfaces, "interface").concat( getElements(webidl["callback-interfaces"], "interface"), - getElements(webidl["mixins"], "mixin")); + getElements(webidl.mixins, "mixin")); const allInterfacesMap = toNameMap(allInterfaces); const allDictionariesMap = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; @@ -51,7 +51,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { }; /// Event name to event type map - const eNameToEType = (function() { + const eNameToEType = (() => { function eventType(e: Browser.Event) { switch (e.name) { case "abort": return "UIEvent"; @@ -79,7 +79,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { })(); /// Tag name to element name map - const tagNameToEleName = (function() { + const tagNameToEleName = (() => { const preferedElementMap: Record = { "script": "HTMLScriptElement", "a": "HTMLAnchorElement", @@ -91,7 +91,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function resolveElementConflict(tagName: string, iNames: string[]) { const name = preferedElementMap[tagName] || ""; - if (iNames.indexOf(name) != -1) return name; + if (iNames.indexOf(name) !== -1) return name; throw new Error("Element conflict occured! Typename: " + tagName); } @@ -108,19 +108,19 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Interface name to all its implemented / inherited interfaces name list map /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - const iNameToIDependList = (function() { + const iNameToIDependList = (() => { function getExtendList(iName: string): string[] { - var i = allInterfacesMap[iName]; + const i = allInterfacesMap[iName]; if (!i || !i.extends || i.extends === "Object") return []; else return getExtendList(i.extends).concat(i.extends); } function getImplementList(iName: string) { - var i = allInterfacesMap[iName]; + const i = allInterfacesMap[iName]; return i && i.implements || []; } - let nativeINameToIDependList: Record = {}; + const nativeINameToIDependList: Record = {}; for (const i of allNonCallbackInterfaces) { nativeINameToIDependList[i.name] = getExtendList(i.name).concat(getImplementList(i.name)); @@ -129,8 +129,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { })(); /// Distinct event type list, used in the "createEvent" function - const distinctETypeList = (function() { - let eventsMap: Record = {}; + const distinctETypeList = (() => { + const eventsMap: Record = {}; for (const i of allNonCallbackInterfaces) { if (i.events) { @@ -153,9 +153,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// 1. eventhanlder name: "onready", "onabort" etc. /// 2. the event name that it handles: "ready", "SVGAbort" etc. /// And they don't NOT just differ by an "on" prefix! - const iNameToEhList = (function() { + const iNameToEhList = (() => { function getEventTypeFromHandler(p: Browser.Property) { - let eType = + const eType = // Check the "event-handler" attribute of the event handler property, // which is the corresponding event name p["event-handler"] && @@ -170,7 +170,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Get all the event handlers from an interface and also from its inherited / implemented interfaces function getEventHandler(i: Browser.Interface) { - let ownEventHandler = + const ownEventHandler = i.properties ? mapToArray(i.properties.property).filter(p => p["event-handler"]).map(p => ({ name: p.name, @@ -189,7 +189,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { })(); // Map of interface.Name -> List of base interfaces with event handlers - const iNameToEhParents = (function() { + const iNameToEhParents = (() => { function hasHandler(i: Browser.Interface) { return iNameToEhList[i.name] && iNameToEhList[i.name].length; } @@ -199,9 +199,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return hasHandler(i) ? [i] : getParentsWithEventHandler(i); } - let extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; + const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; - let implementedParentsWithEventHandler = + const implementedParentsWithEventHandler = i.implements ? i.implements.reduce((acc, i) => { acc.push(...getParentEventHandler(allInterfacesMap[i])); @@ -224,8 +224,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Used to decide if a member should be emitted given its static property and // the intended scope level. function matchScope(scope: EmitScope, x: Browser.Method) { - if (scope === EmitScope.All) - return true; + if (scope === EmitScope.All) return true; else if (x.static) return scope === EmitScope.StaticOnly; else return scope === EmitScope.InstanceOnly; } @@ -257,7 +256,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { else if (eName === "readystatechange" && i.name === "XMLHttpRequest") return "Event"; else if (i.name === "XMLHttpRequest") return "ProgressEvent"; else { - let ownEventType = tryGetMatchingEventType(eName, i); + const ownEventType = tryGetMatchingEventType(eName, i); return ownEventType || eNameToEType[eName] || "Event"; } } @@ -335,7 +334,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { indent = e.indent; this.Printl(e.content); indent = oldIndent; - }) + }); }, GetResult() { return output; } @@ -346,7 +345,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function convertDomTypeToTsType(obj: Browser.Typed): string { if (obj["override-type"]) return obj["override-type"]!; if (!obj.type) throw new Error("Missing type " + JSON.stringify(obj)); - const type = convertDomTypeToTsTypeWorker(obj) + const type = convertDomTypeToTsTypeWorker(obj); return type.nullable ? makeNullable(type.name) : type.name; } @@ -362,7 +361,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { type = { name: "any", nullable: false - } + }; } else { type = { @@ -425,23 +424,22 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (allInterfacesMap[objDomType] || allCallbackFunctionsMap[objDomType] || allDictionariesMap[objDomType] || - allEnumsMap[objDomType]) - return objDomType; + allEnumsMap[objDomType]) return objDomType; // Name of a type alias. Just return itself if (allTypeDefsMap.has(objDomType)) return objDomType; // Union types if (objDomType.indexOf(" or ") > -1) { - let allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); + const allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); } else { // Check if is array type, which looks like "sequence" - let unescaped = objDomType; // System.Web.HttpUtility.HtmlDecode(objDomType) - let genericMatch = /^(\w+)<([\w, <>]+)>$/; - let match = genericMatch.exec(unescaped); + const unescaped = objDomType; // System.Web.HttpUtility.HtmlDecode(objDomType) + const genericMatch = /^(\w+)<([\w, <>]+)>$/; + const match = genericMatch.exec(unescaped); if (match) { - let tName: string = covertDomTypeToTsTypeSimple(match[1]); - let paramName: string = covertDomTypeToTsTypeSimple(match[2]); + const tName: string = covertDomTypeToTsTypeSimple(match[1]); + const paramName: string = covertDomTypeToTsTypeSimple(match[2]); return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; } if (objDomType.endsWith("[]")) { @@ -465,19 +463,20 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function convertDomTypeToNullableTsType(obj: Browser.Typed) { - let resolvedType = convertDomTypeToTsType(obj); + const resolvedType = convertDomTypeToTsType(obj); return obj.nullable ? makeNullable(resolvedType) : resolvedType; } function emitConstant(c: Browser.Constant) { - Pt.Printl(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); + printer.Printl(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); } function emitConstants(i: Browser.Interface) { - if (i.constants) + if (i.constants) { mapToArray(i.constants.constant) .sort(compareName) .forEach(emitConstant); + } } function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { @@ -495,92 +494,92 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Emit overloads for the createElement method function emitCreateElementOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { - Pt.Printl("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); - Pt.Printl("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); + printer.Printl("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); + printer.Printl("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); } } /// Emit overloads for the getElementsByTagName method function emitGetElementsByTagNameOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { - Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - Pt.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); + printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); } } /// Emit overloads for the querySelector method function emitQuerySelectorOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelector", "Element | null", "string")) { - Pt.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); - Pt.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); - Pt.Printl("querySelector(selectors: string): E | null;"); + printer.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); + printer.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); + printer.Printl("querySelector(selectors: string): E | null;"); } } /// Emit overloads for the querySelectorAll method function emitQuerySelectorAllOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { - Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); - Pt.Printl("querySelectorAll(selectors: K): NodeListOf;"); - Pt.Printl("querySelectorAll(selectors: string): NodeListOf;"); + printer.Printl("querySelectorAll(selectors: K): NodeListOf;"); + printer.Printl("querySelectorAll(selectors: K): NodeListOf;"); + printer.Printl("querySelectorAll(selectors: string): NodeListOf;"); } } function emitHTMLElementTagNameMap() { - Pt.Printl("interface HTMLElementTagNameMap {"); - Pt.IncreaseIndent(); + printer.Printl("interface HTMLElementTagNameMap {"); + printer.IncreaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") === -1) { - Pt.Printl(`"${e.toLowerCase()}": ${value};`); + printer.Printl(`"${e.toLowerCase()}": ${value};`); } } - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } function emitSVGElementTagNameMap() { - Pt.Printl("interface SVGElementTagNameMap {"); - Pt.IncreaseIndent(); + printer.Printl("interface SVGElementTagNameMap {"); + printer.IncreaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") > -1) { - Pt.Printl(`"${e.toLowerCase()}": ${value};`); + printer.Printl(`"${e.toLowerCase()}": ${value};`); } } - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } function emitElementTagNameMap() { - Pt.Printl("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); - Pt.Printl("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); - Pt.Printl(""); + printer.Printl("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); + printer.Printl("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); + printer.Printl(""); } /// Emit overloads for the createEvent method function emitCreateEventOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "createEvent", "Event", "string")) { // Emit plurals. For example, "Events", "MutationEvents" - let hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; + const hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; for (const x of distinctETypeList) { - Pt.Printl(`createEvent(eventInterface: "${x}"): ${x};`); + printer.Printl(`createEvent(eventInterface: "${x}"): ${x};`); if (hasPlurals.indexOf(x) > -1) { - Pt.Printl(`createEvent(eventInterface: "${x}s"): ${x};`); + printer.Printl(`createEvent(eventInterface: "${x}s"): ${x};`); } } - Pt.Printl("createEvent(eventInterface: string): Event;"); + printer.Printl("createEvent(eventInterface: string): Event;"); } } /// Generate the parameters string for function signatures function paramsToString(ps: Browser.Param[]) { function paramToString(p: Browser.Param) { - let isOptional = !p.variadic && p.optional; - let pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); + const isOptional = !p.variadic && p.optional; + const pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); return (p.variadic ? "..." : "") + AdjustParamName(p.name) + (isOptional ? "?: " : ": ") + @@ -592,28 +591,28 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitCallBackInterface(i: Browser.Interface) { if (i.name === "EventListener") { - Pt.Printl(`interface ${i.name} {`); - Pt.PrintWithAddedIndent("(evt: Event): void;"); - Pt.Printl("}"); + printer.Printl(`interface ${i.name} {`); + printer.PrintWithAddedIndent("(evt: Event): void;"); + printer.Printl("}"); } else { - let methods = mapToArray(i.methods.method); - let m = methods[0]; - let overload = m.signature[0]; - let paramsString = overload.param ? paramsToString(overload.param) : ""; - let returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; - Pt.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); + const methods = mapToArray(i.methods.method); + const m = methods[0]; + const overload = m.signature[0]; + const paramsString = overload.param ? paramsToString(overload.param) : ""; + const returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; + printer.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); } - Pt.Printl(""); + printer.Printl(""); } function emitCallBackFunction(cb: Browser.CallbackFunction) { - Pt.Printl(`interface ${cb.name} {`); - Pt.IncreaseIndent(); - emitSignatures(cb, "", "", s => Pt.Printl(s)); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.Printl(`interface ${cb.name} {`); + printer.IncreaseIndent(); + emitSignatures(cb, "", "", s => printer.Printl(s)); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } function emitCallBackFunctions() { @@ -623,7 +622,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitEnum(e: Browser.Enum) { - Pt.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); + printer.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); } function emitEnums() { @@ -658,10 +657,12 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { function printLine(content: string) { - if (conflictedMembers.has(p.name)) - Pt.PrintlToStack(content); - else - Pt.Printl(content); + if (conflictedMembers.has(p.name)) { + printer.PrintlToStack(content); + } + else { + printer.Printl(content); + } } emitComments(p, printLine); @@ -681,16 +682,16 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Sometimes event handlers with the same name may actually handle different // events in different interfaces. For example, "onerror" handles "ErrorEvent" // normally, but in "SVGSVGElement" it handles "SVGError" event instead. - let eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; + const eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; pType = `(${emitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; } else { pType = convertDomTypeToTsType(p); } } - let requiredModifier = !p.required || p.required === "1" ? "" : "?"; + const requiredModifier = !p.required || p.required === "1" ? "" : "?"; pType = p.nullable ? makeNullable(pType) : pType; - let readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; + const readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); } } @@ -722,10 +723,12 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitMethod(prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { function printLine(content: string) { - if (m.name && conflictedMembers.has(m.name)) - Pt.PrintlToStack(content); - else - Pt.Printl(content); + if (m.name && conflictedMembers.has(m.name)) { + printer.PrintlToStack(content); + } + else { + printer.Printl(content); + } } emitComments(m, printLine); @@ -741,7 +744,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { - let paramsString = s.param ? paramsToString(s.param) : ""; + const paramsString = s.param ? paramsToString(s.param) : ""; let returnType = convertDomTypeToTsType(s); returnType = s.nullable ? makeNullable(returnType) : returnType; printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); @@ -777,22 +780,22 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // The window interface inherited some methods from "Object", // which need to explicitly exposed if (i.name === "Window" && prefix === "declare function ") { - Pt.Printl("declare function toString(): string;"); + printer.Printl("declare function toString(): string;"); } } /// Emit the properties and methods of a given interface function emitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { - let conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); + const conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); emitProperties(prefix, emitScope, i, conflictedMembers); - let methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + const methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; emitMethods(methodPrefix, emitScope, i, conflictedMembers); } /// Emit all members of every interfaces at the root level. /// Called only once on the global polluter object function emitAllMembers(i: Browser.Interface) { - let prefix = "declare var "; + const prefix = "declare var "; emitMembers(prefix, EmitScope.All, i); for (const relatedIName of iNameToIDependList[i.name]) { @@ -808,19 +811,19 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; } - let fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + const fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { - Pt.Printl(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + printer.Printl(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); } function emitStringEventHandler(addOrRemove: string) { - Pt.Printl(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + printer.Printl(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); } function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - emitTypedEventHandler(fPrefix, addOrRemove, i) + emitTypedEventHandler(fPrefix, addOrRemove, i); return true; } if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { @@ -846,37 +849,37 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function EmitConstructorSignature(i: Browser.Interface) { const constructor = typeof i.constructor === "object" ? i.constructor : undefined; - emitComments(constructor, s => Pt.Print(s)); + emitComments(constructor, s => printer.Print(s)); // Emit constructor signature if (constructor) { - emitSignatures(constructor, "", "new", s => Pt.Printl(s)); + emitSignatures(constructor, "", "new", s => printer.Printl(s)); } else { - Pt.Printl(`new(): ${i.name};`); + printer.Printl(`new(): ${i.name};`); } } function EmitConstructor(i: Browser.Interface) { - Pt.Printl(`declare var ${i.name}: {`); - Pt.IncreaseIndent(); + printer.Printl(`declare var ${i.name}: {`); + printer.IncreaseIndent(); - Pt.Printl(`prototype: ${i.name};`); + printer.Printl(`prototype: ${i.name};`); EmitConstructorSignature(i); emitConstants(i); emitMembers("", EmitScope.StaticOnly, i); - Pt.DecreaseIndent(); - Pt.Printl("};"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("};"); + printer.Printl(""); } function EmitNamedConstructor(i: Browser.Interface) { const nc = i["named-constructor"]; if (nc) { - Pt.Printl(`declare var ${nc.name}: {`); - nc.signature.forEach(s => Pt.PrintWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); - Pt.Printl(`};`); + printer.Printl(`declare var ${nc.name}: {`); + nc.signature.forEach(s => printer.PrintWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); + printer.Printl(`};`); } } @@ -892,22 +895,22 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return extendConflictsBaseTypes[iName] ? `${iName}Base` : iName; } - let processedIName = processIName(i.name); + const processedIName = processIName(i.name); - if (processedIName != i.name) { - Pt.PrintlToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); + if (processedIName !== i.name) { + printer.PrintlToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); } - Pt.Printl(`interface ${processInterfaceType(i, processedIName)}`); + printer.Printl(`interface ${processInterfaceType(i, processedIName)}`); - let finalExtends = [i.extends || "Object"].concat(i.implements || []) + const finalExtends = [i.extends || "Object"].concat(i.implements || []) .filter(i => i !== "Object") - .map(processIName) + .map(processIName); if (finalExtends && finalExtends.length) { - Pt.Print(` extends ${finalExtends.join(", ")}`); + printer.Print(` extends ${finalExtends.join(", ")}`); } - Pt.Print(" {"); + printer.Print(" {"); } /// To decide if a given method is an indexer and should be emited @@ -922,10 +925,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (convertDomTypeToTsType(m.signature[0]) === "any") { return true; } - let sig = m.signature[0]; - let mTypes = distinct(i.methods && map(i.methods.method, m => m.signature && m.signature.length && m.signature[0].type || "void").filter(t => t !== "void") || []); - let amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct - let pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct + const sig = m.signature[0]; + const mTypes = distinct(i.methods && map(i.methods.method, m => m.signature && m.signature.length && m.signature[0].type || "void").filter(t => t !== "void") || []); + const amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct + const pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === sig.type; if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === sig.type; @@ -938,7 +941,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function EmitIndexers(emitScope: EmitScope, i: Browser.Interface) { if (i["overide-index-signatures"]) { - i["overide-index-signatures"]!.forEach(s => Pt.Printl(`${s};`)); + i["overide-index-signatures"]!.forEach(s => printer.Printl(`${s};`)); } else { // The indices could be within either Methods or Anonymous Methods @@ -946,9 +949,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) .forEach(m => { - let indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; + const indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; if (indexer) { - Pt.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ + printer.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ type: m.signature[0].type, subtype: m.signature[0].subtype, nullable: undefined @@ -960,48 +963,47 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function EmitInterfaceEventMap(i: Browser.Interface) { function emitInterfaceEventMapEntry(eHandler: EventHandler) { - Pt.Printl(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); + printer.Printl(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); } if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - Pt.Printl(`interface ${i.name}EventMap`); + printer.Printl(`interface ${i.name}EventMap`); if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { - let extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); - Pt.Print(` extends ${extend.join(", ")}`); + const extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); + printer.Print(` extends ${extend.join(", ")}`); } - Pt.Print(" {"); - Pt.IncreaseIndent(); + printer.Print(" {"); + printer.IncreaseIndent(); iNameToEhList[i.name] .sort(compareName) .forEach(emitInterfaceEventMapEntry); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } } function EmitInterface(i: Browser.Interface) { - Pt.ClearStack(); + printer.ClearStack(); EmitInterfaceEventMap(i); - Pt.ResetIndent() + printer.ResetIndent(); EmitInterfaceDeclaration(i); - Pt.IncreaseIndent(); + printer.IncreaseIndent(); - let prefix = ""; - emitMembers(prefix, EmitScope.InstanceOnly, i); + emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); emitConstants(i); - emitEventHandlers(prefix, i); + emitEventHandlers(/*prefix*/ "", i); EmitIndexers(EmitScope.InstanceOnly, i); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); - if (!Pt.StackIsEmpty()) { - Pt.PrintStackContent(); - Pt.Printl("}"); - Pt.Printl(""); + if (!printer.StackIsEmpty()) { + printer.PrintStackContent(); + printer.Printl("}"); + printer.Printl(""); } } @@ -1009,9 +1011,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Some types are static types with non-static members. For example, // NodeFilter is a static method itself, however it has an "acceptNode" method // that expects the user to implement. - let hasNonStaticMethod = i.methods && !!mapToArray(i.methods.method).find(m => !m.static); - let hasProperty = i.properties && mapToArray(i.properties.property).find(p => !p.static); - let hasNonStaticMember = hasNonStaticMethod || hasProperty + const hasNonStaticMethod = i.methods && !!mapToArray(i.methods.method).find(m => !m.static); + const hasProperty = i.properties && mapToArray(i.properties.property).find(p => !p.static); + const hasNonStaticMember = hasNonStaticMethod || hasProperty; // For static types with non-static members, we put the non-static members into an // interface, and put the static members into the object literal type of 'declare var' @@ -1019,48 +1021,46 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Because in the two cases the interface contains different things, it might be easier to // read to separate them into two functions. function emitStaticInterfaceWithNonStaticMembers() { - Pt.ResetIndent(); + printer.ResetIndent(); EmitInterfaceDeclaration(i); - Pt.IncreaseIndent(); + printer.IncreaseIndent(); - let prefix = ""; - emitMembers(prefix, EmitScope.InstanceOnly, i); - emitEventHandlers(prefix, i); + emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); + emitEventHandlers(/*prefix*/ "", i); EmitIndexers(EmitScope.InstanceOnly, i); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); - Pt.Printl(`declare var ${i.name}: {`); - Pt.IncreaseIndent(); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); + printer.Printl(`declare var ${i.name}: {`); + printer.IncreaseIndent(); emitConstants(i); - emitMembers(prefix, EmitScope.StaticOnly, i); - Pt.DecreaseIndent(); - Pt.Printl("};"); - Pt.Printl(""); + emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); + printer.DecreaseIndent(); + printer.Printl("};"); + printer.Printl(""); } function emitPureStaticInterface() { - Pt.ResetIndent() + printer.ResetIndent(); EmitInterfaceDeclaration(i); - Pt.IncreaseIndent(); + printer.IncreaseIndent(); - let prefix = ""; - emitMembers(prefix, EmitScope.StaticOnly, i); + emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); emitConstants(i); - emitEventHandlers(prefix, i); + emitEventHandlers(/*prefix*/ "", i); EmitIndexers(EmitScope.StaticOnly, i); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(`declare var ${i.name}: ${i.name};`); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(`declare var ${i.name}: ${i.name};`); + printer.Printl(""); } if (hasNonStaticMember) { emitStaticInterfaceWithNonStaticMembers(); } else { - emitPureStaticInterface() + emitPureStaticInterface(); } } @@ -1082,20 +1082,20 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitDictionary(dict: Browser.Dictionary) { if (!dict.extends || dict.extends === "Object") { - Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); + printer.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); } else { - Pt.Printl(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); + printer.Printl(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); } - Pt.IncreaseIndent() + printer.IncreaseIndent(); if (dict.members) { mapToArray(dict.members.member) .sort(compareName) - .forEach(m => Pt.Printl(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); + .forEach(m => printer.Printl(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); } - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } function emitDictionaries() { @@ -1105,7 +1105,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitTypeDef(typeDef: Browser.TypeDef) { - Pt.Printl(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); + printer.Printl(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); } function emitTypeDefs() { @@ -1120,16 +1120,16 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitTheWholeThing() { - Pt.Reset() - Pt.Printl("/////////////////////////////"); + printer.Reset(); + printer.Printl("/////////////////////////////"); if (flavor === Flavor.Worker) { - Pt.Printl("/// Worker APIs"); + printer.Printl("/// Worker APIs"); } else { - Pt.Printl("/// DOM APIs"); + printer.Printl("/// DOM APIs"); } - Pt.Printl("/////////////////////////////"); - Pt.Printl(""); + printer.Printl("/////////////////////////////"); + printer.Printl(""); emitDictionaries(); getElements(webidl["callback-interfaces"], "interface") @@ -1140,8 +1140,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // // Add missed interface definition from the spec // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface - Pt.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); - Pt.Printl(""); + printer.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); + printer.Printl(""); emitCallBackFunctions(); @@ -1160,17 +1160,17 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitTypeDefs(); emitEnums(); - return Pt.GetResult(); + return printer.GetResult(); } function emitIterator(i: Browser.Interface) { // check anonymous unsigned long getter and length property - let isIterableGetter = (m: Browser.Method) => + const isIterableGetter = (m: Browser.Method) => m.getter === 1 && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && typeof m.signature[0].param![0].type === "string" && integerTypes.has(m.signature[0].param![0].type); function findIterableGetter() { - let anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); + const anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); if (anonymousGetter) return anonymousGetter; else if (i.methods) return mapToArray(i.methods.method).find(isIterableGetter); @@ -1182,31 +1182,31 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } if (i.name !== "Window" && i.properties) { - let iterableGetter = findIterableGetter() - let lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); + const iterableGetter = findIterableGetter(); + const lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); if (iterableGetter && lengthProperty) { - Pt.Printl(`interface ${i.name} {`); - Pt.IncreaseIndent(); - Pt.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); - Pt.DecreaseIndent(); - Pt.Printl("}"); - Pt.Printl(""); + printer.Printl(`interface ${i.name} {`); + printer.IncreaseIndent(); + printer.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); + printer.DecreaseIndent(); + printer.Printl("}"); + printer.Printl(""); } } } function emitES6DomIterators() { - Pt.Reset(); - Pt.Printl("/////////////////////////////"); - Pt.Printl("/// DOM ES6 APIs"); - Pt.Printl("/////////////////////////////"); - Pt.Printl(""); + printer.Reset(); + printer.Printl("/////////////////////////////"); + printer.Printl("/// DOM ES6 APIs"); + printer.Printl("/////////////////////////////"); + printer.Printl(""); allInterfaces .sort(compareName) .forEach(emitIterator); - return Pt.GetResult(); + return printer.GetResult(); } } @@ -1338,10 +1338,12 @@ function emitDom() { if (!template) return interfaces; const result = interfaces; for (const k in result) { - if (result[k].properties) + if (result[k].properties) { result[k].properties!.property = filterProperties(interfaces[k].properties!.property, p => !(template[k] && template[k].properties && template[k].properties!.property[p.name])); - if (result[k].methods) + } + if (result[k].methods) { result[k].methods!.method = filterProperties(interfaces[k].methods!.method, m => !(template[k] && template[k].methods && template[k].methods!.method[m.name])); + } } return result; } @@ -1350,8 +1352,9 @@ function emitDom() { if (!template) return dictinaries; const result = filterProperties(dictinaries, i => !template[i.name]); for (const k in result) { - if (result[k].members) + if (result[k].members) { result[k].members!.member = filterProperties(dictinaries[k].members!.member, m => !(template[k] && template[k].members && template[k].members!.member[m.name])); + } } return result; } diff --git a/src/preprocess.ts b/src/preprocess.ts index 13b43b5fe..41dcc7d8f 100644 --- a/src/preprocess.ts +++ b/src/preprocess.ts @@ -1,35 +1,12 @@ import * as fs from "fs"; import * as path from "path"; +import { filter } from "./helpers"; const __SOURCE_DIRECTORY__ = __dirname; const inputFolder = path.join(__SOURCE_DIRECTORY__, "../", "inputfiles"); -function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) { - var result = obj; - if (typeof obj === "object") { - if (Array.isArray(obj)) { - var newArray: any[] = []; - for (const e of obj) { - if (fn(e, undefined)) { - newArray.push(filter(e, fn)); - } - } - return newArray; - } - else { - result = {}; - for (const e in obj) { - if (fn(obj[e], e)) { - result[e] = filter(obj[e], fn); - } - } - } - } - return result; -} - function preprocess() { - let webidl = require(path.join(inputFolder, "browser.webidl.json")); + const webidl = require(path.join(inputFolder, "browser.webidl.json")); const browser = filter(webidl, (o, n) => { if (o) { diff --git a/src/test.ts b/src/test.ts index 5d756bce6..cb0c30af7 100644 --- a/src/test.ts +++ b/src/test.ts @@ -8,30 +8,28 @@ const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); const tscPath = path.join(__SOURCE_DIRECTORY__, "../", "node_modules", "typescript", "lib", "tsc.js"); function compareToBaselines() { - let success = true; for (const file of fs.readdirSync(baselineFolder)) { - let baseline = fs.readFileSync(path.join(baselineFolder, file)).toString().replace(/\r\n/, "\n"); - let generated = fs.readFileSync(path.join(outputFolder, file)).toString().replace(/\r\n/, "\n"); + const baseline = fs.readFileSync(path.join(baselineFolder, file)).toString().replace(/\r\n/, "\n"); + const generated = fs.readFileSync(path.join(outputFolder, file)).toString().replace(/\r\n/, "\n"); if (baseline !== generated) { console.error(`Test failed: '${file}' is different from baseline file.`); - success = false; + return false; } } - return success; + return true; } function compileGeneratedFile(file: string) { - let success = true; try { child_process.execSync(`node ${tscPath} --strict --lib es5 --noEmit ${path.join(outputFolder, file)}`); } catch (e) { console.error(`Test failed: could not compile '${file}':`); console.error(e.stdout.toString()); console.error(); - success = false; + return false; } - return success; + return true; } function test() { From c5dfac3ef8eb8a696edf9f44fba59c0f44f01963 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 10:02:27 -0800 Subject: [PATCH 69/93] update gitIgnore --- .gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1e333b380..fd52e938d 100644 --- a/.gitignore +++ b/.gitignore @@ -287,9 +287,9 @@ __pycache__/ *.odx.cs *.xsd.cs -.paket/ -.fake/ generated/ *.js -*.js.map \ No newline at end of file +*.js.map +lib/ +inputfiles/browser.webidl.json \ No newline at end of file From dbabfdb358f973882c6a15366bae30fe325fd064 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 10:22:44 -0800 Subject: [PATCH 70/93] Build before testing in npm test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e530e98c9..7d174e4bb 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "tsc --p ./tsconfig.json & node ./lib/index.js", "baseline-accept": "copy /Y generated\\* baselines\\", - "test": "tsc --p ./tsconfig.json & node ./lib/test.js" + "test": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js" }, "repository": { "type": "git", From 401ef78c3a9556bbc5250799ae2b4fbc4f297e09 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 10:29:02 -0800 Subject: [PATCH 71/93] Use a separate build script --- build.cmd | 2 +- build.sh | 2 +- package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.cmd b/build.cmd index 1f2c7e04a..b92727120 100644 --- a/build.cmd +++ b/build.cmd @@ -2,4 +2,4 @@ cls @echo "Building..." -npm run build & npm run test +npm run build & npm run runTests diff --git a/build.sh b/build.sh index 28911063e..603ec40eb 100644 --- a/build.sh +++ b/build.sh @@ -2,4 +2,4 @@ set -eu -npm run build & npm run test +npm run build & npm run runTests diff --git a/package.json b/package.json index 7d174e4bb..4dc47b1d9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "scripts": { "build": "tsc --p ./tsconfig.json & node ./lib/index.js", "baseline-accept": "copy /Y generated\\* baselines\\", - "test": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js" + "runTests": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js", + "test": "./build" }, "repository": { "type": "git", From 14bb7e22bfe9ac43586bf639d3f04913b77f48ac Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 10:30:20 -0800 Subject: [PATCH 72/93] Revert "Use a separate build script" This reverts commit 401ef78c3a9556bbc5250799ae2b4fbc4f297e09. --- build.cmd | 2 +- build.sh | 2 +- package.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.cmd b/build.cmd index b92727120..1f2c7e04a 100644 --- a/build.cmd +++ b/build.cmd @@ -2,4 +2,4 @@ cls @echo "Building..." -npm run build & npm run runTests +npm run build & npm run test diff --git a/build.sh b/build.sh index 603ec40eb..28911063e 100644 --- a/build.sh +++ b/build.sh @@ -2,4 +2,4 @@ set -eu -npm run build & npm run runTests +npm run build & npm run test diff --git a/package.json b/package.json index 4dc47b1d9..7d174e4bb 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "scripts": { "build": "tsc --p ./tsconfig.json & node ./lib/index.js", "baseline-accept": "copy /Y generated\\* baselines\\", - "runTests": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js", - "test": "./build" + "test": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js" }, "repository": { "type": "git", From aa02c79d6f1c527e981ef4d847c6314861579140 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 10:32:16 -0800 Subject: [PATCH 73/93] Run tasks sequentially --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7d174e4bb..bffe934da 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "description": "AppVeyor Status: [![Build status](https://ci.appveyor.com/api/projects/status/8oj3j7u6nvag1xvu/branch/master?svg=true)](https://ci.appveyor.com/project/zhengbli/tsjs-lib-generator/branch/master)\r Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator)", "main": "index.js", "scripts": { - "build": "tsc --p ./tsconfig.json & node ./lib/index.js", + "build": "tsc --p ./tsconfig.json && node ./lib/index.js", "baseline-accept": "copy /Y generated\\* baselines\\", - "test": "tsc --p ./tsconfig.json & node ./lib/index.js & node ./lib/test.js" + "test": "tsc --p ./tsconfig.json && node ./lib/index.js && node ./lib/test.js" }, "repository": { "type": "git", From 8d0ab24514f187d005028c8bd77c0439bd36dfe6 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 11:02:53 -0800 Subject: [PATCH 74/93] Normalize line ending before comparing baselines to output --- src/test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test.ts b/src/test.ts index cb0c30af7..f66aba914 100644 --- a/src/test.ts +++ b/src/test.ts @@ -7,10 +7,14 @@ const baselineFolder = path.join(__SOURCE_DIRECTORY__, "../", "baselines"); const outputFolder = path.join(__SOURCE_DIRECTORY__, "../", "generated"); const tscPath = path.join(__SOURCE_DIRECTORY__, "../", "node_modules", "typescript", "lib", "tsc.js"); +function normalizeLineEndings(text: string): string { + return text.replace(/\r\n?/g, "\n"); +} + function compareToBaselines() { for (const file of fs.readdirSync(baselineFolder)) { - const baseline = fs.readFileSync(path.join(baselineFolder, file)).toString().replace(/\r\n/, "\n"); - const generated = fs.readFileSync(path.join(outputFolder, file)).toString().replace(/\r\n/, "\n"); + const baseline = normalizeLineEndings(fs.readFileSync(path.join(baselineFolder, file)).toString()); + const generated = normalizeLineEndings(fs.readFileSync(path.join(outputFolder, file)).toString()); if (baseline !== generated) { console.error(`Test failed: '${file}' is different from baseline file.`); return false; From 98f7901244a7d7872973ef30ae49cd67549ff31c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:16:26 -0800 Subject: [PATCH 75/93] Make `DataTransferItem.webkitGetAsEntry` return `any` --- baselines/dom.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index bdf6744e6..13f9894ba 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -3328,7 +3328,7 @@ interface DataTransferItem { readonly type: string; getAsFile(): File | null; getAsString(_callback: FunctionStringCallback | null): void; - webkitGetAsEntry(): WebKitEntry | null; + webkitGetAsEntry(): any; } declare var DataTransferItem: { diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index d32bb6802..87f09c22f 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1152,6 +1152,19 @@ "[name: number]: DataTransferItem" ] }, + "DataTransferItem":{ + "name": "DataTransferItem", + "methods": { + "method": { + "webkitGetAsEntry": { + "name": "webkitGetAsEntry", + "override-signatures": [ + "webkitGetAsEntry(): any" + ] + } + } + } + }, "StorageEvent": { "name": "StorageEvent", "constructor": { From 49902389b5f698a9008de5b85ada5bb6a1bf0c8c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:18:54 -0800 Subject: [PATCH 76/93] Add deprecated property `KeyboardEvent.char` --- baselines/dom.generated.d.ts | 2 ++ inputfiles/overridingTypes.json | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 13f9894ba..84d2d0ce4 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -8420,6 +8420,8 @@ declare var IntersectionObserverEntry: { interface KeyboardEvent extends UIEvent { readonly altKey: boolean; /** @deprecated */ + char: string; + /** @deprecated */ readonly charCode: number; readonly code: string; readonly ctrlKey: boolean; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 87f09c22f..a00475503 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1789,6 +1789,18 @@ } } } + }, + "KeyboardEvent": { + "name": "KeyboardEvent", + "properties": { + "property": { + "char": { + "name": "char", + "override-type": "string", + "deprecated": 1 + } + } + } } } }, From a9a2b3613c421fab25ab89b6799bd42f1a188ade Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:31:06 -0800 Subject: [PATCH 77/93] Add previouslly present typedefs for back compat --- baselines/dom.generated.d.ts | 32 ++++++++ baselines/webworker.generated.d.ts | 22 +++++ inputfiles/addedTypes.json | 128 +++++++++++++++++++++++++++++ inputfiles/knownWorkerTypes.json | 9 -- 4 files changed, 182 insertions(+), 9 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 84d2d0ce4..a80995d53 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -15925,6 +15925,38 @@ type OrientationLockType = "any" | "natural" | "portrait" | "landscape" | "portr type IDBValidKey = number | string | Date | IDBArrayKey; type AlgorithmIdentifier = string | Algorithm; type MutationRecordType = "attributes" | "characterData" | "childList"; +type AAGUID = string; +type BodyInit = any; +type ByteString = string; +type ConstrainBoolean = boolean | ConstrainBooleanParameters; +type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; +type ConstrainDouble = number | ConstrainDoubleRange; +type ConstrainLong = number | ConstrainLongRange; +type CryptoOperationData = ArrayBufferView; +type GLbitfield = number; +type GLboolean = boolean; +type GLbyte = number; +type GLclampf = number; +type GLenum = number; +type GLfloat = number; +type GLint = number; +type GLintptr = number; +type GLshort = number; +type GLsizei = number; +type GLsizeiptr = number; +type GLubyte = number; +type GLuint = number; +type GLushort = number; +type IDBKeyPath = string; +type MSInboundPayload = MSVideoRecvPayload | MSAudioRecvPayload; +type MSLocalClientEvent = MSLocalClientEventBase | MSAudioLocalClientEvent; +type MSOutboundPayload = MSVideoSendPayload | MSAudioSendPayload; +type RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete; +type RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport; +type RequestInfo = Request | string; +type USVString = string; +type payloadtype = number; +type BufferSource = ArrayBuffer | ArrayBufferView; type AppendMode = "segments" | "sequence"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 7c3fa933b..2ad1038e4 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -1721,6 +1721,28 @@ declare function removeEventListener(type: string, listener: EventListenerOrEven type FormDataEntryValue = string | File; type HeadersInit = Headers | string[][] | { [key: string]: string }; type AlgorithmIdentifier = string | Algorithm; +type AAGUID = string; +type BodyInit = any; +type ByteString = string; +type CryptoOperationData = ArrayBufferView; +type GLbitfield = number; +type GLboolean = boolean; +type GLbyte = number; +type GLclampf = number; +type GLenum = number; +type GLfloat = number; +type GLint = number; +type GLintptr = number; +type GLshort = number; +type GLsizei = number; +type GLsizeiptr = number; +type GLubyte = number; +type GLuint = number; +type GLushort = number; +type IDBKeyPath = string; +type RequestInfo = Request | string; +type USVString = string; +type payloadtype = number; type BinaryType = "blob" | "arraybuffer"; type ClientType = "window" | "worker" | "sharedworker" | "all"; type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique"; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 5e045e30a..8ce4d40e9 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2864,6 +2864,134 @@ { "new-type": "MutationRecordType", "override-type": "\"attributes\" | \"characterData\" | \"childList\"" + }, + { + "new-type": "AAGUID", + "override-type": "string" + }, + { + "new-type": "BodyInit", + "override-type": "any" + }, + { + "new-type": "ByteString", + "override-type": "string" + }, + { + "new-type": "ConstrainBoolean", + "override-type": "boolean | ConstrainBooleanParameters" + }, + { + "new-type": "ConstrainDOMString", + "override-type": "string | string[] | ConstrainDOMStringParameters" + }, + { + "new-type": "ConstrainDouble", + "override-type": "number | ConstrainDoubleRange" + }, + { + "new-type": "ConstrainLong", + "override-type": "number | ConstrainLongRange" + }, + { + "new-type": "CryptoOperationData", + "override-type": "ArrayBufferView" + }, + { + "new-type": "GLbitfield", + "override-type": "number" + }, + { + "new-type": "GLboolean", + "override-type": "boolean" + }, + { + "new-type": "GLbyte", + "override-type": "number" + }, + { + "new-type": "GLclampf", + "override-type": "number" + }, + { + "new-type": "GLenum", + "override-type": "number" + }, + { + "new-type": "GLfloat", + "override-type": "number" + }, + { + "new-type": "GLint", + "override-type": "number" + }, + { + "new-type": "GLintptr", + "override-type": "number" + }, + { + "new-type": "GLshort", + "override-type": "number" + }, + { + "new-type": "GLsizei", + "override-type": "number" + }, + { + "new-type": "GLsizeiptr", + "override-type": "number" + }, + { + "new-type": "GLubyte", + "override-type": "number" + }, + { + "new-type": "GLuint", + "override-type": "number" + }, + { + "new-type": "GLushort", + "override-type": "number" + }, + { + "new-type": "IDBKeyPath", + "override-type": "string" + }, + { + "new-type": "MSInboundPayload", + "override-type": "MSVideoRecvPayload | MSAudioRecvPayload" + }, + { + "new-type": "MSLocalClientEvent", + "override-type": "MSLocalClientEventBase | MSAudioLocalClientEvent" + }, + { + "new-type": "MSOutboundPayload", + "override-type": "MSVideoSendPayload | MSAudioSendPayload" + }, + { + "new-type": "RTCIceGatherCandidate", + "override-type": "RTCIceCandidateDictionary | RTCIceCandidateComplete" + }, + { + "new-type": "RTCTransport", + "override-type": "RTCDtlsTransport | RTCSrtpSdesTransport" + }, + { + "new-type": "RequestInfo", + "override-type": "Request | string" + }, + { + "new-type": "USVString", + "override-type": "string" + }, + { + "new-type": "payloadtype", + "override-type": "number" + }, + { + "new-type": "BufferSource", + "override-type": "ArrayBuffer | ArrayBufferView" } ] } diff --git a/inputfiles/knownWorkerTypes.json b/inputfiles/knownWorkerTypes.json index e849fae79..5fea173d6 100644 --- a/inputfiles/knownWorkerTypes.json +++ b/inputfiles/knownWorkerTypes.json @@ -118,10 +118,6 @@ "AlgorithmIdentifier", "BodyInit", "ByteString", - "ConstrainBoolean", - "ConstrainDOMString", - "ConstrainDouble", - "ConstrainLong", "CryptoOperationData", "GLbitfield", "GLboolean", @@ -143,11 +139,6 @@ "KeyFormat", "KeyType", "KeyUsage", - "MSInboundPayload", - "MSLocalClientEvent", - "MSOutboundPayload", - "RTCIceGatherCandidate", - "RTCTransport", "RequestInfo", "USVString", "payloadtype", From 46961643294eb404bd719dac4ec15cb49dcec599 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:35:16 -0800 Subject: [PATCH 78/93] Remove space after this types --- baselines/dom.generated.d.ts | 864 ++++++++++++++--------------- baselines/webworker.generated.d.ts | 84 +-- src/index.ts | 2 +- 3 files changed, 475 insertions(+), 475 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a80995d53..2997cf38b 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -1617,7 +1617,7 @@ interface AbortSignalEventMap { interface AbortSignal extends EventTarget { readonly aborted: boolean; - onabort: ((this: AbortSignal , ev: ProgressEvent) => any) | null; + onabort: ((this: AbortSignal, ev: ProgressEvent) => any) | null; addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -1634,7 +1634,7 @@ interface AbstractWorkerEventMap { } interface AbstractWorker { - onerror: ((this: AbstractWorker , ev: ErrorEvent) => any) | null; + onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -1755,14 +1755,14 @@ interface ApplicationCacheEventMap { } interface ApplicationCache extends EventTarget { - oncached: ((this: ApplicationCache , ev: Event) => any) | null; - onchecking: ((this: ApplicationCache , ev: Event) => any) | null; - ondownloading: ((this: ApplicationCache , ev: Event) => any) | null; - onerror: ((this: ApplicationCache , ev: Event) => any) | null; - onnoupdate: ((this: ApplicationCache , ev: Event) => any) | null; - onobsolete: ((this: ApplicationCache , ev: Event) => any) | null; - onprogress: ((this: ApplicationCache , ev: ProgressEvent) => any) | null; - onupdateready: ((this: ApplicationCache , ev: Event) => any) | null; + oncached: ((this: ApplicationCache, ev: Event) => any) | null; + onchecking: ((this: ApplicationCache, ev: Event) => any) | null; + ondownloading: ((this: ApplicationCache, ev: Event) => any) | null; + onerror: ((this: ApplicationCache, ev: Event) => any) | null; + onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null; + onobsolete: ((this: ApplicationCache, ev: Event) => any) | null; + onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null; + onupdateready: ((this: ApplicationCache, ev: Event) => any) | null; readonly status: number; abort(): void; swapCache(): void; @@ -1832,7 +1832,7 @@ interface AudioBufferSourceNode extends AudioNode { loop: boolean; loopEnd: number; loopStart: number; - onended: ((this: AudioBufferSourceNode , ev: Event) => any) | null; + onended: ((this: AudioBufferSourceNode, ev: Event) => any) | null; readonly playbackRate: AudioParam; start(when?: number, offset?: number, duration?: number): void; stop(when?: number): void; @@ -1855,7 +1855,7 @@ interface AudioContextBase extends EventTarget { readonly currentTime: number; readonly destination: AudioDestinationNode; readonly listener: AudioListener; - onstatechange: ((this: AudioContext , ev: Event) => any) | null; + onstatechange: ((this: AudioContext, ev: Event) => any) | null; readonly sampleRate: number; readonly state: AudioContextState; close(): Promise; @@ -1994,9 +1994,9 @@ interface AudioTrackListEventMap { interface AudioTrackList extends EventTarget { readonly length: number; - onaddtrack: ((this: AudioTrackList , ev: TrackEvent) => any) | null; - onchange: ((this: AudioTrackList , ev: Event) => any) | null; - onremovetrack: ((this: AudioTrackList , ev: TrackEvent) => any) | null; + onaddtrack: ((this: AudioTrackList, ev: TrackEvent) => any) | null; + onchange: ((this: AudioTrackList, ev: Event) => any) | null; + onremovetrack: ((this: AudioTrackList, ev: TrackEvent) => any) | null; getTrackById(id: string): AudioTrack | null; item(index: number): AudioTrack; addEventListener(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -3659,311 +3659,311 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent * Fires when the user aborts the download. * @param ev The event. */ - onabort: ((this: Document , ev: UIEvent) => any) | null; + onabort: ((this: Document, ev: UIEvent) => any) | null; /** * Fires when the object is set as the active element. * @param ev The event. */ - onactivate: ((this: Document , ev: Event) => any) | null; + onactivate: ((this: Document, ev: Event) => any) | null; /** * Fires immediately before the object is set as the active element. * @param ev The event. */ - onbeforeactivate: ((this: Document , ev: Event) => any) | null; + onbeforeactivate: ((this: Document, ev: Event) => any) | null; /** * Fires immediately before the activeElement is changed from the current object to another object in the parent document. * @param ev The event. */ - onbeforedeactivate: ((this: Document , ev: Event) => any) | null; + onbeforedeactivate: ((this: Document, ev: Event) => any) | null; /** * Fires when the object loses the input focus. * @param ev The focus event. */ - onblur: ((this: Document , ev: FocusEvent) => any) | null; + onblur: ((this: Document, ev: FocusEvent) => any) | null; /** * Occurs when playback is possible, but would require further buffering. * @param ev The event. */ - oncanplay: ((this: Document , ev: Event) => any) | null; - oncanplaythrough: ((this: Document , ev: Event) => any) | null; + oncanplay: ((this: Document, ev: Event) => any) | null; + oncanplaythrough: ((this: Document, ev: Event) => any) | null; /** * Fires when the contents of the object or selection have changed. * @param ev The event. */ - onchange: ((this: Document , ev: Event) => any) | null; + onchange: ((this: Document, ev: Event) => any) | null; /** * Fires when the user clicks the left mouse button on the object * @param ev The mouse event. */ - onclick: ((this: Document , ev: MouseEvent) => any) | null; + onclick: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @param ev The mouse event. */ - oncontextmenu: ((this: Document , ev: PointerEvent) => any) | null; + oncontextmenu: ((this: Document, ev: PointerEvent) => any) | null; /** * Fires when the user double-clicks the object. * @param ev The mouse event. */ - ondblclick: ((this: Document , ev: MouseEvent) => any) | null; + ondblclick: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the activeElement is changed from the current object to another object in the parent document. * @param ev The UI Event */ - ondeactivate: ((this: Document , ev: Event) => any) | null; + ondeactivate: ((this: Document, ev: Event) => any) | null; /** * Fires on the source object continuously during a drag operation. * @param ev The event. */ - ondrag: ((this: Document , ev: DragEvent) => any) | null; + ondrag: ((this: Document, ev: DragEvent) => any) | null; /** * Fires on the source object when the user releases the mouse at the close of a drag operation. * @param ev The event. */ - ondragend: ((this: Document , ev: DragEvent) => any) | null; + ondragend: ((this: Document, ev: DragEvent) => any) | null; /** * Fires on the target element when the user drags the object to a valid drop target. * @param ev The drag event. */ - ondragenter: ((this: Document , ev: DragEvent) => any) | null; + ondragenter: ((this: Document, ev: DragEvent) => any) | null; /** * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. * @param ev The drag event. */ - ondragleave: ((this: Document , ev: DragEvent) => any) | null; + ondragleave: ((this: Document, ev: DragEvent) => any) | null; /** * Fires on the target element continuously while the user drags the object over a valid drop target. * @param ev The event. */ - ondragover: ((this: Document , ev: DragEvent) => any) | null; + ondragover: ((this: Document, ev: DragEvent) => any) | null; /** * Fires on the source object when the user starts to drag a text selection or selected object. * @param ev The event. */ - ondragstart: ((this: Document , ev: DragEvent) => any) | null; - ondrop: ((this: Document , ev: DragEvent) => any) | null; + ondragstart: ((this: Document, ev: DragEvent) => any) | null; + ondrop: ((this: Document, ev: DragEvent) => any) | null; /** * Occurs when the duration attribute is updated. * @param ev The event. */ - ondurationchange: ((this: Document , ev: Event) => any) | null; + ondurationchange: ((this: Document, ev: Event) => any) | null; /** * Occurs when the media element is reset to its initial state. * @param ev The event. */ - onemptied: ((this: Document , ev: Event) => any) | null; + onemptied: ((this: Document, ev: Event) => any) | null; /** * Occurs when the end of playback is reached. * @param ev The event */ - onended: ((this: Document , ev: Event) => any) | null; + onended: ((this: Document, ev: Event) => any) | null; /** * Fires when an error occurs during object loading. * @param ev The event. */ - onerror: ((this: Document , ev: ErrorEvent) => any) | null; + onerror: ((this: Document, ev: ErrorEvent) => any) | null; /** * Fires when the object receives focus. * @param ev The event. */ - onfocus: ((this: Document , ev: FocusEvent) => any) | null; - onfullscreenchange: ((this: Document , ev: Event) => any) | null; - onfullscreenerror: ((this: Document , ev: Event) => any) | null; - oninput: ((this: Document , ev: Event) => any) | null; - oninvalid: ((this: Document , ev: Event) => any) | null; + onfocus: ((this: Document, ev: FocusEvent) => any) | null; + onfullscreenchange: ((this: Document, ev: Event) => any) | null; + onfullscreenerror: ((this: Document, ev: Event) => any) | null; + oninput: ((this: Document, ev: Event) => any) | null; + oninvalid: ((this: Document, ev: Event) => any) | null; /** * Fires when the user presses a key. * @param ev The keyboard event */ - onkeydown: ((this: Document , ev: KeyboardEvent) => any) | null; + onkeydown: ((this: Document, ev: KeyboardEvent) => any) | null; /** * Fires when the user presses an alphanumeric key. * @param ev The event. */ - onkeypress: ((this: Document , ev: KeyboardEvent) => any) | null; + onkeypress: ((this: Document, ev: KeyboardEvent) => any) | null; /** * Fires when the user releases a key. * @param ev The keyboard event */ - onkeyup: ((this: Document , ev: KeyboardEvent) => any) | null; + onkeyup: ((this: Document, ev: KeyboardEvent) => any) | null; /** * Fires immediately after the browser loads the object. * @param ev The event. */ - onload: ((this: Document , ev: Event) => any) | null; + onload: ((this: Document, ev: Event) => any) | null; /** * Occurs when media data is loaded at the current playback position. * @param ev The event. */ - onloadeddata: ((this: Document , ev: Event) => any) | null; + onloadeddata: ((this: Document, ev: Event) => any) | null; /** * Occurs when the duration and dimensions of the media have been determined. * @param ev The event. */ - onloadedmetadata: ((this: Document , ev: Event) => any) | null; + onloadedmetadata: ((this: Document, ev: Event) => any) | null; /** * Occurs when Internet Explorer begins looking for media data. * @param ev The event. */ - onloadstart: ((this: Document , ev: Event) => any) | null; + onloadstart: ((this: Document, ev: Event) => any) | null; /** * Fires when the user clicks the object with either mouse button. * @param ev The mouse event. */ - onmousedown: ((this: Document , ev: MouseEvent) => any) | null; + onmousedown: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse over the object. * @param ev The mouse event. */ - onmousemove: ((this: Document , ev: MouseEvent) => any) | null; + onmousemove: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer outside the boundaries of the object. * @param ev The mouse event. */ - onmouseout: ((this: Document , ev: MouseEvent) => any) | null; + onmouseout: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer into the object. * @param ev The mouse event. */ - onmouseover: ((this: Document , ev: MouseEvent) => any) | null; + onmouseover: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the user releases a mouse button while the mouse is over the object. * @param ev The mouse event. */ - onmouseup: ((this: Document , ev: MouseEvent) => any) | null; + onmouseup: ((this: Document, ev: MouseEvent) => any) | null; /** * Fires when the wheel button is rotated. * @param ev The mouse event */ - onmousewheel: ((this: Document , ev: WheelEvent) => any) | null; - onmscontentzoom: ((this: Document , ev: Event) => any) | null; - onmsgesturechange: ((this: Document , ev: Event) => any) | null; - onmsgesturedoubletap: ((this: Document , ev: Event) => any) | null; - onmsgestureend: ((this: Document , ev: Event) => any) | null; - onmsgesturehold: ((this: Document , ev: Event) => any) | null; - onmsgesturestart: ((this: Document , ev: Event) => any) | null; - onmsgesturetap: ((this: Document , ev: Event) => any) | null; - onmsinertiastart: ((this: Document , ev: Event) => any) | null; - onmsmanipulationstatechanged: ((this: Document , ev: Event) => any) | null; - onmspointercancel: ((this: Document , ev: Event) => any) | null; - onmspointerdown: ((this: Document , ev: Event) => any) | null; - onmspointerenter: ((this: Document , ev: Event) => any) | null; - onmspointerleave: ((this: Document , ev: Event) => any) | null; - onmspointermove: ((this: Document , ev: Event) => any) | null; - onmspointerout: ((this: Document , ev: Event) => any) | null; - onmspointerover: ((this: Document , ev: Event) => any) | null; - onmspointerup: ((this: Document , ev: Event) => any) | null; + onmousewheel: ((this: Document, ev: WheelEvent) => any) | null; + onmscontentzoom: ((this: Document, ev: Event) => any) | null; + onmsgesturechange: ((this: Document, ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Document, ev: Event) => any) | null; + onmsgestureend: ((this: Document, ev: Event) => any) | null; + onmsgesturehold: ((this: Document, ev: Event) => any) | null; + onmsgesturestart: ((this: Document, ev: Event) => any) | null; + onmsgesturetap: ((this: Document, ev: Event) => any) | null; + onmsinertiastart: ((this: Document, ev: Event) => any) | null; + onmsmanipulationstatechanged: ((this: Document, ev: Event) => any) | null; + onmspointercancel: ((this: Document, ev: Event) => any) | null; + onmspointerdown: ((this: Document, ev: Event) => any) | null; + onmspointerenter: ((this: Document, ev: Event) => any) | null; + onmspointerleave: ((this: Document, ev: Event) => any) | null; + onmspointermove: ((this: Document, ev: Event) => any) | null; + onmspointerout: ((this: Document, ev: Event) => any) | null; + onmspointerover: ((this: Document, ev: Event) => any) | null; + onmspointerup: ((this: Document, ev: Event) => any) | null; /** * Occurs when an item is removed from a Jump List of a webpage running in Site Mode. * @param ev The event. */ - onmssitemodejumplistitemremoved: ((this: Document , ev: Event) => any) | null; + onmssitemodejumplistitemremoved: ((this: Document, ev: Event) => any) | null; /** * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode. * @param ev The event. */ - onmsthumbnailclick: ((this: Document , ev: Event) => any) | null; + onmsthumbnailclick: ((this: Document, ev: Event) => any) | null; /** * Occurs when playback is paused. * @param ev The event. */ - onpause: ((this: Document , ev: Event) => any) | null; + onpause: ((this: Document, ev: Event) => any) | null; /** * Occurs when the play method is requested. * @param ev The event. */ - onplay: ((this: Document , ev: Event) => any) | null; + onplay: ((this: Document, ev: Event) => any) | null; /** * Occurs when the audio or video has started playing. * @param ev The event. */ - onplaying: ((this: Document , ev: Event) => any) | null; - onpointerlockchange: ((this: Document , ev: Event) => any) | null; - onpointerlockerror: ((this: Document , ev: Event) => any) | null; + onplaying: ((this: Document, ev: Event) => any) | null; + onpointerlockchange: ((this: Document, ev: Event) => any) | null; + onpointerlockerror: ((this: Document, ev: Event) => any) | null; /** * Occurs to indicate progress while downloading media data. * @param ev The event. */ - onprogress: ((this: Document , ev: ProgressEvent) => any) | null; + onprogress: ((this: Document, ev: ProgressEvent) => any) | null; /** * Occurs when the playback rate is increased or decreased. * @param ev The event. */ - onratechange: ((this: Document , ev: Event) => any) | null; + onratechange: ((this: Document, ev: Event) => any) | null; /** * Fires when the state of the object has changed. * @param ev The event */ - onreadystatechange: ((this: Document , ev: Event) => any) | null; + onreadystatechange: ((this: Document, ev: Event) => any) | null; /** * Fires when the user resets a form. * @param ev The event. */ - onreset: ((this: Document , ev: Event) => any) | null; + onreset: ((this: Document, ev: Event) => any) | null; /** * Fires when the user repositions the scroll box in the scroll bar on the object. * @param ev The event. */ - onscroll: ((this: Document , ev: UIEvent) => any) | null; + onscroll: ((this: Document, ev: UIEvent) => any) | null; /** * Occurs when the seek operation ends. * @param ev The event. */ - onseeked: ((this: Document , ev: Event) => any) | null; + onseeked: ((this: Document, ev: Event) => any) | null; /** * Occurs when the current playback position is moved. * @param ev The event. */ - onseeking: ((this: Document , ev: Event) => any) | null; + onseeking: ((this: Document, ev: Event) => any) | null; /** * Fires when the current selection changes. * @param ev The event. */ - onselect: ((this: Document , ev: UIEvent) => any) | null; + onselect: ((this: Document, ev: UIEvent) => any) | null; /** * Fires when the selection state of a document changes. * @param ev The event. */ - onselectionchange: ((this: Document , ev: Event) => any) | null; - onselectstart: ((this: Document , ev: Event) => any) | null; + onselectionchange: ((this: Document, ev: Event) => any) | null; + onselectstart: ((this: Document, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. */ - onstalled: ((this: Document , ev: Event) => any) | null; + onstalled: ((this: Document, ev: Event) => any) | null; /** * Fires when the user clicks the Stop button or leaves the Web page. * @param ev The event. */ - onstop: ((this: Document , ev: Event) => any) | null; - onsubmit: ((this: Document , ev: Event) => any) | null; + onstop: ((this: Document, ev: Event) => any) | null; + onsubmit: ((this: Document, ev: Event) => any) | null; /** * Occurs if the load operation has been intentionally halted. * @param ev The event. */ - onsuspend: ((this: Document , ev: Event) => any) | null; + onsuspend: ((this: Document, ev: Event) => any) | null; /** * Occurs to indicate the current playback position. * @param ev The event. */ - ontimeupdate: ((this: Document , ev: Event) => any) | null; - ontouchcancel: ((this: Document , ev: Event) => any) | null; - ontouchend: ((this: Document , ev: Event) => any) | null; - ontouchmove: ((this: Document , ev: Event) => any) | null; - ontouchstart: ((this: Document , ev: Event) => any) | null; + ontimeupdate: ((this: Document, ev: Event) => any) | null; + ontouchcancel: ((this: Document, ev: Event) => any) | null; + ontouchend: ((this: Document, ev: Event) => any) | null; + ontouchmove: ((this: Document, ev: Event) => any) | null; + ontouchstart: ((this: Document, ev: Event) => any) | null; onvisibilitychange: (this: Document, ev: Event) => any; /** * Occurs when the volume is changed, or playback is muted or unmuted. * @param ev The event. */ - onvolumechange: ((this: Document , ev: Event) => any) | null; + onvolumechange: ((this: Document, ev: Event) => any) | null; /** * Occurs when playback stops because the next frame of a video resource is not available. * @param ev The event. */ - onwaiting: ((this: Document , ev: Event) => any) | null; - onwebkitfullscreenchange: ((this: Document , ev: Event) => any) | null; - onwebkitfullscreenerror: ((this: Document , ev: Event) => any) | null; + onwaiting: ((this: Document, ev: Event) => any) | null; + onwebkitfullscreenchange: ((this: Document, ev: Event) => any) | null; + onwebkitfullscreenerror: ((this: Document, ev: Event) => any) | null; readonly plugins: HTMLCollectionOf; readonly pointerLockElement: Element; /** @@ -4450,33 +4450,33 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, ParentNod innerHTML: string; msContentZoomFactor: number; readonly msRegionOverflow: string; - onariarequest: ((this: Element , ev: Event) => any) | null; - oncommand: ((this: Element , ev: Event) => any) | null; - ongotpointercapture: ((this: Element , ev: PointerEvent) => any) | null; - onlostpointercapture: ((this: Element , ev: PointerEvent) => any) | null; - onmsgesturechange: ((this: Element , ev: Event) => any) | null; - onmsgesturedoubletap: ((this: Element , ev: Event) => any) | null; - onmsgestureend: ((this: Element , ev: Event) => any) | null; - onmsgesturehold: ((this: Element , ev: Event) => any) | null; - onmsgesturestart: ((this: Element , ev: Event) => any) | null; - onmsgesturetap: ((this: Element , ev: Event) => any) | null; - onmsgotpointercapture: ((this: Element , ev: Event) => any) | null; - onmsinertiastart: ((this: Element , ev: Event) => any) | null; - onmslostpointercapture: ((this: Element , ev: Event) => any) | null; - onmspointercancel: ((this: Element , ev: Event) => any) | null; - onmspointerdown: ((this: Element , ev: Event) => any) | null; - onmspointerenter: ((this: Element , ev: Event) => any) | null; - onmspointerleave: ((this: Element , ev: Event) => any) | null; - onmspointermove: ((this: Element , ev: Event) => any) | null; - onmspointerout: ((this: Element , ev: Event) => any) | null; - onmspointerover: ((this: Element , ev: Event) => any) | null; - onmspointerup: ((this: Element , ev: Event) => any) | null; - ontouchcancel: ((this: Element , ev: Event) => any) | null; - ontouchend: ((this: Element , ev: Event) => any) | null; - ontouchmove: ((this: Element , ev: Event) => any) | null; - ontouchstart: ((this: Element , ev: Event) => any) | null; - onwebkitfullscreenchange: ((this: Element , ev: Event) => any) | null; - onwebkitfullscreenerror: ((this: Element , ev: Event) => any) | null; + onariarequest: ((this: Element, ev: Event) => any) | null; + oncommand: ((this: Element, ev: Event) => any) | null; + ongotpointercapture: ((this: Element, ev: PointerEvent) => any) | null; + onlostpointercapture: ((this: Element, ev: PointerEvent) => any) | null; + onmsgesturechange: ((this: Element, ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Element, ev: Event) => any) | null; + onmsgestureend: ((this: Element, ev: Event) => any) | null; + onmsgesturehold: ((this: Element, ev: Event) => any) | null; + onmsgesturestart: ((this: Element, ev: Event) => any) | null; + onmsgesturetap: ((this: Element, ev: Event) => any) | null; + onmsgotpointercapture: ((this: Element, ev: Event) => any) | null; + onmsinertiastart: ((this: Element, ev: Event) => any) | null; + onmslostpointercapture: ((this: Element, ev: Event) => any) | null; + onmspointercancel: ((this: Element, ev: Event) => any) | null; + onmspointerdown: ((this: Element, ev: Event) => any) | null; + onmspointerenter: ((this: Element, ev: Event) => any) | null; + onmspointerleave: ((this: Element, ev: Event) => any) | null; + onmspointermove: ((this: Element, ev: Event) => any) | null; + onmspointerout: ((this: Element, ev: Event) => any) | null; + onmspointerover: ((this: Element, ev: Event) => any) | null; + onmspointerup: ((this: Element, ev: Event) => any) | null; + ontouchcancel: ((this: Element, ev: Event) => any) | null; + ontouchend: ((this: Element, ev: Event) => any) | null; + ontouchmove: ((this: Element, ev: Event) => any) | null; + ontouchstart: ((this: Element, ev: Event) => any) | null; + onwebkitfullscreenchange: ((this: Element, ev: Event) => any) | null; + onwebkitfullscreenerror: ((this: Element, ev: Event) => any) | null; outerHTML: string; readonly prefix: string | null; readonly scrollHeight: number; @@ -4717,12 +4717,12 @@ interface FileReaderEventMap { interface FileReader extends EventTarget { readonly error: DOMException | null; - onabort: ((this: FileReader , ev: ProgressEvent) => any) | null; - onerror: ((this: FileReader , ev: ProgressEvent) => any) | null; - onload: ((this: FileReader , ev: ProgressEvent) => any) | null; - onloadend: ((this: FileReader , ev: ProgressEvent) => any) | null; - onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; - onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; + onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; + onload: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: any; abort(): void; @@ -4888,15 +4888,15 @@ interface GlobalEventHandlersEventMap { } interface GlobalEventHandlers { - onpointercancel: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerdown: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerenter: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerleave: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointermove: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerout: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerover: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onpointerup: ((this: GlobalEventHandlers , ev: PointerEvent) => any) | null; - onwheel: ((this: GlobalEventHandlers , ev: WheelEvent) => any) | null; + onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -5165,8 +5165,8 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { link: string; /** @deprecated */ noWrap: boolean; - onorientationchange: ((this: HTMLBodyElement , ev: Event) => any) | null; - onresize: ((this: HTMLBodyElement , ev: UIEvent) => any) | null; + onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null; + onresize: ((this: HTMLBodyElement, ev: UIEvent) => any) | null; /** @deprecated */ text: string; /** @deprecated */ @@ -5526,73 +5526,73 @@ interface HTMLElement extends Element, ElementCSSInlineStyle { readonly offsetParent: Element; readonly offsetTop: number; readonly offsetWidth: number; - onabort: ((this: HTMLElement , ev: UIEvent) => any) | null; - onactivate: ((this: HTMLElement , ev: Event) => any) | null; - onbeforeactivate: ((this: HTMLElement , ev: Event) => any) | null; - onbeforecopy: ((this: HTMLElement , ev: Event) => any) | null; - onbeforecut: ((this: HTMLElement , ev: Event) => any) | null; - onbeforedeactivate: ((this: HTMLElement , ev: Event) => any) | null; - onbeforepaste: ((this: HTMLElement , ev: Event) => any) | null; - onblur: ((this: HTMLElement , ev: FocusEvent) => any) | null; - oncanplay: ((this: HTMLElement , ev: Event) => any) | null; - oncanplaythrough: ((this: HTMLElement , ev: Event) => any) | null; - onchange: ((this: HTMLElement , ev: Event) => any) | null; - onclick: ((this: HTMLElement , ev: MouseEvent) => any) | null; - oncontextmenu: ((this: HTMLElement , ev: PointerEvent) => any) | null; - oncopy: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; - oncuechange: ((this: HTMLElement , ev: Event) => any) | null; - oncut: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; - ondblclick: ((this: HTMLElement , ev: MouseEvent) => any) | null; - ondeactivate: ((this: HTMLElement , ev: Event) => any) | null; - ondrag: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondragend: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondragenter: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondragleave: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondragover: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondragstart: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondrop: ((this: HTMLElement , ev: DragEvent) => any) | null; - ondurationchange: ((this: HTMLElement , ev: Event) => any) | null; - onemptied: ((this: HTMLElement , ev: Event) => any) | null; - onended: ((this: HTMLElement , ev: Event) => any) | null; - onerror: ((this: HTMLElement , ev: ErrorEvent) => any) | null; - onfocus: ((this: HTMLElement , ev: FocusEvent) => any) | null; - oninput: ((this: HTMLElement , ev: Event) => any) | null; - oninvalid: ((this: HTMLElement , ev: Event) => any) | null; - onkeydown: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; - onkeypress: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; - onkeyup: ((this: HTMLElement , ev: KeyboardEvent) => any) | null; - onload: ((this: HTMLElement , ev: Event) => any) | null; - onloadeddata: ((this: HTMLElement , ev: Event) => any) | null; - onloadedmetadata: ((this: HTMLElement , ev: Event) => any) | null; - onloadstart: ((this: HTMLElement , ev: Event) => any) | null; - onmousedown: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmouseenter: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmouseleave: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmousemove: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmouseout: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmouseover: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmouseup: ((this: HTMLElement , ev: MouseEvent) => any) | null; - onmousewheel: ((this: HTMLElement , ev: WheelEvent) => any) | null; - onmscontentzoom: ((this: HTMLElement , ev: Event) => any) | null; - onmsmanipulationstatechanged: ((this: HTMLElement , ev: Event) => any) | null; - onpaste: ((this: HTMLElement , ev: ClipboardEvent) => any) | null; - onpause: ((this: HTMLElement , ev: Event) => any) | null; - onplay: ((this: HTMLElement , ev: Event) => any) | null; - onplaying: ((this: HTMLElement , ev: Event) => any) | null; - onprogress: ((this: HTMLElement , ev: ProgressEvent) => any) | null; - onratechange: ((this: HTMLElement , ev: Event) => any) | null; - onreset: ((this: HTMLElement , ev: Event) => any) | null; - onscroll: ((this: HTMLElement , ev: UIEvent) => any) | null; - onseeked: ((this: HTMLElement , ev: Event) => any) | null; - onseeking: ((this: HTMLElement , ev: Event) => any) | null; - onselect: ((this: HTMLElement , ev: UIEvent) => any) | null; - onselectstart: ((this: HTMLElement , ev: Event) => any) | null; - onstalled: ((this: HTMLElement , ev: Event) => any) | null; - onsubmit: ((this: HTMLElement , ev: Event) => any) | null; - onsuspend: ((this: HTMLElement , ev: Event) => any) | null; - ontimeupdate: ((this: HTMLElement , ev: Event) => any) | null; - onvolumechange: ((this: HTMLElement , ev: Event) => any) | null; - onwaiting: ((this: HTMLElement , ev: Event) => any) | null; + onabort: ((this: HTMLElement, ev: UIEvent) => any) | null; + onactivate: ((this: HTMLElement, ev: Event) => any) | null; + onbeforeactivate: ((this: HTMLElement, ev: Event) => any) | null; + onbeforecopy: ((this: HTMLElement, ev: Event) => any) | null; + onbeforecut: ((this: HTMLElement, ev: Event) => any) | null; + onbeforedeactivate: ((this: HTMLElement, ev: Event) => any) | null; + onbeforepaste: ((this: HTMLElement, ev: Event) => any) | null; + onblur: ((this: HTMLElement, ev: FocusEvent) => any) | null; + oncanplay: ((this: HTMLElement, ev: Event) => any) | null; + oncanplaythrough: ((this: HTMLElement, ev: Event) => any) | null; + onchange: ((this: HTMLElement, ev: Event) => any) | null; + onclick: ((this: HTMLElement, ev: MouseEvent) => any) | null; + oncontextmenu: ((this: HTMLElement, ev: PointerEvent) => any) | null; + oncopy: ((this: HTMLElement, ev: ClipboardEvent) => any) | null; + oncuechange: ((this: HTMLElement, ev: Event) => any) | null; + oncut: ((this: HTMLElement, ev: ClipboardEvent) => any) | null; + ondblclick: ((this: HTMLElement, ev: MouseEvent) => any) | null; + ondeactivate: ((this: HTMLElement, ev: Event) => any) | null; + ondrag: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondragend: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondragenter: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondragleave: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondragover: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondragstart: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondrop: ((this: HTMLElement, ev: DragEvent) => any) | null; + ondurationchange: ((this: HTMLElement, ev: Event) => any) | null; + onemptied: ((this: HTMLElement, ev: Event) => any) | null; + onended: ((this: HTMLElement, ev: Event) => any) | null; + onerror: ((this: HTMLElement, ev: ErrorEvent) => any) | null; + onfocus: ((this: HTMLElement, ev: FocusEvent) => any) | null; + oninput: ((this: HTMLElement, ev: Event) => any) | null; + oninvalid: ((this: HTMLElement, ev: Event) => any) | null; + onkeydown: ((this: HTMLElement, ev: KeyboardEvent) => any) | null; + onkeypress: ((this: HTMLElement, ev: KeyboardEvent) => any) | null; + onkeyup: ((this: HTMLElement, ev: KeyboardEvent) => any) | null; + onload: ((this: HTMLElement, ev: Event) => any) | null; + onloadeddata: ((this: HTMLElement, ev: Event) => any) | null; + onloadedmetadata: ((this: HTMLElement, ev: Event) => any) | null; + onloadstart: ((this: HTMLElement, ev: Event) => any) | null; + onmousedown: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmouseenter: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmouseleave: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmousemove: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmouseout: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmouseover: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmouseup: ((this: HTMLElement, ev: MouseEvent) => any) | null; + onmousewheel: ((this: HTMLElement, ev: WheelEvent) => any) | null; + onmscontentzoom: ((this: HTMLElement, ev: Event) => any) | null; + onmsmanipulationstatechanged: ((this: HTMLElement, ev: Event) => any) | null; + onpaste: ((this: HTMLElement, ev: ClipboardEvent) => any) | null; + onpause: ((this: HTMLElement, ev: Event) => any) | null; + onplay: ((this: HTMLElement, ev: Event) => any) | null; + onplaying: ((this: HTMLElement, ev: Event) => any) | null; + onprogress: ((this: HTMLElement, ev: ProgressEvent) => any) | null; + onratechange: ((this: HTMLElement, ev: Event) => any) | null; + onreset: ((this: HTMLElement, ev: Event) => any) | null; + onscroll: ((this: HTMLElement, ev: UIEvent) => any) | null; + onseeked: ((this: HTMLElement, ev: Event) => any) | null; + onseeking: ((this: HTMLElement, ev: Event) => any) | null; + onselect: ((this: HTMLElement, ev: UIEvent) => any) | null; + onselectstart: ((this: HTMLElement, ev: Event) => any) | null; + onstalled: ((this: HTMLElement, ev: Event) => any) | null; + onsubmit: ((this: HTMLElement, ev: Event) => any) | null; + onsuspend: ((this: HTMLElement, ev: Event) => any) | null; + ontimeupdate: ((this: HTMLElement, ev: Event) => any) | null; + onvolumechange: ((this: HTMLElement, ev: Event) => any) | null; + onwaiting: ((this: HTMLElement, ev: Event) => any) | null; outerText: string; spellcheck: boolean; tabIndex: number; @@ -5925,8 +5925,8 @@ interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { /** @deprecated */ cols: string; name: string; - onorientationchange: ((this: HTMLFrameSetElement , ev: Event) => any) | null; - onresize: ((this: HTMLFrameSetElement , ev: UIEvent) => any) | null; + onorientationchange: ((this: HTMLFrameSetElement, ev: Event) => any) | null; + onresize: ((this: HTMLFrameSetElement, ev: UIEvent) => any) | null; /** * Sets or retrieves the frame heights of the object. */ @@ -6571,11 +6571,11 @@ interface HTMLMarqueeElement extends HTMLElement { /** @deprecated */ loop: number; /** @deprecated */ - onbounce: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + onbounce: ((this: HTMLMarqueeElement, ev: Event) => any) | null; /** @deprecated */ - onfinish: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + onfinish: ((this: HTMLMarqueeElement, ev: Event) => any) | null; /** @deprecated */ - onstart: ((this: HTMLMarqueeElement , ev: Event) => any) | null; + onstart: ((this: HTMLMarqueeElement, ev: Event) => any) | null; /** @deprecated */ scrollAmount: number; /** @deprecated */ @@ -6696,9 +6696,9 @@ interface HTMLMediaElement extends HTMLElement { * Gets the current network activity for the element. */ readonly networkState: number; - onencrypted: ((this: HTMLMediaElement , ev: MediaEncryptedEvent) => any) | null; + onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null; /** @deprecated */ - onmsneedkey: ((this: HTMLMediaElement , ev: Event) => any) | null; + onmsneedkey: ((this: HTMLMediaElement, ev: Event) => any) | null; /** * Gets a flag that specifies whether playback is paused. */ @@ -8036,9 +8036,9 @@ interface HTMLVideoElement extends HTMLMediaElement { msStereo3DPackingMode: string; msStereo3DRenderMode: string; msZoom: boolean; - onMSVideoFormatChanged: ((this: HTMLVideoElement , ev: Event) => any) | null; - onMSVideoFrameStepCompleted: ((this: HTMLVideoElement , ev: Event) => any) | null; - onMSVideoOptimalLayoutChanged: ((this: HTMLVideoElement , ev: Event) => any) | null; + onMSVideoFormatChanged: ((this: HTMLVideoElement, ev: Event) => any) | null; + onMSVideoFrameStepCompleted: ((this: HTMLVideoElement, ev: Event) => any) | null; + onMSVideoOptimalLayoutChanged: ((this: HTMLVideoElement, ev: Event) => any) | null; /** * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. */ @@ -8175,9 +8175,9 @@ interface IDBDatabaseEventMap { interface IDBDatabase extends EventTarget { readonly name: string; readonly objectStoreNames: DOMStringList; - onabort: ((this: IDBDatabase , ev: Event) => any) | null; - onerror: ((this: IDBDatabase , ev: Event) => any) | null; - onversionchange: ((this: IDBDatabase , ev: Event) => any) | null; + onabort: ((this: IDBDatabase, ev: Event) => any) | null; + onerror: ((this: IDBDatabase, ev: Event) => any) | null; + onversionchange: ((this: IDBDatabase, ev: Event) => any) | null; readonly version: number; close(): void; createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; @@ -8272,8 +8272,8 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { } interface IDBOpenDBRequest extends IDBRequest { - onblocked: ((this: IDBOpenDBRequest , ev: Event) => any) | null; - onupgradeneeded: ((this: IDBOpenDBRequest , ev: IDBVersionChangeEvent) => any) | null; + onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null; + onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null; addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -8292,8 +8292,8 @@ interface IDBRequestEventMap { interface IDBRequest extends EventTarget { readonly error: DOMException; - onerror: ((this: IDBRequest , ev: Event) => any) | null; - onsuccess: ((this: IDBRequest , ev: Event) => any) | null; + onerror: ((this: IDBRequest, ev: Event) => any) | null; + onsuccess: ((this: IDBRequest, ev: Event) => any) | null; readonly readyState: IDBRequestReadyState; readonly result: any; readonly source: IDBObjectStore | IDBIndex | IDBCursor; @@ -8319,9 +8319,9 @@ interface IDBTransaction extends EventTarget { readonly db: IDBDatabase; readonly error: DOMException; readonly mode: IDBTransactionMode; - onabort: ((this: IDBTransaction , ev: Event) => any) | null; - oncomplete: ((this: IDBTransaction , ev: Event) => any) | null; - onerror: ((this: IDBTransaction , ev: Event) => any) | null; + onabort: ((this: IDBTransaction, ev: Event) => any) | null; + oncomplete: ((this: IDBTransaction, ev: Event) => any) | null; + onerror: ((this: IDBTransaction, ev: Event) => any) | null; abort(): void; objectStore(name: string): IDBObjectStore; readonly READ_ONLY: string; @@ -8644,9 +8644,9 @@ interface MSInputMethodContextEventMap { interface MSInputMethodContext extends EventTarget { readonly compositionEndOffset: number; readonly compositionStartOffset: number; - oncandidatewindowhide: ((this: MSInputMethodContext , ev: Event) => any) | null; - oncandidatewindowshow: ((this: MSInputMethodContext , ev: Event) => any) | null; - oncandidatewindowupdate: ((this: MSInputMethodContext , ev: Event) => any) | null; + oncandidatewindowhide: ((this: MSInputMethodContext, ev: Event) => any) | null; + oncandidatewindowshow: ((this: MSInputMethodContext, ev: Event) => any) | null; + oncandidatewindowupdate: ((this: MSInputMethodContext, ev: Event) => any) | null; readonly target: HTMLElement; getCandidateWindowClientRect(): ClientRect; getCompositionAlternatives(): string[]; @@ -8783,12 +8783,12 @@ interface MSStreamReaderEventMap { interface MSStreamReader extends EventTarget { readonly error: DOMError; - onabort: ((this: MSStreamReader , ev: UIEvent) => any) | null; - onerror: ((this: MSStreamReader , ev: ErrorEvent) => any) | null; - onload: ((this: MSStreamReader , ev: Event) => any) | null; - onloadend: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; - onloadstart: ((this: MSStreamReader , ev: Event) => any) | null; - onprogress: ((this: MSStreamReader , ev: ProgressEvent) => any) | null; + onabort: ((this: MSStreamReader, ev: UIEvent) => any) | null; + onerror: ((this: MSStreamReader, ev: ErrorEvent) => any) | null; + onload: ((this: MSStreamReader, ev: Event) => any) | null; + onloadend: ((this: MSStreamReader, ev: ProgressEvent) => any) | null; + onloadstart: ((this: MSStreamReader, ev: Event) => any) | null; + onprogress: ((this: MSStreamReader, ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: any; abort(): void; @@ -8831,7 +8831,7 @@ interface MediaDevicesEventMap { } interface MediaDevices extends EventTarget { - ondevicechange: ((this: MediaDevices , ev: Event) => any) | null; + ondevicechange: ((this: MediaDevices, ev: Event) => any) | null; enumerateDevices(): Promise; getSupportedConstraints(): MediaTrackSupportedConstraints; getUserMedia(constraints: MediaStreamConstraints): Promise; @@ -8997,10 +8997,10 @@ interface MediaStreamEventMap { interface MediaStream extends EventTarget { readonly active: boolean; readonly id: string; - onactive: ((this: MediaStream , ev: Event) => any) | null; - onaddtrack: ((this: MediaStream , ev: MediaStreamTrackEvent) => any) | null; - oninactive: ((this: MediaStream , ev: Event) => any) | null; - onremovetrack: ((this: MediaStream , ev: MediaStreamTrackEvent) => any) | null; + onactive: ((this: MediaStream, ev: Event) => any) | null; + onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null; + oninactive: ((this: MediaStream, ev: Event) => any) | null; + onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null; addTrack(track: MediaStreamTrack): void; clone(): MediaStream; getAudioTracks(): MediaStreamTrack[]; @@ -9072,10 +9072,10 @@ interface MediaStreamTrack extends EventTarget { readonly kind: string; readonly label: string; readonly muted: boolean; - onended: ((this: MediaStreamTrack , ev: MediaStreamErrorEvent) => any) | null; - onmute: ((this: MediaStreamTrack , ev: Event) => any) | null; - onoverconstrained: ((this: MediaStreamTrack , ev: MediaStreamErrorEvent) => any) | null; - onunmute: ((this: MediaStreamTrack , ev: Event) => any) | null; + onended: ((this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any) | null; + onmute: ((this: MediaStreamTrack, ev: Event) => any) | null; + onoverconstrained: ((this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any) | null; + onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null; readonly readonly: boolean; readonly readyState: MediaStreamTrackState; readonly remote: boolean; @@ -9133,7 +9133,7 @@ interface MessagePortEventMap { } interface MessagePort extends EventTarget { - onmessage: ((this: MessagePort , ev: MessageEvent) => any) | null; + onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null; close(): void; postMessage(message?: any, transfer?: any[]): void; start(): void; @@ -9495,10 +9495,10 @@ interface Notification extends EventTarget { readonly dir: NotificationDirection; readonly icon: string | null; readonly lang: string | null; - onclick: ((this: Notification , ev: Event) => any) | null; - onclose: ((this: Notification , ev: Event) => any) | null; - onerror: ((this: Notification , ev: Event) => any) | null; - onshow: ((this: Notification , ev: Event) => any) | null; + onclick: ((this: Notification, ev: Event) => any) | null; + onclose: ((this: Notification, ev: Event) => any) | null; + onerror: ((this: Notification, ev: Event) => any) | null; + onshow: ((this: Notification, ev: Event) => any) | null; readonly permission: NotificationPermission; readonly tag: string | null; readonly title: string; @@ -9590,7 +9590,7 @@ interface OfflineAudioContextEventMap extends AudioContextEventMap { interface OfflineAudioContext extends AudioContextBase { readonly length: number; - oncomplete: ((this: OfflineAudioContext , ev: OfflineAudioCompletionEvent) => any) | null; + oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null; startRendering(): Promise; suspend(suspendTime: number): Promise; addEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -9611,7 +9611,7 @@ interface OscillatorNodeEventMap { interface OscillatorNode extends AudioNode { readonly detune: AudioParam; readonly frequency: AudioParam; - onended: ((this: OscillatorNode , ev: Event) => any) | null; + onended: ((this: OscillatorNode, ev: Event) => any) | null; type: OscillatorType; setPeriodicWave(periodicWave: PeriodicWave): void; start(when?: number): void; @@ -9726,8 +9726,8 @@ interface PaymentRequestEventMap { interface PaymentRequest extends EventTarget { readonly id: string; - onshippingaddresschange: ((this: PaymentRequest , ev: Event) => any) | null; - onshippingoptionchange: ((this: PaymentRequest , ev: Event) => any) | null; + onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null; + onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null; readonly shippingAddress: PaymentAddress | null; readonly shippingOption: string | null; readonly shippingType: PaymentShippingType | null; @@ -10168,8 +10168,8 @@ interface RTCDtlsTransportEventMap { } interface RTCDtlsTransport extends RTCStatsProvider { - ondtlsstatechange: ((this: RTCDtlsTransport , ev: RTCDtlsTransportStateChangedEvent) => any) | null; - onerror: ((this: RTCDtlsTransport , ev: Event) => any) | null; + ondtlsstatechange: ((this: RTCDtlsTransport, ev: RTCDtlsTransportStateChangedEvent) => any) | null; + onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null; readonly state: RTCDtlsTransportState; readonly transport: RTCIceTransport; getLocalParameters(): RTCDtlsParameters; @@ -10205,7 +10205,7 @@ interface RTCDtmfSender extends EventTarget { readonly canInsertDTMF: boolean; readonly duration: number; readonly interToneGap: number; - ontonechange: ((this: RTCDtmfSender , ev: RTCDTMFToneChangeEvent) => any) | null; + ontonechange: ((this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any) | null; readonly sender: RTCRtpSender; readonly toneBuffer: string; insertDTMF(tones: string, duration?: number, interToneGap?: number): void; @@ -10248,8 +10248,8 @@ interface RTCIceGathererEventMap { interface RTCIceGatherer extends RTCStatsProvider { readonly component: RTCIceComponent; - onerror: ((this: RTCIceGatherer , ev: Event) => any) | null; - onlocalcandidate: ((this: RTCIceGatherer , ev: RTCIceGathererEvent) => any) | null; + onerror: ((this: RTCIceGatherer, ev: Event) => any) | null; + onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null; createAssociatedGatherer(): RTCIceGatherer; getLocalCandidates(): RTCIceCandidateDictionary[]; getLocalParameters(): RTCIceParameters; @@ -10281,8 +10281,8 @@ interface RTCIceTransportEventMap { interface RTCIceTransport extends RTCStatsProvider { readonly component: RTCIceComponent; readonly iceGatherer: RTCIceGatherer | null; - oncandidatepairchange: ((this: RTCIceTransport , ev: RTCIceCandidatePairChangedEvent) => any) | null; - onicestatechange: ((this: RTCIceTransport , ev: RTCIceTransportStateChangedEvent) => any) | null; + oncandidatepairchange: ((this: RTCIceTransport, ev: RTCIceCandidatePairChangedEvent) => any) | null; + onicestatechange: ((this: RTCIceTransport, ev: RTCIceTransportStateChangedEvent) => any) | null; readonly role: RTCIceRole; readonly state: RTCIceTransportState; addRemoteCandidate(remoteCandidate: RTCIceCandidateDictionary | RTCIceCandidateComplete): void; @@ -10328,13 +10328,13 @@ interface RTCPeerConnection extends EventTarget { readonly iceConnectionState: RTCIceConnectionState; readonly iceGatheringState: RTCIceGatheringState; readonly localDescription: RTCSessionDescription | null; - onaddstream: ((this: RTCPeerConnection , ev: MediaStreamEvent) => any) | null; - onicecandidate: ((this: RTCPeerConnection , ev: RTCPeerConnectionIceEvent) => any) | null; - oniceconnectionstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; - onicegatheringstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; - onnegotiationneeded: ((this: RTCPeerConnection , ev: Event) => any) | null; - onremovestream: ((this: RTCPeerConnection , ev: MediaStreamEvent) => any) | null; - onsignalingstatechange: ((this: RTCPeerConnection , ev: Event) => any) | null; + onaddstream: ((this: RTCPeerConnection, ev: MediaStreamEvent) => any) | null; + onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null; + oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; + onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; + onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null; + onremovestream: ((this: RTCPeerConnection, ev: MediaStreamEvent) => any) | null; + onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; readonly remoteDescription: RTCSessionDescription | null; readonly signalingState: RTCSignalingState; addIceCandidate(candidate: RTCIceCandidate, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise; @@ -10377,9 +10377,9 @@ interface RTCRtpReceiverEventMap { } interface RTCRtpReceiver extends RTCStatsProvider { - onerror: ((this: RTCRtpReceiver , ev: Event) => any) | null; - onmsdecodercapacitychange: ((this: RTCRtpReceiver , ev: Event) => any) | null; - onmsdsh: ((this: RTCRtpReceiver , ev: Event) => any) | null; + onerror: ((this: RTCRtpReceiver, ev: Event) => any) | null; + onmsdecodercapacitychange: ((this: RTCRtpReceiver, ev: Event) => any) | null; + onmsdsh: ((this: RTCRtpReceiver, ev: Event) => any) | null; readonly rtcpTransport: RTCDtlsTransport; readonly track: MediaStreamTrack | null; readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; @@ -10406,8 +10406,8 @@ interface RTCRtpSenderEventMap { } interface RTCRtpSender extends RTCStatsProvider { - onerror: ((this: RTCRtpSender , ev: Event) => any) | null; - onssrcconflict: ((this: RTCRtpSender , ev: RTCSsrcConflictEvent) => any) | null; + onerror: ((this: RTCRtpSender, ev: Event) => any) | null; + onssrcconflict: ((this: RTCRtpSender, ev: RTCSsrcConflictEvent) => any) | null; readonly rtcpTransport: RTCDtlsTransport; readonly track: MediaStreamTrack; readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport; @@ -10443,7 +10443,7 @@ interface RTCSrtpSdesTransportEventMap { } interface RTCSrtpSdesTransport extends EventTarget { - onerror: ((this: RTCSrtpSdesTransport , ev: Event) => any) | null; + onerror: ((this: RTCSrtpSdesTransport, ev: Event) => any) | null; readonly transport: RTCIceTransport; addEventListener(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -10854,16 +10854,16 @@ interface SVGElementEventMap extends ElementEventMap { interface SVGElement extends Element, ElementCSSInlineStyle { readonly className: any; - onclick: ((this: SVGElement , ev: MouseEvent) => any) | null; - ondblclick: ((this: SVGElement , ev: MouseEvent) => any) | null; - onfocusin: ((this: SVGElement , ev: FocusEvent) => any) | null; - onfocusout: ((this: SVGElement , ev: FocusEvent) => any) | null; - onload: ((this: SVGElement , ev: Event) => any) | null; - onmousedown: ((this: SVGElement , ev: MouseEvent) => any) | null; - onmousemove: ((this: SVGElement , ev: MouseEvent) => any) | null; - onmouseout: ((this: SVGElement , ev: MouseEvent) => any) | null; - onmouseover: ((this: SVGElement , ev: MouseEvent) => any) | null; - onmouseup: ((this: SVGElement , ev: MouseEvent) => any) | null; + onclick: ((this: SVGElement, ev: MouseEvent) => any) | null; + ondblclick: ((this: SVGElement, ev: MouseEvent) => any) | null; + onfocusin: ((this: SVGElement, ev: FocusEvent) => any) | null; + onfocusout: ((this: SVGElement, ev: FocusEvent) => any) | null; + onload: ((this: SVGElement, ev: Event) => any) | null; + onmousedown: ((this: SVGElement, ev: MouseEvent) => any) | null; + onmousemove: ((this: SVGElement, ev: MouseEvent) => any) | null; + onmouseout: ((this: SVGElement, ev: MouseEvent) => any) | null; + onmouseover: ((this: SVGElement, ev: MouseEvent) => any) | null; + onmouseup: ((this: SVGElement, ev: MouseEvent) => any) | null; readonly ownerSVGElement: SVGSVGElement | null; readonly viewportElement: SVGElement | null; /** @deprecated */ @@ -12208,12 +12208,12 @@ interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewB currentScale: number; readonly currentTranslate: SVGPoint; readonly height: SVGAnimatedLength; - onabort: ((this: SVGSVGElement , ev: Event) => any) | null; - onerror: ((this: SVGSVGElement , ev: Event) => any) | null; - onresize: ((this: SVGSVGElement , ev: UIEvent) => any) | null; - onscroll: ((this: SVGSVGElement , ev: UIEvent) => any) | null; - onunload: ((this: SVGSVGElement , ev: Event) => any) | null; - onzoom: ((this: SVGSVGElement , ev: SVGZoomEvent) => any) | null; + onabort: ((this: SVGSVGElement, ev: Event) => any) | null; + onerror: ((this: SVGSVGElement, ev: Event) => any) | null; + onresize: ((this: SVGSVGElement, ev: UIEvent) => any) | null; + onscroll: ((this: SVGSVGElement, ev: UIEvent) => any) | null; + onunload: ((this: SVGSVGElement, ev: Event) => any) | null; + onzoom: ((this: SVGSVGElement, ev: SVGZoomEvent) => any) | null; /** @deprecated */ readonly pixelUnitToMillimeterX: number; /** @deprecated */ @@ -12630,7 +12630,7 @@ interface Screen extends EventTarget { readonly logicalXDPI: number; readonly logicalYDPI: number; readonly msOrientation: string; - onmsorientationchange: ((this: Screen , ev: Event) => any) | null; + onmsorientationchange: ((this: Screen, ev: Event) => any) | null; readonly pixelDepth: number; readonly systemXDPI: number; readonly systemYDPI: number; @@ -12658,7 +12658,7 @@ interface ScriptProcessorNode extends AudioNode { /** @deprecated */ readonly bufferSize: number; /** @deprecated */ - onaudioprocess: ((this: ScriptProcessorNode , ev: AudioProcessingEvent) => any) | null; + onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null; addEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -12747,7 +12747,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap { } interface ServiceWorker extends EventTarget, AbstractWorker { - onstatechange: ((this: ServiceWorker , ev: Event) => any) | null; + onstatechange: ((this: ServiceWorker, ev: Event) => any) | null; readonly scriptURL: string; readonly state: ServiceWorkerState; postMessage(message: any, transfer?: any[]): void; @@ -12770,9 +12770,9 @@ interface ServiceWorkerContainerEventMap { interface ServiceWorkerContainer extends EventTarget { readonly controller: ServiceWorker | null; - oncontrollerchange: ((this: ServiceWorkerContainer , ev: Event) => any) | null; - onmessage: ((this: ServiceWorkerContainer , ev: ServiceWorkerMessageEvent) => any) | null; - onmessageerror: ((this: ServiceWorkerContainer , ev: MessageEvent) => any) | null; + oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null; + onmessage: ((this: ServiceWorkerContainer, ev: ServiceWorkerMessageEvent) => any) | null; + onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null; readonly ready: Promise; getRegistration(clientURL?: string): Promise; getRegistrations(): Promise; @@ -12809,7 +12809,7 @@ interface ServiceWorkerRegistrationEventMap { interface ServiceWorkerRegistration extends EventTarget { readonly active: ServiceWorker | null; readonly installing: ServiceWorker | null; - onupdatefound: ((this: ServiceWorkerRegistration , ev: Event) => any) | null; + onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null; readonly pushManager: PushManager; readonly scope: string; readonly sync: SyncManager; @@ -12875,7 +12875,7 @@ interface SpeechSynthesisEventMap { } interface SpeechSynthesis extends EventTarget { - onvoiceschanged: ((this: SpeechSynthesis , ev: Event) => any) | null; + onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null; readonly paused: boolean; readonly pending: boolean; readonly speaking: boolean; @@ -12920,13 +12920,13 @@ interface SpeechSynthesisUtteranceEventMap { interface SpeechSynthesisUtterance extends EventTarget { lang: string; - onboundary: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onend: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onerror: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onmark: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onpause: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onresume: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; - onstart: ((this: SpeechSynthesisUtterance , ev: Event) => any) | null; + onboundary: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onend: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onerror: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onmark: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onpause: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onresume: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; + onstart: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; pitch: number; rate: number; text: string; @@ -13160,9 +13160,9 @@ interface TextTrack extends EventTarget { readonly label: string; readonly language: string; mode: TextTrackMode | number; - oncuechange: ((this: TextTrack , ev: Event) => any) | null; - onerror: ((this: TextTrack , ev: Event) => any) | null; - onload: ((this: TextTrack , ev: Event) => any) | null; + oncuechange: ((this: TextTrack, ev: Event) => any) | null; + onerror: ((this: TextTrack, ev: Event) => any) | null; + onload: ((this: TextTrack, ev: Event) => any) | null; readonly readyState: number; addCue(cue: TextTrackCue): void; removeCue(cue: TextTrackCue): void; @@ -13199,8 +13199,8 @@ interface TextTrackCueEventMap { interface TextTrackCue extends EventTarget { endTime: number; id: string; - onenter: ((this: TextTrackCue , ev: Event) => any) | null; - onexit: ((this: TextTrackCue , ev: Event) => any) | null; + onenter: ((this: TextTrackCue, ev: Event) => any) | null; + onexit: ((this: TextTrackCue, ev: Event) => any) | null; pauseOnExit: boolean; startTime: number; text: string; @@ -13235,7 +13235,7 @@ interface TextTrackListEventMap { interface TextTrackList extends EventTarget { readonly length: number; - onaddtrack: ((this: TextTrackList , ev: TrackEvent) => any) | null; + onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null; item(index: number): TextTrack; addEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -13577,9 +13577,9 @@ interface VideoTrackListEventMap { interface VideoTrackList extends EventTarget { readonly length: number; - onaddtrack: ((this: VideoTrackList , ev: TrackEvent) => any) | null; - onchange: ((this: VideoTrackList , ev: Event) => any) | null; - onremovetrack: ((this: VideoTrackList , ev: TrackEvent) => any) | null; + onaddtrack: ((this: VideoTrackList, ev: TrackEvent) => any) | null; + onchange: ((this: VideoTrackList, ev: Event) => any) | null; + onremovetrack: ((this: VideoTrackList, ev: TrackEvent) => any) | null; readonly selectedIndex: number; getTrackById(id: string): VideoTrack | null; item(index: number): VideoTrack; @@ -14732,10 +14732,10 @@ interface WebSocket extends EventTarget { binaryType: BinaryType; readonly bufferedAmount: number; readonly extensions: string; - onclose: ((this: WebSocket , ev: CloseEvent) => any) | null; - onerror: ((this: WebSocket , ev: Event) => any) | null; - onmessage: ((this: WebSocket , ev: MessageEvent) => any) | null; - onopen: ((this: WebSocket , ev: Event) => any) | null; + onclose: ((this: WebSocket, ev: CloseEvent) => any) | null; + onerror: ((this: WebSocket, ev: Event) => any) | null; + onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null; + onopen: ((this: WebSocket, ev: Event) => any) | null; readonly protocol: string; readonly readyState: number; readonly url: string; @@ -14916,104 +14916,104 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window name: string; readonly navigator: Navigator; offscreenBuffering: string | boolean; - onabort: ((this: Window , ev: UIEvent) => any) | null; - onbeforeunload: ((this: Window , ev: BeforeUnloadEvent) => any) | null; - onblur: ((this: Window , ev: FocusEvent) => any) | null; - oncanplay: ((this: Window , ev: Event) => any) | null; - oncanplaythrough: ((this: Window , ev: Event) => any) | null; - onchange: ((this: Window , ev: Event) => any) | null; - onclick: ((this: Window , ev: MouseEvent) => any) | null; - oncompassneedscalibration: ((this: Window , ev: Event) => any) | null; - oncontextmenu: ((this: Window , ev: PointerEvent) => any) | null; - ondblclick: ((this: Window , ev: MouseEvent) => any) | null; - ondevicelight: ((this: Window , ev: DeviceLightEvent) => any) | null; - ondevicemotion: ((this: Window , ev: DeviceMotionEvent) => any) | null; - ondeviceorientation: ((this: Window , ev: DeviceOrientationEvent) => any) | null; - ondrag: ((this: Window , ev: DragEvent) => any) | null; - ondragend: ((this: Window , ev: DragEvent) => any) | null; - ondragenter: ((this: Window , ev: DragEvent) => any) | null; - ondragleave: ((this: Window , ev: DragEvent) => any) | null; - ondragover: ((this: Window , ev: DragEvent) => any) | null; - ondragstart: ((this: Window , ev: DragEvent) => any) | null; - ondrop: ((this: Window , ev: DragEvent) => any) | null; - ondurationchange: ((this: Window , ev: Event) => any) | null; - onemptied: ((this: Window , ev: Event) => any) | null; - onended: ((this: Window , ev: Event) => any) | null; + onabort: ((this: Window, ev: UIEvent) => any) | null; + onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null; + onblur: ((this: Window, ev: FocusEvent) => any) | null; + oncanplay: ((this: Window, ev: Event) => any) | null; + oncanplaythrough: ((this: Window, ev: Event) => any) | null; + onchange: ((this: Window, ev: Event) => any) | null; + onclick: ((this: Window, ev: MouseEvent) => any) | null; + oncompassneedscalibration: ((this: Window, ev: Event) => any) | null; + oncontextmenu: ((this: Window, ev: PointerEvent) => any) | null; + ondblclick: ((this: Window, ev: MouseEvent) => any) | null; + ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null; + ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null; + ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null; + ondrag: ((this: Window, ev: DragEvent) => any) | null; + ondragend: ((this: Window, ev: DragEvent) => any) | null; + ondragenter: ((this: Window, ev: DragEvent) => any) | null; + ondragleave: ((this: Window, ev: DragEvent) => any) | null; + ondragover: ((this: Window, ev: DragEvent) => any) | null; + ondragstart: ((this: Window, ev: DragEvent) => any) | null; + ondrop: ((this: Window, ev: DragEvent) => any) | null; + ondurationchange: ((this: Window, ev: Event) => any) | null; + onemptied: ((this: Window, ev: Event) => any) | null; + onended: ((this: Window, ev: Event) => any) | null; onerror: ErrorEventHandler; - onfocus: ((this: Window , ev: FocusEvent) => any) | null; - onhashchange: ((this: Window , ev: HashChangeEvent) => any) | null; - oninput: ((this: Window , ev: Event) => any) | null; - oninvalid: ((this: Window , ev: Event) => any) | null; - onkeydown: ((this: Window , ev: KeyboardEvent) => any) | null; - onkeypress: ((this: Window , ev: KeyboardEvent) => any) | null; - onkeyup: ((this: Window , ev: KeyboardEvent) => any) | null; - onload: ((this: Window , ev: Event) => any) | null; - onloadeddata: ((this: Window , ev: Event) => any) | null; - onloadedmetadata: ((this: Window , ev: Event) => any) | null; - onloadstart: ((this: Window , ev: Event) => any) | null; - onmessage: ((this: Window , ev: MessageEvent) => any) | null; - onmousedown: ((this: Window , ev: MouseEvent) => any) | null; - onmouseenter: ((this: Window , ev: MouseEvent) => any) | null; - onmouseleave: ((this: Window , ev: MouseEvent) => any) | null; - onmousemove: ((this: Window , ev: MouseEvent) => any) | null; - onmouseout: ((this: Window , ev: MouseEvent) => any) | null; - onmouseover: ((this: Window , ev: MouseEvent) => any) | null; - onmouseup: ((this: Window , ev: MouseEvent) => any) | null; - onmousewheel: ((this: Window , ev: WheelEvent) => any) | null; - onmsgesturechange: ((this: Window , ev: Event) => any) | null; - onmsgesturedoubletap: ((this: Window , ev: Event) => any) | null; - onmsgestureend: ((this: Window , ev: Event) => any) | null; - onmsgesturehold: ((this: Window , ev: Event) => any) | null; - onmsgesturestart: ((this: Window , ev: Event) => any) | null; - onmsgesturetap: ((this: Window , ev: Event) => any) | null; - onmsinertiastart: ((this: Window , ev: Event) => any) | null; - onmspointercancel: ((this: Window , ev: Event) => any) | null; - onmspointerdown: ((this: Window , ev: Event) => any) | null; - onmspointerenter: ((this: Window , ev: Event) => any) | null; - onmspointerleave: ((this: Window , ev: Event) => any) | null; - onmspointermove: ((this: Window , ev: Event) => any) | null; - onmspointerout: ((this: Window , ev: Event) => any) | null; - onmspointerover: ((this: Window , ev: Event) => any) | null; - onmspointerup: ((this: Window , ev: Event) => any) | null; - onoffline: ((this: Window , ev: Event) => any) | null; - ononline: ((this: Window , ev: Event) => any) | null; - onorientationchange: ((this: Window , ev: Event) => any) | null; - onpagehide: ((this: Window , ev: PageTransitionEvent) => any) | null; - onpageshow: ((this: Window , ev: PageTransitionEvent) => any) | null; - onpause: ((this: Window , ev: Event) => any) | null; - onplay: ((this: Window , ev: Event) => any) | null; - onplaying: ((this: Window , ev: Event) => any) | null; - onpopstate: ((this: Window , ev: PopStateEvent) => any) | null; - onprogress: ((this: Window , ev: ProgressEvent) => any) | null; - onratechange: ((this: Window , ev: Event) => any) | null; - onreadystatechange: ((this: Window , ev: ProgressEvent) => any) | null; - onreset: ((this: Window , ev: Event) => any) | null; - onresize: ((this: Window , ev: UIEvent) => any) | null; - onscroll: ((this: Window , ev: UIEvent) => any) | null; - onseeked: ((this: Window , ev: Event) => any) | null; - onseeking: ((this: Window , ev: Event) => any) | null; - onselect: ((this: Window , ev: UIEvent) => any) | null; - onstalled: ((this: Window , ev: Event) => any) | null; - onstorage: ((this: Window , ev: StorageEvent) => any) | null; - onsubmit: ((this: Window , ev: Event) => any) | null; - onsuspend: ((this: Window , ev: Event) => any) | null; - ontimeupdate: ((this: Window , ev: Event) => any) | null; + onfocus: ((this: Window, ev: FocusEvent) => any) | null; + onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null; + oninput: ((this: Window, ev: Event) => any) | null; + oninvalid: ((this: Window, ev: Event) => any) | null; + onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null; + onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null; + onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null; + onload: ((this: Window, ev: Event) => any) | null; + onloadeddata: ((this: Window, ev: Event) => any) | null; + onloadedmetadata: ((this: Window, ev: Event) => any) | null; + onloadstart: ((this: Window, ev: Event) => any) | null; + onmessage: ((this: Window, ev: MessageEvent) => any) | null; + onmousedown: ((this: Window, ev: MouseEvent) => any) | null; + onmouseenter: ((this: Window, ev: MouseEvent) => any) | null; + onmouseleave: ((this: Window, ev: MouseEvent) => any) | null; + onmousemove: ((this: Window, ev: MouseEvent) => any) | null; + onmouseout: ((this: Window, ev: MouseEvent) => any) | null; + onmouseover: ((this: Window, ev: MouseEvent) => any) | null; + onmouseup: ((this: Window, ev: MouseEvent) => any) | null; + onmousewheel: ((this: Window, ev: WheelEvent) => any) | null; + onmsgesturechange: ((this: Window, ev: Event) => any) | null; + onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null; + onmsgestureend: ((this: Window, ev: Event) => any) | null; + onmsgesturehold: ((this: Window, ev: Event) => any) | null; + onmsgesturestart: ((this: Window, ev: Event) => any) | null; + onmsgesturetap: ((this: Window, ev: Event) => any) | null; + onmsinertiastart: ((this: Window, ev: Event) => any) | null; + onmspointercancel: ((this: Window, ev: Event) => any) | null; + onmspointerdown: ((this: Window, ev: Event) => any) | null; + onmspointerenter: ((this: Window, ev: Event) => any) | null; + onmspointerleave: ((this: Window, ev: Event) => any) | null; + onmspointermove: ((this: Window, ev: Event) => any) | null; + onmspointerout: ((this: Window, ev: Event) => any) | null; + onmspointerover: ((this: Window, ev: Event) => any) | null; + onmspointerup: ((this: Window, ev: Event) => any) | null; + onoffline: ((this: Window, ev: Event) => any) | null; + ononline: ((this: Window, ev: Event) => any) | null; + onorientationchange: ((this: Window, ev: Event) => any) | null; + onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null; + onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null; + onpause: ((this: Window, ev: Event) => any) | null; + onplay: ((this: Window, ev: Event) => any) | null; + onplaying: ((this: Window, ev: Event) => any) | null; + onpopstate: ((this: Window, ev: PopStateEvent) => any) | null; + onprogress: ((this: Window, ev: ProgressEvent) => any) | null; + onratechange: ((this: Window, ev: Event) => any) | null; + onreadystatechange: ((this: Window, ev: ProgressEvent) => any) | null; + onreset: ((this: Window, ev: Event) => any) | null; + onresize: ((this: Window, ev: UIEvent) => any) | null; + onscroll: ((this: Window, ev: UIEvent) => any) | null; + onseeked: ((this: Window, ev: Event) => any) | null; + onseeking: ((this: Window, ev: Event) => any) | null; + onselect: ((this: Window, ev: UIEvent) => any) | null; + onstalled: ((this: Window, ev: Event) => any) | null; + onstorage: ((this: Window, ev: StorageEvent) => any) | null; + onsubmit: ((this: Window, ev: Event) => any) | null; + onsuspend: ((this: Window, ev: Event) => any) | null; + ontimeupdate: ((this: Window, ev: Event) => any) | null; ontouchcancel: (ev: TouchEvent) => any; ontouchend: (ev: TouchEvent) => any; ontouchmove: (ev: TouchEvent) => any; ontouchstart: (ev: TouchEvent) => any; - onunload: ((this: Window , ev: Event) => any) | null; - onvolumechange: ((this: Window , ev: Event) => any) | null; - onvrdisplayactivate: ((this: Window , ev: Event) => any) | null; - onvrdisplayblur: ((this: Window , ev: Event) => any) | null; - onvrdisplayconnect: ((this: Window , ev: Event) => any) | null; - onvrdisplaydeactivate: ((this: Window , ev: Event) => any) | null; - onvrdisplaydisconnect: ((this: Window , ev: Event) => any) | null; - onvrdisplayfocus: ((this: Window , ev: Event) => any) | null; - onvrdisplaypointerrestricted: ((this: Window , ev: Event) => any) | null; - onvrdisplaypointerunrestricted: ((this: Window , ev: Event) => any) | null; - onvrdisplaypresentchange: ((this: Window , ev: Event) => any) | null; - onwaiting: ((this: Window , ev: Event) => any) | null; + onunload: ((this: Window, ev: Event) => any) | null; + onvolumechange: ((this: Window, ev: Event) => any) | null; + onvrdisplayactivate: ((this: Window, ev: Event) => any) | null; + onvrdisplayblur: ((this: Window, ev: Event) => any) | null; + onvrdisplayconnect: ((this: Window, ev: Event) => any) | null; + onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null; + onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null; + onvrdisplayfocus: ((this: Window, ev: Event) => any) | null; + onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null; + onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null; + onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null; + onwaiting: ((this: Window, ev: Event) => any) | null; readonly opener: any; readonly orientation: string | number; readonly outerHeight: number; @@ -15110,18 +15110,18 @@ interface WindowEventHandlersEventMap { } interface WindowEventHandlers { - onafterprint: ((this: WindowEventHandlers , ev: Event) => any) | null; - onbeforeprint: ((this: WindowEventHandlers , ev: Event) => any) | null; - onbeforeunload: ((this: WindowEventHandlers , ev: BeforeUnloadEvent) => any) | null; - onhashchange: ((this: WindowEventHandlers , ev: HashChangeEvent) => any) | null; - onmessage: ((this: WindowEventHandlers , ev: MessageEvent) => any) | null; - onoffline: ((this: WindowEventHandlers , ev: Event) => any) | null; - ononline: ((this: WindowEventHandlers , ev: Event) => any) | null; - onpagehide: ((this: WindowEventHandlers , ev: PageTransitionEvent) => any) | null; - onpageshow: ((this: WindowEventHandlers , ev: PageTransitionEvent) => any) | null; - onpopstate: ((this: WindowEventHandlers , ev: PopStateEvent) => any) | null; - onstorage: ((this: WindowEventHandlers , ev: StorageEvent) => any) | null; - onunload: ((this: WindowEventHandlers , ev: Event) => any) | null; + onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null; + onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null; + onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null; + onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null; + onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null; + onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null; + ononline: ((this: WindowEventHandlers, ev: Event) => any) | null; + onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null; + onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null; + onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null; + onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null; + onunload: ((this: WindowEventHandlers, ev: Event) => any) | null; addEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -15156,7 +15156,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap { } interface Worker extends EventTarget, AbstractWorker { - onmessage: ((this: Worker , ev: MessageEvent) => any) | null; + onmessage: ((this: Worker, ev: MessageEvent) => any) | null; /** @deprecated */ postMessage(message: any, transfer?: any[]): void; terminate(): void; @@ -15224,7 +15224,7 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { msCaching: string; - onreadystatechange: ((this: XMLHttpRequest , ev: Event) => any) | null; + onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null; readonly readyState: number; readonly response: any; readonly responseText: string; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 2ad1038e4..9b497998a 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -167,7 +167,7 @@ interface AbstractWorkerEventMap { } interface AbstractWorker { - onerror: ((this: AbstractWorker , ev: ErrorEvent) => any) | null; + onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -437,7 +437,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { } interface DedicatedWorkerGlobalScope extends WorkerGlobalScope { - onmessage: ((this: DedicatedWorkerGlobalScope , ev: MessageEvent) => any) | null; + onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null; close(): void; postMessage(message: any, transfer?: any[]): void; addEventListener(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -588,12 +588,12 @@ interface FileReaderEventMap { interface FileReader extends EventTarget { readonly error: DOMException | null; - onabort: ((this: FileReader , ev: ProgressEvent) => any) | null; - onerror: ((this: FileReader , ev: ProgressEvent) => any) | null; - onload: ((this: FileReader , ev: ProgressEvent) => any) | null; - onloadend: ((this: FileReader , ev: ProgressEvent) => any) | null; - onloadstart: ((this: FileReader , ev: ProgressEvent) => any) | null; - onprogress: ((this: FileReader , ev: ProgressEvent) => any) | null; + onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; + onload: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: any; abort(): void; @@ -707,9 +707,9 @@ interface IDBDatabaseEventMap { interface IDBDatabase extends EventTarget { readonly name: string; readonly objectStoreNames: DOMStringList; - onabort: ((this: IDBDatabase , ev: Event) => any) | null; - onerror: ((this: IDBDatabase , ev: Event) => any) | null; - onversionchange: ((this: IDBDatabase , ev: Event) => any) | null; + onabort: ((this: IDBDatabase, ev: Event) => any) | null; + onerror: ((this: IDBDatabase, ev: Event) => any) | null; + onversionchange: ((this: IDBDatabase, ev: Event) => any) | null; readonly version: number; close(): void; createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; @@ -800,8 +800,8 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { } interface IDBOpenDBRequest extends IDBRequest { - onblocked: ((this: IDBOpenDBRequest , ev: Event) => any) | null; - onupgradeneeded: ((this: IDBOpenDBRequest , ev: IDBVersionChangeEvent) => any) | null; + onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null; + onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null; addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -820,8 +820,8 @@ interface IDBRequestEventMap { interface IDBRequest extends EventTarget { readonly error: DOMException; - onerror: ((this: IDBRequest , ev: Event) => any) | null; - onsuccess: ((this: IDBRequest , ev: Event) => any) | null; + onerror: ((this: IDBRequest, ev: Event) => any) | null; + onsuccess: ((this: IDBRequest, ev: Event) => any) | null; readonly readyState: IDBRequestReadyState; readonly result: any; readonly source: IDBObjectStore | IDBIndex | IDBCursor; @@ -847,9 +847,9 @@ interface IDBTransaction extends EventTarget { readonly db: IDBDatabase; readonly error: DOMException; readonly mode: IDBTransactionMode; - onabort: ((this: IDBTransaction , ev: Event) => any) | null; - oncomplete: ((this: IDBTransaction , ev: Event) => any) | null; - onerror: ((this: IDBTransaction , ev: Event) => any) | null; + onabort: ((this: IDBTransaction, ev: Event) => any) | null; + oncomplete: ((this: IDBTransaction, ev: Event) => any) | null; + onerror: ((this: IDBTransaction, ev: Event) => any) | null; abort(): void; objectStore(name: string): IDBObjectStore; readonly READ_ONLY: string; @@ -934,7 +934,7 @@ interface MessagePortEventMap { } interface MessagePort extends EventTarget { - onmessage: ((this: MessagePort , ev: MessageEvent) => any) | null; + onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null; close(): void; postMessage(message?: any, transfer?: any[]): void; start(): void; @@ -986,10 +986,10 @@ interface Notification extends EventTarget { readonly dir: NotificationDirection; readonly icon: string | null; readonly lang: string | null; - onclick: ((this: Notification , ev: Event) => any) | null; - onclose: ((this: Notification , ev: Event) => any) | null; - onerror: ((this: Notification , ev: Event) => any) | null; - onshow: ((this: Notification , ev: Event) => any) | null; + onclick: ((this: Notification, ev: Event) => any) | null; + onclose: ((this: Notification, ev: Event) => any) | null; + onerror: ((this: Notification, ev: Event) => any) | null; + onshow: ((this: Notification, ev: Event) => any) | null; readonly permission: NotificationPermission; readonly tag: string | null; readonly title: string; @@ -1269,7 +1269,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap { } interface ServiceWorker extends EventTarget, AbstractWorker { - onstatechange: ((this: ServiceWorker , ev: Event) => any) | null; + onstatechange: ((this: ServiceWorker, ev: Event) => any) | null; readonly scriptURL: string; readonly state: ServiceWorkerState; postMessage(message: any, transfer?: any[]): void; @@ -1299,16 +1299,16 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { interface ServiceWorkerGlobalScope extends WorkerGlobalScope { readonly clients: Clients; - onactivate: ((this: ServiceWorkerGlobalScope , ev: ExtendableEvent) => any) | null; - onfetch: ((this: ServiceWorkerGlobalScope , ev: FetchEvent) => any) | null; - oninstall: ((this: ServiceWorkerGlobalScope , ev: ExtendableEvent) => any) | null; - onmessage: ((this: ServiceWorkerGlobalScope , ev: ExtendableMessageEvent) => any) | null; - onmessageerror: ((this: ServiceWorkerGlobalScope , ev: MessageEvent) => any) | null; - onnotificationclick: ((this: ServiceWorkerGlobalScope , ev: NotificationEvent) => any) | null; - onnotificationclose: ((this: ServiceWorkerGlobalScope , ev: NotificationEvent) => any) | null; - onpush: ((this: ServiceWorkerGlobalScope , ev: PushEvent) => any) | null; - onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope , ev: PushSubscriptionChangeEvent) => any) | null; - onsync: ((this: ServiceWorkerGlobalScope , ev: SyncEvent) => any) | null; + onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null; + onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null; + oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null; + onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null; + onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null; + onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null; + onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null; + onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null; + onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null; + onsync: ((this: ServiceWorkerGlobalScope, ev: SyncEvent) => any) | null; readonly registration: ServiceWorkerRegistration; skipWaiting(): Promise; addEventListener(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -1329,7 +1329,7 @@ interface ServiceWorkerRegistrationEventMap { interface ServiceWorkerRegistration extends EventTarget { readonly active: ServiceWorker | null; readonly installing: ServiceWorker | null; - onupdatefound: ((this: ServiceWorkerRegistration , ev: Event) => any) | null; + onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null; readonly pushManager: PushManager; readonly scope: string; readonly sync: SyncManager; @@ -1435,10 +1435,10 @@ interface WebSocket extends EventTarget { binaryType: BinaryType; readonly bufferedAmount: number; readonly extensions: string; - onclose: ((this: WebSocket , ev: CloseEvent) => any) | null; - onerror: ((this: WebSocket , ev: Event) => any) | null; - onmessage: ((this: WebSocket , ev: MessageEvent) => any) | null; - onopen: ((this: WebSocket , ev: Event) => any) | null; + onclose: ((this: WebSocket, ev: CloseEvent) => any) | null; + onerror: ((this: WebSocket, ev: Event) => any) | null; + onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null; + onopen: ((this: WebSocket, ev: Event) => any) | null; readonly protocol: string; readonly readyState: number; readonly url: string; @@ -1490,7 +1490,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap { } interface Worker extends EventTarget, AbstractWorker { - onmessage: ((this: Worker , ev: MessageEvent) => any) | null; + onmessage: ((this: Worker, ev: MessageEvent) => any) | null; /** @deprecated */ postMessage(message: any, transfer?: any[]): void; terminate(): void; @@ -1513,7 +1513,7 @@ interface WorkerGlobalScope extends EventTarget, WorkerUtils, WindowConsole, Glo readonly caches: CacheStorage; readonly isSecureContext: boolean; readonly location: WorkerLocation; - onerror: ((this: WorkerGlobalScope , ev: ErrorEvent) => any) | null; + onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null; readonly performance: Performance; readonly self: WorkerGlobalScope; createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise; @@ -1575,7 +1575,7 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { msCaching: string; - onreadystatechange: ((this: XMLHttpRequest , ev: Event) => any) | null; + onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null; readonly readyState: number; readonly response: any; readonly responseText: string; diff --git a/src/index.ts b/src/index.ts index c90c8a91b..e8870c3f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -633,7 +633,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitEventHandlerThis(prefix: string, i: Browser.Interface) { if (prefix === "") { - return `this: ${i.name} , `; + return `this: ${i.name}, `; } else { return pollutor ? `this: ${pollutor.name}, ` : ""; From 97eecc7a6b484d561bf988c7750272b93652beea Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:42:39 -0800 Subject: [PATCH 79/93] Use camelCase consistentlly --- src/index.ts | 352 +++++++++++++++++++++++++-------------------------- 1 file changed, 176 insertions(+), 176 deletions(-) diff --git a/src/index.ts b/src/index.ts index e8870c3f7..1006dd2fd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ enum Flavor { ES6Iterators } -function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { +function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Note: // Eventhandler's name and the eventName are not just off by "on". @@ -219,7 +219,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return result; })(); - return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emitTheWholeThing(); + return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emit(); // Used to decide if a member should be emitted given its static property and // the intended scope level. @@ -230,7 +230,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. - function AdjustParamName(name: string) { + function adjustParamName(name: string) { switch (name) { case "default": return "_default"; case "delete": return "_delete"; @@ -314,30 +314,30 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return { - Reset: reset, + reset: reset, - ResetIndent() { indent = 0; }, - IncreaseIndent() { indent++; }, - DecreaseIndent() { indent--; }, + resetIndent() { indent = 0; }, + increaseIndent() { indent++; }, + decreaseIndent() { indent--; }, - Print: write, - Printl(c: string) { writeLine(); write(c); }, + print: write, + printLine(c: string) { writeLine(); write(c); }, - PrintWithAddedIndent(c: string) { this.IncreaseIndent(); this.Printl(c); this.DecreaseIndent(); }, + printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, - ClearStack() { stack = []; }, - StackIsEmpty() { return stack.length === 0; }, - PrintlToStack(content: string) { stack.push({ content, indent }); }, - PrintStackContent() { + clearStack() { stack = []; }, + stackIsEmpty() { return stack.length === 0; }, + printLineToStack(content: string) { stack.push({ content, indent }); }, + printStackContent() { stack.forEach(e => { const oldIndent = indent; indent = e.indent; - this.Printl(e.content); + this.printLine(e.content); indent = oldIndent; }); }, - GetResult() { return output; } + getResult() { return output; } }; } @@ -468,7 +468,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitConstant(c: Browser.Constant) { - printer.Printl(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); + printer.printLine(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); } function emitConstants(i: Browser.Interface) { @@ -494,70 +494,70 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Emit overloads for the createElement method function emitCreateElementOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { - printer.Printl("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); - printer.Printl("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); + printer.printLine("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); + printer.printLine("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); } } /// Emit overloads for the getElementsByTagName method function emitGetElementsByTagNameOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { - printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - printer.Printl(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); } } /// Emit overloads for the querySelector method function emitQuerySelectorOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelector", "Element | null", "string")) { - printer.Printl("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); - printer.Printl("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); - printer.Printl("querySelector(selectors: string): E | null;"); + printer.printLine("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); + printer.printLine("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); + printer.printLine("querySelector(selectors: string): E | null;"); } } /// Emit overloads for the querySelectorAll method function emitQuerySelectorAllOverloads(m: Browser.Method) { if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { - printer.Printl("querySelectorAll(selectors: K): NodeListOf;"); - printer.Printl("querySelectorAll(selectors: K): NodeListOf;"); - printer.Printl("querySelectorAll(selectors: string): NodeListOf;"); + printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); + printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); + printer.printLine("querySelectorAll(selectors: string): NodeListOf;"); } } function emitHTMLElementTagNameMap() { - printer.Printl("interface HTMLElementTagNameMap {"); - printer.IncreaseIndent(); + printer.printLine("interface HTMLElementTagNameMap {"); + printer.increaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") === -1) { - printer.Printl(`"${e.toLowerCase()}": ${value};`); + printer.printLine(`"${e.toLowerCase()}": ${value};`); } } - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } function emitSVGElementTagNameMap() { - printer.Printl("interface SVGElementTagNameMap {"); - printer.IncreaseIndent(); + printer.printLine("interface SVGElementTagNameMap {"); + printer.increaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") > -1) { - printer.Printl(`"${e.toLowerCase()}": ${value};`); + printer.printLine(`"${e.toLowerCase()}": ${value};`); } } - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } function emitElementTagNameMap() { - printer.Printl("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); - printer.Printl("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); - printer.Printl(""); + printer.printLine("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); + printer.printLine("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); + printer.printLine(""); } /// Emit overloads for the createEvent method @@ -566,12 +566,12 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Emit plurals. For example, "Events", "MutationEvents" const hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; for (const x of distinctETypeList) { - printer.Printl(`createEvent(eventInterface: "${x}"): ${x};`); + printer.printLine(`createEvent(eventInterface: "${x}"): ${x};`); if (hasPlurals.indexOf(x) > -1) { - printer.Printl(`createEvent(eventInterface: "${x}s"): ${x};`); + printer.printLine(`createEvent(eventInterface: "${x}s"): ${x};`); } } - printer.Printl("createEvent(eventInterface: string): Event;"); + printer.printLine("createEvent(eventInterface: string): Event;"); } } @@ -581,7 +581,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const isOptional = !p.variadic && p.optional; const pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); return (p.variadic ? "..." : "") + - AdjustParamName(p.name) + + adjustParamName(p.name) + (isOptional ? "?: " : ": ") + pType + (p.variadic ? "[]" : ""); @@ -591,9 +591,9 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitCallBackInterface(i: Browser.Interface) { if (i.name === "EventListener") { - printer.Printl(`interface ${i.name} {`); - printer.PrintWithAddedIndent("(evt: Event): void;"); - printer.Printl("}"); + printer.printLine(`interface ${i.name} {`); + printer.printWithAddedIndent("(evt: Event): void;"); + printer.printLine("}"); } else { const methods = mapToArray(i.methods.method); @@ -601,18 +601,18 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const overload = m.signature[0]; const paramsString = overload.param ? paramsToString(overload.param) : ""; const returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; - printer.Printl(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); + printer.printLine(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); } - printer.Printl(""); + printer.printLine(""); } function emitCallBackFunction(cb: Browser.CallbackFunction) { - printer.Printl(`interface ${cb.name} {`); - printer.IncreaseIndent(); - emitSignatures(cb, "", "", s => printer.Printl(s)); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.printLine(`interface ${cb.name} {`); + printer.increaseIndent(); + emitSignatures(cb, "", "", s => printer.printLine(s)); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } function emitCallBackFunctions() { @@ -622,7 +622,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitEnum(e: Browser.Enum) { - printer.Printl(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); + printer.printLine(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); } function emitEnums() { @@ -658,10 +658,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { function printLine(content: string) { if (conflictedMembers.has(p.name)) { - printer.PrintlToStack(content); + printer.printLineToStack(content); } else { - printer.Printl(content); + printer.printLine(content); } } @@ -724,10 +724,10 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitMethod(prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { function printLine(content: string) { if (m.name && conflictedMembers.has(m.name)) { - printer.PrintlToStack(content); + printer.printLineToStack(content); } else { - printer.Printl(content); + printer.printLine(content); } } @@ -780,7 +780,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // The window interface inherited some methods from "Object", // which need to explicitly exposed if (i.name === "Window" && prefix === "declare function ") { - printer.Printl("declare function toString(): string;"); + printer.printLine("declare function toString(): string;"); } } @@ -814,11 +814,11 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { - printer.Printl(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + printer.printLine(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); } function emitStringEventHandler(addOrRemove: string) { - printer.Printl(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + printer.printLine(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); } function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { @@ -846,51 +846,51 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitEventHandler("remove"); } - function EmitConstructorSignature(i: Browser.Interface) { + function emitConstructorSignature(i: Browser.Interface) { const constructor = typeof i.constructor === "object" ? i.constructor : undefined; - emitComments(constructor, s => printer.Print(s)); + emitComments(constructor, s => printer.print(s)); // Emit constructor signature if (constructor) { - emitSignatures(constructor, "", "new", s => printer.Printl(s)); + emitSignatures(constructor, "", "new", s => printer.printLine(s)); } else { - printer.Printl(`new(): ${i.name};`); + printer.printLine(`new(): ${i.name};`); } } - function EmitConstructor(i: Browser.Interface) { - printer.Printl(`declare var ${i.name}: {`); - printer.IncreaseIndent(); + function emitConstructor(i: Browser.Interface) { + printer.printLine(`declare var ${i.name}: {`); + printer.increaseIndent(); - printer.Printl(`prototype: ${i.name};`); - EmitConstructorSignature(i); + printer.printLine(`prototype: ${i.name};`); + emitConstructorSignature(i); emitConstants(i); emitMembers("", EmitScope.StaticOnly, i); - printer.DecreaseIndent(); - printer.Printl("};"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("};"); + printer.printLine(""); } - function EmitNamedConstructor(i: Browser.Interface) { + function emitNamedConstructor(i: Browser.Interface) { const nc = i["named-constructor"]; if (nc) { - printer.Printl(`declare var ${nc.name}: {`); - nc.signature.forEach(s => printer.PrintWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); - printer.Printl(`};`); + printer.printLine(`declare var ${nc.name}: {`); + nc.signature.forEach(s => printer.printWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); + printer.printLine(`};`); } } /// Emit all the named constructors at root level - function EmitNamedConstructors() { + function emitNamedConstructors() { getElements(webidl.interfaces, "interface") .sort(compareName) - .forEach(EmitNamedConstructor); + .forEach(emitNamedConstructor); } - function EmitInterfaceDeclaration(i: Browser.Interface) { + function emitInterfaceDeclaration(i: Browser.Interface) { function processIName(iName: string) { return extendConflictsBaseTypes[iName] ? `${iName}Base` : iName; } @@ -898,23 +898,23 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const processedIName = processIName(i.name); if (processedIName !== i.name) { - printer.PrintlToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); + printer.printLineToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); } - printer.Printl(`interface ${processInterfaceType(i, processedIName)}`); + printer.printLine(`interface ${processInterfaceType(i, processedIName)}`); const finalExtends = [i.extends || "Object"].concat(i.implements || []) .filter(i => i !== "Object") .map(processIName); if (finalExtends && finalExtends.length) { - printer.Print(` extends ${finalExtends.join(", ")}`); + printer.print(` extends ${finalExtends.join(", ")}`); } - printer.Print(" {"); + printer.print(" {"); } /// To decide if a given method is an indexer and should be emited - function ShouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { + function shouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { if (m.getter && m.signature && m.signature[0].param && m.signature[0].param!.length === 1) { // TypeScript array indexer can only be number or string // for string, it must return a more generic type then all @@ -939,19 +939,19 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return false; } - function EmitIndexers(emitScope: EmitScope, i: Browser.Interface) { + function emitIndexers(emitScope: EmitScope, i: Browser.Interface) { if (i["overide-index-signatures"]) { - i["overide-index-signatures"]!.forEach(s => printer.Printl(`${s};`)); + i["overide-index-signatures"]!.forEach(s => printer.printLine(`${s};`)); } else { // The indices could be within either Methods or Anonymous Methods mapToArray(i.methods && i.methods.method) .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) - .filter(m => ShouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) + .filter(m => shouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) .forEach(m => { const indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; if (indexer) { - printer.Printl(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ + printer.printLine(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ type: m.signature[0].type, subtype: m.signature[0].subtype, nullable: undefined @@ -961,53 +961,53 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function EmitInterfaceEventMap(i: Browser.Interface) { + function emitInterfaceEventMap(i: Browser.Interface) { function emitInterfaceEventMapEntry(eHandler: EventHandler) { - printer.Printl(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); + printer.printLine(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); } if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - printer.Printl(`interface ${i.name}EventMap`); + printer.printLine(`interface ${i.name}EventMap`); if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { const extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); - printer.Print(` extends ${extend.join(", ")}`); + printer.print(` extends ${extend.join(", ")}`); } - printer.Print(" {"); - printer.IncreaseIndent(); + printer.print(" {"); + printer.increaseIndent(); iNameToEhList[i.name] .sort(compareName) .forEach(emitInterfaceEventMapEntry); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } } - function EmitInterface(i: Browser.Interface) { - printer.ClearStack(); - EmitInterfaceEventMap(i); + function emitInterface(i: Browser.Interface) { + printer.clearStack(); + emitInterfaceEventMap(i); - printer.ResetIndent(); - EmitInterfaceDeclaration(i); - printer.IncreaseIndent(); + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); emitConstants(i); emitEventHandlers(/*prefix*/ "", i); - EmitIndexers(EmitScope.InstanceOnly, i); + emitIndexers(EmitScope.InstanceOnly, i); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); - if (!printer.StackIsEmpty()) { - printer.PrintStackContent(); - printer.Printl("}"); - printer.Printl(""); + if (!printer.stackIsEmpty()) { + printer.printStackContent(); + printer.printLine("}"); + printer.printLine(""); } } - function EmitStaticInterface(i: Browser.Interface) { + function emitStaticInterface(i: Browser.Interface) { // Some types are static types with non-static members. For example, // NodeFilter is a static method itself, however it has an "acceptNode" method // that expects the user to implement. @@ -1021,39 +1021,39 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Because in the two cases the interface contains different things, it might be easier to // read to separate them into two functions. function emitStaticInterfaceWithNonStaticMembers() { - printer.ResetIndent(); - EmitInterfaceDeclaration(i); - printer.IncreaseIndent(); + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); emitEventHandlers(/*prefix*/ "", i); - EmitIndexers(EmitScope.InstanceOnly, i); + emitIndexers(EmitScope.InstanceOnly, i); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); - printer.Printl(`declare var ${i.name}: {`); - printer.IncreaseIndent(); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + printer.printLine(`declare var ${i.name}: {`); + printer.increaseIndent(); emitConstants(i); emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); - printer.DecreaseIndent(); - printer.Printl("};"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("};"); + printer.printLine(""); } function emitPureStaticInterface() { - printer.ResetIndent(); - EmitInterfaceDeclaration(i); - printer.IncreaseIndent(); + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); emitConstants(i); emitEventHandlers(/*prefix*/ "", i); - EmitIndexers(EmitScope.StaticOnly, i); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(`declare var ${i.name}: ${i.name};`); - printer.Printl(""); + emitIndexers(EmitScope.StaticOnly, i); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(`declare var ${i.name}: ${i.name};`); + printer.printLine(""); } if (hasNonStaticMember) { @@ -1068,34 +1068,34 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { for (const i of allNonCallbackInterfaces.sort(compareName)) { // If the static attribute has a value, it means the type doesn't have a constructor if (i.static) { - EmitStaticInterface(i); + emitStaticInterface(i); } else if (i["no-interface-object"]) { - EmitInterface(i); + emitInterface(i); } else { - EmitInterface(i); - EmitConstructor(i); + emitInterface(i); + emitConstructor(i); } } } function emitDictionary(dict: Browser.Dictionary) { if (!dict.extends || dict.extends === "Object") { - printer.Printl(`interface ${processInterfaceType(dict, dict.name)} {`); + printer.printLine(`interface ${processInterfaceType(dict, dict.name)} {`); } else { - printer.Printl(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); + printer.printLine(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); } - printer.IncreaseIndent(); + printer.increaseIndent(); if (dict.members) { mapToArray(dict.members.member) .sort(compareName) - .forEach(m => printer.Printl(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); + .forEach(m => printer.printLine(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); } - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } function emitDictionaries() { @@ -1105,7 +1105,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitTypeDef(typeDef: Browser.TypeDef) { - printer.Printl(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); + printer.printLine(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); } function emitTypeDefs() { @@ -1119,17 +1119,17 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; } - function emitTheWholeThing() { - printer.Reset(); - printer.Printl("/////////////////////////////"); + function emit() { + printer.reset(); + printer.printLine("/////////////////////////////"); if (flavor === Flavor.Worker) { - printer.Printl("/// Worker APIs"); + printer.printLine("/// Worker APIs"); } else { - printer.Printl("/// DOM APIs"); + printer.printLine("/// DOM APIs"); } - printer.Printl("/////////////////////////////"); - printer.Printl(""); + printer.printLine("/////////////////////////////"); + printer.printLine(""); emitDictionaries(); getElements(webidl["callback-interfaces"], "interface") @@ -1140,8 +1140,8 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // // Add missed interface definition from the spec // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface - printer.Printl("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); - printer.Printl(""); + printer.printLine("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); + printer.printLine(""); emitCallBackFunctions(); @@ -1149,7 +1149,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitHTMLElementTagNameMap(); emitSVGElementTagNameMap(); emitElementTagNameMap(); - EmitNamedConstructors(); + emitNamedConstructors(); } if (pollutor) { @@ -1160,7 +1160,7 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { emitTypeDefs(); emitEnums(); - return printer.GetResult(); + return printer.getResult(); } function emitIterator(i: Browser.Interface) { @@ -1185,28 +1185,28 @@ function EmitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const iterableGetter = findIterableGetter(); const lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); if (iterableGetter && lengthProperty) { - printer.Printl(`interface ${i.name} {`); - printer.IncreaseIndent(); - printer.Printl(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); - printer.DecreaseIndent(); - printer.Printl("}"); - printer.Printl(""); + printer.printLine(`interface ${i.name} {`); + printer.increaseIndent(); + printer.printLine(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); } } } function emitES6DomIterators() { - printer.Reset(); - printer.Printl("/////////////////////////////"); - printer.Printl("/// DOM ES6 APIs"); - printer.Printl("/////////////////////////////"); - printer.Printl(""); + printer.reset(); + printer.printLine("/////////////////////////////"); + printer.printLine("/// DOM ES6 APIs"); + printer.printLine("/////////////////////////////"); + printer.printLine(""); allInterfaces .sort(compareName) .forEach(emitIterator); - return printer.GetResult(); + return printer.getResult(); } } @@ -1245,7 +1245,7 @@ function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, ts if (webidl.interfaces) worker.interfaces!.interface = filterProperties(webidl.interfaces.interface, isKnownWorkerName); if (webidl.typedefs) worker.typedefs!.typedef = webidl.typedefs.typedef.filter(t => knownWorkerTypes.has(t["new-type"])); - const result = EmitWebIDl(worker, Flavor.Worker); + const result = emitWebIDl(worker, Flavor.Worker); fs.writeFileSync(tsWorkerOutput, result); return; } @@ -1256,13 +1256,13 @@ function emitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { && o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1); }); - const result = EmitWebIDl(browser, Flavor.Web); + const result = emitWebIDl(browser, Flavor.Web); fs.writeFileSync(tsWebOutput, result); return; } function emitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { - fs.writeFileSync(tsWebES6Output, EmitWebIDl(webidl, Flavor.ES6Iterators)); + fs.writeFileSync(tsWebES6Output, emitWebIDl(webidl, Flavor.ES6Iterators)); } function emitDom() { From 959ffb103d9e1bacce71ee8312e0f677eb573bf1 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:44:56 -0800 Subject: [PATCH 80/93] Fix URL constructor --- baselines/dom.generated.d.ts | 2 +- baselines/webworker.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 10 +++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 2997cf38b..51f6e967a 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -13382,7 +13382,7 @@ interface URL { declare var URL: { prototype: URL; - new(url: string, base?: string): URL; + new(url: string, base?: string | URL): URL; createObjectURL(object: any, options?: ObjectURLOptions): string; revokeObjectURL(url: string): void; }; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 9b497998a..fdca68222 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -1387,7 +1387,7 @@ interface URL { declare var URL: { prototype: URL; - new(url: string, base?: string): URL; + new(url: string, base?: string | URL): URL; createObjectURL(object: any, options?: ObjectURLOptions): string; revokeObjectURL(url: string): void; }; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index a00475503..e15ea0f27 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1152,7 +1152,7 @@ "[name: number]: DataTransferItem" ] }, - "DataTransferItem":{ + "DataTransferItem": { "name": "DataTransferItem", "methods": { "method": { @@ -1801,6 +1801,14 @@ } } } + }, + "URL": { + "name": "URL", + "constructor": { + "override-signatures": [ + "new(url: string, base?: string | URL): URL" + ] + } } } }, From 8f529c38b78451e17557880cf5c9fec77541f10f Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:47:38 -0800 Subject: [PATCH 81/93] Make unknown Window types in Worker environment `object` instead of `any` --- baselines/dom.generated.d.ts | 2 +- baselines/webworker.generated.d.ts | 20 ++++++++++---------- src/index.ts | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 51f6e967a..ec7cf6883 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -331,7 +331,7 @@ interface ExtendableMessageEventInit extends ExtendableEventInit { lastEventId?: string; origin?: string; ports?: MessagePort[] | null; - source?: any; + source?: object | ServiceWorker | MessagePort | null; } interface FetchEventInit extends ExtendableEventInit { diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index fdca68222..4c63ba887 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -90,7 +90,7 @@ interface MessageEventInit extends EventInit { lastEventId?: string; origin?: string; ports?: MessagePort[]; - source?: any; + source?: object | null; } interface NotificationEventInit extends ExtendableEventInit { @@ -143,7 +143,7 @@ interface RequestInit { redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; - signal?: any; + signal?: object; window?: any; } @@ -298,10 +298,10 @@ interface Console { info(message?: any, ...optionalParams: any[]): void; log(message?: any, ...optionalParams: any[]): void; markTimeline(label?: string): void; - msIsIndependentlyComposed(element: any): boolean; + msIsIndependentlyComposed(element: object): boolean; profile(reportName?: string): void; profileEnd(): void; - select(element: any): void; + select(element: object): void; table(...tabularData: any[]): void; time(label?: string): void; timeEnd(label?: string): void; @@ -475,7 +475,7 @@ interface Event { readonly isTrusted: boolean; returnValue: boolean; readonly scoped: boolean; - readonly srcElement: any; + readonly srcElement: object | null; readonly target: EventTarget | null; readonly timeStamp: number; readonly type: string; @@ -642,7 +642,7 @@ interface FormData { declare var FormData: { prototype: FormData; new(): FormData; - new(form: any): FormData; + new(form: object): FormData; }; interface GlobalFetch { @@ -920,8 +920,8 @@ interface MessageEvent extends Event { readonly data: any; readonly origin: string; readonly ports: ReadonlyArray; - readonly source: any; - initMessageEvent(type: string, bubbles: boolean, cancelable: boolean, data: any, origin: string, lastEventId: string, source: any): void; + readonly source: object | null; + initMessageEvent(type: string, bubbles: boolean, cancelable: boolean, data: any, origin: string, lastEventId: string, source: object): void; } declare var MessageEvent: { @@ -1234,7 +1234,7 @@ interface Request extends Body { readonly redirect: RequestRedirect; readonly referrer: string; readonly referrerPolicy: ReferrerPolicy; - readonly signal: any; + readonly signal: object | null; readonly type: RequestType; readonly url: string; clone(): Request; @@ -1581,7 +1581,7 @@ interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget { readonly responseText: string; responseType: XMLHttpRequestResponseType; readonly responseURL: string; - readonly responseXML: any; + readonly responseXML: object | null; readonly status: number; readonly statusText: string; timeout: number; diff --git a/src/index.ts b/src/index.ts index 1006dd2fd..3b19f54a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -418,8 +418,8 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { default: if (integerTypes.has(objDomType)) return "number"; if (extendedTypes.has(objDomType)) return objDomType; - if (flavor === Flavor.Worker && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document" || objDomType === "AbortSignal" || objDomType === "HTMLFormElement")) return "any"; - if (flavor === Flavor.Web && objDomType === "Client") return "any"; + if (flavor === Flavor.Worker && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document" || objDomType === "AbortSignal" || objDomType === "HTMLFormElement")) return "object"; + if (flavor === Flavor.Web && objDomType === "Client") return "object"; // Name of an interface / enum / dict. Just return itself if (allInterfacesMap[objDomType] || allCallbackFunctionsMap[objDomType] || From 22e1fa5d7afd6fee3040307b48d6fa3a6cf71982 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 15:56:13 -0800 Subject: [PATCH 82/93] Make `EventTarget.addEventListener` second argument required --- baselines/dom.generated.d.ts | 2 +- baselines/webworker.generated.d.ts | 2 +- inputfiles/overridingTypes.json | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index ec7cf6883..830ab1e79 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -4643,7 +4643,7 @@ interface EventSourceInit { } interface EventTarget { - addEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; dispatchEvent(evt: Event): boolean; removeEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 4c63ba887..0c2efc4c5 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -504,7 +504,7 @@ interface EventListenerObject { } interface EventTarget { - addEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; dispatchEvent(evt: Event): boolean; removeEventListener(type: string, listener?: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index e15ea0f27..2347f5fd1 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1809,6 +1809,19 @@ "new(url: string, base?: string | URL): URL" ] } + }, + "EventTarget": { + "name": "EventTarget", + "methods": { + "method": { + "addEventListener": { + "name": "addEventListener", + "override-signatures": [ + "addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void" + ] + } + } + } } } }, From 12c83d51701997b48490296c9d730b446c89639d Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 1 Mar 2018 16:04:09 -0800 Subject: [PATCH 83/93] Use `[]` instead of `Array` all the time --- baselines/dom.generated.d.ts | 4 ++-- baselines/webworker.generated.d.ts | 2 +- src/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 830ab1e79..bb55293d8 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2724,7 +2724,7 @@ declare var CSSSupportsRule: { interface Cache { add(request: Request | string): Promise; - addAll(requests: Array): Promise; + addAll(requests: (Request | string)[]): Promise; delete(request: Request | string, options?: CacheQueryOptions): Promise; keys(request?: Request | string, options?: CacheQueryOptions): Promise; match(request: Request | string, options?: CacheQueryOptions): Promise; @@ -9290,7 +9290,7 @@ interface Navigator extends NavigatorID, NavigatorOnLine, NavigatorContentUtils, readonly pointerEnabled: boolean; readonly serviceWorker: ServiceWorkerContainer; readonly webdriver: boolean; - getGamepads(): Array; + getGamepads(): (Gamepad | null)[]; getVRDisplays(): Promise; javaEnabled(): boolean; msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 0c2efc4c5..558c1e681 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -218,7 +218,7 @@ interface Body { interface Cache { add(request: Request | string): Promise; - addAll(requests: Array): Promise; + addAll(requests: (Request | string)[]): Promise; delete(request: Request | string, options?: CacheQueryOptions): Promise; keys(request?: Request | string, options?: CacheQueryOptions): Promise; match(request: Request | string, options?: CacheQueryOptions): Promise; diff --git a/src/index.ts b/src/index.ts index 3b19f54a4..49d84da36 100644 --- a/src/index.ts +++ b/src/index.ts @@ -381,7 +381,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function makeArrayType(elementType: string): string { - return elementType.indexOf("|") > -1 ? `Array<${elementType}>` : `${elementType}[]`; + return elementType.indexOf("|") > -1 ? `(${elementType})[]` : `${elementType}[]`; } function covertDomTypeToTsTypeSimple(objDomType: string): string { From e8977573540ec5c282621c8f3f75161d3a4481c6 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 5 Mar 2018 12:35:47 -0800 Subject: [PATCH 84/93] Remove `Window.browser` property --- baselines/dom.generated.d.ts | 1 - inputfiles/overridingTypes.json | 4 ---- inputfiles/removedTypes.json | 7 +++++++ src/index.ts | 1 - src/types.d.ts | 1 - 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index bb55293d8..72c05725d 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -14889,7 +14889,6 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window URL: typeof URL; URLSearchParams: typeof URLSearchParams; readonly applicationCache: ApplicationCache; - readonly browser: BhxBrowser; readonly caches: CacheStorage; readonly clientInformation: Navigator; readonly closed: boolean; diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 2347f5fd1..033236a6b 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -198,10 +198,6 @@ "ontouchstart": { "name": "ontouchstart", "override-type": "(ev: TouchEvent) => any" - }, - "browser": { - "name": "browser", - "do-no-expose-on-polluter": 1 } } }, diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index 988ec22e3..c89df6293 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -31,6 +31,13 @@ "initStorageEvent": {} } } + }, + "Window": { + "properties": { + "property": { + "browser": {} + } + } } } }, diff --git a/src/index.ts b/src/index.ts index 49d84da36..e7ea5cc54 100644 --- a/src/index.ts +++ b/src/index.ts @@ -714,7 +714,6 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (i.properties) { mapToArray(i.properties.property) .filter(p => !isCovariantEventHandler(i, p)) - .filter(p => !(prefix.startsWith("declare var") && p["do-no-expose-on-polluter"])) .sort(compareName) .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); } diff --git a/src/types.d.ts b/src/types.d.ts index d8c6dbde4..ff2b12a90 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -77,7 +77,6 @@ export type Property = { "interop"?: 1; "exposed"?: string; "constant"?: 1; - "do-no-expose-on-polluter"?: 1 }; export type Event = { From 3c9471d8da12f89e661fd1f35a545c2368519a8c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 5 Mar 2018 12:58:27 -0800 Subject: [PATCH 85/93] Rename `ClientType` to `ClientTypes` to avoid conflicts with exisiting type names on DT --- baselines/dom.generated.d.ts | 4 ++-- baselines/webworker.generated.d.ts | 6 +++--- inputfiles/addedTypes.json | 4 ++++ inputfiles/knownWorkerTypes.json | 3 +-- inputfiles/overridingTypes.json | 22 ++++++++++++++++++++++ inputfiles/removedTypes.json | 4 +++- 6 files changed, 35 insertions(+), 8 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 72c05725d..ec0f8219f 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -153,7 +153,7 @@ interface ClientData { interface ClientQueryOptions { includeReserved?: boolean; includeUncontrolled?: boolean; - type?: ClientType; + type?: ClientTypes; } interface CloseEventInit extends EventInit { @@ -15956,6 +15956,7 @@ type RequestInfo = Request | string; type USVString = string; type payloadtype = number; type BufferSource = ArrayBuffer | ArrayBufferView; +type ClientTypes = "window" | "worker" | "sharedworker" | "all"; type AppendMode = "segments" | "sequence"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "suspended" | "running" | "closed"; @@ -15965,7 +15966,6 @@ type CanPlayTypeResult = "" | "maybe" | "probably"; type CanvasFillRule = "nonzero" | "evenodd"; type ChannelCountMode = "max" | "clamped-max" | "explicit"; type ChannelInterpretation = "speakers" | "discrete"; -type ClientType = "window" | "worker" | "sharedworker" | "all"; type DisplayCaptureSurfaceType = "monitor" | "window" | "application" | "browser"; type DistanceModelType = "linear" | "inverse" | "exponential"; type EndOfStreamError = "network" | "decode"; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 558c1e681..5e44945e2 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -21,7 +21,7 @@ interface CacheQueryOptions { interface ClientQueryOptions { includeReserved?: boolean; includeUncontrolled?: boolean; - type?: ClientType; + type?: ClientTypes; } interface CloseEventInit extends EventInit { @@ -247,7 +247,7 @@ declare var CacheStorage: { interface Client { readonly id: string; readonly reserved: boolean; - readonly type: ClientType; + readonly type: ClientTypes; readonly url: string; postMessage(message: any, transfer?: any[]): void; } @@ -1743,8 +1743,8 @@ type IDBKeyPath = string; type RequestInfo = Request | string; type USVString = string; type payloadtype = number; +type ClientTypes = "window" | "worker" | "sharedworker" | "all"; type BinaryType = "blob" | "arraybuffer"; -type ClientType = "window" | "worker" | "sharedworker" | "all"; type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique"; type IDBRequestReadyState = "pending" | "done"; type IDBTransactionMode = "readonly" | "readwrite" | "versionchange"; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 8ce4d40e9..7f6452ff5 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2992,6 +2992,10 @@ { "new-type": "BufferSource", "override-type": "ArrayBuffer | ArrayBufferView" + }, + { + "new-type": "ClientTypes", + "override-type": "\"window\" | \"worker\" | \"sharedworker\" | \"all\"" } ] } diff --git a/inputfiles/knownWorkerTypes.json b/inputfiles/knownWorkerTypes.json index 5fea173d6..94d54e323 100644 --- a/inputfiles/knownWorkerTypes.json +++ b/inputfiles/knownWorkerTypes.json @@ -161,7 +161,7 @@ "ServiceWorkerState", "VisibilityState", "XMLHttpRequestResponseType", - "ClientType", + "ClientTypes", "FrameType", "BinaryType", "ProgressEventInit", @@ -178,5 +178,4 @@ "BlobPropertyBag", "FilePropertyBag", "IDBArrayKey" - ] \ No newline at end of file diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 033236a6b..cd830d3f0 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1818,6 +1818,17 @@ } } } + }, + "Client": { + "name": "Client", + "properties": { + "property": { + "type": { + "name": "type", + "override-type": "ClientTypes" + } + } + } } } }, @@ -1906,6 +1917,17 @@ } } } + }, + "ClientQueryOptions": { + "name": "ClientQueryOptions", + "members": { + "member": { + "type": { + "name": "type", + "override-type": "ClientTypes" + } + } + } } } }, diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index c89df6293..6b72c2254 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -11,7 +11,9 @@ "interface": {} }, "enums": { - "enum": {} + "enum": { + "ClientType": {} + } }, "interfaces": { "interface": { From 3e5afdbb21ecb01e7588e215fe2068c455c55fee Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 5 Mar 2018 13:08:26 -0800 Subject: [PATCH 86/93] Use cpx to copy --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bffe934da..e8c878af1 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "index.js", "scripts": { "build": "tsc --p ./tsconfig.json && node ./lib/index.js", - "baseline-accept": "copy /Y generated\\* baselines\\", + "baseline-accept": "cpx generated\\* baselines\\", "test": "tsc --p ./tsconfig.json && node ./lib/index.js && node ./lib/test.js" }, "repository": { @@ -21,6 +21,7 @@ "homepage": "https://github.com/Microsoft/TSJS-lib-generator#readme", "dependencies": { "@types/node": "^9.4.6", + "cpx": "^1.5.0", "typescript": "next" } } From 64d4ccadc126795a7f7f2c38564b90e6012e9bbe Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 5 Mar 2018 14:02:41 -0800 Subject: [PATCH 87/93] Remove iife's --- src/helpers.ts | 58 ++++++++++++-- src/index.ts | 210 +++++++++++++++++-------------------------------- 2 files changed, 122 insertions(+), 146 deletions(-) diff --git a/src/helpers.ts b/src/helpers.ts index 49cb9b77d..918942cd4 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -1,13 +1,7 @@ -export function filter(obj: any, fn: (o: any, n: string | undefined) => boolean) { +export function filter(obj: any, fn: (o: any, n: string | undefined) => boolean): any { if (typeof obj === "object") { if (Array.isArray(obj)) { - const newArray: any[] = []; - for (const e of obj) { - if (fn(e, undefined)) { - newArray.push(filter(e, fn)); - } - } - return newArray; + return mapDefined(obj, e => fn(e, undefined) ? filter(e, fn) : undefined); } else { const result: any = {}; @@ -85,14 +79,62 @@ export function mapToArray(m: Record): T[] { return Object.keys(m || {}).map(k => m[k]); } +export function arrayToMap(array: ReadonlyArray, makeKey: (value: T) => string, makeValue: (value: T) => U): Record { + const result: Record = {}; + for (const value of array) { + result[makeKey(value)] = makeValue(value); + } + return result; +} + export function map(obj: Record | undefined, fn: (o: T) => U): U[] { return Object.keys(obj || {}).map(k => fn(obj![k])); } +export function mapDefined(array: ReadonlyArray | undefined, mapFn: (x: T, i: number) => U | undefined): U[] { + const result: U[] = []; + if (array) { + for (let i = 0; i < array.length; i++) { + const mapped = mapFn(array[i], i); + if (mapped !== undefined) { + result.push(mapped); + } + } + } + return result; +} + export function toNameMap(array: T[]) { const result: Record = {}; for (const value of array) { result[value.name] = value; } return result; +} + +export function isArray(value: any): value is ReadonlyArray<{}> { + return Array.isArray ? Array.isArray(value) : value instanceof Array; +} + +export function flatMap(array: ReadonlyArray | undefined, mapfn: (x: T, i: number) => U | ReadonlyArray | undefined): U[] { + let result: U[] | undefined; + if (array) { + result = []; + for (let i = 0; i < array.length; i++) { + const v = mapfn(array[i], i); + if (v) { + if (isArray(v)) { + result.push(...v); + } + else { + result.push(v); + } + } + } + } + return result || []; +} + +export function concat(a: T[] | undefined, b: T[] | undefined): T[] { + return !a ? b || [] : a.concat(b || []); } \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index e7ea5cc54..12beb007f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,9 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; -import { filter, merge, filterProperties, mapToArray, distinct, map, toNameMap } from "./helpers"; +import { filter, merge, filterProperties, mapToArray, distinct, map, toNameMap, mapDefined, arrayToMap, flatMap } from "./helpers"; -enum Flavor { +const enum Flavor { Web, Worker, ES6Iterators @@ -50,36 +50,56 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, }; + const evetTypeMap: Record = { + "abort": "UIEvent", + "complete": "Event", + "click": "MouseEvent", + "error": "ErrorEvent", + "load": "Event", + "loadstart": "Event", + "progress": "ProgressEvent", + "readystatechange": "ProgressEvent", + "resize": "UIEvent", + "timeout": "ProgressEvent" + }; + /// Event name to event type map - const eNameToEType = (() => { - function eventType(e: Browser.Event) { - switch (e.name) { - case "abort": return "UIEvent"; - case "complete": return "Event"; - case "click": return "MouseEvent"; - case "error": return "ErrorEvent"; - case "load": return "Event"; - case "loadstart": return "Event"; - case "progress": return "ProgressEvent"; - case "readystatechange": return "ProgressEvent"; - case "resize": return "UIEvent"; - case "timeout": return "ProgressEvent"; - default: return e.type; - } - } - const result: Record = {}; - for (const i of allNonCallbackInterfaces) { - if (i.events) { - for (const e of i.events.event) { - result[e.name] = eventType(e); - } - } - } - return result; - })(); + const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => evetTypeMap[e.name] || e.type); /// Tag name to element name map - const tagNameToEleName = (() => { + const tagNameToEleName = getTagNameToElementNameMap(); + + /// Interface name to all its implemented / inherited interfaces name list map + /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] + const iNameToIDependList = arrayToMap(allNonCallbackInterfaces, i=>i.name, i => getExtendList(i.name).concat(getImplementList(i.name))); + + /// Distinct event type list, used in the "createEvent" function + const distinctETypeList = distinct( + flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event.map(e => e.type) : []) + .concat(allNonCallbackInterfaces.filter(i => i.extends === "Event" && i.name.endsWith("Event")).map(i => i.name)) + ).sort(); + + /// Interface name to its related eventhandler name list map + /// Note: + /// In the xml file, each event handler has + /// 1. eventhanlder name: "onready", "onabort" etc. + /// 2. the event name that it handles: "ready", "SVGAbort" etc. + /// And they don't NOT just differ by an "on" prefix! + const iNameToEhList = arrayToMap(allInterfaces, i => i.name, i => + !i.properties ? [] : mapDefined(mapToArray(i.properties.property), p => { + const eventName = p["event-handler"]!; + if (eventName === undefined) return undefined; + const eType = eNameToEType[eventName] || defaultEventType; + const eventType = eType === "Event" || dependsOn(eType, "Event") ? eType : defaultEventType; + return { name: p.name, eventName, eventType }; + })); + + // Map of interface.Name -> List of base interfaces with event handlers + const iNameToEhParents = arrayToMap(allInterfaces, i => i.name, getParentsWithEventHandler); + + return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emit(); + + function getTagNameToElementNameMap() { const preferedElementMap: Record = { "script": "HTMLScriptElement", "a": "HTMLAnchorElement", @@ -104,122 +124,36 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } return result; - })(); - - /// Interface name to all its implemented / inherited interfaces name list map - /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - const iNameToIDependList = (() => { - function getExtendList(iName: string): string[] { - const i = allInterfacesMap[iName]; - if (!i || !i.extends || i.extends === "Object") return []; - else return getExtendList(i.extends).concat(i.extends); - } - - function getImplementList(iName: string) { - const i = allInterfacesMap[iName]; - return i && i.implements || []; - } - - const nativeINameToIDependList: Record = {}; - - for (const i of allNonCallbackInterfaces) { - nativeINameToIDependList[i.name] = getExtendList(i.name).concat(getImplementList(i.name)); - } - return nativeINameToIDependList; - })(); - - /// Distinct event type list, used in the "createEvent" function - const distinctETypeList = (() => { - const eventsMap: Record = {}; - - for (const i of allNonCallbackInterfaces) { - if (i.events) { - for (const e of i.events.event) { - eventsMap[e.type] = true; - } - } + } - if (i.extends === "Event" && i.name.endsWith("Event")) { - eventsMap[i.name] = true; - } - } + function getExtendList(iName: string): string[] { + const i = allInterfacesMap[iName]; + if (!i || !i.extends || i.extends === "Object") return []; + else return getExtendList(i.extends).concat(i.extends); + } - return Object.keys(eventsMap).sort(); - })(); + function getImplementList(iName: string) { + const i = allInterfacesMap[iName]; + return i && i.implements || []; + } - /// Interface name to its related eventhandler name list map - /// Note: - /// In the xml file, each event handler has - /// 1. eventhanlder name: "onready", "onabort" etc. - /// 2. the event name that it handles: "ready", "SVGAbort" etc. - /// And they don't NOT just differ by an "on" prefix! - const iNameToEhList = (() => { - function getEventTypeFromHandler(p: Browser.Property) { - const eType = - // Check the "event-handler" attribute of the event handler property, - // which is the corresponding event name - p["event-handler"] && - // The list is partly obtained from the table at - // http://www.w3.org/TR/DOM-Level-3-Events/#dom-events-conformance #4.1 - eNameToEType[p["event-handler"]!] || defaultEventType; - - return eType === "Event" || dependsOn(eType, "Event") - ? eType - : defaultEventType; - } - - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - function getEventHandler(i: Browser.Interface) { - const ownEventHandler = - i.properties - ? mapToArray(i.properties.property).filter(p => p["event-handler"]).map(p => ({ - name: p.name, - eventName: p["event-handler"]!, - eventType: getEventTypeFromHandler(p) - })) - : []; - return ownEventHandler; - } - - const result: Record = {}; - for (const i of allInterfaces) { - result[i.name] = getEventHandler(i); + function getParentsWithEventHandler(i: Browser.Interface) { + function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { + return iNameToEhList[i.name] && iNameToEhList[i.name].length ? [i] : getParentsWithEventHandler(i); } - return result; - })(); - - // Map of interface.Name -> List of base interfaces with event handlers - const iNameToEhParents = (() => { - function hasHandler(i: Browser.Interface) { - return iNameToEhList[i.name] && iNameToEhList[i.name].length; - } - // Get all the event handlers from an interface and also from its inherited / implemented interfaces - function getParentsWithEventHandler(i: Browser.Interface) { - function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { - return hasHandler(i) ? [i] : getParentsWithEventHandler(i); - } - - const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; - const implementedParentsWithEventHandler = - i.implements - ? i.implements.reduce((acc, i) => { - acc.push(...getParentEventHandler(allInterfacesMap[i])); - return acc; - }, []) - : []; - - return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); - } + const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; - const result: Record = {}; - for (const i of allInterfaces) { - result[i.name] = getParentsWithEventHandler(i); - } - return result; - })(); + const implementedParentsWithEventHandler = + i.implements + ? i.implements.reduce((acc, i) => { + acc.push(...getParentEventHandler(allInterfacesMap[i])); + return acc; + }, []) + : []; - return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emit(); + return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); + } // Used to decide if a member should be emitted given its static property and // the intended scope level. From 5d59e970af21d128c5bf855e6ce20bbb79b7e990 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 5 Mar 2018 14:16:39 -0800 Subject: [PATCH 88/93] Code review comments --- src/index.ts | 74 +++++++++++++++++++++++----------------------------- 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/src/index.ts b/src/index.ts index 12beb007f..8cbff8df2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,6 +34,8 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); + const tsKeywords = new Set(["default", "delete", "continue"]); + const allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl.mixins, "mixin")); const allInterfaces = getElements(webidl.interfaces, "interface").concat( getElements(webidl["callback-interfaces"], "interface"), @@ -71,7 +73,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Interface name to all its implemented / inherited interfaces name list map /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - const iNameToIDependList = arrayToMap(allNonCallbackInterfaces, i=>i.name, i => getExtendList(i.name).concat(getImplementList(i.name))); + const iNameToIDependList = arrayToMap(allNonCallbackInterfaces, i => i.name, i => getExtendList(i.name).concat(getImplementList(i.name))); /// Distinct event type list, used in the "createEvent" function const distinctETypeList = distinct( @@ -84,7 +86,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// In the xml file, each event handler has /// 1. eventhanlder name: "onready", "onabort" etc. /// 2. the event name that it handles: "ready", "SVGAbort" etc. - /// And they don't NOT just differ by an "on" prefix! + /// And they don't just differ by an "on" prefix! const iNameToEhList = arrayToMap(allInterfaces, i => i.name, i => !i.properties ? [] : mapDefined(mapToArray(i.properties.property), p => { const eventName = p["event-handler"]!; @@ -111,7 +113,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function resolveElementConflict(tagName: string, iNames: string[]) { const name = preferedElementMap[tagName] || ""; - if (iNames.indexOf(name) !== -1) return name; + if (iNames.includes(name)) return name; throw new Error("Element conflict occured! Typename: " + tagName); } @@ -143,34 +145,19 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; - - const implementedParentsWithEventHandler = - i.implements - ? i.implements.reduce((acc, i) => { - acc.push(...getParentEventHandler(allInterfacesMap[i])); - return acc; - }, []) - : []; - + const implementedParentsWithEventHandler = i.implements ? flatMap(i.implements, i => getParentEventHandler(allInterfacesMap[i])) : []; return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); } // Used to decide if a member should be emitted given its static property and // the intended scope level. function matchScope(scope: EmitScope, x: Browser.Method) { - if (scope === EmitScope.All) return true; - else if (x.static) return scope === EmitScope.StaticOnly; - else return scope === EmitScope.InstanceOnly; + return scope === EmitScope.All || (scope === EmitScope.StaticOnly) === !!x.static; } /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. function adjustParamName(name: string) { - switch (name) { - case "default": return "_default"; - case "delete": return "_delete"; - case "continue": return "_continue"; - default: return name; - } + return tsKeywords.has(name) ? `_${name}` : name; } function getElements(a: Record> | undefined, k: K): T[] { @@ -186,19 +173,27 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function getEventTypeInInterface(eName: string, i: Browser.Interface) { - if (eName === "abort" && (i.name === "IDBDatabase" || i.name === "IDBTransaction" || i.name === "MSBaseReader" || i.name === "XMLHttpRequestEventTarget")) return "Event"; - else if (eName === "readystatechange" && i.name === "XMLHttpRequest") return "Event"; - else if (i.name === "XMLHttpRequest") return "ProgressEvent"; - else { - const ownEventType = tryGetMatchingEventType(eName, i); - return ownEventType || eNameToEType[eName] || "Event"; + switch (i.name) { + case "XMLHttpRequest": + if (eName === "readystatechange") return "Event"; + else return "ProgressEvent"; + + case "IDBDatabase": + case "IDBTransaction": + case "MSBaseReader": + case "XMLHttpRequestEventTarget": + if (eName === "abort") return "Event"; + + default: + const ownEventType = tryGetMatchingEventType(eName, i); + return ownEventType || eNameToEType[eName] || "Event"; } } /// Determine if interface1 depends on interface2 function dependsOn(i1Name: string, i2Name: string) { - return iNameToIDependList[i2Name] && iNameToIDependList[i1Name] - ? iNameToIDependList[i1Name].indexOf(i2Name) > -1 + return iNameToIDependList[i1Name] + ? iNameToIDependList[i1Name].includes(i2Name) : i2Name === "Object"; } @@ -315,13 +310,10 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function makeArrayType(elementType: string): string { - return elementType.indexOf("|") > -1 ? `(${elementType})[]` : `${elementType}[]`; + return elementType.includes("|") ? `(${elementType})[]` : `${elementType}[]`; } function covertDomTypeToTsTypeSimple(objDomType: string): string { - if (typeof objDomType !== "string") { - throw new Error("Invalid type " + JSON.stringify(objDomType)); - } switch (objDomType) { case "AbortMode": return "String"; case "bool": @@ -362,9 +354,9 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Name of a type alias. Just return itself if (allTypeDefsMap.has(objDomType)) return objDomType; // Union types - if (objDomType.indexOf(" or ") > -1) { + if (objDomType.includes(" or ")) { const allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); - return allTypes.indexOf("any") > -1 ? "any" : allTypes.join(" | "); + return allTypes.includes("any") ? "any" : allTypes.join(" | "); } else { // Check if is array type, which looks like "sequence" @@ -390,8 +382,8 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { case "any": return "any"; case "void": return "void"; default: - if (originalType.indexOf("| null") > -1) return originalType; - else if (originalType.indexOf("=>") > -1) return "(" + originalType + ") | null"; + if (originalType.includes("| null")) return originalType; + else if (originalType.includes("=>")) return "(" + originalType + ") | null"; else return originalType + " | null"; } } @@ -465,7 +457,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { printer.increaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; - if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") === -1) { + if (iNameToIDependList[value] && !iNameToIDependList[value].includes("SVGElement")) { printer.printLine(`"${e.toLowerCase()}": ${value};`); } } @@ -479,7 +471,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { printer.increaseIndent(); for (const e of Object.keys(tagNameToEleName).sort()) { const value = tagNameToEleName[e]; - if (iNameToIDependList[value] && iNameToIDependList[value].indexOf("SVGElement") > -1) { + if (iNameToIDependList[value] && iNameToIDependList[value].includes("SVGElement")) { printer.printLine(`"${e.toLowerCase()}": ${value};`); } } @@ -501,7 +493,7 @@ function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; for (const x of distinctETypeList) { printer.printLine(`createEvent(eventInterface: "${x}"): ${x};`); - if (hasPlurals.indexOf(x) > -1) { + if (hasPlurals.includes(x)) { printer.printLine(`createEvent(eventInterface: "${x}s"): ${x};`); } } @@ -1186,7 +1178,7 @@ function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, ts function emitDomWeb(webidl: Browser.WebIdl, tsWebOutput: string) { const browser = filter(webidl, o => { return !(o && typeof o.exposed === "string" - && o.exposed.indexOf("Worker") > -1 && o.exposed.indexOf("Window") <= -1); + && o.exposed.includes("Worker") && !o.exposed.includes("Window")); }); const result = emitWebIDl(browser, Flavor.Web); From bb7a313d3a49a7d8dadaedf0043a8234841545c5 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 6 Mar 2018 13:07:49 -0800 Subject: [PATCH 89/93] Refator emit function to a diffrent file --- src/emitter.ts | 1134 +++++++++++++++++++++++++++++++++++++++++++++++ src/index.ts | 1135 +----------------------------------------------- 2 files changed, 1136 insertions(+), 1133 deletions(-) create mode 100644 src/emitter.ts diff --git a/src/emitter.ts b/src/emitter.ts new file mode 100644 index 000000000..dce32408f --- /dev/null +++ b/src/emitter.ts @@ -0,0 +1,1134 @@ +import * as Browser from "./types"; +import { mapToArray, distinct, map, toNameMap, mapDefined, arrayToMap, flatMap } from "./helpers"; + +export const enum Flavor { + Web, + Worker, + ES6Iterators +} + +export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { + + // Note: + // Eventhandler's name and the eventName are not just off by "on". + // For example, handlers named "onabort" may handle "SVGAbort" event in the XML file + type EventHandler = { name: string; eventName: string; eventType: string }; + + /// Decide which members of a function to emit + enum EmitScope { + StaticOnly, + InstanceOnly, + All + } + + const pollutor = getElements(webidl.interfaces, "interface").find(i => flavor === Flavor.Web ? !!i["primary-global"] : !!i.global); + + const defaultEventType = "Event"; + + // Global print target + const printer = createTextWriter("\n"); + + // Extended types used but not defined in the spec + const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); + const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); + + const tsKeywords = new Set(["default", "delete", "continue"]); + + const allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl.mixins, "mixin")); + const allInterfaces = getElements(webidl.interfaces, "interface").concat( + getElements(webidl["callback-interfaces"], "interface"), + getElements(webidl.mixins, "mixin")); + + const allInterfacesMap = toNameMap(allInterfaces); + const allDictionariesMap = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; + const allEnumsMap = webidl.enums ? webidl.enums.enum : {}; + const allCallbackFunctionsMap = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; + const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); + + const extendConflictsBaseTypes: Record }> = { + "AudioContext": { extendType: ["OfflineContext"], memberNames: new Set(["suspend"]) }, + "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, + }; + + const evetTypeMap: Record = { + "abort": "UIEvent", + "complete": "Event", + "click": "MouseEvent", + "error": "ErrorEvent", + "load": "Event", + "loadstart": "Event", + "progress": "ProgressEvent", + "readystatechange": "ProgressEvent", + "resize": "UIEvent", + "timeout": "ProgressEvent" + }; + + /// Event name to event type map + const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => evetTypeMap[e.name] || e.type); + + /// Tag name to element name map + const tagNameToEleName = getTagNameToElementNameMap(); + + /// Interface name to all its implemented / inherited interfaces name list map + /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] + const iNameToIDependList = arrayToMap(allNonCallbackInterfaces, i => i.name, i => getExtendList(i.name).concat(getImplementList(i.name))); + + /// Distinct event type list, used in the "createEvent" function + const distinctETypeList = distinct( + flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event.map(e => e.type) : []) + .concat(allNonCallbackInterfaces.filter(i => i.extends === "Event" && i.name.endsWith("Event")).map(i => i.name)) + ).sort(); + + /// Interface name to its related eventhandler name list map + /// Note: + /// In the xml file, each event handler has + /// 1. eventhanlder name: "onready", "onabort" etc. + /// 2. the event name that it handles: "ready", "SVGAbort" etc. + /// And they don't just differ by an "on" prefix! + const iNameToEhList = arrayToMap(allInterfaces, i => i.name, i => + !i.properties ? [] : mapDefined(mapToArray(i.properties.property), p => { + const eventName = p["event-handler"]!; + if (eventName === undefined) return undefined; + const eType = eNameToEType[eventName] || defaultEventType; + const eventType = eType === "Event" || dependsOn(eType, "Event") ? eType : defaultEventType; + return { name: p.name, eventName, eventType }; + })); + + // Map of interface.Name -> List of base interfaces with event handlers + const iNameToEhParents = arrayToMap(allInterfaces, i => i.name, getParentsWithEventHandler); + + return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emit(); + + function getTagNameToElementNameMap() { + const preferedElementMap: Record = { + "script": "HTMLScriptElement", + "a": "HTMLAnchorElement", + "title": "HTMLTitleElement", + "style": "HTMLStyleElement", + "td": "HTMLTableDataCellElement", + "th": "HTMLTableHeaderCellElement" + }; + + function resolveElementConflict(tagName: string, iNames: string[]) { + const name = preferedElementMap[tagName] || ""; + if (iNames.includes(name)) return name; + throw new Error("Element conflict occured! Typename: " + tagName); + } + + const result: Record = {}; + for (const i of allNonCallbackInterfaces) { + if (i.element) { + for (const e of i.element) { + result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; + } + } + } + return result; + } + + function getExtendList(iName: string): string[] { + const i = allInterfacesMap[iName]; + if (!i || !i.extends || i.extends === "Object") return []; + else return getExtendList(i.extends).concat(i.extends); + } + + function getImplementList(iName: string) { + const i = allInterfacesMap[iName]; + return i && i.implements || []; + } + + function getParentsWithEventHandler(i: Browser.Interface) { + function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { + return iNameToEhList[i.name] && iNameToEhList[i.name].length ? [i] : getParentsWithEventHandler(i); + } + + const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; + const implementedParentsWithEventHandler = i.implements ? flatMap(i.implements, i => getParentEventHandler(allInterfacesMap[i])) : []; + return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); + } + + // Used to decide if a member should be emitted given its static property and + // the intended scope level. + function matchScope(scope: EmitScope, x: Browser.Method) { + return scope === EmitScope.All || (scope === EmitScope.StaticOnly) === !!x.static; + } + + /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. + function adjustParamName(name: string) { + return tsKeywords.has(name) ? `_${name}` : name; + } + + function getElements(a: Record> | undefined, k: K): T[] { + return a ? mapToArray(a[k]) : []; + } + + function tryGetMatchingEventType(eName: string, i: Browser.Interface) { + if (i.events) { + const event = i.events.event.find(e => e.name === eName); + return event && event.type; + } + return undefined; + } + + function getEventTypeInInterface(eName: string, i: Browser.Interface) { + switch (i.name) { + case "XMLHttpRequest": + if (eName === "readystatechange") return "Event"; + else return "ProgressEvent"; + + case "IDBDatabase": + case "IDBTransaction": + case "MSBaseReader": + case "XMLHttpRequestEventTarget": + if (eName === "abort") return "Event"; + + default: + const ownEventType = tryGetMatchingEventType(eName, i); + return ownEventType || eNameToEType[eName] || "Event"; + } + } + + /// Determine if interface1 depends on interface2 + function dependsOn(i1Name: string, i2Name: string) { + return iNameToIDependList[i1Name] + ? iNameToIDependList[i1Name].includes(i2Name) + : i2Name === "Object"; + } + + // Some params have the type of "(DOMString or DOMString [] or Number)" + // we need to transform it into [“DOMString", "DOMString []", "Number"] + function decomposeTypes(t: string) { + return t.replace(/[\(\)]/g, "").split(" or "); + } + + function createTextWriter(newLine: string) { + let output: string; + let indent: number; + let lineStart: boolean; + let stack: { content: string, indent: number }[] = []; + + const indentStrings: string[] = ["", " "]; + function getIndentString(level: number) { + if (indentStrings[level] === undefined) { + indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; + } + return indentStrings[level]; + } + + function write(s: string) { + if (lineStart) { + output += getIndentString(indent); + lineStart = false; + } + output += s; + } + + function reset(): void { + output = ""; + indent = 0; + lineStart = true; + stack = []; + } + + function writeLine() { + if (!lineStart) { + output += newLine; + lineStart = true; + } + } + + reset(); + + return { + + reset: reset, + + resetIndent() { indent = 0; }, + increaseIndent() { indent++; }, + decreaseIndent() { indent--; }, + + print: write, + printLine(c: string) { writeLine(); write(c); }, + + printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, + + clearStack() { stack = []; }, + stackIsEmpty() { return stack.length === 0; }, + printLineToStack(content: string) { stack.push({ content, indent }); }, + printStackContent() { + stack.forEach(e => { + const oldIndent = indent; + indent = e.indent; + this.printLine(e.content); + indent = oldIndent; + }); + }, + + getResult() { return output; } + }; + } + + /// Get typescript type using object dom type, object name, and it's associated interface name + function convertDomTypeToTsType(obj: Browser.Typed): string { + if (obj["override-type"]) return obj["override-type"]!; + if (!obj.type) throw new Error("Missing type " + JSON.stringify(obj)); + const type = convertDomTypeToTsTypeWorker(obj); + return type.nullable ? makeNullable(type.name) : type.name; + } + + function convertDomTypeToTsTypeWorker(obj: Browser.Typed): { name: string; nullable: boolean } { + let type; + if (typeof obj.type === "string") { + type = { name: covertDomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; + } + else { + const types = obj.type.map(convertDomTypeToTsTypeWorker); + const isAny = types.find(t => t.name === "any"); + if (isAny) { + type = { + name: "any", + nullable: false + }; + } + else { + type = { + name: types.map(t => t.name).join(" | "), + nullable: !!types.find(t => t.nullable) + }; + } + } + + const subtype = obj.subtype ? convertDomTypeToTsTypeWorker(obj.subtype) : undefined; + const subtypeString = subtype ? subtype.nullable ? makeNullable(subtype.name) : subtype.name : undefined; + + return { + name: (type.name === "Array" && subtypeString) ? makeArrayType(subtypeString) : `${type.name}${subtypeString ? `<${subtypeString}>` : ""}`, + nullable: type.nullable + }; + } + + function makeArrayType(elementType: string): string { + return elementType.includes("|") ? `(${elementType})[]` : `${elementType}[]`; + } + + function covertDomTypeToTsTypeSimple(objDomType: string): string { + switch (objDomType) { + case "AbortMode": return "String"; + case "bool": + case "boolean": + case "Boolean": return "boolean"; + case "CanvasPixelArray": return "number[]"; + case "DOMHighResTimeStamp": return "number"; + case "DOMString": return "string"; + case "DOMTimeStamp": return "number"; + case "EndOfStreamError": return "number"; + case "EventListener": return "EventListenerOrEventListenerObject"; + case "double": + case "float": return "number"; + case "object": return "any"; + case "ReadyState": return "string"; + case "ByteString": return "string"; + case "USVString": return "string"; + case "sequence": return "Array"; + case "FrozenArray": return "ReadonlyArray"; + case "UnrestrictedDouble": + case "unrestricted double": return "number"; + case "any": + case "BufferSource": + case "Date": + case "Function": + case "Promise": + case "void": return objDomType; + default: + if (integerTypes.has(objDomType)) return "number"; + if (extendedTypes.has(objDomType)) return objDomType; + if (flavor === Flavor.Worker && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document" || objDomType === "AbortSignal" || objDomType === "HTMLFormElement")) return "object"; + if (flavor === Flavor.Web && objDomType === "Client") return "object"; + // Name of an interface / enum / dict. Just return itself + if (allInterfacesMap[objDomType] || + allCallbackFunctionsMap[objDomType] || + allDictionariesMap[objDomType] || + allEnumsMap[objDomType]) return objDomType; + // Name of a type alias. Just return itself + if (allTypeDefsMap.has(objDomType)) return objDomType; + // Union types + if (objDomType.includes(" or ")) { + const allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); + return allTypes.includes("any") ? "any" : allTypes.join(" | "); + } + else { + // Check if is array type, which looks like "sequence" + const unescaped = objDomType; // System.Web.HttpUtility.HtmlDecode(objDomType) + const genericMatch = /^(\w+)<([\w, <>]+)>$/; + const match = genericMatch.exec(unescaped); + if (match) { + const tName: string = covertDomTypeToTsTypeSimple(match[1]); + const paramName: string = covertDomTypeToTsTypeSimple(match[2]); + return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; + } + if (objDomType.endsWith("[]")) { + return covertDomTypeToTsTypeSimple(objDomType.replace("[]", "").trim()) + "[]"; + } + } + } + + throw new Error("Unkown DOM type: " + objDomType); + } + + function makeNullable(originalType: string) { + switch (originalType) { + case "any": return "any"; + case "void": return "void"; + default: + if (originalType.includes("| null")) return originalType; + else if (originalType.includes("=>")) return "(" + originalType + ") | null"; + else return originalType + " | null"; + } + } + + function convertDomTypeToNullableTsType(obj: Browser.Typed) { + const resolvedType = convertDomTypeToTsType(obj); + return obj.nullable ? makeNullable(resolvedType) : resolvedType; + } + + function emitConstant(c: Browser.Constant) { + printer.printLine(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); + } + + function emitConstants(i: Browser.Interface) { + if (i.constants) { + mapToArray(i.constants.constant) + .sort(compareName) + .forEach(emitConstant); + } + } + + function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { + return expectedMName === m.name && + m.signature && m.signature.length === 1 && + convertDomTypeToNullableTsType(m.signature[0]) === expectedMType && + m.signature[0].param && m.signature[0].param!.length === 1 && + convertDomTypeToTsType(m.signature[0].param![0]) === expectedParamType; + } + + function processInterfaceType(i: Browser.Interface | Browser.Dictionary, name: string) { + return i["type-parameters"] ? name + "<" + i["type-parameters"]!.join(", ") + ">" : name; + } + + /// Emit overloads for the createElement method + function emitCreateElementOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { + printer.printLine("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); + printer.printLine("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); + } + } + + /// Emit overloads for the getElementsByTagName method + function emitGetElementsByTagNameOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); + printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); + } + } + + /// Emit overloads for the querySelector method + function emitQuerySelectorOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "querySelector", "Element | null", "string")) { + printer.printLine("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); + printer.printLine("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); + printer.printLine("querySelector(selectors: string): E | null;"); + } + } + + /// Emit overloads for the querySelectorAll method + function emitQuerySelectorAllOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { + printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); + printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); + printer.printLine("querySelectorAll(selectors: string): NodeListOf;"); + } + } + + function emitHTMLElementTagNameMap() { + printer.printLine("interface HTMLElementTagNameMap {"); + printer.increaseIndent(); + for (const e of Object.keys(tagNameToEleName).sort()) { + const value = tagNameToEleName[e]; + if (iNameToIDependList[value] && !iNameToIDependList[value].includes("SVGElement")) { + printer.printLine(`"${e.toLowerCase()}": ${value};`); + } + } + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + + function emitSVGElementTagNameMap() { + printer.printLine("interface SVGElementTagNameMap {"); + printer.increaseIndent(); + for (const e of Object.keys(tagNameToEleName).sort()) { + const value = tagNameToEleName[e]; + if (iNameToIDependList[value] && iNameToIDependList[value].includes("SVGElement")) { + printer.printLine(`"${e.toLowerCase()}": ${value};`); + } + } + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + + function emitElementTagNameMap() { + printer.printLine("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); + printer.printLine("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); + printer.printLine(""); + } + + /// Emit overloads for the createEvent method + function emitCreateEventOverloads(m: Browser.Method) { + if (matchSingleParamMethodSignature(m, "createEvent", "Event", "string")) { + // Emit plurals. For example, "Events", "MutationEvents" + const hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; + for (const x of distinctETypeList) { + printer.printLine(`createEvent(eventInterface: "${x}"): ${x};`); + if (hasPlurals.includes(x)) { + printer.printLine(`createEvent(eventInterface: "${x}s"): ${x};`); + } + } + printer.printLine("createEvent(eventInterface: string): Event;"); + } + } + + /// Generate the parameters string for function signatures + function paramsToString(ps: Browser.Param[]) { + function paramToString(p: Browser.Param) { + const isOptional = !p.variadic && p.optional; + const pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); + return (p.variadic ? "..." : "") + + adjustParamName(p.name) + + (isOptional ? "?: " : ": ") + + pType + + (p.variadic ? "[]" : ""); + } + return ps.map(paramToString).join(", "); + } + + function emitCallBackInterface(i: Browser.Interface) { + if (i.name === "EventListener") { + printer.printLine(`interface ${i.name} {`); + printer.printWithAddedIndent("(evt: Event): void;"); + printer.printLine("}"); + } + else { + const methods = mapToArray(i.methods.method); + const m = methods[0]; + const overload = m.signature[0]; + const paramsString = overload.param ? paramsToString(overload.param) : ""; + const returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; + printer.printLine(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); + } + printer.printLine(""); + } + + function emitCallBackFunction(cb: Browser.CallbackFunction) { + printer.printLine(`interface ${cb.name} {`); + printer.increaseIndent(); + emitSignatures(cb, "", "", s => printer.printLine(s)); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + + function emitCallBackFunctions() { + getElements(webidl["callback-functions"], "callback-function") + .sort(compareName) + .forEach(emitCallBackFunction); + } + + function emitEnum(e: Browser.Enum) { + printer.printLine(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); + } + + function emitEnums() { + getElements(webidl.enums, "enum") + .sort(compareName) + .forEach(emitEnum); + } + + function emitEventHandlerThis(prefix: string, i: Browser.Interface) { + if (prefix === "") { + return `this: ${i.name}, `; + } + else { + return pollutor ? `this: ${pollutor.name}, ` : ""; + } + } + + // A covariant EventHandler is one that is defined in a parent interface as then redefined in current interface with a more specific argument types + // These patterns are unsafe, and flagged as error under --strictFunctionTypes. + // Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined + function isCovariantEventHandler(i: Browser.Interface, p: Browser.Property) { + return isEventHandler(p) && + iNameToEhParents[i.name] && iNameToEhParents[i.name].length > 0 && + !!iNameToEhParents[i.name].find( + i => iNameToEhList[i.name] && iNameToEhList[i.name].length > 0 && + !!iNameToEhList[i.name].find(e => e.name === p.name)); + } + + function isEventHandler(p: Browser.Property) { + return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; + } + + function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { + function printLine(content: string) { + if (conflictedMembers.has(p.name)) { + printer.printLineToStack(content); + } + else { + printer.printLine(content); + } + } + + emitComments(p, printLine); + + // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 + if (p.name === "name" && i.name === "Window" && emitScope === EmitScope.All) { + printLine("declare const name: never;"); + } + else { + + let pType: string; + if (p["override-type"]) { + pType = p["override-type"]!; + } + else { + if (isEventHandler(p)) { + // Sometimes event handlers with the same name may actually handle different + // events in different interfaces. For example, "onerror" handles "ErrorEvent" + // normally, but in "SVGSVGElement" it handles "SVGError" event instead. + const eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; + pType = `(${emitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; + } + else { + pType = convertDomTypeToTsType(p); + } + } + const requiredModifier = !p.required || p.required === "1" ? "" : "?"; + pType = p.nullable ? makeNullable(pType) : pType; + const readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; + printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); + } + } + + function emitComments(entity: { comment?: string; deprecated?: 1 } | undefined, print: (s: string) => void) { + if (entity) { + if (entity.comment) { + print(entity.comment); + } + if (entity.deprecated) { + print(`/** @deprecated */`); + } + } + } + + function emitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + // Note: the schema file shows the property doesn't have "static" attribute, + // therefore all properties are emited for the instance type. + if (emitScope !== EmitScope.StaticOnly) { + if (i.properties) { + mapToArray(i.properties.property) + .filter(p => !isCovariantEventHandler(i, p)) + .sort(compareName) + .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); + } + } + } + + function emitMethod(prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { + function printLine(content: string) { + if (m.name && conflictedMembers.has(m.name)) { + printer.printLineToStack(content); + } + else { + printer.printLine(content); + } + } + + emitComments(m, printLine); + + switch (m.name) { + case "createElement": return emitCreateElementOverloads(m); + case "createEvent": return emitCreateEventOverloads(m); + case "getElementsByTagName": return emitGetElementsByTagNameOverloads(m); + case "querySelector": return emitQuerySelectorOverloads(m); + case "querySelectorAll": return emitQuerySelectorAllOverloads(m); + } + emitSignatures(m, prefix, m.name, printLine); + } + + function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { + const paramsString = s.param ? paramsToString(s.param) : ""; + let returnType = convertDomTypeToTsType(s); + returnType = s.nullable ? makeNullable(returnType) : returnType; + printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); + } + + function emitSignatures(method: { signature?: Browser.Signature[], "override-signatures"?: string[], "additional-signatures"?: string[] }, prefix: string, name: string, printLine: (s: string) => void) { + if (method["override-signatures"]) { + method["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); + } + else if (method.signature) { + if (method["additional-signatures"]) { + method["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); + } + method.signature.forEach(sig => emitSignature(sig, prefix, name, printLine)); + } + } + + function emitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { + // If prefix is not empty, then this is the global declare function addEventListener, we want to override this + // Otherwise, this is EventTarget.addEventListener, we want to keep that. + function mFilter(m: Browser.Method) { + return matchScope(emitScope, m) && + !(prefix !== "" && (m.name === "addEventListener" || m.name === "removeEventListener")); + } + + if (i.methods) { + mapToArray(i.methods.method) + .filter(mFilter) + .sort(compareName) + .forEach(m => emitMethod(prefix, i, m, conflictedMembers)); + } + + // The window interface inherited some methods from "Object", + // which need to explicitly exposed + if (i.name === "Window" && prefix === "declare function ") { + printer.printLine("declare function toString(): string;"); + } + } + + /// Emit the properties and methods of a given interface + function emitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { + const conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); + emitProperties(prefix, emitScope, i, conflictedMembers); + const methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + emitMethods(methodPrefix, emitScope, i, conflictedMembers); + } + + /// Emit all members of every interfaces at the root level. + /// Called only once on the global polluter object + function emitAllMembers(i: Browser.Interface) { + const prefix = "declare var "; + emitMembers(prefix, EmitScope.All, i); + + for (const relatedIName of iNameToIDependList[i.name]) { + const i = allInterfacesMap[relatedIName]; + if (i) { + emitAllMembers(i); + } + } + } + + function emitEventHandlers(prefix: string, i: Browser.Interface) { + function getOptionsType(addOrRemove: string) { + return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; + } + + const fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; + + function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { + printer.printLine(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + } + + function emitStringEventHandler(addOrRemove: string) { + printer.printLine(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + } + + function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { + if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { + emitTypedEventHandler(fPrefix, addOrRemove, i); + return true; + } + if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { + iNameToEhParents[i.name] + .sort(compareName) + .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i)); + return true; + } + return false; + } + + function emitEventHandler(addOrRemove: string) { + if (tryEmitTypedEventHandlerForInterface(addOrRemove)) { + // only emit the string event handler if we just emited a typed handler + emitStringEventHandler(addOrRemove); + } + } + + emitEventHandler("add"); + emitEventHandler("remove"); + } + + function emitConstructorSignature(i: Browser.Interface) { + const constructor = typeof i.constructor === "object" ? i.constructor : undefined; + + emitComments(constructor, s => printer.print(s)); + + // Emit constructor signature + if (constructor) { + emitSignatures(constructor, "", "new", s => printer.printLine(s)); + } + else { + printer.printLine(`new(): ${i.name};`); + } + } + + function emitConstructor(i: Browser.Interface) { + printer.printLine(`declare var ${i.name}: {`); + printer.increaseIndent(); + + printer.printLine(`prototype: ${i.name};`); + emitConstructorSignature(i); + emitConstants(i); + emitMembers("", EmitScope.StaticOnly, i); + + printer.decreaseIndent(); + printer.printLine("};"); + printer.printLine(""); + } + + function emitNamedConstructor(i: Browser.Interface) { + const nc = i["named-constructor"]; + if (nc) { + printer.printLine(`declare var ${nc.name}: {`); + nc.signature.forEach(s => printer.printWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); + printer.printLine(`};`); + } + } + + /// Emit all the named constructors at root level + function emitNamedConstructors() { + getElements(webidl.interfaces, "interface") + .sort(compareName) + .forEach(emitNamedConstructor); + } + + function emitInterfaceDeclaration(i: Browser.Interface) { + function processIName(iName: string) { + return extendConflictsBaseTypes[iName] ? `${iName}Base` : iName; + } + + const processedIName = processIName(i.name); + + if (processedIName !== i.name) { + printer.printLineToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); + } + + printer.printLine(`interface ${processInterfaceType(i, processedIName)}`); + + const finalExtends = [i.extends || "Object"].concat(i.implements || []) + .filter(i => i !== "Object") + .map(processIName); + + if (finalExtends && finalExtends.length) { + printer.print(` extends ${finalExtends.join(", ")}`); + } + printer.print(" {"); + } + + /// To decide if a given method is an indexer and should be emited + function shouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { + if (m.getter && m.signature && m.signature[0].param && m.signature[0].param!.length === 1) { + // TypeScript array indexer can only be number or string + // for string, it must return a more generic type then all + // the other properties, following the Dictionary pattern + switch (convertDomTypeToTsType(m.signature[0].param![0])) { + case "number": return true; + case "string": + if (convertDomTypeToTsType(m.signature[0]) === "any") { + return true; + } + const sig = m.signature[0]; + const mTypes = distinct(i.methods && map(i.methods.method, m => m.signature && m.signature.length && m.signature[0].type || "void").filter(t => t !== "void") || []); + const amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct + const pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct + + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === sig.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === sig.type; + if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 1) return amTypes[0] === pTypes[0] && amTypes[0] === sig.type; + if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 1) return mTypes[0] === amTypes[0] && amTypes[0] === pTypes[0] && amTypes[0] === sig.type; + } + } + return false; + } + + function emitIndexers(emitScope: EmitScope, i: Browser.Interface) { + if (i["overide-index-signatures"]) { + i["overide-index-signatures"]!.forEach(s => printer.printLine(`${s};`)); + } + else { + // The indices could be within either Methods or Anonymous Methods + mapToArray(i.methods && i.methods.method) + .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) + .filter(m => shouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) + .forEach(m => { + const indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; + if (indexer) { + printer.printLine(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ + type: m.signature[0].type, + subtype: m.signature[0].subtype, + nullable: undefined + })};`); + } + }); + } + } + + function emitInterfaceEventMap(i: Browser.Interface) { + function emitInterfaceEventMapEntry(eHandler: EventHandler) { + printer.printLine(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); + } + + if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { + printer.printLine(`interface ${i.name}EventMap`); + if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { + const extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); + printer.print(` extends ${extend.join(", ")}`); + } + printer.print(" {"); + printer.increaseIndent(); + iNameToEhList[i.name] + .sort(compareName) + .forEach(emitInterfaceEventMapEntry); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + } + + function emitInterface(i: Browser.Interface) { + printer.clearStack(); + emitInterfaceEventMap(i); + + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); + + emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); + emitConstants(i); + emitEventHandlers(/*prefix*/ "", i); + emitIndexers(EmitScope.InstanceOnly, i); + + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + + if (!printer.stackIsEmpty()) { + printer.printStackContent(); + printer.printLine("}"); + printer.printLine(""); + } + } + + function emitStaticInterface(i: Browser.Interface) { + // Some types are static types with non-static members. For example, + // NodeFilter is a static method itself, however it has an "acceptNode" method + // that expects the user to implement. + const hasNonStaticMethod = i.methods && !!mapToArray(i.methods.method).find(m => !m.static); + const hasProperty = i.properties && mapToArray(i.properties.property).find(p => !p.static); + const hasNonStaticMember = hasNonStaticMethod || hasProperty; + + // For static types with non-static members, we put the non-static members into an + // interface, and put the static members into the object literal type of 'declare var' + // For static types with only static members, we put everything in the interface. + // Because in the two cases the interface contains different things, it might be easier to + // read to separate them into two functions. + function emitStaticInterfaceWithNonStaticMembers() { + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); + + emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); + emitEventHandlers(/*prefix*/ "", i); + emitIndexers(EmitScope.InstanceOnly, i); + + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + printer.printLine(`declare var ${i.name}: {`); + printer.increaseIndent(); + emitConstants(i); + emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); + printer.decreaseIndent(); + printer.printLine("};"); + printer.printLine(""); + } + + function emitPureStaticInterface() { + printer.resetIndent(); + emitInterfaceDeclaration(i); + printer.increaseIndent(); + + emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); + emitConstants(i); + emitEventHandlers(/*prefix*/ "", i); + emitIndexers(EmitScope.StaticOnly, i); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(`declare var ${i.name}: ${i.name};`); + printer.printLine(""); + } + + if (hasNonStaticMember) { + emitStaticInterfaceWithNonStaticMembers(); + } + else { + emitPureStaticInterface(); + } + } + + function emitNonCallbackInterfaces() { + for (const i of allNonCallbackInterfaces.sort(compareName)) { + // If the static attribute has a value, it means the type doesn't have a constructor + if (i.static) { + emitStaticInterface(i); + } + else if (i["no-interface-object"]) { + emitInterface(i); + } + else { + emitInterface(i); + emitConstructor(i); + } + } + } + + function emitDictionary(dict: Browser.Dictionary) { + if (!dict.extends || dict.extends === "Object") { + printer.printLine(`interface ${processInterfaceType(dict, dict.name)} {`); + } + else { + printer.printLine(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); + } + printer.increaseIndent(); + if (dict.members) { + mapToArray(dict.members.member) + .sort(compareName) + .forEach(m => printer.printLine(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); + } + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + + function emitDictionaries() { + getElements(webidl.dictionaries, "dictionary") + .sort(compareName) + .forEach(emitDictionary); + } + + function emitTypeDef(typeDef: Browser.TypeDef) { + printer.printLine(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); + } + + function emitTypeDefs() { + if (webidl.typedefs) { + webidl.typedefs.typedef + .forEach(emitTypeDef); + } + } + + function compareName(c1: { name: string }, c2: { name: string }) { + return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; + } + + function emit() { + printer.reset(); + printer.printLine("/////////////////////////////"); + if (flavor === Flavor.Worker) { + printer.printLine("/// Worker APIs"); + } + else { + printer.printLine("/// DOM APIs"); + } + printer.printLine("/////////////////////////////"); + printer.printLine(""); + + emitDictionaries(); + getElements(webidl["callback-interfaces"], "interface") + .sort(compareName) + .forEach(i => emitCallBackInterface(i)); + emitNonCallbackInterfaces(); + + // // Add missed interface definition from the spec + // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface + + printer.printLine("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); + printer.printLine(""); + + emitCallBackFunctions(); + + if (flavor !== Flavor.Worker) { + emitHTMLElementTagNameMap(); + emitSVGElementTagNameMap(); + emitElementTagNameMap(); + emitNamedConstructors(); + } + + if (pollutor) { + emitAllMembers(pollutor); + emitEventHandlers("declare var ", pollutor); + } + + emitTypeDefs(); + emitEnums(); + + return printer.getResult(); + } + + function emitIterator(i: Browser.Interface) { + + // check anonymous unsigned long getter and length property + const isIterableGetter = (m: Browser.Method) => + m.getter === 1 && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && typeof m.signature[0].param![0].type === "string" && integerTypes.has(m.signature[0].param![0].type); + + function findIterableGetter() { + const anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); + + if (anonymousGetter) return anonymousGetter; + else if (i.methods) return mapToArray(i.methods.method).find(isIterableGetter); + else return undefined; + } + + function findLengthProperty(p: Browser.Property) { + return p.name === "length" && typeof p.type === "string" && integerTypes.has(p.type); + } + + if (i.name !== "Window" && i.properties) { + const iterableGetter = findIterableGetter(); + const lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); + if (iterableGetter && lengthProperty) { + printer.printLine(`interface ${i.name} {`); + printer.increaseIndent(); + printer.printLine(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); + printer.decreaseIndent(); + printer.printLine("}"); + printer.printLine(""); + } + } + } + + function emitES6DomIterators() { + printer.reset(); + printer.printLine("/////////////////////////////"); + printer.printLine("/// DOM ES6 APIs"); + printer.printLine("/////////////////////////////"); + printer.printLine(""); + + allInterfaces + .sort(compareName) + .forEach(emitIterator); + + return printer.getResult(); + } +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 8cbff8df2..df8a041d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,1139 +1,8 @@ import * as Browser from "./types"; import * as fs from "fs"; import * as path from "path"; -import { filter, merge, filterProperties, mapToArray, distinct, map, toNameMap, mapDefined, arrayToMap, flatMap } from "./helpers"; - -const enum Flavor { - Web, - Worker, - ES6Iterators -} - -function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { - - // Note: - // Eventhandler's name and the eventName are not just off by "on". - // For example, handlers named "onabort" may handle "SVGAbort" event in the XML file - type EventHandler = { name: string; eventName: string; eventType: string }; - - /// Decide which members of a function to emit - enum EmitScope { - StaticOnly, - InstanceOnly, - All - } - - const pollutor = getElements(webidl.interfaces, "interface").find(i => flavor === Flavor.Web ? !!i["primary-global"] : !!i.global); - - const defaultEventType = "Event"; - - // Global print target - const printer = createTextWriter("\n"); - - // Extended types used but not defined in the spec - const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); - const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); - - const tsKeywords = new Set(["default", "delete", "continue"]); - - const allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl.mixins, "mixin")); - const allInterfaces = getElements(webidl.interfaces, "interface").concat( - getElements(webidl["callback-interfaces"], "interface"), - getElements(webidl.mixins, "mixin")); - - const allInterfacesMap = toNameMap(allInterfaces); - const allDictionariesMap = webidl.dictionaries ? webidl.dictionaries.dictionary : {}; - const allEnumsMap = webidl.enums ? webidl.enums.enum : {}; - const allCallbackFunctionsMap = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; - const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); - - const extendConflictsBaseTypes: Record }> = { - "AudioContext": { extendType: ["OfflineContext"], memberNames: new Set(["suspend"]) }, - "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, - }; - - const evetTypeMap: Record = { - "abort": "UIEvent", - "complete": "Event", - "click": "MouseEvent", - "error": "ErrorEvent", - "load": "Event", - "loadstart": "Event", - "progress": "ProgressEvent", - "readystatechange": "ProgressEvent", - "resize": "UIEvent", - "timeout": "ProgressEvent" - }; - - /// Event name to event type map - const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => evetTypeMap[e.name] || e.type); - - /// Tag name to element name map - const tagNameToEleName = getTagNameToElementNameMap(); - - /// Interface name to all its implemented / inherited interfaces name list map - /// e.g. If i1 depends on i2, i2 should be in dependencyMap.[i1.Name] - const iNameToIDependList = arrayToMap(allNonCallbackInterfaces, i => i.name, i => getExtendList(i.name).concat(getImplementList(i.name))); - - /// Distinct event type list, used in the "createEvent" function - const distinctETypeList = distinct( - flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event.map(e => e.type) : []) - .concat(allNonCallbackInterfaces.filter(i => i.extends === "Event" && i.name.endsWith("Event")).map(i => i.name)) - ).sort(); - - /// Interface name to its related eventhandler name list map - /// Note: - /// In the xml file, each event handler has - /// 1. eventhanlder name: "onready", "onabort" etc. - /// 2. the event name that it handles: "ready", "SVGAbort" etc. - /// And they don't just differ by an "on" prefix! - const iNameToEhList = arrayToMap(allInterfaces, i => i.name, i => - !i.properties ? [] : mapDefined(mapToArray(i.properties.property), p => { - const eventName = p["event-handler"]!; - if (eventName === undefined) return undefined; - const eType = eNameToEType[eventName] || defaultEventType; - const eventType = eType === "Event" || dependsOn(eType, "Event") ? eType : defaultEventType; - return { name: p.name, eventName, eventType }; - })); - - // Map of interface.Name -> List of base interfaces with event handlers - const iNameToEhParents = arrayToMap(allInterfaces, i => i.name, getParentsWithEventHandler); - - return flavor === Flavor.ES6Iterators ? emitES6DomIterators() : emit(); - - function getTagNameToElementNameMap() { - const preferedElementMap: Record = { - "script": "HTMLScriptElement", - "a": "HTMLAnchorElement", - "title": "HTMLTitleElement", - "style": "HTMLStyleElement", - "td": "HTMLTableDataCellElement", - "th": "HTMLTableHeaderCellElement" - }; - - function resolveElementConflict(tagName: string, iNames: string[]) { - const name = preferedElementMap[tagName] || ""; - if (iNames.includes(name)) return name; - throw new Error("Element conflict occured! Typename: " + tagName); - } - - const result: Record = {}; - for (const i of allNonCallbackInterfaces) { - if (i.element) { - for (const e of i.element) { - result[e.name] = result[e.name] ? resolveElementConflict(e.name, [result[e.name], i.name]) : i.name; - } - } - } - return result; - } - - function getExtendList(iName: string): string[] { - const i = allInterfacesMap[iName]; - if (!i || !i.extends || i.extends === "Object") return []; - else return getExtendList(i.extends).concat(i.extends); - } - - function getImplementList(iName: string) { - const i = allInterfacesMap[iName]; - return i && i.implements || []; - } - - function getParentsWithEventHandler(i: Browser.Interface) { - function getParentEventHandler(i: Browser.Interface): Browser.Interface[] { - return iNameToEhList[i.name] && iNameToEhList[i.name].length ? [i] : getParentsWithEventHandler(i); - } - - const extendedParentWithEventHandler = allInterfacesMap[i.extends] && getParentEventHandler(allInterfacesMap[i.extends]) || []; - const implementedParentsWithEventHandler = i.implements ? flatMap(i.implements, i => getParentEventHandler(allInterfacesMap[i])) : []; - return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); - } - - // Used to decide if a member should be emitted given its static property and - // the intended scope level. - function matchScope(scope: EmitScope, x: Browser.Method) { - return scope === EmitScope.All || (scope === EmitScope.StaticOnly) === !!x.static; - } - - /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. - function adjustParamName(name: string) { - return tsKeywords.has(name) ? `_${name}` : name; - } - - function getElements(a: Record> | undefined, k: K): T[] { - return a ? mapToArray(a[k]) : []; - } - - function tryGetMatchingEventType(eName: string, i: Browser.Interface) { - if (i.events) { - const event = i.events.event.find(e => e.name === eName); - return event && event.type; - } - return undefined; - } - - function getEventTypeInInterface(eName: string, i: Browser.Interface) { - switch (i.name) { - case "XMLHttpRequest": - if (eName === "readystatechange") return "Event"; - else return "ProgressEvent"; - - case "IDBDatabase": - case "IDBTransaction": - case "MSBaseReader": - case "XMLHttpRequestEventTarget": - if (eName === "abort") return "Event"; - - default: - const ownEventType = tryGetMatchingEventType(eName, i); - return ownEventType || eNameToEType[eName] || "Event"; - } - } - - /// Determine if interface1 depends on interface2 - function dependsOn(i1Name: string, i2Name: string) { - return iNameToIDependList[i1Name] - ? iNameToIDependList[i1Name].includes(i2Name) - : i2Name === "Object"; - } - - // Some params have the type of "(DOMString or DOMString [] or Number)" - // we need to transform it into [“DOMString", "DOMString []", "Number"] - function decomposeTypes(t: string) { - return t.replace(/[\(\)]/g, "").split(" or "); - } - - function createTextWriter(newLine: string) { - let output: string; - let indent: number; - let lineStart: boolean; - let stack: { content: string, indent: number }[] = []; - - const indentStrings: string[] = ["", " "]; - function getIndentString(level: number) { - if (indentStrings[level] === undefined) { - indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; - } - return indentStrings[level]; - } - - function write(s: string) { - if (lineStart) { - output += getIndentString(indent); - lineStart = false; - } - output += s; - } - - function reset(): void { - output = ""; - indent = 0; - lineStart = true; - stack = []; - } - - function writeLine() { - if (!lineStart) { - output += newLine; - lineStart = true; - } - } - - reset(); - - return { - - reset: reset, - - resetIndent() { indent = 0; }, - increaseIndent() { indent++; }, - decreaseIndent() { indent--; }, - - print: write, - printLine(c: string) { writeLine(); write(c); }, - - printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, - - clearStack() { stack = []; }, - stackIsEmpty() { return stack.length === 0; }, - printLineToStack(content: string) { stack.push({ content, indent }); }, - printStackContent() { - stack.forEach(e => { - const oldIndent = indent; - indent = e.indent; - this.printLine(e.content); - indent = oldIndent; - }); - }, - - getResult() { return output; } - }; - } - - /// Get typescript type using object dom type, object name, and it's associated interface name - function convertDomTypeToTsType(obj: Browser.Typed): string { - if (obj["override-type"]) return obj["override-type"]!; - if (!obj.type) throw new Error("Missing type " + JSON.stringify(obj)); - const type = convertDomTypeToTsTypeWorker(obj); - return type.nullable ? makeNullable(type.name) : type.name; - } - - function convertDomTypeToTsTypeWorker(obj: Browser.Typed): { name: string; nullable: boolean } { - let type; - if (typeof obj.type === "string") { - type = { name: covertDomTypeToTsTypeSimple(obj.type), nullable: !!obj.nullable }; - } - else { - const types = obj.type.map(convertDomTypeToTsTypeWorker); - const isAny = types.find(t => t.name === "any"); - if (isAny) { - type = { - name: "any", - nullable: false - }; - } - else { - type = { - name: types.map(t => t.name).join(" | "), - nullable: !!types.find(t => t.nullable) - }; - } - } - - const subtype = obj.subtype ? convertDomTypeToTsTypeWorker(obj.subtype) : undefined; - const subtypeString = subtype ? subtype.nullable ? makeNullable(subtype.name) : subtype.name : undefined; - - return { - name: (type.name === "Array" && subtypeString) ? makeArrayType(subtypeString) : `${type.name}${subtypeString ? `<${subtypeString}>` : ""}`, - nullable: type.nullable - }; - } - - function makeArrayType(elementType: string): string { - return elementType.includes("|") ? `(${elementType})[]` : `${elementType}[]`; - } - - function covertDomTypeToTsTypeSimple(objDomType: string): string { - switch (objDomType) { - case "AbortMode": return "String"; - case "bool": - case "boolean": - case "Boolean": return "boolean"; - case "CanvasPixelArray": return "number[]"; - case "DOMHighResTimeStamp": return "number"; - case "DOMString": return "string"; - case "DOMTimeStamp": return "number"; - case "EndOfStreamError": return "number"; - case "EventListener": return "EventListenerOrEventListenerObject"; - case "double": - case "float": return "number"; - case "object": return "any"; - case "ReadyState": return "string"; - case "ByteString": return "string"; - case "USVString": return "string"; - case "sequence": return "Array"; - case "FrozenArray": return "ReadonlyArray"; - case "UnrestrictedDouble": - case "unrestricted double": return "number"; - case "any": - case "BufferSource": - case "Date": - case "Function": - case "Promise": - case "void": return objDomType; - default: - if (integerTypes.has(objDomType)) return "number"; - if (extendedTypes.has(objDomType)) return objDomType; - if (flavor === Flavor.Worker && (objDomType === "Element" || objDomType === "Window" || objDomType === "Document" || objDomType === "AbortSignal" || objDomType === "HTMLFormElement")) return "object"; - if (flavor === Flavor.Web && objDomType === "Client") return "object"; - // Name of an interface / enum / dict. Just return itself - if (allInterfacesMap[objDomType] || - allCallbackFunctionsMap[objDomType] || - allDictionariesMap[objDomType] || - allEnumsMap[objDomType]) return objDomType; - // Name of a type alias. Just return itself - if (allTypeDefsMap.has(objDomType)) return objDomType; - // Union types - if (objDomType.includes(" or ")) { - const allTypes: string[] = decomposeTypes(objDomType).map(t => covertDomTypeToTsTypeSimple(t.replace("?", ""))); - return allTypes.includes("any") ? "any" : allTypes.join(" | "); - } - else { - // Check if is array type, which looks like "sequence" - const unescaped = objDomType; // System.Web.HttpUtility.HtmlDecode(objDomType) - const genericMatch = /^(\w+)<([\w, <>]+)>$/; - const match = genericMatch.exec(unescaped); - if (match) { - const tName: string = covertDomTypeToTsTypeSimple(match[1]); - const paramName: string = covertDomTypeToTsTypeSimple(match[2]); - return tName === "Array" ? paramName + "[]" : tName + "<" + paramName + ">"; - } - if (objDomType.endsWith("[]")) { - return covertDomTypeToTsTypeSimple(objDomType.replace("[]", "").trim()) + "[]"; - } - } - } - - throw new Error("Unkown DOM type: " + objDomType); - } - - function makeNullable(originalType: string) { - switch (originalType) { - case "any": return "any"; - case "void": return "void"; - default: - if (originalType.includes("| null")) return originalType; - else if (originalType.includes("=>")) return "(" + originalType + ") | null"; - else return originalType + " | null"; - } - } - - function convertDomTypeToNullableTsType(obj: Browser.Typed) { - const resolvedType = convertDomTypeToTsType(obj); - return obj.nullable ? makeNullable(resolvedType) : resolvedType; - } - - function emitConstant(c: Browser.Constant) { - printer.printLine(`readonly ${c.name}: ${convertDomTypeToTsType(c)};`); - } - - function emitConstants(i: Browser.Interface) { - if (i.constants) { - mapToArray(i.constants.constant) - .sort(compareName) - .forEach(emitConstant); - } - } - - function matchSingleParamMethodSignature(m: Browser.Method, expectedMName: string, expectedMType: string, expectedParamType: string) { - return expectedMName === m.name && - m.signature && m.signature.length === 1 && - convertDomTypeToNullableTsType(m.signature[0]) === expectedMType && - m.signature[0].param && m.signature[0].param!.length === 1 && - convertDomTypeToTsType(m.signature[0].param![0]) === expectedParamType; - } - - function processInterfaceType(i: Browser.Interface | Browser.Dictionary, name: string) { - return i["type-parameters"] ? name + "<" + i["type-parameters"]!.join(", ") + ">" : name; - } - - /// Emit overloads for the createElement method - function emitCreateElementOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "createElement", "Element", "string")) { - printer.printLine("createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];"); - printer.printLine("createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;"); - } - } - - /// Emit overloads for the getElementsByTagName method - function emitGetElementsByTagNameOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "getElementsByTagName", "NodeList", "string")) { - printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: K): NodeListOf;`); - printer.printLine(`getElementsByTagName(${m.signature[0].param![0].name}: string): NodeListOf;`); - } - } - - /// Emit overloads for the querySelector method - function emitQuerySelectorOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "querySelector", "Element | null", "string")) { - printer.printLine("querySelector(selectors: K): HTMLElementTagNameMap[K] | null;"); - printer.printLine("querySelector(selectors: K): SVGElementTagNameMap[K] | null;"); - printer.printLine("querySelector(selectors: string): E | null;"); - } - } - - /// Emit overloads for the querySelectorAll method - function emitQuerySelectorAllOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "querySelectorAll", "NodeList", "string")) { - printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); - printer.printLine("querySelectorAll(selectors: K): NodeListOf;"); - printer.printLine("querySelectorAll(selectors: string): NodeListOf;"); - } - } - - function emitHTMLElementTagNameMap() { - printer.printLine("interface HTMLElementTagNameMap {"); - printer.increaseIndent(); - for (const e of Object.keys(tagNameToEleName).sort()) { - const value = tagNameToEleName[e]; - if (iNameToIDependList[value] && !iNameToIDependList[value].includes("SVGElement")) { - printer.printLine(`"${e.toLowerCase()}": ${value};`); - } - } - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - - function emitSVGElementTagNameMap() { - printer.printLine("interface SVGElementTagNameMap {"); - printer.increaseIndent(); - for (const e of Object.keys(tagNameToEleName).sort()) { - const value = tagNameToEleName[e]; - if (iNameToIDependList[value] && iNameToIDependList[value].includes("SVGElement")) { - printer.printLine(`"${e.toLowerCase()}": ${value};`); - } - } - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - - function emitElementTagNameMap() { - printer.printLine("/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */"); - printer.printLine("interface ElementTagNameMap extends HTMLElementTagNameMap, SVGElementTagNameMap { }"); - printer.printLine(""); - } - - /// Emit overloads for the createEvent method - function emitCreateEventOverloads(m: Browser.Method) { - if (matchSingleParamMethodSignature(m, "createEvent", "Event", "string")) { - // Emit plurals. For example, "Events", "MutationEvents" - const hasPlurals = ["Event", "MutationEvent", "MouseEvent", "SVGZoomEvent", "UIEvent"]; - for (const x of distinctETypeList) { - printer.printLine(`createEvent(eventInterface: "${x}"): ${x};`); - if (hasPlurals.includes(x)) { - printer.printLine(`createEvent(eventInterface: "${x}s"): ${x};`); - } - } - printer.printLine("createEvent(eventInterface: string): Event;"); - } - } - - /// Generate the parameters string for function signatures - function paramsToString(ps: Browser.Param[]) { - function paramToString(p: Browser.Param) { - const isOptional = !p.variadic && p.optional; - const pType = isOptional ? convertDomTypeToTsType(p) : convertDomTypeToNullableTsType(p); - return (p.variadic ? "..." : "") + - adjustParamName(p.name) + - (isOptional ? "?: " : ": ") + - pType + - (p.variadic ? "[]" : ""); - } - return ps.map(paramToString).join(", "); - } - - function emitCallBackInterface(i: Browser.Interface) { - if (i.name === "EventListener") { - printer.printLine(`interface ${i.name} {`); - printer.printWithAddedIndent("(evt: Event): void;"); - printer.printLine("}"); - } - else { - const methods = mapToArray(i.methods.method); - const m = methods[0]; - const overload = m.signature[0]; - const paramsString = overload.param ? paramsToString(overload.param) : ""; - const returnType = overload.type ? convertDomTypeToTsType(overload) : "void"; - printer.printLine(`type ${i.name} = ((${paramsString}) => ${returnType}) | { ${m.name}(${paramsString}): ${returnType}; };`); - } - printer.printLine(""); - } - - function emitCallBackFunction(cb: Browser.CallbackFunction) { - printer.printLine(`interface ${cb.name} {`); - printer.increaseIndent(); - emitSignatures(cb, "", "", s => printer.printLine(s)); - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - - function emitCallBackFunctions() { - getElements(webidl["callback-functions"], "callback-function") - .sort(compareName) - .forEach(emitCallBackFunction); - } - - function emitEnum(e: Browser.Enum) { - printer.printLine(`type ${e.name} = ${e.value.map(v => `"${v}"`).join(" | ")};`); - } - - function emitEnums() { - getElements(webidl.enums, "enum") - .sort(compareName) - .forEach(emitEnum); - } - - function emitEventHandlerThis(prefix: string, i: Browser.Interface) { - if (prefix === "") { - return `this: ${i.name}, `; - } - else { - return pollutor ? `this: ${pollutor.name}, ` : ""; - } - } - - // A covariant EventHandler is one that is defined in a parent interface as then redefined in current interface with a more specific argument types - // These patterns are unsafe, and flagged as error under --strictFunctionTypes. - // Here we know the property is already defined on the interface, we elide its declaration if the parent has the same handler defined - function isCovariantEventHandler(i: Browser.Interface, p: Browser.Property) { - return isEventHandler(p) && - iNameToEhParents[i.name] && iNameToEhParents[i.name].length > 0 && - !!iNameToEhParents[i.name].find( - i => iNameToEhList[i.name] && iNameToEhList[i.name].length > 0 && - !!iNameToEhList[i.name].find(e => e.name === p.name)); - } - - function isEventHandler(p: Browser.Property) { - return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; - } - - function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { - function printLine(content: string) { - if (conflictedMembers.has(p.name)) { - printer.printLineToStack(content); - } - else { - printer.printLine(content); - } - } - - emitComments(p, printLine); - - // Treat window.name specially because of https://github.com/Microsoft/TypeScript/issues/9850 - if (p.name === "name" && i.name === "Window" && emitScope === EmitScope.All) { - printLine("declare const name: never;"); - } - else { - - let pType: string; - if (p["override-type"]) { - pType = p["override-type"]!; - } - else { - if (isEventHandler(p)) { - // Sometimes event handlers with the same name may actually handle different - // events in different interfaces. For example, "onerror" handles "ErrorEvent" - // normally, but in "SVGSVGElement" it handles "SVGError" event instead. - const eType = p["event-handler"] ? getEventTypeInInterface(p["event-handler"]!, i) : "Event"; - pType = `(${emitEventHandlerThis(prefix, i)}ev: ${eType}) => any`; - } - else { - pType = convertDomTypeToTsType(p); - } - } - const requiredModifier = !p.required || p.required === "1" ? "" : "?"; - pType = p.nullable ? makeNullable(pType) : pType; - const readOnlyModifier = p["read-only"] && prefix === "" ? "readonly " : ""; - printLine(`${prefix}${readOnlyModifier}${p.name}${requiredModifier}: ${pType};`); - } - } - - function emitComments(entity: { comment?: string; deprecated?: 1 } | undefined, print: (s: string) => void) { - if (entity) { - if (entity.comment) { - print(entity.comment); - } - if (entity.deprecated) { - print(`/** @deprecated */`); - } - } - } - - function emitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { - // Note: the schema file shows the property doesn't have "static" attribute, - // therefore all properties are emited for the instance type. - if (emitScope !== EmitScope.StaticOnly) { - if (i.properties) { - mapToArray(i.properties.property) - .filter(p => !isCovariantEventHandler(i, p)) - .sort(compareName) - .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); - } - } - } - - function emitMethod(prefix: string, _i: Browser.Interface, m: Browser.Method, conflictedMembers: Set) { - function printLine(content: string) { - if (m.name && conflictedMembers.has(m.name)) { - printer.printLineToStack(content); - } - else { - printer.printLine(content); - } - } - - emitComments(m, printLine); - - switch (m.name) { - case "createElement": return emitCreateElementOverloads(m); - case "createEvent": return emitCreateEventOverloads(m); - case "getElementsByTagName": return emitGetElementsByTagNameOverloads(m); - case "querySelector": return emitQuerySelectorOverloads(m); - case "querySelectorAll": return emitQuerySelectorAllOverloads(m); - } - emitSignatures(m, prefix, m.name, printLine); - } - - function emitSignature(s: Browser.Signature, prefix: string | undefined, name: string | undefined, printLine: (s: string) => void) { - const paramsString = s.param ? paramsToString(s.param) : ""; - let returnType = convertDomTypeToTsType(s); - returnType = s.nullable ? makeNullable(returnType) : returnType; - printLine(`${prefix || ""}${name || ""}(${paramsString}): ${returnType};`); - } - - function emitSignatures(method: { signature?: Browser.Signature[], "override-signatures"?: string[], "additional-signatures"?: string[] }, prefix: string, name: string, printLine: (s: string) => void) { - if (method["override-signatures"]) { - method["override-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); - } - else if (method.signature) { - if (method["additional-signatures"]) { - method["additional-signatures"]!.forEach(s => printLine(`${prefix}${s};`)); - } - method.signature.forEach(sig => emitSignature(sig, prefix, name, printLine)); - } - } - - function emitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { - // If prefix is not empty, then this is the global declare function addEventListener, we want to override this - // Otherwise, this is EventTarget.addEventListener, we want to keep that. - function mFilter(m: Browser.Method) { - return matchScope(emitScope, m) && - !(prefix !== "" && (m.name === "addEventListener" || m.name === "removeEventListener")); - } - - if (i.methods) { - mapToArray(i.methods.method) - .filter(mFilter) - .sort(compareName) - .forEach(m => emitMethod(prefix, i, m, conflictedMembers)); - } - - // The window interface inherited some methods from "Object", - // which need to explicitly exposed - if (i.name === "Window" && prefix === "declare function ") { - printer.printLine("declare function toString(): string;"); - } - } - - /// Emit the properties and methods of a given interface - function emitMembers(prefix: string, emitScope: EmitScope, i: Browser.Interface) { - const conflictedMembers = extendConflictsBaseTypes[i.name] ? extendConflictsBaseTypes[i.name].memberNames : new Set(); - emitProperties(prefix, emitScope, i, conflictedMembers); - const methodPrefix = prefix.startsWith("declare var") ? "declare function " : ""; - emitMethods(methodPrefix, emitScope, i, conflictedMembers); - } - - /// Emit all members of every interfaces at the root level. - /// Called only once on the global polluter object - function emitAllMembers(i: Browser.Interface) { - const prefix = "declare var "; - emitMembers(prefix, EmitScope.All, i); - - for (const relatedIName of iNameToIDependList[i.name]) { - const i = allInterfacesMap[relatedIName]; - if (i) { - emitAllMembers(i); - } - } - } - - function emitEventHandlers(prefix: string, i: Browser.Interface) { - function getOptionsType(addOrRemove: string) { - return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; - } - - const fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; - - function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { - printer.printLine(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); - } - - function emitStringEventHandler(addOrRemove: string) { - printer.printLine(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); - } - - function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { - if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - emitTypedEventHandler(fPrefix, addOrRemove, i); - return true; - } - if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { - iNameToEhParents[i.name] - .sort(compareName) - .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i)); - return true; - } - return false; - } - - function emitEventHandler(addOrRemove: string) { - if (tryEmitTypedEventHandlerForInterface(addOrRemove)) { - // only emit the string event handler if we just emited a typed handler - emitStringEventHandler(addOrRemove); - } - } - - emitEventHandler("add"); - emitEventHandler("remove"); - } - - function emitConstructorSignature(i: Browser.Interface) { - const constructor = typeof i.constructor === "object" ? i.constructor : undefined; - - emitComments(constructor, s => printer.print(s)); - - // Emit constructor signature - if (constructor) { - emitSignatures(constructor, "", "new", s => printer.printLine(s)); - } - else { - printer.printLine(`new(): ${i.name};`); - } - } - - function emitConstructor(i: Browser.Interface) { - printer.printLine(`declare var ${i.name}: {`); - printer.increaseIndent(); - - printer.printLine(`prototype: ${i.name};`); - emitConstructorSignature(i); - emitConstants(i); - emitMembers("", EmitScope.StaticOnly, i); - - printer.decreaseIndent(); - printer.printLine("};"); - printer.printLine(""); - } - - function emitNamedConstructor(i: Browser.Interface) { - const nc = i["named-constructor"]; - if (nc) { - printer.printLine(`declare var ${nc.name}: {`); - nc.signature.forEach(s => printer.printWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); - printer.printLine(`};`); - } - } - - /// Emit all the named constructors at root level - function emitNamedConstructors() { - getElements(webidl.interfaces, "interface") - .sort(compareName) - .forEach(emitNamedConstructor); - } - - function emitInterfaceDeclaration(i: Browser.Interface) { - function processIName(iName: string) { - return extendConflictsBaseTypes[iName] ? `${iName}Base` : iName; - } - - const processedIName = processIName(i.name); - - if (processedIName !== i.name) { - printer.printLineToStack(`interface ${processInterfaceType(i, i.name)} extends ${processedIName} {`); - } - - printer.printLine(`interface ${processInterfaceType(i, processedIName)}`); - - const finalExtends = [i.extends || "Object"].concat(i.implements || []) - .filter(i => i !== "Object") - .map(processIName); - - if (finalExtends && finalExtends.length) { - printer.print(` extends ${finalExtends.join(", ")}`); - } - printer.print(" {"); - } - - /// To decide if a given method is an indexer and should be emited - function shouldEmitIndexerSignature(i: Browser.Interface, m: Browser.Method) { - if (m.getter && m.signature && m.signature[0].param && m.signature[0].param!.length === 1) { - // TypeScript array indexer can only be number or string - // for string, it must return a more generic type then all - // the other properties, following the Dictionary pattern - switch (convertDomTypeToTsType(m.signature[0].param![0])) { - case "number": return true; - case "string": - if (convertDomTypeToTsType(m.signature[0]) === "any") { - return true; - } - const sig = m.signature[0]; - const mTypes = distinct(i.methods && map(i.methods.method, m => m.signature && m.signature.length && m.signature[0].type || "void").filter(t => t !== "void") || []); - const amTypes = distinct(i["anonymous-methods"] && i["anonymous-methods"]!.method.map(m => m.signature[0].type).filter(t => t !== "void") || []); // |> Array.distinct - const pTypes = distinct(i.properties && map(i.properties.property, m => m.type).filter(t => t !== "void") || []); // |> Array.distinct - - if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 0) return amTypes[0] === sig.type; - if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 0) return mTypes[0] === amTypes[0] && amTypes[0] === sig.type; - if (mTypes.length === 0 && amTypes.length === 1 && pTypes.length === 1) return amTypes[0] === pTypes[0] && amTypes[0] === sig.type; - if (mTypes.length === 1 && amTypes.length === 1 && pTypes.length === 1) return mTypes[0] === amTypes[0] && amTypes[0] === pTypes[0] && amTypes[0] === sig.type; - } - } - return false; - } - - function emitIndexers(emitScope: EmitScope, i: Browser.Interface) { - if (i["overide-index-signatures"]) { - i["overide-index-signatures"]!.forEach(s => printer.printLine(`${s};`)); - } - else { - // The indices could be within either Methods or Anonymous Methods - mapToArray(i.methods && i.methods.method) - .concat(i["anonymous-methods"] && i["anonymous-methods"]!.method || []) - .filter(m => shouldEmitIndexerSignature(i, m) && matchScope(emitScope, m)) - .forEach(m => { - const indexer = (m.signature && m.signature.length && m.signature[0].param && m.signature[0].param!.length) ? m.signature[0].param![0] : undefined; - if (indexer) { - printer.printLine(`[${indexer.name}: ${convertDomTypeToTsType(indexer)}]: ${convertDomTypeToTsType({ - type: m.signature[0].type, - subtype: m.signature[0].subtype, - nullable: undefined - })};`); - } - }); - } - } - - function emitInterfaceEventMap(i: Browser.Interface) { - function emitInterfaceEventMapEntry(eHandler: EventHandler) { - printer.printLine(`"${eHandler.eventName}": ${getEventTypeInInterface(eHandler.eventName, i)};`); - } - - if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - printer.printLine(`interface ${i.name}EventMap`); - if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { - const extend = iNameToEhParents[i.name].map(i => i.name + "EventMap"); - printer.print(` extends ${extend.join(", ")}`); - } - printer.print(" {"); - printer.increaseIndent(); - iNameToEhList[i.name] - .sort(compareName) - .forEach(emitInterfaceEventMapEntry); - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - } - - function emitInterface(i: Browser.Interface) { - printer.clearStack(); - emitInterfaceEventMap(i); - - printer.resetIndent(); - emitInterfaceDeclaration(i); - printer.increaseIndent(); - - emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); - emitConstants(i); - emitEventHandlers(/*prefix*/ "", i); - emitIndexers(EmitScope.InstanceOnly, i); - - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - - if (!printer.stackIsEmpty()) { - printer.printStackContent(); - printer.printLine("}"); - printer.printLine(""); - } - } - - function emitStaticInterface(i: Browser.Interface) { - // Some types are static types with non-static members. For example, - // NodeFilter is a static method itself, however it has an "acceptNode" method - // that expects the user to implement. - const hasNonStaticMethod = i.methods && !!mapToArray(i.methods.method).find(m => !m.static); - const hasProperty = i.properties && mapToArray(i.properties.property).find(p => !p.static); - const hasNonStaticMember = hasNonStaticMethod || hasProperty; - - // For static types with non-static members, we put the non-static members into an - // interface, and put the static members into the object literal type of 'declare var' - // For static types with only static members, we put everything in the interface. - // Because in the two cases the interface contains different things, it might be easier to - // read to separate them into two functions. - function emitStaticInterfaceWithNonStaticMembers() { - printer.resetIndent(); - emitInterfaceDeclaration(i); - printer.increaseIndent(); - - emitMembers(/*prefix*/ "", EmitScope.InstanceOnly, i); - emitEventHandlers(/*prefix*/ "", i); - emitIndexers(EmitScope.InstanceOnly, i); - - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - printer.printLine(`declare var ${i.name}: {`); - printer.increaseIndent(); - emitConstants(i); - emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); - printer.decreaseIndent(); - printer.printLine("};"); - printer.printLine(""); - } - - function emitPureStaticInterface() { - printer.resetIndent(); - emitInterfaceDeclaration(i); - printer.increaseIndent(); - - emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); - emitConstants(i); - emitEventHandlers(/*prefix*/ "", i); - emitIndexers(EmitScope.StaticOnly, i); - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(`declare var ${i.name}: ${i.name};`); - printer.printLine(""); - } - - if (hasNonStaticMember) { - emitStaticInterfaceWithNonStaticMembers(); - } - else { - emitPureStaticInterface(); - } - } - - function emitNonCallbackInterfaces() { - for (const i of allNonCallbackInterfaces.sort(compareName)) { - // If the static attribute has a value, it means the type doesn't have a constructor - if (i.static) { - emitStaticInterface(i); - } - else if (i["no-interface-object"]) { - emitInterface(i); - } - else { - emitInterface(i); - emitConstructor(i); - } - } - } - - function emitDictionary(dict: Browser.Dictionary) { - if (!dict.extends || dict.extends === "Object") { - printer.printLine(`interface ${processInterfaceType(dict, dict.name)} {`); - } - else { - printer.printLine(`interface ${processInterfaceType(dict, dict.name)} extends ${dict.extends} {`); - } - printer.increaseIndent(); - if (dict.members) { - mapToArray(dict.members.member) - .sort(compareName) - .forEach(m => printer.printLine(`${m.name}${m.required === 1 ? "" : "?"}: ${convertDomTypeToTsType(m)};`)); - } - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - - function emitDictionaries() { - getElements(webidl.dictionaries, "dictionary") - .sort(compareName) - .forEach(emitDictionary); - } - - function emitTypeDef(typeDef: Browser.TypeDef) { - printer.printLine(`type ${typeDef["new-type"]} = ${convertDomTypeToTsType(typeDef)};`); - } - - function emitTypeDefs() { - if (webidl.typedefs) { - webidl.typedefs.typedef - .forEach(emitTypeDef); - } - } - - function compareName(c1: { name: string }, c2: { name: string }) { - return c1.name < c2.name ? -1 : c1.name > c2.name ? 1 : 0; - } - - function emit() { - printer.reset(); - printer.printLine("/////////////////////////////"); - if (flavor === Flavor.Worker) { - printer.printLine("/// Worker APIs"); - } - else { - printer.printLine("/// DOM APIs"); - } - printer.printLine("/////////////////////////////"); - printer.printLine(""); - - emitDictionaries(); - getElements(webidl["callback-interfaces"], "interface") - .sort(compareName) - .forEach(i => emitCallBackInterface(i)); - emitNonCallbackInterfaces(); - - // // Add missed interface definition from the spec - // InputJson.getAddedItems InputJson.Interface flavor |> Array.iter EmitAddedInterface - - printer.printLine("declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;"); - printer.printLine(""); - - emitCallBackFunctions(); - - if (flavor !== Flavor.Worker) { - emitHTMLElementTagNameMap(); - emitSVGElementTagNameMap(); - emitElementTagNameMap(); - emitNamedConstructors(); - } - - if (pollutor) { - emitAllMembers(pollutor); - emitEventHandlers("declare var ", pollutor); - } - - emitTypeDefs(); - emitEnums(); - - return printer.getResult(); - } - - function emitIterator(i: Browser.Interface) { - - // check anonymous unsigned long getter and length property - const isIterableGetter = (m: Browser.Method) => - m.getter === 1 && !!m.signature.length && !!m.signature[0].param && m.signature[0].param!.length === 1 && typeof m.signature[0].param![0].type === "string" && integerTypes.has(m.signature[0].param![0].type); - - function findIterableGetter() { - const anonymousGetter = i["anonymous-methods"] && i["anonymous-methods"]!.method.find(isIterableGetter); - - if (anonymousGetter) return anonymousGetter; - else if (i.methods) return mapToArray(i.methods.method).find(isIterableGetter); - else return undefined; - } - - function findLengthProperty(p: Browser.Property) { - return p.name === "length" && typeof p.type === "string" && integerTypes.has(p.type); - } - - if (i.name !== "Window" && i.properties) { - const iterableGetter = findIterableGetter(); - const lengthProperty = mapToArray(i.properties.property).find(findLengthProperty); - if (iterableGetter && lengthProperty) { - printer.printLine(`interface ${i.name} {`); - printer.increaseIndent(); - printer.printLine(`[Symbol.iterator](): IterableIterator<${convertDomTypeToTsType({ type: iterableGetter.signature[0].type, nullable: undefined })}>`); - printer.decreaseIndent(); - printer.printLine("}"); - printer.printLine(""); - } - } - } - - function emitES6DomIterators() { - printer.reset(); - printer.printLine("/////////////////////////////"); - printer.printLine("/// DOM ES6 APIs"); - printer.printLine("/////////////////////////////"); - printer.printLine(""); - - allInterfaces - .sort(compareName) - .forEach(emitIterator); - - return printer.getResult(); - } -} +import { filter, merge, filterProperties } from "./helpers"; +import { Flavor, emitWebIDl } from "./emitter"; function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, tsWorkerOutput: string) { const worker: Browser.WebIdl = { From 967d7e4ba6795afaad04b86ade9e47798d85967c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 6 Mar 2018 13:16:38 -0800 Subject: [PATCH 90/93] Extract helpers outside the main function --- src/emitter.ts | 254 ++++++++++++++++++++++++------------------------- 1 file changed, 123 insertions(+), 131 deletions(-) diff --git a/src/emitter.ts b/src/emitter.ts index dce32408f..bcc29d362 100644 --- a/src/emitter.ts +++ b/src/emitter.ts @@ -7,32 +7,131 @@ export const enum Flavor { ES6Iterators } -export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { +// Note: +// Eventhandler's name and the eventName are not just off by "on". +// For example, handlers named "onabort" may handle "SVGAbort" event in the XML file +type EventHandler = { name: string; eventName: string; eventType: string }; + +/// Decide which members of a function to emit +enum EmitScope { + StaticOnly, + InstanceOnly, + All +} + +const defaultEventType = "Event"; +// Extended types used but not defined in the spec +const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); +const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); +const tsKeywords = new Set(["default", "delete", "continue"]); +const extendConflictsBaseTypes: Record }> = { + "AudioContext": { extendType: ["OfflineContext"], memberNames: new Set(["suspend"]) }, + "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, +}; +const evetTypeMap: Record = { + "abort": "UIEvent", + "complete": "Event", + "click": "MouseEvent", + "error": "ErrorEvent", + "load": "Event", + "loadstart": "Event", + "progress": "ProgressEvent", + "readystatechange": "ProgressEvent", + "resize": "UIEvent", + "timeout": "ProgressEvent" +}; + +// Used to decide if a member should be emitted given its static property and +// the intended scope level. +function matchScope(scope: EmitScope, x: Browser.Method) { + return scope === EmitScope.All || (scope === EmitScope.StaticOnly) === !!x.static; +} + +/// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. +function adjustParamName(name: string) { + return tsKeywords.has(name) ? `_${name}` : name; +} + +function getElements(a: Record> | undefined, k: K): T[] { + return a ? mapToArray(a[k]) : []; +} - // Note: - // Eventhandler's name and the eventName are not just off by "on". - // For example, handlers named "onabort" may handle "SVGAbort" event in the XML file - type EventHandler = { name: string; eventName: string; eventType: string }; +function createTextWriter(newLine: string) { + let output: string; + let indent: number; + let lineStart: boolean; + let stack: { content: string, indent: number }[] = []; - /// Decide which members of a function to emit - enum EmitScope { - StaticOnly, - InstanceOnly, - All + const indentStrings: string[] = ["", " "]; + function getIndentString(level: number) { + if (indentStrings[level] === undefined) { + indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; + } + return indentStrings[level]; } - const pollutor = getElements(webidl.interfaces, "interface").find(i => flavor === Flavor.Web ? !!i["primary-global"] : !!i.global); + function write(s: string) { + if (lineStart) { + output += getIndentString(indent); + lineStart = false; + } + output += s; + } + + function reset(): void { + output = ""; + indent = 0; + lineStart = true; + stack = []; + } + + function writeLine() { + if (!lineStart) { + output += newLine; + lineStart = true; + } + } + + reset(); - const defaultEventType = "Event"; + return { + reset: reset, + + resetIndent() { indent = 0; }, + increaseIndent() { indent++; }, + decreaseIndent() { indent--; }, + + print: write, + printLine(c: string) { writeLine(); write(c); }, + + printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, + + clearStack() { stack = []; }, + stackIsEmpty() { return stack.length === 0; }, + printLineToStack(content: string) { stack.push({ content, indent }); }, + printStackContent() { + stack.forEach(e => { + const oldIndent = indent; + indent = e.indent; + this.printLine(e.content); + indent = oldIndent; + }); + }, + + getResult() { return output; } + }; +} + +function isEventHandler(p: Browser.Property) { + return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; +} + +export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { // Global print target const printer = createTextWriter("\n"); - // Extended types used but not defined in the spec - const extendedTypes = new Set(["ArrayBuffer", "ArrayBufferView", "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Uint8ClampedArray", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]); - const integerTypes = new Set(["byte", "octet", "short", "unsigned short", "long", "unsigned long", "long long", "unsigned long long"]); - - const tsKeywords = new Set(["default", "delete", "continue"]); + const pollutor = getElements(webidl.interfaces, "interface").find(i => flavor === Flavor.Web ? !!i["primary-global"] : !!i.global); const allNonCallbackInterfaces = getElements(webidl.interfaces, "interface").concat(getElements(webidl.mixins, "mixin")); const allInterfaces = getElements(webidl.interfaces, "interface").concat( @@ -45,24 +144,6 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const allCallbackFunctionsMap = webidl["callback-functions"] ? webidl["callback-functions"]!["callback-function"] : {}; const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); - const extendConflictsBaseTypes: Record }> = { - "AudioContext": { extendType: ["OfflineContext"], memberNames: new Set(["suspend"]) }, - "HTMLCollection": { extendType: ["HTMLFormControlsCollection"], memberNames: new Set(["namedItem"]) }, - }; - - const evetTypeMap: Record = { - "abort": "UIEvent", - "complete": "Event", - "click": "MouseEvent", - "error": "ErrorEvent", - "load": "Event", - "loadstart": "Event", - "progress": "ProgressEvent", - "readystatechange": "ProgressEvent", - "resize": "UIEvent", - "timeout": "ProgressEvent" - }; - /// Event name to event type map const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => evetTypeMap[e.name] || e.type); @@ -147,29 +228,6 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return extendedParentWithEventHandler.concat(implementedParentsWithEventHandler); } - // Used to decide if a member should be emitted given its static property and - // the intended scope level. - function matchScope(scope: EmitScope, x: Browser.Method) { - return scope === EmitScope.All || (scope === EmitScope.StaticOnly) === !!x.static; - } - - /// Parameter cannot be named "default" in JavaScript/Typescript so we need to rename it. - function adjustParamName(name: string) { - return tsKeywords.has(name) ? `_${name}` : name; - } - - function getElements(a: Record> | undefined, k: K): T[] { - return a ? mapToArray(a[k]) : []; - } - - function tryGetMatchingEventType(eName: string, i: Browser.Interface) { - if (i.events) { - const event = i.events.event.find(e => e.name === eName); - return event && event.type; - } - return undefined; - } - function getEventTypeInInterface(eName: string, i: Browser.Interface) { switch (i.name) { case "XMLHttpRequest": @@ -183,8 +241,13 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { if (eName === "abort") return "Event"; default: - const ownEventType = tryGetMatchingEventType(eName, i); - return ownEventType || eNameToEType[eName] || "Event"; + if (i.events) { + const event = i.events.event.find(e => e.name === eName); + if (event && event.type) { + return event.type; + } + } + return eNameToEType[eName] || "Event"; } } @@ -201,73 +264,6 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { return t.replace(/[\(\)]/g, "").split(" or "); } - function createTextWriter(newLine: string) { - let output: string; - let indent: number; - let lineStart: boolean; - let stack: { content: string, indent: number }[] = []; - - const indentStrings: string[] = ["", " "]; - function getIndentString(level: number) { - if (indentStrings[level] === undefined) { - indentStrings[level] = getIndentString(level - 1) + indentStrings[1]; - } - return indentStrings[level]; - } - - function write(s: string) { - if (lineStart) { - output += getIndentString(indent); - lineStart = false; - } - output += s; - } - - function reset(): void { - output = ""; - indent = 0; - lineStart = true; - stack = []; - } - - function writeLine() { - if (!lineStart) { - output += newLine; - lineStart = true; - } - } - - reset(); - - return { - - reset: reset, - - resetIndent() { indent = 0; }, - increaseIndent() { indent++; }, - decreaseIndent() { indent--; }, - - print: write, - printLine(c: string) { writeLine(); write(c); }, - - printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, - - clearStack() { stack = []; }, - stackIsEmpty() { return stack.length === 0; }, - printLineToStack(content: string) { stack.push({ content, indent }); }, - printStackContent() { - stack.forEach(e => { - const oldIndent = indent; - indent = e.indent; - this.printLine(e.content); - indent = oldIndent; - }); - }, - - getResult() { return output; } - }; - } - /// Get typescript type using object dom type, object name, and it's associated interface name function convertDomTypeToTsType(obj: Browser.Typed): string { if (obj["override-type"]) return obj["override-type"]!; @@ -575,10 +571,6 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { !!iNameToEhList[i.name].find(e => e.name === p.name)); } - function isEventHandler(p: Browser.Property) { - return p.type === "EventHandlerNonNull" || p.type === "EventHandler"; - } - function emitProperty(prefix: string, i: Browser.Interface, emitScope: EmitScope, p: Browser.Property, conflictedMembers: Set) { function printLine(content: string) { if (conflictedMembers.has(p.name)) { From 09203828702f1af8bce647af7cf175fdadb52d08 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 6 Mar 2018 13:26:11 -0800 Subject: [PATCH 91/93] cleanup gitignore --- .gitignore | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.gitignore b/.gitignore index fd52e938d..d47cc1a72 100644 --- a/.gitignore +++ b/.gitignore @@ -278,18 +278,6 @@ __pycache__/ # tools/** # !tools/packages.config -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - generated/ - -*.js -*.js.map lib/ inputfiles/browser.webidl.json \ No newline at end of file From 99305e7c07144c385401cf19d90460ece5c143d8 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 6 Mar 2018 13:26:32 -0800 Subject: [PATCH 92/93] Set private: true --- package.json | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/package.json b/package.json index e8c878af1..5a50a25d9 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,11 @@ { "name": "TSJS-lib-generator", - "author": "Microsoft Corp.", - "version": "1.0.0", - "description": "AppVeyor Status: [![Build status](https://ci.appveyor.com/api/projects/status/8oj3j7u6nvag1xvu/branch/master?svg=true)](https://ci.appveyor.com/project/zhengbli/tsjs-lib-generator/branch/master)\r Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator)", - "main": "index.js", + "private": true, "scripts": { "build": "tsc --p ./tsconfig.json && node ./lib/index.js", "baseline-accept": "cpx generated\\* baselines\\", "test": "tsc --p ./tsconfig.json && node ./lib/index.js && node ./lib/test.js" }, - "repository": { - "type": "git", - "url": "git+https://github.com/Microsoft/TSJS-lib-generator.git" - }, - "keywords": [], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/Microsoft/TSJS-lib-generator/issues" - }, - "homepage": "https://github.com/Microsoft/TSJS-lib-generator#readme", "dependencies": { "@types/node": "^9.4.6", "cpx": "^1.5.0", From 6d46a8ba496a2d5e17f49a68b2b34ae1fe2698b8 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 7 Mar 2018 09:42:18 -0800 Subject: [PATCH 93/93] more code review comments --- src/emitter.ts | 91 ++++++++++++++++++++------------------------------ src/index.ts | 79 +++++++++++++++++-------------------------- 2 files changed, 67 insertions(+), 103 deletions(-) diff --git a/src/emitter.ts b/src/emitter.ts index bcc29d362..b6296af11 100644 --- a/src/emitter.ts +++ b/src/emitter.ts @@ -28,7 +28,7 @@ const extendConflictsBaseTypes: Record = { +const eventTypeMap: Record = { "abort": "UIEvent", "complete": "Event", "click": "MouseEvent", @@ -60,6 +60,7 @@ function createTextWriter(newLine: string) { let output: string; let indent: number; let lineStart: boolean; + /** print declarations conflicting with base interface to a side list to write them under a diffrent name later */ let stack: { content: string, indent: number }[] = []; const indentStrings: string[] = ["", " "]; @@ -95,7 +96,6 @@ function createTextWriter(newLine: string) { reset(); return { - reset: reset, resetIndent() { indent = 0; }, @@ -105,8 +105,6 @@ function createTextWriter(newLine: string) { print: write, printLine(c: string) { writeLine(); write(c); }, - printWithAddedIndent(c: string) { this.increaseIndent(); this.printLine(c); this.decreaseIndent(); }, - clearStack() { stack = []; }, stackIsEmpty() { return stack.length === 0; }, printLineToStack(content: string) { stack.push({ content, indent }); }, @@ -145,7 +143,7 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const allTypeDefsMap = new Set(webidl.typedefs && webidl.typedefs.typedef.map(td => td["new-type"])); /// Event name to event type map - const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => evetTypeMap[e.name] || e.type); + const eNameToEType = arrayToMap(flatMap(allNonCallbackInterfaces, i => i.events ? i.events.event : []), e => e.name, e => eventTypeMap[e.name] || e.type); /// Tag name to element name map const tagNameToEleName = getTagNameToElementNameMap(); @@ -512,7 +510,9 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitCallBackInterface(i: Browser.Interface) { if (i.name === "EventListener") { printer.printLine(`interface ${i.name} {`); - printer.printWithAddedIndent("(evt: Event): void;"); + printer.increaseIndent(); + printer.printLine("(evt: Event): void;"); + printer.decreaseIndent(); printer.printLine("}"); } else { @@ -612,27 +612,23 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } } - function emitComments(entity: { comment?: string; deprecated?: 1 } | undefined, print: (s: string) => void) { - if (entity) { - if (entity.comment) { - print(entity.comment); - } - if (entity.deprecated) { - print(`/** @deprecated */`); - } + function emitComments(entity: { comment?: string; deprecated?: 1 }, print: (s: string) => void) { + if (entity.comment) { + print(entity.comment); + } + if (entity.deprecated) { + print(`/** @deprecated */`); } } function emitProperties(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // Note: the schema file shows the property doesn't have "static" attribute, // therefore all properties are emited for the instance type. - if (emitScope !== EmitScope.StaticOnly) { - if (i.properties) { - mapToArray(i.properties.property) - .filter(p => !isCovariantEventHandler(i, p)) - .sort(compareName) - .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); - } + if (emitScope !== EmitScope.StaticOnly && i.properties) { + mapToArray(i.properties.property) + .filter(p => !isCovariantEventHandler(i, p)) + .sort(compareName) + .forEach(p => emitProperty(prefix, i, emitScope, p, conflictedMembers)); } } @@ -680,14 +676,9 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { function emitMethods(prefix: string, emitScope: EmitScope, i: Browser.Interface, conflictedMembers: Set) { // If prefix is not empty, then this is the global declare function addEventListener, we want to override this // Otherwise, this is EventTarget.addEventListener, we want to keep that. - function mFilter(m: Browser.Method) { - return matchScope(emitScope, m) && - !(prefix !== "" && (m.name === "addEventListener" || m.name === "removeEventListener")); - } - if (i.methods) { mapToArray(i.methods.method) - .filter(mFilter) + .filter(m => matchScope(emitScope, m) && !(prefix !== "" && (m.name === "addEventListener" || m.name === "removeEventListener"))) .sort(compareName) .forEach(m => emitMethod(prefix, i, m, conflictedMembers)); } @@ -710,8 +701,7 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { /// Emit all members of every interfaces at the root level. /// Called only once on the global polluter object function emitAllMembers(i: Browser.Interface) { - const prefix = "declare var "; - emitMembers(prefix, EmitScope.All, i); + emitMembers(/*prefix*/ "declare var ", EmitScope.All, i); for (const relatedIName of iNameToIDependList[i.name]) { const i = allInterfacesMap[relatedIName]; @@ -722,52 +712,43 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { } function emitEventHandlers(prefix: string, i: Browser.Interface) { - function getOptionsType(addOrRemove: string) { - return addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; - } - const fPrefix = prefix.startsWith("declare var") ? "declare function " : ""; - function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface) { - printer.printLine(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + for (const addOrRemove of ["add", "remove"]) { + const optionsType = addOrRemove === "add" ? "AddEventListenerOptions" : "EventListenerOptions"; + if (tryEmitTypedEventHandlerForInterface(addOrRemove, optionsType)) { + // only emit the string event handler if we just emited a typed handler + printer.printLine(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${optionsType}): void;`); + } } - function emitStringEventHandler(addOrRemove: string) { - printer.printLine(`${fPrefix}${addOrRemove}EventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | ${getOptionsType(addOrRemove)}): void;`); + return; + + function emitTypedEventHandler(prefix: string, addOrRemove: string, iParent: Browser.Interface, optionsType: string) { + printer.printLine(`${prefix}${addOrRemove}EventListener(type: K, listener: (this: ${i.name}, ev: ${iParent.name}EventMap[K]) => any, options?: boolean | ${optionsType}): void;`); } - function tryEmitTypedEventHandlerForInterface(addOrRemove: string) { + function tryEmitTypedEventHandlerForInterface(addOrRemove: string, optionsType: string) { if (iNameToEhList[i.name] && iNameToEhList[i.name].length) { - emitTypedEventHandler(fPrefix, addOrRemove, i); + emitTypedEventHandler(fPrefix, addOrRemove, i, optionsType); return true; } if (iNameToEhParents[i.name] && iNameToEhParents[i.name].length) { iNameToEhParents[i.name] .sort(compareName) - .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i)); + .forEach(i => emitTypedEventHandler(fPrefix, addOrRemove, i, optionsType)); return true; } return false; } - - function emitEventHandler(addOrRemove: string) { - if (tryEmitTypedEventHandlerForInterface(addOrRemove)) { - // only emit the string event handler if we just emited a typed handler - emitStringEventHandler(addOrRemove); - } - } - - emitEventHandler("add"); - emitEventHandler("remove"); } function emitConstructorSignature(i: Browser.Interface) { const constructor = typeof i.constructor === "object" ? i.constructor : undefined; - emitComments(constructor, s => printer.print(s)); - // Emit constructor signature if (constructor) { + emitComments(constructor, s => printer.print(s)); emitSignatures(constructor, "", "new", s => printer.printLine(s)); } else { @@ -782,7 +763,7 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { printer.printLine(`prototype: ${i.name};`); emitConstructorSignature(i); emitConstants(i); - emitMembers("", EmitScope.StaticOnly, i); + emitMembers(/*prefix*/ "", EmitScope.StaticOnly, i); printer.decreaseIndent(); printer.printLine("};"); @@ -793,7 +774,9 @@ export function emitWebIDl(webidl: Browser.WebIdl, flavor: Flavor) { const nc = i["named-constructor"]; if (nc) { printer.printLine(`declare var ${nc.name}: {`); - nc.signature.forEach(s => printer.printWithAddedIndent(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); + printer.increaseIndent(); + nc.signature.forEach(s => printer.printLine(`new(${s.param ? paramsToString(s.param) : ""}): ${i.name};`)); + printer.decreaseIndent(); printer.printLine(`};`); } } diff --git a/src/index.ts b/src/index.ts index df8a041d4..b7d8cdeea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,30 +5,7 @@ import { filter, merge, filterProperties } from "./helpers"; import { Flavor, emitWebIDl } from "./emitter"; function emitDomWorker(webidl: Browser.WebIdl, knownWorkerTypes: Set, tsWorkerOutput: string) { - const worker: Browser.WebIdl = { - "callback-functions": { - "callback-function": {} - }, - "callback-interfaces": { - "interface": {} - }, - "dictionaries": { - "dictionary": {} - }, - "enums": { - "enum": {} - }, - "interfaces": { - "interface": {} - }, - "mixins": { - "mixin": {} - }, - "typedefs": { - "typedef": [] - } - }; - + const worker = getEmptyWebIDL(); const isKnownWorkerName = (o: { name: string }) => knownWorkerTypes.has(o.name); if (webidl["callback-functions"]) worker["callback-functions"]!["callback-function"] = filterProperties(webidl["callback-functions"]!["callback-function"], isKnownWorkerName); @@ -59,6 +36,32 @@ function emitES6DomIterators(webidl: Browser.WebIdl, tsWebES6Output: string) { fs.writeFileSync(tsWebES6Output, emitWebIDl(webidl, Flavor.ES6Iterators)); } +function getEmptyWebIDL(): Browser.WebIdl { + return { + "callback-functions": { + "callback-function": {} + }, + "callback-interfaces": { + "interface": {} + }, + "dictionaries": { + "dictionary": {} + }, + "enums": { + "enum": {} + }, + "interfaces": { + "interface": {} + }, + "mixins": { + "mixin": {} + }, + "typedefs": { + "typedef": [] + } + } +} + function emitDom() { const __SOURCE_DIRECTORY__ = __dirname; const inputFolder = path.join(__SOURCE_DIRECTORY__, "../", "inputfiles"); @@ -94,33 +97,11 @@ function emitDom() { emitES6DomIterators(webidl, tsWebES6Output); function prune(obj: Browser.WebIdl, template: Partial): Browser.WebIdl { - const result: Browser.WebIdl = { - "callback-functions": { - "callback-function": {} - }, - "callback-interfaces": { - "interface": {} - }, - "dictionaries": { - "dictionary": {} - }, - "enums": { - "enum": {} - }, - "interfaces": { - "interface": {} - }, - "mixins": { - "mixin": {} - }, - "typedefs": { - "typedef": [] - } - }; + const result = getEmptyWebIDL(); if (obj["callback-functions"]) result["callback-functions"]!["callback-function"] = filterProperties(obj["callback-functions"]!["callback-function"], (cb) => !(template["callback-functions"] && template["callback-functions"]!["callback-function"][cb.name])); if (obj["callback-interfaces"]) result["callback-interfaces"]!.interface = filterInterface(obj["callback-interfaces"]!.interface, template["callback-interfaces"] && template["callback-interfaces"]!.interface); - if (obj.dictionaries) result.dictionaries!.dictionary = filterDictinary(obj.dictionaries.dictionary, template.dictionaries && template.dictionaries.dictionary); + if (obj.dictionaries) result.dictionaries!.dictionary = filterDictionary(obj.dictionaries.dictionary, template.dictionaries && template.dictionaries.dictionary); if (obj.enums) result.enums!.enum = filterEnum(obj.enums.enum, template.enums && template.enums.enum); if (obj.mixins) result.mixins!.mixin = filterInterface(obj.mixins.mixin, template.mixins && template.mixins.mixin); if (obj.interfaces) result.interfaces!.interface = filterInterface(obj.interfaces.interface, template.interfaces && template.interfaces.interface); @@ -142,7 +123,7 @@ function emitDom() { return result; } - function filterDictinary(dictinaries: Record, template: Record | undefined) { + function filterDictionary(dictinaries: Record, template: Record | undefined) { if (!template) return dictinaries; const result = filterProperties(dictinaries, i => !template[i.name]); for (const k in result) {