Skip to content

Commit bd8bae9

Browse files
committed
Merge pull request #2074.
Increase minimum Firefox version to 52.
2 parents 30fa3f8 + 32904fa commit bd8bae9

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

release-utils/post-release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ echo " \"version\": \"$TARGET\","
5656
echo " \"update_link\": \"https://eff.org/files/privacy-badger-eff-$TARGET.xpi\","
5757
echo " \"update_hash\": \"sha256:`sha256sum $PKG | cut -c 1-64`\","
5858
echo " \"applications\": {"
59-
echo " \"gecko\": { \"strict_min_version\": \"50.0.2\" } "
60-
echo " } "
59+
echo " \"gecko\": { \"strict_min_version\": \"52.0\" }"
60+
echo " }"
6161
echo "}"
6262
echo ""
6363
echo "Now please upload $POSTPKGCWS to the Chrome Developer Dashboard"

src/js/options.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,7 @@ if (!matches || matches[1] == "Firefox") {
3232

3333
const USER_DATA_EXPORT_KEYS = ["action_map", "snitch_map", "settings_map"];
3434

35-
/**
36-
* TODO
37-
* @cooperq - 2016/12/05
38-
* This is a workaround for a bug in firefox 50.0.2 (no bugzilla id I could find)
39-
* This bug is fixed as of firefox 52.0 and the try/catch can be removed at that
40-
* time
41-
**/
42-
try {
43-
var backgroundPage = chrome.extension.getBackgroundPage();
44-
} catch (e) {
45-
location.reload();
46-
}
35+
var backgroundPage = chrome.extension.getBackgroundPage();
4736
var require = backgroundPage.require;
4837
var badger = backgroundPage.badger;
4938
var log = backgroundPage.log;

src/js/webrequest.js

-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ function onBeforeRequest(details) {
5555
if (type == "main_frame") {
5656
forgetTab(tab_id);
5757

58-
// Firefox workaround: https://bugzilla.mozilla.org/show_bug.cgi?id=1329299
59-
// TODO remove after Firefox 51 is no longer in use
60-
if (frame_id != 0) {
61-
frame_id = 0;
62-
}
63-
6458
badger.recordFrame(tab_id, frame_id, details.parentFrameId, url);
6559

6660
return {};

src/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"applications": {
55
"gecko": {
66
"id": "jid1-MnnxcxisBPnSXQ@jetpack",
7-
"strict_min_version": "50.0"
7+
"strict_min_version": "52.0"
88
}
99
},
1010
"incognito": "spanning",

0 commit comments

Comments
 (0)