From 66c0e78c7d6e6c73ebed3d916f6628aee59ab55c Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Mon, 24 Jul 2023 21:06:36 +0200 Subject: [PATCH] Tests/LibWeb: Add standard built-in objects test for structuredClone() --- .../HTML/StructuredClone-object-primitives.txt | 6 ++++++ .../input/HTML/StructuredClone-object-primitives.html | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/HTML/StructuredClone-object-primitives.txt create mode 100644 Tests/LibWeb/Text/input/HTML/StructuredClone-object-primitives.html diff --git a/Tests/LibWeb/Text/expected/HTML/StructuredClone-object-primitives.txt b/Tests/LibWeb/Text/expected/HTML/StructuredClone-object-primitives.txt new file mode 100644 index 00000000000..2508f71767d --- /dev/null +++ b/Tests/LibWeb/Text/expected/HTML/StructuredClone-object-primitives.txt @@ -0,0 +1,6 @@ +true +false +123 +123.456 +This is a String object +1692748800000 diff --git a/Tests/LibWeb/Text/input/HTML/StructuredClone-object-primitives.html b/Tests/LibWeb/Text/input/HTML/StructuredClone-object-primitives.html new file mode 100644 index 00000000000..df2d3d1bdeb --- /dev/null +++ b/Tests/LibWeb/Text/input/HTML/StructuredClone-object-primitives.html @@ -0,0 +1,11 @@ + +