Closed
Bug 1213078
Opened 8 years ago
Closed 8 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•8 years ago
|
||
changes reviewed elsewhere
Assignee | ||
Comment 2•8 years ago
|
||
Bug 1213078 - PlacesProvider.jsm module for remote new tab page r?emtwo
Attachment #8671643 -
Flags: review?(msamuel)
Assignee | ||
Comment 3•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4f7906584a1a
Assignee | ||
Updated•8 years ago
|
Attachment #8671642 -
Attachment is obsolete: true
Updated•8 years ago
|
Attachment #8671643 -
Flags: review?(msamuel) → review+
Comment 4•8 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•8 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•8 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•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=89f5c666e42f
Assignee | ||
Comment 10•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac5027f9d733
Assignee | ||
Comment 11•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3fb29ca32df
Assignee | ||
Comment 12•8 years ago
|
||
carrying over r+ from emtwo. this fixes an intermittent test failure
Attachment #8671643 -
Attachment is obsolete: true
Assignee | ||
Comment 13•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=db95273526f0
Assignee | ||
Comment 14•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0c85a831bcf0
Assignee | ||
Comment 15•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f2559806bb5
Assignee | ||
Comment 16•8 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•8 years ago
|
||
bugherder merge |
https://hg.mozilla.org/mozilla-central/rev/3012b7a2c97c
Status: NEW → RESOLVED
Closed: 8 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
•