Bug 1373218 - Add invalid cookie domain error to status lookup; r?automatedtester
The InvalidCookieDomainError type is missing a status lookup key in
testing/marionette/error.js. This adds "invalid cookie domain" as a
reverse lookup for the type.
MozReview-Commit-ID: 69hkk28axtt
--- a/testing/marionette/error.js
+++ b/testing/marionette/error.js
@@ -510,16 +510,17 @@ class UnsupportedOperationError extends
}
const STATUSES = new Map([
["element click intercepted", ElementClickInterceptedError],
["element not accessible", ElementNotAccessibleError],
["element not interactable", ElementNotInteractableError],
["insecure certificate", InsecureCertificateError],
["invalid argument", InvalidArgumentError],
+ ["invalid cookie domain", InvalidCookieDomainError],
["invalid element state", InvalidElementStateError],
["invalid selector", InvalidSelectorError],
["invalid session id", InvalidSessionIDError],
["javascript error", JavaScriptError],
["move target out of bounds", MoveTargetOutOfBoundsError],
["no alert open", NoAlertOpenError],
["no such element", NoSuchElementError],
["no such frame", NoSuchFrameError],