Explicitly expose everything everywhere.

This commit is contained in:
Ms2ger 2016-07-08 15:04:35 +02:00
parent 7e7b97e869
commit ed743bb50c
201 changed files with 243 additions and 140 deletions

View file

@ -7,6 +7,7 @@
* *
*/ */
[Exposed=(Window,Worker)]
interface Attr { interface Attr {
[Constant] [Constant]
readonly attribute DOMString? namespaceURI; readonly attribute DOMString? namespaceURI;

View file

@ -6,6 +6,7 @@
* https://html.spec.whatwg.org/multipage/#beforeunloadevent * https://html.spec.whatwg.org/multipage/#beforeunloadevent
*/ */
[Exposed=(Window,Worker)]
interface BeforeUnloadEvent : Event { interface BeforeUnloadEvent : Event {
attribute DOMString returnValue; attribute DOMString returnValue;
}; };

View file

@ -6,7 +6,7 @@
[Constructor(optional sequence<BlobPart> blobParts, [Constructor(optional sequence<BlobPart> blobParts,
optional BlobPropertyBag options), optional BlobPropertyBag options),
Exposed=Window/*,Worker*/] Exposed=(Window,Worker)]
interface Blob { interface Blob {
readonly attribute unsigned long long size; readonly attribute unsigned long long size;

View file

@ -15,7 +15,7 @@ dictionary RequestDeviceOptions {
sequence<BluetoothServiceUUID> optionalServices /*= []*/; sequence<BluetoothServiceUUID> optionalServices /*= []*/;
}; };
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface Bluetooth { interface Bluetooth {
// Promise<BluetoothDevice> requestDevice(RequestDeviceOptions options); // Promise<BluetoothDevice> requestDevice(RequestDeviceOptions options);
[Throws] [Throws]

View file

@ -12,7 +12,7 @@ interface BluetoothServiceDataMap {
readonly maplike<UUID, DataView>; readonly maplike<UUID, DataView>;
};*/ };*/
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothAdvertisingData { interface BluetoothAdvertisingData {
readonly attribute unsigned short? appearance; readonly attribute unsigned short? appearance;
readonly attribute byte? txPower; readonly attribute byte? txPower;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#characteristicproperties // https://webbluetoothcg.github.io/web-bluetooth/#characteristicproperties
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothCharacteristicProperties { interface BluetoothCharacteristicProperties {
readonly attribute boolean broadcast; readonly attribute boolean broadcast;
readonly attribute boolean read; readonly attribute boolean read;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice // https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothDevice { interface BluetoothDevice {
readonly attribute DOMString id; readonly attribute DOMString id;
readonly attribute DOMString? name; readonly attribute DOMString? name;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattcharacteristic // https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattcharacteristic
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothRemoteGATTCharacteristic { interface BluetoothRemoteGATTCharacteristic {
readonly attribute BluetoothRemoteGATTService service; readonly attribute BluetoothRemoteGATTService service;
readonly attribute DOMString uuid; readonly attribute DOMString uuid;

View file

@ -4,7 +4,7 @@
// http://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor // http://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothRemoteGATTDescriptor { interface BluetoothRemoteGATTDescriptor {
readonly attribute BluetoothRemoteGATTCharacteristic characteristic; readonly attribute BluetoothRemoteGATTCharacteristic characteristic;
readonly attribute DOMString uuid; readonly attribute DOMString uuid;

View file

@ -4,7 +4,7 @@
//https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattserver //https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattserver
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothRemoteGATTServer { interface BluetoothRemoteGATTServer {
readonly attribute BluetoothDevice device; readonly attribute BluetoothDevice device;
readonly attribute boolean connected; readonly attribute boolean connected;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattservice // https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattservice
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothRemoteGATTService { interface BluetoothRemoteGATTService {
readonly attribute BluetoothDevice device; readonly attribute BluetoothDevice device;
readonly attribute DOMString uuid; readonly attribute DOMString uuid;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothuuid // https://webbluetoothcg.github.io/web-bluetooth/#bluetoothuuid
[Pref="dom.bluetooth.enabled"] [Pref="dom.bluetooth.enabled", Exposed=(Window,Worker)]
interface BluetoothUUID { interface BluetoothUUID {
[Throws] [Throws]
static UUID getService(BluetoothServiceUUID name); static UUID getService(BluetoothServiceUUID name);

View file

@ -19,7 +19,7 @@ callback BrowserElementNextPaintEventCallback = void ();
// DOMString? origin; // DOMString? origin;
//}; //};
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface BrowserElement { interface BrowserElement {
}; };
@ -104,7 +104,7 @@ dictionary BrowserElementVisibilityChangeEventDetail {
BrowserElement implements BrowserElementCommon; BrowserElement implements BrowserElementCommon;
BrowserElement implements BrowserElementPrivileged; BrowserElement implements BrowserElementPrivileged;
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface BrowserElementCommon { interface BrowserElementCommon {
[Throws, [Throws,
Pref="dom.mozbrowser.enabled", Pref="dom.mozbrowser.enabled",
@ -137,7 +137,7 @@ interface BrowserElementCommon {
//void removeNextPaintListener(BrowserElementNextPaintEventCallback listener); //void removeNextPaintListener(BrowserElementNextPaintEventCallback listener);
}; };
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface BrowserElementPrivileged { interface BrowserElementPrivileged {
//[Throws, //[Throws,
// Pref="dom.mozBrowserFramesEnabled", // Pref="dom.mozBrowserFramesEnabled",

View file

@ -6,7 +6,7 @@
* http://dev.w3.org/csswg/cssom/#the-css-interface * http://dev.w3.org/csswg/cssom/#the-css-interface
*/ */
[Abstract] [Abstract, Exposed=(Window,Worker)]
interface CSS { interface CSS {
[Throws] [Throws]
static DOMString escape(DOMString ident); static DOMString escape(DOMString ident);

View file

@ -8,6 +8,7 @@
* Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. * Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved.
*/ */
[Exposed=(Window,Worker)]
interface CSSStyleDeclaration { interface CSSStyleDeclaration {
[SetterThrows] [SetterThrows]
attribute DOMString cssText; attribute DOMString cssText;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#canvasgradient // https://html.spec.whatwg.org/multipage/#canvasgradient
// [Exposed=(Window,Worker)] [Exposed=(Window,Worker)]
interface CanvasGradient { interface CanvasGradient {
// opaque object // opaque object
[Throws] [Throws]

View file

@ -4,6 +4,7 @@
// https://html.spec.whatwg.org/multipage/#canvaspattern // https://html.spec.whatwg.org/multipage/#canvaspattern
[Exposed=(Window,Worker)]
interface CanvasPattern { interface CanvasPattern {
//void setTransform(SVGMatrix matrix); //void setTransform(SVGMatrix matrix);
}; };

View file

@ -11,7 +11,8 @@ typedef (HTMLImageElement or
CanvasRenderingContext2D /* or CanvasRenderingContext2D /* or
ImageBitmap */) CanvasImageSource; ImageBitmap */) CanvasImageSource;
//[Constructor(optional unsigned long width, unsigned long height), Exposed=Window,Worker] //[Constructor(optional unsigned long width, unsigned long height)]
[Exposed=(Window,Worker)]
interface CanvasRenderingContext2D { interface CanvasRenderingContext2D {
// back-reference to the canvas // back-reference to the canvas
@ -41,14 +42,14 @@ CanvasRenderingContext2D implements CanvasPathDrawingStyles;
CanvasRenderingContext2D implements CanvasTextDrawingStyles; CanvasRenderingContext2D implements CanvasTextDrawingStyles;
CanvasRenderingContext2D implements CanvasPath; CanvasRenderingContext2D implements CanvasPath;
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasState { interface CanvasState {
// state // state
void save(); // push state on state stack void save(); // push state on state stack
void restore(); // pop state stack and restore state void restore(); // pop state stack and restore state
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasTransform { interface CanvasTransform {
// transformations (default transform is the identity matrix) // transformations (default transform is the identity matrix)
void scale(unrestricted double x, unrestricted double y); void scale(unrestricted double x, unrestricted double y);
@ -72,21 +73,21 @@ interface CanvasTransform {
void resetTransform(); void resetTransform();
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasCompositing { interface CanvasCompositing {
// compositing // compositing
attribute unrestricted double globalAlpha; // (default 1.0) attribute unrestricted double globalAlpha; // (default 1.0)
attribute DOMString globalCompositeOperation; // (default source-over) attribute DOMString globalCompositeOperation; // (default source-over)
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasImageSmoothing { interface CanvasImageSmoothing {
// image smoothing // image smoothing
attribute boolean imageSmoothingEnabled; // (default true) attribute boolean imageSmoothingEnabled; // (default true)
// attribute ImageSmoothingQuality imageSmoothingQuality; // (default low) // attribute ImageSmoothingQuality imageSmoothingQuality; // (default low)
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasFillStrokeStyles { interface CanvasFillStrokeStyles {
// colours and styles (see also the CanvasDrawingStyles interface) // colours and styles (see also the CanvasDrawingStyles interface)
@ -99,7 +100,7 @@ interface CanvasFillStrokeStyles {
CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition); CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasShadowStyles { interface CanvasShadowStyles {
// shadows // shadows
attribute unrestricted double shadowOffsetX; // (default 0) attribute unrestricted double shadowOffsetX; // (default 0)
@ -108,7 +109,7 @@ interface CanvasShadowStyles {
attribute DOMString shadowColor; // (default transparent black) attribute DOMString shadowColor; // (default transparent black)
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasRect { interface CanvasRect {
// rects // rects
//[LenientFloat] //[LenientFloat]
@ -119,7 +120,7 @@ interface CanvasRect {
void strokeRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h); void strokeRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasDrawPath { interface CanvasDrawPath {
// path API (see also CanvasPathMethods) // path API (see also CanvasPathMethods)
void beginPath(); void beginPath();
@ -142,12 +143,12 @@ interface CanvasDrawPath {
//boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y); //boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y);
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasUserInterface { interface CanvasUserInterface {
// TODO? // TODO?
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasText { interface CanvasText {
// text (see also the CanvasDrawingStyles interface) // text (see also the CanvasDrawingStyles interface)
//void fillText(DOMString text, unrestricted double x, unrestricted double y, //void fillText(DOMString text, unrestricted double x, unrestricted double y,
@ -157,7 +158,7 @@ interface CanvasText {
//TextMetrics measureText(DOMString text); //TextMetrics measureText(DOMString text);
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasDrawImage { interface CanvasDrawImage {
// drawing images // drawing images
[Throws] [Throws]
@ -172,7 +173,7 @@ interface CanvasDrawImage {
unrestricted double dw, unrestricted double dh); unrestricted double dw, unrestricted double dh);
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasHitRegion { interface CanvasHitRegion {
// hit regions // hit regions
//void addHitRegion(optional HitRegionOptions options); //void addHitRegion(optional HitRegionOptions options);
@ -180,7 +181,7 @@ interface CanvasHitRegion {
//void clearHitRegions(); //void clearHitRegions();
}; };
[NoInterfaceObject]//,Exposed=(Window,Worker)] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasImageData { interface CanvasImageData {
// pixel manipulation // pixel manipulation
[Throws] [Throws]
@ -205,7 +206,7 @@ enum CanvasTextAlign { "start", "end", "left", "right", "center" };
enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" }; enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" };
enum CanvasDirection { "ltr", "rtl", "inherit" }; enum CanvasDirection { "ltr", "rtl", "inherit" };
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasPathDrawingStyles { interface CanvasPathDrawingStyles {
// line caps/joins // line caps/joins
attribute unrestricted double lineWidth; // (default 1) attribute unrestricted double lineWidth; // (default 1)
@ -219,7 +220,7 @@ interface CanvasPathDrawingStyles {
//attribute unrestricted double lineDashOffset; //attribute unrestricted double lineDashOffset;
}; };
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasTextDrawingStyles { interface CanvasTextDrawingStyles {
// text // text
//attribute DOMString font; // (default 10px sans-serif) //attribute DOMString font; // (default 10px sans-serif)
@ -229,7 +230,7 @@ interface CanvasTextDrawingStyles {
//attribute CanvasDirection direction; // "ltr", "rtl", "inherit" (default: "inherit") //attribute CanvasDirection direction; // "ltr", "rtl", "inherit" (default: "inherit")
}; };
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface CanvasPath { interface CanvasPath {
// shared path API methods // shared path API methods
void closePath(); void closePath();

View file

@ -9,7 +9,7 @@
* liability, trademark and document use rules apply. * liability, trademark and document use rules apply.
*/ */
[Abstract] [Abstract, Exposed=(Window,Worker)]
interface CharacterData : Node { interface CharacterData : Node {
[Pure, TreatNullAs=EmptyString] attribute DOMString data; [Pure, TreatNullAs=EmptyString] attribute DOMString data;
[Pure] readonly attribute unsigned long length; [Pure] readonly attribute unsigned long length;

View file

@ -6,7 +6,7 @@
* https://dom.spec.whatwg.org/#interface-childnode * https://dom.spec.whatwg.org/#interface-childnode
*/ */
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface ChildNode { interface ChildNode {
[Throws, Unscopable] [Throws, Unscopable]
void before((Node or DOMString)... nodes); void before((Node or DOMString)... nodes);
@ -18,7 +18,7 @@ interface ChildNode {
void remove(); void remove();
}; };
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface NonDocumentTypeChildNode { interface NonDocumentTypeChildNode {
[Pure] [Pure]
readonly attribute Element? previousElementSibling; readonly attribute Element? previousElementSibling;

View file

@ -4,8 +4,7 @@
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client
// [Exposed=ServiceWorker] [Pref="dom.serviceworker.enabled", Exposed=(Window,Worker)]
[Pref="dom.serviceworker.enabled"]
interface Client { interface Client {
readonly attribute USVString url; readonly attribute USVString url;
readonly attribute FrameType frameType; readonly attribute FrameType frameType;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//https://html.spec.whatwg.org/multipage/#the-closeevent-interfaces //https://html.spec.whatwg.org/multipage/#the-closeevent-interfaces
[Constructor(DOMString type, optional CloseEventInit eventInitDict)/*, Exposed=(Window,Worker)*/] [Constructor(DOMString type, optional CloseEventInit eventInitDict), Exposed=(Window,Worker)]
interface CloseEvent : Event { interface CloseEvent : Event {
readonly attribute boolean wasClean; readonly attribute boolean wasClean;
readonly attribute unsigned short code; readonly attribute unsigned short code;

View file

@ -9,6 +9,6 @@
* liability, trademark and document use rules apply. * liability, trademark and document use rules apply.
*/ */
[Constructor(optional DOMString data = "")] [Constructor(optional DOMString data = ""), Exposed=(Window,Worker)]
interface Comment : CharacterData { interface Comment : CharacterData {
}; };

View file

@ -9,6 +9,7 @@
* © Copyright 2014 Mozilla Foundation. * © Copyright 2014 Mozilla Foundation.
*/ */
[Exposed=(Window,Worker)]
interface Console { interface Console {
// These should be DOMString message, DOMString message2, ... // These should be DOMString message, DOMString message2, ...
void log(DOMString... messages); void log(DOMString... messages);

View file

@ -7,7 +7,7 @@
* *
*/ */
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface GlobalCrypto { interface GlobalCrypto {
readonly attribute Crypto crypto; readonly attribute Crypto crypto;
}; };
@ -15,7 +15,7 @@ interface GlobalCrypto {
Window implements GlobalCrypto; Window implements GlobalCrypto;
WorkerGlobalScope implements GlobalCrypto; WorkerGlobalScope implements GlobalCrypto;
//[Exposed=(Window,Worker)] [Exposed=(Window,Worker)]
interface Crypto { interface Crypto {
//readonly attribute SubtleCrypto subtle; //readonly attribute SubtleCrypto subtle;
//ArrayBufferView getRandomValues(ArrayBufferView array); //ArrayBufferView getRandomValues(ArrayBufferView array);

View file

@ -13,8 +13,8 @@
* http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0. * http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
*/ */
[Constructor(DOMString type, optional CustomEventInit eventInitDict)/*, [Constructor(DOMString type, optional CustomEventInit eventInitDict),
Exposed=Window,Worker*/] Exposed=(Window,Worker)]
interface CustomEvent : Event { interface CustomEvent : Event {
readonly attribute any detail; readonly attribute any detail;

View file

@ -7,7 +7,7 @@
* https://heycam.github.io/webidl/#es-DOMException-constructor-object * https://heycam.github.io/webidl/#es-DOMException-constructor-object
*/ */
[ExceptionClass] [ExceptionClass, Exposed=(Window,Worker)]
interface DOMException { interface DOMException {
const unsigned short INDEX_SIZE_ERR = 1; const unsigned short INDEX_SIZE_ERR = 1;
const unsigned short DOMSTRING_SIZE_ERR = 2; // historical const unsigned short DOMSTRING_SIZE_ERR = 2; // historical

View file

@ -10,7 +10,7 @@
* related or neighboring rights to this work. * related or neighboring rights to this work.
*/ */
// [Exposed=Window] [Exposed=(Window,Worker)]
interface DOMImplementation { interface DOMImplementation {
[NewObject, Throws] [NewObject, Throws]
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId,

View file

@ -14,7 +14,7 @@ enum SupportedType {
"image/svg+xml"*/ "image/svg+xml"*/
}; };
[Constructor] [Constructor, Exposed=(Window,Worker)]
interface DOMParser { interface DOMParser {
[Throws] [Throws]
Document parseFromString(DOMString str, SupportedType type); Document parseFromString(DOMString str, SupportedType type);

View file

@ -12,7 +12,7 @@
// http://dev.w3.org/fxtf/geometry/Overview.html#dompoint // http://dev.w3.org/fxtf/geometry/Overview.html#dompoint
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1), optional unrestricted double z = 0, optional unrestricted double w = 1),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
interface DOMPoint : DOMPointReadOnly { interface DOMPoint : DOMPointReadOnly {
inherit attribute unrestricted double x; inherit attribute unrestricted double x;
inherit attribute unrestricted double y; inherit attribute unrestricted double y;

View file

@ -12,7 +12,7 @@
// http://dev.w3.org/fxtf/geometry/Overview.html#dompointreadonly // http://dev.w3.org/fxtf/geometry/Overview.html#dompointreadonly
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1), optional unrestricted double z = 0, optional unrestricted double w = 1),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
interface DOMPointReadOnly { interface DOMPointReadOnly {
readonly attribute unrestricted double x; readonly attribute unrestricted double x;
readonly attribute unrestricted double y; readonly attribute unrestricted double y;

View file

@ -12,7 +12,7 @@
[Constructor(optional DOMPointInit p1, optional DOMPointInit p2, [Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
optional DOMPointInit p3, optional DOMPointInit p4), optional DOMPointInit p3, optional DOMPointInit p4),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
interface DOMQuad { interface DOMQuad {
[NewObject] static DOMQuad fromRect(optional DOMRectInit other); [NewObject] static DOMQuad fromRect(optional DOMRectInit other);
[NewObject] static DOMQuad fromQuad(optional DOMQuadInit other); [NewObject] static DOMQuad fromQuad(optional DOMQuadInit other);

View file

@ -4,7 +4,7 @@
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double width = 0, optional unrestricted double height = 0), optional unrestricted double width = 0, optional unrestricted double height = 0),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
// https://drafts.fxtf.org/geometry/#domrect // https://drafts.fxtf.org/geometry/#domrect
interface DOMRect : DOMRectReadOnly { interface DOMRect : DOMRectReadOnly {
inherit attribute unrestricted double x; inherit attribute unrestricted double x;

View file

@ -3,8 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// http://dev.w3.org/fxtf/geometry/#DOMRectList // http://dev.w3.org/fxtf/geometry/#DOMRectList
[NoInterfaceObject/*, [NoInterfaceObject, Exposed=(Window,Worker)]
ArrayClass*/] //[ArrayClass]
interface DOMRectList { interface DOMRectList {
readonly attribute unsigned long length; readonly attribute unsigned long length;
getter DOMRect? item(unsigned long index); getter DOMRect? item(unsigned long index);

View file

@ -4,7 +4,7 @@
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double width = 0, optional unrestricted double height = 0), optional unrestricted double width = 0, optional unrestricted double height = 0),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
// https://drafts.fxtf.org/geometry/#domrect // https://drafts.fxtf.org/geometry/#domrect
interface DOMRectReadOnly { interface DOMRectReadOnly {
// [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other); // [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other);

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#the-domstringmap-interface // https://html.spec.whatwg.org/multipage/#the-domstringmap-interface
[OverrideBuiltins] [OverrideBuiltins, Exposed=(Window,Worker)]
interface DOMStringMap { interface DOMStringMap {
getter DOMString (DOMString name); getter DOMString (DOMString name);
[Throws] [Throws]

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#domtokenlist // https://dom.spec.whatwg.org/#domtokenlist
[Exposed=(Window,Worker)]
interface DOMTokenList { interface DOMTokenList {
[Pure] [Pure]
readonly attribute unsigned long length; readonly attribute unsigned long length;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#dedicatedworkerglobalscope // https://html.spec.whatwg.org/multipage/#dedicatedworkerglobalscope
[Global/*=Worker,DedicatedWorker*/] [Global=(Worker,DedicatedWorker)]
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope { /*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
[Throws] [Throws]
void postMessage(any message/*, optional sequence<Transferable> transfer*/); void postMessage(any message/*, optional sequence<Transferable> transfer*/);

View file

@ -8,7 +8,7 @@
*/ */
// https://dom.spec.whatwg.org/#interface-document // https://dom.spec.whatwg.org/#interface-document
[Constructor] [Constructor, Exposed=(Window,Worker)]
interface Document : Node { interface Document : Node {
[SameObject] [SameObject]
readonly attribute DOMImplementation implementation; readonly attribute DOMImplementation implementation;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#interface-documentfragment // https://dom.spec.whatwg.org/#interface-documentfragment
[Constructor] [Constructor, Exposed=(Window,Worker)]
interface DocumentFragment : Node { interface DocumentFragment : Node {
}; };

View file

@ -9,6 +9,7 @@
* liability, trademark and document use rules apply. * liability, trademark and document use rules apply.
*/ */
[Exposed=(Window,Worker)]
interface DocumentType : Node { interface DocumentType : Node {
[Constant] [Constant]
readonly attribute DOMString name; readonly attribute DOMString name;

View file

@ -12,6 +12,7 @@
* liability, trademark and document use rules apply. * liability, trademark and document use rules apply.
*/ */
[Exposed=(Window,Worker)]
interface Element : Node { interface Element : Node {
[Constant] [Constant]
readonly attribute DOMString? namespaceURI; readonly attribute DOMString? namespaceURI;

View file

@ -4,7 +4,7 @@
//http://dev.w3.org/csswg/cssom/#elementcssinlinestyle //http://dev.w3.org/csswg/cssom/#elementcssinlinestyle
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface ElementCSSInlineStyle { interface ElementCSSInlineStyle {
[SameObject/*, PutForwards=cssText*/] readonly attribute CSSStyleDeclaration style; [SameObject/*, PutForwards=cssText*/] readonly attribute CSSStyleDeclaration style;
}; };

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#elementcontenteditable // https://html.spec.whatwg.org/multipage/#elementcontenteditable
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface ElementContentEditable { interface ElementContentEditable {
// attribute DOMString contentEditable; // attribute DOMString contentEditable;
// readonly attribute boolean isContentEditable; // readonly attribute boolean isContentEditable;

View file

@ -4,7 +4,7 @@
// https://html.spec.whatwg.org/multipage/#the-errorevent-interface // https://html.spec.whatwg.org/multipage/#the-errorevent-interface
[Constructor(DOMString type, optional ErrorEventInit eventInitDict)/*, Exposed=(Window,Worker)*/] [Constructor(DOMString type, optional ErrorEventInit eventInitDict), Exposed=(Window,Worker)]
interface ErrorEvent : Event { interface ErrorEvent : Event {
readonly attribute DOMString message; readonly attribute DOMString message;
readonly attribute DOMString filename; readonly attribute DOMString filename;

View file

@ -6,7 +6,7 @@
* https://dom.spec.whatwg.org/#event * https://dom.spec.whatwg.org/#event
*/ */
[Constructor(DOMString type, optional EventInit eventInitDict)] [Constructor(DOMString type, optional EventInit eventInitDict), Exposed=(Window,Worker)]
interface Event { interface Event {
[Pure] [Pure]
readonly attribute DOMString type; readonly attribute DOMString type;

View file

@ -25,7 +25,7 @@ callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler; typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
// https://html.spec.whatwg.org/multipage/#globaleventhandlers // https://html.spec.whatwg.org/multipage/#globaleventhandlers
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface GlobalEventHandlers { interface GlobalEventHandlers {
attribute EventHandler onabort; attribute EventHandler onabort;
attribute EventHandler onblur; attribute EventHandler onblur;
@ -90,7 +90,7 @@ interface GlobalEventHandlers {
}; };
// https://html.spec.whatwg.org/multipage/#windoweventhandlers // https://html.spec.whatwg.org/multipage/#windoweventhandlers
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface WindowEventHandlers { interface WindowEventHandlers {
attribute EventHandler onafterprint; attribute EventHandler onafterprint;
attribute EventHandler onbeforeprint; attribute EventHandler onbeforeprint;
@ -110,7 +110,7 @@ interface WindowEventHandlers {
}; };
// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers // https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers
[NoInterfaceObject] [NoInterfaceObject, Exposed=(Window,Worker)]
interface DocumentAndElementEventHandlers { interface DocumentAndElementEventHandlers {
attribute EventHandler oncopy; attribute EventHandler oncopy;
attribute EventHandler oncut; attribute EventHandler oncut;

View file

@ -7,7 +7,7 @@
*/ */
[Constructor(DOMString url, optional EventSourceInit eventSourceInitDict), [Constructor(DOMString url, optional EventSourceInit eventSourceInitDict),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
interface EventSource : EventTarget { interface EventSource : EventTarget {
readonly attribute DOMString url; readonly attribute DOMString url;
readonly attribute boolean withCredentials; readonly attribute boolean withCredentials;

View file

@ -5,7 +5,7 @@
* https://dom.spec.whatwg.org/#interface-eventtarget * https://dom.spec.whatwg.org/#interface-eventtarget
*/ */
[Abstract] [Abstract, Exposed=(Window,Worker)]
interface EventTarget { interface EventTarget {
void addEventListener(DOMString type, void addEventListener(DOMString type,
EventListener? listener, EventListener? listener,

View file

@ -7,7 +7,7 @@
[Constructor(sequence<BlobPart> fileBits, [Constructor(sequence<BlobPart> fileBits,
DOMString fileName, DOMString fileName,
optional FilePropertyBag options), optional FilePropertyBag options),
Exposed=Window/*,Worker*/] Exposed=(Window,Worker)]
interface File : Blob { interface File : Blob {
readonly attribute DOMString name; readonly attribute DOMString name;
readonly attribute long long lastModified; readonly attribute long long lastModified;

View file

@ -4,6 +4,7 @@
// https://w3c.github.io/FileAPI/#dfn-filelist // https://w3c.github.io/FileAPI/#dfn-filelist
[Exposed=(Window,Worker)]
interface FileList { interface FileList {
getter File? item(unsigned long index); getter File? item(unsigned long index);
readonly attribute unsigned long length; readonly attribute unsigned long length;

View file

@ -5,7 +5,7 @@
// http://dev.w3.org/2006/webapi/FileAPI/#APIASynch // http://dev.w3.org/2006/webapi/FileAPI/#APIASynch
//typedef (DOMString or ArrayBuffer) FileReaderResult; //typedef (DOMString or ArrayBuffer) FileReaderResult;
[Constructor, Exposed=Window/*,Worker*/] [Constructor, Exposed=(Window,Worker)]
interface FileReader: EventTarget { interface FileReader: EventTarget {
// async read methods // async read methods

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-FocusEvent // https://w3c.github.io/uievents/#interface-FocusEvent
[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict)] [Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict), Exposed=(Window,Worker)]
interface FocusEvent : UIEvent { interface FocusEvent : UIEvent {
readonly attribute EventTarget? relatedTarget; readonly attribute EventTarget? relatedTarget;
}; };

View file

@ -23,7 +23,7 @@
*/ */
[Pref="dom.forcetouch.enabled"] [Pref="dom.forcetouch.enabled", Exposed=(Window,Worker)]
interface ForceTouchEvent : UIEvent { interface ForceTouchEvent : UIEvent {
// Represents the amount of force required to perform a regular click. // Represents the amount of force required to perform a regular click.
readonly attribute float SERVO_FORCE_AT_MOUSE_DOWN; readonly attribute float SERVO_FORCE_AT_MOUSE_DOWN;

View file

@ -9,7 +9,7 @@
typedef (Blob or USVString) FormDataEntryValue; typedef (Blob or USVString) FormDataEntryValue;
[Constructor(optional HTMLFormElement form), [Constructor(optional HTMLFormElement form),
/*Exposed=(Window,Worker)*/] Exposed=(Window,Worker)]
interface FormData { interface FormData {
void append(USVString name, USVString value); void append(USVString name, USVString value);
void append(USVString name, Blob value, optional USVString filename); void append(USVString name, Blob value, optional USVString filename);

View file

@ -11,6 +11,7 @@
*/ */
// https://html.spec.whatwg.org/multipage/#htmlanchorelement // https://html.spec.whatwg.org/multipage/#htmlanchorelement
[Exposed=(Window,Worker)]
interface HTMLAnchorElement : HTMLElement { interface HTMLAnchorElement : HTMLElement {
attribute DOMString target; attribute DOMString target;
// attribute DOMString download; // attribute DOMString download;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlappletelement // https://html.spec.whatwg.org/multipage/#htmlappletelement
[Exposed=(Window,Worker)]
interface HTMLAppletElement : HTMLElement { interface HTMLAppletElement : HTMLElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString alt; // attribute DOMString alt;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlareaelement // https://html.spec.whatwg.org/multipage/#htmlareaelement
[Exposed=(Window,Worker)]
interface HTMLAreaElement : HTMLElement { interface HTMLAreaElement : HTMLElement {
// attribute DOMString alt; // attribute DOMString alt;
// attribute DOMString coords; // attribute DOMString coords;

View file

@ -4,4 +4,5 @@
// https://html.spec.whatwg.org/multipage/#htmlaudioelement // https://html.spec.whatwg.org/multipage/#htmlaudioelement
//[NamedConstructor=Audio(optional DOMString src)] //[NamedConstructor=Audio(optional DOMString src)]
[Exposed=(Window,Worker)]
interface HTMLAudioElement : HTMLMediaElement {}; interface HTMLAudioElement : HTMLMediaElement {};

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbrelement // https://html.spec.whatwg.org/multipage/#htmlbrelement
[Exposed=(Window,Worker)]
interface HTMLBRElement : HTMLElement { interface HTMLBRElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbaseelement // https://html.spec.whatwg.org/multipage/#htmlbaseelement
[Exposed=(Window,Worker)]
interface HTMLBaseElement : HTMLElement { interface HTMLBaseElement : HTMLElement {
attribute DOMString href; attribute DOMString href;
// attribute DOMString target; // attribute DOMString target;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#the-body-element // https://html.spec.whatwg.org/multipage/#the-body-element
[Exposed=(Window,Worker)]
interface HTMLBodyElement : HTMLElement { interface HTMLBodyElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbuttonelement // https://html.spec.whatwg.org/multipage/#htmlbuttonelement
[Exposed=(Window,Worker)]
interface HTMLButtonElement : HTMLElement { interface HTMLButtonElement : HTMLElement {
// attribute boolean autofocus; // attribute boolean autofocus;
attribute boolean disabled; attribute boolean disabled;

View file

@ -5,6 +5,7 @@
// https://html.spec.whatwg.org/multipage/#htmlcanvaselement // https://html.spec.whatwg.org/multipage/#htmlcanvaselement
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[Exposed=(Window,Worker)]
interface HTMLCanvasElement : HTMLElement { interface HTMLCanvasElement : HTMLElement {
[Pure] [Pure]
attribute unsigned long width; attribute unsigned long width;

View file

@ -4,7 +4,7 @@
// https://dom.spec.whatwg.org/#interface-htmlcollection // https://dom.spec.whatwg.org/#interface-htmlcollection
[LegacyUnenumerableNamedProperties] [LegacyUnenumerableNamedProperties, Exposed=(Window,Worker)]
interface HTMLCollection { interface HTMLCollection {
[Pure] [Pure]
readonly attribute unsigned long length; readonly attribute unsigned long length;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldlistelement // https://html.spec.whatwg.org/multipage/#htmldlistelement
[Exposed=(Window,Worker)]
interface HTMLDListElement : HTMLElement { interface HTMLDListElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldataelement // https://html.spec.whatwg.org/multipage/#htmldataelement
[Exposed=(Window,Worker)]
interface HTMLDataElement : HTMLElement { interface HTMLDataElement : HTMLElement {
// attribute DOMString value; // attribute DOMString value;
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldatalistelement // https://html.spec.whatwg.org/multipage/#htmldatalistelement
[Exposed=(Window,Worker)]
interface HTMLDataListElement : HTMLElement { interface HTMLDataListElement : HTMLElement {
readonly attribute HTMLCollection options; readonly attribute HTMLCollection options;
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldetailselement // https://html.spec.whatwg.org/multipage/#htmldetailselement
[Exposed=(Window,Worker)]
interface HTMLDetailsElement : HTMLElement { interface HTMLDetailsElement : HTMLElement {
attribute boolean open; attribute boolean open;
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldialogelement // https://html.spec.whatwg.org/multipage/#htmldialogelement
[Exposed=(Window,Worker)]
interface HTMLDialogElement : HTMLElement { interface HTMLDialogElement : HTMLElement {
attribute boolean open; attribute boolean open;
attribute DOMString returnValue; attribute DOMString returnValue;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldirectoryelement // https://html.spec.whatwg.org/multipage/#htmldirectoryelement
[Exposed=(Window,Worker)]
interface HTMLDirectoryElement : HTMLElement { interface HTMLDirectoryElement : HTMLElement {
// attribute boolean compact; // attribute boolean compact;
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldivelement // https://html.spec.whatwg.org/multipage/#htmldivelement
[Exposed=(Window,Worker)]
interface HTMLDivElement : HTMLElement { interface HTMLDivElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlelement // https://html.spec.whatwg.org/multipage/#htmlelement
[Exposed=(Window,Worker)]
interface HTMLElement : Element { interface HTMLElement : Element {
// metadata attributes // metadata attributes
attribute DOMString title; attribute DOMString title;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlembedelement // https://html.spec.whatwg.org/multipage/#htmlembedelement
[Exposed=(Window,Worker)]
interface HTMLEmbedElement : HTMLElement { interface HTMLEmbedElement : HTMLElement {
// attribute DOMString src; // attribute DOMString src;
// attribute DOMString type; // attribute DOMString type;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfieldsetelement // https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
[Exposed=(Window,Worker)]
interface HTMLFieldSetElement : HTMLElement { interface HTMLFieldSetElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfontelement // https://html.spec.whatwg.org/multipage/#htmlfontelement
[Exposed=(Window,Worker)]
interface HTMLFontElement : HTMLElement { interface HTMLFontElement : HTMLElement {
[TreatNullAs=EmptyString] attribute DOMString color; [TreatNullAs=EmptyString] attribute DOMString color;
attribute DOMString face; attribute DOMString face;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlformcontrolscollection // https://html.spec.whatwg.org/multipage/#htmlformcontrolscollection
[Exposed=(Window,Worker)]
interface HTMLFormControlsCollection : HTMLCollection { interface HTMLFormControlsCollection : HTMLCollection {
// inherits length and item() // inherits length and item()
getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem() getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()

View file

@ -4,6 +4,7 @@
// https://html.spec.whatwg.org/multipage/#htmlformelement // https://html.spec.whatwg.org/multipage/#htmlformelement
//[OverrideBuiltins] //[OverrideBuiltins]
[Exposed=(Window,Worker)]
interface HTMLFormElement : HTMLElement { interface HTMLFormElement : HTMLElement {
attribute DOMString acceptCharset; attribute DOMString acceptCharset;
attribute DOMString action; attribute DOMString action;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframeelement // https://html.spec.whatwg.org/multipage/#htmlframeelement
[Exposed=(Window,Worker)]
interface HTMLFrameElement : HTMLElement { interface HTMLFrameElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
// attribute DOMString scrolling; // attribute DOMString scrolling;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframesetelement // https://html.spec.whatwg.org/multipage/#htmlframesetelement
[Exposed=(Window,Worker)]
interface HTMLFrameSetElement : HTMLElement { interface HTMLFrameSetElement : HTMLElement {
// attribute DOMString cols; // attribute DOMString cols;
// attribute DOMString rows; // attribute DOMString rows;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhrelement // https://html.spec.whatwg.org/multipage/#htmlhrelement
[Exposed=(Window,Worker)]
interface HTMLHRElement : HTMLElement { interface HTMLHRElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,4 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlheadelement // https://html.spec.whatwg.org/multipage/#htmlheadelement
[Exposed=(Window,Worker)]
interface HTMLHeadElement : HTMLElement {}; interface HTMLHeadElement : HTMLElement {};

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlheadingelement // https://html.spec.whatwg.org/multipage/#htmlheadingelement
[Exposed=(Window,Worker)]
interface HTMLHeadingElement : HTMLElement { interface HTMLHeadingElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhtmlelement // https://html.spec.whatwg.org/multipage/#htmlhtmlelement
[Exposed=(Window,Worker)]
interface HTMLHtmlElement : HTMLElement { interface HTMLHtmlElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils // https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils
[NoInterfaceObject/*, Exposed=Window*/] [NoInterfaceObject, Exposed=(Window,Worker)]
interface HTMLHyperlinkElementUtils { interface HTMLHyperlinkElementUtils {
// stringifier attribute USVString href; // stringifier attribute USVString href;
attribute USVString href; attribute USVString href;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmliframeelement // https://html.spec.whatwg.org/multipage/#htmliframeelement
[Exposed=(Window,Worker)]
interface HTMLIFrameElement : HTMLElement { interface HTMLIFrameElement : HTMLElement {
attribute DOMString src; attribute DOMString src;
// attribute DOMString srcdoc; // attribute DOMString srcdoc;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlimageelement // https://html.spec.whatwg.org/multipage/#htmlimageelement
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] [NamedConstructor=Image(optional unsigned long width, optional unsigned long height), Exposed=(Window,Worker)]
interface HTMLImageElement : HTMLElement { interface HTMLImageElement : HTMLElement {
attribute DOMString alt; attribute DOMString alt;
attribute DOMString src; attribute DOMString src;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlinputelement // https://html.spec.whatwg.org/multipage/#htmlinputelement
[Exposed=(Window,Worker)]
interface HTMLInputElement : HTMLElement { interface HTMLInputElement : HTMLElement {
attribute DOMString accept; attribute DOMString accept;
attribute DOMString alt; attribute DOMString alt;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllielement // https://html.spec.whatwg.org/multipage/#htmllielement
[Exposed=(Window,Worker)]
interface HTMLLIElement : HTMLElement { interface HTMLLIElement : HTMLElement {
// attribute long value; // attribute long value;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllabelelement // https://html.spec.whatwg.org/multipage/#htmllabelelement
[Exposed=(Window,Worker)]
interface HTMLLabelElement : HTMLElement { interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
attribute DOMString htmlFor; attribute DOMString htmlFor;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllegendelement // https://html.spec.whatwg.org/multipage/#htmllegendelement
[Exposed=(Window,Worker)]
interface HTMLLegendElement : HTMLElement { interface HTMLLegendElement : HTMLElement {
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllinkelement // https://html.spec.whatwg.org/multipage/#htmllinkelement
[Exposed=(Window,Worker)]
interface HTMLLinkElement : HTMLElement { interface HTMLLinkElement : HTMLElement {
attribute DOMString href; attribute DOMString href;
// attribute DOMString crossOrigin; // attribute DOMString crossOrigin;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmapelement // https://html.spec.whatwg.org/multipage/#htmlmapelement
[Exposed=(Window,Worker)]
interface HTMLMapElement : HTMLElement { interface HTMLMapElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
//readonly attribute HTMLCollection areas; //readonly attribute HTMLCollection areas;

View file

@ -4,7 +4,7 @@
// https://html.spec.whatwg.org/multipage/#htmlmediaelement // https://html.spec.whatwg.org/multipage/#htmlmediaelement
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" }; enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
[Abstract] [Abstract, Exposed=(Window,Worker)]
interface HTMLMediaElement : HTMLElement { interface HTMLMediaElement : HTMLElement {
// error state // error state

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmetaelement // https://html.spec.whatwg.org/multipage/#htmlmetaelement
[Exposed=(Window,Worker)]
interface HTMLMetaElement : HTMLElement { interface HTMLMetaElement : HTMLElement {
attribute DOMString name; attribute DOMString name;
// attribute DOMString httpEquiv; // attribute DOMString httpEquiv;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmeterelement // https://html.spec.whatwg.org/multipage/#htmlmeterelement
[Exposed=(Window,Worker)]
interface HTMLMeterElement : HTMLElement { interface HTMLMeterElement : HTMLElement {
// attribute double value; // attribute double value;
// attribute double min; // attribute double min;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmodelement // https://html.spec.whatwg.org/multipage/#htmlmodelement
[Exposed=(Window,Worker)]
interface HTMLModElement : HTMLElement { interface HTMLModElement : HTMLElement {
// attribute DOMString cite; // attribute DOMString cite;
// attribute DOMString dateTime; // attribute DOMString dateTime;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlolistelement // https://html.spec.whatwg.org/multipage/#htmlolistelement
[Exposed=(Window,Worker)]
interface HTMLOListElement : HTMLElement { interface HTMLOListElement : HTMLElement {
// attribute boolean reversed; // attribute boolean reversed;
// attribute long start; // attribute long start;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlobjectelement // https://html.spec.whatwg.org/multipage/#htmlobjectelement
[Exposed=(Window,Worker)]
interface HTMLObjectElement : HTMLElement { interface HTMLObjectElement : HTMLElement {
// attribute DOMString data; // attribute DOMString data;
attribute DOMString type; attribute DOMString type;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptgroupelement // https://html.spec.whatwg.org/multipage/#htmloptgroupelement
[Exposed=(Window,Worker)]
interface HTMLOptGroupElement : HTMLElement { interface HTMLOptGroupElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
// attribute DOMString label; // attribute DOMString label;

Some files were not shown because too many files have changed in this diff Show more