diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-03-30 16:11:32 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-03-30 16:17:08 +0200 |
commit | 18e087a0cc7cfde3ea17b3bb3f616605b7700f97 (patch) | |
tree | ecd7869633d88d85ac0c182c95944f8373ae2f08 | |
parent | cf0721a14f8ea5c1c79a2ac50ab4daa940a0621b (diff) | |
download | control-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-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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 { |