Closed
Bug 811351
Opened 12 years ago
Closed 12 years ago
We should call switch_to_frame() on delete_session() for B2G marionette sessions
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
mozilla19
People
(Reporter: mdas, Assigned: jgriffin)
References
Details
Attachments
(1 file, 1 obsolete file)
1.54 KB,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
In B2G, if you switch into the browser frame and delete your session, then start a new session, you'll still be in the browser frame. I think it might be a good idea to switch back to the top-most frame (system app) when we delete the running session. Thoughts?
![]() |
Assignee | |
Comment 1•12 years ago
|
||
Yes, we should definitely do so either in deleteSession or newSession, in marionette-actors.js.
![]() |
||
Comment 2•12 years ago
|
||
We should put the device back into a state that if a person starts it up again, and dont have defensive code to put them in a known state which they should anyway, then they can start from a good place.
My gut is to switch it back to where it needs to be on deleteSession() but can be swayed either way.
![]() |
Assignee | |
Comment 3•12 years ago
|
||
This is a pretty easy fix; we just reset the current frame pointers to null in deleteSession, in both actors and listeners. This also fixes a typo in resetValues(), which resets the frame pointer in newSession in listeners. Will run on try before asking for review.
![]() |
Assignee | |
Comment 4•12 years ago
|
||
![]() |
Assignee | |
Comment 6•12 years ago
|
||
Comment on attachment 681198 [details] [diff] [review]
Reset the current frame in deleteSession,
try run was green
Attachment #681198 -
Flags: review?(mdas)
![]() |
Assignee | |
Comment 7•12 years ago
|
||
Update patch to focus default frames
Attachment #681550 -
Flags: review?(mdas)
![]() |
Reporter | |
Updated•12 years ago
|
Attachment #681550 -
Flags: review?(mdas) → review+
Updated•12 years ago
|
Assignee: nobody → jgriffin
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #681198 -
Attachment is obsolete: true
Attachment #681198 -
Flags: review?(mdas)
![]() |
Assignee | |
Comment 8•12 years ago
|
||
Whiteboard: [automation-needed-in-aurora]
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 10•12 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Updated•12 years ago
|
Whiteboard: [automation-needed-in-aurora]
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•