mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Partial fix for #12415: expose interfaces only where necessary
This commit is contained in:
parent
7c8bd58c4a
commit
fa8c407191
11 changed files with 0 additions and 20 deletions
|
@ -11,7 +11,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
|
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLAnchorElement : HTMLElement {
|
interface HTMLAnchorElement : HTMLElement {
|
||||||
attribute DOMString target;
|
attribute DOMString target;
|
||||||
// attribute DOMString download;
|
// attribute DOMString download;
|
||||||
|
|
|
@ -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/#htmlappletelement
|
// https://html.spec.whatwg.org/multipage/#htmlappletelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLAppletElement : HTMLElement {
|
interface HTMLAppletElement : HTMLElement {
|
||||||
// attribute DOMString align;
|
// attribute DOMString align;
|
||||||
// attribute DOMString alt;
|
// attribute DOMString alt;
|
||||||
|
|
|
@ -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/#htmlareaelement
|
// https://html.spec.whatwg.org/multipage/#htmlareaelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLAreaElement : HTMLElement {
|
interface HTMLAreaElement : HTMLElement {
|
||||||
// attribute DOMString alt;
|
// attribute DOMString alt;
|
||||||
// attribute DOMString coords;
|
// attribute DOMString coords;
|
||||||
|
|
|
@ -4,5 +4,4 @@
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlaudioelement
|
// https://html.spec.whatwg.org/multipage/#htmlaudioelement
|
||||||
//[NamedConstructor=Audio(optional DOMString src)]
|
//[NamedConstructor=Audio(optional DOMString src)]
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLAudioElement : HTMLMediaElement {};
|
interface HTMLAudioElement : HTMLMediaElement {};
|
||||||
|
|
|
@ -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/#htmlbrelement
|
// https://html.spec.whatwg.org/multipage/#htmlbrelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLBRElement : HTMLElement {
|
interface HTMLBRElement : HTMLElement {
|
||||||
// also has obsolete members
|
// also has obsolete members
|
||||||
};
|
};
|
||||||
|
|
|
@ -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/#htmlbaseelement
|
// https://html.spec.whatwg.org/multipage/#htmlbaseelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLBaseElement : HTMLElement {
|
interface HTMLBaseElement : HTMLElement {
|
||||||
attribute DOMString href;
|
attribute DOMString href;
|
||||||
// attribute DOMString target;
|
// attribute DOMString target;
|
||||||
|
|
|
@ -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/#the-body-element
|
// https://html.spec.whatwg.org/multipage/#the-body-element
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLBodyElement : HTMLElement {
|
interface HTMLBodyElement : HTMLElement {
|
||||||
// also has obsolete members
|
// also has obsolete members
|
||||||
};
|
};
|
||||||
|
|
|
@ -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/#htmlbuttonelement
|
// https://html.spec.whatwg.org/multipage/#htmlbuttonelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLButtonElement : HTMLElement {
|
interface HTMLButtonElement : HTMLElement {
|
||||||
// attribute boolean autofocus;
|
// attribute boolean autofocus;
|
||||||
attribute boolean disabled;
|
attribute boolean disabled;
|
||||||
|
|
|
@ -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/#htmldataelement
|
// https://html.spec.whatwg.org/multipage/#htmldataelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDataElement : HTMLElement {
|
interface HTMLDataElement : HTMLElement {
|
||||||
// attribute DOMString value;
|
// attribute DOMString value;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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/#htmldatalistelement
|
// https://html.spec.whatwg.org/multipage/#htmldatalistelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDataListElement : HTMLElement {
|
interface HTMLDataListElement : HTMLElement {
|
||||||
readonly attribute HTMLCollection options;
|
readonly attribute HTMLCollection options;
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,18 +46,8 @@ test_interfaces([
|
||||||
"HashChangeEvent",
|
"HashChangeEvent",
|
||||||
"Headers",
|
"Headers",
|
||||||
"History",
|
"History",
|
||||||
"HTMLAnchorElement",
|
|
||||||
"HTMLAppletElement",
|
|
||||||
"HTMLAreaElement",
|
|
||||||
"HTMLAudioElement",
|
|
||||||
"HTMLBaseElement",
|
|
||||||
"HTMLBodyElement",
|
|
||||||
"HTMLBRElement",
|
|
||||||
"HTMLButtonElement",
|
|
||||||
"HTMLCanvasElement",
|
"HTMLCanvasElement",
|
||||||
"HTMLCollection",
|
"HTMLCollection",
|
||||||
"HTMLDataElement",
|
|
||||||
"HTMLDataListElement",
|
|
||||||
"HTMLDetailsElement",
|
"HTMLDetailsElement",
|
||||||
"HTMLDialogElement",
|
"HTMLDialogElement",
|
||||||
"HTMLDirectoryElement",
|
"HTMLDirectoryElement",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue