-
Notifications
You must be signed in to change notification settings - Fork 84
Description
https://w3c.github.io/webappsec-csp/#directive-disown-opener
The current pressing need for disown-opener or something like it is to allow us to keep the at risk opener aspects of the Secure Contexts algorithm (see w3c/webappsec-secure-contexts#42). Disowning the opener doesn't meet the needs of the Secure Contexts spec though, since the worry there is that the opener's connection to the openee (rather that visa versa) allows the opener to postMessage to the openee to potentially gain access to secure context-only APIs it otherwise shouldn't have access to. So rather than breaking the connection from the openee to the opener as the disown-opener directive would do, what we really want is to break the connection from the opener to the openee, or at least to prevent postMessage messages making it through to the openee.