Skip to content

feat: supports top-level await and namespace isolation#750

Merged
ACTCD merged 1 commit into
mainfrom
fix/supports-top-level-await-and-namespace-isolation
Nov 6, 2024
Merged

feat: supports top-level await and namespace isolation#750
ACTCD merged 1 commit into
mainfrom
fix/supports-top-level-await-and-namespace-isolation

Conversation

@ACTCD

@ACTCD ACTCD commented Nov 6, 2024

Copy link
Copy Markdown
Collaborator

resolve #749 and supports top-level await in user script

@ACTCD ACTCD requested a review from quoid November 6, 2024 03:03
@ACTCD ACTCD changed the title fix: supports top-level await and namespace isolation feat: supports top-level await and namespace isolation Nov 6, 2024
@ACTCD ACTCD merged commit 5e6f373 into main Nov 6, 2024
@ACTCD ACTCD deleted the fix/supports-top-level-await-and-namespace-isolation branch November 6, 2024 03:23
@ACTCD

ACTCD commented Nov 20, 2024

Copy link
Copy Markdown
Collaborator Author

Supporting top-level await may cause further delays in user script execution especially in document-start requirements.

But since document-start itself cannot be implemented in current Safari, this issue is not a fatal regression.

Really solving all issues will require waiting for the implementation of the UserScripts API (#756), which provides a true document-start, and that we will no longer provide an async wrapper.

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.

[Feature Request] Implement script isolation

2 participants