Bug 177354 - WebDriver: HTTP status code is not correct for some of the errors
Summary: WebDriver: HTTP status code is not correct for some of the errors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-09-22 04:29 PDT by Carlos Garcia Campos
Modified: 2017-10-02 02:10 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.68 KB, patch)
2017-09-22 04:31 PDT, Carlos Garcia Campos
bburg: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2017-09-22 04:29:41 PDT
I think this changed in the spec at some point. The thing is that no such alert, frame and window and stale element reference should return 404 instead of 400.

https://w3c.github.io/webdriver/webdriver-spec.html#handling-errors
Comment 1 Carlos Garcia Campos 2017-09-22 04:31:06 PDT
Created attachment 321533 [details]
Patch
Comment 2 BJ Burg 2017-09-26 10:15:25 PDT
Comment on attachment 321533 [details]
Patch

rs=me
Comment 3 Carlos Garcia Campos 2017-10-02 02:09:16 PDT
Committed r222703: <http://trac.webkit.org/changeset/222703>
Comment 4 Radar WebKit Bug Importer 2017-10-02 02:10:34 PDT
<rdar://problem/34764444>