diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-10 13:28:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-10 13:28:03 +0200 |
commit | 53aea942a51118ffd98b9757dc26fa0b0c3240b5 (patch) | |
tree | a3e4bc52cb2fdce52d8dbf88a4db41d81017c1b8 /dom/webidl | |
parent | 96ada838ac7b5323dfc48a2d45bd7b1b2d6a19fc (diff) | |
download | uxp-53aea942a51118ffd98b9757dc26fa0b0c3240b5.tar.gz |
Bug 1330900 - Implement <script nomodule>
This patch implements:
- noModule getter/setter for HTMLScriptElement
- the nomodule attribute for HTMLScriptElement
- the logic in nsScriptLoader that denies the loading of a nomodule script
- tests
Tag mcp-graveyard/UXP#618
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/HTMLScriptElement.webidl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/HTMLScriptElement.webidl b/dom/webidl/HTMLScriptElement.webidl index 377056366d..5b64c42d7c 100644 --- a/dom/webidl/HTMLScriptElement.webidl +++ b/dom/webidl/HTMLScriptElement.webidl @@ -13,6 +13,8 @@ interface HTMLScriptElement : HTMLElement { attribute DOMString src; [SetterThrows] attribute DOMString type; + [SetterThrows, Pref="dom.moduleScripts.enabled"] + attribute boolean noModule; [SetterThrows] attribute DOMString charset; [SetterThrows] |