From 0652774783bf6b227d31b25f00b8c7157751159f Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 16 Nov 2021 03:08:34 +0330 Subject: [PATCH] Base: Add a test page for async functions + XMLHttpRequest --- Base/res/html/misc/async-js.html | 56 ++++++++++++++++++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 57 insertions(+) create mode 100644 Base/res/html/misc/async-js.html diff --git a/Base/res/html/misc/async-js.html b/Base/res/html/misc/async-js.html new file mode 100644 index 0000000000..f508cbcb6f --- /dev/null +++ b/Base/res/html/misc/async-js.html @@ -0,0 +1,56 @@ + + + Async JavaScript function test page + + + + + +Click me for fun +
+
+

+
+
diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html
index edecc2152d..9ff7bbe855 100644
--- a/Base/res/html/misc/welcome.html
+++ b/Base/res/html/misc/welcome.html
@@ -147,6 +147,7 @@
             
  • setInterval()
  • window.location property
  • Test for the early return steps 6-8 of the "prepare a script" algorithm
  • +
  • Basic test for async functions and their integration with the LibWeb event loop
  • Canvas

  • canvas 2D test
  • canvas rotate()