Closed
Bug 1239116
Opened 9 years ago
Closed 9 years ago
PlacesProvider Messaging API
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
Firefox 48
| Tracking | Status | |
|---|---|---|
| firefox48 | --- | fixed |
People
(Reporter: tspurway, Assigned: oyiptong)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
This API provides access to FX frecent history (places db) for the remote newtab page.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → oyiptong
| Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39285/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39285/
Attachment #8729194 -
Flags: review?(msamuel)
| Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39287/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39287/
Attachment #8729195 -
Flags: review?(msamuel)
| Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/1-2/
| Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/2-3/
| Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/3-4/
| Assignee | ||
Updated•9 years ago
|
Attachment #8729194 -
Attachment is obsolete: true
Attachment #8729194 -
Flags: review?(msamuel)
| Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/4-5/
| Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/5-6/
| Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/6-7/
Attachment #8729195 -
Attachment description: MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?emtwo → MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?r1cky
| Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39287/diff/7-8/
Attachment #8729195 -
Attachment description: MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?r1cky → MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
Attachment #8729195 -
Flags: review?(msamuel) → review?(rrosario)
Comment 10•9 years ago
|
||
https://reviewboard.mozilla.org/r/39283/#review41163
::: browser/components/newtab/tests/browser/browser_newtabmessages.js:116
(Diff revision 8)
> + } = PlacesUtils.history;
> +
> + return {
> + uri: NetUtil.newURI(`${domain}${index}`),
> + visitDate: timeDaysAgo(daysAgo),
> + transition: (isTyped) ? TRANSITION_TYPED : TRANSITION_LINK,
nit: in this object literal you have a trailing comma and in the one above after `let` you don't.
Comment 11•9 years ago
|
||
Comment on attachment 8729195 [details]
MozReview Request: Bug 1239116 - Places messages enabled for remote newtab r?rrosario
https://reviewboard.mozilla.org/r/39287/#review41189
::: browser/components/newtab/tests/browser/browser_newtabmessages.js:136
(Diff revision 8)
> +
> + /** Test Begins **/
> +
> + let tabOptions = {
> + gBrowser,
> + url: testURL
nit: there are trailing comas everywhere except here. Is there something special with `let` or should we have one here too?
Attachment #8729195 -
Flags: review?(rrosario) → review+
| Assignee | ||
Comment 12•9 years ago
|
||
https://reviewboard.mozilla.org/r/39287/#review41189
> nit: there are trailing comas everywhere except here. Is there something special with `let` or should we have one here too?
AFAIK `let` doesn't affect the requirement for not having trailing commas; it became valid syntax since ES5.
ES3 didn't allow for trailing commas. I'm personally indifferent about trailing commas.
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
You need to log in
before you can comment on or make changes to this bug.
Description
•