You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and undefined is not a valid ServiceWorker? value.
What you would probably want is for the property to not exist in a secure context at all, right?
The text was updated successfully, but these errors were encountered:
bzbarsky
changed the title
ServiceWorkerContainer.controller is prose says to return undefined, but the IDL doesn't allow that
ServiceWorkerContainer.controller prose says to return undefined, but the IDL doesn't allow that
Oct 26, 2015
We plan to discuss this in web app security WG meeting what the expected behavior for getter in non-secure context should be. I'll update the spec depending on the result.
Apply [SecureContext] to navigator.serviceWorker's getter,
ServiceWorkerContainer interface, self.caches's getter, and CacheStorage
interface. By adopting this Web IDL extended attribute, the qualified properties
and the methods won't exist in non-secure contexts.
Fixes#687#754#769
The IDL says:
and undefined is not a valid
ServiceWorker?
value.What you would probably want is for the property to not exist in a secure context at all, right?
The text was updated successfully, but these errors were encountered: