Bug 1340027 - Part 2: Add HTML CEReactions annotation.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-04 21:41:41 -05:00 • committed by Roy Tam
commit 8119a60e3d
68 changed files with 398 additions and 359 deletions

View file

@ -14,7 +14,8 @@
[OverrideBuiltins] [OverrideBuiltins]
interface DOMStringMap { interface DOMStringMap {
getter DOMString (DOMString name); getter DOMString (DOMString name);
[Throws] [CEReactions, Throws]
setter creator void (DOMString name, DOMString value); setter creator void (DOMString name, DOMString value);
[CEReactions]
deleter void (DOMString name); deleter void (DOMString name);
}; };

View file

@ -108,9 +108,9 @@ partial interface Document {
// DOM tree accessors // DOM tree accessors
//(Not proxy yet)getter object (DOMString name); //(Not proxy yet)getter object (DOMString name);
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString title; attribute DOMString title;
[Pure] [CEReactions, Pure]
attribute DOMString dir; attribute DOMString dir;
//(HTML only) attribute HTMLElement? body; //(HTML only) attribute HTMLElement? body;
//(HTML only)readonly attribute HTMLHeadElement? head; //(HTML only)readonly attribute HTMLHeadElement? head;

View file

@ -14,24 +14,24 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-a-element // http://www.whatwg.org/specs/web-apps/current-work/#the-a-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLAnchorElement : HTMLElement { interface HTMLAnchorElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString target; attribute DOMString target;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString download; attribute DOMString download;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ping; attribute DOMString ping;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString rel; attribute DOMString rel;
[SetterThrows, Pref="network.http.enablePerElementReferrer"] [CEReactions, SetterThrows, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy; attribute DOMString referrerPolicy;
[PutForwards=value] [PutForwards=value]
readonly attribute DOMTokenList relList; readonly attribute DOMTokenList relList;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString hreflang; attribute DOMString hreflang;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString text; attribute DOMString text;
}; };
@ -39,14 +39,14 @@ HTMLAnchorElement implements HTMLHyperlinkElementUtils;
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLAnchorElement { partial interface HTMLAnchorElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString coords; attribute DOMString coords;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString charset; attribute DOMString charset;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString name; attribute DOMString name;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString rev; attribute DOMString rev;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString shape; attribute DOMString shape;
}; };

View file

@ -15,19 +15,19 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-area-element // http://www.whatwg.org/specs/web-apps/current-work/#the-area-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLAreaElement : HTMLElement { interface HTMLAreaElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString alt; attribute DOMString alt;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString coords; attribute DOMString coords;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString shape; attribute DOMString shape;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString target; attribute DOMString target;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString download; attribute DOMString download;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ping; attribute DOMString ping;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString rel; attribute DOMString rel;
[SetterThrows, Pref="network.http.enablePerElementReferrer"] [SetterThrows, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy; attribute DOMString referrerPolicy;
@ -39,6 +39,6 @@ HTMLAreaElement implements HTMLHyperlinkElementUtils;
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLAreaElement { partial interface HTMLAreaElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean noHref; attribute boolean noHref;
}; };

View file

@ -18,7 +18,7 @@ interface HTMLBRElement : HTMLElement {};
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLBRElement { partial interface HTMLBRElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString clear; attribute DOMString clear;
}; };

View file

@ -14,9 +14,9 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-base-element // http://www.whatwg.org/specs/web-apps/current-work/#the-base-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLBaseElement : HTMLElement { interface HTMLBaseElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString href; attribute DOMString href;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString target; attribute DOMString target;
}; };

View file

@ -16,12 +16,18 @@ interface HTMLBodyElement : HTMLElement {
}; };
partial interface HTMLBodyElement { partial interface HTMLBodyElement {
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString text; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString link; attribute DOMString text;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString vLink; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString aLink; attribute DOMString link;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
[SetterThrows] attribute DOMString background; attribute DOMString vLink;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString aLink;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString bgColor;
[CEReactions, SetterThrows]
attribute DOMString background;
}; };
HTMLBodyElement implements WindowEventHandlers; HTMLBodyElement implements WindowEventHandlers;

View file

@ -13,27 +13,27 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-button-element // http://www.whatwg.org/specs/web-apps/current-work/#the-button-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLButtonElement : HTMLElement { interface HTMLButtonElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean autofocus; attribute boolean autofocus;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean disabled; attribute boolean disabled;
[Pure] [Pure]
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString formAction; attribute DOMString formAction;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString formEnctype; attribute DOMString formEnctype;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString formMethod; attribute DOMString formMethod;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean formNoValidate; attribute boolean formNoValidate;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString formTarget; attribute DOMString formTarget;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString type; attribute DOMString type;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString value; attribute DOMString value;
// Not yet implemented: // Not yet implemented:
// attribute HTMLMenuElement? menu; // attribute HTMLMenuElement? menu;

View file

@ -15,9 +15,9 @@ interface Variant;
[HTMLConstructor] [HTMLConstructor]
interface HTMLCanvasElement : HTMLElement { interface HTMLCanvasElement : HTMLElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long width; attribute unsigned long width;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long height; attribute unsigned long height;
[Throws] [Throws]

View file

@ -19,6 +19,6 @@ interface HTMLDListElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLDListElement { partial interface HTMLDListElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean compact; attribute boolean compact;
}; };

View file

@ -9,6 +9,6 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLDataElement : HTMLElement { interface HTMLDataElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString value; attribute DOMString value;
}; };

View file

@ -13,6 +13,6 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLDetailsElement : HTMLElement { interface HTMLDetailsElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean open; attribute boolean open;
}; };

View file

@ -13,11 +13,13 @@
[Pref="dom.dialog_element.enabled"] [Pref="dom.dialog_element.enabled"]
interface HTMLDialogElement : HTMLElement { interface HTMLDialogElement : HTMLElement {
[SetterThrows] attribute boolean open; [CEReactions, SetterThrows]
attribute boolean open;
attribute DOMString returnValue; attribute DOMString returnValue;
[CEReactions]
void show(); void show();
[Throws] void showModal(); [CEReactions, Throws]
void showModal();
[CEReactions]
void close(optional DOMString returnValue); void close(optional DOMString returnValue);
}; };

View file

@ -14,7 +14,7 @@
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
[HTMLConstructor] [HTMLConstructor]
interface HTMLDirectoryElement : HTMLElement { interface HTMLDirectoryElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean compact; attribute boolean compact;
}; };

View file

@ -15,6 +15,6 @@
interface HTMLDivElement : HTMLElement {}; interface HTMLDivElement : HTMLElement {};
partial interface HTMLDivElement { partial interface HTMLDivElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
}; };

View file

@ -13,7 +13,7 @@ interface HTMLDocument : Document {
// DOM tree accessors // DOM tree accessors
[Throws] [Throws]
getter object (DOMString name); getter object (DOMString name);
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute HTMLElement? body; attribute HTMLElement? body;
[Pure] [Pure]
readonly attribute HTMLHeadElement? head; readonly attribute HTMLHeadElement? head;
@ -32,20 +32,20 @@ interface HTMLDocument : Document {
NodeList getElementsByName(DOMString elementName); NodeList getElementsByName(DOMString elementName);
// dynamic markup insertion // dynamic markup insertion
[Throws] [CEReactions, Throws]
Document open(optional DOMString type = "text/html", optional DOMString replace = ""); Document open(optional DOMString type = "text/html", optional DOMString replace = "");
[Throws] [CEReactions, Throws]
WindowProxy? open(DOMString url, DOMString name, DOMString features, optional boolean replace = false); WindowProxy? open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);
[Throws] [CEReactions, Throws]
void close(); void close();
[Throws] [CEReactions, Throws]
void write(DOMString... text); void write(DOMString... text);
[Throws] [CEReactions, Throws]
void writeln(DOMString... text); void writeln(DOMString... text);
[SetterThrows, NeedsSubjectPrincipal] [CEReactions, SetterThrows, NeedsSubjectPrincipal]
attribute DOMString designMode; attribute DOMString designMode;
[Throws] [CEReactions, Throws]
boolean execCommand(DOMString commandId, optional boolean showUI = false, boolean execCommand(DOMString commandId, optional boolean showUI = false,
optional DOMString value = ""); optional DOMString value = "");
[Throws] [Throws]
@ -58,11 +58,11 @@ interface HTMLDocument : Document {
[Throws] [Throws]
DOMString queryCommandValue(DOMString commandId); DOMString queryCommandValue(DOMString commandId);
[TreatNullAs=EmptyString] attribute DOMString fgColor; [CEReactions, TreatNullAs=EmptyString] attribute DOMString fgColor;
[TreatNullAs=EmptyString] attribute DOMString linkColor; [CEReactions, TreatNullAs=EmptyString] attribute DOMString linkColor;
[TreatNullAs=EmptyString] attribute DOMString vlinkColor; [CEReactions, TreatNullAs=EmptyString] attribute DOMString vlinkColor;
[TreatNullAs=EmptyString] attribute DOMString alinkColor; [CEReactions, TreatNullAs=EmptyString] attribute DOMString alinkColor;
[TreatNullAs=EmptyString] attribute DOMString bgColor; [CEReactions, TreatNullAs=EmptyString] attribute DOMString bgColor;
[Pure] [Pure]
readonly attribute HTMLCollection anchors; readonly attribute HTMLCollection anchors;

View file

@ -15,32 +15,34 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLElement : Element { interface HTMLElement : Element {
// metadata attributes // metadata attributes
[CEReactions]
attribute DOMString title; attribute DOMString title;
[CEReactions]
attribute DOMString lang; attribute DOMString lang;
// attribute boolean translate; // attribute boolean translate;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString dir; attribute DOMString dir;
[Constant] [Constant]
readonly attribute DOMStringMap dataset; readonly attribute DOMStringMap dataset;
[GetterThrows, Pure, TreatNullAs=EmptyString] [CEReactions, GetterThrows, Pure, TreatNullAs=EmptyString]
attribute DOMString innerText; attribute DOMString innerText;
// user interaction // user interaction
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean hidden; attribute boolean hidden;
void click(); void click();
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute long tabIndex; attribute long tabIndex;
[Throws] [Throws]
void focus(); void focus();
[Throws] [Throws]
void blur(); void blur();
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString accessKey; attribute DOMString accessKey;
[Pure] [Pure]
readonly attribute DOMString accessKeyLabel; readonly attribute DOMString accessKeyLabel;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean draggable; attribute boolean draggable;
//[PutForwards=value] readonly attribute DOMTokenList dropzone; //[PutForwards=value] readonly attribute DOMTokenList dropzone;
[SetterThrows, Pure] [SetterThrows, Pure]
@ -51,7 +53,7 @@ interface HTMLElement : Element {
readonly attribute HTMLMenuElement? contextMenu; readonly attribute HTMLMenuElement? contextMenu;
//[SetterThrows] //[SetterThrows]
// attribute HTMLMenuElement? contextMenu; // attribute HTMLMenuElement? contextMenu;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean spellcheck; attribute boolean spellcheck;
// command API // command API

View file

@ -15,13 +15,13 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element // http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
[HTMLConstructor, NeedResolve] [HTMLConstructor, NeedResolve]
interface HTMLEmbedElement : HTMLElement { interface HTMLEmbedElement : HTMLElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString src; attribute DOMString src;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString type; attribute DOMString type;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString width; attribute DOMString width;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString height; attribute DOMString height;
[Throws] [Throws]
legacycaller any (any... arguments); legacycaller any (any... arguments);
@ -29,9 +29,9 @@ interface HTMLEmbedElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#HTMLEmbedElement-partial // http://www.whatwg.org/specs/web-apps/current-work/#HTMLEmbedElement-partial
partial interface HTMLEmbedElement { partial interface HTMLEmbedElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString align; attribute DOMString align;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString name; attribute DOMString name;
}; };

View file

@ -13,10 +13,10 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLFieldSetElement : HTMLElement { interface HTMLFieldSetElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString name; attribute DOMString name;
readonly attribute DOMString type; readonly attribute DOMString type;

View file

@ -13,7 +13,7 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLFontElement : HTMLElement { interface HTMLFontElement : HTMLElement {
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString color; [CEReactions, TreatNullAs=EmptyString, SetterThrows] attribute DOMString color;
[SetterThrows] attribute DOMString face; [CEReactions, SetterThrows] attribute DOMString face;
[SetterThrows] attribute DOMString size; [CEReactions, SetterThrows] attribute DOMString size;
}; };

View file

@ -13,23 +13,23 @@
[OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] [OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor]
interface HTMLFormElement : HTMLElement { interface HTMLFormElement : HTMLElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString acceptCharset; attribute DOMString acceptCharset;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString action; attribute DOMString action;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString autocomplete; attribute DOMString autocomplete;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString enctype; attribute DOMString enctype;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString encoding; attribute DOMString encoding;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString method; attribute DOMString method;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString name; attribute DOMString name;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean noValidate; attribute boolean noValidate;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString target; attribute DOMString target;
[Constant] [Constant]
@ -43,6 +43,7 @@ interface HTMLFormElement : HTMLElement {
[Throws] [Throws]
void submit(); void submit();
[CEReactions]
void reset(); void reset();
boolean checkValidity(); boolean checkValidity();
boolean reportValidity(); boolean reportValidity();

View file

@ -13,24 +13,26 @@
// http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement // http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement
[HTMLConstructor] [HTMLConstructor]
interface HTMLFrameElement : HTMLElement { interface HTMLFrameElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString name; attribute DOMString name;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString scrolling; attribute DOMString scrolling;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString src; attribute DOMString src;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString frameBorder; attribute DOMString frameBorder;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString longDesc; attribute DOMString longDesc;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean noResize; attribute boolean noResize;
[NeedsSubjectPrincipal] [NeedsSubjectPrincipal]
readonly attribute Document? contentDocument; readonly attribute Document? contentDocument;
readonly attribute WindowProxy? contentWindow; readonly attribute WindowProxy? contentWindow;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString marginHeight; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString marginWidth; attribute DOMString marginHeight;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString marginWidth;
}; };
HTMLFrameElement implements MozFrameLoaderOwner; HTMLFrameElement implements MozFrameLoaderOwner;

View file

@ -13,9 +13,9 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLFrameSetElement : HTMLElement { interface HTMLFrameSetElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString cols; attribute DOMString cols;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString rows; attribute DOMString rows;
}; };

View file

@ -18,14 +18,14 @@ interface HTMLHRElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLHRElement { partial interface HTMLHRElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString color; attribute DOMString color;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean noShade; attribute boolean noShade;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString size; attribute DOMString size;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString width; attribute DOMString width;
}; };

View file

@ -18,6 +18,6 @@ interface HTMLHeadingElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLHeadingElement { partial interface HTMLHeadingElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
}; };

View file

@ -18,6 +18,6 @@ interface HTMLHtmlElement : HTMLElement {};
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLHtmlElement { partial interface HTMLHtmlElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString version; attribute DOMString version;
}; };

View file

@ -18,17 +18,26 @@ interface HTMLHyperlinkElementUtils {
// Bug 824857 should remove this. // Bug 824857 should remove this.
stringifier; stringifier;
[SetterThrows] [CEReactions, SetterThrows]
attribute USVString href; attribute USVString href;
readonly attribute USVString origin; readonly attribute USVString origin;
[CEReactions]
attribute USVString protocol; attribute USVString protocol;
[CEReactions]
attribute USVString username; attribute USVString username;
[CEReactions]
attribute USVString password; attribute USVString password;
[CEReactions]
attribute USVString host; attribute USVString host;
[CEReactions]
attribute USVString hostname; attribute USVString hostname;
[CEReactions]
attribute USVString port; attribute USVString port;
[CEReactions]
attribute USVString pathname; attribute USVString pathname;
[CEReactions]
attribute USVString search; attribute USVString search;
[CEReactions]
attribute USVString hash; attribute USVString hash;
}; };

View file

@ -13,21 +13,21 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLIFrameElement : HTMLElement { interface HTMLIFrameElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString src; attribute DOMString src;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString srcdoc; attribute DOMString srcdoc;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[PutForwards=value] readonly attribute DOMTokenList sandbox; [PutForwards=value] readonly attribute DOMTokenList sandbox;
// attribute boolean seamless; // attribute boolean seamless;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean allowFullscreen; attribute boolean allowFullscreen;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString width; attribute DOMString width;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString height; attribute DOMString height;
[SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"] [CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy; attribute DOMString referrerPolicy;
[NeedsSubjectPrincipal] [NeedsSubjectPrincipal]
readonly attribute Document? contentDocument; readonly attribute Document? contentDocument;
@ -36,17 +36,19 @@ interface HTMLIFrameElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLIFrameElement { partial interface HTMLIFrameElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString align; attribute DOMString align;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString scrolling; attribute DOMString scrolling;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString frameBorder; attribute DOMString frameBorder;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString longDesc; attribute DOMString longDesc;
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight; [CEReactions, TreatNullAs=EmptyString, SetterThrows, Pure]
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth; attribute DOMString marginHeight;
[CEReactions, TreatNullAs=EmptyString, SetterThrows, Pure]
attribute DOMString marginWidth;
}; };
partial interface HTMLIFrameElement { partial interface HTMLIFrameElement {

View file

@ -19,23 +19,23 @@ interface nsIStreamListener;
[HTMLConstructor, [HTMLConstructor,
NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement { interface HTMLImageElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString alt; attribute DOMString alt;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString src; attribute DOMString src;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString srcset; attribute DOMString srcset;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString? crossOrigin; attribute DOMString? crossOrigin;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString useMap; attribute DOMString useMap;
[SetterThrows, Pref="network.http.enablePerElementReferrer"] [CEReactions, SetterThrows, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy; attribute DOMString referrerPolicy;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean isMap; attribute boolean isMap;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long width; attribute unsigned long width;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long height; attribute unsigned long height;
readonly attribute unsigned long naturalWidth; readonly attribute unsigned long naturalWidth;
readonly attribute unsigned long naturalHeight; readonly attribute unsigned long naturalHeight;
@ -44,30 +44,31 @@ interface HTMLImageElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLImageElement { partial interface HTMLImageElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString name; attribute DOMString name;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long hspace; attribute unsigned long hspace;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long vspace; attribute unsigned long vspace;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString longDesc; attribute DOMString longDesc;
[TreatNullAs=EmptyString,SetterThrows] attribute DOMString border; [CEReactions, TreatNullAs=EmptyString,SetterThrows] attribute DOMString border;
}; };
// [Update me: not in whatwg spec yet] // [Update me: not in whatwg spec yet]
// http://picture.responsiveimages.org/#the-img-element // http://picture.responsiveimages.org/#the-img-element
partial interface HTMLImageElement { partial interface HTMLImageElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString sizes; attribute DOMString sizes;
readonly attribute DOMString currentSrc; readonly attribute DOMString currentSrc;
}; };
// Mozilla extensions. // Mozilla extensions.
partial interface HTMLImageElement { partial interface HTMLImageElement {
[CEReactions]
attribute DOMString lowsrc; attribute DOMString lowsrc;
// These attributes are offsets from the closest view (to mimic // These attributes are offsets from the closest view (to mimic

View file

@ -23,78 +23,79 @@ interface nsIControllers;
[HTMLConstructor] [HTMLConstructor]
interface HTMLInputElement : HTMLElement { interface HTMLInputElement : HTMLElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString accept; attribute DOMString accept;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString alt; attribute DOMString alt;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString autocomplete; attribute DOMString autocomplete;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean autofocus; attribute boolean autofocus;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean defaultChecked; attribute boolean defaultChecked;
[Pure] [Pure]
attribute boolean checked; attribute boolean checked;
// Bug 850337 - attribute DOMString dirName; // Bug 850337 - attribute DOMString dirName;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[Pure] [Pure]
readonly attribute FileList? files; readonly attribute FileList? files;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString formAction; attribute DOMString formAction;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString formEnctype; attribute DOMString formEnctype;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString formMethod; attribute DOMString formMethod;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean formNoValidate; attribute boolean formNoValidate;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString formTarget; attribute DOMString formTarget;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long height; attribute unsigned long height;
[Pure] [Pure]
attribute boolean indeterminate; attribute boolean indeterminate;
[Pure, SetterThrows, Pref="dom.forms.inputmode"] [CEReactions, Pure, SetterThrows, Pref="dom.forms.inputmode"]
attribute DOMString inputMode; attribute DOMString inputMode;
[Pure] [Pure]
readonly attribute HTMLElement? list; readonly attribute HTMLElement? list;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString max; attribute DOMString max;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute long maxLength; attribute long maxLength;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString min; attribute DOMString min;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute long minLength; attribute long minLength;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean multiple; attribute boolean multiple;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString name; attribute DOMString name;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString pattern; attribute DOMString pattern;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString placeholder; attribute DOMString placeholder;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean readOnly; attribute boolean readOnly;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean required; attribute boolean required;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long size; attribute unsigned long size;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString src; attribute DOMString src;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString step; attribute DOMString step;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString type; attribute DOMString type;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString defaultValue; attribute DOMString defaultValue;
[Pure, TreatNullAs=EmptyString, Throws] [CEReactions, Pure, TreatNullAs=EmptyString, Throws]
attribute DOMString value; attribute DOMString value;
[Throws, Func="HTMLInputElement::ValueAsDateEnabled"] [Throws, Func="HTMLInputElement::ValueAsDateEnabled"]
attribute Date? valueAsDate; attribute Date? valueAsDate;
[Pure, SetterThrows] [Pure, SetterThrows]
attribute unrestricted double valueAsNumber; attribute unrestricted double valueAsNumber;
[CEReactions]
attribute unsigned long width; attribute unsigned long width;
[Throws] [Throws]
@ -133,9 +134,9 @@ interface HTMLInputElement : HTMLElement {
}; };
partial interface HTMLInputElement { partial interface HTMLInputElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString align; attribute DOMString align;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString useMap; attribute DOMString useMap;
}; };

View file

@ -15,12 +15,12 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-li-element // http://www.whatwg.org/specs/web-apps/current-work/#the-li-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLLIElement : HTMLElement { interface HTMLLIElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute long value; attribute long value;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLLIElement { partial interface HTMLLIElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString type; attribute DOMString type;
}; };

View file

@ -14,6 +14,7 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLLabelElement : HTMLElement { interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[CEReactions]
attribute DOMString htmlFor; attribute DOMString htmlFor;
readonly attribute HTMLElement? control; readonly attribute HTMLElement? control;
}; };

View file

@ -20,6 +20,6 @@ interface HTMLLegendElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLLegendElement { partial interface HTMLLegendElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
}; };

View file

@ -16,21 +16,21 @@
interface HTMLLinkElement : HTMLElement { interface HTMLLinkElement : HTMLElement {
[Pure] [Pure]
attribute boolean disabled; attribute boolean disabled;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString href; attribute DOMString href;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString? crossOrigin; attribute DOMString? crossOrigin;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString rel; attribute DOMString rel;
[PutForwards=value] [PutForwards=value]
readonly attribute DOMTokenList relList; readonly attribute DOMTokenList relList;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString media; attribute DOMString media;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString hreflang; attribute DOMString hreflang;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString type; attribute DOMString type;
[SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"] [CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy; attribute DOMString referrerPolicy;
[PutForwards=value] readonly attribute DOMTokenList sizes; [PutForwards=value] readonly attribute DOMTokenList sizes;
}; };
@ -38,11 +38,11 @@ HTMLLinkElement implements LinkStyle;
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLLinkElement { partial interface HTMLLinkElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString charset; attribute DOMString charset;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString rev; attribute DOMString rev;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString target; attribute DOMString target;
}; };
@ -54,6 +54,6 @@ partial interface HTMLLinkElement {
// https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1 // https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1
partial interface HTMLLinkElement { partial interface HTMLLinkElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString integrity; attribute DOMString integrity;
}; };

View file

@ -13,7 +13,7 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-map-element // http://www.whatwg.org/specs/web-apps/current-work/#the-map-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLMapElement : HTMLElement { interface HTMLMapElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[Constant] [Constant]
readonly attribute HTMLCollection areas; readonly attribute HTMLCollection areas;

View file

@ -17,18 +17,18 @@ interface HTMLMediaElement : HTMLElement {
readonly attribute MediaError? error; readonly attribute MediaError? error;
// network state // network state
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString src; attribute DOMString src;
readonly attribute DOMString currentSrc; readonly attribute DOMString currentSrc;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString? crossOrigin; attribute DOMString? crossOrigin;
const unsigned short NETWORK_EMPTY = 0; const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1; const unsigned short NETWORK_IDLE = 1;
const unsigned short NETWORK_LOADING = 2; const unsigned short NETWORK_LOADING = 2;
const unsigned short NETWORK_NO_SOURCE = 3; const unsigned short NETWORK_NO_SOURCE = 3;
readonly attribute unsigned short networkState; readonly attribute unsigned short networkState;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString preload; attribute DOMString preload;
[NewObject] [NewObject]
readonly attribute TimeRanges buffered; readonly attribute TimeRanges buffered;
@ -63,9 +63,9 @@ interface HTMLMediaElement : HTMLElement {
[NewObject] [NewObject]
readonly attribute TimeRanges seekable; readonly attribute TimeRanges seekable;
readonly attribute boolean ended; readonly attribute boolean ended;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean autoplay; attribute boolean autoplay;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean loop; attribute boolean loop;
[Throws] [Throws]
Promise<void> play(); Promise<void> play();
@ -78,12 +78,12 @@ interface HTMLMediaElement : HTMLElement {
// attribute MediaController? controller; // attribute MediaController? controller;
// controls // controls
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean controls; attribute boolean controls;
[SetterThrows] [SetterThrows]
attribute double volume; attribute double volume;
attribute boolean muted; attribute boolean muted;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean defaultMuted; attribute boolean defaultMuted;
// TODO: Bug 847379 // TODO: Bug 847379

View file

@ -17,15 +17,15 @@ interface MenuBuilder;
// http://www.whatwg.org/specs/web-apps/current-work/#the-menu-element // http://www.whatwg.org/specs/web-apps/current-work/#the-menu-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLMenuElement : HTMLElement { interface HTMLMenuElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString label; attribute DOMString label;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLMenuElement { partial interface HTMLMenuElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean compact; attribute boolean compact;
}; };

View file

@ -14,22 +14,22 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-menuitem-element // http://www.whatwg.org/specs/web-apps/current-work/#the-menuitem-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLMenuItemElement : HTMLElement { interface HTMLMenuItemElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString label; attribute DOMString label;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString icon; attribute DOMString icon;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean disabled; attribute boolean disabled;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean checked; attribute boolean checked;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString radiogroup; attribute DOMString radiogroup;
// This should be 'default' but in the IDL implementation // This should be 'default' but in the IDL implementation
// this has been renamed 'defaultChecked'. // this has been renamed 'defaultChecked'.
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean defaultChecked; attribute boolean defaultChecked;
// Currently not implemented. // Currently not implemented.

View file

@ -14,16 +14,16 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element // http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLMetaElement : HTMLElement { interface HTMLMetaElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString httpEquiv; attribute DOMString httpEquiv;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString content; attribute DOMString content;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLMetaElement { partial interface HTMLMetaElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString scheme; attribute DOMString scheme;
}; };

View file

@ -14,17 +14,17 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-meter-element // http://www.whatwg.org/specs/web-apps/current-work/#the-meter-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLMeterElement : HTMLElement { interface HTMLMeterElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute double value; attribute double value;
[SetterThrows] [CEReactions, SetterThrows]
attribute double min; attribute double min;
[SetterThrows] [CEReactions, SetterThrows]
attribute double max; attribute double max;
[SetterThrows] [CEReactions, SetterThrows]
attribute double low; attribute double low;
[SetterThrows] [CEReactions, SetterThrows]
attribute double high; attribute double high;
[SetterThrows] [CEReactions, SetterThrows]
attribute double optimum; attribute double optimum;
readonly attribute NodeList labels; readonly attribute NodeList labels;

View file

@ -13,8 +13,8 @@
// http://www.whatwg.org/specs/web-apps/current-work/#attributes-common-to-ins-and-del-elements // http://www.whatwg.org/specs/web-apps/current-work/#attributes-common-to-ins-and-del-elements
[HTMLConstructor] [HTMLConstructor]
interface HTMLModElement : HTMLElement { interface HTMLModElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString cite; attribute DOMString cite;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString dateTime; attribute DOMString dateTime;
}; };

View file

@ -15,16 +15,16 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-ol-element // http://www.whatwg.org/specs/web-apps/current-work/#the-ol-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLOListElement : HTMLElement { interface HTMLOListElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean reversed; attribute boolean reversed;
[SetterThrows] [CEReactions, SetterThrows]
attribute long start; attribute long start;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLOListElement { partial interface HTMLOListElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean compact; attribute boolean compact;
}; };

View file

@ -15,21 +15,21 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-object-element // http://www.whatwg.org/specs/web-apps/current-work/#the-object-element
[HTMLConstructor, NeedResolve, UnsafeInPrerendering] [HTMLConstructor, NeedResolve, UnsafeInPrerendering]
interface HTMLObjectElement : HTMLElement { interface HTMLObjectElement : HTMLElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString data; attribute DOMString data;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString type; attribute DOMString type;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean typeMustMatch; attribute boolean typeMustMatch;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString name; attribute DOMString name;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString useMap; attribute DOMString useMap;
[Pure] [Pure]
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString width; attribute DOMString width;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString height; attribute DOMString height;
// Not pure: can trigger about:blank instantiation // Not pure: can trigger about:blank instantiation
[NeedsSubjectPrincipal] [NeedsSubjectPrincipal]
@ -51,26 +51,26 @@ interface HTMLObjectElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#HTMLObjectElement-partial // http://www.whatwg.org/specs/web-apps/current-work/#HTMLObjectElement-partial
partial interface HTMLObjectElement { partial interface HTMLObjectElement {
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString align; attribute DOMString align;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString archive; attribute DOMString archive;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString code; attribute DOMString code;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute boolean declare; attribute boolean declare;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long hspace; attribute unsigned long hspace;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString standby; attribute DOMString standby;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute unsigned long vspace; attribute unsigned long vspace;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString codeBase; attribute DOMString codeBase;
[Pure, SetterThrows] [CEReactions, Pure, SetterThrows]
attribute DOMString codeType; attribute DOMString codeType;
[TreatNullAs=EmptyString, Pure, SetterThrows] [CEReactions, TreatNullAs=EmptyString, Pure, SetterThrows]
attribute DOMString border; attribute DOMString border;
}; };

View file

@ -13,8 +13,8 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLOptGroupElement : HTMLElement { interface HTMLOptGroupElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean disabled; attribute boolean disabled;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString label; attribute DOMString label;
}; };

View file

@ -13,19 +13,19 @@
[HTMLConstructor, NamedConstructor=Option(optional DOMString text, optional DOMString value, optional boolean defaultSelected, optional boolean selected)] [HTMLConstructor, NamedConstructor=Option(optional DOMString text, optional DOMString value, optional boolean defaultSelected, optional boolean selected)]
interface HTMLOptionElement : HTMLElement { interface HTMLOptionElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString label; attribute DOMString label;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean defaultSelected; attribute boolean defaultSelected;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean selected; attribute boolean selected;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString value; attribute DOMString value;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString text; attribute DOMString text;
readonly attribute long index; readonly attribute long index;
}; };

View file

@ -11,13 +11,14 @@
*/ */
interface HTMLOptionsCollection : HTMLCollection { interface HTMLOptionsCollection : HTMLCollection {
[CEReactions]
attribute unsigned long length; attribute unsigned long length;
[Throws] [CEReactions, Throws]
setter creator void (unsigned long index, HTMLOptionElement? option); setter creator void (unsigned long index, HTMLOptionElement? option);
[Throws] [CEReactions, Throws]
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
[Throws] [CEReactions, Throws]
void remove(long index); void remove(long index);
[Throws] [CEReactions, Throws]
attribute long selectedIndex; attribute long selectedIndex;
}; };

View file

@ -17,14 +17,14 @@ interface HTMLOutputElement : HTMLElement {
[PutForwards=value, Constant] [PutForwards=value, Constant]
readonly attribute DOMTokenList htmlFor; readonly attribute DOMTokenList htmlFor;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[Constant] [Constant]
readonly attribute DOMString type; readonly attribute DOMString type;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString defaultValue; attribute DOMString defaultValue;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString value; attribute DOMString value;
readonly attribute boolean willValidate; readonly attribute boolean willValidate;

View file

@ -18,6 +18,6 @@ interface HTMLParagraphElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLParagraphElement { partial interface HTMLParagraphElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
}; };

View file

@ -15,16 +15,16 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-param-element // http://www.whatwg.org/specs/web-apps/current-work/#the-param-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLParamElement : HTMLElement { interface HTMLParamElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString value; attribute DOMString value;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLParamElement { partial interface HTMLParamElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString type; attribute DOMString type;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString valueType; attribute DOMString valueType;
}; };

View file

@ -18,6 +18,6 @@ interface HTMLPreElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLPreElement { partial interface HTMLPreElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute long width; attribute long width;
}; };

View file

@ -13,9 +13,9 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLProgressElement : HTMLElement { interface HTMLProgressElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute double value; attribute double value;
[SetterThrows] [CEReactions, SetterThrows]
attribute double max; attribute double max;
readonly attribute double position; readonly attribute double position;
readonly attribute NodeList labels; readonly attribute NodeList labels;

View file

@ -14,7 +14,7 @@
// http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element // http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element
[HTMLConstructor] [HTMLConstructor]
interface HTMLQuoteElement : HTMLElement { interface HTMLQuoteElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString cite; attribute DOMString cite;
}; };

View file

@ -10,34 +10,34 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLScriptElement : HTMLElement { interface HTMLScriptElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString src; attribute DOMString src;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
[SetterThrows, Pref="dom.moduleScripts.enabled"] [CEReactions, SetterThrows, Pref="dom.moduleScripts.enabled"]
attribute boolean noModule; attribute boolean noModule;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString charset; attribute DOMString charset;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean async; attribute boolean async;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean defer; attribute boolean defer;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString? crossOrigin; attribute DOMString? crossOrigin;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString text; attribute DOMString text;
}; };
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLScriptElement { partial interface HTMLScriptElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString event; attribute DOMString event;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString htmlFor; attribute DOMString htmlFor;
}; };
// https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmlscriptelement-1 // https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmlscriptelement-1
partial interface HTMLScriptElement { partial interface HTMLScriptElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString integrity; attribute DOMString integrity;
}; };

View file

@ -9,21 +9,21 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLSelectElement : HTMLElement { interface HTMLSelectElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean autofocus; attribute boolean autofocus;
[Pref="dom.forms.autocomplete.experimental", SetterThrows, Pure] [CEReactions, Pref="dom.forms.autocomplete.experimental", SetterThrows, Pure]
attribute DOMString autocomplete; attribute DOMString autocomplete;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean disabled; attribute boolean disabled;
[Pure] [Pure]
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean multiple; attribute boolean multiple;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean required; attribute boolean required;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute unsigned long size; attribute unsigned long size;
[Pure] [Pure]
@ -31,14 +31,15 @@ interface HTMLSelectElement : HTMLElement {
[Constant] [Constant]
readonly attribute HTMLOptionsCollection options; readonly attribute HTMLOptionsCollection options;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute unsigned long length; attribute unsigned long length;
getter Element? item(unsigned long index); getter Element? item(unsigned long index);
HTMLOptionElement? namedItem(DOMString name); HTMLOptionElement? namedItem(DOMString name);
[Throws] [CEReactions, Throws]
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
[CEReactions]
void remove(long index); void remove(long index);
[Throws] [CEReactions, Throws]
setter creator void (unsigned long index, HTMLOptionElement? option); setter creator void (unsigned long index, HTMLOptionElement? option);
readonly attribute HTMLCollection selectedOptions; readonly attribute HTMLCollection selectedOptions;
@ -57,6 +58,7 @@ interface HTMLSelectElement : HTMLElement {
readonly attribute NodeList labels; readonly attribute NodeList labels;
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=20720 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=20720
[CEReactions]
void remove(); void remove();
}; };

View file

@ -13,17 +13,17 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLSourceElement : HTMLElement { interface HTMLSourceElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString src; attribute DOMString src;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
}; };
partial interface HTMLSourceElement { partial interface HTMLSourceElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString srcset; attribute DOMString srcset;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString sizes; attribute DOMString sizes;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString media; attribute DOMString media;
}; };

View file

@ -12,9 +12,9 @@
interface HTMLStyleElement : HTMLElement { interface HTMLStyleElement : HTMLElement {
[Pure] [Pure]
attribute boolean disabled; attribute boolean disabled;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString media; attribute DOMString media;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString type; attribute DOMString type;
[SetterThrows, Pure] [SetterThrows, Pure]
attribute boolean scoped; attribute boolean scoped;

View file

@ -15,6 +15,6 @@
interface HTMLTableCaptionElement : HTMLElement {}; interface HTMLTableCaptionElement : HTMLElement {};
partial interface HTMLTableCaptionElement { partial interface HTMLTableCaptionElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
}; };

View file

@ -13,40 +13,41 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTableCellElement : HTMLElement { interface HTMLTableCellElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long colSpan; attribute unsigned long colSpan;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long rowSpan; attribute unsigned long rowSpan;
//[PutForwards=value] readonly attribute DOMTokenList headers; //[PutForwards=value] readonly attribute DOMTokenList headers;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString headers; attribute DOMString headers;
readonly attribute long cellIndex; readonly attribute long cellIndex;
// Mozilla-specific extensions // Mozilla-specific extensions
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString abbr; attribute DOMString abbr;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString scope; attribute DOMString scope;
}; };
partial interface HTMLTableCellElement { partial interface HTMLTableCellElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString axis; attribute DOMString axis;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString height; attribute DOMString height;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString width; attribute DOMString width;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ch; attribute DOMString ch;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString chOff; attribute DOMString chOff;
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean noWrap; attribute boolean noWrap;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString vAlign; attribute DOMString vAlign;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString bgColor;
}; };

View file

@ -13,19 +13,19 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTableColElement : HTMLElement { interface HTMLTableColElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long span; attribute unsigned long span;
}; };
partial interface HTMLTableColElement { partial interface HTMLTableColElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ch; attribute DOMString ch;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString chOff; attribute DOMString chOff;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString vAlign; attribute DOMString vAlign;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString width; attribute DOMString width;
}; };

View file

@ -13,44 +13,50 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTableElement : HTMLElement { interface HTMLTableElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute HTMLTableCaptionElement? caption; attribute HTMLTableCaptionElement? caption;
HTMLElement createCaption(); HTMLElement createCaption();
[CEReactions]
void deleteCaption(); void deleteCaption();
[SetterThrows] [CEReactions, SetterThrows]
attribute HTMLTableSectionElement? tHead; attribute HTMLTableSectionElement? tHead;
HTMLElement createTHead(); HTMLElement createTHead();
[CEReactions]
void deleteTHead(); void deleteTHead();
[SetterThrows] [CEReactions, SetterThrows]
attribute HTMLTableSectionElement? tFoot; attribute HTMLTableSectionElement? tFoot;
HTMLElement createTFoot(); HTMLElement createTFoot();
[CEReactions]
void deleteTFoot(); void deleteTFoot();
readonly attribute HTMLCollection tBodies; readonly attribute HTMLCollection tBodies;
HTMLElement createTBody(); HTMLElement createTBody();
readonly attribute HTMLCollection rows; readonly attribute HTMLCollection rows;
[Throws] [Throws]
HTMLElement insertRow(optional long index = -1); HTMLElement insertRow(optional long index = -1);
[Throws] [CEReactions, Throws]
void deleteRow(long index); void deleteRow(long index);
// attribute boolean sortable; // attribute boolean sortable;
//void stopSorting(); //void stopSorting();
}; };
partial interface HTMLTableElement { partial interface HTMLTableElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString border; attribute DOMString border;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString frame; attribute DOMString frame;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString rules; attribute DOMString rules;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString summary; attribute DOMString summary;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString width; attribute DOMString width;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellPadding; attribute DOMString bgColor;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString cellSpacing; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString cellPadding;
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString cellSpacing;
}; };

View file

@ -16,21 +16,22 @@ interface HTMLTableRowElement : HTMLElement {
readonly attribute long rowIndex; readonly attribute long rowIndex;
readonly attribute long sectionRowIndex; readonly attribute long sectionRowIndex;
readonly attribute HTMLCollection cells; readonly attribute HTMLCollection cells;
[Throws] [CEReactions, Throws]
HTMLElement insertCell(optional long index = -1); HTMLElement insertCell(optional long index = -1);
[Throws] [Throws]
void deleteCell(long index); void deleteCell(long index);
}; };
partial interface HTMLTableRowElement { partial interface HTMLTableRowElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ch; attribute DOMString ch;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString chOff; attribute DOMString chOff;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString vAlign; attribute DOMString vAlign;
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor; [CEReactions, TreatNullAs=EmptyString, SetterThrows]
attribute DOMString bgColor;
}; };

View file

@ -16,17 +16,17 @@ interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows; readonly attribute HTMLCollection rows;
[Throws] [Throws]
HTMLElement insertRow(optional long index = -1); HTMLElement insertRow(optional long index = -1);
[Throws] [CEReactions, Throws]
void deleteRow(long index); void deleteRow(long index);
}; };
partial interface HTMLTableSectionElement { partial interface HTMLTableSectionElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString align; attribute DOMString align;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString ch; attribute DOMString ch;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString chOff; attribute DOMString chOff;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString vAlign; attribute DOMString vAlign;
}; };

View file

@ -17,38 +17,38 @@ interface MozControllers;
[HTMLConstructor] [HTMLConstructor]
interface HTMLTextAreaElement : HTMLElement { interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete; // attribute DOMString autocomplete;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean autofocus; attribute boolean autofocus;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute unsigned long cols; attribute unsigned long cols;
// attribute DOMString dirName; // attribute DOMString dirName;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean disabled; attribute boolean disabled;
[Pure] [Pure]
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
// attribute DOMString inputMode; // attribute DOMString inputMode;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute long maxLength; attribute long maxLength;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute long minLength; attribute long minLength;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString name; attribute DOMString name;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString placeholder; attribute DOMString placeholder;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean readOnly; attribute boolean readOnly;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean required; attribute boolean required;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute unsigned long rows; attribute unsigned long rows;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString wrap; attribute DOMString wrap;
[Constant] [Constant]
readonly attribute DOMString type; readonly attribute DOMString type;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString defaultValue; attribute DOMString defaultValue;
[TreatNullAs=EmptyString] attribute DOMString value; [CEReactions, TreatNullAs=EmptyString] attribute DOMString value;
readonly attribute unsigned long textLength; readonly attribute unsigned long textLength;
readonly attribute boolean willValidate; readonly attribute boolean willValidate;

View file

@ -9,6 +9,6 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTimeElement : HTMLElement { interface HTMLTimeElement : HTMLElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString dateTime; attribute DOMString dateTime;
}; };

View file

@ -9,6 +9,6 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTitleElement : HTMLElement { interface HTMLTitleElement : HTMLElement {
[Throws] [CEReactions, Throws]
attribute DOMString text; attribute DOMString text;
}; };

View file

@ -9,15 +9,15 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLTrackElement : HTMLElement { interface HTMLTrackElement : HTMLElement {
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString kind; attribute DOMString kind;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString src; attribute DOMString src;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString srclang; attribute DOMString srclang;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString label; attribute DOMString label;
[SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean default; attribute boolean default;
const unsigned short NONE = 0; const unsigned short NONE = 0;

View file

@ -19,8 +19,8 @@ interface HTMLUListElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLUListElement { partial interface HTMLUListElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute boolean compact; attribute boolean compact;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString type; attribute DOMString type;
}; };

View file

@ -13,13 +13,13 @@
[HTMLConstructor] [HTMLConstructor]
interface HTMLVideoElement : HTMLMediaElement { interface HTMLVideoElement : HTMLMediaElement {
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long width; attribute unsigned long width;
[SetterThrows] [CEReactions, SetterThrows]
attribute unsigned long height; attribute unsigned long height;
readonly attribute unsigned long videoWidth; readonly attribute unsigned long videoWidth;
readonly attribute unsigned long videoHeight; readonly attribute unsigned long videoHeight;
[SetterThrows] [CEReactions, SetterThrows]
attribute DOMString poster; attribute DOMString poster;
}; };