Closed
Bug 828182
Opened 12 years ago
Closed 12 years ago
identifier close mozChromeEvent should let gaia know which frame it's fired on.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)
RESOLVED
FIXED
blocking-b2g | tef+ |
People
(Reporter: alive, Assigned: jedp)
References
Details
(Whiteboard: [triaged:1/15][qa-], QARegressExclude)
Attachments
(1 file)
I see https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/identity.js#L67
and learns the fact that if we have two identifier frame at the same time, we may not know which frame is closing. It's a pain to maintain an queue in gaia, so I think the simpler and best way is attach frame info in close event.
Jason, please help to move to the correct component if I am wrong.
Thanks!
Updated•12 years ago
|
Component: Identity → Gaia::System
Product: Core → Boot2Gecko
Version: Trunk → unspecified
Updated•12 years ago
|
Component: Gaia::System → Identity
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Comment 1•12 years ago
|
||
Talked with Alive and Ferjm in IRC about this:
The impact of this bug is a potential risk that closing one trusted UI with persona up when two persona dialogs up will close the wrong dialog.
It's edge case enough though not to block, as I don't expect multiple dialogs up at the same time to happen that often.
Comment 2•12 years ago
|
||
Yikes. This is causing a nasty hang right now with the trusted UI. Jed - Can you investigate?
Assignee | ||
Comment 3•12 years ago
|
||
I can investigate, yes. Are the STR what you describe in Bug 830358?
Flags: needinfo?(jparsons)
Comment 4•12 years ago
|
||
(In reply to Jed Parsons [:jparsons] from comment #3)
> I can investigate, yes. Are the STR what you describe in Bug 830358?
Yup, that's correct.
Updated•12 years ago
|
Blocks: basecamp-id
Assignee | ||
Comment 5•12 years ago
|
||
Spoke with Fernando in IRC and got caught up on what you all had already discussed. I had worried about this in the past (it's actually my comment at the top of the open function :) Sounds like the fix is simply to require the caller of close() to pass its chromeEventId as it does on open()
fwiw, I think this is incorrectly filed as an identity bug. Since Trusty UI is so crucial, I think it should have its own component in gaia.
Assigning to me
Assignee: nobody → jparsons
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Assignee | ||
Comment 6•12 years ago
|
||
The trusty UI needs tests, badly. I've spun off bug 830528 to track the need for tests. Any tests I put together for this feature I will attach to that bug, since just getting the test suite started for TUI seems like an entirely separate issue.
Assignee | ||
Comment 7•12 years ago
|
||
I've tested this with Identity, but I don't have a good test environment for Marketplace. Please ensure that I've done the right thing with payment.js. Thanks!
Attachment #702061 -
Flags: review?(ferjmoreno)
Updated•12 years ago
|
Component: Identity → Gaia::System
Product: Core → Boot2Gecko
Version: Trunk → unspecified
Comment 8•12 years ago
|
||
Thanks Jed. I'll take a look at this tonight.
Assignee | ||
Comment 9•12 years ago
|
||
Thanks, Fernando.
I'll keep an eye on Bug 813811; as soon as the PR for that lands in gaia, I'll update this PR. We're bound to have a couple of minor conflicts.
Comment 10•12 years ago
|
||
Comment on attachment 702061 [details]
Use chromeEventId to select which frame to close
r=me
I've left a comment in the PR.
Don't worry about Bug 813811. I'll merge this first as it was submitter in first place, so you don't need to rebase your patch :).
Attachment #702061 -
Flags: review?(ferjmoreno) → review+
Assignee | ||
Comment 11•12 years ago
|
||
Ok. Thanks very much, Fernando; I'll wait until this is merged.
Updated•12 years ago
|
Whiteboard: [triaged:1/15]
Updated•12 years ago
|
tracking-b2g18:
? → ---
Comment 12•12 years ago
|
||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [triaged:1/15] → [triaged:1/15][qa-]
Updated•12 years ago
|
status-b2g18:
--- → fixed
Comment 13•12 years ago
|
||
Landed on mozilla-b2g18/gaia master prior to the 1/25 branching to mozilla-b2g18_v1_0_0/v1.0.0, updating status-b2g-v1.0.0 to fixed.
status-b2g18-v1.0.0:
--- → fixed
Updated•12 years ago
|
Whiteboard: [triaged:1/15][qa-] → [triaged:1/15][qa-], QARegressExclude
Comment 15•12 years ago
|
||
Cannot verify, need steps to blackbox test this issue.
You need to log in
before you can comment on or make changes to this bug.
Description
•