mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue #1344
This commit is contained in:
parent
0ff8d62963
commit
8119a60e3d
68 changed files with 398 additions and 359 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue