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

Unified Diff: messageResponder.js

Issue 29338201: Issue 3719 - Adapt for changes in the initilization code on Chrome/Safari (Closed)
Patch Set: Created March 14, 2016, 11: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/firstRun.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -143,10 +143,10 @@
case "app.get":
if (message.what == "issues")
{
+ var subscriptionInit = require("subscriptionInit");
var info = require("info");
callback({
- seenDataCorruption: "seenDataCorruption" in global ? global.seenDataCorruption : false,
- filterlistsReinitialized: "filterlistsReinitialized" in global ? global.filterlistsReinitialized : false,
+ 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
« no previous file with comments | « locale/en-US/firstRun.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld