** Changed in: chromium-browser (Ubuntu)
Status: Won't Fix => Triaged
** Changed in: firefox (Ubuntu)
Status: Won't Fix => Triaged
** Changed in: firefox (Ubuntu)
Assignee: (unassigned) => Nathan Teodosio (nteodosio)
** Changed in: chromium-browser (Ubuntu)
Assignee: (unassigned) => Nathan Teodosio (nteodosio)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2032992
Title:
[snap] chromium snap does not allow to read symlinks to
/usr/share/javascript
Status in chromium-browser package in Ubuntu:
Triaged
Status in firefox package in Ubuntu:
Triaged
Bug description:
Steps to reproduce:
1) Install chromium snap
snap install chromium
2) Install openjdk-21 documentation
sudo apt install openjdk-21-doc
3) Browse API documentation
chromium /usr/share/doc/openjdk-21-doc/api/index.html
The search bar is inactive and dev console contains:
jquery-3.6.1.min.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
$ls -l
/usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js
lrwxrwxrwx 1 root root 43 Mar 17 13:31
/usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js ->
../../../../javascript/jquery/jquery.min.js
cat /usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js
prints the file contents
Downloaded version of chrome opens documentation with active search bar and
no javascript errors
/tmp/chrome/chrome /usr/share/doc/openjdk-21-doc/api/index.html
Expected results:
Chromium snap should be able to follow symlink into
/usr/share/javascript and correctly load OpenJDK API documentation.
Note: this probably should be a specific exclusion for Debian-based
systems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2032992/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp