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

Evaluating a Key Path on a value for IndexedDB is missing some cases #25325

Open
rasviitanen opened this issue Dec 18, 2019 · 0 comments
Open

Evaluating a Key Path on a value for IndexedDB is missing some cases #25325

rasviitanen opened this issue Dec 18, 2019 · 0 comments

Comments

@rasviitanen
Copy link
Contributor

@rasviitanen rasviitanen commented Dec 18, 2019

The function for evaluating a key path on a value is missing some cases and does not have proper error handeling.
The function uses direct bindings to spidermonkey, so we are able to salvage a lot of the implementation from gecko.

Task

  • Create a complete evaluation function

Function
evaluate_key_path_on_value

Files
compontens/script/dom/idbobjectstore.rs

Useful links
https://www.w3.org/TR/IndexedDB-2/#evaluate-a-key-path-on-a-value
https://github.com/mozilla/gecko-dev/blob/master/dom/indexedDB/KeyPath.cpp#L58-L256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.