Skip to content

Conversation

mattsoulanille
Copy link
Member

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.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.

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
Copy link
Member Author

Copy link
Collaborator

@Linchenn Linchenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Matt for fixing this!

@mattsoulanille mattsoulanille enabled auto-merge (squash) November 2, 2023 20:58
@mattsoulanille mattsoulanille merged commit e003c32 into tensorflow:master Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants