Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 @@ <h3>Global State</h3>
23042304
<li><p>Let <var>serialized user prompt handler</var>
23052305
be <a>serialize the user prompt handler</a>.
23062306

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

@@ -10583,7 +10582,8 @@ <h3>User Prompt Handler</h3>
1058310582
<p>To <dfn>serialize the user prompt handler</dfn>:
1058410583

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

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /