-
Notifications
You must be signed in to change notification settings - Fork 16
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
IDL mismatches spec for query()
#32
Comments
Hmm, the code examples seem to treat it as if it returns a I guess you could move all the asynchronous permission-checking stuff into the first invocation of "get the next iterator result", and have |
This also confused me. Is there any reason this has to be an async iterator to begin with? I realize we don't want to load the individual fonts, but it seems gathering all the relevant font names + pointers to data can be done in a single request? |
I'd also like to see justification for this being an async iterator. However, if there's good reason, I don't see an issue with the permission checking stuff happening on iteration. It's kinda nice that it can happen per iteration, as it can reject if permission is revoked. #27 suggests we might want options to |
Did some thinking around the async iterator stuff in #51 |
No longer an async iterator. |
The IDL says that
query()
returns aFontIterator
. However the spec algorithm forquery()
says that it returns aPromise<FontIterator>
.The text was updated successfully, but these errors were encountered: