summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-19 13:20:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-19 13:20:07 -0300
commit018846ff956cbf5a89ab38436efe27bce4c8cf2e (patch)
tree574e9d46e1e018c5810bd7d3b4f4593d265240b4 /libre
parentc7bab3f18f38c7abb700cb49e776a0e4fc75808f (diff)
downloadabslibre-018846ff956cbf5a89ab38436efe27bce4c8cf2e.tar.gz
abslibre-018846ff956cbf5a89ab38436efe27bce4c8cf2e.tar.bz2
abslibre-018846ff956cbf5a89ab38436efe27bce4c8cf2e.zip
iceweasel-1:50.1.0.deb1-3: disable parts of Chromium API
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel/PKGBUILD4
-rw-r--r--libre/iceweasel/vendor.js18
2 files changed, 20 insertions, 2 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 27091303d..f77a200fd 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -30,7 +30,7 @@ _pkgname=firefox
pkgname=iceweasel
epoch=1
pkgver=$_debver.$_debrel
-pkgrel=2
+pkgrel=3
pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox."
arch=(i686 x86_64 armv7h)
license=(MPL GPL LGPL)
@@ -78,7 +78,7 @@ sha256sums=('9400f3d87077b7f9bdd746a52f424f0bd53435ff54412d4a236b2a43acabade3'
'56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6'
'87034dbb640f70454b27d1695a6f03b6fd1ab81c82eb4d8c771db925ae03d408'
'3aea6676f1e53a09673b6ae219d281fc28054beb6002b09973611c02f827651d'
- '25ba3f07357e07da1a758f9bac5c3e68bfbf327d646da6d2d8e097f7bdd5a4b7'
+ '6dfb0ff91dc1428fc06e6f0afd808f8d70d6324fe294c6e07bcf85f7dd4ca372'
'f61ea706ce6905f568b9bdafd1b044b58f20737426f0aa5019ddb9b64031a269'
'9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8'
'e260e555b261aabab1e48786dd514eeea056e4402af7cfd4dfd1d32858441484'
diff --git a/libre/iceweasel/vendor.js b/libre/iceweasel/vendor.js
index 842919f54..1b9118638 100644
--- a/libre/iceweasel/vendor.js
+++ b/libre/iceweasel/vendor.js
@@ -234,3 +234,21 @@ pref("xpinstall.signatures.required", false);
// Disable Barlog
pref("app.update.url", "about:blank");
+
+// Disable File and Directory Entries API (Imported from Edge/Chromium)
+// https://developer.mozilla.org/en-US/Firefox/Releases/50#Files_and_directories
+// https://developer.mozilla.org/en-US/docs/Web/API/File_and_Directory_Entries_API
+// https://developer.mozilla.org/en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction
+// https://developer.mozilla.org/en-US/docs/Web/API/File_and_Directory_Entries_API/Firefox_support
+// https://bugzilla.mozilla.org/show_bug.cgi?id=1265767
+pref("dom.webkitBlink.filesystem.enabled", false);
+// https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory
+// https://bugzilla.mozilla.org/show_bug.cgi?id=1258489
+// https://hg.mozilla.org/releases/mozilla-release/rev/133af19777be
+pref("dom.webkitBlink.dirPicker.enabled", false);
+
+// Directory Upload API, webkitdirectory
+// https://bugzilla.mozilla.org/show_bug.cgi?id=1188880
+// https://bugzilla.mozilla.org/show_bug.cgi?id=907707
+// https://wicg.github.io/directory-upload/proposal.html
+pref("dom.input.dirpicker", false);