Re: [presentation-api] Receiving browsing context needs additional flags set

Thanks @schien and @mfoltzgoogle. Do your implementations also prevent
 top-level navigation in the receiving browsing context already?

If so, it seems setting both the _sandboxed top-level navigation 
browsing context flag_ (was renamed to _sandboxed top-level navigation
 without user activation browsing context flag_ in 
https://github.com/whatwg/html/commit/8abd73ec3a56541e3f6486d3a593a8bcfd67295d)
 and _sandboxed modals flag_ would match the known implementations the
 closest.

IIUC, the only change needed to implementations to comply with the 
proposed spec changes would be to prevent content from closing their 
top-level browsing context, i.e. ignore calls to `window.close()` on 
the receiver page. To close, would need to explicitly invoke 
`terminate()`. (And if navigation is allowed, disallow it.)

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/414#issuecomment-283309973
 using your GitHub account

Received on Wednesday, 1 March 2017 10:58:29 UTC