Closed Bug 1202342 Opened 9 years ago Closed 9 years ago

Expose getAssertions to the System app.

Categories

(Firefox OS Graveyard :: FxA, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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: nobody → ferjmoreno
Blocks: 1196096
Target Milestone: --- → FxOS-S7 (18Sep)
Attached patch v1 (obsolete) — Splinter Review
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)
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)
Attached patch v1Splinter Review
Attachment #8657863 - Attachment is obsolete: true
Attachment #8657863 - Flags: review?(spenrose)
Attachment #8657865 - Flags: review?(spenrose)
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 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+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [partner-cherry-pick]
Whiteboard: [partner-cherry-pick]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: