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

Export "network partition key" #1670

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Export "network partition key" #1670

merged 1 commit into from
Jun 7, 2023

Conversation

clelland
Copy link
Contributor

@clelland clelland commented Jun 7, 2023

Exporting this allows other specs to partition network state on the same key used for the HTTP cache.

Network Error Logging, in particular, would like to use this concept by reference (see w3c/network-error-logging#138).


Preview | Diff

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.

Presumably you only need this to denote a type somewhere and you use "determine the network partition key" to get it?

@clelland
Copy link
Contributor Author

clelland commented Jun 7, 2023

Exactly -- it's used to declare that a particular map is keyed on a network partition key, and the algorithms are used later to get the actual key to use.

w3c/network-error-logging#143 if you want to take a look

@annevk annevk merged commit 094ea69 into whatwg:main Jun 7, 2023
2 checks passed
@annevk
Copy link
Member

annevk commented Jun 7, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants