servo/tests
bors-servo 4094d16323
Auto merge of #26668 - CYBAI:fix-module-current-script, r=jdm
Set `currentScript` to `null` for module scripts

I misunderstood the test case when I worked on #23545. That test case is
actually not related to dynamic import; instead, the reason why it
crashes is, `currentScript` should be updated to `null`.

In spec, the step 6 of [execute-the-script-block](https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block) only says `Assert: document's currentScript attribute is null.` but doesn't says it should be set to null. Not sure if it can be improved.

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-05-27 08:58:36 -04:00
..
dromaeo
heartbeats Fix tidiness errors for Python3 compatibility across whole repo 2019-12-11 16:03:20 +00:00
html
jquery Run py-modernize against tests/jquery/run_jquery.py 2020-03-25 15:10:44 -04:00
power
unit Make Node::style_and_layout_data be a DomRefCell<T> 2020-05-19 15:51:55 +02:00
wpt Auto merge of #26668 - CYBAI:fix-module-current-script, r=jdm 2020-05-27 08:58:36 -04:00