Repository navigation
Report exceptions for async script executions to webdriver - #27041
Conversation
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try=wpt |
Report exceptions for async script executions to webdriver Improving the accuracy of the async script execution for our webdriver implementation allows us to run many more webdriver tests without timeouts, which should help with web-platform-tests/wpt#24257. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27036 and #27035 and #27031. - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo try=wpt |
Report exceptions for async script executions to webdriver Improving the accuracy of the async script execution for our webdriver implementation allows us to run many more webdriver tests without timeouts, which should help with web-platform-tests/wpt#24257. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27036 and #27035 and #27031. - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo try=wpt |
Report exceptions for async script executions to webdriver Improving the accuracy of the async script execution for our webdriver implementation allows us to run many more webdriver tests without timeouts, which should help with web-platform-tests/wpt#24257. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27036 and #27035 and #27031. - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
@bors-servo try=wpt |
Report exceptions for async script executions to webdriver Improving the accuracy of the async script execution for our webdriver implementation allows us to run many more webdriver tests without timeouts, which should help with web-platform-tests/wpt#24257. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27036 and #27035 and #27031. - [x] There are tests for these changes
|
💔 Test failed - status-taskcluster |
|
☔ The latest upstream changes (presumably #27026) made this pull request unmergeable. Please resolve the merge conflicts. |
Signed-off-by: Josh Matthews <[email protected]>
Signed-off-by: Josh Matthews <[email protected]>
|
These changes are rebased, and contain a couple additional commits to fix new errors exposed by the new exceptions. @yezhizhen Would you like to review this? Relevant tests: |
Signed-off-by: Josh Matthews <[email protected]>
yezhizhen
left a comment
There was a problem hiding this comment.
If I understand correctly, cyclic.py tests that cyclic references correctly throw exception, so that we won't have infinite loop when deserializing and TIMEOUT?
- This PR added
seenaccording to Clone an object to support above feature. fn WebdriverExceptionis defined to catch throw exception from also-modified script. That's whytest_object_to_json_exceptionis passing now.
I am not familiar with codegen and can_gc. But rest looks good!
|
Yep! |
Improving the accuracy of the async script execution for our webdriver implementation allows us to run many more webdriver tests without timeouts, which should help with web-platform-tests/wpt#24257.
Specification:
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors