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

Allow indexing on Request/Response properties #305

Open
inexorabletash opened this issue Sep 30, 2019 · 1 comment
Open

Allow indexing on Request/Response properties #305

inexorabletash opened this issue Sep 30, 2019 · 1 comment
Labels
indexes TPAC 2019 Discuss at Fukuoka TPAC2024 Topic for discussion at TPAC 2024

Comments

@inexorabletash
Copy link
Member

There's discussion over in w3c/ServiceWorker#863 (comment) about allowing Request/Response objects to be stored in Indexed DB. That basically just requires defining serialization for them - a blob plus some metadata.

However, like we do for File and Blob objects, we may want to support indexing on properties - see the table in: https://w3c.github.io/IndexedDB/#key-path-construct

(This is necessary since the keypath evaluation algorithms intentionally bypass the prototype chain to avoid invoking getters after cloning.)

@SteveBeckerMSFT
Copy link

TPAC 2024: Filed an issue in the Service Worker WG to revisit this issue, looking for current use cases for serializing Request/Response in IDB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexes TPAC 2019 Discuss at Fukuoka TPAC2024 Topic for discussion at TPAC 2024
Projects
None yet
Development

No branches or pull requests

2 participants