Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix worker tests using the wrong paths in importScripts #8050

Merged
merged 1 commit into from
Nov 2, 2023

Commits on Nov 2, 2023

  1. Fix worker tests using the wrong paths in importScripts

    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`.
    mattsoulanille committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    914256c View commit details
    Browse the repository at this point in the history