WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
202337
[GTK] Can't load file:// resources linked from file:// pages
https://bugs.webkit.org/show_bug.cgi?id=202337
Summary
[GTK] Can't load file:// resources linked from file:// pages
Michael Gratton
Reported
2019-09-27 16:48:16 PDT
Epiphany 3.34 doesn't seem to be able to load linked file: content, even when referenced from a file: page. Loading Geary's locally generated valadoc from file:///home/mjog/Projects/GNOME/geary/valadoc/index.html, I get a page with no CSS or JS loaded and the following in the console:
> [Error] Not allowed to load local resource: file:///home/mjog/Projects/GNOME/geary/valadoc/style.css (index.html, line 6) > [Error] Not allowed to load local resource: file:///home/mjog/Projects/GNOME/geary/valadoc/scripts.js
Further, clicking on one of the links to another local gives a similar error and the link is not loaded:
> [Error] Not allowed to load local resource: file:///home/mjog/Projects/GNOME/geary/valadoc/geary/index.htm
This was working fine with 2.24, seems to have broken in 2.26.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2019-09-27 17:33:23 PDT
(With bubblewrap sandbox enabled)
Michael Gratton
Comment 2
2019-10-31 17:12:52 PDT
Is there at least any way to disable the sandbox? This is really breaking my development workflow.
Michael Catanzaro
Comment 3
2019-10-31 19:08:43 PDT
WEBKIT_FORCE_SANDBOX=0 ought to work. I'm hearing on IRC that it doesn't avoid this bug, which makes me suspect this might not be a bubblewrap sandbox issue after all. Try it and see...?
Michael Catanzaro
Comment 4
2019-10-31 19:25:06 PDT
(In reply to Michael Catanzaro from
comment #3
)
> I'm hearing on IRC that it doesn't avoid this bug
I think that was some confusion over a secondary app instance not propagating the environment back to the primary instance... i.e. that environment variable should work ;)
Michael Gratton
Comment 5
2019-10-31 21:04:56 PDT
> WEBKIT_FORCE_SANDBOX=0 ought to work.
That works perfectly, thanks Michael!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug