Skip to content

Commit

Permalink
Fix inappropriate usage of "userPromptHandler" as capability name.
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Apr 10, 2024
1 parent 43903d0 commit ade93c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@ <h3>Processing capabilities</h3>
used. The intent is that if this is not possible a new session
will not be established.

<dt>"<code>userPromptHandler</code>"
<dt>"<code>unhandledPromptBehavior</code>"
<dd><p>If <a>check user prompt handler matches</a>
with <var>value</var> is false, return <a>success</a> with
data <a><code>null</code></a>.
Expand Down Expand Up @@ -2295,18 +2295,18 @@ <h3>Global State</h3>
"<code>acceptInsecureCerts</code>" from <var>capabilities</var>.

<li><p>Let <var>user prompt handler capability</var> be the result of getting property
"<code>userPromptHandler</code>" from <var>capabilities</var>.
"<code>unhandledPromptBehavior</code>" from <var>capabilities</var>.

<li><p>If <var>user prompt handler capability</var> is not
<li><p>If <var>user prompt handler capability</var> is not
undefined, <a>update the user prompt handler</a> with <var>user
prompt handler capability</var>.

<li><p>Let <var>serialized user prompt handler</var>
<li><p>Let <var>serialized user prompt handler</var>
be <a>serialize the user prompt handler</a>.

<li><p>If <var>seralized user prompt handler</var> is not null, set
<li><p>If <var>serialized user prompt handler</var> is not null, set
a property on <var>capabilities</var> with the name
"<code>userPromptHandler</code>", and the value <var>serialized
"<code>unhandledPromptBehavior</code>", and the value <var>serialized
user prompt handler</var>.

<li><p>If <var>flags</var> <var>contains</var> "<code>http</code>":
Expand Down

0 comments on commit ade93c7

Please sign in to comment.