[snap] WebMIDI not working

Bug #1953010 reported by Johannes Feulner
This bug report is a duplicate of:  Bug #1854676: [snap] Web Midi API doesn't work. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
New
Undecided
Unassigned

Bug Description

WebMIDI does not work when chromium is installed from snap package. However, it works when installed via apt install.

Chromium version: Version 93.0.4577.82 (Offizieller Build) snap (64-Bit) Channel: stable
OS Version: Ubuntu 20

Steps to reproduce the problem:
1. Execute in brower's console

if (navigator.requestMIDIAccess) {
   navigator.requestMIDIAccess({sysex: false})
      .then(m => alert("WebMIDI ready")) .catch(m =>alert("WebMIDI failed"));
 } else {
     alert("Sorry, no WebMIDI support in your browser.");
 }

What is the expected behavior?
alert: WebMIDI ready

What went wrong?
alert: WebMIDI failed, WebMIDI cannot be used at all

Without the catch-clause the error message is:
Uncaught (in promise) DOMException: Platform dependent initialization failed.

Did this work before? Yes Version 90.0.4430.72 (Offizieller Build) Built on Ubuntu installed via apt install.

See also: https://bugs.chromium.org/p/chromium/issues/detail?id=1254727&q=reporter%3Ajofeux%40gmail.com&can=1

Tags: snap webmidi
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.