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 --- .../checkout/conformance/context/00_test_list.txt | 21 + .../context/constants-and-properties.html | 546 +++++++++++++++++++++ ...ttribute-preserve-drawing-buffer-antialias.html | 143 ++++++ .../context-attribute-preserve-drawing-buffer.html | 117 +++++ ...t-attributes-alpha-depth-stencil-antialias.html | 281 +++++++++++ .../context/context-creation-and-destruction.html | 35 ++ .../conformance/context/context-creation.html | 35 ++ .../context-eviction-with-garbage-collection.html | 57 +++ .../conformance/context/context-hidden-alpha.html | 166 +++++++ .../conformance/context/context-lost-restored.html | 287 +++++++++++ .../checkout/conformance/context/context-lost.html | 379 ++++++++++++++ .../context/context-no-alpha-fbo-with-alpha.html | 77 +++ .../context/context-release-upon-reload.html | 72 +++ .../context/context-release-with-workers.html | 72 +++ .../conformance/context/context-size-change.html | 92 ++++ .../conformance/context/context-type-test.html | 53 ++ .../context/deleted-object-behavior.html | 237 +++++++++ .../incorrect-context-object-behaviour.html | 165 +++++++ .../checkout/conformance/context/methods.html | 178 +++++++ .../conformance/context/premultiplyalpha-test.html | 251 ++++++++++ .../context-release-child-with-worker.html | 55 +++ .../context-release-upon-reload-child.html | 54 ++ .../context/resources/context-release-worker.js | 4 + .../user-defined-properties-on-context.html | 49 ++ .../conformance/context/zero-sized-canvas.html | 59 +++ 25 files changed, 3485 insertions(+) create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/00_test_list.txt create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer-antialias.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-attributes-alpha-depth-stencil-antialias.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation-and-destruction.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-eviction-with-garbage-collection.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-hidden-alpha.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost-restored.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-no-alpha-fbo-with-alpha.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-upon-reload.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-with-workers.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-size-change.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/context-type-test.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/deleted-object-behavior.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/incorrect-context-object-behaviour.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/methods.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/premultiplyalpha-test.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-child-with-worker.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-upon-reload-child.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-worker.js create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/user-defined-properties-on-context.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/context/zero-sized-canvas.html (limited to 'dom/canvas/test/webgl-conf/checkout/conformance/context') diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/00_test_list.txt b/dom/canvas/test/webgl-conf/checkout/conformance/context/00_test_list.txt new file mode 100644 index 0000000000..f1acae5dfa --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/00_test_list.txt @@ -0,0 +1,21 @@ +--max-version 1.9.9 constants-and-properties.html +--min-version 1.0.2 context-attribute-preserve-drawing-buffer.html +--min-version 1.0.4 context-attribute-preserve-drawing-buffer-antialias.html +context-attributes-alpha-depth-stencil-antialias.html +--min-version 1.0.4 context-size-change.html +--min-version 1.0.4 context-no-alpha-fbo-with-alpha.html +--min-version 1.0.2 --slow context-creation-and-destruction.html +--min-version 1.0.3 --slow context-creation.html +--min-version 1.0.3 --slow context-eviction-with-garbage-collection.html +--min-version 1.0.3 context-hidden-alpha.html +--min-version 1.0.2 context-release-upon-reload.html +--min-version 1.0.2 context-release-with-workers.html +context-lost-restored.html +context-lost.html +--max-version 1.9.9 context-type-test.html +--min-version 1.0.4 deleted-object-behavior.html +incorrect-context-object-behaviour.html +--max-version 1.9.9 methods.html +premultiplyalpha-test.html +--min-version 1.0.4 user-defined-properties-on-context.html +--min-version 1.0.4 zero-sized-canvas.html diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html new file mode 100644 index 0000000000..ccf128e11b --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html @@ -0,0 +1,546 @@ + + + + + +WebGL Constants and Properties Test + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer-antialias.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer-antialias.html new file mode 100644 index 0000000000..fa8d9937db --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer-antialias.html @@ -0,0 +1,143 @@ + + + + + + + + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer.html new file mode 100644 index 0000000000..7a023996fb --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attribute-preserve-drawing-buffer.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + +
+ + + +
+should look like +
+
+
+
+
+
+
+ + + +
+should look like +
+
+
+
+
+
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attributes-alpha-depth-stencil-antialias.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attributes-alpha-depth-stencil-antialias.html new file mode 100644 index 0000000000..40f46a744a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-attributes-alpha-depth-stencil-antialias.html @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + +
+
+ + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation-and-destruction.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation-and-destruction.html new file mode 100644 index 0000000000..72324b5f17 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation-and-destruction.html @@ -0,0 +1,35 @@ + + + + + + +Test that contexts are freed and garbage collected reasonably + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation.html new file mode 100644 index 0000000000..ceeb5b092b --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-creation.html @@ -0,0 +1,35 @@ + + + + + + +Test that you can create large numbers of WebGL contexts. + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-eviction-with-garbage-collection.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-eviction-with-garbage-collection.html new file mode 100644 index 0000000000..1898e73520 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-eviction-with-garbage-collection.html @@ -0,0 +1,57 @@ + + + + + + +Test that context eviction and garbage collection do not interfere with each other + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-hidden-alpha.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-hidden-alpha.html new file mode 100644 index 0000000000..ed67fc0093 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-hidden-alpha.html @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + +
+
+
+ + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost-restored.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost-restored.html new file mode 100644 index 0000000000..6942e3d1ce --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost-restored.html @@ -0,0 +1,287 @@ + + + + + + + + + + + +
+
+ + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost.html new file mode 100644 index 0000000000..31d07a94a9 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-lost.html @@ -0,0 +1,379 @@ + + + + + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-no-alpha-fbo-with-alpha.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-no-alpha-fbo-with-alpha.html new file mode 100644 index 0000000000..81fc80ee5f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-no-alpha-fbo-with-alpha.html @@ -0,0 +1,77 @@ + + + + + + + + + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-upon-reload.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-upon-reload.html new file mode 100644 index 0000000000..fbd3a61741 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-upon-reload.html @@ -0,0 +1,72 @@ + + + + + + +WebGL Context Release Test + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-with-workers.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-with-workers.html new file mode 100644 index 0000000000..23037fd3c1 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-release-with-workers.html @@ -0,0 +1,72 @@ + + + + + + +WebGL Context Release Test + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-size-change.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-size-change.html new file mode 100644 index 0000000000..638d7a7099 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-size-change.html @@ -0,0 +1,92 @@ + + + + + + + + + + + + + +
+
+ + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/context-type-test.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-type-test.html new file mode 100644 index 0000000000..1aa315219a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/context-type-test.html @@ -0,0 +1,53 @@ + + + + + + +WebGL Canvas Conformance Tests + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/deleted-object-behavior.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/deleted-object-behavior.html new file mode 100644 index 0000000000..525f399678 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/deleted-object-behavior.html @@ -0,0 +1,237 @@ + + + + + + +Deleted Object Behavior + + + + + +
+
+ +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/incorrect-context-object-behaviour.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/incorrect-context-object-behaviour.html new file mode 100644 index 0000000000..30d9b04708 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/incorrect-context-object-behaviour.html @@ -0,0 +1,165 @@ + + + + + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/methods.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/methods.html new file mode 100644 index 0000000000..d1e47f32a3 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/methods.html @@ -0,0 +1,178 @@ + + + + + +WebGL Methods Test + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/premultiplyalpha-test.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/premultiplyalpha-test.html new file mode 100644 index 0000000000..ecbe251611 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/premultiplyalpha-test.html @@ -0,0 +1,251 @@ + + + + + + +Test the WebGL premultipliedAlpha context creation flag. + + + + + +
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-child-with-worker.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-child-with-worker.html new file mode 100644 index 0000000000..66408c0ef2 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-child-with-worker.html @@ -0,0 +1,55 @@ + + + + + + +Simple WebGL context with Worker + + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-upon-reload-child.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-upon-reload-child.html new file mode 100644 index 0000000000..9f06c41d4e --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-upon-reload-child.html @@ -0,0 +1,54 @@ + + + + + + +Simple WebGL context + + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-worker.js b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-worker.js new file mode 100644 index 0000000000..3680117c25 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/resources/context-release-worker.js @@ -0,0 +1,4 @@ +// Simple worker used to provoke WebGL context release bugs on Chrome + +postMessage("Hello World"); +close(); \ No newline at end of file diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/user-defined-properties-on-context.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/user-defined-properties-on-context.html new file mode 100644 index 0000000000..4029087c1f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/user-defined-properties-on-context.html @@ -0,0 +1,49 @@ + + + + + +WebGL User-Defined Properties Test + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/context/zero-sized-canvas.html b/dom/canvas/test/webgl-conf/checkout/conformance/context/zero-sized-canvas.html new file mode 100644 index 0000000000..13e1338865 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/zero-sized-canvas.html @@ -0,0 +1,59 @@ + + + + + + + + + + + +
+
+ + + -- cgit v1.2.3