Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow multiple sequential webdriver sessions #11306
Conversation
…nk before each one.
highfive
commented
May 20, 2016
|
Heads up! This PR modifies the following files:
|
|
r? @jgraham |
|
The issue here is that I can't really tell if this is the desired behaviour to align with other implementations. @andreastt might have some insight. |
|
@jgraham this was my reading of the spec, but I don't know what the other implementations do. |
|
We either should land this or rewrite the servo wdspec driver in wptrunner to start up a fresh servo instance each time. At the moment we can only run 1 wdspec test! |
|
I think making the change in wptrunner is the right thing to do in the short term. Sorry, I didn't realise you were so blocked on this. |
|
@jgraham ok I'll have a look at rewriting wptrunner to spawn a separate servo instance per test. |
|
@asajeffrey Sorry it took me so long to get around to this, but I was at a conference all of last week. This patch looks mostly fine to me, except that we should navigate on creating- and deleting sessions.
|
|
Reviewed 1 of 1 files at r1. Comments from Reviewable |
|
@andreastt this PR is to allow one servo instance to handle multiple sequential sessions, without quitting when the session is closed. The current code base quits the servo instance when the session is terminated, if that's the behaviour that's desired we can just close this PR. |
|
@asajeffrey Yes, that is the desired behaviour and it’s a bug that Marionette/Firefox does not do this right now when calling Delete Session. (I just pointed this out in mozilla/geckodriver#70 (comment) too.) |
|
Closing this PR in favour of fixing the servo wdspec driver. |
asajeffrey commentedMay 20, 2016
•
edited by larsbergstrom
Thank you for contributing to Servo! Please replace each
[ ]by[X]when the step is complete, and replace__with appropriate data:./mach build -ddoes not report any errors./mach test-tidy --fasterdoes not report any errorsEither:
Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.
This change is