Auto merge of #23545 - CYBAI:support-module-script, r=jdm,manishearth

Support type=module script element

This is still WIP but hope can be reviewed first to see if I'm on the right track. Thanks! 🙇‍♂️

- [x] Support external module script
- [x] Support internal module script
- [x] Compile cyclic modules

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23370 (GitHub issue number if applicable)
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23545)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2020-01-06 10:31:55 -05:00 committed by GitHub
commit 5c7a4db5f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 5980 additions and 607 deletions

View file

@ -11,6 +11,8 @@ interface HTMLScriptElement : HTMLElement {
attribute USVString src;
[CEReactions]
attribute DOMString type;
[CEReactions]
attribute boolean noModule;
[CEReactions]
attribute DOMString charset;
[CEReactions]