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

Issue 8788183: Detect and handle the case of our own typo correction extension being installed in parallel (Closed)

Created:
Nov. 15, 2012, 1:18 p.m. by Thomas Greiner
Modified:
Nov. 20, 2012, 11:54 a.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Detect and handle the case of our own typo correction extension being installed in parallel

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Patch Set 4 : Reverted small change in typoFixer (necessary for other project) #

Total comments: 2

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -39 lines) Patch
M chrome/content/ui/subscriptions.xml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M lib/main.js View 1 2 chunks +2 lines, -20 lines 0 comments Download
A lib/typoBootstrap.js View 1 2 3 4 5 6 1 chunk +89 lines, -0 lines 0 comments Download
M lib/typoFixer.js View 1 3 1 chunk +39 lines, -18 lines 0 comments Download

Messages

Total messages: 12
Thomas Greiner
Nov. 15, 2012, 1:18 p.m. (2012-11-15 13:18:42 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/8788183/diff/1/lib/main.js File lib/main.js (right): http://codereview.adblockplus.org/8788183/diff/1/lib/main.js#newcode32 lib/main.js:32: (function() Please move that entire logic into a separate ...
Nov. 19, 2012, 7:30 a.m. (2012-11-19 07:30:02 UTC) #2
Thomas Greiner
Nov. 19, 2012, 1:24 p.m. (2012-11-19 13:24:15 UTC) #3
Wladimir Palant
http://codereview.adblockplus.org/8788183/diff/6001/lib/typoBootstrap.js File lib/typoBootstrap.js (right): http://codereview.adblockplus.org/8788183/diff/6001/lib/typoBootstrap.js#newcode23 lib/typoBootstrap.js:23: Cu.reportError("enable"); Debug code? http://codereview.adblockplus.org/8788183/diff/6001/lib/typoBootstrap.js#newcode25 lib/typoBootstrap.js:25: return; This check (and ...
Nov. 19, 2012, 1:49 p.m. (2012-11-19 13:49:45 UTC) #4
Thomas Greiner
Nov. 19, 2012, 3:32 p.m. (2012-11-19 15:32:58 UTC) #5
Thomas Greiner
Nov. 19, 2012, 3:37 p.m. (2012-11-19 15:37:04 UTC) #6
Wladimir Palant
Nice, the logic got a lot easier to understand. http://codereview.adblockplus.org/8788183/diff/7007/lib/typoBootstrap.js File lib/typoBootstrap.js (right): http://codereview.adblockplus.org/8788183/diff/7007/lib/typoBootstrap.js#newcode15 lib/typoBootstrap.js:15: ...
Nov. 19, 2012, 5:24 p.m. (2012-11-19 17:24:23 UTC) #7
Thomas Greiner
Nov. 20, 2012, 9:53 a.m. (2012-11-20 09:53:36 UTC) #8
Wladimir Palant
http://codereview.adblockplus.org/8788183/diff/17001/lib/typoBootstrap.js File lib/typoBootstrap.js (right): http://codereview.adblockplus.org/8788183/diff/17001/lib/typoBootstrap.js#newcode46 lib/typoBootstrap.js:46: AddonManager.removeAddonListener(addonListener); Please use onShutdown.add() to add a shutdown handler ...
Nov. 20, 2012, 10:21 a.m. (2012-11-20 10:21:13 UTC) #9
Thomas Greiner
Nov. 20, 2012, 10:27 a.m. (2012-11-20 10:27:46 UTC) #10
Wladimir Palant
http://codereview.adblockplus.org/8788183/diff/25001/lib/typoBootstrap.js File lib/typoBootstrap.js (right): http://codereview.adblockplus.org/8788183/diff/25001/lib/typoBootstrap.js#newcode49 lib/typoBootstrap.js:49: onShutdown.add(cleanup); Seriously, please look around at how this is ...
Nov. 20, 2012, 11:13 a.m. (2012-11-20 11:13:30 UTC) #11
Wladimir Palant
Nov. 20, 2012, 11:41 a.m. (2012-11-20 11:41:51 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld