From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../non-automated/application-cache-dedicated.html | 21 ++++++++++ .../non-automated/application-cache-dedicated.js | 1 + .../tests/workers/non-automated/cache.manifest | 3 ++ .../workers/non-automated/infinite-nested.html | 12 ++++++ .../tests/workers/non-automated/infinite-nested.js | 5 +++ .../non-automated/infinite-sibling-and-nested.html | 12 ++++++ .../non-automated/infinite-sibling-and-nested.js | 8 ++++ .../workers/non-automated/infinite-sibling.html | 12 ++++++ .../workers/non-automated/infinite-sibling.js | 8 ++++ .../workers/non-automated/navigator-onLine.html | 46 ++++++++++++++++++++++ .../tests/workers/non-automated/post-a-1.js | 1 + 11 files changed, 129 insertions(+) create mode 100644 testing/web-platform/tests/workers/non-automated/application-cache-dedicated.html create mode 100644 testing/web-platform/tests/workers/non-automated/application-cache-dedicated.js create mode 100644 testing/web-platform/tests/workers/non-automated/cache.manifest create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-nested.html create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-nested.js create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.html create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.js create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-sibling.html create mode 100644 testing/web-platform/tests/workers/non-automated/infinite-sibling.js create mode 100644 testing/web-platform/tests/workers/non-automated/navigator-onLine.html create mode 100644 testing/web-platform/tests/workers/non-automated/post-a-1.js (limited to 'testing/web-platform/tests/workers/non-automated') diff --git a/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.html b/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.html new file mode 100644 index 000000000..704ecbcd7 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.html @@ -0,0 +1,21 @@ + + +cache manifest +

Script did not run.

+

To run this test again, delete private data and then load this test again.

+ diff --git a/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.js b/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.js new file mode 100644 index 000000000..2318c2e26 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/application-cache-dedicated.js @@ -0,0 +1 @@ +postMessage(1); \ No newline at end of file diff --git a/testing/web-platform/tests/workers/non-automated/cache.manifest b/testing/web-platform/tests/workers/non-automated/cache.manifest new file mode 100644 index 000000000..8d80e03b2 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/cache.manifest @@ -0,0 +1,3 @@ +CACHE MANIFEST +application-cache-dedicated.html +application-cache-dedicated.js diff --git a/testing/web-platform/tests/workers/non-automated/infinite-nested.html b/testing/web-platform/tests/workers/non-automated/infinite-nested.html new file mode 100644 index 000000000..3ff3edb35 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-nested.html @@ -0,0 +1,12 @@ + +infinite nested workers +

There number below should be increasing (ideally never-ending).

+
0
+ \ No newline at end of file diff --git a/testing/web-platform/tests/workers/non-automated/infinite-nested.js b/testing/web-platform/tests/workers/non-automated/infinite-nested.js new file mode 100644 index 000000000..137dd0a2e --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-nested.js @@ -0,0 +1,5 @@ +postMessage(1); +var w = new Worker('infinite-nested.js'); +w.onmessage = function(e) { + postMessage(e.data); +} \ No newline at end of file diff --git a/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.html b/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.html new file mode 100644 index 000000000..463546cc9 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.html @@ -0,0 +1,12 @@ + +infinite sibling and nested workers +

The number below should be increasing (ideally never-ending).

+
0
+ diff --git a/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.js b/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.js new file mode 100644 index 000000000..cf7b794a4 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-sibling-and-nested.js @@ -0,0 +1,8 @@ +function createWorker() { + var worker = new Worker('infinite-nested.js?' + Math.random()); + worker.onmessage = function(e) { + postMessage(e.data); + createWorker(); + } +} +createWorker(); \ No newline at end of file diff --git a/testing/web-platform/tests/workers/non-automated/infinite-sibling.html b/testing/web-platform/tests/workers/non-automated/infinite-sibling.html new file mode 100644 index 000000000..edcb8d707 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-sibling.html @@ -0,0 +1,12 @@ + +infinite sibling workers +

The number below should be increasing (ideally never-ending).

+
0
+ diff --git a/testing/web-platform/tests/workers/non-automated/infinite-sibling.js b/testing/web-platform/tests/workers/non-automated/infinite-sibling.js new file mode 100644 index 000000000..6424f7009 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/infinite-sibling.js @@ -0,0 +1,8 @@ +function createWorker() { + var worker = new Worker('post-a-1.js?' + Math.random()); + worker.onmessage = function(e) { + postMessage(e.data); + createWorker(); + } +} +createWorker(); \ No newline at end of file diff --git a/testing/web-platform/tests/workers/non-automated/navigator-onLine.html b/testing/web-platform/tests/workers/non-automated/navigator-onLine.html new file mode 100644 index 000000000..d71aeaf0a --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/navigator-onLine.html @@ -0,0 +1,46 @@ + + +navigator.onLine in dedicated worker +
Log:
+
+ +

As you go online and offline, the log should be filled with the correct status of navigator.onLine.

+

+ diff --git a/testing/web-platform/tests/workers/non-automated/post-a-1.js b/testing/web-platform/tests/workers/non-automated/post-a-1.js new file mode 100644 index 000000000..2318c2e26 --- /dev/null +++ b/testing/web-platform/tests/workers/non-automated/post-a-1.js @@ -0,0 +1 @@ +postMessage(1); \ No newline at end of file -- cgit v1.2.3