-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
HTML: top-level data: URLs #17730
HTML: top-level data: URLs #17730
Conversation
Any other scenarios that might need tests? |
We should probably also test with |
I did for @jgraham does WebDriver allow you to make assertions about the number of open tabs and what URLs they point to? |
03a5491
to
f1d06fc
Compare
It does, but I don't think our testdriver abstraction exposes the list of window handles or provides the ability to switch to another window. So implementing this at the moment would be quite a bit of work. |
@domenic @ParisMeuleman @hemeryar what do you think? |
I'd like to defer to @ParisMeuleman @hemeryar, who are much more in the guts of our COOP/popup code and spec space than I am at the moment. |
To be clear, this isn't really about COOP, this is mostly about navigating to data URLs in a top-level browsing context failing (and if these tests seem okay, adding a corresponding change to the HTML Standard). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay here... those changes make sense to me, thanks for adding those!
But I must admit that I'm not well versed in data urls!
Thanks, created whatwg/html#5279 to complement this. |
What is the exact behavior that we want here?
Firefox behavior of closing the popups makes some sense to me and could be explained through COOP. In that the
data:
URL acts as if it creates a new browsing context group (which we then error and leave up to the user agent to figure out UX for).cc @cdumez @mystor @natechapin @domenic @mikewest @JuniorHsu