WICG / cookie-store

Asynchronous access to cookies from JavaScript
https://wicg.github.io/cookie-store/
Apache License 2.0
143 stars 35 forks source link

Specify the behavior of `CookieStoreManager.subscribe()` when url of subscription is not provided #236

Open szewai opened 1 month ago

szewai commented 1 month ago

In step 4.2.2, the spec requests to resolve url with:

Let url be the result of parsing entry["url"] with settings’s API base URL.

This means when entry["url"] is not present, we will use settings's url.

However the existing wpt test verifies service worker registration scope url is used when client does not specify url in option.

What is the expected behavior? @inexorabletash @ayuishii

szewai commented 1 month ago

cc @annevk @RupinMittal