Closed
Bug 1390685
Opened 7 years ago
Closed 7 years ago
InvalidHighlightCandidateException being thrown frequently from empty uris
Categories
(Firefox for Android Graveyard :: Awesomescreen, enhancement, P1)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
Details
(Whiteboard: [mobileAS] 1.28)
Attachments
(1 file)
I discovered on my local build, with a ton of desktop bookmarks imported via sync (for testing), I get 192 InvalidHighlightCandidateExceptions thrown from [1]. There are two problems here:
1) Exceptions should be truly exceptional and using them frequently will slow the application down (I wonder if that's why bug 1388187 is happening).
2) I logged the urls for these candidates and they are unexpectedly empty - perhaps we're pulling in non-url entities like bookmark folders?
[1]: https://dxr.mozilla.org/mozilla-central/rev/b95b1638db48fc3d450b95b98da6bcd2f9326d2f/mobile/android/base/java/org/mozilla/gecko/activitystream/ranking/HighlightCandidate.java#163
Assignee | ||
Comment 1•7 years ago
|
||
fwiw, I could not get this to fire on Chenxia's phone [1] or my phone (though I don't have the same problem) so I wonder how often this happens in the wild...
[1]: I thought it might because that device is sometimes missing highlights - bug 1390542
Assignee | ||
Comment 2•7 years ago
|
||
We don't know how often happen in wild but it'd be good to fix just in case - let's add a fix, even if hacky.
tracking-fennec: ? → ---
Priority: -- → P2
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → michael.l.comella
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Iteration: --- → 1.28
Whiteboard: [mobileAS] → [mobileAS] 1.28
Assignee | ||
Updated•7 years ago
|
Priority: P2 → P1
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8900005 [details]
Bug 1390685: Replace InvalidHighlightCandidateException with boolean return.
https://reviewboard.mozilla.org/r/171328/#review176860
Attachment #8900005 -
Flags: review?(s.kaspari) → review+
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f4c83ccd2a29
Replace InvalidHighlightCandidateException with boolean return. r=sebastian
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•4 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
•