Public bug reported:

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

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: snap webmidi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953010

Title:
  [snap] WebMIDI not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1953010/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to