-
Notifications
You must be signed in to change notification settings - Fork 312
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
Remove frameType, maybe add ancestorOrigins #732
Comments
F2F: Spec ancestorOrigins and remove frameType for now. We can get it back if it's really required in the future. |
Just to check if the decision still holds. Is it still okay to remove |
F2F: Adding
|
When do you want to check |
Pre F2F notes: come up with an answer to @annevk's question |
F2F:
|
@annevk, I'm planning to factor the steps of Currently, In case we should retain this entry settings object checking step, should I make the algorithm take both relevant settings object and the entry settings object as arguments? Or any good idea how to define this algorithm? /cc @domenic |
Yes, that security check is important for I think you basically want to make the computation of this array reusable https://html.spec.whatwg.org/multipage/browsers.html#concept-location-ancestor-origins-array and not bother with |
Yes,
That sounds good. Out of curiosity, why is the security check in the attributes of |
That is what browsers implement. I believe it comes into play when you use document.domain, but it's been a while. We might change away from entry if we can, we'll see. |
I see. So it was in this list: whatwg/html#1431 (comment) |
Addressed: 58be22d Closing. |
Note, Which blocks gecko implementation for the moment. |
Implementations haven't removed this, we should add it back to the spec but mark it as at risk. We should look at usage and see if we can at the very least move it to windowclient. "auxiliary" is the only feature ancestor origins doens't give us. |
I refer you back to #732 (comment). |
@mattto, @wanderview, do you happen to have any data on the usage of
For the client opened with "rel=noopener", Chromium returns "top-level", and Firefox returns "auxiliary" at the moment. @annevk, do you have any update on #1075 (comment)? |
I'm planning to add |
Hmm, it seems that'd become redundant with whatwg/fetch#755 too, but if implementations cannot remove it... |
Yeah, implementations have maintained it so far, and |
This change adds Client.frameType back with the reasons: - Implementations maintain it. - It can be accessed outside of fetch event handlers This change also improved the steps of the algorithms that Create Window Client invokes by removing unnecessary parallel steps. Fixes: #732.
This removes client.frameType attribute and adds windowClient.ancestorOrigins attribute instead. The rationale behind this decision is there has not been any solid use cases for frameType, and ancestorOrigins provides more information to deal with embedded frame structures. Fixes#732
This change adds Client.frameType back with the reasons: - Implementations maintain it. - It can be accessed outside of fetch event handlers This change also improved the steps of the algorithms that Create Window Client invokes by removing unnecessary parallel steps. Fixes: #732.
Frame type does not address the use case of e.g., an embedded youtube.com showing fallback content. (Where youtube.com embedded in youtube.com should not show such a thing.)
The text was updated successfully, but these errors were encountered: