Closed
Bug 807676
Opened 12 years ago
Closed 12 years ago
Trusty UI for identity clobbers the scope of Trusty UI for payments
Categories
(Core Graveyard :: Identity, defect)
Core Graveyard
Identity
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)
People
(Reporter: kumar, Assigned: jedp)
References
Details
+++ This bug was initially created as a clone of Bug #807122 +++
STR using http://people.mozilla.com/~kmcmillan/pay.html on B2G [1]:
1. click 'pay'
2. payment ui opens in trusty ui
3. click login
4. persona login opens in trusty ui. When it closes you are back to the payment Trusty UI.
5. click Close Window in the payment Trusty UI to return to pay.html
The close window button will call paymentSuccess(). This is a global defined by the payment specific Trusty UI. What happens here is that the identity Trusty UI is overwriting this global somehow. If you try the STR above but omit step #3 then you will see that paymentSuccess() is still defined.
[1] To see this in action you need to modify some prefs. Ask jedp, zaach, or kumar
Reporter | ||
Updated•12 years ago
|
Severity: enhancement → major
Priority: -- → P1
Reporter | ||
Comment 1•12 years ago
|
||
The good news is that the patch in bug 807122 is otherwise working! Target has shifted to this since it blocks the payment flow from fully working.
Comment 2•12 years ago
|
||
One note (cause we have careful about bug cloning) - I'd rather nom first, and have a driver review for basecamp stuff. I do think it blocks, but I want Ben to sign off on it, as he's the owner of identity.
Priorities-wise, I can explain on the 11am call how they work, but in short:
Priorities are set with a basecamp nomination based on the chart below:
- P1: Smoke test blocker, required feature, etc
- P2: Security bug, really bad crash, etc
- P3: Major Functionality and Usability bugs
It's possible it's a P1 or P3 nomination to block depending on the following details:
- What's the impact if paymentSuccess is called through the identity dialog?
blocking-basecamp: + → ?
Priority: P1 → --
Updated•12 years ago
|
Whiteboard: [LOE:M]
Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #2)
> - What's the impact if paymentSuccess is called through the identity dialog?
You mean what is the impact of this bug where paymentSuccess cannot be called?
The impact is no one would ever be able to buy an app or make an in-app purchase their first time (when not logged in) since it would never complete
Comment 4•12 years ago
|
||
(In reply to Kumar McMillan [:kumar] from comment #3)
> (In reply to Jason Smith [:jsmith] from comment #2)
> > - What's the impact if paymentSuccess is called through the identity dialog?
>
> You mean what is the impact of this bug where paymentSuccess cannot be
> called?
>
> The impact is no one would ever be able to buy an app or make an in-app
> purchase their first time (when not logged in) since it would never complete
No, actually I meant the opposite. This bug to my understanding is talking about the identity pop-up calling a payment success callback unexpectedly. I'm wondering what the impact of that issue is.
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #4)
> No, actually I meant the opposite. This bug to my understanding is talking
> about the identity pop-up calling a payment success callback unexpectedly.
> I'm wondering what the impact of that issue is.
That's not the bug. The nav.mozPay() trusty UI defined a global called paymentSuccess() and we need to preserve that. The identity's trusty UI is overriding that global probably because it switches the trusty UI context. We need to fix that because otherwise the end to end payment flow is broken.
Comment 6•12 years ago
|
||
(In reply to Kumar McMillan [:kumar] from comment #5)
> (In reply to Jason Smith [:jsmith] from comment #4)
> > No, actually I meant the opposite. This bug to my understanding is talking
> > about the identity pop-up calling a payment success callback unexpectedly.
> > I'm wondering what the impact of that issue is.
>
> That's not the bug. The nav.mozPay() trusty UI defined a global called
> paymentSuccess() and we need to preserve that. The identity's trusty UI is
> overriding that global probably because it switches the trusty UI context.
> We need to fix that because otherwise the end to end payment flow is broken.
Oh, now I understand it. Gotcha. Makes sense.
In that case, that's probably a P1 blocker then.
Updated•12 years ago
|
Assignee: nobody → zack.carter
Updated•12 years ago
|
blocking-basecamp: ? → +
Comment 7•12 years ago
|
||
Is this fixed? Haven't tested it myself, but other comments in IRC may be implying that this is fixed.
Whiteboard: [FIXED?]
Comment 8•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #7)
> Is this fixed? Haven't tested it myself, but other comments in IRC may be
> implying that this is fixed.
Yes, a fix for this was included in the patch for 807122.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Updated•12 years ago
|
Assignee: zack.carter → jparsons
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Target Milestone: --- → mozilla19
Updated•12 years ago
|
No longer blocks: basecamp-id
Comment 9•12 years ago
|
||
Is this bug also related for Firefox Desktop ?
Comment 10•12 years ago
|
||
There is no payments API implementation for Firefox Desktop yet, so I guess no.
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•