зеркало из https://github.com/mozilla/gecko-dev.git
Bug 846534 - Use a data url as the default WebAPI test page in Marionette, r=mdas
This commit is contained in:
Родитель
39877875a7
Коммит
5c569613e8
|
@ -201,8 +201,7 @@ class MarionetteJSTestCase(CommonTestCase):
|
|||
self.marionette.set_context(context)
|
||||
|
||||
if context != "chrome":
|
||||
page = self.marionette.absolute_url("empty.html")
|
||||
self.marionette.navigate(page)
|
||||
self.marionette.navigate('data:text/html,<html>test page</html>')
|
||||
|
||||
timeout = self.timeout_re.search(js)
|
||||
if timeout:
|
||||
|
|
|
@ -8,7 +8,5 @@ is(2, 2, "test for is()");
|
|||
isnot(2, 3, "test for isnot()");
|
||||
ok(2 == 2, "test for ok()");
|
||||
|
||||
is(window.location.pathname.slice(-10), "empty.html");
|
||||
|
||||
setTimeout(finish, 100);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче