Skip to content
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

Add "same origin with its ancestors" #10559

Closed
wants to merge 1 commit into from
Closed

Conversation

domenic
Copy link
Member

@domenic domenic commented Aug 15, 2024

See discussion in w3c/webappsec-credential-management#253.

@nsatragno @timcappalli @marcoscaceres let me know if this works for your specs?


/document-sequences.html ( diff )

@domenic domenic added topic: origin integration Better coordination across standards needed labels Aug 15, 2024
@domenic domenic requested a review from annevk August 15, 2024 06:30
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Now I wonder, do we want this or do we want an algorithm that returns one of the following tokens: w3c/webappsec-fetch-metadata#89 (comment) (probably the second set of tokens there)?

Though perhaps having both is good and this can be refactored later on top of the more generic ancestor relationship algorithm.

cc @mikewest @arichiv @arturjanc @johannhof

@@ -96505,6 +96500,35 @@ interface <dfn interface>NotRestoredReasons</dfn> {
<li><p>Return <var>navigables</var>.</p></li>
</ol>

<p class="note">These descendant-collecting algorithms are described as looking at the DOM tree
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node tree throughout?

@bvandersloot-mozilla
Copy link

Ditto to Anne's desire to match those enums. I stumbled across this from trying to help draft a Fetch change that uses Anne and Johann's new cookie spec draft. I was searching for this old PR, but having the enum Anne proposed here would be better.

@johannhof
Copy link
Member

cc @sjledoux who is working on these headers on our side

@domenic
Copy link
Member Author

domenic commented Jan 28, 2025

Let me close this, as the people in the OP never responded to tell me if this would be helpful, and if there are new cases for some version of this, I think someone else will need to do the work :)

@domenic domenic closed this Jan 28, 2025
@domenic domenic deleted the same-origin-with-ancestors branch January 28, 2025 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Better coordination across standards needed topic: origin
Development

Successfully merging this pull request may close these issues.

4 participants