[sensors] Current browsing context doesn't exist in workers (#435)

kenchris has just created a new issue for https://github.com/w3c/sensors:

== Current browsing context doesn't exist in workers ==
> The current [browsing context](https://html.spec.whatwg.org/multipage/browsers.html#browsing-context)'s [platform sensor](https://www.w3.org/TR/generic-sensor/#concept-platform-sensor) has an associated [set](https://infra.spec.whatwg.org/#ordered-set) of activated sensor objects, which is initially [empty](https://infra.spec.whatwg.org/#list-is-empty) and an associated latest reading [map](https://infra.spec.whatwg.org/#ordered-map), which holds the latest available [sensor readings](https://www.w3.org/TR/generic-sensor/#sensor-reading).
HTML Standard

But there is no browsing context in a worker, thought it might have a document (dedicated worker only one) in its owner set

Please view or discuss this issue at https://github.com/w3c/sensors/issues/435 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 31 May 2022 12:18:25 UTC