Closed
Bug 1432659
Opened 7 years ago
Closed 7 years ago
Expose Pocket API to get your pocket stream
Categories
(Firefox :: New Tab Page, enhancement, P2)
Firefox
New Tab Page
Tracking
()
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: Mardak, Assigned: ursula)
References
(Blocks 1 open bug)
Details
(Whiteboard: [AS60MVP])
Attachments
(1 file)
No description provided.
Updated•7 years ago
|
Whiteboard: [AS60MVP]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → usarracini
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8946408 [details]
Bug 1432659 - Expose Pocket API to get your pocket stream
https://reviewboard.mozilla.org/r/216358/#review222146
Static analysis found 1 defect in this patch.
- 1 defect found by mozlint
You can run this analysis locally with:
- `./mach lint check path/to/file` (Python/Javascript/wpt)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: browser/extensions/pocket/content/pktApi.jsm:606
(Diff revision 2)
> /**
> + * Helper function to get a user's pocket stories
> + * @return {Boolean} Returns Boolean whether the api call started sucessfully
> + */
> + function retrieve(data = {}, options = {}) {
> + const data = Object.assign({}, data, {access_token: getAccessToken()});
Error: Parsing error: Identifier 'data' has already been declared [eslint: None]
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8946408 [details]
Bug 1432659 - Expose Pocket API to get your pocket stream
https://reviewboard.mozilla.org/r/216358/#review222150
Looks good to me!
Attachment #8946408 -
Flags: review?(csadilek) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8946408 [details]
Bug 1432659 - Expose Pocket API to get your pocket stream
https://reviewboard.mozilla.org/r/216358/#review222158
Static analysis found 1 defect in this patch.
- 1 defect found by mozlint
You can run this analysis locally with:
- `./mach lint check path/to/file` (Python/Javascript/wpt)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: browser/extensions/pocket/content/pktApi.jsm:606
(Diff revision 3)
> /**
> + * Helper function to get a user's pocket stories
> + * @return {Boolean} Returns Boolean whether the api call started sucessfully
> + */
> + function retrieve(data = {}, options = {}) {
> + const data = Object.assign({}, data, {access_token: getAccessToken()});
Error: Parsing error: Identifier 'data' has already been declared [eslint: None]
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8946408 [details]
Bug 1432659 - Expose Pocket API to get your pocket stream
https://reviewboard.mozilla.org/r/216358/#review222172
Pushed by usarracini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15f2562f1ba0
Expose Pocket API to get your pocket stream r=csadilek
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•6 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•