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

@ -16,21 +16,21 @@
interface HTMLLinkElement : HTMLElement {
[Pure]
attribute boolean disabled;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString href;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString? crossOrigin;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString rel;
[PutForwards=value]
readonly attribute DOMTokenList relList;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString media;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString hreflang;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString type;
[SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
[CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy;
[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
partial interface HTMLLinkElement {
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString charset;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString rev;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString target;
};
@ -54,6 +54,6 @@ partial interface HTMLLinkElement {
// https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1
partial interface HTMLLinkElement {
[SetterThrows]
[CEReactions, SetterThrows]
attribute DOMString integrity;
};