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

Outdated Worklet IDL #1813

Closed
msiglreith opened this issue Oct 12, 2019 · 1 comment
Closed

Outdated Worklet IDL #1813

msiglreith opened this issue Oct 12, 2019 · 1 comment
Labels

Comments

@msiglreith
Copy link
Contributor

The Worklet IDL has been changed 2 years ago , but the IDL in the web-sys repository still uses the old version:

Current API:

interface Worklet {
  [NewObject, Throws, NeedsCallerType]
  Promise<void> import(USVString moduleURL);
};

New API:

[Exposed=Worklet]
interface WorkletGlobalScope {
};

[Exposed=Window]
interface Worklet {
    [NewObject] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options);
};

dictionary WorkletOptions {
    RequestCredentials credentials = "same-origin";
};
@msiglreith msiglreith added the bug label Oct 12, 2019
@alexcrichton
Copy link
Contributor

Thanks for the report! We copied over the WebIDL from Gecko at some point in the past, would you be up for copying over the new WebIDL for these APIs?

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

2 participants