Closed Bug 1748661 Opened 4 years ago Closed 3 years ago

The Web MIDI permission dialog is re-created over and over on midimonitor.com

Categories

(Core :: DOM: Device Interfaces, defect, P2)

Unspecified
All
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gsvelto, Unassigned)

References

Details

STR:

  1. Go to https://www.midimonitor.com/
  2. Click on the "Remember this decision" checkbox

The expected behavior is that the checkbox gets checked and one can proceed to click allow. What happens instead is that the "Remember this decision" checkbox gets cleared. The reason why this happens is that the dialog is being invisibly re-popped up over and over. What's happening underneath is that MIDIAccessManager::RequestMIDIAccess() is being called over and over in a loop. It's unclear why this happens, the page's code is obfuscated so it's hard to tell what it does. The same issue doesn't happen with Chrome so it's likely not down to the page's code.

Severity: -- → S3
Priority: -- → P2

I just re-checked this and it's still a problem though one needs to adjust the permission code to reproduce since the permission prompt doesn't pop up by default anymore.

This doesn't seem to be happening anymore, I get prompted for installing the add-on once and the rest of the workflow looks fine.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.