-
Notifications
You must be signed in to change notification settings - Fork 189
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
"current settings object's relevant global object" is not defined #593
Comments
The intent of this text is to attach these steps to the "loss of visibility" or "loss of full activity" event on any document. It feels like it should be something like,
The abort all active watchAdvertisements algorithm should really be taking the document (or the document's Does that make sense? Can you suggest the proper way to create such an event listener? |
Thanks! The
so I'm guessing something like what you quoted would be fine. CC @annevk |
Yeah, probably. Getting some of this formalized better is a long-standing issue of the HTML standard. |
What do you think of this?
I'm unsure when I want to use the "document" concept vs. the "Document" interface. To get the |
This change fixes the steps for handling visibility change and loss of full activity to find the global object for the Document which experienced the event and from there identify the Bluetooth object for which we need to take action. This introduces the concept of an "associated Bluetooth", similar to an "associated Document" and adds a "Bluetooth task source" which is now used whenever queuing a task. Fixed #593.
https://webbluetoothcg.github.io/web-bluetooth/#handling-visibility-change
https://webbluetoothcg.github.io/web-bluetooth/#handling-full-activity-loss
There's two occurrences of "current settings object's relevant global object" in the spec, but a settings object doesn't have a "relevant global object", only a "global object".
Using "current global object" is also an option.
However, I'm not sure how using the "current" anything works here.
The text was updated successfully, but these errors were encountered: