Re: [whatwg/fetch] Split 'document' destination into 'frame' and 'iframe'. (#948)

@annevk:
> so embed/object navigate and if the result of the navigation is an image, the browsing context being navigated is tossed away and the image is rendered?

No. We do the same thing as we do for more general navigation to an image resource: synthesize an `ImageDocument` which wraps the image we just downloaded in a minimal HTML document for rendering. :)

> And some care is taken to not exposing the browsing context being navigated to the embedding document?

I'm not sure what you mean here? We use the origin of the resource as the browsing context's origin, and access controls flow naturally from that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/948#issuecomment-544912964

Received on Tuesday, 22 October 2019 11:14:51 UTC