Public bug reported:

$ lsb_release -rd
Description:    Ubuntu 20.04.1 LTS
Release:        20.04

$ snap --version
snap    2.45.3.1
snapd   2.45.3.1
series  16
ubuntu  20.04
kernel  5.4.0-21-generic

$ snap list chromium
Name      Version        Rev   Tracking       Publisher   Notes
chromium  84.0.4147.135  1269  latest/stable  canonical✓  -

GOOD:
$ /snap/chromium/current/usr/lib/chromium-browser/chrome --headless  --dump-dom 
/usr/share/doc/bc/bc.html

produces output, while

BAD:
$ /snap/bin/chromium --headless --dump-dom /usr/share/doc/bc/bc.html

fails with

[0826/093125.490825:ERROR:headless_shell.cc(174)] Open multiple tabs is
only supported when remote debugging is enabled.


Debugging hint: I get the same error when calling

$ /snap/chromium/current/usr/lib/chromium-browser/chrome --headless  -- 
dump-dom /usr/share/doc/bc/bc.html
[0826/093139.340093:ERROR:headless_shell.cc(174)] Open multiple tabs is only 
supported when remote debugging is enabled.

(note the extra space between "--" and "dump-dom".


Apologies if this turns out to be an issue with snap-confine or one of its 
siblings!

** Affects: snap (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  snap fails to pass chromium arguments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snap/+bug/1893020/+subscriptions

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

Reply via email to