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

Apply [NewObject] IDL extended attribute to relevant methods #193

Closed
inexorabletash opened this issue Apr 21, 2017 · 1 comment
Closed
Assignees
Labels

Comments

@inexorabletash
Copy link
Member

We can apply [NewObject] in the following cases:

  • Any method that returns an IDBRequest or IDBOpenDBRequest, e.g. get() etc
  • IDBDatabase transaction()
  • createObjectStore(), createIndex()
  • The statuc IDBKeyRange methods (only() etc)

This allows implementations to make assertions, but doesn't alter the behavior.

@inexorabletash
Copy link
Member Author

PR: #195

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

No branches or pull requests

1 participant