Closed Bug 844942 Opened 11 years ago Closed 11 years ago

switch_to_frame() should succeed even when current frame is dead

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox22 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)

RESOLVED FIXED
mozilla22
Tracking Status
firefox22 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Attachments

(1 file)

Currently, switch_to_frame() will die if the sending "sleepSession" to the current frame fails.  This can happen if the current frame has crashed, or has closed itself.  We should make switch_to_frame() succeed regardless of the state of the active frame.

See also discussion in bug 843793.
Assignee: nobody → jgriffin
Same patch as for bug 843793, but for a more appropriate bug.
Attachment #717974 - Flags: review?(mdas)
Attachment #717974 - Flags: review?(mdas) → review+
https://hg.mozilla.org/mozilla-central/rev/99f36af07e3b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: