Index: chrome/content/ui/firstRun.js |
=================================================================== |
--- a/chrome/content/ui/firstRun.js |
+++ b/chrome/content/ui/firstRun.js |
@@ -53,6 +53,11 @@ |
setLinks("dataCorruptionWarning", Utils.getDocLink("knownIssuesChrome_filterstorage")); |
} |
+ // Show warning if Safari < 6 |
+ var info = require('info'); |
Wladimir Palant
2013/09/10 06:53:46
Nit: Please use double quotation marks unless ther
|
+ if (info.platform == "safari" && info.platformVersion.split(".") < [6]) |
Wladimir Palant
2013/09/10 06:53:46
This is JavaScript, not Python ;)
Please have a l
Sebastian Noack
2013/09/10 10:56:29
Services.vc.compare is Firefox specific, isn't it?
Wladimir Palant
2013/09/10 11:10:14
No, we also have our own version comparator implem
Wladimir Palant
2013/09/10 11:12:52
Argh, should be: "implicitly converts the latter t
Sebastian Noack
2013/09/10 14:20:57
Well, "12.0".split(".")[0] < 6, returns false as i
Wladimir Palant
2013/09/10 14:34:21
Never mind, my bad. Regardless, the version compar
|
+ E("legacySafariWarning").removeAttribute("hidden"); |
+ |
// Set up URL |
setLinks("acceptableAdsExplanation", Utils.getDocLink("acceptable_ads_criteria"), openFilters); |