mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
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:
parent
0b697c1080
commit
d764eef5a2
12 changed files with 1 additions and 22 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue