Closed
Bug 1428342
Opened 7 years ago
Closed 7 years ago
Make Places queries directly inherit options from their parent
Categories
(Toolkit :: Places, enhancement, P1)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
This simplifies some of the results code and helps with virtualization of the left pane folder.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8941137 [details]
Bug 1428342 - Make Places queries directly inherit options from their parent.
https://reviewboard.mozilla.org/r/211408/#review217446
Looks good, though there's some test failures on try that need looking at.
Attachment #8941137 -
Flags: review?(standard8)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
The patch was breaking the Downloads view in the Library, because some code was doing apparently pointless changes...
In any case, I'd delay landing any virtualization work (including this) to 60 at this point, to stay on the safe side. In the end this patch is mostly necessary for the work in bug 1423896 that is unlikely to land during the soft freeze.
Assignee | ||
Comment 5•7 years ago
|
||
hm, some other failures on Try, different ones :\
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8941137 [details]
Bug 1428342 - Make Places queries directly inherit options from their parent.
https://reviewboard.mozilla.org/r/211408/#review217844
::: toolkit/components/places/nsNavHistoryResult.h:477
(Diff revision 4)
> // this is set to the default in the constructor.
> bool mExpanded;
>
> // Filled in by the result type generator in nsNavHistory.
> nsCOMArray<nsNavHistoryResultNode> mChildren;
> -
> + nsCOMPtr<nsNavHistoryQueryOptions> mOriginalOptions;
I think it would be nice to add some documentation around mOriginalOptions and mOptions as to why they are needed, so we can have it at a glance in future.
Attachment #8941137 -
Flags: review?(standard8) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/cba9a29be139
Make Places queries directly inherit options from their parent. r=standard8
Updated•7 years ago
|
Priority: P2 → P1
Comment 14•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•