Closed Bug 814139 Opened 8 years ago Closed 8 years ago

Script timeout gets lost when switching to OOP frame

Categories

(Testing :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox18 fixed, firefox19 fixed, firefox20 fixed)

RESOLVED FIXED
mozilla20
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(2 files)

When switching to an OOP frame, the script and search timeouts are getting lost, because the instance of the frame script running in the OOP frame has no knowledge of how these were set.

When switching frames, we should always send the current script/search timeouts to it.
Assignee: nobody → jgriffin
Attached file test case
This passes the attached test.  That test requires Gaia so I won't check it into m-c; we could consider adding it to gaia-ui-tests after this lands, however.
Attachment #684245 - Flags: review?(mdas)
(In reply to Jonathan Griffin (:jgriffin) from comment #0)
> When switching to an OOP frame, the script and search timeouts are getting
> lost, because the instance of the frame script running in the OOP frame has
> no knowledge of how these were set.
> 
> When switching frames, we should always send the current script/search
> timeouts to it.

Ah, of course! that makes a lot of sense now.
Attachment #684245 - Flags: review?(mdas) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/543a19b5d466
Whiteboard: [automation-needed-in-aurora][automation-needed-in-beta]
Target Milestone: --- → mozilla20
https://hg.mozilla.org/mozilla-central/rev/543a19b5d466
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 815757
You need to log in before you can comment on or make changes to this bug.