There are three algorithms that re-use objects:
getAvailability
re-uses a Promise
and a PresentationAvailability
reconnect
re-uses a PresentationConnection
navigator.presentation.receiver.connectionList
re-uses a Promise
and PresentationConnectionList
These steps need to specify the relevant settings object / Realm, instead of the current settings object/realm. Otherwise, badness ensues when they are invoked or accessed across browsing contexts. See [1] for an example of this with navigator.getBattery()
.
[1] https://www.w3.org/TR/html52/webappapis.html#realms-settings-objects-global-objects
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4