summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-03-30 16:11:32 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-30 16:17:08 +0200
commit18e087a0cc7cfde3ea17b3bb3f616605b7700f97 (patch)
treeecd7869633d88d85ac0c182c95944f8373ae2f08
parentcf0721a14f8ea5c1c79a2ac50ab4daa940a0621b (diff)
downloadcontrol-center-18e087a0cc7cfde3ea17b3bb3f616605b7700f97.tar
control-center-18e087a0cc7cfde3ea17b3bb3f616605b7700f97.tar.gz
control-center-18e087a0cc7cfde3ea17b3bb3f616605b7700f97.tar.bz2
control-center-18e087a0cc7cfde3ea17b3bb3f616605b7700f97.tar.xz
control-center-18e087a0cc7cfde3ea17b3bb3f616605b7700f97.zip
fix unusable links with webkit 2.16.0
This is a webkit 2.16.0 "regression" where one cannot click anymore on links We now need to enable the 'allow-universal-access-from-file-url' property. previous commit shows that with 2.16, we see eg: CONSOLE ERROR Not allowed to load local resource: file:///Fonts CONSOLE ERROR Not allowed to load local resource: file:///Services
-rw-r--r--NEWS1
-rwxr-xr-xcontrol-center1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index faa953fb..3eaef0b3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- drop legacy loaders for drakbackup, drakmenustyle and tomoyo-gui
(mga#18572)
+- fix webkit 2.16.x regression where one cannot click anymore on links
- write wekbit console messages to stdout if using --testing
Version 13.13 - 11 March 2017, by RĂ©mi Verschelde
diff --git a/control-center b/control-center
index 2aabd4f1..64e2e5fe 100755
--- a/control-center
+++ b/control-center
@@ -699,6 +699,7 @@ my $settings = $view->get_settings;
$settings->set_enable_plugins(0);
$settings->set_enable_java(0);
$settings->set_enable_write_console_messages_to_stdout(1) if $::testing;
+$settings->set_allow_universal_access_from_file_urls(1);
# start a program if given --start-with= option:
$view->signal_connect('load-changed' => sub {