Skip to content

Commit 05a283e

Browse files
whimboojgraham
authored andcommitted
Fix CDDL for handling user prompts
1 parent fd7daf9 commit 05a283e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ This is a [=static command=].
17811781
setWindowRect: bool,
17821782
userAgent: text,
17831783
? proxy: session.ProxyConfiguration,
1784-
? unahandledPromptBehavior: session.UserPromptHandler,
1784+
? unhandledPromptBehavior: session.UserPromptHandler,
17851785
? webSocketUrl: text,
17861786
Extensible
17871787
}
@@ -2658,15 +2658,15 @@ browsingContext.ReadinessState = "none" / "interactive" / "complete"
26582658
The <code>browsingContext.ReadinessState</code> type represents the stage of
26592659
document loading at which a navigation command will return.
26602660

2661-
#### The browsingContext.UserPrompt Type #### {#type-browsingContext-UserPrompt}
2661+
#### The browsingContext.UserPromptType Type #### {#type-browsingContext-UserPromptType}
26622662

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

26652665
<pre class="cddl remote-cddl local-cddl">
2666-
browsingContext.UserPromptType = "alert" / "confirm" / "prompt" / "beforeunload";
2666+
browsingContext.UserPromptType = "alert" / "beforeunload" / "confirm" / "prompt";
26672667
</pre>
26682668

2669-
The <code>browsingContext.UserPrompt</code> type represents the possible user
2669+
The <code>browsingContext.UserPromptType</code> type represents the possible user
26702670
prompt types.
26712671

26722672
### Commands ### {#module-browsingContext-commands}

0 commit comments

Comments
 (0)