-
Notifications
You must be signed in to change notification settings - Fork 31
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
Spec partition nonce functionality #149
base: master
Are you sure you want to change the base?
Conversation
boolean |isCredentialless| and [=fenced frame config instance/partition nonce=] or null | ||
|newFencedFrameNonce|: | ||
|
||
1. If |credentialless| is true, return |this|'s [=top-level browsing context=]'s |
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.
credentialless => isCredentialless
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.
I can't really change this, since it corresponds to an exposed IDL attribute.
https://wicg.github.io/anonymous-iframe/#spec-window-attribute
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.
Well where are you getting |credentialless|
from then? It's not just a global variable is it?
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.
It's a local variable, but I meant it would be weird to call it something else when it corresponds exactly to this preexisting field, and the same name is used throughout the Iframe credentialless spec
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.
Where is this local variable defined? Sorry I don't think I'm getting it.
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.
Oh, I misread this. I didn't mean to name the variable isCredentialless
above in the declaration. The iframe credentialless spec refers to this kind of variable as credentialless
throughout, so it would be inconsistent naming to use isCredentialless
here. Changed the declaration back to credentialless
to match.
boolean |isCredentialless| and [=fenced frame config instance/partition nonce=] or null | ||
|newFencedFrameNonce|: | ||
|
||
1. If |credentialless| is true, return |this|'s [=top-level browsing context=]'s |
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.
Well where are you getting |credentialless|
from then? It's not just a global variable is it?
@domfarolino I think all the comments are addressed now |
Preview | Diff