Bug 1285085: Testing for a windows 4x larger than the screen in each dimension should be enough for this test. r=whimboo

MozReview-Commit-ID: 4r6N0Xkrm6j

--HG--
extra : rebase_source : c8f2c7b560c0b75c9ecb748c4ff4160259730f89
This commit is contained in:
Milan Sreckovic 2016-09-09 12:42:34 -04:00
Родитель 6070365bf2
Коммит 16413c625c
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -55,7 +55,7 @@ class TestSetWindowSize(MarionetteTestCase):
"New height is %s but should be %s" % (size['height'], height)) "New height is %s but should be %s" % (size['height'], height))
def test_possible_to_request_window_larger_than_screen(self): def test_possible_to_request_window_larger_than_screen(self):
self.marionette.set_window_size(100000, 100000) self.marionette.set_window_size(4 * self.max_width, 4 * self.max_height)
size = self.marionette.window_size size = self.marionette.window_size
# In X the window size may be greater than the bounds of the screen # In X the window size may be greater than the bounds of the screen