Skip to content

Commit af51973

Browse files
committed
Unconditionally return the unhandledPromptBehavior capability
When creating a session, ensure that we always return the used value of this capability, whether or not it was passed in.
1 parent 59d550b commit af51973

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,8 +2304,7 @@

Global State

23042304
<li><p>Let <var>serialized user prompt handlervar>
23052305
be <a>serialize the user prompt handlera>.
23062306

2307-
<li><p>If <var>serialized user prompt handlervar> is not null, set
2308-
a property on <var>capabilitiesvar> with the name
2307+
<li><p>Set a property on <var>capabilitiesvar> with the name
23092308
"<code>unhandledPromptBehaviorcode>", and the value <var>serialized
23102309
user prompt handlervar>.
23112310

@@ -10583,7 +10582,8 @@

User Prompt Handler

1058310582
<p>To <dfn>serialize the user prompt handlerdfn>:
1058410583

1058510584
<ol class=algorithm>
10586-
<li><p>If the <a>user prompt handlera> is null, return null.
10585+
<li><p>If the <a>user prompt handlera> is null, return
10586+
"<code>dismiss and notifycode>".
1058710587

1058810588
<li><p>If the <a>user prompt handlera> has [=map/size=] 1,
1058910589
and <a>user prompt handlera> [=list/contains=]

0 commit comments

Comments
 (0)