From 225c89e94f30c5b949fbb815e35b1253a8fc2642 Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 9 Feb 2024 13:48:40 +0000 Subject: [PATCH] Rewrite the user prompt handler configuration to allow overrides The idea is that for BiDi we'll accept objects like: { "alert": "dismiss", "beforeUnload": "ignore" } to allow different handling per prompt type, whilst falling back to the appropiate defaults to maintain the current behaviour for implementations that don't support BiDi. --- index.html | 352 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 245 insertions(+), 107 deletions(-) diff --git a/index.html b/index.html index 8c798ea7..25076902 100644 --- a/index.html +++ b/index.html @@ -1571,7 +1571,7 @@

Capabilities

"unhandledPromptBehavior" string Describes the session's user prompt handler. - Defaults to the dismiss and notify state. + Defaults to "dismiss and notify". @@ -2124,6 +2124,11 @@

Processing capabilities

used. The intent is that if this is not possible a new session will not be established. +
"userPromptHandler" +

If check user prompt handler matches + with value is false, return success with + data null. +

Otherwise
+
Infra +

The following terms are defined in the Infra specification: [[INFRA]] +

+
The following terms are defined in the Netscape Navigator Proxy Auto-Config File Format: