-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
currentScript needs to point to removed script elements
To avoid leaking shadow trees we added an “in a document” check in caf203f. This turned out to not be web compatible. So instead, we check whether the script element is in a shadow tree. Ideally that is novel enough to not cause any compatibility issues. Fixes #1161.
- Loading branch information
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters