From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/workers/multi-globals/current/current.html | 3 +++ .../tests/workers/multi-globals/current/worker.js | 1 + .../workers/multi-globals/incumbent/incumbent.html | 14 ++++++++++++++ .../tests/workers/multi-globals/incumbent/worker.js | 1 + .../tests/workers/multi-globals/url-parsing.html | 20 ++++++++++++++++++++ .../tests/workers/multi-globals/worker.js | 1 + 6 files changed, 40 insertions(+) create mode 100644 testing/web-platform/tests/workers/multi-globals/current/current.html create mode 100644 testing/web-platform/tests/workers/multi-globals/current/worker.js create mode 100644 testing/web-platform/tests/workers/multi-globals/incumbent/incumbent.html create mode 100644 testing/web-platform/tests/workers/multi-globals/incumbent/worker.js create mode 100644 testing/web-platform/tests/workers/multi-globals/url-parsing.html create mode 100644 testing/web-platform/tests/workers/multi-globals/worker.js (limited to 'testing/web-platform/tests/workers/multi-globals') diff --git a/testing/web-platform/tests/workers/multi-globals/current/current.html b/testing/web-platform/tests/workers/multi-globals/current/current.html new file mode 100644 index 0000000000..e6261f8388 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/current/current.html @@ -0,0 +1,3 @@ + + +Current page diff --git a/testing/web-platform/tests/workers/multi-globals/current/worker.js b/testing/web-platform/tests/workers/multi-globals/current/worker.js new file mode 100644 index 0000000000..44103842a4 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/current/worker.js @@ -0,0 +1 @@ +postMessage('current'); diff --git a/testing/web-platform/tests/workers/multi-globals/incumbent/incumbent.html b/testing/web-platform/tests/workers/multi-globals/incumbent/incumbent.html new file mode 100644 index 0000000000..d8bd1ae2c0 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/incumbent/incumbent.html @@ -0,0 +1,14 @@ + + +Incumbent page + + + + diff --git a/testing/web-platform/tests/workers/multi-globals/incumbent/worker.js b/testing/web-platform/tests/workers/multi-globals/incumbent/worker.js new file mode 100644 index 0000000000..03f02a8690 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/incumbent/worker.js @@ -0,0 +1 @@ +postMessage('incumbent'); diff --git a/testing/web-platform/tests/workers/multi-globals/url-parsing.html b/testing/web-platform/tests/workers/multi-globals/url-parsing.html new file mode 100644 index 0000000000..27bbc0cb50 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/url-parsing.html @@ -0,0 +1,20 @@ + + +Multiple globals for Worker constructor: parsing scriptURL + + + + + + + + diff --git a/testing/web-platform/tests/workers/multi-globals/worker.js b/testing/web-platform/tests/workers/multi-globals/worker.js new file mode 100644 index 0000000000..fcc521e313 --- /dev/null +++ b/testing/web-platform/tests/workers/multi-globals/worker.js @@ -0,0 +1 @@ +postMessage('entry'); -- cgit v1.2.3