Skip to content

Commit

Permalink
Make Minimize Window idempotent
Browse files Browse the repository at this point in the history
Minimize Window is the only window manipulation command
that toggles the state of the window when called.

This helps to address #1007. The way to restore a
window from minimized, fullscreen, or maximized state
is to call `Set Window Rect`.
  • Loading branch information
shs96c committed Aug 17, 2017
1 parent e5a5e92 commit 1e1e590
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions webdriver-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -4108,16 +4108,7 @@ <h3>Minimize Window</h3>

<li><p><a>Fully exit fullscreen</a>.

<li><p>Switching on the <a>visibility state</a>
of the <a>current top-level browsing context</a>’s <a>active document</a>:

<dl class=switch>
<dt><a data-lt="visibility hidden">hidden</a>
<dd><p><a>Restore the window</a>.

<dt>Otherwise
<dd><p><a>Iconify the window</a>.
</dl>
<li><p><a>Iconify the window</a>.

<li><p>Return <a>success</a>
with the <a data-lt="json serialization of window rect">JSON serialization</a>
Expand Down

0 comments on commit 1e1e590

Please sign in to comment.