summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLScriptElement.webidl
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-10 13:28:03 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-10 13:28:03 +0200
commite0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc (patch)
treea3e4bc52cb2fdce52d8dbf88a4db41d81017c1b8 /dom/webidl/HTMLScriptElement.webidl
parent100c6a7e95b8e9624fc43fabc96d88070635d1ef (diff)
downloadUXP-e0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc.tar
UXP-e0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc.tar.gz
UXP-e0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc.tar.lz
UXP-e0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc.tar.xz
UXP-e0a8dcfed131ffa58a5e2cb1d30fe48c745c2fdc.zip
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 #618
Diffstat (limited to 'dom/webidl/HTMLScriptElement.webidl')
-rw-r--r--dom/webidl/HTMLScriptElement.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/HTMLScriptElement.webidl b/dom/webidl/HTMLScriptElement.webidl
index 377056366..5b64c42d7 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]