Bug 202337
Summary: | [GTK] Can't load file:// resources linked from file:// pages | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Gratton <mike> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro, pgriffis |
Priority: | P3 | Keywords: | Gtk |
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux |
Michael Gratton
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
(With bubblewrap sandbox enabled)
Michael Gratton
Is there at least any way to disable the sandbox? This is really breaking my development workflow.
Michael Catanzaro
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
(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
> WEBKIT_FORCE_SANDBOX=0 ought to work.
That works perfectly, thanks Michael!