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

Issue 29604555: Issue 5965 - Handle edge case when searching for options page tab (Closed)

Created:
Nov. 11, 2017, 4:36 p.m. by kzar
Modified:
Nov. 23, 2017, 1:51 p.m.
Reviewers:
Wladimir Palant
CC:
Sebastian Noack
Visibility:
Public.

Description

Issue 5965 - Handle edge case when searching for options page tab

Patch Set 1 #

Patch Set 2 : Correct mistake in callback logic #

Total comments: 10

Patch Set 3 : Addressed Wladimir's initial feedback #

Total comments: 2

Patch Set 4 : Renamed urlMatch variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M lib/options.js View 1 2 3 1 chunk +47 lines, -1 line 0 comments Download

Messages

Total messages: 7
kzar
Patch Set 1
Nov. 11, 2017, 4:37 p.m. (2017-11-11 16:37:49 UTC) #1
kzar
Patch Set 2 : Correct mistake in callback logic
Nov. 11, 2017, 4:42 p.m. (2017-11-11 16:42:11 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29604555/diff/29604558/lib/options.js File lib/options.js (right): https://codereview.adblockplus.org/29604555/diff/29604558/lib/options.js#newcode44 lib/options.js:44: callback(optionsTab); Maybe reduce the indentation level here: if (optionsTab) ...
Nov. 11, 2017, 6:34 p.m. (2017-11-11 18:34:15 UTC) #3
kzar
Patch Set 3 : Addressed Wladimir's initial feedback https://codereview.adblockplus.org/29604555/diff/29604558/lib/options.js File lib/options.js (right): https://codereview.adblockplus.org/29604555/diff/29604558/lib/options.js#newcode44 lib/options.js:44: callback(optionsTab); ...
Nov. 13, 2017, 12:32 p.m. (2017-11-13 12:32:58 UTC) #4
Wladimir Palant
LGTM, one nit below. https://codereview.adblockplus.org/29604555/diff/29606555/lib/options.js File lib/options.js (right): https://codereview.adblockplus.org/29604555/diff/29606555/lib/options.js#newcode67 lib/options.js:67: let urlMatches = tab.url == ...
Nov. 23, 2017, 11:37 a.m. (2017-11-23 11:37:13 UTC) #5
kzar
Patch Set 4 : Renamed urlMatch variable Will retest this now. https://codereview.adblockplus.org/29604555/diff/29606555/lib/options.js File lib/options.js (right): ...
Nov. 23, 2017, 11:51 a.m. (2017-11-23 11:51:08 UTC) #6
Wladimir Palant
Nov. 23, 2017, 1:51 p.m. (2017-11-23 13:51:35 UTC) #7
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld