Skip to content

Commit

Permalink
Fix CDDL for handling user prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Jun 24, 2024
1 parent fd7daf9 commit 80e449e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ This is a [=static command=].
setWindowRect: bool,
userAgent: text,
? proxy: session.ProxyConfiguration,
? unahandledPromptBehavior: session.UserPromptHandler,
? unhandledPromptBehavior: session.UserPromptHandler,
? webSocketUrl: text,
Extensible
}
Expand Down Expand Up @@ -2658,15 +2658,15 @@ browsingContext.ReadinessState = "none" / "interactive" / "complete"
The <code>browsingContext.ReadinessState</code> type represents the stage of
document loading at which a navigation command will return.

#### The browsingContext.UserPrompt Type #### {#type-browsingContext-UserPrompt}
#### The browsingContext.UserPromptType Type #### {#type-browsingContext-UserPromptType}

[=Remote end definition=] and [=local end definition=]

<pre class="cddl remote-cddl local-cddl">
browsingContext.UserPromptType = "alert" / "confirm" / "prompt" / "beforeunload";
browsingContext.UserPromptType = "alert" / "beforeunload" / "confirm" / "prompt";
</pre>

The <code>browsingContext.UserPrompt</code> type represents the possible user
The <code>browsingContext.UserPromptType</code> type represents the possible user
prompt types.

### Commands ### {#module-browsingContext-commands}
Expand Down

0 comments on commit 80e449e

Please sign in to comment.