[Webkit-unassigned] [Bug 161591] [Gtk] can not show json data (local file restrictions?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 18 21:00:21 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161591

--- Comment #29 from hqwu <hqwu at fiberhome.com> ---
(In reply to comment #28)
> If you're using file URIs, you'll want to set the
> allow-file-access-from-file-urls setting:
>  https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.
> html#WebKitSettings--allow-file-access-from-file-urls
> 
> There's also a new allow-universal-access-from-file-urls coming in this
> week's 2.14.0 release. If that doesn't work, I'm not sure.

thank you very much!!! 
when i use a normal webser like Apache,if i want to access cross origin resource,which founction can cancel the restrictions?

for example,my URL is "http://127.0.0.1/test/test.html",on this web page ,i want to get json from "http://127.0.0.1/json/testjson.json"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160919/8991a8c4/attachment.html>


More information about the webkit-unassigned mailing list