Skip to content

Commit

Permalink
partial-fix #12415: incorrect exposure of Window,Worker in webidl
Browse files Browse the repository at this point in the history
* HTMLParagraphElement.webidl
* HTMLParamElement.webidl
* HTMLPreElement.webidl
* HTMLProgressElement.webidl
* HTMLQuoteElement.webidl
* HTMLSelectElement.webidl
* HTMLSourceElement.webidl
* HTMLSpanElement.webidl
* HTMLStyleElement.webidl
  • Loading branch information
woshilapin committed Jul 22, 2016
1 parent cdf225c commit 99b8252
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLParagraphElement.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/#htmlparagraphelement
[Exposed=(Window,Worker)]
interface HTMLParagraphElement : HTMLElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLParamElement.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/#htmlparamelement
[Exposed=(Window,Worker)]
interface HTMLParamElement : HTMLElement {
// attribute DOMString name;
// attribute DOMString value;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLPreElement.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/#htmlpreelement
[Exposed=(Window,Worker)]
interface HTMLPreElement : HTMLElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLProgressElement.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/#htmlprogresselement
[Exposed=(Window,Worker)]
interface HTMLProgressElement : HTMLElement {
// attribute double value;
// attribute double max;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLQuoteElement.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/#htmlquoteelement
[Exposed=(Window,Worker)]
interface HTMLQuoteElement : HTMLElement {
// attribute DOMString cite;
};
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLSelectElement.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/#htmlselectelement
[Exposed=(Window,Worker)]
interface HTMLSelectElement : HTMLElement {
// attribute boolean autofocus;
attribute boolean disabled;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLSourceElement.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/#htmlsourceelement
[Exposed=(Window,Worker)]
interface HTMLSourceElement : HTMLElement {
// attribute DOMString src;
// attribute DOMString type;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLSpanElement.webidl
Expand Up @@ -3,5 +3,4 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmlspanelement
[Exposed=(Window,Worker)]
interface HTMLSpanElement : HTMLElement {};
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLStyleElement.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/#htmlstyleelement
[Exposed=(Window,Worker)]
interface HTMLStyleElement : HTMLElement {
// attribute DOMString media;
// attribute DOMString type;
Expand Down
9 changes: 0 additions & 9 deletions tests/wpt/mozilla/tests/mozilla/interfaces.worker.js
Expand Up @@ -91,16 +91,7 @@ test_interfaces([
"HTMLOptGroupElement",
"HTMLOptionElement",
"HTMLOutputElement",
"HTMLParagraphElement",
"HTMLParamElement",
"HTMLPreElement",
"HTMLProgressElement",
"HTMLQuoteElement",
"HTMLScriptElement",
"HTMLSelectElement",
"HTMLSourceElement",
"HTMLSpanElement",
"HTMLStyleElement",
"HTMLTableCaptionElement",
"HTMLTableCellElement",
"HTMLTableColElement",
Expand Down

0 comments on commit 99b8252

Please sign in to comment.