-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix worker tests using the wrong paths in importScripts (#8050)
Worker tests were getting the path for `importScripts` by referencing `location.origin`, but this is `blob://` when accessed from the worker context. Template `location.origin` from the main context into the worker source code instead of accessing the worker's version of `location.origin`.
- Loading branch information
1 parent
18c4224
commit e003c32
Showing
2 changed files
with
7 additions
and
7 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
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