WICG / fenced-frame

Proposal for a strong boundary between a page and its embedded content
https://wicg.github.io/fenced-frame/
Other
124 stars 31 forks source link

What is the behavior of reportEvent in iFrame? #58

Closed shaojieg closed 1 year ago

shaojieg commented 1 year ago

Hi,

reportEvent is designed for Fenced Frame. What is the function's behavior when the JS script is loaded in iFrame? Is it a no-op?

Thanks, Shaojie

domfarolino commented 1 year ago

Can you clarify what you mean by "when the JS script is loaded in iFrame"?

shivanigithub commented 1 year ago

@shaojieg reached out offline and we discussed that this is a FLEDGE urn-iframe, in which case reportEvent is supported. (In a regular iframe, reportEvent is not supported.) I believe we can close this issue here.