diff --git a/index.html b/index.html index 95526de6..626f97d4 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. + queue.

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

    +

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

      +
    1. Call 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. + 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.

    @@ -10326,25 +10331,30 @@

    Release Actions

    code no such window.
  4. Let input state be the result of get the - input state with session and current - top-level browsing context. + input state with session and current + top-level browsing context.

  5. 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. +

  6. Call wait for an action queue token with input state. +

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

  8. Dispatch actions with input state, + undo actions, current browsing context, + and actions options. If this results in an error + return that error. -

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

  10. Dequeue input state's actions queue. +

    Assert: this returns token

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

  12. Return success with data null.