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
Although the explainer API tries to only expose Document, it's quite easy to get from a Document object to its corresponding Window object, e.g. via pipWindow.document.defaultView or pipWindow.__proto__.__proto__.__proto__.constructor("this") or similar.
Although the explainer API tries to only expose
Document
, it's quite easy to get from aDocument
object to its correspondingWindow
object, e.g. viapipWindow.document.defaultView
orpipWindow.__proto__.__proto__.__proto__.constructor("this")
or similar.So this will require a comprehensive audit of which APIs are enabled in PiP windows, versus disabled, since all APIs are reachable. We've done similar work for prerendering, which resulted in the following spec changes so far: https://wicg.github.io/nav-speculation/prerendering.html#intrusive-behaviors
The text was updated successfully, but these errors were encountered: