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

Add WebIDLs for Local Font Access #3374

Merged
merged 2 commits into from
May 10, 2023
Merged

Add WebIDLs for Local Font Access #3374

merged 2 commits into from
May 10, 2023

Conversation

fenjalien
Copy link
Contributor

MDN, IDL

I'm not sure if I've done this correctly as running the webidl command doesn't output any features so I've had to add some manually.

Comment on lines +3 to +4
[Throws]
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(just self-documenting)
Throwing behavior is documented in the specification.
Implementation: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/font_access/window_font_access.idl.

@daxpedda
Copy link
Collaborator

I'm not sure if I've done this correctly as running the webidl command doesn't output any features so I've had to add some manually.

Was fixed in later versions, so after rebasing and re-executing the command Cargo.toml fixes itself.

@daxpedda daxpedda merged commit 28e3880 into rustwasm:main May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants