-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 site and obtain a site #5354
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91744,11 +91744,13 @@ import "https://example.com/foo/../module2.mjs";</code></pre> | |
<p>A <dfn data-export="">scheme-and-registrable-domain</dfn> is a <span>tuple</span> of a <span | ||
data-x="concept-url-scheme">scheme</span> and a <span data-x="concept-domain">domain</span>.</p> | ||
|
||
<p>An <dfn data-export="">agent cluster key</dfn> is an <span>origin</span> or a | ||
<p>A <dfn data-export="">site</dfn> is an <span data-x="concept-origin-opaque">opaque | ||
origin</span>, a <span data-x="concept-origin-tuple">tuple origin</span> whose <span | ||
data-x="concept-origin-host">host</span>'s <span>registrable domain</span> is null, or a | ||
<span>scheme-and-registrable-domain</span>.</p> | ||
|
||
<p>To <dfn data-x="obtain-agent-cluster-key">obtain an agent cluster key</dfn>, given an origin | ||
<var>origin</var>, run these steps:</p> | ||
<p>To <dfn data-export="">obtain a site</dfn>, given an origin <var>origin</var>, run these | ||
steps:</p> | ||
|
||
<ol> | ||
<li><p>If <var>origin</var> is an <span data-x="concept-origin-opaque">opaque origin</span>, then | ||
|
@@ -91762,6 +91764,16 @@ import "https://example.com/foo/../module2.mjs";</code></pre> | |
domain</span>).</p></li> | ||
</ol> | ||
|
||
<p>An <dfn>agent cluster key</dfn> is a <span>site</span>.</p> | ||
|
||
<p class="XXX"><a href="https://github.com/whatwg/html/pull/4734">whatwg/html #4734</a> is | ||
expected to widen <span>agent cluster key</span> (but not <span>site</span>) to encompass all | ||
<span data-x="concept-origin-tuple">tuple origins</span>.</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe move this one paragraph down so its clearer that it applies to both of the currently-trivial definitions? Not sure though. |
||
|
||
<p>To <dfn data-x="obtain-agent-cluster-key">obtain an agent cluster key</dfn>, given an origin | ||
<var>origin</var>, return the result of <span data-x="obtain a site">obtaining a site</span> with | ||
<var>origin</var>.</p> | ||
|
||
<p>To <dfn data-x="obtain-similar-origin-window-agent">obtain a similar-origin window agent</dfn>, | ||
given an <span>origin</span> <var>origin</var> and <span>browsing context group</span> | ||
<var>group</var>, run these steps:</p> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
"either an" maybe?
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.
Per https://dictionary.cambridge.org/grammar/british-grammar/either that's for two choices.