diff --git a/index.bs b/index.bs
index c4b946e0..b33553aa 100644
--- a/index.bs
+++ b/index.bs
@@ -2682,7 +2682,8 @@ The browser.createUserContext command creates a
browser.CreateUserContextParameters = {
? acceptInsecureCerts: bool,
- ? proxy: session.ProxyConfiguration
+ ? proxy: session.ProxyConfiguration,
+ ? unhandledPromptBehavior: session.UserPromptHandler
}
@@ -2716,6 +2717,10 @@ The [=remote end steps=] with |session| and |command parameters| are:
[=user context to accept insecure certificates override map=][|user context|]
to |acceptInsecureCerts|.
+1. If |command parameters| [=map/contains=] "unhandledPromptBehavior
",
+ [=map/set=] [=user context to unhandled prompt behavior override map=][|user context|] to
+ |command parameters|["unhandledPromptBehavior
"].
+
1. If |command parameters| [=map/contains=] "proxy
":
1. Let |proxy configuration| be |command parameters|["proxy
"].
@@ -3081,6 +3086,10 @@ or null and an [=struct/item=] named viewport overrides map which is a weak map between [=user contexts=] and [=viewport configuration=].
+A [=remote end=] has an user context to unhandled prompt behavior override map
+which is a weak map between [=user contexts=] and [=/map=] matching the
+session.UserPromptHandlerType
production.
+
### Types ### {#module-browsingcontext-types}
#### The browsingContext.BrowsingContext Type #### {#type-browsingContext-Browsingcontext}
@@ -5597,6 +5606,26 @@ closed steps given |window|, |type|, |accepted| and optional |user text|
+
"default"
, return
+ |behavior map|["default"
].
+
+1. Let |handler configuration| be [=get the prompt handler=] with |type|.
+
+1. Return |handler configuration|'s [=prompt handler configuration/handler=].
+
+browsingContext.UserPromptOpenedParameters
production with the