Closed
Bug 1146946
Opened 10 years ago
Closed 10 years ago
TypeError: this.selectedItem is null from sidebar.js when using the up/down key when the list is empty.
Categories
(Firefox Graveyard :: Reading List, defect, P4)
Tracking
(firefox38 verified, firefox39 verified)
VERIFIED
FIXED
Firefox 39
People
(Reporter: bwinton, Assigned: bwinton)
Details
Attachments
(1 file, 1 obsolete file)
1.46 KB,
patch
|
bwinton
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
/r/5961 - Bug 1146946 - Handle empty selections in sidebar.js when using the up/down key. r=florian
Pull down this commit:
hg pull review -r 0196767ea412d454c3bcf80a5dc5a889e2aa2937
Attachment #8582467 -
Flags: review?(florian)
Assignee | ||
Comment 2•10 years ago
|
||
https://reviewboard.mozilla.org/r/5959/#review4907
I figured we should do nothing, just like for the enter key.
(Arguably we want to be a little more clever, and only do nothing if there are no entries. Let me know if you want me to update the code to do that instead.)
Comment 3•10 years ago
|
||
(In reply to Blake Winton (:bwinton) from comment #2)
> https://reviewboard.mozilla.org/r/5959/#review4907
>
> I figured we should do nothing, just like for the enter key.
How will we make a selection from the keyboard if the up/down keys do nothing when there's no existing selection?
Assignee | ||
Comment 4•10 years ago
|
||
The mouse? ;)
Okay, I'll switch to ignoring up/down only when there are no entries…
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8582467 [details]
MozReview Request: bz://1146946/bwinton
/r/5961 - Bug 1146946 - Handle empty selections in sidebar.js when using the up/down key. r=florian
/r/5973 - Bug 1146946 - Handle empty lists in sidebar.js when using the up/down key. r=florian
Pull down these commits:
hg pull review -r 417f79c9bacaacc8ff8a0e2fa23efb859b039463
Comment 6•10 years ago
|
||
Comment on attachment 8582467 [details]
MozReview Request: bz://1146946/bwinton
https://reviewboard.mozilla.org/r/5959/#review4933
::: browser/components/readinglist/sidebar.js
(Diff revision 2)
> + if (this.list.children.length == 0) {
if (!this.numItems)
::: browser/components/readinglist/sidebar.js
(Diff revision 2)
> + if (this.list.children.length == 0) {
same here
Attachment #8582467 -
Flags: review?(florian)
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8582467 [details]
MozReview Request: bz://1146946/bwinton
/r/5961 - Bug 1146946 - Handle empty selections in sidebar.js when using the up/down key. r=florian
/r/5973 - Bug 1146946 - Handle empty lists in sidebar.js when using the up/down key. r=florian
/r/5981 - Bug 1146946 - Handle empty lists in sidebar.js when using the up/down key. r=florian
Pull down these commits:
hg pull review -r e60e7e4984534ce0c861160ebfd37becc9afb8e8
Attachment #8582467 -
Flags: review?(florian)
Comment 8•10 years ago
|
||
Comment on attachment 8582467 [details]
MozReview Request: bz://1146946/bwinton
https://reviewboard.mozilla.org/r/5959/#review4935
Ship It!
Attachment #8582467 -
Flags: review?(florian) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Carrying forward r=florian.
Try results at https://treeherder.mozilla.org/#/jobs?repo=try&revision=6918c85e950f
Attachment #8582467 -
Attachment is obsolete: true
Attachment #8582630 -
Flags: review+
Comment 10•10 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Comment 12•10 years ago
|
||
status-firefox38:
--- → fixed
Comment 13•10 years ago
|
||
Verified fixed on Nightly 39.0a1 (2015-03-29) and Aurora 38.0a2 (2015-03-29), using Windows 7 (x64), Ubuntu 14.04 (x64) and Mac OS X 10.9.5.
Comment 14•10 years ago
|
||
Mistakenly filed against Firefox 38 and should be instead 38 Branch. Sorry for the spam. dkl
Version: Firefox 38 → 38 Branch
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•