Bug 1373218 - Add invalid cookie domain error to status lookup; r?automatedtester draft
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 15 Jun 2017 13:36:47 +0100
changeset 594759 fa01bfd1bccb84038a68858733bdf3edbcde0bba
parent 594702 035c25bef7b5e4175006e63eff10c61c2eef73f1
child 633511 7a016fb49539acd3694b9953f26b84931ad51507
push id64126
push userbmo:ato@mozilla.com
push dateThu, 15 Jun 2017 12:38:06 +0000
reviewersautomatedtester
bugs1373218
milestone56.0a1
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
testing/marionette/error.js
--- 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],