Closed
Bug 1003888
Opened 12 years ago
Closed 12 years ago
PanelUI.isReady() should be a getter, not a function.
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 32
People
(Reporter: mconley, Assigned: lviknesh)
References
Details
(Whiteboard: [good first bug][mentor=mconley][lang=js])
Attachments
(1 file)
|
1.93 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
PanelUI.isReady() is a function that returns true if the panel has already ensured that it's ready for use.
A getter would probably be more appropriate.
Comment 1•12 years ago
|
||
Hi. I would like to start working on this bug as a part of my assignment at school. I have already downloaded and built mozilla-central. Can you please give me some more advice for this bug? Like where to find source code related to this problem? :-) Thank you.
| Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Jan Svoboda from comment #1)
> Hi. I would like to start working on this bug as a part of my assignment at
> school. I have already downloaded and built mozilla-central. Can you please
> give me some more advice for this bug? Like where to find source code
> related to this problem? :-) Thank you.
Hey Jan! Sounds good - I'll be your mentor for this bug. Thanks for stepping up to take it!
The source code you'll need to change is in browser/components/customizableui/content/panelUI.js and browser/components/customizableui/src/CustomizeMode.jsm.
Take a look at the patch in bug 994712 - an isReady() function was added to the PanelUI object, but that functions as a getter, and should probably be a getter.
Let me know if you have any questions on how to proceed - the best way is to check "Need more information from", and then put my email address (mconley@mozilla.com) in to the text field next to the dropdown, and then Save Changes. That'll put this bug in my queue to answer the question.
Alternatively, e-mail me, or talk to me in #fx-team on irc.mozilla.org - I'm mconley.
Thanks again!
| Assignee | ||
Comment 3•12 years ago
|
||
Attachment #8420257 -
Flags: feedback?(mconley)
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 8420257 [details] [diff] [review]
getter-for-isReady
Review of attachment 8420257 [details] [diff] [review]:
-----------------------------------------------------------------
Perfect! Thanks! :D
Attachment #8420257 -
Flags: feedback?(mconley) → review+
| Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
I am little bit confused right now. Is this bug already fixed by vikneshwar as I can see in diff?
| Reporter | ||
Comment 6•12 years ago
|
||
Hrm.
Yes, there appears to have been a collision here. It looks like Jan called this bug, but then vikneshwar produced a patch for it. The patch is correct, so I'm not going to r- it or obsolete it just so that Jan can repeat the work.
So I think this is mostly my fault because I didn't immediately assign this bug to Jan. :/
So thanks for the patch vikneshwar, and my sincerest apologies Jan for not immediately assigning it to you.
Jan - would you like to work on bug 1003204 instead?
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(svoboj71)
Comment 7•12 years ago
|
||
Well, that's ok. No problem. :-) I didn't start working on this yet so I will start working on the bug 1003204. Thank you. :-)
Flags: needinfo?(svoboj71)
Comment 8•12 years ago
|
||
vikneshwar, thanks for the patch! However, has this been run through the Try server? If it has, please post a link and re-request checkin. Otherwise, please do so :) Mike can assist you if needed.
Keywords: checkin-needed
| Reporter | ||
Comment 9•12 years ago
|
||
Try push:
remote: https://tbpl.mozilla.org/?tree=Try&rev=5bdbe73f5e17
Doing just mochitest-bc, since that's the only test suite that exercises the panel in any capacity.
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → lviknesh
| Reporter | ||
Comment 10•12 years ago
|
||
Just setting a reminder to check the try results.
Flags: needinfo?(mconley)
| Reporter | ||
Comment 11•12 years ago
|
||
Try run looks good. Let's pull the trigger.
Flags: needinfo?(mconley)
Keywords: checkin-needed
Comment 12•12 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][mentor=mconley][lang=js] → [good first bug][mentor=mconley][lang=js][fixed-in-fx-team]
Comment 13•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=mconley][lang=js][fixed-in-fx-team] → [good first bug][mentor=mconley][lang=js]
Target Milestone: --- → Firefox 32
You need to log in
before you can comment on or make changes to this bug.
Description
•