w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
679 stars 194 forks source link

Replace misleading term #1710

Closed jugglinmike closed 1 year ago

jugglinmike commented 1 year ago

This specification relies on the term "response" as defined by the Fetch standard. The "error" type which is returned by fallible algorithms does not qualify as such a response. This makes the use of the phrase "error response" to define the "error" type somewhat confusing.

Replace "error response" with the more generic "error value" to avoid insinuating a non-existent relationship.


Preview | Diff

jugglinmike commented 1 year ago

The type of "success" and "error" values is also under-specified. I think it can only be inferred to be "a thing with a field." While formally classifying it (perhaps as an Infra "map" value) might be more complete in some theoretical sense, I'm not sure the current ambiguity could cause confusion.