backout Bug 1499135 since it may have caused bug 1499485, r=backout
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Wed, 17 Oct 2018 08:05:00 -0400
changeset 489964 a729ef8fab784e20eeccececa5e69cc5dc153c09
parent 489963 1a9ecfe4c2d4aae717bdb8cdbef9391a1e1c1ba6
child 489965 02d89c011037d8407576ec58e307f632a8f64b0f
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbackout
bugs1499135, 1499485
milestone64.0a1
backout Bug 1499135 since it may have caused bug 1499485, r=backout
testing/web-platform/tests/webdriver/tests/element_clear/clear.py
--- a/testing/web-platform/tests/webdriver/tests/element_clear/clear.py
+++ b/testing/web-platform/tests/webdriver/tests/element_clear/clear.py
@@ -1,12 +1,11 @@
 # META: timeout=long
 
 import pytest
-import time
 
 from webdriver import Element
 
 from tests.support.asserts import (
     assert_element_has_focus,
     assert_error,
     assert_events_equal,
     assert_in_events,
@@ -43,17 +42,17 @@ def test_null_response_value(session):
     element = session.find.css("input", all=False)
 
     response = element_clear(session, element)
     value = assert_success(response)
     assert value is None
 
 
 def test_no_browsing_context(session, closed_window):
-    element = Element("foo" + str(time.time()), session)
+    element = Element("foo", session)
 
     response = element_clear(session, element)
     assert_error(response, "no such window")
 
 
 def test_connected_element(session):
     session.url = inline("<input>")
     element = session.find.css("input", all=False)