diff --git a/Tests/LibWeb/Text/expected/wpt-import/trusted-types/DedicatedWorker-constructor.https.txt b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/DedicatedWorker-constructor.https.txt new file mode 100644 index 00000000000..f85ce6e47fa --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/DedicatedWorker-constructor.https.txt @@ -0,0 +1,8 @@ +Harness status: OK + +Found 3 tests + +3 Pass +Pass Create Worker via ScriptTestUrl +Pass Block Worker creation via string +Pass Create Worker via string with default policy. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/trusted-types/Range-createContextualFragment.txt b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/Range-createContextualFragment.txt new file mode 100644 index 00000000000..351b40b00cd --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/Range-createContextualFragment.txt @@ -0,0 +1,6 @@ +Harness status: OK + +Found 1 tests + +1 Pass +Pass range.createContextualFragment assigned via policy (successful HTML transformation). \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/trusted-types/SharedWorker-constructor.https.txt b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/SharedWorker-constructor.https.txt new file mode 100644 index 00000000000..2b2178b94bf --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/SharedWorker-constructor.https.txt @@ -0,0 +1,8 @@ +Harness status: OK + +Found 3 tests + +3 Pass +Pass Create SharedWorker via ScriptTestUrl +Pass Block SharedWorker creation via string +Pass Create SharedWorker via string with default policy. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.txt b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.txt new file mode 100644 index 00000000000..00f535fbe75 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.txt @@ -0,0 +1,10 @@ +Harness status: OK + +Found 5 tests + +5 Pass +Pass range.createContextualFragment assigned via policy (successful HTML transformation). +Pass `range.createContextualFragment(string)` throws. +Pass `range.createContextualFragment(null)` throws. +Pass `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation). +Pass `range.createContextualFragment(null)` assigned via default policy does not throw. \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/trusted-types/DedicatedWorker-constructor.https.html b/Tests/LibWeb/Text/input/wpt-import/trusted-types/DedicatedWorker-constructor.https.html new file mode 100644 index 00000000000..61f1b7ebc46 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/trusted-types/DedicatedWorker-constructor.https.html @@ -0,0 +1,52 @@ + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/trusted-types/Range-createContextualFragment.html b/Tests/LibWeb/Text/input/wpt-import/trusted-types/Range-createContextualFragment.html new file mode 100644 index 00000000000..af1e49d5790 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/trusted-types/Range-createContextualFragment.html @@ -0,0 +1,15 @@ + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/trusted-types/SharedWorker-constructor.https.html b/Tests/LibWeb/Text/input/wpt-import/trusted-types/SharedWorker-constructor.https.html new file mode 100644 index 00000000000..a90a4f44690 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/trusted-types/SharedWorker-constructor.https.html @@ -0,0 +1,52 @@ + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.html b/Tests/LibWeb/Text/input/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.html new file mode 100644 index 00000000000..237275f9bf6 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/trusted-types/block-string-assignment-to-Range-createContextualFragment.html @@ -0,0 +1,59 @@ + + + + + + + +