-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
embed/object #5
Comments
Hmmm... indeed:
Errr... I guess I owe you a pull request to add a step to CORB that checks the request mode. I'll try to learn (relearn?) how to work with git remotes and github... :-/ |
Most of that is already covered. We only apply the CORB check for |
I see. I think you are hitting a problem similar to https://crbug.com/929300. I tried to re-read the discussion in that bug, but I am not sure if I understood much from it.
|
It is indeed weird that some PS. I guess in #5 (comment) I got confused and started answering a wrong question (about how the implementation in Chromium works, rather than how the spec should model CORB vs |
Yeah, this is about the theoretical model. I do want to investigate if we can move to using navigate exclusively for The way What Chrome seems to do for PDFs matches what it would do for |
I think the fix here would be skipping request's whose destination is " I'm not a 100% sure if all implementations still classify these initial cc @farre |
I just checked the HTML Standard and it already uses mode " |
It seems to me that the current way https://fetch.spec.whatwg.org/#corb is described it does not work well with the
embed
andobject
elements, as something gets blocked before those elements get to decide to instantiate a browsing context and both elements can render HTML.I suspect this is an oversight in the formal model as bypassing the CORB check for these elements should be safe given that nested browsing contexts ought to get their own process when appropriate.
cc @anforowicz
The text was updated successfully, but these errors were encountered: