whatwg / storage

Storage Standard
https://storage.spec.whatwg.org/
Other
124 stars 55 forks source link

Add a storage key comparison algorithm #134

Closed recvfrom closed 2 years ago

recvfrom commented 2 years ago

This PR adds and exports an algorithm for comparing two storage keys. This will be useful for non-storage APIs that want to partition state using storage keys.

Also, adding my name to the 'Acknowledgments' section since I forgot to do this with my previous PR. :D

Fixes #133

I don't think tests or implementation bugs are needed for this change since this PR doesn't change any existing functionality.


Preview | Diff

recvfrom commented 2 years ago

Thanks for the review @annevk, all changes should now be addressed

annevk commented 2 years ago

Thank you!