Skip to content

Allow URL in ServiceWorkerContainer#register #965

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

Merged
merged 1 commit into from
Dec 21, 2020
Merged

Allow URL in ServiceWorkerContainer#register #965

merged 1 commit into from
Dec 21, 2020

Conversation

noelebrun
Copy link

Allow URL object to be used in ServiceWorkerContainer#register. Similar as #600 which was for Worker constructor.

Fixes microsoft/TypeScript#41980

@noelebrun noelebrun requested a review from sandersn as a code owner December 15, 2020 23:29
@ghost
Copy link

ghost commented Dec 15, 2020

CLA assistant check
All CLA requirements met.

@orta
Copy link
Contributor

orta commented Dec 21, 2020

I'm a little conflicted on this, because the docs and spec all assume string - but I think it's the same underlaying thing as this: microsoft/TypeScript#15246 (comment) - so we'll take it 👍🏻

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.

ServiceWorkerContainer#register method does not accept URL
3 participants