Closed
Bug 1202342
Opened 9 years ago
Closed 9 years ago
Expose getAssertions to the System app.
Categories
(Firefox OS Graveyard :: FxA, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
FxOS-S7 (18Sep)
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: ferjm, Assigned: ferjm)
References
Details
Attachments
(2 files, 1 obsolete file)
In order to ease the implementation of the Sync Manager that is being developed on bug 1196096, we need to expose the getAssertion method to the System app.
Assignee | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Hey Sam, would you mind taking a look to this patch, please? It is simply exposing the getAssertion method to the System app via content/chrome events. Thanks!
Attachment #8657863 -
Flags: review?(spenrose)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8657822 [details] [review]
[gaia] ferjm:bug1202342.fxa.getassertion > mozilla-b2g:master
Kevin, this patch is quite similar to the one for bug 1182071. I am adding the 'getAssertion' method to FxAccountsClient. I had to remove the way we dynamically added/removed the chrome event listener cause we can have more than two listeners in place which made the listener to be remove before it should. It's not a big deal, but once we move FxAccountsClient to Promises (bug 1202449), it'll be easier to take the dynamic addition/removal of the listener.
Attachment #8657822 -
Flags: review?(kevingrandon)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8657863 -
Attachment is obsolete: true
Attachment #8657863 -
Flags: review?(spenrose)
Attachment #8657865 -
Flags: review?(spenrose)
Comment 5•9 years ago
|
||
Comment on attachment 8657865 [details] [diff] [review]
v1
This looks fine, thanks Fernando. Nit: resolve the comment conflict.
Attachment #8657865 -
Flags: review?(spenrose) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8657822 [details] [review]
[gaia] ferjm:bug1202342.fxa.getassertion > mozilla-b2g:master
I'm not sure when or how we're going to use this, but the code seems fine to me. Thanks!
Attachment #8657822 -
Flags: review?(kevingrandon) → review+
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7d5a2dd85d607d081041cbae67aa9c4756410318
Bug 1202342 - Expose getAssertions to the System app. r=spenrose
Assignee | ||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Whiteboard: [partner-cherry-pick]
Updated•9 years ago
|
Whiteboard: [partner-cherry-pick]
You need to log in
before you can comment on or make changes to this bug.
Description
•