Skip to content

Use self instead of window. This ensures compatibility with background script in manifest v3#71

Open
AkashKarnatak wants to merge 3 commits intoAzure:mainfrom
AkashKarnatak:main
Open

Use self instead of window. This ensures compatibility with background script in manifest v3#71
AkashKarnatak wants to merge 3 commits intoAzure:mainfrom
AkashKarnatak:main

Conversation

@AkashKarnatak
Copy link

No description provided.

src/fetch.ts Outdated
@@ -87,7 +87,7 @@ export function fetchEventSource(input: RequestInfo, {
let retryTimer = 0;
function dispose() {
document.removeEventListener('visibilitychange', onVisibilityChange);
Copy link

Choose a reason for hiding this comment

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

maybe we need handle document too...

Copy link
Author

Choose a reason for hiding this comment

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

I have added new commits to handle document

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.

2 participants