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