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

Rename "groupByOrigin" #479

Merged
merged 3 commits into from
Mar 17, 2023
Merged

Rename "groupByOrigin" #479

merged 3 commits into from
Mar 17, 2023

Conversation

caraitto
Copy link
Collaborator

@caraitto caraitto commented Mar 9, 2023

group-by-origin should be used instead to match the naming documented in [0].

Also, switch executionMode to "DOMString" to avoid the compatibility issue with "enum" described in [1], and update some USVStrings to DOMString.

[0] https://webidl.spec.whatwg.org/#idl-enums

[1] whatwg/webidl#893


Preview | Diff

group-by-origin should be used instead to match the naming documented in [0].

Also, switch executionMode to "USVString" to avoid the compatibility issue with "enum" described in [1].

[0] https://webidl.spec.whatwg.org/#idl-enums

[1] whatwg/webidl#893
spec.bs Outdated Show resolved Hide resolved
It gets used in URLs, where validation will fail. Better to just validate earlier, in WebIDL.
@domfarolino
Copy link
Collaborator

LGTM (I can't formally approve), % OP description:

Also, switch executionMode to "USVString"

which probably just needs updated.

@caraitto
Copy link
Collaborator Author

LGTM (I can't formally approve), % OP description:

Also, switch executionMode to "USVString"

which probably just needs updated.

Done.

aarongable pushed a commit to chromium/chromium that referenced this pull request Mar 15, 2023
This came up in the context of [0].

Fields we don't parse (most non-origin and non-URL fields) should probably be DOMString instead of USVString, per [1].

[0] WICG/turtledove#479 (comment)
[1] https://webidl.spec.whatwg.org/#idl-USVString

Change-Id: Id7870c3c1ca2bf1bfac211a5891f89f9eee7b42f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4328291
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117759}
@JensenPaul JensenPaul merged commit 4f9f55a into WICG:main Mar 17, 2023
github-actions bot added a commit that referenced this pull request Mar 17, 2023
SHA: 4f9f55a
Reason: push, by JensenPaul

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@caraitto caraitto deleted the patch-8 branch April 13, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants