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

Integrate with Permissions #219

Merged
merged 6 commits into from
Oct 21, 2021
Merged

Conversation

miketaylr
Copy link
Contributor

As part of w3c/permissions#263, this PR moves some of the Permissions stuff into WebMidi (so Permissions doesn't have to be a registry, but instead defines powerful features infrastructure).

It also fixes some bugs in the Permissions policy section.

cc @marcoscaceres

Copy link
Contributor

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

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

good stuff... and you are right, the whole .requestMIDIAccess() section be replaced by hooking into our spec.

However, seems "software" as type got added at some point.

requestMIDIAccess(optional MIDIOptions options = {}); should be changed to:

requestMIDIAccess(optional MidiPermissionDescriptor options = {});

And MidiPermissionDescriptor should gain the software member (we can copy/pasta the definition that's already there for MidiOptions). I think MidiOptions can then be deleted form the spec.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@marcoscaceres
Copy link
Contributor

(we can do the above in two passes...)

@miketaylr
Copy link
Contributor Author

(we can do the above in two passes...)

Yeah, let me file an issue to do that as a follow up.

PTAL @cwilso!

Copy link
Contributor

@cwilso cwilso left a comment

Choose a reason for hiding this comment

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

LGTM.

@cwilso
Copy link
Contributor

cwilso commented Oct 21, 2021

Thanks Mike!

@cwilso cwilso merged commit 2a86fd5 into WebAudio:gh-pages Oct 21, 2021
@miketaylr
Copy link
Contributor Author

Thanks for the review!

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.

3 participants