mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmllinkelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLLinkElement : HTMLElement {
|
||||
attribute DOMString href;
|
||||
// attribute DOMString crossOrigin;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmapelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLMapElement : HTMLElement {
|
||||
// attribute DOMString name;
|
||||
//readonly attribute HTMLCollection areas;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmediaelement
|
||||
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
||||
[Abstract, Exposed=(Window,Worker)]
|
||||
[Abstract]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
// error state
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmetaelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLMetaElement : HTMLElement {
|
||||
attribute DOMString name;
|
||||
// attribute DOMString httpEquiv;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmeterelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLMeterElement : HTMLElement {
|
||||
// attribute double value;
|
||||
// attribute double min;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmodelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLModElement : HTMLElement {
|
||||
// attribute DOMString cite;
|
||||
// attribute DOMString dateTime;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlolistelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLOListElement : HTMLElement {
|
||||
// attribute boolean reversed;
|
||||
// attribute long start;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlobjectelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLObjectElement : HTMLElement {
|
||||
// attribute DOMString data;
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmloptgroupelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLOptGroupElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
// attribute DOMString label;
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
|
||||
// optional boolean defaultSelected = false,
|
||||
// optional boolean selected = false)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLOptionElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmloutputelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLOutputElement : HTMLElement {
|
||||
// [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue