Closed
Bug 1503252
Opened 6 years ago
Closed 6 years ago
Geckodriver returns 200 instead of 500 when returning a rejected promise
Categories
(Testing :: geckodriver, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1398095
People
(Reporter: github, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Steps to reproduce: I ran a WPT test proposed in this PR: https://github.com/web-platform-tests/wpt/pull/13781 Actual results: The result of the added tests in Geckodriver (v0.23.0) is: - test_promise_resolve: responds with 200 and payload of returned promise - test_promise_reject: responds with 200 and payload of rejected promise - test_promise_timeout: responds with 200 and payload of rejected promise Expected results: - test_promise_resolve: responds with 200 and payload of returned promise - test_promise_reject: responds with 500 and payload of rejected promise error - test_promise_timeout: responds with 500 and timeout error
Reporter | ||
Comment 1•6 years ago
|
||
Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1398095 (sorry for realizing too late)
Comment 2•6 years ago
|
||
I actually missed bug 1398095 when I responded on the github pull request, but Andreas did. So thinking more about the usage of Promises and that we always return 200 indicates that this might indeed only be a problem that we don't handle that yet. So all in all it should be fixed by bug 1398095. Sorry, that I missed that!
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•