Auto merge of #12566 - ice9js:fix/expose-interfaces-only-where-necessary, r=Ms2ger

Partial fix for #12415: expose interfaces only where necessary

Partial fix for #12415.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12566)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-23 08:21:35 -05:00 committed by GitHub
commit 8e79709ed1
11 changed files with 0 additions and 20 deletions

View file

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

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldetailselement // https://html.spec.whatwg.org/multipage/#htmldetailselement
[Exposed=(Window,Worker)]
interface HTMLDetailsElement : HTMLElement { interface HTMLDetailsElement : HTMLElement {
attribute boolean open; attribute boolean open;
}; };

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldialogelement // https://html.spec.whatwg.org/multipage/#htmldialogelement
[Exposed=(Window,Worker)]
interface HTMLDialogElement : HTMLElement { interface HTMLDialogElement : HTMLElement {
attribute boolean open; attribute boolean open;
attribute DOMString returnValue; attribute DOMString returnValue;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldirectoryelement // https://html.spec.whatwg.org/multipage/#htmldirectoryelement
[Exposed=(Window,Worker)]
interface HTMLDirectoryElement : HTMLElement { interface HTMLDirectoryElement : HTMLElement {
// attribute boolean compact; // attribute boolean compact;
}; };

View file

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

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlembedelement // https://html.spec.whatwg.org/multipage/#htmlembedelement
[Exposed=(Window,Worker)]
interface HTMLEmbedElement : HTMLElement { interface HTMLEmbedElement : HTMLElement {
// attribute DOMString src; // attribute DOMString src;
// attribute DOMString type; // attribute DOMString type;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfieldsetelement // https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
[Exposed=(Window,Worker)]
interface HTMLFieldSetElement : HTMLElement { interface HTMLFieldSetElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfontelement // https://html.spec.whatwg.org/multipage/#htmlfontelement
[Exposed=(Window,Worker)]
interface HTMLFontElement : HTMLElement { interface HTMLFontElement : HTMLElement {
[TreatNullAs=EmptyString] attribute DOMString color; [TreatNullAs=EmptyString] attribute DOMString color;
attribute DOMString face; attribute DOMString face;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframeelement // https://html.spec.whatwg.org/multipage/#htmlframeelement
[Exposed=(Window,Worker)]
interface HTMLFrameElement : HTMLElement { interface HTMLFrameElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
// attribute DOMString scrolling; // attribute DOMString scrolling;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframesetelement // https://html.spec.whatwg.org/multipage/#htmlframesetelement
[Exposed=(Window,Worker)]
interface HTMLFrameSetElement : HTMLElement { interface HTMLFrameSetElement : HTMLElement {
// attribute DOMString cols; // attribute DOMString cols;
// attribute DOMString rows; // attribute DOMString rows;

View file

@ -48,19 +48,9 @@ test_interfaces([
"History", "History",
"HTMLCanvasElement", "HTMLCanvasElement",
"HTMLCollection", "HTMLCollection",
"HTMLDetailsElement",
"HTMLDialogElement",
"HTMLDirectoryElement",
"HTMLDivElement",
"HTMLDListElement",
"HTMLElement", "HTMLElement",
"HTMLEmbedElement",
"HTMLFieldSetElement",
"HTMLFontElement",
"HTMLFormControlsCollection", "HTMLFormControlsCollection",
"HTMLFormElement", "HTMLFormElement",
"HTMLFrameElement",
"HTMLFrameSetElement",
"HTMLHeadElement", "HTMLHeadElement",
"HTMLHeadingElement", "HTMLHeadingElement",
"HTMLHRElement", "HTMLHRElement",