Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: messageResponder.js

Issue 29371585: Issue 4783 - Drop Safari support [adblockplusui] (Closed)
Patch Set: Created Jan. 12, 2017, 9:55 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « locale/en-US/new-options.json ('k') | new-options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
diff --git a/messageResponder.js b/messageResponder.js
index 2027f687c13f8bea97868314b43766fdd46e9671..5b0b4216273346397412758e6fa4767364ea76c8 100644
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -160,11 +160,7 @@
{
let subscriptionInit = tryRequire("subscriptionInit");
return {
- filterlistsReinitialized: subscriptionInit ? subscriptionInit.reinitialized : false,
- legacySafariVersion: (info.platform == "safari" && (
- Services.vc.compare(info.platformVersion, "6.0") < 0 || // beforeload breaks websites in Safari 5
- Services.vc.compare(info.platformVersion, "6.1") == 0 || // extensions are broken in 6.1 and 7.0
- Services.vc.compare(info.platformVersion, "7.0") == 0))
+ filterlistsReinitialized: subscriptionInit ? subscriptionInit.reinitialized : false
};
}
@@ -185,10 +181,7 @@
if (message.what == "features")
{
return {
- devToolsPanel: info.platform == "chromium",
- safariContentBlocker: "safari" in global
- && "extension" in global.safari
- && "setContentBlocker" in global.safari.extension
+ devToolsPanel: info.platform == "chromium"
};
}
« no previous file with comments | « locale/en-US/new-options.json ('k') | new-options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld