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

Check that Key Paths are composed of valid IdentifierNames for IndexedDB #25324

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

Comments

@rasviitanen
Copy link
Contributor

@rasviitanen rasviitanen commented Dec 18, 2019

A basic function for checking if a key path is valid is implemented, but it does not check that each part of the string is a valid IdentifierName

Task

  • Check that each part of the splitted string is a valid IdentifierName

Functions
is_valid_key_path

Files
components/script/dom/idbobjectstore.rs

Specification
https://www.w3.org/TR/IndexedDB-2/#valid-key-path
https://tc39.es/ecma262/#prod-IdentifierName

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.