Bug 1330900 - Implement <script nomodule>, r=bz

This patch implements:
. noModule getter/setter for HTMLScriptElement
. the nomodule attribute for HTMLScriptElement
. and the logic in nsScriptLoader that denies the loading of a nomodule script
. with tests
This commit is contained in:
Andrea Marchesini
2017-05-04 10:24:13 +02:00
parent 74d54d706a
commit f43968bde0
9 changed files with 164 additions and 2 deletions

View File

@@ -90,6 +90,8 @@ public:
}
bool Async();
void SetAsync(bool aValue, ErrorResult& rv);
bool NoModule();
void SetNoModule(bool aValue, ErrorResult& rv);
protected:
virtual ~HTMLScriptElement();