зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6070365bf2
Коммит
16413c625c
|
@ -55,7 +55,7 @@ class TestSetWindowSize(MarionetteTestCase):
|
|||
"New height is %s but should be %s" % (size['height'], height))
|
||||
|
||||
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
|
||||
|
||||
# In X the window size may be greater than the bounds of the screen
|
||||
|
|
Загрузка…
Ссылка в новой задаче