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 call to non-existant function Created Dec. 1, 2016, 1:53 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
Index: lib/main.js
===================================================================
--- a/lib/main.js
+++ b/lib/main.js
@@ -21,17 +21,16 @@ Cu.import("resource://gre/modules/XPCOMU
// 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");
Thomas Greiner 2016/12/07 15:43:35 Looks like we no longer need to migrate the above
Wladimir Palant 2016/12/08 12:48:14 Done.
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 +80,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);
}

Powered by Google App Engine
This is Rietveld