[Webkit-unassigned] [Bug 161591] [Gtk] can not show json data (local file restrictions?)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 19 06:36:48 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=161591
Michael Catanzaro <mcatanzaro at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dbates at webkit.org
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #31 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #29)
> 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"
Oh for that you don't need to mess with WebKit APIs at all, you can do it using CORS. I'm not an expert; you can check out http://enable-cors.org/ for an explanation.
> my webkit release is 2.4.10,it has not
> webkit_settings_set_allow_file_access_from_file_urls function,compile result
> is "error: âwebkit_settings_set_allow_file_access_from_file_urlsâ was not
> declared in this scope"
You probably want to upgrade to a modern version of WebKit, since 2.4.10 is old/insecure/unsupported.
--
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/eca21afb/attachment.html>
More information about the webkit-unassigned
mailing list