This changed recently in the spec: https://github.com/w3c/webdriver/pull/1210 Our implementation was wrong in any case since we are limiting to INT_MAX.
Created attachment 332360 [details] Patch
Committed r227671: <https://trac.webkit.org/changeset/227671>
<rdar://problem/36903286>