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

Clarify script.addPreloadScript with duplicate context #620

Merged
merged 5 commits into from
Dec 19, 2023

Conversation

Lightning00Blade
Copy link
Contributor

@Lightning00Blade Lightning00Blade commented Dec 14, 2023

Closes #617.


Preview | Diff

@whimboo
Copy link
Contributor

whimboo commented Dec 14, 2023

As I've mentioned on the issue I wonder if we should do the same for session.subscribe and session.unsubscribe as well given that those two methods suffer from the same issue.

index.bs Outdated Show resolved Hide resolved
@sadym-chromium
Copy link
Contributor

As I've mentioned on the issue I wonder if we should do the same for session.subscribe and session.unsubscribe as well given that those two methods suffer from the same issue.

In I'm general agree with your proposal to fix the subscribe / unsubscribe as well, but let's split the changes.

@Lightning00Blade
Copy link
Contributor Author

Agree that we should change it there as well so I would keep the issue open till then, but let's do it in separate PRs.

index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@whimboo
Copy link
Contributor

whimboo commented Dec 14, 2023

@Lightning00Blade would you be so kind and add a wpt test for the multiple usage of context?

index.bs Outdated Show resolved Hide resolved
@whimboo
Copy link
Contributor

whimboo commented Dec 14, 2023

@Lightning00Blade would you be so kind and add a wpt test for the multiple usage of context?

Err, this will actually be part of web-platform-tests/wpt#41932.

Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@Lightning00Blade Lightning00Blade merged commit b6adb45 into main Dec 19, 2023
5 checks passed
@Lightning00Blade Lightning00Blade deleted the enforce-set-in-add-preload-script branch December 19, 2023 10:46
github-actions bot added a commit that referenced this pull request Dec 19, 2023
SHA: b6adb45
Reason: push, by Lightning00Blade

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Ignore duplicated contexts entries in script.addPreloadScript, session.subscribe and session.unsubscribe
5 participants