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

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