Closed
Bug 905088
Opened 11 years ago
Closed 11 years ago
Properly handle default URL in enterEditingMode
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
(Whiteboard: [fixed-fig])
Attachments
(1 file)
2.31 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
Passing null on the param-less version is not exactly correct. Default value handling should be handled there. null URL param is an invalid call and should throw.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #790119 -
Flags: review?(michael.l.comella)
Comment on attachment 790119 [details] [diff] [review] Properly handle default URL on BrowserApp's enterEditingMode Review of attachment 790119 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. ::: mobile/android/base/BrowserApp.java @@ +1367,5 @@ > > private void enterEditingMode() { > + String url = null; > + > + Tab tab = Tabs.getInstance().getSelectedTab(); nit: I'm not sure what our policy is on the "final" keyword but... final Tab tab = ...
Attachment #790119 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #2) > Comment on attachment 790119 [details] [diff] [review] > Properly handle default URL on BrowserApp's enterEditingMode > > Review of attachment 790119 [details] [diff] [review]: > ----------------------------------------------------------------- > > LGTM. > > ::: mobile/android/base/BrowserApp.java > @@ +1367,5 @@ > > > > private void enterEditingMode() { > > + String url = null; > > + > > + Tab tab = Tabs.getInstance().getSelectedTab(); > > nit: I'm not sure what our policy is on the "final" keyword but... > > final Tab tab = ... Nice catch, done.
Assignee | ||
Comment 4•11 years ago
|
||
Pushed: http://hg.mozilla.org/projects/fig/rev/3eb68df2a650
Whiteboard: [fixed-fig]
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3eb68df2a650
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•