Skip to content

Commit 8c7bb91

Browse files
committed
Use correct version comparisons
1 parent fd6ea66 commit 8c7bb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chrome/content/integration/contentAreaUtils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ function internalPersist(persistArgs, /* For MAF */ aSkipPrompt)
458458
.getService(Ci.nsIXULAppInfo).platformVersion;
459459
if (Cc["@mozilla.org/xpcom/version-comparator;1"]
460460
.getService(Ci.nsIVersionComparator)
461-
.compare(platformVersion, "3.*") <= 0) {
461+
.compare(platformVersion, "3.0.0") < 0) {
462462
persist.saveURI(persistArgs.sourceURI,
463463
persistArgs.sourceCacheKey, persistArgs.sourceReferrer, persistArgs.sourcePostData, null,
464464
targetFileURL, privacyContext);

0 commit comments

Comments
 (0)