From de80bc12fe1d98091d2dd58cd0e7e615ce846398 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Thu, 7 May 2015 17:18:05 +0100 Subject: [PATCH] Bug 1162515: Remove FrameSendFailureError and FrameNotInitializedError Removes FrameSendFailureError and FrameNotInitializedError from the Marionette Python client. r=davehunt --HG-- extra : commitid : GUUlKplFtOH extra : rebase_source : 8d4d135f8a0adee8491b0af2b8c65861adc712ca --- .../marionette/client/marionette/marionette_test.py | 2 +- testing/marionette/driver/marionette_driver/errors.py | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/testing/marionette/client/marionette/marionette_test.py b/testing/marionette/client/marionette/marionette_test.py index 97454b25a4f0..6f0ecb96242e 100644 --- a/testing/marionette/client/marionette/marionette_test.py +++ b/testing/marionette/client/marionette/marionette_test.py @@ -21,7 +21,7 @@ from marionette_driver.errors import ( StaleElementException, ScriptTimeoutException, ElementNotVisibleException, NoSuchFrameException, InvalidElementStateException, NoAlertPresentException, InvalidCookieDomainException, UnableToSetCookieException, InvalidSelectorException, - MoveTargetOutOfBoundsException, FrameSendNotInitializedError, FrameSendFailureError + MoveTargetOutOfBoundsException ) from marionette_driver.marionette import Marionette from marionette_driver.wait import Wait diff --git a/testing/marionette/driver/marionette_driver/errors.py b/testing/marionette/driver/marionette_driver/errors.py index a745caecc8b8..31affbfa7c9c 100644 --- a/testing/marionette/driver/marionette_driver/errors.py +++ b/testing/marionette/driver/marionette_driver/errors.py @@ -150,16 +150,6 @@ class MoveTargetOutOfBoundsException(MarionetteException): status = "move target out of bounds" -class FrameSendNotInitializedError(MarionetteException): - code = (54,) - status = "frame send not initialized" - - -class FrameSendFailureError(MarionetteException): - code = (55,) - status = "frame send failure" - - class SessionNotCreatedException(MarionetteException): code = (33, 71) status = "session not created"