Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1603872 [wpt PR 20775] - Test
document.currentScript
when scrip…
…t is moved during evaluation, a=testonly Automatic update from web-platform-tests Test `document.currentScript` when script is moved during evaluation In the spec before whatwg/html#5154, `script element's node document` is re-evaluated after script evaluation, and thus if a script is moved to another Document during its own evaluation, `currentScript` of the *new* document could be updated. After #5154, `currentScript` is always set/reset on the same Document, which is expected, and tested so here. -- wpt-commits: 4725b2375b96c0d9ee046b68af755611dba81950 wpt-pr: 20775
- Loading branch information