From 894bddf62cc8da242017750f0f4690e9b461bc03 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 15 Nov 2022 15:24:43 -0500 Subject: [PATCH] Base: Add a simple test page for window.prompt The window prototypes alert, confirm, and prompt must "pause" execution until a response is received from the user. This test page is meant to ensure that a timeout queued before a prompt is not executed until after that prompt is closed. --- Base/res/html/misc/prompt.html | 17 +++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 18 insertions(+) create mode 100644 Base/res/html/misc/prompt.html diff --git a/Base/res/html/misc/prompt.html b/Base/res/html/misc/prompt.html new file mode 100644 index 00000000000..bf485cb9489 --- /dev/null +++ b/Base/res/html/misc/prompt.html @@ -0,0 +1,17 @@ + + + + + +

+    
+    
+
diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html
index 8c56941b46e..cd36b35334d 100644
--- a/Base/res/html/misc/welcome.html
+++ b/Base/res/html/misc/welcome.html
@@ -167,6 +167,7 @@
             
  • simple DOM events
  • simple DOM JS
  • alert()
  • +
  • prompt()
  • querySelectorAll()
  • innerHTML()
  • fun demo