The search bar is inactive
Console contains
Loading failed for the <script> with source “file:///usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.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 firefox opens documentation with active search bar and no javascript errors
/tmp/firefox/firefox /usr/share/doc/openjdk-21-doc/api/index.html
Expected results:
Firefox snap should be able to follow symlink and correctly load OpenJDK API documentation.
Created attachment 9350104 snap-info. txt
firefox-
Steps to reproduce:
1. Install firefox snap 116.0.3-2 doc/openjdk- 21-doc/ api/index. html
snap install firefox
2. Install openjdk-21 documentation
sudo apt install openjdk-21-doc
3. Browse API documentation
firefox /usr/share/
Actual results:
The search bar is inactive //usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js”.
Console contains
Loading failed for the <script> with source “file:/
$ls -l /usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js -> ../../. ./../javascript /jquery/ jquery. min.js
lrwxrwxrwx 1 root root 43 Mar 17 13:31 /usr/share/
cat /usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js
prints the file contents
Downloaded version of firefox opens documentation with active search bar and no javascript errors firefox /usr/share/ doc/openjdk- 21-doc/ api/index. html
/tmp/firefox/
Expected results:
Firefox snap should be able to follow symlink and correctly load OpenJDK API documentation.