Bug 178866

Summary: WebDriver: deserializeTimeouts should fail if the value is not integer
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bburg: review+

Description Carlos Garcia Campos 2017-10-26 06:53:15 PDT
See https://w3c.github.io/webdriver/webdriver-spec.html#dfn-deserialize-as-a-timeout

"If value is not an integer, or it is less than 0 or greater than 2^64 – 1, return error with error code invalid argument."
Comment 1 Carlos Garcia Campos 2017-10-26 06:56:53 PDT
Created attachment 325006 [details]
Patch
Comment 2 BJ Burg 2017-10-26 10:17:45 PDT
Comment on attachment 325006 [details]
Patch

r=me
Comment 3 Carlos Garcia Campos 2017-10-27 00:12:06 PDT
Committed r224089: <https://trac.webkit.org/changeset/224089>
Comment 4 Radar WebKit Bug Importer 2017-11-15 12:43:47 PST
<rdar://problem/35568032>