Bug 781920 - Remove getElementValue from HTMLElement in Marionette. r=dburns
authorBob Silverberg <bob.silverberg@gmail.com>
Thu, 16 Aug 2012 17:35:20 -0400
changeset 102580 bf9094653729e1072d9ef856d31ddb4e99e9559a
parent 102579 1dcdf207aced9f7c3c5b02d240b0e5559494034e
child 102581 4da9e1e0b18626e408218068feeaf128cebad822
push id23297
push useremorley@mozilla.com
push dateFri, 17 Aug 2012 12:22:28 +0000
treeherdermozilla-central@e1cd9fb39dd7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdburns
bugs781920
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 781920 - Remove getElementValue from HTMLElement in Marionette. r=dburns
testing/marionette/client/marionette/marionette.py
testing/marionette/client/marionette/testserver.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -57,19 +57,16 @@ class HTMLElement(object):
                 val = str(val)
                 for i in range(len(val)):
                     typing.append(val[i])
             else:
                 for i in range(len(val)):
                     typing.append(val[i])
         return self.marionette._send_message('sendKeysToElement', 'ok', element=self.id, value=typing)
 
-    def value(self):
-        return self.marionette._send_message('getElementValue', 'value', element=self.id)
-
     def clear(self):
         return self.marionette._send_message('clearElement', 'ok', element=self.id)
 
     def is_selected(self):
         return self.marionette._send_message('isElementSelected', 'value', element=self.id)
 
     def is_enabled(self):
         return self.marionette._send_message('isElementEnabled', 'value', element=self.id)
--- a/testing/marionette/client/marionette/testserver.py
+++ b/testing/marionette/client/marionette/testserver.py
@@ -44,17 +44,16 @@ class TestServer(object):
         'executeScript': { 'value': TEST_EXECUTE_RETURN_VALUE },
         'executeAsyncScript': { 'value': TEST_EXECUTE_RETURN_VALUE },
         'executeJSScript': { 'value': TEST_EXECUTE_RETURN_VALUE },
         'findElement': { 'value': TEST_FIND_ELEMENT },
         'findElements': { 'values': TEST_FIND_ELEMENTS },
         'clickElement': { 'ok': True },
         'getElementText': { 'value': TEST_GET_TEXT },
         'sendKeysToElement': { 'ok': True },
-        'getElementValue': { 'value': TEST_GET_VALUE },
         'clearElement': { 'ok': True },
         'isElementSelected': { 'value': True },
         'elementsEqual': { 'value': True },
         'isElementEnabled': { 'value': True },
         'isElementDisplayed': { 'value': True },
         'getElementAttribute': { 'value': TEST_GET_VALUE },
         'getSessionCapabilities': { 'value': {
             "cssSelectorsEnabled": True,