summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/canvas/offscreen/manual
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/html/canvas/offscreen/manual
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/html/canvas/offscreen/manual')
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.html.ini9
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.w.html.ini11
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.html.ini4
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.w.html.ini5
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html.ini6
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html.ini18
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js.ini16
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini26
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html.ini5
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html.ini8
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.html.ini7
-rw-r--r--testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.w.html.ini8
12 files changed, 123 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.html.ini
new file mode 100644
index 0000000000..8268935452
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.html.ini
@@ -0,0 +1,9 @@
+[2d.text.draw.generic.family.html]
+ [Test that drawing fantasy produces the same result between canvas and OffscreenCanvas]
+ expected:
+ if os == "mac": FAIL
+
+ [Test that drawing serif produces the same result between canvas and OffscreenCanvas]
+ expected:
+ if (os == "android") and not swgl: [FAIL, PASS]
+ if (os == "android") and swgl: [PASS, FAIL]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.w.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.w.html.ini
new file mode 100644
index 0000000000..966a6c2d22
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/draw-generic-family/2d.text.draw.generic.family.w.html.ini
@@ -0,0 +1,11 @@
+[2d.text.draw.generic.family.w.html]
+ expected:
+ if (os == "android") and swgl: [OK, TIMEOUT]
+ if os == "mac": ERROR
+ [Test that drawing serif produces the same result between canvas and OffscreenCanvas in a Worker]
+ expected:
+ if os == "mac": TIMEOUT
+
+ [Test that drawing fantasy produces the same result between canvas and OffscreenCanvas in a Worker]
+ expected:
+ if os == "mac": TIMEOUT
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.html.ini
new file mode 100644
index 0000000000..adeb3db73a
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.html.ini
@@ -0,0 +1,4 @@
+[offscreencanvas.filter.html]
+ [none]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.w.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.w.html.ini
new file mode 100644
index 0000000000..96240109e5
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/filter/offscreencanvas.filter.w.html.ini
@@ -0,0 +1,5 @@
+[offscreencanvas.filter.w.html]
+ expected: ERROR
+ [offscreencanvas]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html.ini
new file mode 100644
index 0000000000..171564dd6e
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html.ini
@@ -0,0 +1,6 @@
+[offscreencanvas.commit.html]
+ [Test that calling OffscreenCanvas's commit pushes its contents to its placeholder.]
+ expected:
+ if os == "android": PASS
+ FAIL
+
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html.ini
new file mode 100644
index 0000000000..3b3a4a21d4
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html.ini
@@ -0,0 +1,18 @@
+[offscreencanvas.getcontext.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ [Test that getContext with supported string returns correct results]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if os == "win": FAIL
+
+ [Test that webglcontext.canvas should return the original OffscreenCanvas]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+
+ [Test that getContext twice with different context type returns null the second time]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js.ini
new file mode 100644
index 0000000000..9a9ba4fe5f
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js.ini
@@ -0,0 +1,16 @@
+[offscreencanvas.getcontext.worker.html]
+ [Test that getContext with supported string returns correct results]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if os == "win": FAIL
+
+ [Test that webglcontext.canvas should return the original OffscreenCanvas]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+
+ [Test that getContext twice with different context type returns null the second time]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini
new file mode 100644
index 0000000000..48067aaf6a
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini
@@ -0,0 +1,26 @@
+[offscreencanvas.resize.html]
+ [Verify that resizing an OffscreenCanvas with a 2d context propagates the new size to its placeholder canvas asynchronously.]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Verify that resizing an OffscreenCanvas with a webgl context propagates the new size to its placeholder canvas asynchronously.]
+ expected:
+ if (os == "linux") and (processor == "x86_64") and debug and fission and not swgl: PASS
+ if (os == "linux") and (processor == "x86_64") and debug and not fission and swgl: PASS
+ if (os == "linux") and (processor == "x86"): [FAIL, PASS]
+ if os == "mac": PASS
+ if os == "win": PASS
+ [PASS, FAIL]
+
+ [Verify that drawImage uses the size of the frame as the intinsic size of a placeholder canvas.]
+ expected:
+ if (os == "linux") and swgl and not fission: PASS
+ if os == "mac": PASS
+ if os == "win": PASS
+ [PASS, FAIL]
+
+ [Verify that writing to the width and height attributes of an OffscreenCanvas works when there is a webgl context attached.]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html.ini
new file mode 100644
index 0000000000..036cf1386f
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html.ini
@@ -0,0 +1,5 @@
+[offscreencanvas.transfer.to.imagebitmap.html]
+ [Test that transferToImageBitmap returns an ImageBitmap with correct width and height]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html.ini
new file mode 100644
index 0000000000..c71cad5f5d
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html.ini
@@ -0,0 +1,8 @@
+[offscreencanvas.transfer.to.imagebitmap.w.html]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [ERROR, OK]
+ if (os == "linux") and not debug and (processor == "x86_64"): [OK, ERROR]
+ [Test that transferToImageBitmap returns an ImageBitmap with correct width and height in a worker]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.html.ini
new file mode 100644
index 0000000000..f395503fad
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.html.ini
@@ -0,0 +1,7 @@
+[offscreencanvas.transferrable.html]
+ [Test that transfer an OffscreenCanvas that has a context throws exception.]
+ expected: FAIL
+
+ [Test that transfer an OffscreenCanvas twice throws exception.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.w.html.ini b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.w.html.ini
new file mode 100644
index 0000000000..1c6cb7cd8e
--- /dev/null
+++ b/testing/web-platform/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transferrable.w.html.ini
@@ -0,0 +1,8 @@
+[offscreencanvas.transferrable.w.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ [Test that transfer an OffscreenCanvas that has a webgl context throws exception in a worker.]
+ expected: FAIL
+
+ [Test that transfer an OffscreenCanvas that has a 2d context throws exception in a worker.]
+ expected: FAIL