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