Skip to content

Conversation

@mikewest
Copy link
Member

@mikewest mikewest commented Oct 29, 2025

This patch shifts the normative portions of
https://mikewest.github.io/origin-api/ into a patch against HTML for discussion.

As a followup, this will require changes to [[URL]] and [[ServiceWorker]] as well to define the "extract an origin" for relevant objects.

See discussion in w3ctag/design-reviews#1130, WebKit/standards-positions#538, and mozilla/standards-positions#1280.

(See WHATWG Working Mode: Changes for more details.)


/browsers.html ( diff )
/comms.html ( diff )
/index.html ( diff )
/links.html ( diff )
/nav-history-apis.html ( diff )
/webappapis.html ( diff )
/workers.html ( diff )

This patch shifts the normative portions of
https://mikewest.github.io/origin-api/ into a patch against HTML
for discussion.

As a followup, this will require changes to [[URL]] and
[[ServiceWorker]] as well to define the "extract an origin" for relevant
objects.

See discussion in w3ctag/design-reviews#1130,
WebKit/standards-positions#538, and
mozilla/standards-positions#1280.
@zcorpan
Copy link
Member

zcorpan commented Nov 5, 2025

I would like to see mikewest/origin-api#6 addressed.

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.

Some editorial comments. Generally this looks good to me.

philwo pushed a commit to philwo/chromium that referenced this pull request Nov 7, 2025
whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1541759}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 7, 2025
whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1541759}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 7, 2025
whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1541759}
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Nov 11, 2025
… schemeful., a=testonly

Automatic update from web-platform-tests
[Origin API] Verify that comparisons are schemeful.

whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1541759}

--

wpt-commits: 08b913918dd419fe48d01ef685781a69ced0a111
wpt-pr: 55938
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this pull request Nov 12, 2025
… schemeful., a=testonly

Automatic update from web-platform-tests
[Origin API] Verify that comparisons are schemeful.

whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1541759}

--

wpt-commits: 08b913918dd419fe48d01ef685781a69ced0a111
wpt-pr: 55938
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Nov 12, 2025
… schemeful., a=testonly

Automatic update from web-platform-tests
[Origin API] Verify that comparisons are schemeful.

whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <antoniosartorichromium.org>
Commit-Queue: Mike West <mkwstchromium.org>
Cr-Commit-Position: refs/heads/main{#1541759}

--

wpt-commits: 08b913918dd419fe48d01ef685781a69ced0a111
wpt-pr: 55938

UltraBlame original commit: 313ef5bf80f71a4e57fc5bebfd0d784dd667b024
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Nov 13, 2025
… schemeful., a=testonly

Automatic update from web-platform-tests
[Origin API] Verify that comparisons are schemeful.

whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <antoniosartorichromium.org>
Commit-Queue: Mike West <mkwstchromium.org>
Cr-Commit-Position: refs/heads/main{#1541759}

--

wpt-commits: 08b913918dd419fe48d01ef685781a69ced0a111
wpt-pr: 55938

UltraBlame original commit: 313ef5bf80f71a4e57fc5bebfd0d784dd667b024
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Nov 13, 2025
… schemeful., a=testonly

Automatic update from web-platform-tests
[Origin API] Verify that comparisons are schemeful.

whatwg/html#11846 (comment) noted
that we should verify schemeful same-site comparison; this CL adds that
test.

Bug: 434131026
Change-Id: I48878979fc0f8c3dab2caefbe788a14d367e053b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130621
Reviewed-by: Antonio Sartori <antoniosartorichromium.org>
Commit-Queue: Mike West <mkwstchromium.org>
Cr-Commit-Position: refs/heads/main{#1541759}

--

wpt-commits: 08b913918dd419fe48d01ef685781a69ced0a111
wpt-pr: 55938

UltraBlame original commit: 313ef5bf80f71a4e57fc5bebfd0d784dd667b024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants