mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Auto merge of #13787 - lucasloisp:fix-12415/htmll-htmlo, r=emilio
Removed incorrectly exposed webidl interfaces <!-- Please describe your changes on the following line: --> I removed exposure in Window and Worker to some interfaces that was not specified in the specification. Specifically: - HTMLLinkElement.webidl - HTMLMapElement.webidl - HTMLMediaElement.webidl - HTMLMetaElement.webidl - HTMLMeterElement.webidl - HTMLModElement.webidl - HTMLObjectElement.webidl - HTMLOListElement.webidl - HTMLOptGroupElement.webidl - HTMLOptionElement.webidl - HTMLOutputElement.webidl --- <!-- 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 - [X] These changes partially fix #12415 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they do not add any feature <!-- 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/13787) <!-- Reviewable:end -->
This commit is contained in:
commit
4af21e3ae1
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;
|
||||
|
|
|
@ -47,18 +47,7 @@ test_interfaces([
|
|||
"HTMLFormControlsCollection",
|
||||
"HTMLFormElement",
|
||||
"HTMLHeadElement",
|
||||
"HTMLLinkElement",
|
||||
"HTMLMapElement",
|
||||
"HTMLMediaElement",
|
||||
"HTMLMetaElement",
|
||||
"HTMLMeterElement",
|
||||
"HTMLModElement",
|
||||
"HTMLObjectElement",
|
||||
"HTMLOListElement",
|
||||
"HTMLOptGroupElement",
|
||||
"HTMLOptionElement",
|
||||
"HTMLOptionsCollection",
|
||||
"HTMLOutputElement",
|
||||
"HTMLScriptElement",
|
||||
"ImageData",
|
||||
"KeyboardEvent",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue