From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../conformance2/offscreencanvas/00_test_list.txt | 8 +++ .../offscreencanvas/context-creation-worker.html | 39 ++++++++++ .../offscreencanvas/context-creation-worker.js | 13 ++++ .../offscreencanvas/context-creation.html | 36 ++++++++++ .../offscreencanvas/methods-2-worker.html | 39 ++++++++++ .../offscreencanvas/methods-2-worker.js | 13 ++++ .../conformance2/offscreencanvas/methods-2.html | 36 ++++++++++ .../offscreencanvas/offscreencanvas-query.html | 79 ++++++++++++++++++++ .../offscreencanvas/offscreencanvas-sync.html | 77 ++++++++++++++++++++ .../offscreencanvas-timer-query.html | 84 ++++++++++++++++++++++ .../offscreencanvas-transfer-image-bitmap.html | 50 +++++++++++++ 11 files changed, 474 insertions(+) create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/00_test_list.txt create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.js create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.js create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-query.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-sync.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-timer-query.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html (limited to 'dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas') diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/00_test_list.txt b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/00_test_list.txt new file mode 100644 index 0000000000..2aff6e699d --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/00_test_list.txt @@ -0,0 +1,8 @@ +context-creation.html +context-creation-worker.html +methods-2.html +methods-2-worker.html +--min-version 2.0.1 offscreencanvas-query.html +--min-version 2.0.1 offscreencanvas-sync.html +--min-version 2.0.1 offscreencanvas-timer-query.html +--min-version 2.0.1 offscreencanvas-transfer-image-bitmap.html diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.html new file mode 100644 index 0000000000..9362a0a4ce --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.html @@ -0,0 +1,39 @@ + + + + + +WebGL2 Context Creation Test for OffscreenCanvas in a worker + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.js b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.js new file mode 100644 index 0000000000..67bf406482 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.js @@ -0,0 +1,13 @@ +/* +Copyright (c) 2019 The Khronos Group Inc. +Use of this source code is governed by an MIT-style license that can be +found in the LICENSE.txt file. +*/ + +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + if (contextCreation('webgl2')) + self.postMessage("Test passed"); + else + self.postMessage("Test failed"); +}; diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation.html new file mode 100644 index 0000000000..c3f1d2657d --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation.html @@ -0,0 +1,36 @@ + + + + + +WebGL2 Context Creation Test + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.html new file mode 100644 index 0000000000..582fd556a2 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.html @@ -0,0 +1,39 @@ + + + + + +WebGL Methods Test for OffscreenCanvas in a worker + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.js b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.js new file mode 100644 index 0000000000..94c1378f0d --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2-worker.js @@ -0,0 +1,13 @@ +/* +Copyright (c) 2019 The Khronos Group Inc. +Use of this source code is governed by an MIT-style license that can be +found in the LICENSE.txt file. +*/ + +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + if (testAPIs('webgl2')) + self.postMessage("Test passed"); + else + self.postMessage("Test failed"); +} diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2.html new file mode 100644 index 0000000000..c4250f5724 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/methods-2.html @@ -0,0 +1,36 @@ + + + + + +WebGL2 Methods Test for OffscreenCanvas in a worker + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-query.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-query.html new file mode 100644 index 0000000000..8d9e92e511 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-query.html @@ -0,0 +1,79 @@ + + + + + +Test for Query objects with OffscreenCanvas + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-sync.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-sync.html new file mode 100644 index 0000000000..dc70a60bbd --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-sync.html @@ -0,0 +1,77 @@ + + + + + +Test for Sync objects with OffscreenCanvas + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-timer-query.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-timer-query.html new file mode 100644 index 0000000000..8714956fd1 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-timer-query.html @@ -0,0 +1,84 @@ + + + + + +Test for Timer Query objects with OffscreenCanvas + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html new file mode 100644 index 0000000000..cb9232b65a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html @@ -0,0 +1,50 @@ + + + + + +Test for OffscreenCanvas TransferToImageBitmap + + + + + + + +
+
+ + + + -- cgit v1.2.3