Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial fix for #12415: expose interfaces of some HTML Elements #12617

Merged
merged 1 commit into from Jul 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLHRElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmlhrelement
[Exposed=(Window,Worker)]
interface HTMLHRElement : HTMLElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLHeadingElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmlheadingelement
[Exposed=(Window,Worker)]
interface HTMLHeadingElement : HTMLElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLHtmlElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

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

// https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils
[NoInterfaceObject, Exposed=(Window,Worker)]
[NoInterfaceObject]
interface HTMLHyperlinkElementUtils {
// stringifier attribute USVString href;
attribute USVString href;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLIFrameElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmliframeelement
[Exposed=(Window,Worker)]
interface HTMLIFrameElement : HTMLElement {
attribute DOMString src;
// attribute DOMString srcdoc;
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webidls/HTMLImageElement.webidl
Expand Up @@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmlimageelement
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height), Exposed=(Window,Worker)]
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
attribute DOMString alt;
attribute DOMString src;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLInputElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmlinputelement
[Exposed=(Window,Worker)]
interface HTMLInputElement : HTMLElement {
attribute DOMString accept;
attribute DOMString alt;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLLIElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmllielement
[Exposed=(Window,Worker)]
interface HTMLLIElement : HTMLElement {
// attribute long value;

Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLLabelElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmllabelelement
[Exposed=(Window,Worker)]
interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form;
attribute DOMString htmlFor;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLLegendElement.webidl
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmllegendelement
[Exposed=(Window,Worker)]
interface HTMLLegendElement : HTMLElement {
readonly attribute HTMLFormElement? form;

Expand Down

This file was deleted.

10 changes: 0 additions & 10 deletions tests/wpt/mozilla/tests/mozilla/interfaces.worker.js
Expand Up @@ -52,15 +52,6 @@ test_interfaces([
"HTMLFormControlsCollection",
"HTMLFormElement",
"HTMLHeadElement",
"HTMLHeadingElement",
"HTMLHRElement",
"HTMLHtmlElement",
"HTMLIFrameElement",
"HTMLImageElement",
"HTMLInputElement",
"HTMLLabelElement",
"HTMLLegendElement",
"HTMLLIElement",
"HTMLLinkElement",
"HTMLMapElement",
"HTMLMediaElement",
Expand All @@ -74,7 +65,6 @@ test_interfaces([
"HTMLOutputElement",
"HTMLScriptElement",
"ImageData",
"Image",
"KeyboardEvent",
"Location",
"MediaError",
Expand Down