Closed
Bug 1213078
Opened 11 years ago
Closed 11 years ago
PlacesProvider.jsm module for remote new tab page
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: oyiptong, Assigned: oyiptong)
References
Details
Attachments
(1 file, 2 obsolete files)
|
19.88 KB,
patch
|
Details | Diff | Splinter Review |
The remote newtab page will do decisioning remotely. Therefore, we don't need most of the code in NewTabUtils.jsm.
This module encapsulates access to the places functionality required
| Assignee | ||
Comment 1•11 years ago
|
||
changes reviewed elsewhere
| Assignee | ||
Comment 2•11 years ago
|
||
Bug 1213078 - PlacesProvider.jsm module for remote new tab page r?emtwo
Attachment #8671643 -
Flags: review?(msamuel)
| Assignee | ||
Comment 3•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8671642 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #8671643 -
Flags: review?(msamuel) → review+
Comment 4•11 years ago
|
||
Comment on attachment 8671643 [details]
MozReview Request: Bug 1213078 - PlacesProvider.jsm module for remote new tab page r?emtwo
https://reviewboard.mozilla.org/r/21623/#review19461
r+ with just a few nits
::: browser/components/newtab/PlacesProvider.jsm:64
(Diff revision 1)
> + // We got a weird URI or one that would inherit the caller's principal.
Can we log something here?
::: browser/components/newtab/tests/xpcshell/test_PlacesProvider.js:88
(Diff revision 1)
> + // tests string ordering, a is before o
Nit: This one ends up having the URL being the only difference with firstOlder appearing first right? Did you mean 'f is before o' for the comment?
::: browser/components/newtab/tests/xpcshell/test_PlacesProvider.js:94
(Diff revision 1)
> + // test ordering
Nit: test ordering by date?
::: browser/components/newtab/tests/xpcshell/test_PlacesProvider.js:150
(Diff revision 1)
> + yield PlacesTestUtils.clearHistory();
A few of the test functions are directly calling `clearHistory()`. Do we need this here? Wouldn't do_register_cleanup() be clearing history already?
::: browser/components/newtab/tests/xpcshell/test_PlacesProvider.js:218
(Diff revision 1)
> + ok(true, `all linkChanged events captured`);
There are a few spots in the tests with `ok(true, <msg>)`
Is this just for logging purposes? If so, maybe we can use `do_print(<messageText>)` instead?
| Assignee | ||
Comment 5•11 years ago
|
||
https://reviewboard.mozilla.org/r/21623/#review19461
> There are a few spots in the tests with `ok(true, <msg>)`
>
> Is this just for logging purposes? If so, maybe we can use `do_print(<messageText>)` instead?
it is the only assertion in this test, so, it needs to be kept
| Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d6d4011acc3af469693ec35618bd3556032a323
Bug 1213078 - PlacesProvider.jsm module for remote new tab page r=emtwo
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/9f20b91e4a29 for bustage:
https://treeherder.mozilla.org/logviewer.html#?job_id=15465542&repo=mozilla-inbound
https://treeherder.mozilla.org/logviewer.html#?job_id=15465449&repo=mozilla-inbound
Flags: needinfo?(oyiptong)
| Assignee | ||
Comment 8•11 years ago
|
||
| Assignee | ||
Comment 10•11 years ago
|
||
| Assignee | ||
Comment 11•11 years ago
|
||
| Assignee | ||
Comment 12•11 years ago
|
||
carrying over r+ from emtwo.
this fixes an intermittent test failure
Attachment #8671643 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•11 years ago
|
||
| Assignee | ||
Comment 14•11 years ago
|
||
| Assignee | ||
Comment 15•11 years ago
|
||
| Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3012b7a2c97c19422775145cad67516d167c16b9
Bug 1213078 - PlacesProvider.jsm module for remote new tab page r=emtwo
Comment 17•11 years ago
|
||
| bugherder merge | ||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
You need to log in
before you can comment on or make changes to this bug.
Description
•