Closed
Bug 811574
Opened 12 years ago
Closed 11 years ago
Set default timeout for marionette to non-zero
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 815757
People
(Reporter: wlach, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
603 bytes,
patch
|
jgriffin
:
review-
|
Details | Diff | Splinter Review |
Setting a 0 timeout breaks async scripts by default. Of course, the amount of time you need to run scripts is context dependant, but it would be good to set some kind of sane default (say, 30 or 60 seconds) so at least basic things will work out of the box.
Comment 1•12 years ago
|
||
This sets the default timeout to 10 seconds. I'll have a test for this in my patch for Bug 815361, which will check it using get_script_timeout. try submission: https://tbpl.mozilla.org/?tree=Try&rev=dea1535ea77a
Attachment #685350 -
Flags: review?(jgriffin)
Comment 2•12 years ago
|
||
Comment on attachment 685350 [details] [diff] [review] patch v1.0 Review of attachment 685350 [details] [diff] [review]: ----------------------------------------------------------------- Instead of setting 10,000 (or whatever number) in a number of places, I think we should pass the default timeout into marionette-listener in newSession. This way, we don't have to remember to change it in N places the next time we want to tweak it, we only have to change it in marionette-actors.js.
Attachment #685350 -
Flags: review?(jgriffin) → review-
Comment 3•12 years ago
|
||
Like this?
Attachment #685350 -
Attachment is obsolete: true
Attachment #685363 -
Flags: review?(jgriffin)
Comment 4•12 years ago
|
||
Comment on attachment 685363 [details] [diff] [review] patch v2.0 Review of attachment 685363 [details] [diff] [review]: ----------------------------------------------------------------- I think the marionette-listener changes are missing in this patch.
Attachment #685363 -
Flags: review?(jgriffin) → review-
Comment 5•12 years ago
|
||
Addressing the default timeout in Bug 815757, where we're refactoring the script timeout work.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•