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
* HTMLTableCaptionElement.webidl
* HTMLTableCellElement.webidl
* HTMLTableColElement.webidl
* HTMLTableDataCellElement.webidl
* HTMLTableElement.webidl
* HTMLTableHeaderCellElement.webidl
* HTMLTableRowElement.webidl
* HTMLTableSectionElement.webidl
  • Loading branch information
woshilapin committed Jul 23, 2016
1 parent 07fcaf4 commit e70f680
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 16 deletions.
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmltablecaptionelement
[Exposed=(Window,Worker)]
interface HTMLTableCaptionElement : HTMLElement {
// also has obsolete members
};
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webidls/HTMLTableCellElement.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/#htmltablecellelement
[Abstract, Exposed=(Window,Worker)]
[Abstract]
interface HTMLTableCellElement : HTMLElement {
attribute unsigned long colSpan;
// attribute unsigned long rowSpan;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTableColElement.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/#htmltablecolelement
[Exposed=(Window,Worker)]
interface HTMLTableColElement : HTMLElement {
// attribute unsigned long span;

Expand Down
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmltabledatacellelement
[Exposed=(Window,Worker)]
interface HTMLTableDataCellElement : HTMLTableCellElement {
// also has obsolete members
};
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTableElement.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/#htmltableelement
[Exposed=(Window,Worker)]
interface HTMLTableElement : HTMLElement {
attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption();
Expand Down
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmltableheadercellelement
[Exposed=(Window,Worker)]
interface HTMLTableHeaderCellElement : HTMLTableCellElement {
// attribute DOMString scope;
// attribute DOMString abbr;
Expand Down
1 change: 0 additions & 1 deletion components/script/dom/webidls/HTMLTableRowElement.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/#htmltablerowelement
[Exposed=(Window,Worker)]
interface HTMLTableRowElement : HTMLElement {
readonly attribute long rowIndex;
readonly attribute long sectionRowIndex;
Expand Down
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://html.spec.whatwg.org/multipage/#htmltablesectionelement
[Exposed=(Window,Worker)]
interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows;
[Throws]
Expand Down
8 changes: 0 additions & 8 deletions tests/wpt/mozilla/tests/mozilla/interfaces.worker.js
Expand Up @@ -93,14 +93,6 @@ test_interfaces([
"HTMLOptionElement",
"HTMLOutputElement",
"HTMLScriptElement",
"HTMLTableCaptionElement",
"HTMLTableCellElement",
"HTMLTableColElement",
"HTMLTableDataCellElement",
"HTMLTableElement",
"HTMLTableHeaderCellElement",
"HTMLTableRowElement",
"HTMLTableSectionElement",
"ImageData",
"Image",
"KeyboardEvent",
Expand Down

0 comments on commit e70f680

Please sign in to comment.