Skip to content

Commit

Permalink
Don't require user prompt handler notify to match when creating session
Browse files Browse the repository at this point in the history
This would prevent creating a BiDi session for a browser that already has a HTTP session
with the notify flag set for some prompt handler.
  • Loading branch information
jgraham committed Jun 18, 2024
1 parent 34f9efa commit 0d759c9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10545,11 +10545,7 @@ <h3>User Prompt Handler</h3>
<li><p>If the <var>requested prompt handler</var>&apos;s [=prompt
handler configuration/handler=] is not equal to the <a>user
prompt handler</a>&apos;s [=prompt handler
configuration/handler=], or the <var>requested prompt
handler</var>&apos;s [=prompt handler configuration/notify=]
is not equal to the <a>user prompt
handler</a>&apos;s [=prompt handler configuration/handler=],
return false.
configuration/handler=], return false.

</ol>
</li>
Expand All @@ -10558,6 +10554,12 @@ <h3>User Prompt Handler</h3>
<li>Return true</li>
</ol>

<p class="note">This does not check the <var>requested prompt
handler</var>&apos;s [=prompt handler configuration/notify=] matches
the [=prompt handler configuration/handler=], because the [=prompt
handler configuration/notify=] component only affects the [=HTTP
session=], if any.

<p>To <dfn>update the user prompt handler</dfn> given <var>requested prompt handler</var>:

<ol class=algorithm>
Expand Down

0 comments on commit 0d759c9

Please sign in to comment.