Removed incorrectly exposed webidl interfaces

I removed exposure in Window and Worker to some interfaces that
was not specified in the specification.
This commit is contained in:
Lucas Lois 2016-10-16 12:03:36 -03:00
parent 0b697c1080
commit d764eef5a2
12 changed files with 1 additions and 22 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/#htmllinkelement // https://html.spec.whatwg.org/multipage/#htmllinkelement
[Exposed=(Window,Worker)]
interface HTMLLinkElement : HTMLElement { interface HTMLLinkElement : HTMLElement {
attribute DOMString href; attribute DOMString href;
// attribute DOMString crossOrigin; // attribute DOMString crossOrigin;

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/#htmlmapelement // https://html.spec.whatwg.org/multipage/#htmlmapelement
[Exposed=(Window,Worker)]
interface HTMLMapElement : HTMLElement { interface HTMLMapElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
//readonly attribute HTMLCollection areas; //readonly attribute HTMLCollection areas;

View file

@ -4,7 +4,7 @@
// https://html.spec.whatwg.org/multipage/#htmlmediaelement // https://html.spec.whatwg.org/multipage/#htmlmediaelement
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" }; enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
[Abstract, Exposed=(Window,Worker)] [Abstract]
interface HTMLMediaElement : HTMLElement { interface HTMLMediaElement : HTMLElement {
// error state // error state

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/#htmlmetaelement // https://html.spec.whatwg.org/multipage/#htmlmetaelement
[Exposed=(Window,Worker)]
interface HTMLMetaElement : HTMLElement { interface HTMLMetaElement : HTMLElement {
attribute DOMString name; attribute DOMString name;
// attribute DOMString httpEquiv; // attribute DOMString httpEquiv;

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/#htmlmeterelement // https://html.spec.whatwg.org/multipage/#htmlmeterelement
[Exposed=(Window,Worker)]
interface HTMLMeterElement : HTMLElement { interface HTMLMeterElement : HTMLElement {
// attribute double value; // attribute double value;
// attribute double min; // attribute double min;

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/#htmlmodelement // https://html.spec.whatwg.org/multipage/#htmlmodelement
[Exposed=(Window,Worker)]
interface HTMLModElement : HTMLElement { interface HTMLModElement : HTMLElement {
// attribute DOMString cite; // attribute DOMString cite;
// attribute DOMString dateTime; // attribute DOMString dateTime;

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/#htmlolistelement // https://html.spec.whatwg.org/multipage/#htmlolistelement
[Exposed=(Window,Worker)]
interface HTMLOListElement : HTMLElement { interface HTMLOListElement : HTMLElement {
// attribute boolean reversed; // attribute boolean reversed;
// attribute long start; // attribute long start;

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/#htmlobjectelement // https://html.spec.whatwg.org/multipage/#htmlobjectelement
[Exposed=(Window,Worker)]
interface HTMLObjectElement : HTMLElement { interface HTMLObjectElement : HTMLElement {
// attribute DOMString data; // attribute DOMString data;
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/#htmloptgroupelement // https://html.spec.whatwg.org/multipage/#htmloptgroupelement
[Exposed=(Window,Worker)]
interface HTMLOptGroupElement : HTMLElement { interface HTMLOptGroupElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
// attribute DOMString label; // attribute DOMString label;

View file

@ -6,7 +6,6 @@
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value, //[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
// optional boolean defaultSelected = false, // optional boolean defaultSelected = false,
// optional boolean selected = false)] // optional boolean selected = false)]
[Exposed=(Window,Worker)]
interface HTMLOptionElement : HTMLElement { interface HTMLOptionElement : 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/#htmloutputelement // https://html.spec.whatwg.org/multipage/#htmloutputelement
[Exposed=(Window,Worker)]
interface HTMLOutputElement : HTMLElement { interface HTMLOutputElement : HTMLElement {
// [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; // [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -47,18 +47,7 @@ test_interfaces([
"HTMLFormControlsCollection", "HTMLFormControlsCollection",
"HTMLFormElement", "HTMLFormElement",
"HTMLHeadElement", "HTMLHeadElement",
"HTMLLinkElement",
"HTMLMapElement",
"HTMLMediaElement",
"HTMLMetaElement",
"HTMLMeterElement",
"HTMLModElement",
"HTMLObjectElement",
"HTMLOListElement",
"HTMLOptGroupElement",
"HTMLOptionElement",
"HTMLOptionsCollection", "HTMLOptionsCollection",
"HTMLOutputElement",
"HTMLScriptElement", "HTMLScriptElement",
"ImageData", "ImageData",
"KeyboardEvent", "KeyboardEvent",