Closed Bug 1239116 Opened 9 years ago Closed 9 years ago

PlacesProvider Messaging API

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

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: nobody → oyiptong
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/
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/
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/
Attachment #8729194 - Attachment is obsolete: true
Attachment #8729194 - Flags: review?(msamuel)
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/
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/
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
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)
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 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+
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.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: