aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorYoungmin Yoo <youngmin.yoo@samsung.com>2014-01-16 21:33:05 +0900
committerYoungmin Yoo <youngmin.yoo@samsung.com>2014-01-20 12:56:23 +0900
commit0523a7dfe9d439f10fb05a1ccb08f22517ede280 (patch)
tree01302771785810b0e88ff81bfa190f9fa25a72e1 /src/components/script/dom/bindings/codegen
parent897e037db3fac6a245de2b35a37faabc202e4609 (diff)
downloadservo-0523a7dfe9d439f10fb05a1ccb08f22517ede280.tar.gz
servo-0523a7dfe9d439f10fb05a1ccb08f22517ede280.zip
Move webidl files to dom/webidl
Diffstat (limited to 'src/components/script/dom/bindings/codegen')
-rw-r--r--src/components/script/dom/bindings/codegen/Attr.webidl18
-rw-r--r--src/components/script/dom/bindings/codegen/AttrList.webidl8
-rw-r--r--src/components/script/dom/bindings/codegen/Blob.webidl28
-rw-r--r--src/components/script/dom/bindings/codegen/CharacterData.webidl28
-rw-r--r--src/components/script/dom/bindings/codegen/ClientRect.webidl14
-rw-r--r--src/components/script/dom/bindings/codegen/ClientRectList.webidl10
-rw-r--r--src/components/script/dom/bindings/codegen/Comment.webidl15
-rw-r--r--src/components/script/dom/bindings/codegen/DOMParser.webidl47
-rw-r--r--src/components/script/dom/bindings/codegen/Document.webidl336
-rw-r--r--src/components/script/dom/bindings/codegen/DocumentFragment.webidl9
-rw-r--r--src/components/script/dom/bindings/codegen/DocumentType.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/Element.webidl189
-rw-r--r--src/components/script/dom/bindings/codegen/Event.webidl92
-rw-r--r--src/components/script/dom/bindings/codegen/EventListener.webidl16
-rw-r--r--src/components/script/dom/bindings/codegen/EventTarget.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/FormData.webidl14
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLAnchorElement.webidl54
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLAppletElement.webidl43
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLAreaElement.webidl52
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLAudioElement.webidl37
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLBRElement.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLBaseElement.webidl20
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLBodyElement.webidl26
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLButtonElement.webidl51
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLCanvasElement.webidl55
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLCollection.webidl18
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDListElement.webidl23
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDataElement.webidl13
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDataListElement.webidl16
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDirectoryElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDivElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLDocument.webidl74
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLElement.webidl118
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLEmbedElement.webidl45
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLFieldSetElement.webidl32
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLFontElement.webidl18
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLFormElement.webidl48
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLFrameElement.webidl34
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLFrameSetElement.webidl21
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLHRElement.webidl30
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLHeadElement.webidl15
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLHeadingElement.webidl21
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLHtmlElement.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLIFrameElement.webidl67
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLImageElement.webidl50
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLInputElement.webidl189
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLLIElement.webidl28
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLLabelElement.webidl24
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLLegendElement.webidl29
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLLinkElement.webidl47
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMainElement.webidl14
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMapElement.webidl21
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMediaElement.webidl188
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl28
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMeterElement.webidl33
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLModElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLOListElement.webidl29
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLObjectElement.webidl201
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLOptGroupElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLOptionElement.webidl31
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLOutputElement.webidl37
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLParamElement.webidl29
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLPreElement.webidl24
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLProgressElement.webidl27
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLQuoteElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLScriptElement.webidl35
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLSelectElement.webidl57
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLSourceElement.webidl21
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLSpanElement.webidl15
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLStyleElement.webidl23
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableCaptionElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableCellElement.webidl53
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableColElement.webidl30
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableDataCellElement.webidl17
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableElement.webidl62
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableHeaderCellElement.webidl22
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableRowElement.webidl37
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTableSectionElement.webidl33
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTemplateElement.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTextAreaElement.webidl101
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTimeElement.webidl13
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTitleElement.webidl13
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLTrackElement.webidl36
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLUListElement.webidl25
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLUnknownElement.webidl16
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLVideoElement.webidl56
-rw-r--r--src/components/script/dom/bindings/codegen/Location.webidl21
-rw-r--r--src/components/script/dom/bindings/codegen/MouseEvent.webidl76
-rw-r--r--src/components/script/dom/bindings/codegen/Navigator.webidl345
-rw-r--r--src/components/script/dom/bindings/codegen/Node.webidl107
-rw-r--r--src/components/script/dom/bindings/codegen/NodeList.webidl16
-rw-r--r--src/components/script/dom/bindings/codegen/Text.webidl19
-rw-r--r--src/components/script/dom/bindings/codegen/UIEvent.webidl45
-rw-r--r--src/components/script/dom/bindings/codegen/URLUtils.webidl32
-rw-r--r--src/components/script/dom/bindings/codegen/ValidityState.webidl25
-rw-r--r--src/components/script/dom/bindings/codegen/Window.webidl72
-rw-r--r--src/components/script/dom/bindings/codegen/WindowProxy.webidl9
98 files changed, 0 insertions, 4459 deletions
diff --git a/src/components/script/dom/bindings/codegen/Attr.webidl b/src/components/script/dom/bindings/codegen/Attr.webidl
deleted file mode 100644
index 2b3d18150d8..00000000000
--- a/src/components/script/dom/bindings/codegen/Attr.webidl
+++ /dev/null
@@ -1,18 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dom.spec.whatwg.org/#interface-attr
- *
- */
-
-interface Attr {
- readonly attribute DOMString localName;
- attribute DOMString value;
-
- readonly attribute DOMString name;
- readonly attribute DOMString? namespaceURI;
- readonly attribute DOMString? prefix;
-};
diff --git a/src/components/script/dom/bindings/codegen/AttrList.webidl b/src/components/script/dom/bindings/codegen/AttrList.webidl
deleted file mode 100644
index d37bb53a3b8..00000000000
--- a/src/components/script/dom/bindings/codegen/AttrList.webidl
+++ /dev/null
@@ -1,8 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-interface AttrList {
- readonly attribute unsigned long length;
- getter Attr? item(unsigned long index);
-}; \ No newline at end of file
diff --git a/src/components/script/dom/bindings/codegen/Blob.webidl b/src/components/script/dom/bindings/codegen/Blob.webidl
deleted file mode 100644
index 9e7bec50c0a..00000000000
--- a/src/components/script/dom/bindings/codegen/Blob.webidl
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dev.w3.org/2006/webapi/FileAPI/#blob
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-[Constructor/*,
- Constructor(sequence<(ArrayBuffer or ArrayBufferView or Blob or DOMString)> blobParts, optional BlobPropertyBag option)*/]
-interface Blob {
- readonly attribute unsigned long long size;
- readonly attribute DOMString type;
-
- Blob slice([Clamp] optional long long start,
- [Clamp] optional long long end,
- optional DOMString contentType);
- void close();
-};
-
-
-dictionary BlobPropertyBag {
- DOMString type = "";
-};
diff --git a/src/components/script/dom/bindings/codegen/CharacterData.webidl b/src/components/script/dom/bindings/codegen/CharacterData.webidl
deleted file mode 100644
index 00085fcc6b0..00000000000
--- a/src/components/script/dom/bindings/codegen/CharacterData.webidl
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dom.spec.whatwg.org/#characterdata
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface CharacterData : Node {
- [TreatNullAs=EmptyString,SetterThrows] attribute DOMString data;
- readonly attribute unsigned long length;
- [Throws]
- DOMString substringData(unsigned long offset, unsigned long count);
- [Throws]
- void appendData(DOMString data);
- [Throws]
- void insertData(unsigned long offset, DOMString data);
- [Throws]
- void deleteData(unsigned long offset, unsigned long count);
- [Throws]
- void replaceData(unsigned long offset, unsigned long count, DOMString data);
-};
-
-//CharacterData implements ChildNode;
diff --git a/src/components/script/dom/bindings/codegen/ClientRect.webidl b/src/components/script/dom/bindings/codegen/ClientRect.webidl
deleted file mode 100644
index dcec655aca7..00000000000
--- a/src/components/script/dom/bindings/codegen/ClientRect.webidl
+++ /dev/null
@@ -1,14 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-interface ClientRect {
- readonly attribute float top;
- readonly attribute float right;
- readonly attribute float bottom;
- readonly attribute float left;
- readonly attribute float width;
- readonly attribute float height;
-};
diff --git a/src/components/script/dom/bindings/codegen/ClientRectList.webidl b/src/components/script/dom/bindings/codegen/ClientRectList.webidl
deleted file mode 100644
index 964425bd0f8..00000000000
--- a/src/components/script/dom/bindings/codegen/ClientRectList.webidl
+++ /dev/null
@@ -1,10 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-interface ClientRectList {
- readonly attribute unsigned long length;
- getter ClientRect? item(unsigned long index);
-};
diff --git a/src/components/script/dom/bindings/codegen/Comment.webidl b/src/components/script/dom/bindings/codegen/Comment.webidl
deleted file mode 100644
index 023335f166a..00000000000
--- a/src/components/script/dom/bindings/codegen/Comment.webidl
+++ /dev/null
@@ -1,15 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dom.spec.whatwg.org/#comment
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-[Constructor(optional DOMString data = "")]
-interface Comment : CharacterData {
-};
diff --git a/src/components/script/dom/bindings/codegen/DOMParser.webidl b/src/components/script/dom/bindings/codegen/DOMParser.webidl
deleted file mode 100644
index 2bfbd43a28b..00000000000
--- a/src/components/script/dom/bindings/codegen/DOMParser.webidl
+++ /dev/null
@@ -1,47 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://domparsing.spec.whatwg.org/#the-domparser-interface
- */
-
-/*interface Principal;
-interface URI;
-interface InputStream;*/
-
-enum SupportedType {
- "text/html",
- "text/xml",
- "application/xml",
- "application/xhtml+xml",
- "image/svg+xml"
-};
-
-// the latter is Mozilla-specific
-/*[Constructor,
- Constructor(Principal? prin, optional URI? documentURI = null,
- optional URI? baseURI = null)]*/
-[Constructor]
-interface DOMParser {
- [Creator, Throws]
- Document parseFromString(DOMString str, SupportedType type);
-
- /* // Mozilla-specific stuff
- // Throws if the passed-in length is greater than the actual sequence length
- [Creator, Throws, ChromeOnly]
- Document parseFromBuffer(sequence<octet> buf, unsigned long bufLen,
- SupportedType type);
- // Throws if the passed-in length is greater than the actual typed array length
- [Creator, Throws, ChromeOnly]
- Document parseFromBuffer(Uint8Array buf, unsigned long bufLen,
- SupportedType type);
- [Creator, Throws, ChromeOnly]
- Document parseFromStream(InputStream stream, DOMString? charset,
- long contentLength, SupportedType type);
- [Throws, ChromeOnly]
- void init(optional Principal? principal = null,
- optional URI? documentURI = null,
- optional URI? baseURI = null);*/
-};
-
diff --git a/src/components/script/dom/bindings/codegen/Document.webidl b/src/components/script/dom/bindings/codegen/Document.webidl
deleted file mode 100644
index 4f7fafee7b4..00000000000
--- a/src/components/script/dom/bindings/codegen/Document.webidl
+++ /dev/null
@@ -1,336 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is:
- * http://dom.spec.whatwg.org/#interface-document
- * http://www.whatwg.org/specs/web-apps/current-work/#the-document-object
- * http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api
- * http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-document-interface
- * http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-document-interface
- * http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
- * http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface
- *
- * http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/core/nsIDOMDocument.idl
- */
-
-/*interface StyleSheetList;
-interface WindowProxy;
-interface nsISupports;
-interface URI;*/
-
-enum VisibilityState { "hidden", "visible" };
-
-/* http://dom.spec.whatwg.org/#interface-document */
-[Constructor]
-interface Document : Node {
- readonly attribute DOMImplementation implementation;
- // readonly attribute DOMString URL;
- // readonly attribute DOMString documentURI;
- // readonly attribute DOMString compatMode;
- // readonly attribute DOMString characterSet;
- // readonly attribute DOMString contentType;
-
- readonly attribute DocumentType? doctype;
- readonly attribute Element? documentElement;
- HTMLCollection getElementsByTagName(DOMString localName);
- HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
- HTMLCollection getElementsByClassName(DOMString classNames);
- Element? getElementById(DOMString elementId);
-
- [Creator, Throws]
- Element createElement(DOMString localName);
- // [Creator, Throws]
- // Element createElementNS(DOMString? namespace, DOMString qualifiedName);
- [Creator]
- DocumentFragment createDocumentFragment();
- [Creator]
- Text createTextNode(DOMString data);
- [Creator]
- Comment createComment(DOMString data);
- /*[Creator, Throws]
- ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);*/
-
- /*[Throws]
- Node importNode(Node node, optional boolean deep = true);
- [Throws]
- Node adoptNode(Node node);*/
-
- [Creator, Throws]
- Event createEvent(DOMString interface_);
-
- /*[Creator, Throws]
- Range createRange();*/
-
- // NodeFilter.SHOW_ALL = 0xFFFFFFFF
- /*[Creator, Throws]
- NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
- [Creator, Throws]
- TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);*/
-
- // NEW
- // No support for prepend/append yet
- // void prepend((Node or DOMString)... nodes);
- // void append((Node or DOMString)... nodes);
-
- // These are not in the spec, but leave them for now for backwards compat.
- // So sort of like Gecko extensions
- /*[Creator, Throws]
- CDATASection createCDATASection(DOMString data);
- [Creator, Throws]
- Attr createAttribute(DOMString name);
- [Creator, Throws]
- Attr createAttributeNS(DOMString? namespace, DOMString name);*/
- // readonly attribute DOMString? inputEncoding;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-document-object
-partial interface Document {
- //[PutForwards=href, Unforgeable] readonly attribute Location? location;
- //(HTML only) attribute DOMString domain;
- // readonly attribute DOMString referrer;
- //(HTML only) attribute DOMString cookie;
- // readonly attribute DOMString lastModified;
- // readonly attribute DOMString readyState;
-
- // DOM tree accessors
- //(Not proxy yet)getter object (DOMString name);
- [SetterThrows]
- attribute DOMString title;
- // attribute DOMString dir;
- attribute HTMLElement? body;
- readonly attribute HTMLHeadElement? head;
- //(HTML only)readonly attribute HTMLCollection images;
- //(HTML only)readonly attribute HTMLCollection embeds;
- //(HTML only)readonly attribute HTMLCollection plugins;
- //(HTML only)readonly attribute HTMLCollection links;
- //(HTML only)readonly attribute HTMLCollection forms;
- //(HTML only)readonly attribute HTMLCollection scripts;
- /*NodeList*/ HTMLCollection getElementsByName(DOMString elementName); ////(HTML only)
- //(HTML only)NodeList getItems(optional DOMString typeNames); // microdata
- //(Not implemented)readonly attribute DOMElementMap cssElementMap;
-
- // dynamic markup insertion
- //(HTML only)Document open(optional DOMString type, optional DOMString replace);
- //(HTML only)WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace);
- //(HTML only)void close();
- //(HTML only)void write(DOMString... text);
- //(HTML only)void writeln(DOMString... text);
-
- // user interaction
- // readonly attribute WindowProxy? defaultView;
- // readonly attribute Element? activeElement;
- // [Throws]
- // boolean hasFocus();
- //(HTML only) attribute DOMString designMode;
- //(HTML only)boolean execCommand(DOMString commandId);
- //(HTML only)boolean execCommand(DOMString commandId, boolean showUI);
- //(HTML only)boolean execCommand(DOMString commandId, boolean showUI, DOMString value);
- //(HTML only)boolean queryCommandEnabled(DOMString commandId);
- //(HTML only)boolean queryCommandIndeterm(DOMString commandId);
- //(HTML only)boolean queryCommandState(DOMString commandId);
- //(HTML only)boolean queryCommandSupported(DOMString commandId);
- //(HTML only)DOMString queryCommandValue(DOMString commandId);
- //(Not implemented)readonly attribute HTMLCollection commands;
-
- // special event handler IDL attributes that only apply to Document objects
- //[LenientThis, SetterThrows] attribute EventHandler onreadystatechange;
-
- // Gecko extensions?
- /*[LenientThis, SetterThrows] attribute EventHandler onmouseenter;
- [LenientThis, SetterThrows] attribute EventHandler onmouseleave;
- [SetterThrows] attribute EventHandler onwheel;
- [SetterThrows] attribute EventHandler oncopy;
- [SetterThrows] attribute EventHandler oncut;
- [SetterThrows] attribute EventHandler onpaste;
- [SetterThrows] attribute EventHandler onbeforescriptexecute;
- [SetterThrows] attribute EventHandler onafterscriptexecute;*/
- /**
- * True if this document is synthetic : stand alone image, video, audio file,
- * etc.
- */
- //[ChromeOnly] readonly attribute boolean mozSyntheticDocument;
- /**
- * Returns the script element whose script is currently being processed.
- *
- * @see <https://developer.mozilla.org/en/DOM/document.currentScript>
- */
- // readonly attribute Element? currentScript;
- /**
- * Release the current mouse capture if it is on an element within this
- * document.
- *
- * @see <https://developer.mozilla.org/en/DOM/document.releaseCapture>
- */
- // void releaseCapture();
- /**
- * Use the given DOM element as the source image of target |-moz-element()|.
- *
- * This function introduces a new special ID (called "image element ID"),
- * which is only used by |-moz-element()|, and associates it with the given
- * DOM element. Image elements ID's have the higher precedence than general
- * HTML id's, so if |document.mozSetImageElement(<id>, <element>)| is called,
- * |-moz-element(#<id>)| uses |<element>| as the source image even if there
- * is another element with id attribute = |<id>|. To unregister an image
- * element ID |<id>|, call |document.mozSetImageElement(<id>, null)|.
- *
- * Example:
- * <script>
- * canvas = document.createElement("canvas");
- * canvas.setAttribute("width", 100);
- * canvas.setAttribute("height", 100);
- * // draw to canvas
- * document.mozSetImageElement("canvasbg", canvas);
- * </script>
- * <div style="background-image: -moz-element(#canvasbg);"></div>
- *
- * @param aImageElementId an image element ID to associate with
- * |aImageElement|
- * @param aImageElement a DOM element to be used as the source image of
- * |-moz-element(#aImageElementId)|. If this is null, the function will
- * unregister the image element ID |aImageElementId|.
- *
- * @see <https://developer.mozilla.org/en/DOM/document.mozSetImageElement>
- */
- /*void mozSetImageElement(DOMString aImageElementId,
- Element? aImageElement);*/
-
- /*[ChromeOnly]
- readonly attribute URI? documentURIObject;*/
-
-};
-
-// http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api
-partial interface Document {
- // Note: Per spec the 'S' in these two is lowercase, but the "Moz"
- // versions hve it uppercase.
- // readonly attribute boolean mozFullScreenEnabled;
- // [Throws]
- // readonly attribute Element? mozFullScreenElement;
-
- //(Renamed?)void exitFullscreen();
-
- // Gecko-specific fullscreen bits
- /*readonly attribute boolean mozFullScreen;
- void mozCancelFullScreen();*/
-};
-
-// http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-document-interface
-partial interface Document {
- // readonly attribute Element? mozPointerLockElement;
- // void mozExitPointerLock ();
-};
-
-//http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-document-register
-/*partial interface Document {
- [Throws, Pref="dom.webcomponents.enabled"]
- object register(DOMString name, optional ElementRegistrationOptions options);
- };*/
-
-// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-document-interface
-partial interface Document {
- // readonly attribute boolean hidden;
- // readonly attribute boolean mozHidden;
- // readonly attribute VisibilityState visibilityState;
- // readonly attribute VisibilityState mozVisibilityState;
-};
-
-// http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
-partial interface Document {
- /*[Constant]
- readonly attribute StyleSheetList styleSheets;*/
- // attribute DOMString? selectedStyleSheetSet;
- // readonly attribute DOMString? lastStyleSheetSet;
- // readonly attribute DOMString? preferredStyleSheetSet;
- /*[Constant]
- readonly attribute DOMStringList styleSheetSets;*/
- // void enableStyleSheetsForSet (DOMString? name);
-};
-
-// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface
-partial interface Document {
- // Element? elementFromPoint (float x, float y);
-
- //CaretPosition? caretPositionFromPoint (float x, float y);
-};
-
-// http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html
-/*partial interface Document {
- [Pref="dom.undo_manager.enabled"]
- readonly attribute UndoManager? undoManager;
- };*/
-
-// http://dev.w3.org/2006/webapi/selectors-api2/#interface-definitions
-partial interface Document {
- // [Throws]
- // Element? querySelector(DOMString selectors);
- /*[Throws]
- NodeList querySelectorAll(DOMString selectors);*/
-
- //(Not implemented)Element? find(DOMString selectors, optional (Element or sequence<Node>)? refNodes);
- //(Not implemented)NodeList findAll(DOMString selectors, optional (Element or sequence<Node>)? refNodes);
-};
-
-// Mozilla extensions of various sorts
-/*partial interface Document {
- // nsIDOMDocumentXBL. Wish we could make these [ChromeOnly], but
- // that would likely break bindings running with the page principal.
- NodeList? getAnonymousNodes(Element elt);
- Element? getAnonymousElementByAttribute(Element elt, DOMString attrName,
- DOMString attrValue);
- Element? getBindingParent(Node node);
- [Throws]
- void loadBindingDocument(DOMString documentURL);
-
- // nsIDOMDocumentTouch
- // XXXbz I can't find the sane spec for this stuff, so just cribbing
- // from our xpidl for now.
- [Creator, Func="nsGenericHTMLElement::TouchEventsEnabled"]
- Touch createTouch(optional Window? view = null,
- optional EventTarget? target = null,
- optional long identifier = 0,
- optional long pageX = 0,
- optional long pageY = 0,
- optional long screenX = 0,
- optional long screenY = 0,
- optional long clientX = 0,
- optional long clientY = 0,
- optional long radiusX = 0,
- optional long radiusY = 0,
- optional float rotationAngle = 0,
- optional float force = 0);
- // XXXbz a hack to get around the fact that we don't support variadics as
- // distinguishing arguments yet. Once this hack is removed. we can also
- // remove the corresponding overload on nsIDocument, since Touch... and
- // sequence<Touch> look the same in the C++.
- [Creator, Func="nsGenericHTMLElement::TouchEventsEnabled"]
- TouchList createTouchList(Touch touch, Touch... touches);
- // XXXbz and another hack for the fact that we can't usefully have optional
- // distinguishing arguments but need a working zero-arg form of
- // createTouchList().
- [Creator, Func="nsGenericHTMLElement::TouchEventsEnabled"]
- TouchList createTouchList();
- [Creator, Func="nsGenericHTMLElement::TouchEventsEnabled"]
- TouchList createTouchList(sequence<Touch> touches);
-
- [ChromeOnly]
- attribute boolean styleSheetChangeEventsEnabled;
-
- [ChromeOnly, Throws]
- void obsoleteSheet(URI sheetURI);
- [ChromeOnly, Throws]
- void obsoleteSheet(DOMString sheetURI);
-};
-
-// Extension to give chrome JS the ability to determine when a document was
-// created to satisfy an iframe with srcdoc attribute.
-partial interface Document {
- [ChromeOnly] readonly attribute boolean isSrcdocDocument;
-};
-
-Document implements XPathEvaluator;
-Document implements GlobalEventHandlers;
-Document implements NodeEventHandlers;
-Document implements TouchEventHandlers;
-Document implements ParentNode;*/
diff --git a/src/components/script/dom/bindings/codegen/DocumentFragment.webidl b/src/components/script/dom/bindings/codegen/DocumentFragment.webidl
deleted file mode 100644
index 9afc55e4aa1..00000000000
--- a/src/components/script/dom/bindings/codegen/DocumentFragment.webidl
+++ /dev/null
@@ -1,9 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-// http://dom.spec.whatwg.org/#interface-documentfragment
-[Constructor]
-interface DocumentFragment : Node {
-};
diff --git a/src/components/script/dom/bindings/codegen/DocumentType.webidl b/src/components/script/dom/bindings/codegen/DocumentType.webidl
deleted file mode 100644
index 9a2e9cc4042..00000000000
--- a/src/components/script/dom/bindings/codegen/DocumentType.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dom.spec.whatwg.org/#documenttype
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface DocumentType : Node {
- readonly attribute DOMString name;
- readonly attribute DOMString publicId;
- readonly attribute DOMString systemId;
-
- // Mozilla extension
- //readonly attribute DOMString? internalSubset;
-};
-
-//DocumentType implements ChildNode;
diff --git a/src/components/script/dom/bindings/codegen/Element.webidl b/src/components/script/dom/bindings/codegen/Element.webidl
deleted file mode 100644
index 840e654ce99..00000000000
--- a/src/components/script/dom/bindings/codegen/Element.webidl
+++ /dev/null
@@ -1,189 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://dom.spec.whatwg.org/#element and
- * http://domparsing.spec.whatwg.org/ and
- * http://dev.w3.org/csswg/cssom-view/ and
- * http://www.w3.org/TR/selectors-api/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface Element : Node {
-/*
- We haven't moved these from Node to Element like the spec wants.
-
- [Throws]
- readonly attribute DOMString? namespaceURI;
- readonly attribute DOMString? prefix;
- readonly attribute DOMString localName;
-*/
- // Not [Constant] because it depends on which document we're in
- [Pure]
- readonly attribute DOMString tagName;
-
- [Pure]
- attribute DOMString id;
-/*
- FIXME Bug 810677 Move className from HTMLElement to Element
- attribute DOMString className;
-*/
- /*[Constant]
- readonly attribute DOMTokenList? classList;*/
-
- [Constant]
- readonly attribute AttrList attributes;
- DOMString? getAttribute(DOMString name);
- DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
- [Throws]
- void setAttribute(DOMString name, DOMString value);
- [Throws]
- void setAttributeNS(DOMString? namespace, DOMString name, DOMString value);
- [Throws]
- void removeAttribute(DOMString name);
- [Throws]
- void removeAttributeNS(DOMString? namespace, DOMString localName);
- boolean hasAttribute(DOMString name);
- boolean hasAttributeNS(DOMString? namespace, DOMString localName);
-
- HTMLCollection getElementsByTagName(DOMString localName);
- [Throws]
- HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
- HTMLCollection getElementsByClassName(DOMString classNames);
-
- /**
- * The ratio of font-size-inflated text font size to computed font
- * size for this element. This will query the element for its primary frame,
- * and then use this to get font size inflation information about the frame.
- * This will be 1.0 if font size inflation is not enabled, and -1.0 if an
- * error occurred during the retrieval of the font size inflation.
- *
- * @note The font size inflation ratio that is returned is actually the
- * font size inflation data for the element's _primary frame_, not the
- * element itself, but for most purposes, this should be sufficient.
- */
- /*[ChromeOnly]
- readonly attribute float fontSizeInflation;*/
-
- // Mozilla specific stuff
-
- /*[SetterThrows,LenientThis]
- attribute EventHandler onmouseenter;
- [SetterThrows,LenientThis]
- attribute EventHandler onmouseleave;
- [SetterThrows]
- attribute EventHandler onwheel;*/
-
- // Selectors API
- /**
- * Returns whether this element would be selected by the given selector
- * string.
- *
- * See <http://dev.w3.org/2006/webapi/selectors-api2/#matchesselector>
- */
- [Throws]
- boolean mozMatchesSelector(DOMString selector);
-
- // Proprietary extensions
- /**
- * Set this during a mousedown event to grab and retarget all mouse events
- * to this element until the mouse button is released or releaseCapture is
- * called. If retargetToElement is true, then all events are targetted at
- * this element. If false, events can also fire at descendants of this
- * element.
- *
- */
- void setCapture(optional boolean retargetToElement = false);
-
- /**
- * If this element has captured the mouse, release the capture. If another
- * element has captured the mouse, this method has no effect.
- */
- void releaseCapture();
-
- // Mozilla extensions
- /**
- * Requests that this element be made the full-screen element, as per the DOM
- * full-screen api.
- *
- * @see <https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI>
- */
- void mozRequestFullScreen();
-
- /**
- * Requests that this element be made the pointer-locked element, as per the DOM
- * pointer lock api.
- *
- * @see <http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html>
- */
- void mozRequestPointerLock();
-
- // Obsolete methods.
- /*Attr? getAttributeNode(DOMString name);
- [Throws]
- Attr? setAttributeNode(Attr newAttr);
- [Throws]
- Attr? removeAttributeNode(Attr oldAttr);
- Attr? getAttributeNodeNS(DOMString? namespaceURI, DOMString localName);
- [Throws]
- Attr? setAttributeNodeNS(Attr newAttr);*/
-};
-
-// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
-partial interface Element {
- ClientRectList getClientRects();
- ClientRect getBoundingClientRect();
-
- // scrolling
- void scrollIntoView(optional boolean top = true);
- // None of the CSSOM attributes are [Pure], because they flush
- attribute long scrollTop; // scroll on setting
- attribute long scrollLeft; // scroll on setting
- readonly attribute long scrollWidth;
- readonly attribute long scrollHeight;
-
- readonly attribute long clientTop;
- readonly attribute long clientLeft;
- readonly attribute long clientWidth;
- readonly attribute long clientHeight;
-
- // Mozilla specific stuff
- /* The maximum offset that the element can be scrolled to
- (i.e., the value that scrollLeft/scrollTop would be clamped to if they were
- set to arbitrarily large values. */
- /*readonly attribute long scrollTopMax;
- readonly attribute long scrollLeftMax;*/
-};
-
-// http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html
-/*partial interface Element {
- [Pref="dom.undo_manager.enabled"]
- readonly attribute UndoManager? undoManager;
- [SetterThrows,Pref="dom.undo_manager.enabled"]
- attribute boolean undoScope;
- };*/
-
-// http://domparsing.spec.whatwg.org/#extensions-to-the-element-interface
-partial interface Element {
- [Throws,TreatNullAs=EmptyString]
- attribute DOMString innerHTML;
- [Throws,TreatNullAs=EmptyString]
- attribute DOMString outerHTML;
- [Throws]
- void insertAdjacentHTML(DOMString position, DOMString text);
-};
-
-// http://www.w3.org/TR/selectors-api/#interface-definitions
-partial interface Element {
- [Throws]
- Element? querySelector(DOMString selectors);
- /*[Throws]
- NodeList querySelectorAll(DOMString selectors);*/
-};
-
-/*Element implements ChildNode;
-Element implements ParentNode;*/
diff --git a/src/components/script/dom/bindings/codegen/Event.webidl b/src/components/script/dom/bindings/codegen/Event.webidl
deleted file mode 100644
index f60fee5d785..00000000000
--- a/src/components/script/dom/bindings/codegen/Event.webidl
+++ /dev/null
@@ -1,92 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * For more information on this interface please see
- * http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-[Constructor(DOMString type, optional EventInit eventInitDict)]
-interface Event {
- readonly attribute DOMString type;
- readonly attribute EventTarget? target;
- readonly attribute EventTarget? currentTarget;
-
- const unsigned short NONE = 0;
- const unsigned short CAPTURING_PHASE = 1;
- const unsigned short AT_TARGET = 2;
- const unsigned short BUBBLING_PHASE = 3;
- readonly attribute unsigned short eventPhase;
-
- void stopPropagation();
- void stopImmediatePropagation();
-
- readonly attribute boolean bubbles;
- readonly attribute boolean cancelable;
- void preventDefault();
- readonly attribute boolean defaultPrevented;
-
- readonly attribute boolean isTrusted;
- readonly attribute DOMTimeStamp timeStamp;
-
- [Throws]
- void initEvent(DOMString type, boolean bubbles, boolean cancelable);
-};
-
-/*// Mozilla specific legacy stuff.
-partial interface Event {
- const long MOUSEDOWN = 0x00000001;
- const long MOUSEUP = 0x00000002;
- const long MOUSEOVER = 0x00000004;
- const long MOUSEOUT = 0x00000008;
- const long MOUSEMOVE = 0x00000010;
- const long MOUSEDRAG = 0x00000020;
- const long CLICK = 0x00000040;
- const long DBLCLICK = 0x00000080;
- const long KEYDOWN = 0x00000100;
- const long KEYUP = 0x00000200;
- const long KEYPRESS = 0x00000400;
- const long DRAGDROP = 0x00000800;
- const long FOCUS = 0x00001000;
- const long BLUR = 0x00002000;
- const long SELECT = 0x00004000;
- const long CHANGE = 0x00008000;
- const long RESET = 0x00010000;
- const long SUBMIT = 0x00020000;
- const long SCROLL = 0x00040000;
- const long LOAD = 0x00080000;
- const long UNLOAD = 0x00100000;
- const long XFER_DONE = 0x00200000;
- const long ABORT = 0x00400000;
- const long ERROR = 0x00800000;
- const long LOCATE = 0x01000000;
- const long MOVE = 0x02000000;
- const long RESIZE = 0x04000000;
- const long FORWARD = 0x08000000;
- const long HELP = 0x10000000;
- const long BACK = 0x20000000;
- const long TEXT = 0x40000000;
-
- const long ALT_MASK = 0x00000001;
- const long CONTROL_MASK = 0x00000002;
- const long SHIFT_MASK = 0x00000004;
- const long META_MASK = 0x00000008;
-
- readonly attribute EventTarget? originalTarget;
- readonly attribute EventTarget? explicitOriginalTarget;
- [ChromeOnly] readonly attribute boolean multipleActionsPrevented;
-
- void preventBubble();
- void preventCapture();
- boolean getPreventDefault();
- };*/
-
-dictionary EventInit {
- boolean bubbles = false;
- boolean cancelable = false;
-};
-
diff --git a/src/components/script/dom/bindings/codegen/EventListener.webidl b/src/components/script/dom/bindings/codegen/EventListener.webidl
deleted file mode 100644
index 05e1684d31e..00000000000
--- a/src/components/script/dom/bindings/codegen/EventListener.webidl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-callback interface EventListener {
- void handleEvent(Event event);
-};
-
diff --git a/src/components/script/dom/bindings/codegen/EventTarget.webidl b/src/components/script/dom/bindings/codegen/EventTarget.webidl
deleted file mode 100644
index 897756fa273..00000000000
--- a/src/components/script/dom/bindings/codegen/EventTarget.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface EventTarget {
- void addEventListener(DOMString type,
- EventListener? listener,
- optional boolean capture = false);
- void removeEventListener(DOMString type,
- EventListener? listener,
- optional boolean capture = false);
- [Throws]
- boolean dispatchEvent(Event event);
-};
diff --git a/src/components/script/dom/bindings/codegen/FormData.webidl b/src/components/script/dom/bindings/codegen/FormData.webidl
deleted file mode 100644
index 4e4bef26850..00000000000
--- a/src/components/script/dom/bindings/codegen/FormData.webidl
+++ /dev/null
@@ -1,14 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://xhr.spec.whatwg.org
- */
-
-[Constructor(optional HTMLFormElement form)]
-interface FormData {
- void append(DOMString name, Blob value, optional DOMString filename);
- void append(DOMString name, DOMString value);
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLAnchorElement.webidl b/src/components/script/dom/bindings/codegen/HTMLAnchorElement.webidl
deleted file mode 100644
index a4e1866fbf9..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLAnchorElement.webidl
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-a-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-a-element
-interface HTMLAnchorElement : HTMLElement {
- // No support for stringifier attributes yet
- //[SetterThrows]
- //stringifier attribute DOMString href;
- //stringifier;
- [SetterThrows]
- attribute DOMString href;
- [SetterThrows]
- attribute DOMString target;
- [SetterThrows]
- attribute DOMString download;
- [SetterThrows]
- attribute DOMString ping;
- [SetterThrows]
- attribute DOMString rel;
- // relList not supported yet
- //readonly attribute DOMTokenList relList;
- [SetterThrows]
- attribute DOMString hreflang;
- [SetterThrows]
- attribute DOMString type;
-
- [SetterThrows]
- attribute DOMString text;
-};
-//HTMLAnchorElement implements URLUtils;
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLAnchorElement {
- [SetterThrows]
- attribute DOMString coords;
- [SetterThrows]
- attribute DOMString charset;
- [SetterThrows]
- attribute DOMString name;
- [SetterThrows]
- attribute DOMString rev;
- [SetterThrows]
- attribute DOMString shape;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLAppletElement.webidl b/src/components/script/dom/bindings/codegen/HTMLAppletElement.webidl
deleted file mode 100644
index 9b0f06dab87..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLAppletElement.webidl
+++ /dev/null
@@ -1,43 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-applet-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-applet-element
-[NeedNewResolve]
-interface HTMLAppletElement : HTMLElement {
- [Pure, SetterThrows]
- attribute DOMString align;
- [Pure, SetterThrows]
- attribute DOMString alt;
- [Pure, SetterThrows]
- attribute DOMString archive;
- [Pure, SetterThrows]
- attribute DOMString code;
- [Pure, SetterThrows]
- attribute DOMString codeBase;
- [Pure, SetterThrows]
- attribute DOMString height;
- [Pure, SetterThrows]
- attribute unsigned long hspace;
- [Pure, SetterThrows]
- attribute DOMString name;
- [Pure, SetterThrows]
- attribute DOMString _object;
- [Pure, SetterThrows]
- attribute unsigned long vspace;
- [Pure, SetterThrows]
- attribute DOMString width;
-};
-
-//HTMLAppletElement implements MozImageLoadingContent;
-//HTMLAppletElement implements MozFrameLoaderOwner;
-//HTMLAppletElement implements MozObjectLoadingContent;
diff --git a/src/components/script/dom/bindings/codegen/HTMLAreaElement.webidl b/src/components/script/dom/bindings/codegen/HTMLAreaElement.webidl
deleted file mode 100644
index f63f897bf5b..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLAreaElement.webidl
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-area-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-area-element
-interface HTMLAreaElement : HTMLElement {
- [SetterThrows]
- attribute DOMString alt;
- [SetterThrows]
- attribute DOMString coords;
- [SetterThrows]
- attribute DOMString shape;
- // No support for stringifier attributes yet
- //[SetterThrows]
- //stringifier attribute DOMString href;
-// stringifier;
- [SetterThrows]
- attribute DOMString href;
- [SetterThrows]
- attribute DOMString target;
- [SetterThrows]
- attribute DOMString download;
- [SetterThrows]
- attribute DOMString ping;
-
- // not implemented.
- // [SetterThrows]
- // attribute DOMString rel;
- //readonly attribute DOMTokenList relList;
- //
- // [SetterThrows]
- // attribute DOMString hreflang;
- // [SetterThrows]
- // attribute DOMString type;
-};
-//HTMLAreaElement implements URLUtils;
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLAreaElement {
- [SetterThrows]
- attribute boolean noHref;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLAudioElement.webidl b/src/components/script/dom/bindings/codegen/HTMLAudioElement.webidl
deleted file mode 100644
index 90084eb52eb..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLAudioElement.webidl
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-audio-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-[NamedConstructor=Audio(optional DOMString src)]
-interface HTMLAudioElement : HTMLMediaElement {};
-
-partial interface HTMLAudioElement
-{
-/*
- // Setup the audio stream for writing
- [Pref="media.audio_data.enabled", Throws]
- void mozSetup(unsigned long channels, unsigned long rate);
-
- // Write audio to the audio stream
- [Pref="media.audio_data.enabled", Throws]
- unsigned long mozWriteAudio(Float32Array data);
- [Pref="media.audio_data.enabled", Throws]
- unsigned long mozWriteAudio(sequence<unrestricted float> data);
-
- // Get the current offset (measured in samples since the start) of the audio
- // stream created using mozWriteAudio().
- [Pref="media.audio_data.enabled", Throws]
- unsigned long long mozCurrentSampleOffset();
-*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLBRElement.webidl b/src/components/script/dom/bindings/codegen/HTMLBRElement.webidl
deleted file mode 100644
index 66b0e717f2e..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLBRElement.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-br-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-br-element
-interface HTMLBRElement : HTMLElement {};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLBRElement {
- [SetterThrows]
- attribute DOMString clear;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLBaseElement.webidl b/src/components/script/dom/bindings/codegen/HTMLBaseElement.webidl
deleted file mode 100644
index d3e7e4d8d71..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLBaseElement.webidl
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-base-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-base-element
-interface HTMLBaseElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString href;
- [SetterThrows, Pure]
- attribute DOMString target;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLBodyElement.webidl b/src/components/script/dom/bindings/codegen/HTMLBodyElement.webidl
deleted file mode 100644
index 83b8815d122..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLBodyElement.webidl
+++ /dev/null
@@ -1,26 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLBodyElement : HTMLElement {
-};
-
-partial interface HTMLBodyElement {
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString text;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString link;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString vLink;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString aLink;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
- [SetterThrows] attribute DOMString background;
-};
-
-//HTMLBodyElement implements WindowEventHandlers;
diff --git a/src/components/script/dom/bindings/codegen/HTMLButtonElement.webidl b/src/components/script/dom/bindings/codegen/HTMLButtonElement.webidl
deleted file mode 100644
index 0ca51a1e618..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLButtonElement.webidl
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-button-element
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// FIXME: servo#707
-//interface HTMLFormElement;
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-button-element
-interface HTMLButtonElement : HTMLElement {
- [SetterThrows, Pure]
- attribute boolean autofocus;
- [SetterThrows, Pure]
- attribute boolean disabled;
- [Pure]
- readonly attribute HTMLFormElement? form;
- [SetterThrows, Pure]
- attribute DOMString formAction;
- [SetterThrows, Pure]
- attribute DOMString formEnctype;
- [SetterThrows, Pure]
- attribute DOMString formMethod;
- [SetterThrows, Pure]
- attribute boolean formNoValidate;
- [SetterThrows, Pure]
- attribute DOMString formTarget;
- [SetterThrows, Pure]
- attribute DOMString name;
- [SetterThrows, Pure]
- attribute DOMString type;
- [SetterThrows, Pure]
- attribute DOMString value;
-// Not yet implemented:
-// attribute HTMLMenuElement? menu;
-
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-
-// Not yet implemented:
-// readonly attribute NodeList labels;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLCanvasElement.webidl b/src/components/script/dom/bindings/codegen/HTMLCanvasElement.webidl
deleted file mode 100644
index d2413381daa..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLCanvasElement.webidl
+++ /dev/null
@@ -1,55 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-canvas-element
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/HTMLCanvasElement.webidl
-
-/*
-interface Blob;
-interface FileCallback;
-interface nsIInputStreamCallback;
-interface nsISupports;
-interface PrintCallback;
-interface Variant;
-*/
-
-interface HTMLCanvasElement : HTMLElement {
- [Pure, SetterThrows]
- attribute unsigned long width;
- [Pure, SetterThrows]
- attribute unsigned long height;
-/*
- [Throws]
- nsISupports? getContext(DOMString contextId, optional any contextOptions = null);
-
- [Throws]
- DOMString toDataURL(optional DOMString type = "",
- optional any encoderOptions);
- [Throws]
- void toBlob(FileCallback _callback,
- optional DOMString type = "",
- optional any encoderOptions);
-*/
-};
-/*
-// Mozilla specific bits
-partial interface HTMLCanvasElement {
- [Pure, SetterThrows]
- attribute boolean mozOpaque;
- [Throws]
- File mozGetAsFile(DOMString name, optional DOMString? type = null);
- [ChromeOnly, Throws]
- nsISupports? MozGetIPCContext(DOMString contextId);
- [ChromeOnly]
- void mozFetchAsStream(nsIInputStreamCallback callback, optional DOMString? type = null);
- attribute PrintCallback? mozPrintCallback;
-};
-*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLCollection.webidl b/src/components/script/dom/bindings/codegen/HTMLCollection.webidl
deleted file mode 100644
index 1e56c3c01af..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLCollection.webidl
+++ /dev/null
@@ -1,18 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface HTMLCollection {
- readonly attribute unsigned long length;
- getter Element? item(unsigned long index);
- [Throws]
- getter object? namedItem(DOMString name); // only returns Element
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLDListElement.webidl b/src/components/script/dom/bindings/codegen/HTMLDListElement.webidl
deleted file mode 100644
index 08020a49700..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDListElement.webidl
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-dl-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-dl-element
-interface HTMLDListElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLDListElement {
- [SetterThrows]
- attribute boolean compact;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLDataElement.webidl b/src/components/script/dom/bindings/codegen/HTMLDataElement.webidl
deleted file mode 100644
index 8a487122873..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDataElement.webidl
+++ /dev/null
@@ -1,13 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-data-element
- */
-
-interface HTMLDataElement : HTMLElement {
- [SetterThrows]
- attribute DOMString value;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLDataListElement.webidl b/src/components/script/dom/bindings/codegen/HTMLDataListElement.webidl
deleted file mode 100644
index 83b20cd2bc3..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDataListElement.webidl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLDataListElement : HTMLElement {
- readonly attribute HTMLCollection options;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLDirectoryElement.webidl b/src/components/script/dom/bindings/codegen/HTMLDirectoryElement.webidl
deleted file mode 100644
index 9d5160af1bc..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDirectoryElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-interface HTMLDirectoryElement : HTMLElement {
- [SetterThrows, Pure]
- attribute boolean compact;
-};
-
diff --git a/src/components/script/dom/bindings/codegen/HTMLDivElement.webidl b/src/components/script/dom/bindings/codegen/HTMLDivElement.webidl
deleted file mode 100644
index f50e2aad003..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDivElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLDivElement : HTMLElement {};
-
-partial interface HTMLDivElement {
- [SetterThrows]
- attribute DOMString align;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLDocument.webidl b/src/components/script/dom/bindings/codegen/HTMLDocument.webidl
deleted file mode 100644
index f735e4f5326..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLDocument.webidl
+++ /dev/null
@@ -1,74 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-interface Selection;
-
-[OverrideBuiltins]
-interface HTMLDocument : Document {
- // [Throws]
- // attribute DOMString? domain;
- // [Throws]
- // attribute DOMString cookie;
- // DOM tree accessors
- // [Throws]
- // getter object (DOMString name);
- /*[SetterThrows]
- attribute HTMLElement? body;*/
- // readonly attribute HTMLHeadElement? head;
- readonly attribute HTMLCollection images;
- readonly attribute HTMLCollection embeds;
- readonly attribute HTMLCollection plugins;
- readonly attribute HTMLCollection links;
- readonly attribute HTMLCollection forms;
- readonly attribute HTMLCollection scripts;
- /*NodeList getElementsByName(DOMString elementName);
- NodeList getItems(optional DOMString typeNames = ""); // microdata*/
-
- // dynamic markup insertion
- /*[Throws]
- Document open(optional DOMString type = "text/html", optional DOMString replace = "");
- [Throws]
- WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);*/
- // [Throws]
- // void close();
- /*[Throws]
- void write(DOMString... text);
- [Throws]
- void writeln(DOMString... text);*/
-
- // [SetterThrows]
- // attribute DOMString designMode;
- // [Throws]
- // boolean execCommand(DOMString commandId, optional boolean showUI = false,
- // optional DOMString value = "");
- // [Throws]
- // boolean queryCommandEnabled(DOMString commandId);
- // [Throws]
- // boolean queryCommandIndeterm(DOMString commandId);
- // [Throws]
- // boolean queryCommandState(DOMString commandId);
- // boolean queryCommandSupported(DOMString commandId);
- // [Throws]
- // DOMString queryCommandValue(DOMString commandId);
-
- // [TreatNullAs=EmptyString] attribute DOMString fgColor;
- // [TreatNullAs=EmptyString] attribute DOMString linkColor;
- // [TreatNullAs=EmptyString] attribute DOMString vlinkColor;
- // [TreatNullAs=EmptyString] attribute DOMString alinkColor;
- // [TreatNullAs=EmptyString] attribute DOMString bgColor;
-
- readonly attribute HTMLCollection anchors;
- readonly attribute HTMLCollection applets;
-
- // void clear();
-
- // [Throws]
- // readonly attribute object all;
-
- // https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#selections
- /*[Throws]
- Selection getSelection();*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLElement.webidl b/src/components/script/dom/bindings/codegen/HTMLElement.webidl
deleted file mode 100644
index deaeb10a67c..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLElement.webidl
+++ /dev/null
@@ -1,118 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/ and
- * http://dev.w3.org/csswg/cssom-view/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLElement : Element {
- // metadata attributes
- attribute DOMString title;
- attribute DOMString lang;
- // attribute boolean translate;
- [SetterThrows, Pure]
- attribute DOMString dir;
- /*[Constant]
- readonly attribute DOMStringMap dataset;*/
-
- // microdata
- /*[SetterThrows, Pure]
- attribute boolean itemScope;
- [PutForwards=value,Constant] readonly attribute DOMSettableTokenList itemType;
- [SetterThrows, Pure]
- attribute DOMString itemId;
- [PutForwards=value,Constant] readonly attribute DOMSettableTokenList itemRef;
- [PutForwards=value,Constant] readonly attribute DOMSettableTokenList itemProp;*/
- /*[Constant]
- readonly attribute HTMLPropertiesCollection properties;*/
- [Throws]
- attribute any itemValue;
-
- // user interaction
- [SetterThrows, Pure]
- attribute boolean hidden;
- void click();
- [SetterThrows, Pure]
- attribute long tabIndex;
- [Throws]
- void focus();
- [Throws]
- void blur();
- [SetterThrows, Pure]
- attribute DOMString accessKey;
- [Pure]
- readonly attribute DOMString accessKeyLabel;
- [SetterThrows, Pure]
- attribute boolean draggable;
- //[PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
- [SetterThrows, Pure]
- attribute DOMString contentEditable;
- [Pure]
- readonly attribute boolean isContentEditable;
- /*[Pure]
- readonly attribute HTMLMenuElement? contextMenu;*/
- //[SetterThrows]
- // attribute HTMLMenuElement? contextMenu;
- [SetterThrows, Pure]
- attribute boolean spellcheck;
-
- // command API
- //readonly attribute DOMString? commandType;
- //readonly attribute DOMString? commandLabel;
- //readonly attribute DOMString? commandIcon;
- //readonly attribute boolean? commandHidden;
- //readonly attribute boolean? commandDisabled;
- //readonly attribute boolean? commandChecked;
-
- // styling
- /*[PutForwards=cssText, Constant]
- readonly attribute CSSStyleDeclaration style;*/
-
- // Mozilla specific stuff
- // FIXME Bug 810677 Move className from HTMLElement to Element
- attribute DOMString className;
-
- /*[SetterThrows]
- attribute EventHandler oncopy;
- [SetterThrows]
- attribute EventHandler oncut;
- [SetterThrows]
- attribute EventHandler onpaste;*/
-};
-
-// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface
-partial interface HTMLElement {
- // CSSOM things are not [Pure] because they can flush
- readonly attribute Element? offsetParent;
- readonly attribute long offsetTop;
- readonly attribute long offsetLeft;
- readonly attribute long offsetWidth;
- readonly attribute long offsetHeight;
-};
-
-/*[NoInterfaceObject]
-interface TouchEventHandlers {
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchstart;
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchend;
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchmove;
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchenter;
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchleave;
- [SetterThrows,Func="nsGenericHTMLElement::TouchEventsEnabled"]
- attribute EventHandler ontouchcancel;
-};*/
-
-/*HTMLElement implements GlobalEventHandlers;
-HTMLElement implements NodeEventHandlers;
-HTMLElement implements TouchEventHandlers;*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLEmbedElement.webidl b/src/components/script/dom/bindings/codegen/HTMLEmbedElement.webidl
deleted file mode 100644
index 06d966905d5..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLEmbedElement.webidl
+++ /dev/null
@@ -1,45 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
- * http://www.whatwg.org/specs/web-apps/current-work/#HTMLEmbedElement-partial
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
-[NeedNewResolve]
-interface HTMLEmbedElement : HTMLElement {
- [Pure, SetterThrows]
- attribute DOMString src;
- [Pure, SetterThrows]
- attribute DOMString type;
- [Pure, SetterThrows]
- attribute DOMString width;
- [Pure, SetterThrows]
- attribute DOMString height;
- //[Throws]
- //legacycaller any (any... arguments);
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#HTMLEmbedElement-partial
-partial interface HTMLEmbedElement {
- [Pure, SetterThrows]
- attribute DOMString align;
- [Pure, SetterThrows]
- attribute DOMString name;
-};
-
-partial interface HTMLEmbedElement {
- // GetSVGDocument
- Document? getSVGDocument();
-};
-
-//HTMLEmbedElement implements MozImageLoadingContent;
-//HTMLEmbedElement implements MozFrameLoaderOwner;
-//HTMLEmbedElement implements MozObjectLoadingContent;
diff --git a/src/components/script/dom/bindings/codegen/HTMLFieldSetElement.webidl b/src/components/script/dom/bindings/codegen/HTMLFieldSetElement.webidl
deleted file mode 100644
index 16eee1f9323..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLFieldSetElement.webidl
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-fieldset-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLFieldSetElement : HTMLElement {
- [SetterThrows]
- attribute boolean disabled;
- readonly attribute HTMLFormElement? form;
- [SetterThrows]
- attribute DOMString name;
-
- readonly attribute DOMString type;
-
- readonly attribute HTMLCollection elements;
-
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
-
- boolean checkValidity();
-
- void setCustomValidity(DOMString error);
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLFontElement.webidl b/src/components/script/dom/bindings/codegen/HTMLFontElement.webidl
deleted file mode 100644
index 781dabb889f..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLFontElement.webidl
+++ /dev/null
@@ -1,18 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLFontElement : HTMLElement {
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString color;
- [SetterThrows] attribute DOMString face;
- [SetterThrows] attribute DOMString size;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLFormElement.webidl b/src/components/script/dom/bindings/codegen/HTMLFormElement.webidl
deleted file mode 100644
index 38c8bf4c36e..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLFormElement.webidl
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#htmlformelement
- *
- * â“’ Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-[OverrideBuiltins]
-interface HTMLFormElement : HTMLElement {
- [Pure, SetterThrows]
- attribute DOMString acceptCharset;
- [Pure, SetterThrows]
- attribute DOMString action;
- [Pure, SetterThrows]
- attribute DOMString autocomplete;
- [Pure, SetterThrows]
- attribute DOMString enctype;
- [Pure, SetterThrows]
- attribute DOMString encoding;
- [Pure, SetterThrows]
- attribute DOMString method;
- [Pure, SetterThrows]
- attribute DOMString name;
- [Pure, SetterThrows]
- attribute boolean noValidate;
- [Pure, SetterThrows]
- attribute DOMString target;
-
- [Constant]
- readonly attribute HTMLCollection elements;
- [Pure]
- readonly attribute long length;
-
- getter Element (unsigned long index);
- // TODO this should be: getter (RadioNodeList or HTMLInputElement or HTMLImageElement) (DOMString name);
-// getter nsISupports (DOMString name);
-
- [Throws]
- void submit();
- void reset();
- boolean checkValidity();
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLFrameElement.webidl b/src/components/script/dom/bindings/codegen/HTMLFrameElement.webidl
deleted file mode 100644
index 4a62c3f9bee..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLFrameElement.webidl
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement
-interface HTMLFrameElement : HTMLElement {
- [SetterThrows]
- attribute DOMString name;
- [SetterThrows]
- attribute DOMString scrolling;
- [SetterThrows]
- attribute DOMString src;
- [SetterThrows]
- attribute DOMString frameBorder;
- [SetterThrows]
- attribute DOMString longDesc;
- [SetterThrows]
- attribute boolean noResize;
- readonly attribute Document? contentDocument;
- readonly attribute WindowProxy? contentWindow;
-
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString marginHeight;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString marginWidth;
-};
-
-//HTMLFrameElement implements MozFrameLoaderOwner;
diff --git a/src/components/script/dom/bindings/codegen/HTMLFrameSetElement.webidl b/src/components/script/dom/bindings/codegen/HTMLFrameSetElement.webidl
deleted file mode 100644
index 6cc4d98cea1..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLFrameSetElement.webidl
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLFrameSetElement : HTMLElement {
- [SetterThrows]
- attribute DOMString cols;
- [SetterThrows]
- attribute DOMString rows;
-};
-
-//HTMLFrameSetElement implements WindowEventHandlers;
diff --git a/src/components/script/dom/bindings/codegen/HTMLHRElement.webidl b/src/components/script/dom/bindings/codegen/HTMLHRElement.webidl
deleted file mode 100644
index 0495e43b314..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLHRElement.webidl
+++ /dev/null
@@ -1,30 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element
-interface HTMLHRElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLHRElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString color;
- [SetterThrows]
- attribute boolean noShade;
- [SetterThrows]
- attribute DOMString size;
- [SetterThrows]
- attribute DOMString width;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLHeadElement.webidl b/src/components/script/dom/bindings/codegen/HTMLHeadElement.webidl
deleted file mode 100644
index ca6bc3819e1..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLHeadElement.webidl
+++ /dev/null
@@ -1,15 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-head-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-head-element
-interface HTMLHeadElement : HTMLElement {};
diff --git a/src/components/script/dom/bindings/codegen/HTMLHeadingElement.webidl b/src/components/script/dom/bindings/codegen/HTMLHeadingElement.webidl
deleted file mode 100644
index 37e7396dfdd..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLHeadingElement.webidl
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
-interface HTMLHeadingElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLHeadingElement {
- attribute DOMString align;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLHtmlElement.webidl b/src/components/script/dom/bindings/codegen/HTMLHtmlElement.webidl
deleted file mode 100644
index b06de776192..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLHtmlElement.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-html-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-html-element
-interface HTMLHtmlElement : HTMLElement {};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLHtmlElement {
- [SetterThrows, Pure]
- attribute DOMString version;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLIFrameElement.webidl b/src/components/script/dom/bindings/codegen/HTMLIFrameElement.webidl
deleted file mode 100644
index c8852f191f1..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLIFrameElement.webidl
+++ /dev/null
@@ -1,67 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-iframe-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLIFrameElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString src;
- [SetterThrows, Pure]
- attribute DOMString srcdoc;
- [SetterThrows, Pure]
- attribute DOMString name;
- // [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
- // We're implementing sandbox as a string for now, see bug 845057.
- attribute DOMString sandbox;
- // attribute boolean seamless;
- [SetterThrows, Pure]
- attribute boolean allowFullscreen;
- [SetterThrows, Pure]
- attribute DOMString width;
- [SetterThrows, Pure]
- attribute DOMString height;
- readonly attribute Document? contentDocument;
- readonly attribute WindowProxy? contentWindow;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLIFrameElement {
- [SetterThrows, Pure]
- attribute DOMString align;
- [SetterThrows, Pure]
- attribute DOMString scrolling;
- [SetterThrows, Pure]
- attribute DOMString frameBorder;
- [SetterThrows, Pure]
- attribute DOMString longDesc;
-
- [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
- [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
-};
-
-partial interface HTMLIFrameElement {
- // GetSVGDocument
- Document? getSVGDocument();
-};
-
-/*partial interface HTMLIFrameElement {
- // nsIDOMMozBrowserFrame
- [ChromeOnly,SetterThrows]
- attribute boolean mozbrowser;
-};
-
-partial interface HTMLIFrameElement {
- // nsIMozBrowserFrame
- [ChromeOnly]
- readonly attribute DOMString appManifestURL;
-};
-
-HTMLIFrameElement implements MozFrameLoaderOwner;*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLImageElement.webidl b/src/components/script/dom/bindings/codegen/HTMLImageElement.webidl
deleted file mode 100644
index 867a37071de..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLImageElement.webidl
+++ /dev/null
@@ -1,50 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#htmlimageelement
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
-interface HTMLImageElement : HTMLElement {
- [SetterThrows]
- attribute DOMString alt;
- [SetterThrows]
- attribute DOMString src;
-// attribute DOMString srcset;
- [SetterThrows]
- attribute DOMString crossOrigin;
- [SetterThrows]
- attribute DOMString useMap;
- [SetterThrows]
- attribute boolean isMap;
- [SetterThrows]
- attribute unsigned long width;
- [SetterThrows]
- attribute unsigned long height;
- readonly attribute unsigned long naturalWidth;
- readonly attribute unsigned long naturalHeight;
- readonly attribute boolean complete;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLImageElement {
- [SetterThrows]
- attribute DOMString name;
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute unsigned long hspace;
- [SetterThrows]
- attribute unsigned long vspace;
- [SetterThrows]
- attribute DOMString longDesc;
-
- [TreatNullAs=EmptyString,SetterThrows] attribute DOMString border;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLInputElement.webidl b/src/components/script/dom/bindings/codegen/HTMLInputElement.webidl
deleted file mode 100644
index d55241ef4fc..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLInputElement.webidl
+++ /dev/null
@@ -1,189 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-input-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// original import from:
-// http://hg.mozilla.org/mozilla-central/filelog/8c240c67f76c/dom/webidl/HTMLInputElement.webidl
-
-/*
-interface nsIControllers;
-*/
-
-interface HTMLInputElement : HTMLElement {
- [Pure, SetterThrows]
- attribute DOMString accept;
- [Pure, SetterThrows]
- attribute DOMString alt;
- [Pure, SetterThrows]
- attribute DOMString autocomplete;
- [Pure, SetterThrows]
- attribute boolean autofocus;
- [Pure, SetterThrows]
- attribute boolean defaultChecked;
- [Pure]
- attribute boolean checked;
-/*
- attribute DOMString dirName;
-*/
- [Pure, SetterThrows]
- attribute boolean disabled;
-/*
- readonly attribute HTMLFormElement? form;
- [Pure]
- readonly attribute FileList? files;
-*/
- [Pure, SetterThrows]
- attribute DOMString formAction;
- [Pure, SetterThrows]
- attribute DOMString formEnctype;
- [Pure, SetterThrows]
- attribute DOMString formMethod;
- [Pure, SetterThrows]
- attribute boolean formNoValidate;
- [Pure, SetterThrows]
- attribute DOMString formTarget;
- [Pure, SetterThrows]
- attribute unsigned long height;
- [Pure]
- attribute boolean indeterminate;
- [Pure, SetterThrows]
- attribute DOMString inputMode;
-/*
- [Pure]
- readonly attribute HTMLElement? list;
-*/
- [Pure, SetterThrows]
- attribute DOMString max;
- [Pure, SetterThrows]
- attribute long maxLength;
- [Pure, SetterThrows]
- attribute DOMString min;
- [Pure, SetterThrows]
- attribute boolean multiple;
- [Pure, SetterThrows]
- attribute DOMString name;
- [Pure, SetterThrows]
- attribute DOMString pattern;
- [Pure, SetterThrows]
- attribute DOMString placeholder;
- [Pure, SetterThrows]
- attribute boolean readOnly;
- [Pure, SetterThrows]
- attribute boolean required;
- [Pure, SetterThrows]
- attribute unsigned long size;
- [Pure, SetterThrows]
- attribute DOMString src;
- [Pure, SetterThrows]
- attribute DOMString step;
- [Pure, SetterThrows]
- attribute DOMString type;
- [Pure, SetterThrows]
- attribute DOMString defaultValue;
- [Pure, TreatNullAs=EmptyString, SetterThrows]
- attribute DOMString value;
-/*
- [Throws, Pref="dom.experimental_forms"]
- attribute Date? valueAsDate;
- [Pure, SetterThrows]
- attribute unrestricted double valueAsNumber;
-*/
- attribute unsigned long width;
-/*
- [Throws]
- void stepUp(optional long n = 1);
- [Throws]
- void stepDown(optional long n = 1);
-*/
-
- [Pure]
- readonly attribute boolean willValidate;
-/*
- [Pure]
- readonly attribute ValidityState validity;
-*/
- [GetterThrows]
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-
-/*
- readonly attribute NodeList labels;
-*/
-
- void select();
-
- [Throws]
- // TODO: unsigned vs signed
- attribute long selectionStart;
- [Throws]
- attribute long selectionEnd;
- [Throws]
- attribute DOMString selectionDirection;
-/*
- // Bug 850364 void setRangeText(DOMString replacement);
- // Bug 850364 setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode);
-*/
- // also has obsolete members
-};
-
-partial interface HTMLInputElement {
- [Pure, SetterThrows]
- attribute DOMString align;
- [Pure, SetterThrows]
- attribute DOMString useMap;
-};
-
-/*
-// Mozilla extensions
-partial interface HTMLInputElement {
- [Throws]
- void setSelectionRange(long start, long end, optional DOMString direction);
-
- [GetterThrows]
- readonly attribute nsIControllers controllers;
- [GetterThrows]
- readonly attribute long textLength;
-
- [ChromeOnly]
- sequence<DOMString> mozGetFileNameArray();
-
- [ChromeOnly]
- void mozSetFileNameArray(sequence<DOMString> fileNames);
-
- boolean mozIsTextField(boolean aExcludePassword);
-};
-
-partial interface HTMLInputElement {
- // Mirrored chrome-only nsIDOMNSEditableElement methods. Please make sure
- // to update this list if nsIDOMNSEditableElement changes.
-
- [Pure, ChromeOnly]
- readonly attribute nsIEditor? editor;
-
- // This is similar to set .value on nsIDOMInput/TextAreaElements, but handling
- // of the value change is closer to the normal user input, so 'change' event
- // for example will be dispatched when focusing out the element.
- [ChromeOnly]
- void setUserInput(DOMString input);
-};
-
-[NoInterfaceObject]
-interface MozPhonetic {
- [Pure, ChromeOnly]
- readonly attribute DOMString phonetic;
-};
-
-HTMLInputElement implements MozImageLoadingContent;
-HTMLInputElement implements MozPhonetic;
-*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLLIElement.webidl b/src/components/script/dom/bindings/codegen/HTMLLIElement.webidl
deleted file mode 100644
index b3c5f37fed7..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLLIElement.webidl
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-li-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// original import from
-// http://hg.mozilla.org/mozilla-central/filelog/8c240c67f76c/dom/webidl/HTMLLIElement.webidl
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-li-element
-interface HTMLLIElement : HTMLElement {
- [SetterThrows, Pure]
- attribute long value;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLLIElement {
- [SetterThrows, Pure]
- attribute DOMString type;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLLabelElement.webidl b/src/components/script/dom/bindings/codegen/HTMLLabelElement.webidl
deleted file mode 100644
index 0b0ee0b9d19..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLLabelElement.webidl
+++ /dev/null
@@ -1,24 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-interface HTMLLabelElement : HTMLElement {
-/* FIXME:
- readonly attribute HTMLFormElement? form;
-*/
- attribute DOMString htmlFor;
-/*
- readonly attribute HTMLElement? control;
-*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLLegendElement.webidl b/src/components/script/dom/bindings/codegen/HTMLLegendElement.webidl
deleted file mode 100644
index 9a98a441b6f..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLLegendElement.webidl
+++ /dev/null
@@ -1,29 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-legend-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-legend-element
-interface HTMLLegendElement : HTMLElement {
-/*
- FIXME:
- readonly attribute HTMLFormElement? form;
-*/
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLLegendElement {
- [SetterThrows]
- attribute DOMString align;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLLinkElement.webidl b/src/components/script/dom/bindings/codegen/HTMLLinkElement.webidl
deleted file mode 100644
index 1dde0bdada9..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLLinkElement.webidl
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-link-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-link-element
-interface HTMLLinkElement : HTMLElement {
- [Pure]
- attribute boolean disabled;
- [SetterThrows, Pure]
- attribute DOMString href;
- [SetterThrows, Pure]
- attribute DOMString crossOrigin;
- [SetterThrows, Pure]
- attribute DOMString rel;
- // Not supported yet:
- // readonly attribute DOMTokenList relList;
- [SetterThrows, Pure]
- attribute DOMString media;
- [SetterThrows, Pure]
- attribute DOMString hreflang;
- [SetterThrows, Pure]
- attribute DOMString type;
- // Not supported yet:
- // [PutForwards=value] readonly attribute DOMSettableTokenList sizes;
-};
-
-// TODO
-//HTMLLinkElement implements LinkStyle;
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLLinkElement {
- [SetterThrows, Pure]
- attribute DOMString charset;
- [SetterThrows, Pure]
- attribute DOMString rev;
- [SetterThrows, Pure]
- attribute DOMString target;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLMainElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMainElement.webidl
deleted file mode 100644
index 05a5531d62b..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLMainElement.webidl
+++ /dev/null
@@ -1,14 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLMainElement : HTMLElement {}; \ No newline at end of file
diff --git a/src/components/script/dom/bindings/codegen/HTMLMapElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMapElement.webidl
deleted file mode 100644
index 88fe4e54c95..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLMapElement.webidl
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-map-element
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-map-element
-interface HTMLMapElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString name;
- [Constant]
- readonly attribute HTMLCollection areas;
- // Not supported yet.
- //readonly attribute HTMLCollection images;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLMediaElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMediaElement.webidl
deleted file mode 100644
index 25f03e5111d..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLMediaElement.webidl
+++ /dev/null
@@ -1,188 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#media-elements
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLMediaElement : HTMLElement {
-/*
- // error state
- readonly attribute MediaError? error;
-*/
- // network state
- [SetterThrows]
- attribute DOMString src;
- readonly attribute DOMString currentSrc;
-
- [SetterThrows]
- attribute DOMString crossOrigin;
- const unsigned short NETWORK_EMPTY = 0;
- const unsigned short NETWORK_IDLE = 1;
- const unsigned short NETWORK_LOADING = 2;
- const unsigned short NETWORK_NO_SOURCE = 3;
-/*
- TODO:
- readonly attribute unsigned short networkState;
-*/
- [SetterThrows]
- attribute DOMString preload;
-/*
- [Creator]
- readonly attribute TimeRanges buffered;
-*/
- void load();
- DOMString canPlayType(DOMString type);
-
- // ready state
- const unsigned short HAVE_NOTHING = 0;
- const unsigned short HAVE_METADATA = 1;
- const unsigned short HAVE_CURRENT_DATA = 2;
- const unsigned short HAVE_FUTURE_DATA = 3;
- const unsigned short HAVE_ENOUGH_DATA = 4;
- readonly attribute unsigned short readyState;
- readonly attribute boolean seeking;
-
- // playback state
- [SetterThrows]
- attribute double currentTime;
- // TODO: Bug 847375 - void fastSeek(double time);
-/*
- TODO:
- readonly attribute unrestricted double duration;
-*/
- // TODO: Bug 847376 - readonly attribute any startDate;
- readonly attribute boolean paused;
- [SetterThrows]
- attribute double defaultPlaybackRate;
- [SetterThrows]
- attribute double playbackRate;
-/*
- [Creator]
- readonly attribute TimeRanges played;
- [Creator]
- readonly attribute TimeRanges seekable;
-*/
- readonly attribute boolean ended;
- [SetterThrows]
- attribute boolean autoplay;
- [SetterThrows]
- attribute boolean loop;
- [Throws]
- void play();
- [Throws]
- void pause();
-
- // TODO: Bug 847377 - mediaGroup and MediaController
- // media controller
- // attribute DOMString mediaGroup;
- // attribute MediaController? controller;
-
- // controls
- [SetterThrows]
- attribute boolean controls;
- [SetterThrows]
- attribute double volume;
- attribute boolean muted;
- [SetterThrows]
- attribute boolean defaultMuted;
-
- // TODO: Bug 847379
- // tracks
- //readonly attribute AudioTrackList audioTracks;
- //readonly attribute VideoTrackList videoTracks;
-/*
- [Pref="media.webvtt.enabled"]
- readonly attribute TextTrackList textTracks;
- [Pref="media.webvtt.enabled"]
- TextTrack addTextTrack(TextTrackKind kind,
- optional DOMString label = "",
- optional DOMString language = "");
-*/
-};
-
-/*
-// Mozilla extensions:
-partial interface HTMLMediaElement {
- attribute MediaStream? mozSrcObject;
- attribute boolean mozPreservesPitch;
- readonly attribute boolean mozAutoplayEnabled;
-
- // Mozilla extension: stream capture
- [Throws]
- MediaStream mozCaptureStream();
- [Throws]
- MediaStream mozCaptureStreamUntilEnded();
- readonly attribute boolean mozAudioCaptured;
-
- // Mozilla extension: extra stream metadata information, used as part
- // of MozAudioAvailable events and the mozWriteAudio() method. The
- // mozFrameBufferLength method allows for the size of the framebuffer
- // used within MozAudioAvailable events to be changed. The new size must
- // be between 512 and 16384. The default size, for a media element with
- // audio is (mozChannels * 1024).
- [GetterThrows]
- readonly attribute unsigned long mozChannels;
- [GetterThrows]
- readonly attribute unsigned long mozSampleRate;
- [Throws]
- attribute unsigned long mozFrameBufferLength;
-
- // Mozilla extension: return embedded metadata from the stream as a
- // JSObject with key:value pairs for each tag. This can be used by
- // player interfaces to display the song title, artist, etc.
- [Throws]
- object? mozGetMetadata();
-
- // Mozilla extension: provides access to the fragment end time if
- // the media element has a fragment URI for the currentSrc, otherwise
- // it is equal to the media duration.
- readonly attribute double mozFragmentEnd;
-
- // Mozilla extension: an audio channel type for media elements.
- // An exception is thrown if the app tries to change the audio channel type
- // without the permission (manifest file for B2G apps).
- // The supported values are:
- // * normal (default value)
- // Automatically paused if "notification" or higher priority channel
- // is played
- // Use case: normal applications
- // * content
- // Automatically paused if "notification" or higher priority channel
- // is played. Also paused if another app starts using "content"
- // channel. Using this channel never affects applications using
- // the "normal" channel.
- // Use case: video/audio players
- // * notification
- // Automatically paused if "alarm" or higher priority channel is played.
- // Use case: New email, incoming SMS
- // * alarm
- // Automatically paused if "telephony" or higher priority channel is
- // played.
- // User case: Alarm clock, calendar alarms
- // * telephony
- // Automatically paused if "ringer" or higher priority
- // channel is played.
- // Use case: dialer, voip
- // * ringer
- // Automatically paused if "publicnotification" or higher priority
- // channel is played.
- // Use case: dialer, voip
- // * publicnotification
- // Always plays in speaker, even when headphones are plugged in.
- // Use case: Camera shutter sound.
- [SetterThrows]
- attribute DOMString mozAudioChannelType;
-
- // In addition the media element has this new events:
- // * onmozinterruptbegin - called when the media element is interrupted
- // because of the audiochannel manager.
- // * onmozinterruptend - called when the interruption is concluded
-};
-*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl
deleted file mode 100644
index 5b7b0f92c24..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
-interface HTMLMetaElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString name;
- [SetterThrows, Pure]
- attribute DOMString httpEquiv;
- [SetterThrows, Pure]
- attribute DOMString content;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLMetaElement {
- [SetterThrows, Pure]
- attribute DOMString scheme;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLMeterElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMeterElement.webidl
deleted file mode 100644
index 09cf523c462..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLMeterElement.webidl
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-meter-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-meter-element
-interface HTMLMeterElement : HTMLElement {
- [SetterThrows]
- attribute double value;
- [SetterThrows]
- attribute double min;
- [SetterThrows]
- attribute double max;
- [SetterThrows]
- attribute double low;
- [SetterThrows]
- attribute double high;
- [SetterThrows]
- attribute double optimum;
-
- /**
- * The labels attribute will be done with bug 556743.
- */
- //readonly attribute NodeList labels;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLModElement.webidl b/src/components/script/dom/bindings/codegen/HTMLModElement.webidl
deleted file mode 100644
index 45086ccebbf..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLModElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#attributes-common-to-ins-and-del-elements
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#attributes-common-to-ins-and-del-elements
-interface HTMLModElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString cite;
- [SetterThrows, Pure]
- attribute DOMString dateTime;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLOListElement.webidl b/src/components/script/dom/bindings/codegen/HTMLOListElement.webidl
deleted file mode 100644
index f41abf3eaa3..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLOListElement.webidl
+++ /dev/null
@@ -1,29 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-ol-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-ol-element
-interface HTMLOListElement : HTMLElement {
- [SetterThrows]
- attribute boolean reversed;
- [SetterThrows]
- attribute long start;
- [SetterThrows]
- attribute DOMString type;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLOListElement {
- [SetterThrows]
- attribute boolean compact;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLObjectElement.webidl b/src/components/script/dom/bindings/codegen/HTMLObjectElement.webidl
deleted file mode 100644
index 03e5984592f..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLObjectElement.webidl
+++ /dev/null
@@ -1,201 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-object-element
- * http://www.whatwg.org/specs/web-apps/current-work/#HTMLObjectElement-partial
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-object-element
-[NeedNewResolve]
-interface HTMLObjectElement : HTMLElement {
- [Pure, SetterThrows]
- attribute DOMString data;
- [Pure, SetterThrows]
- attribute DOMString type;
-// attribute boolean typeMustMatch;
- [Pure, SetterThrows]
- attribute DOMString name;
- [Pure, SetterThrows]
- attribute DOMString useMap;
- [Pure]
- readonly attribute HTMLFormElement? form;
- [Pure, SetterThrows]
- attribute DOMString width;
- [Pure, SetterThrows]
- attribute DOMString height;
- // Not pure: can trigger about:blank instantiation
- readonly attribute Document? contentDocument;
- // Not pure: can trigger about:blank instantiation
- readonly attribute WindowProxy? contentWindow;
-
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-
- /*[Throws]
- legacycaller any (any... arguments);*/
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#HTMLObjectElement-partial
-partial interface HTMLObjectElement {
- [Pure, SetterThrows]
- attribute DOMString align;
- [Pure, SetterThrows]
- attribute DOMString archive;
- [Pure, SetterThrows]
- attribute DOMString code;
- [Pure, SetterThrows]
- attribute boolean declare;
- [Pure, SetterThrows]
- attribute unsigned long hspace;
- [Pure, SetterThrows]
- attribute DOMString standby;
- [Pure, SetterThrows]
- attribute unsigned long vspace;
- [Pure, SetterThrows]
- attribute DOMString codeBase;
- [Pure, SetterThrows]
- attribute DOMString codeType;
-
- [TreatNullAs=EmptyString, Pure, SetterThrows]
- attribute DOMString border;
-};
-
-partial interface HTMLObjectElement {
- // GetSVGDocument
- Document? getSVGDocument();
-};
-
-/*[NoInterfaceObject]
-interface MozObjectLoadingContent {
- // Mirrored chrome-only scriptable nsIObjectLoadingContent methods. Please
- // make sure to update this list if nsIObjectLoadingContent changes. Also,
- // make sure everything on here is [ChromeOnly].
- [ChromeOnly]
- const unsigned long TYPE_LOADING = 0;
- [ChromeOnly]
- const unsigned long TYPE_IMAGE = 1;
- [ChromeOnly]
- const unsigned long TYPE_PLUGIN = 2;
- [ChromeOnly]
- const unsigned long TYPE_DOCUMENT = 3;
- [ChromeOnly]
- const unsigned long TYPE_NULL = 4;
-
- // The content type is not supported (e.g. plugin not installed)
- [ChromeOnly]
- const unsigned long PLUGIN_UNSUPPORTED = 0;
- // Showing alternate content
- [ChromeOnly]
- const unsigned long PLUGIN_ALTERNATE = 1;
- // The plugin exists, but is disabled
- [ChromeOnly]
- const unsigned long PLUGIN_DISABLED = 2;
- // The plugin is blocklisted and disabled
- [ChromeOnly]
- const unsigned long PLUGIN_BLOCKLISTED = 3;
- // The plugin is considered outdated, but not disabled
- [ChromeOnly]
- const unsigned long PLUGIN_OUTDATED = 4;
- // The plugin has crashed
- [ChromeOnly]
- const unsigned long PLUGIN_CRASHED = 5;
- // Suppressed by security policy
- [ChromeOnly]
- const unsigned long PLUGIN_SUPPRESSED = 6;
- // Blocked by content policy
- [ChromeOnly]
- const unsigned long PLUGIN_USER_DISABLED = 7;
- /// ** All values >= PLUGIN_CLICK_TO_PLAY are plugin placeholder types that
- /// would be replaced by a real plugin if activated (playPlugin())
- /// ** Furthermore, values >= PLUGIN_CLICK_TO_PLAY and
- /// <= PLUGIN_VULNERABLE_NO_UPDATE are click-to-play types.
- // The plugin is disabled until the user clicks on it
- [ChromeOnly]
- const unsigned long PLUGIN_CLICK_TO_PLAY = 8;
- // The plugin is vulnerable (update available)
- [ChromeOnly]
- const unsigned long PLUGIN_VULNERABLE_UPDATABLE = 9;
- // The plugin is vulnerable (no update available)
- [ChromeOnly]
- const unsigned long PLUGIN_VULNERABLE_NO_UPDATE = 10;
- // The plugin is in play preview mode
- [ChromeOnly]
- const unsigned long PLUGIN_PLAY_PREVIEW = 11;*/
-
- /**
- * The actual mime type (the one we got back from the network
- * request) for the element.
- */
-/*[ChromeOnly]
- readonly attribute DOMString actualType;*/
-
- /**
- * Gets the type of the content that's currently loaded. See
- * the constants above for the list of possible values.
- */
-/*[ChromeOnly]
- readonly attribute unsigned long displayedType;*/
-
- /**
- * Gets the content type that corresponds to the give MIME type. See the
- * constants above for the list of possible values. If nothing else fits,
- * TYPE_NULL will be returned.
- */
-/*[ChromeOnly]
- unsigned long getContentTypeForMIMEType(DOMString aMimeType);*/
-
- /**
- * This method will play a plugin that has been stopped by the
- * click-to-play plugins or play-preview features.
- */
-/*[ChromeOnly, Throws]
- void playPlugin();*/
-
- /**
- * This attribute will return true if the current content type has been
- * activated, either explicitly or by passing checks that would have it be
- * click-to-play or play-preview.
- */
-/*[ChromeOnly]
- readonly attribute boolean activated;*/
-
- /**
- * The URL of the data/src loaded in the object. This may be null (i.e.
- * an <embed> with no src).
- */
-/*[ChromeOnly]
- readonly attribute URI? srcURI;
-
- [ChromeOnly]
- readonly attribute unsigned long defaultFallbackType;
-
- [ChromeOnly]
- readonly attribute unsigned long pluginFallbackType;*/
-
- /**
- * If this object currently owns a running plugin, regardless of whether or
- * not one is pending spawn/despawn.
- */
-/*[ChromeOnly]
- readonly attribute boolean hasRunningPlugin;*/
-
- /**
- * This method will disable the play-preview plugin state.
- */
- /*[ChromeOnly, Throws]
- void cancelPlayPreview();*/
-//};
-
-/*HTMLObjectElement implements MozImageLoadingContent;
-HTMLObjectElement implements MozFrameLoaderOwner;
-HTMLObjectElement implements MozObjectLoadingContent;*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLOptGroupElement.webidl b/src/components/script/dom/bindings/codegen/HTMLOptGroupElement.webidl
deleted file mode 100644
index a23aee30d1d..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLOptGroupElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-optgroup-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLOptGroupElement : HTMLElement {
- [SetterThrows]
- attribute boolean disabled;
- [SetterThrows]
- attribute DOMString label;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLOptionElement.webidl b/src/components/script/dom/bindings/codegen/HTMLOptionElement.webidl
deleted file mode 100644
index c80bedeef04..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLOptionElement.webidl
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-option-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-[NamedConstructor=Option(optional DOMString text, optional DOMString value, optional boolean defaultSelected, optional boolean selected)]
-interface HTMLOptionElement : HTMLElement {
- [SetterThrows]
- attribute boolean disabled;
- readonly attribute HTMLFormElement? form;
- [SetterThrows]
- attribute DOMString label;
- [SetterThrows]
- attribute boolean defaultSelected;
- [SetterThrows]
- attribute boolean selected;
- [SetterThrows]
- attribute DOMString value;
-
- [SetterThrows]
- attribute DOMString text;
- readonly attribute long index;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLOutputElement.webidl b/src/components/script/dom/bindings/codegen/HTMLOutputElement.webidl
deleted file mode 100644
index e706465d974..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLOutputElement.webidl
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-output-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-output-element
-interface HTMLOutputElement : HTMLElement {
- /*[PutForwards=value, Constant]
- readonly attribute DOMSettableTokenList htmlFor;*/
- readonly attribute HTMLFormElement? form;
- [SetterThrows, Pure]
- attribute DOMString name;
-
- [Constant]
- readonly attribute DOMString type;
- [SetterThrows, Pure]
- attribute DOMString defaultValue;
- [SetterThrows, Pure]
- attribute DOMString value;
-
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-
-// Not yet implemented (bug 556743).
-// readonly attribute NodeList labels;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl b/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl
deleted file mode 100644
index 2a626d25750..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-p-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-p-element
-interface HTMLParagraphElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLParagraphElement {
- [SetterThrows]
- attribute DOMString align;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLParamElement.webidl b/src/components/script/dom/bindings/codegen/HTMLParamElement.webidl
deleted file mode 100644
index e2c7e8d7fab..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLParamElement.webidl
+++ /dev/null
@@ -1,29 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-param-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-param-element
-interface HTMLParamElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString name;
- [SetterThrows, Pure]
- attribute DOMString value;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLParamElement {
- [SetterThrows, Pure]
- attribute DOMString type;
- [SetterThrows, Pure]
- attribute DOMString valueType;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLPreElement.webidl b/src/components/script/dom/bindings/codegen/HTMLPreElement.webidl
deleted file mode 100644
index 587b5308f46..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLPreElement.webidl
+++ /dev/null
@@ -1,24 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-pre-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-pre-element
-interface HTMLPreElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLPreElement {
- [SetterThrows]
- attribute long width;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLProgressElement.webidl b/src/components/script/dom/bindings/codegen/HTMLProgressElement.webidl
deleted file mode 100644
index 99cffb8c35d..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLProgressElement.webidl
+++ /dev/null
@@ -1,27 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-progress-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// original import from:
-// http://hg.mozilla.org/mozilla-central/filelog/8c240c67f76c/dom/webidl/HTMLProgressElement.webidl
-
-interface HTMLProgressElement : HTMLElement {
- [SetterThrows]
- attribute double value;
- [SetterThrows]
- attribute double max;
- readonly attribute double position;
-
-/*
- readonly attribute NodeList labels;
-*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLQuoteElement.webidl b/src/components/script/dom/bindings/codegen/HTMLQuoteElement.webidl
deleted file mode 100644
index a266dd353a1..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLQuoteElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element
-interface HTMLQuoteElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString cite;
-};
-
diff --git a/src/components/script/dom/bindings/codegen/HTMLScriptElement.webidl b/src/components/script/dom/bindings/codegen/HTMLScriptElement.webidl
deleted file mode 100644
index 979e38ca3ad..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLScriptElement.webidl
+++ /dev/null
@@ -1,35 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-script-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- */
-
-interface HTMLScriptElement : HTMLElement {
- [SetterThrows]
- attribute DOMString src;
- [SetterThrows]
- attribute DOMString type;
- [SetterThrows]
- attribute DOMString charset;
- [SetterThrows]
- attribute boolean async;
- [SetterThrows]
- attribute boolean defer;
- [SetterThrows]
- attribute DOMString crossOrigin;
- [SetterThrows]
- attribute DOMString text;
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLScriptElement {
- [SetterThrows]
- attribute DOMString event;
- [SetterThrows]
- attribute DOMString htmlFor;
-};
-
diff --git a/src/components/script/dom/bindings/codegen/HTMLSelectElement.webidl b/src/components/script/dom/bindings/codegen/HTMLSelectElement.webidl
deleted file mode 100644
index b99bf149280..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLSelectElement.webidl
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/html/#the-select-element
- */
-
-interface HTMLSelectElement : HTMLElement {
- [SetterThrows, Pure]
- attribute boolean autofocus;
- [SetterThrows, Pure]
- attribute boolean disabled;
- [Pure]
- readonly attribute HTMLFormElement? form;
- [SetterThrows, Pure]
- attribute boolean multiple;
- [SetterThrows, Pure]
- attribute DOMString name;
- [SetterThrows, Pure]
- attribute boolean required;
- [SetterThrows, Pure]
- attribute unsigned long size;
-
- [Pure]
- readonly attribute DOMString type;
-
- /*[Constant]
- readonly attribute HTMLOptionsCollection options;*/
- [SetterThrows, Pure]
- attribute unsigned long length;
- getter Element? item(unsigned long index);
- HTMLOptionElement? namedItem(DOMString name);
- /*[Throws]
- void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);*/
- void remove(long index);
- [Throws]
- setter creator void (unsigned long index, HTMLOptionElement? option);
-
-// NYI: readonly attribute HTMLCollection selectedOptions;
- [SetterThrows, Pure]
- attribute long selectedIndex;
- [Pure]
- attribute DOMString value;
-
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-
-// NYI: readonly attribute NodeList labels;
-
- // https://www.w3.org/Bugs/Public/show_bug.cgi?id=20720
- void remove();
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLSourceElement.webidl b/src/components/script/dom/bindings/codegen/HTMLSourceElement.webidl
deleted file mode 100644
index ae15e36646a..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLSourceElement.webidl
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-source-element
- *
- * â“’ Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLSourceElement : HTMLElement {
- [SetterThrows]
- attribute DOMString src;
- [SetterThrows]
- attribute DOMString type;
- [SetterThrows]
- attribute DOMString media;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLSpanElement.webidl b/src/components/script/dom/bindings/codegen/HTMLSpanElement.webidl
deleted file mode 100644
index 43a2d97f200..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLSpanElement.webidl
+++ /dev/null
@@ -1,15 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-span-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-span-element
-interface HTMLSpanElement : HTMLElement {};
diff --git a/src/components/script/dom/bindings/codegen/HTMLStyleElement.webidl b/src/components/script/dom/bindings/codegen/HTMLStyleElement.webidl
deleted file mode 100644
index 7da0a413e00..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLStyleElement.webidl
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-style-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- */
-
-interface HTMLStyleElement : HTMLElement {
- [Pure]
- attribute boolean disabled;
- [SetterThrows, Pure]
- attribute DOMString media;
- [SetterThrows, Pure]
- attribute DOMString type;
- [SetterThrows, Pure]
- attribute boolean scoped;
-};
-// TODO:
-// HTMLStyleElement implements LinkStyle;
-
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableCaptionElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableCaptionElement.webidl
deleted file mode 100644
index 256713372e3..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableCaptionElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * â“’ Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableCaptionElement : HTMLElement {};
-
-partial interface HTMLTableCaptionElement {
- [SetterThrows]
- attribute DOMString align;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableCellElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableCellElement.webidl
deleted file mode 100644
index b1fed450fac..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableCellElement.webidl
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableCellElement : HTMLElement {
- [SetterThrows]
- attribute unsigned long colSpan;
- [SetterThrows]
- attribute unsigned long rowSpan;
-/*
- [PutForwards=value] readonly attribute DOMSettableTokenList headers;
-*/
- [SetterThrows]
- attribute DOMString headers;
- readonly attribute long cellIndex;
-
- // Mozilla-specific extensions
- [SetterThrows]
- attribute DOMString abbr;
- [SetterThrows]
- attribute DOMString scope;
-};
-
-partial interface HTMLTableCellElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString axis;
- [SetterThrows]
- attribute DOMString height;
- [SetterThrows]
- attribute DOMString width;
-
- [SetterThrows]
- attribute DOMString ch;
- [SetterThrows]
- attribute DOMString chOff;
- [SetterThrows]
- attribute boolean noWrap;
- [SetterThrows]
- attribute DOMString vAlign;
-
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableColElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableColElement.webidl
deleted file mode 100644
index c927541a3dc..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableColElement.webidl
+++ /dev/null
@@ -1,30 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableColElement : HTMLElement {
- [SetterThrows]
- attribute unsigned long span;
-};
-
-partial interface HTMLTableColElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString ch;
- [SetterThrows]
- attribute DOMString chOff;
- [SetterThrows]
- attribute DOMString vAlign;
- [SetterThrows]
- attribute DOMString width;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableDataCellElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableDataCellElement.webidl
deleted file mode 100644
index 44e877b21d7..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableDataCellElement.webidl
+++ /dev/null
@@ -1,17 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- * (2013-10-14)
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableDataCellElement : HTMLTableCellElement {
- // also has obsolete members
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableElement.webidl
deleted file mode 100644
index 9cc655a56d6..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableElement.webidl
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableElement : HTMLElement {
- /*
- attribute HTMLTableCaptionElement? caption;
- HTMLElement createCaption();
- */
- void deleteCaption();
- /*
- [SetterThrows]
- attribute HTMLTableSectionElement? tHead;
- HTMLElement createTHead();
- */
- void deleteTHead();
- /*
- [SetterThrows]
- attribute HTMLTableSectionElement? tFoot;
- HTMLElement createTFoot();
- */
- void deleteTFoot();
- /*
- readonly attribute HTMLCollection tBodies;
- HTMLElement createTBody();
- readonly attribute HTMLCollection rows;
- [Throws]
- HTMLElement insertRow(optional long index = -1);
- */
- [Throws]
- void deleteRow(long index);
- attribute boolean sortable;
- void stopSorting();
-};
-
-partial interface HTMLTableElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString border;
- [SetterThrows]
- attribute DOMString frame;
- [SetterThrows]
- attribute DOMString rules;
- [SetterThrows]
- attribute DOMString summary;
- [SetterThrows]
- attribute DOMString width;
-
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellPadding;
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellSpacing;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableHeaderCellElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableHeaderCellElement.webidl
deleted file mode 100644
index ae5d84d460c..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableHeaderCellElement.webidl
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- * (2013-10-14)
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableHeaderCellElement : HTMLTableCellElement {
-/* TODO:
- attribute DOMString scope;
- attribute DOMString abbr;
- attribute DOMString sorted;
- void sort();
-*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableRowElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableRowElement.webidl
deleted file mode 100644
index 47b97143130..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableRowElement.webidl
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableRowElement : HTMLElement {
- readonly attribute long rowIndex;
- readonly attribute long sectionRowIndex;
-/*
- readonly attribute HTMLCollection cells;
- [Throws]
- HTMLElement insertCell(optional long index = -1);
-*/
- [Throws]
- void deleteCell(long index);
-};
-
-partial interface HTMLTableRowElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString ch;
- [SetterThrows]
- attribute DOMString chOff;
- [SetterThrows]
- attribute DOMString vAlign;
-
- [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTableSectionElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTableSectionElement.webidl
deleted file mode 100644
index 59134222960..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTableSectionElement.webidl
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLTableSectionElement : HTMLElement {
- /*
- readonly attribute HTMLCollection rows;
- [Throws]
- HTMLElement insertRow(optional long index = -1);
- */
- [Throws]
- void deleteRow(long index);
-};
-
-partial interface HTMLTableSectionElement {
- [SetterThrows]
- attribute DOMString align;
- [SetterThrows]
- attribute DOMString ch;
- [SetterThrows]
- attribute DOMString chOff;
- [SetterThrows]
- attribute DOMString vAlign;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTemplateElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTemplateElement.webidl
deleted file mode 100644
index ef87f656c61..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTemplateElement.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/HTMLTemplateElement.webidl
-
-interface HTMLTemplateElement : HTMLElement {
-/* FIXME:
- readonly attribute DocumentFragment content;
-*/
-};
-
diff --git a/src/components/script/dom/bindings/codegen/HTMLTextAreaElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTextAreaElement.webidl
deleted file mode 100644
index 10c32c989fc..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTextAreaElement.webidl
+++ /dev/null
@@ -1,101 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-textarea-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-/*
-interface nsIEditor;
-interface MozControllers;
-*/
-interface HTMLTextAreaElement : HTMLElement {
- // attribute DOMString autocomplete;
- [SetterThrows, Pure]
- attribute boolean autofocus;
- [SetterThrows, Pure]
- attribute unsigned long cols;
- // attribute DOMString dirName;
- [SetterThrows, Pure]
- attribute boolean disabled;
-/*
- [Pure]
- readonly attribute HTMLFormElement? form;
-*/
- // attribute DOMString inputMode;
- [SetterThrows, Pure]
- attribute long maxLength;
- [SetterThrows, Pure]
- attribute DOMString name;
- [SetterThrows, Pure]
- attribute DOMString placeholder;
- [SetterThrows, Pure]
- attribute boolean readOnly;
- [SetterThrows, Pure]
- attribute boolean required;
- [SetterThrows, Pure]
- attribute unsigned long rows;
- [SetterThrows, Pure]
- attribute DOMString wrap;
-
- [Constant]
- readonly attribute DOMString type;
- [SetterThrows, Pure]
- attribute DOMString defaultValue;
- [TreatNullAs=EmptyString] attribute DOMString value;
- readonly attribute unsigned long textLength;
-
- readonly attribute boolean willValidate;
-/*
- readonly attribute ValidityState validity;
-*/
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- void setCustomValidity(DOMString error);
-/*
- readonly attribute NodeList labels;
-*/
- void select();
- [Throws]
- attribute unsigned long selectionStart;
- [Throws]
- attribute unsigned long selectionEnd;
- [Throws]
- attribute DOMString selectionDirection;
- void setRangeText(DOMString replacement);
-/*
- void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode);
-
- [Throws]
- void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
-*/
-};
-/*
-partial interface HTMLTextAreaElement {
- // Mirrored chrome-only Mozilla extensions to nsIDOMHTMLTextAreaElement.
- // Please make sure to update this list of nsIDOMHTMLTextAreaElement changes.
-
- [Throws, ChromeOnly]
- readonly attribute MozControllers controllers;
-};
-
-partial interface HTMLTextAreaElement {
- // Mirrored chrome-only nsIDOMNSEditableElement methods. Please make sure
- // to update this list if nsIDOMNSEditableElement changes.
-
- [ChromeOnly]
- readonly attribute nsIEditor? editor;
-
- // This is similar to set .value on nsIDOMInput/TextAreaElements, but
- // handling of the value change is closer to the normal user input, so
- // 'change' event for example will be dispatched when focusing out the
- // element.
- [ChromeOnly]
- void setUserInput(DOMString input);
-};
-*/
diff --git a/src/components/script/dom/bindings/codegen/HTMLTimeElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTimeElement.webidl
deleted file mode 100644
index 517ca9981ee..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTimeElement.webidl
+++ /dev/null
@@ -1,13 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element
- */
-
-interface HTMLTimeElement : HTMLElement {
- [SetterThrows]
- attribute DOMString dateTime;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTitleElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTitleElement.webidl
deleted file mode 100644
index e695d8421a5..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTitleElement.webidl
+++ /dev/null
@@ -1,13 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-title-element
- */
-
-interface HTMLTitleElement : HTMLElement {
- [SetterThrows]
- attribute DOMString text;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLTrackElement.webidl b/src/components/script/dom/bindings/codegen/HTMLTrackElement.webidl
deleted file mode 100644
index 2cf06ea0d00..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLTrackElement.webidl
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-track-element
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-/*
-[Pref="media.webvtt.enabled"]
-*/
-interface HTMLTrackElement : HTMLElement {
- [SetterThrows, Pure]
- attribute DOMString kind;
- [SetterThrows, Pure]
- attribute DOMString src;
- [SetterThrows, Pure]
- attribute DOMString srclang;
- [SetterThrows, Pure]
- attribute DOMString label;
- [SetterThrows, Pure]
- attribute boolean default;
-
- const unsigned short NONE = 0;
- const unsigned short LOADING = 1;
- const unsigned short LOADED = 2;
- const unsigned short ERROR = 3;
- readonly attribute unsigned short readyState;
-/*
- TODO:
- readonly attribute TextTrack track;
-*/
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl b/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl
deleted file mode 100644
index ce831490838..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl
+++ /dev/null
@@ -1,25 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-ul-element
- * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
- *
- * â“’ Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-ul-element
-interface HTMLUListElement : HTMLElement {
-};
-
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
-partial interface HTMLUListElement {
- [SetterThrows]
- attribute boolean compact;
- [SetterThrows]
- attribute DOMString type;
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLUnknownElement.webidl b/src/components/script/dom/bindings/codegen/HTMLUnknownElement.webidl
deleted file mode 100644
index db1307ae714..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLUnknownElement.webidl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/ and
- * http://dev.w3.org/csswg/cssom-view/
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface HTMLUnknownElement : HTMLElement {
-};
diff --git a/src/components/script/dom/bindings/codegen/HTMLVideoElement.webidl b/src/components/script/dom/bindings/codegen/HTMLVideoElement.webidl
deleted file mode 100644
index 4663a6addbc..00000000000
--- a/src/components/script/dom/bindings/codegen/HTMLVideoElement.webidl
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-video-element
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// import from http://mxr.mozilla.org/mozilla-central/source/dom/webidl/
-
-interface HTMLVideoElement : HTMLMediaElement {
- [SetterThrows]
- attribute unsigned long width;
- [SetterThrows]
- attribute unsigned long height;
- readonly attribute unsigned long videoWidth;
- readonly attribute unsigned long videoHeight;
- [SetterThrows]
- attribute DOMString poster;
-};
-/*
-partial interface HTMLVideoElement {
- // A count of the number of video frames that have demuxed from the media
- // resource. If we were playing perfectly, we'd be able to paint this many
- // frames.
- readonly attribute unsigned long mozParsedFrames;
-
- // A count of the number of frames that have been decoded. We may drop
- // frames if the decode is taking too much time.
- readonly attribute unsigned long mozDecodedFrames;
-
- // A count of the number of frames that have been presented to the rendering
- // pipeline. We may drop frames if they arrive late at the renderer.
- readonly attribute unsigned long mozPresentedFrames;
-
- // Number of presented frames which were painted on screen.
- readonly attribute unsigned long mozPaintedFrames;
-
- // Time which the last painted video frame was late by, in seconds.
- readonly attribute double mozFrameDelay;
-
- // True if the video has an audio track available.
- readonly attribute boolean mozHasAudio;
-};
-
-// https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#idl-def-HTMLVideoElement
-partial interface HTMLVideoElement {
- [Pref="media.mediasource.enabled", Creator]
- VideoPlaybackQuality getVideoPlaybackQuality();
-};
-*/
diff --git a/src/components/script/dom/bindings/codegen/Location.webidl b/src/components/script/dom/bindings/codegen/Location.webidl
deleted file mode 100644
index 33d4c2e0d30..00000000000
--- a/src/components/script/dom/bindings/codegen/Location.webidl
+++ /dev/null
@@ -1,21 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-location-interface
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-// No support for [Unforgeable] on interfaces yet
-//[Unforgeable]
-interface Location {
- void assign(DOMString url);
- void replace(DOMString url);
- void reload();
-};
-Location implements URLUtils;
diff --git a/src/components/script/dom/bindings/codegen/MouseEvent.webidl b/src/components/script/dom/bindings/codegen/MouseEvent.webidl
deleted file mode 100644
index 68a273ebaaf..00000000000
--- a/src/components/script/dom/bindings/codegen/MouseEvent.webidl
+++ /dev/null
@@ -1,76 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * For more information on this interface please see
- * http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface MouseEvent : UIEvent {
- readonly attribute long screenX;
- readonly attribute long screenY;
- readonly attribute long clientX;
- readonly attribute long clientY;
- readonly attribute boolean ctrlKey;
- readonly attribute boolean shiftKey;
- readonly attribute boolean altKey;
- readonly attribute boolean metaKey;
- readonly attribute unsigned short button;
- readonly attribute unsigned short buttons;
- readonly attribute EventTarget? relatedTarget;
- // Deprecated in DOM Level 3:
- [Throws]
- void initMouseEvent(DOMString typeArg,
- boolean canBubbleArg,
- boolean cancelableArg,
- WindowProxy? viewArg,
- long detailArg,
- long screenXArg,
- long screenYArg,
- long clientXArg,
- long clientYArg,
- boolean ctrlKeyArg,
- boolean altKeyArg,
- boolean shiftKeyArg,
- boolean metaKeyArg,
- unsigned short buttonArg,
- EventTarget? relatedTargetArg);
- // Introduced in DOM Level 3:
- boolean getModifierState(DOMString keyArg);
-};
-
-
-// Event Constructor Syntax:
-[Constructor(DOMString typeArg, optional MouseEventInit mouseEventInitDict)]
-partial interface MouseEvent
-{
-};
-
-// Suggested initMouseEvent replacement initializer:
-dictionary MouseEventInit {
- // Attributes from Event:
- boolean bubbles = false;
- boolean cancelable = false;
-
- // Attributes from UIEvent:
- WindowProxy? view = null;
- long detail = 0;
-
- // Attributes for MouseEvent:
- long screenX = 0;
- long screenY = 0;
- long clientX = 0;
- long clientY = 0;
- boolean ctrlKey = false;
- boolean shiftKey = false;
- boolean altKey = false;
- boolean metaKey = false;
- unsigned short button = 0;
- // Note: "buttons" was not previously initializable through initMouseEvent!
- unsigned short buttons = 0;
- EventTarget? relatedTarget = null;
-};
diff --git a/src/components/script/dom/bindings/codegen/Navigator.webidl b/src/components/script/dom/bindings/codegen/Navigator.webidl
deleted file mode 100644
index 6098b756b3e..00000000000
--- a/src/components/script/dom/bindings/codegen/Navigator.webidl
+++ /dev/null
@@ -1,345 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#the-navigator-object
- * http://www.w3.org/TR/tracking-dnt/
- * http://www.w3.org/TR/geolocation-API/#geolocation_interface
- * http://www.w3.org/TR/battery-status/#navigatorbattery-interface
- * http://www.w3.org/TR/vibration/#vibration-interface
- * http://www.w3.org/2012/sysapps/runtime/#extension-to-the-navigator-interface-1
- * https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#navigator-interface-extension
- *
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface MozPowerManager;
-interface MozWakeLock;
-
-// http://www.whatwg.org/specs/web-apps/current-work/#the-navigator-object
-[HeaderFile="Navigator.h", NeedNewResolve]
-interface Navigator {
- // objects implementing this interface also implement the interfaces given below
-};
-Navigator implements NavigatorID;
-Navigator implements NavigatorLanguage;
-Navigator implements NavigatorOnLine;
-//Navigator implements NavigatorContentUtils;
-//Navigator implements NavigatorStorageUtils;
-
-[NoInterfaceObject]
-interface NavigatorID {
- readonly attribute DOMString appName;
- [Throws]
- readonly attribute DOMString appVersion;
- [Throws]
- readonly attribute DOMString platform;
- [Throws]
- readonly attribute DOMString userAgent;
-
- // Spec has this as a const, but that's wrong because it should not
- // be on the interface object.
- //const DOMString product = "Gecko"; // for historical reasons
- readonly attribute DOMString product;
-};
-
-[NoInterfaceObject]
-interface NavigatorLanguage {
- readonly attribute DOMString? language;
-};
-
-[NoInterfaceObject]
-interface NavigatorOnLine {
- readonly attribute boolean onLine;
-};
-
-/*
-[NoInterfaceObject]
-interface NavigatorContentUtils {
- // content handler registration
- [Throws]
- void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
- [Throws]
- void registerContentHandler(DOMString mimeType, DOMString url, DOMString title);
- // NOT IMPLEMENTED
- //DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
- //DOMString isContentHandlerRegistered(DOMString mimeType, DOMString url);
- //void unregisterProtocolHandler(DOMString scheme, DOMString url);
- //void unregisterContentHandler(DOMString mimeType, DOMString url);
-};
-
-[NoInterfaceObject]
-interface NavigatorStorageUtils {
- // NOT IMPLEMENTED
- //void yieldForStorageUpdates();
-};
-
-// Things that definitely need to be in the spec and and are not for some
-// reason. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=22406
-partial interface Navigator {
- [Throws]
- readonly attribute MimeTypeArray mimeTypes;
- [Throws]
- readonly attribute PluginArray plugins;
-};
-*/
-
-// http://www.w3.org/TR/tracking-dnt/ sort of
-partial interface Navigator {
- readonly attribute DOMString doNotTrack;
-};
-
-/*
-// http://www.w3.org/TR/geolocation-API/#geolocation_interface
-[NoInterfaceObject]
-interface NavigatorGeolocation {
- [Throws, Pref="geo.enabled"]
- readonly attribute Geolocation geolocation;
-};
-Navigator implements NavigatorGeolocation;
-
-// http://www.w3.org/TR/battery-status/#navigatorbattery-interface
-[NoInterfaceObject]
-interface NavigatorBattery {
- // XXXbz Per spec this should be non-nullable, but we return null in
- // torn-down windows. See bug 884925.
- [Throws, Func="Navigator::HasBatterySupport"]
- readonly attribute BatteryManager? battery;
-};
-Navigator implements NavigatorBattery;
-*/
-
-/*
-// http://www.w3.org/TR/vibration/#vibration-interface
-partial interface Navigator {
- // We don't support sequences in unions yet
- //boolean vibrate ((unsigned long or sequence<unsigned long>) pattern);
- // XXXbz also, per spec we should be returning a boolean, and we just don't.
- // See bug 884935.
- [Throws]
- void vibrate(unsigned long duration);
- [Throws]
- void vibrate(sequence<unsigned long> pattern);
-};
-*/
-
-// Mozilla-specific extensions
-
-callback interface MozIdleObserver {
- // Time is in seconds and is read only when idle observers are added
- // and removed.
- readonly attribute unsigned long time;
- void onidle();
- void onactive();
-};
-
-// nsIDOMNavigator
-partial interface Navigator {
- // WebKit/Blink/Trident/Presto support this (hardcoded "Mozilla").
- [Throws]
- readonly attribute DOMString appCodeName;
- //[Throws]
- //readonly attribute DOMString oscpu;
- // WebKit/Blink support this; Trident/Presto do not.
- readonly attribute DOMString vendor;
- // WebKit/Blink supports this (hardcoded ""); Trident/Presto do not.
- readonly attribute DOMString vendorSub;
- // WebKit/Blink supports this (hardcoded "20030107"); Trident/Presto don't
- readonly attribute DOMString productSub;
- // WebKit/Blink/Trident/Presto support this.
- readonly attribute boolean cookieEnabled;
- [Throws]
- readonly attribute DOMString buildID;
- //[Throws, Func="Navigator::HasPowerSupport"]
- //readonly attribute MozPowerManager mozPower;
-
- // WebKit/Blink/Trident/Presto support this.
- [Throws]
- boolean javaEnabled();
- // Everyone but WebKit/Blink supports this. See bug 679971.
- boolean taintEnabled();
-
- /**
- * Navigator requests to add an idle observer to the existing window.
- */
- //[Throws, Func="Navigator::HasIdleSupport"]
- //void addIdleObserver(MozIdleObserver aIdleObserver);
-
- /**
- * Navigator requests to remove an idle observer from the existing window.
- */
- //[Throws, Func="Navigator::HasIdleSupport"]
- //void removeIdleObserver(MozIdleObserver aIdleObserver);
-
- /**
- * Request a wake lock for a resource.
- *
- * A page holds a wake lock to request that a resource not be turned
- * off (or otherwise made unavailable).
- *
- * The topic is the name of a resource that might be made unavailable for
- * various reasons. For example, on a mobile device the power manager might
- * decide to turn off the screen after a period of idle time to save power.
- *
- * The resource manager checks the lock state of a topic before turning off
- * the associated resource. For example, a page could hold a lock on the
- * "screen" topic to prevent the screensaver from appearing or the screen
- * from turning off.
- *
- * The resource manager defines what each topic means and sets policy. For
- * example, the resource manager might decide to ignore 'screen' wake locks
- * held by pages which are not visible.
- *
- * One topic can be locked multiple times; it is considered released only when
- * all locks on the topic have been released.
- *
- * The returned nsIDOMMozWakeLock object is a token of the lock. You can
- * unlock the lock via the object's |unlock| method. The lock is released
- * automatically when its associated window is unloaded.
- *
- * @param aTopic resource name
- */
- //[Throws, Func="Navigator::HasWakeLockSupport"]
- //MozWakeLock requestWakeLock(DOMString aTopic);
-};
-
-/*
-// nsIDOMNavigatorDeviceStorage
-partial interface Navigator {
- [Throws, Pref="device.storage.enabled"]
- DeviceStorage? getDeviceStorage(DOMString type);
- [Throws, Pref="device.storage.enabled"]
- sequence<DeviceStorage> getDeviceStorages(DOMString type);
-};
-
-// nsIDOMNavigatorDesktopNotification
-partial interface Navigator {
- [Throws, Func="Navigator::HasDesktopNotificationSupport"]
- readonly attribute DesktopNotificationCenter mozNotification;
-};
-
-// nsIDOMClientInformation
-partial interface Navigator {
- [Throws]
- boolean mozIsLocallyAvailable(DOMString uri, boolean whenOffline);
-};
-
-// nsIDOMMozNavigatorMobileMessage
-interface MozMobileMessageManager;
-partial interface Navigator {
- [Func="Navigator::HasMobileMessageSupport"]
- readonly attribute MozMobileMessageManager? mozMobileMessage;
-};
-
-// nsIDOMMozNavigatorNetwork
-interface MozConnection;
-partial interface Navigator {
- [Pref="dom.network.enabled"]
- readonly attribute MozConnection? mozConnection;
-};
-
-// nsIDOMNavigatorCamera
-partial interface Navigator {
- [Throws, Func="Navigator::HasCameraSupport"]
- readonly attribute CameraManager mozCameras;
-};
-
-// nsIDOMNavigatorSystemMessages and sort of maybe
-// http://www.w3.org/2012/sysapps/runtime/#extension-to-the-navigator-interface-1
-callback systemMessageCallback = void (optional object message);
-partial interface Navigator {
- [Throws, Pref="dom.sysmsg.enabled"]
- void mozSetMessageHandler (DOMString type, systemMessageCallback? callback);
- [Throws, Pref="dom.sysmsg.enabled"]
- boolean mozHasPendingMessage (DOMString type);
-};
-
-#ifdef MOZ_B2G_RIL
-partial interface Navigator {
- [Throws, Func="Navigator::HasTelephonySupport"]
- readonly attribute Telephony? mozTelephony;
-};
-
-// nsIMozNavigatorMobileConnection
-interface MozMobileConnection;
-partial interface Navigator {
- [Throws, Func="Navigator::HasMobileConnectionSupport"]
- readonly attribute MozMobileConnection mozMobileConnection;
-};
-
-partial interface Navigator {
- [Throws, Func="Navigator::HasCellBroadcastSupport"]
- readonly attribute MozCellBroadcast mozCellBroadcast;
-};
-
-// nsIMozNavigatorVoicemail
-interface MozVoicemail;
-partial interface Navigator {
- [Throws, Func="Navigator::HasVoicemailSupport"]
- readonly attribute MozVoicemail mozVoicemail;
-};
-
-// nsIMozNavigatorIccManager
-interface MozIccManager;
-partial interface Navigator {
- [Throws, Func="Navigator::HasIccManagerSupport"]
- readonly attribute MozIccManager? mozIccManager;
-};
-#endif // MOZ_B2G_RIL
-
-#ifdef MOZ_GAMEPAD
-// https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#navigator-interface-extension
-partial interface Navigator {
- [Throws, Pref="dom.gamepad.enabled"]
- sequence<Gamepad?> getGamepads();
-};
-#endif // MOZ_GAMEPAD
-
-#ifdef MOZ_B2G_BT
-partial interface Navigator {
- [Throws, Func="Navigator::HasBluetoothSupport"]
- readonly attribute BluetoothManager mozBluetooth;
-};
-#endif // MOZ_B2G_BT
-
-#ifdef MOZ_TIME_MANAGER
-// nsIDOMMozNavigatorTime
-partial interface Navigator {
- [Throws, Func="Navigator::HasTimeSupport"]
- readonly attribute MozTimeManager mozTime;
-};
-#endif // MOZ_TIME_MANAGER
-
-#ifdef MOZ_AUDIO_CHANNEL_MANAGER
-// nsIMozNavigatorAudioChannelManager
-partial interface Navigator {
- [Throws]
- readonly attribute AudioChannelManager mozAudioChannelManager;
-};
-#endif // MOZ_AUDIO_CHANNEL_MANAGER
-
-#ifdef MOZ_MEDIA_NAVIGATOR
-// nsIDOMNavigatorUserMedia
-callback MozDOMGetUserMediaSuccessCallback = void (nsISupports? value);
-callback MozDOMGetUserMediaErrorCallback = void (DOMString error);
-interface MozMediaStreamOptions;
-partial interface Navigator {
- [Throws, Func="Navigator::HasUserMediaSupport"]
- void mozGetUserMedia(MozMediaStreamOptions? params,
- MozDOMGetUserMediaSuccessCallback? onsuccess,
- MozDOMGetUserMediaErrorCallback? onerror);
-};
-
-// nsINavigatorUserMedia
-callback MozGetUserMediaDevicesSuccessCallback = void (nsIVariant? devices);
-partial interface Navigator {
- [Throws, ChromeOnly]
- void mozGetUserMediaDevices(MozGetUserMediaDevicesSuccessCallback? onsuccess,
- MozDOMGetUserMediaErrorCallback? onerror);
-};
-#endif // MOZ_MEDIA_NAVIGATOR
-*/ \ No newline at end of file
diff --git a/src/components/script/dom/bindings/codegen/Node.webidl b/src/components/script/dom/bindings/codegen/Node.webidl
deleted file mode 100644
index 1a9d9d53bb3..00000000000
--- a/src/components/script/dom/bindings/codegen/Node.webidl
+++ /dev/null
@@ -1,107 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-/*interface Principal;
-interface URI;
-interface UserDataHandler;*/
-
-interface Node : EventTarget {
- const unsigned short ELEMENT_NODE = 1;
- const unsigned short ATTRIBUTE_NODE = 2; // historical
- const unsigned short TEXT_NODE = 3;
- const unsigned short CDATA_SECTION_NODE = 4; // historical
- const unsigned short ENTITY_REFERENCE_NODE = 5; // historical
- const unsigned short ENTITY_NODE = 6; // historical
- const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
- const unsigned short COMMENT_NODE = 8;
- const unsigned short DOCUMENT_NODE = 9;
- const unsigned short DOCUMENT_TYPE_NODE = 10;
- const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
- const unsigned short NOTATION_NODE = 12; // historical
- [Constant]
- readonly attribute unsigned short nodeType;
- [Pure]
- readonly attribute DOMString nodeName;
-
- [Pure]
- readonly attribute DOMString? baseURI;
-
- [Pure]
- readonly attribute Document? ownerDocument;
- [Pure]
- readonly attribute Node? parentNode;
- [Pure]
- readonly attribute Element? parentElement;
- boolean hasChildNodes();
- [Constant]
- readonly attribute NodeList childNodes;
- [Pure]
- readonly attribute Node? firstChild;
- [Pure]
- readonly attribute Node? lastChild;
- [Pure]
- readonly attribute Node? previousSibling;
- [Pure]
- readonly attribute Node? nextSibling;
-
- [SetterThrows, Pure]
- attribute DOMString? nodeValue;
- [SetterThrows, Pure]
- attribute DOMString? textContent;
- [Throws]
- Node insertBefore(Node node, Node? child);
- [Throws]
- Node appendChild(Node node);
- [Throws]
- Node replaceChild(Node node, Node child);
- [Throws]
- Node removeChild(Node child);
- void normalize();
-
- [Throws]
- Node cloneNode(optional boolean deep = true);
- // boolean isEqualNode(Node? node); //XXXjdm we don't deal well with Node? parameters
-
- const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
- const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
- const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;
- const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;
- const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
- const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; // historical
- unsigned short compareDocumentPosition(Node other);
- //boolean contains(Node? other); //XXXjdm we don't deal well with Node? parameters
-
- DOMString? lookupPrefix(DOMString? namespace);
- DOMString? lookupNamespaceURI(DOMString? prefix);
- boolean isDefaultNamespace(DOMString? namespace);
-
- // Mozilla-specific stuff
- // These have been moved to Element in the spec.
- // If we move namespaceURI, prefix and localName to Element they should return
- // a non-nullable type.
- [Constant]
- readonly attribute DOMString? namespaceURI;
- [Constant]
- readonly attribute DOMString? prefix;
- [Constant]
- readonly attribute DOMString? localName;
-
- boolean hasAttributes();
- /*[Throws, Func="nsINode::IsChromeOrXBL"]
- any setUserData(DOMString key, any data, UserDataHandler? handler);
- [Throws, Func="nsINode::IsChromeOrXBL"]
- any getUserData(DOMString key);*/
- /*[ChromeOnly]
- readonly attribute Principal nodePrincipal;
- [ChromeOnly]
- readonly attribute URI? baseURIObject;*/
-};
diff --git a/src/components/script/dom/bindings/codegen/NodeList.webidl b/src/components/script/dom/bindings/codegen/NodeList.webidl
deleted file mode 100644
index 9b7d9dc3a7e..00000000000
--- a/src/components/script/dom/bindings/codegen/NodeList.webidl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-interface NodeList {
- readonly attribute unsigned long length;
- getter Node? item(unsigned long index);
-};
diff --git a/src/components/script/dom/bindings/codegen/Text.webidl b/src/components/script/dom/bindings/codegen/Text.webidl
deleted file mode 100644
index e32ef71b7ea..00000000000
--- a/src/components/script/dom/bindings/codegen/Text.webidl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.w3.org/TR/2012/WD-dom-20120105/
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-[Constructor(optional DOMString data = "")]
-interface Text : CharacterData {
- [Throws]
- Text splitText(unsigned long offset);
- [Throws]
- readonly attribute DOMString wholeText;
-};
diff --git a/src/components/script/dom/bindings/codegen/UIEvent.webidl b/src/components/script/dom/bindings/codegen/UIEvent.webidl
deleted file mode 100644
index c6e2dc02c6d..00000000000
--- a/src/components/script/dom/bindings/codegen/UIEvent.webidl
+++ /dev/null
@@ -1,45 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * For more information on this interface please see
- * http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html
- *
- * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- * liability, trademark and document use rules apply.
- */
-
-[Constructor(DOMString type, optional UIEventInit eventInitDict)]
-interface UIEvent : Event
-{
- readonly attribute WindowProxy? view;
- readonly attribute long detail;
- void initUIEvent(DOMString aType,
- boolean aCanBubble,
- boolean aCancelable,
- WindowProxy? aView,
- long aDetail);
-};
-
-// Additional DOM0 properties.
-partial interface UIEvent {
- const long SCROLL_PAGE_UP = -32768;
- const long SCROLL_PAGE_DOWN = 32768;
-
- readonly attribute long layerX;
- readonly attribute long layerY;
- readonly attribute long pageX;
- readonly attribute long pageY;
- readonly attribute unsigned long which;
- readonly attribute Node? rangeParent;
- readonly attribute long rangeOffset;
- attribute boolean cancelBubble;
- readonly attribute boolean isChar;
-};
-
-dictionary UIEventInit : EventInit
-{
- WindowProxy? view = null;
- long detail = 0;
-};
diff --git a/src/components/script/dom/bindings/codegen/URLUtils.webidl b/src/components/script/dom/bindings/codegen/URLUtils.webidl
deleted file mode 100644
index f65514ca53d..00000000000
--- a/src/components/script/dom/bindings/codegen/URLUtils.webidl
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://url.spec.whatwg.org/#urlutils
- *
- * To the extent possible under law, the editors have waived all copyright
- * and related or neighboring rights to this work. In addition, as of 17
- * February 2013, the editors have made this specification available under
- * the Open Web Foundation Agreement Version 1.0, which is available at
- * http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
- */
-
-[NoInterfaceObject]
-interface URLUtils {
- [SetterThrows]
- /* stringifier */ attribute DOMString href;
- readonly attribute DOMString origin;
-
- attribute DOMString protocol;
- attribute DOMString username;
- attribute DOMString password;
- attribute DOMString host;
- attribute DOMString hostname;
- attribute DOMString port;
- attribute DOMString pathname;
- attribute DOMString search;
- // attribute URLQuery? query;
- attribute DOMString hash;
-};
diff --git a/src/components/script/dom/bindings/codegen/ValidityState.webidl b/src/components/script/dom/bindings/codegen/ValidityState.webidl
deleted file mode 100644
index d8d1d1bccd8..00000000000
--- a/src/components/script/dom/bindings/codegen/ValidityState.webidl
+++ /dev/null
@@ -1,25 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is
- * http://www.whatwg.org/specs/web-apps/current-work/#validitystate
- * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
- * Opera Software ASA. You are granted a license to use, reproduce
- * and create derivative works of this document.
- */
-
-interface ValidityState {
- readonly attribute boolean valueMissing;
- readonly attribute boolean typeMismatch;
- readonly attribute boolean patternMismatch;
- readonly attribute boolean tooLong;
- readonly attribute boolean rangeUnderflow;
- readonly attribute boolean rangeOverflow;
- readonly attribute boolean stepMismatch;
-// readonly attribute boolean badInput;
- readonly attribute boolean customError;
- readonly attribute boolean valid;
-};
-
diff --git a/src/components/script/dom/bindings/codegen/Window.webidl b/src/components/script/dom/bindings/codegen/Window.webidl
deleted file mode 100644
index a2f541e61f2..00000000000
--- a/src/components/script/dom/bindings/codegen/Window.webidl
+++ /dev/null
@@ -1,72 +0,0 @@
-/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * The origin of this IDL file is:
- * http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-window-object
- */
-
-[NamedPropertiesObject]
-/*sealed*/ interface Window : EventTarget {
- // the current browsing context
- /*[Unforgeable] readonly attribute WindowProxy window;
- [Replaceable] readonly attribute WindowProxy self;*/
- [Unforgeable] readonly attribute Document document;
- attribute DOMString name;
- /* [PutForwards=href, Unforgeable] */ readonly attribute Location location;
- /* readonly attribute History history;
- [Replaceable] readonly attribute BarProp locationbar;
- [Replaceable] readonly attribute BarProp menubar;
- [Replaceable] readonly attribute BarProp personalbar;
- [Replaceable] readonly attribute BarProp scrollbars;
- [Replaceable] readonly attribute BarProp statusbar;
- [Replaceable] readonly attribute BarProp toolbar;*/
- attribute DOMString status;
- void close();
- readonly attribute boolean closed;
- void stop();
- void focus();
- void blur();
-
- // other browsing contexts
- /*[Replaceable] readonly attribute WindowProxy frames;
- [Replaceable] readonly attribute unsigned long length;
- [Unforgeable] readonly attribute WindowProxy top;
- attribute WindowProxy? opener;
- readonly attribute WindowProxy parent;*/
- readonly attribute Element? frameElement;
- /*WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);
- getter WindowProxy (unsigned long index);*/
- //getter object (DOMString name);
-
- // the user agent
- readonly attribute Navigator navigator;
- /*
- readonly attribute External external;
- readonly attribute ApplicationCache applicationCache;*/
-
- // user prompts
- void alert(optional DOMString message = "");
- boolean confirm(optional DOMString message = "");
- DOMString? prompt(optional DOMString message = "", optional DOMString default = "");
- void print();
- any showModalDialog(DOMString url, optional any argument);
-
-
-};
-/*Window implements GlobalEventHandlers;
- Window implements WindowEventHandlers;*/
-
-[NoInterfaceObject]
-interface WindowTimers {
- //long setTimeout(Function handler, optional long timeout, any... arguments);
- //XXXjdm No support for Function or variadic arguments yet
- long setTimeout(any handler, optional long timeout/*, any... arguments*/);
- void clearTimeout(long handle);
- /*long setTimeout(DOMString handler, optional long timeout, any... arguments);
- long setInterval(Function handler, optional long timeout, any... arguments);
- long setInterval(DOMString handler, optional long timeout, any... arguments);
- void clearInterval(long handle);*/
-};
-Window implements WindowTimers;
diff --git a/src/components/script/dom/bindings/codegen/WindowProxy.webidl b/src/components/script/dom/bindings/codegen/WindowProxy.webidl
deleted file mode 100644
index abc429d1cb6..00000000000
--- a/src/components/script/dom/bindings/codegen/WindowProxy.webidl
+++ /dev/null
@@ -1,9 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-/* FIXME WindowProxy doesn't actually have an interface according to the spec,
- but I'm not sure how to do fallible unwrapping without this, since
- we lack Gecko's XPCOM querying facilities. */
-interface WindowProxy {
-}; \ No newline at end of file