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
* HTMLTemplateElement.webidl
* HTMLTextAreaElement.webidl
* HTMLTimeElement.webidl
* HTMLTitleElement.webidl
* HTMLTrackElement.webidl
* HTMLUnknownElement.webidl
* HTMLUListElement.webidl
* HTMLVideoElement.webidl
  • Loading branch information
woshilapin committed Jul 22, 2016
1 parent cdf225c commit 2aed5b9
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTemplateElement.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/#htmltemplateelement
[Exposed=(Window,Worker)]
interface HTMLTemplateElement : HTMLElement {
readonly attribute DocumentFragment content;
};
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTextAreaElement.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/#htmltextareaelement
[Exposed=(Window,Worker)]
interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete;
// attribute boolean autofocus;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTimeElement.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/#htmltimeelement
[Exposed=(Window,Worker)]
interface HTMLTimeElement : HTMLElement {
// attribute DOMString dateTime;
};
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTitleElement.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/#htmltitleelement
[Exposed=(Window,Worker)]
interface HTMLTitleElement : HTMLElement {
[Pure]
attribute DOMString text;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTrackElement.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/#htmltrackelement
[Exposed=(Window,Worker)]
interface HTMLTrackElement : HTMLElement {
// attribute DOMString kind;
// attribute DOMString src;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLUListElement.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/#htmlulistelement
[Exposed=(Window,Worker)]
interface HTMLUListElement : HTMLElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLUnknownElement.webidl
Expand Up @@ -11,6 +11,5 @@
* and create derivative works of this document.
*/

[Exposed=(Window,Worker)]
interface HTMLUnknownElement : HTMLElement {
};
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLVideoElement.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/#htmlvideoelement
[Exposed=(Window,Worker)]
interface HTMLVideoElement : HTMLMediaElement {
// attribute unsigned long width;
// attribute unsigned long height;
Expand Down
8 changes: 0 additions & 8 deletions tests/wpt/mozilla/tests/mozilla/interfaces.worker.js
Expand Up @@ -109,14 +109,6 @@ test_interfaces([
"HTMLTableHeaderCellElement",
"HTMLTableRowElement",
"HTMLTableSectionElement",
"HTMLTemplateElement",
"HTMLTextAreaElement",
"HTMLTimeElement",
"HTMLTitleElement",
"HTMLTrackElement",
"HTMLUListElement",
"HTMLUnknownElement",
"HTMLVideoElement",
"ImageData",
"Image",
"KeyboardEvent",
Expand Down

0 comments on commit 2aed5b9

Please sign in to comment.