The explainer says:
In particular, we cannot report that a popup was opened with rel-noopener due to COOP. This would give too much information about the behavior of cross-origin frames. Depending on who would enable reporting, we would leak:
- that a cross-origin iframe tried to open a popup to the parent document having enabled COOP reporting
- that the iframe was embedded in a "same-origin" COOP document to the iframe having enabled COOP reporting
Is there any reporting information any of the parties involved will get when a cross-origin iframe in a document with COOP opens a popup? I wondering about a case where an OAuth provider has a "Sign in with X" button which is loaded in an iframe and whether we can tell the embedding application anything about the resulting breakage (presumably when the popup opened from the iframe tries to communicate back with the iframe or its top-level document.)
If the answer is "no", could we do something to make reporting possible here? As one, example, if I have a iframeable widget, could I set an explicit COOP of unsafe-none, or a new COOP value (e.g. unsafe-none-allow-reporting) to allow my embedder to get information about COOP violations from popups opened from my widget as if the embedder opened them directly?
(Also, a nit: I don't understand the second bullet point above -- an iframe can always know if it's embedded same-origin.)
The explainer says:
In particular, we cannot report that a popup was opened with rel-noopener due to COOP. This would give too much information about the behavior of cross-origin frames. Depending on who would enable reporting, we would leak:
Is there any reporting information any of the parties involved will get when a cross-origin iframe in a document with COOP opens a popup? I wondering about a case where an OAuth provider has a "Sign in with X" button which is loaded in an iframe and whether we can tell the embedding application anything about the resulting breakage (presumably when the popup opened from the iframe tries to communicate back with the iframe or its top-level document.)
If the answer is "no", could we do something to make reporting possible here? As one, example, if I have a iframeable widget, could I set an explicit COOP of
unsafe-none, or a new COOP value (e.g.unsafe-none-allow-reporting) to allow my embedder to get information about COOP violations from popups opened from my widget as if the embedder opened them directly?(Also, a nit: I don't understand the second bullet point above -- an iframe can always know if it's embedded same-origin.)