Bug 1810962 [wpt PR 38031] - Remove duplicated restore calls, a=testonly
commite1b4390be7fc7511b461cbb5d753295cb5d65107
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 27 Jan 2023 14:12:18 +0000 (27 14:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 1 Feb 2023 13:59:21 +0000 (1 13:59 +0000)
tree1c51d173632f0e68f2a47bb0465ec8261159dadf
parent546b289b5dd083c7647804fbd97b88c3a35d6ca2
Bug 1810962 [wpt PR 38031] - Remove duplicated restore calls, a=testonly

Automatic update from web-platform-tests
Remove duplicated restore calls (#38031)

* Remove duplicated restore calls.

Calling window_state_context() sets that restore() is added as cleanup
function. So it is unnecessary to set restore() as cleanup function again.

Also, until minimize() is called, rect is null, so this test will call
set_window_rect with null parameter. It doesn't support on Gecko [*1].

*1 https://searchfox.org/mozilla-central/rev/9563aef5a0aeaedc73f363172a93b2f10e289c2e/testing/marionette/client/marionette_driver/marionette.py#1358-1375
--

wpt-commits: d2ebdb52aa5045f96a5eb043fb4f91ae2b5a0f4b
wpt-pr: 38031
testing/web-platform/tests/screen-orientation/hidden_document.html
testing/web-platform/tests/screen-orientation/resources/orientation-utils.js