diff --git a/index.html b/index.html index 95526de6..96d9f313 100644 --- a/index.html +++ b/index.html @@ -9120,18 +9120,16 @@

Dispatching actions

grouped by tick, and then causes each action to be run at the appropriate point in the sequence. -

To dispatch actions given input -state, actions by tick, browsing -context, and actions options: +

To wait for an action queue token given input state:

  1. Let token be a new unique identifier. -

  2. Enqueue token in input state's actions - queue. +

  3. Enqueue token in input state's + actions queue.

  4. Wait for token to be the first item - in input state's actions queue. + in input state's actions queue.

    +
-
  • Let actions result be the result of dispatch - actions inner with input state, actions by - tick, browsing context, and actions options. +

    To dispatch actions given input +state, actions by tick, browsing +context, and actions options: + +

      +
    1. Wait for an action queue token with input state. + +

    2. Let actions result be the result of + dispatch actions inner with input state, actions by + tick, browsing context, and actions options.

    3. Dequeue input state's actions queue. -

      Assert: this returns token +

      Assert: this returns token

    4. Return actions result.

    @@ -10325,26 +10331,26 @@

    Release Actions

    is no longer open, return error with error code no such window. -
  • Let input state be the result of get the - input state with session and current - top-level browsing context. +

  • Let input state be the result of get the input state + with session and current top-level browsing context.

  • Let actions options be a new actions options with the is element origin steps set to represents a web element, and the get element origin steps set to get a WebElement origin. +

  • Wait for an action queue token with input state. +

  • Let undo actions be input - state's input cancel list in reverse order. + state's input cancel list in reverse order. + +

  • Try to dispatch actions with input state, + undo actions, current browsing context, + and actions options. -

  • Try to dispatch tick actions with arguments - undo - actions, 0,session's current - browsing context, and actions options.

  • Reset the input state with session - and session's current top-level browsing - context. + and session's current top-level browsing context.

  • Return success with data null.