Closed
Bug 1769009
Opened 3 years ago
Closed 3 years ago
Reloading a page doesn't refresh the list of Web MIDI devices
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: gsvelto, Assigned: gsvelto)
References
Details
Attachments
(1 file)
This is a rather major issue given we don't support hotplug and very easy to reproduce. Here's my STR:
- Force-enabled Web MIDI support via prefs or changing the code in MIDIPermissionRequest.cpp
- Plug a MIDI device
- Browse to https://www.midimonitor.com/
- Click on the "Devices" button, your device will show up
- Unplug the MIDI device
- Reload the page
- Click on the "Devices" button again, your device still shows up
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/69f265c469f6
Refresh the list of MIDI devices both when navigating to a new page and away from an old one r=padenot
Comment 3•3 years ago
|
||
Backed out changeset 69f265c469f6 (Bug 1769009) for causing mochitest failures on test_midi_device_explicit_open_close.html.
Backout link
Push with failures <--> 12
Failure Log
Flags: needinfo?(gsvelto)
| Assignee | ||
Comment 4•3 years ago
|
||
Refreshing the test MIDI devices list is causing spurious statechange events on the MIDIAccess object which are causing other tests to fail. I need to change the test implementation to refresh the list in a more controllable way to prevent those.
Flags: needinfo?(gsvelto)
| Assignee | ||
Comment 5•3 years ago
|
||
I've altered the test, try is looking good, I'll land again.
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f282648916d5
Refresh the list of MIDI devices both when navigating to a new page and away from an old one r=padenot
Comment 7•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•