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

WebMidi access is more than just secure context #18160

Closed
wants to merge 1 commit into from

Conversation

hamishwillee
Copy link
Collaborator

#18115 added information about the firefox site permission updates to the secure context docs, replacing an out of date note.
On reflection though secure context is mostly about requiring HTTPS - and the site permission behaviour is about user prompting.

So what I have done is moved the notes out of secure context and as a note against the API itself.

@queengooborg FYI

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 7, 2022
Comment on lines +3759 to 3763
"notes": [
"Version 107 and later, API use is gated by a site permission add-on that is automatically generated by Firefox.",
"Version 105 and later, the <code>dom.webmidi.gated</code> preference may be set <code>false</code> to allow WebMIDI to be used without a site permission addon.",
"Version 100 to 104 (inclusive) WebMIDI is not available (API use is gated by a site permission add-on that is no longer available)."
]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The preference version includes all the data. I am expecting this to be deleted when the feature goes live.

@@ -3744,7 +3744,8 @@
"edge": "mirror",
"firefox": [
{
"version_added": "preview"
"version_added": "preview",
"notes": "API access is gated by installation of a site permission add-on (user prompt), secure context, and <a href='https://developer.mozilla.org/docs/Web/HTTP/Headers/Feature-Policy/midi'>Permission Policy: <code>midi</code></a>."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The preview version contains specific information about the site permission add on and feature policy gating.
We will need to link to docs on the site permission when Firefox has written them.

@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

hamishwillee added a commit to hamishwillee/browser-compat-data that referenced this pull request Nov 21, 2022
@hamishwillee
Copy link
Collaborator Author

Closing - merging changes into #18213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant