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

Unified Diff: lib/main.js

Issue 29366643: Issue 4682 - Remove typo collection functionality from URL Fixer (Closed) Base URL: https://hg.adblockplus.org/urlfixer
Patch Set: Removed some leftovers Created Dec. 8, 2016, 12:47 p.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 | « chrome/skin/typedItOptIn.css ('k') | lib/prefs.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/main.js
===================================================================
--- a/lib/main.js
+++ b/lib/main.js
@@ -16,22 +16,18 @@
*/
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/FileUtils.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
// Import prefs from old branch if there are any
let {Prefs} = require("prefs");
-Prefs.migrate("extensions.typed-it-collection.domainOptInAsk", "domainOptInAsk");
-Prefs.migrate("extensions.typed-it-collection.domainOptIn", "domainOptIn");
-Prefs.migrate("extensions.typed-it-collection.counter", "counter");
require("typoFixer");
-require("typoCollector");
// Execute first-run actions once the session is restored
{
let observer =
{
observe: function(subject, topic, data)
{
removeHandler();
@@ -81,11 +77,9 @@ function onBrowserInitialized()
if ("Browser" in window && typeof window.Browser.addTab != 'undefined')
{
// window.Browser.addTab(url, true);
// No firstrun on Fennec.
}
else if ("gBrowser" in window)
window.gBrowser.loadOneTab(url, {inBackground: false});
}
-
- require("typoCollector").onBrowserInitialized(window);
}
« no previous file with comments | « chrome/skin/typedItOptIn.css ('k') | lib/prefs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld