Skip to content

Integrate with Permissions#219

Merged
cwilso merged 6 commits intoWebAudio:gh-pagesfrom
miketaylr:permissions/issue/294
Oct 21, 2021
Merged

Integrate with Permissions#219
cwilso merged 6 commits intoWebAudio:gh-pagesfrom
miketaylr:permissions/issue/294

Conversation

@miketaylr
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
@marcoscaceres
Copy link
Copy Markdown
Contributor

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

Co-authored-by: Marcos Cáceres <marcos@marcosc.com>
@miketaylr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

cwilso commented Oct 21, 2021

Thanks Mike!

@cwilso cwilso merged commit 2a86fd5 into WebAudio:gh-pages Oct 21, 2021
@miketaylr
Copy link
Copy Markdown
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