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

Issue 4780225334345728: Element Hiding Helper inspector tool fix (Closed)

Created:
April 8, 2014, 5:23 p.m. by saroyanm
Modified:
April 12, 2014, 9:26 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

This code review is a fix for current ticket: https://issues.adblockplus.org/ticket/5

Patch Set 1 #

Total comments: 10

Patch Set 2 : fix after Wladimir comments #

Total comments: 11

Patch Set 3 : accesskey removed from inspector button #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -22 lines) Patch
M chrome/locale/en-US/global.properties View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M lib/inspectorObserver.js View 1 2 3 chunks +11 lines, -17 lines 2 comments Download
M metadata.gecko View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11
saroyanm
@Wladimir, can you please have a look when you will have time, Thanks in advance.
April 8, 2014, 5:29 p.m. (2014-04-08 17:29:41 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/4780225334345728/diff/5629499534213120/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5629499534213120/lib/inspectorObserver.js#newcode7 lib/inspectorObserver.js:7: Cu.import("resource:///modules/devtools/gDevTools.jsm"); While you are at it, please don't use ...
April 11, 2014, 11:06 a.m. (2014-04-11 11:06:07 UTC) #2
saroyanm
Uploaded a new patch, hope this will work for us. http://codereview.adblockplus.org/4780225334345728/diff/5629499534213120/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5629499534213120/lib/inspectorObserver.js#newcode7 ...
April 11, 2014, 4:09 p.m. (2014-04-11 16:09:10 UTC) #3
Wladimir Palant
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/chrome/locale/en-US/global.properties File chrome/locale/en-US/global.properties (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/chrome/locale/en-US/global.properties#newcode34 chrome/locale/en-US/global.properties:34: inspector.button.accesskey=A If you remove the label then you should ...
April 11, 2014, 6:39 p.m. (2014-04-11 18:39:10 UTC) #4
saroyanm
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 lib/inspectorObserver.js:24: let result = [stringBundle.GetStringFromName("inspector.button.accesskey"), stringBundle.GetStringFromName("inspector.button.tooltiptext")]; On 2014/04/11 18:39:10, Wladimir ...
April 12, 2014, 10:39 a.m. (2014-04-12 10:39:35 UTC) #5
Wladimir Palant
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 lib/inspectorObserver.js:24: let result = [stringBundle.GetStringFromName("inspector.button.accesskey"), stringBundle.GetStringFromName("inspector.button.tooltiptext")]; You probably don't know ...
April 12, 2014, 6:14 p.m. (2014-04-12 18:14:11 UTC) #6
saroyanm
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 lib/inspectorObserver.js:24: let result = [stringBundle.GetStringFromName("inspector.button.accesskey"), stringBundle.GetStringFromName("inspector.button.tooltiptext")]; On 2014/04/12 18:14:11, Wladimir ...
April 12, 2014, 8:23 p.m. (2014-04-12 20:23:20 UTC) #7
Wladimir Palant
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 lib/inspectorObserver.js:24: let result = [stringBundle.GetStringFromName("inspector.button.accesskey"), stringBundle.GetStringFromName("inspector.button.tooltiptext")]; An access key is ...
April 12, 2014, 8:51 p.m. (2014-04-12 20:51:26 UTC) #8
saroyanm
Uploaded the new patch, hope that will work this time. http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 ...
April 12, 2014, 8:59 p.m. (2014-04-12 20:59:37 UTC) #9
saroyanm
http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js File lib/inspectorObserver.js (right): http://codereview.adblockplus.org/4780225334345728/diff/5724160613416960/lib/inspectorObserver.js#newcode24 lib/inspectorObserver.js:24: let result = [stringBundle.GetStringFromName("inspector.button.accesskey"), stringBundle.GetStringFromName("inspector.button.tooltiptext")]; On 2014/04/12 20:51:26, Wladimir ...
April 12, 2014, 9:03 p.m. (2014-04-12 21:03:22 UTC) #10
Wladimir Palant
April 12, 2014, 9:05 p.m. (2014-04-12 21:05:20 UTC) #11
LGTM if the property name is changed.

http://codereview.adblockplus.org/4780225334345728/diff/5738600293466112/lib/...
File lib/inspectorObserver.js (right):

http://codereview.adblockplus.org/4780225334345728/diff/5738600293466112/lib/...
lib/inspectorObserver.js:20: get inspectorButton()
On 2014/04/12 20:59:38, saroyanm wrote:
> Not sure if it's make sense to change getter into inspectorButtonTooltip ?

Yes, I think the name should be changed.

Powered by Google App Engine
This is Rietveld