Skip to content

Commit 34f9efa

Browse files
whimboojgraham
andauthored
Fix handle any user prompts to set the type for beforeunload prompts (#1816)
Co-authored-by: jgraham <james@hoppipolla.co.uk>
1 parent 48a221b commit 34f9efa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10645,6 +10645,8 @@ <h3>User Prompt Handler</h3>
1064510645

1064610646
<li><p>If the <a>current user prompt</a> is an alert dialog,
1064710647
set <var>type</var> to "<code>alert</code>". Otherwise, if
10648+
the <a>current user prompt</a> is a beforeunload dialog,
10649+
set <var>type</var> to "<code>beforeUnload</code>". Otherwise, if
1064810650
the <a>current user prompt</a> is a confirm dialog,
1064910651
set <var>type</var> to "<code>confirm</code>". Otherwise, if
1065010652
the <a>current user prompt</a> is a prompt dialog,

0 commit comments

Comments
 (0)