Bug 846534 - Use a data url as the default WebAPI test page in Marionette, r=mdas

This commit is contained in:
Jonathan Griffin 2013-03-05 13:23:41 -08:00
Родитель 39877875a7
Коммит 5c569613e8
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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);