Bug 1746750 - Part 4. Update test annotations for OffscreenCanvasRenderingContext2D. r=lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D137214
This commit is contained in:
Andrew Osmond 2022-02-03 20:00:26 +00:00
parent 193a13db35
commit c8f32ba43f
1379 changed files with 47 additions and 6193 deletions

View File

@ -5343,6 +5343,7 @@ subsuite = webgl2-core
subsuite = webgl2-core
[generated/test_2_conformance2__offscreencanvas__offscreencanvas-sync.html]
subsuite = webgl2-core
skip-if = (os == 'mac' && !debug)
[generated/test_2_conformance2__offscreencanvas__offscreencanvas-timer-query.html]
subsuite = webgl2-core
[generated/test_2_conformance2__offscreencanvas__offscreencanvas-transfer-image-bitmap.html]

View File

@ -68,6 +68,8 @@ function runTest() {
}
SpecialPowers.pushPrefEnv({"set": [
['dom.workers.requestAnimationFrame', true],
['gfx.offscreencanvas.enabled', true],
['webgl.force-enabled', true],
['webgl.enable-draft-extensions', true],
]}, runTest);

View File

@ -926,6 +926,9 @@ skip-if = (os == 'mac')
[generated/test_2_conformance2__textures__misc__tex-unpack-params-imagedata.html]
# areArraysEqual(actual, expected) should be true. Was false.
fail-if = (os == 'mac' && !apple_silicon)
[generated/test_2_conformance2__offscreencanvas__offscreencanvas-sync.html]
# Timeout
skip-if = (os == 'mac' && !debug)
[generated/test_2_conformance2__renderbuffers__multisampled-depth-renderbuffer-initialization.html]
####################

View File

@ -100,3 +100,6 @@ user_pref("toolkit.telemetry.initDelay", 99999999);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// Use a light color-scheme unless explicitly overriden.
user_pref("layout.css.prefers-color-scheme.content-override", 1);
// Force OffscreenCanvas support
user_pref("gfx.offscreencanvas.enabled", true);
user_pref("dom.workers.requestAnimationFrame", true);

View File

@ -73,3 +73,6 @@ user_pref("browser.cache.offline.enable", true);
user_pref("network.cookie.cookieBehavior", 4);
// Force a light color scheme unless explicitly overriden by pref.
user_pref("layout.css.prefers-color-scheme.content-override", 1);
// Force OffscreenCanvas support
user_pref("gfx.offscreencanvas.enabled", true);
user_pref("dom.workers.requestAnimationFrame", true);

View File

@ -1 +0,0 @@
prefs: [gfx.offscreencanvas.enabled:true]

View File

@ -1,16 +1,7 @@
[createImageBitmap-drawImage.html]
[createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an HTMLVideoElement scaled down, and drawImage on the created ImageBitmap]
expected: FAIL
@ -23,15 +14,9 @@
[createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an HTMLVideoElement, and drawImage on the created ImageBitmap]
expected: FAIL

View File

@ -1,10 +1,4 @@
[createImageBitmap-flipY.html]
[createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an OffscreenCanvas imageOrientation: "none", and drawImage on the created ImageBitmap]
expected: FAIL
[createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap]
expected: FAIL

View File

@ -1,24 +1,3 @@
[createImageBitmap-invalid-args.html]
[createImageBitmap with an OffscreenCanvas source and sh set to 0]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and sw set to 0]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region]
expected: FAIL
[createImageBitmap with CanvasRenderingContext2D image source.]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and a value of 0 int resizeWidth]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and a value of 0 in resizeHeight]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and a value between 0 and 1 in resizeWidth]
expected: FAIL
[createImageBitmap with an OffscreenCanvas source and a value between 0 and 1 in resizeHeight]
expected: FAIL

View File

@ -1,4 +0,0 @@
[createImageBitmap-serializable.html]
[Serialize ImageBitmap created from an OffscreenCanvas]
expected: FAIL

View File

@ -1,4 +0,0 @@
[createImageBitmap-transfer.html]
[Transfer ImageBitmap created from an OffscreenCanvas]
expected: FAIL

View File

@ -1,13 +0,0 @@
[canvas-drawImage-offscreenCanvas.html]
[Test drawing color managed OffscreenCanvas: Canvas color params: srgb, uint8; OffscreenCanvas color params: srgb, float16]
expected: FAIL
[Test drawing color managed OffscreenCanvas: Canvas color params: srgb, float16; OffscreenCanvas color params: srgb, float16]
expected: FAIL
[Test drawing color managed OffscreenCanvas: Canvas color params: srgb, float16; OffscreenCanvas color params: srgb, uint8]
expected: FAIL
[Test drawing color managed OffscreenCanvas: Canvas color params: srgb, uint8; OffscreenCanvas color params: srgb, uint8]
expected: FAIL

View File

@ -1,3 +0,0 @@
[2d.conformance.requirements.basics.html]
[void methods return undefined]
expected: FAIL

View File

@ -1,3 +0,0 @@
[2d.conformance.requirements.basics.worker.html]
[void methods return undefined]
expected: FAIL

View File

@ -1,3 +0,0 @@
[2d.conformance.requirements.missingargs.html]
[Missing arguments cause TypeError]
expected: FAIL

View File

@ -1,3 +0,0 @@
[2d.conformance.requirements.missingargs.worker.html]
[Missing arguments cause TypeError]
expected: FAIL

View File

@ -1 +0,0 @@
prefs: [dom.workers.requestAnimationFrame:true, gfx.offscreencanvas.enabled:true]

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.copy.html]
[OffscreenCanvas test: 2d.composite.canvas.copy]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.copy.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-atop.html]
[OffscreenCanvas test: 2d.composite.canvas.destination-atop]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-atop.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-in.html]
[OffscreenCanvas test: 2d.composite.canvas.destination-in]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-in.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-out.html]
[OffscreenCanvas test: 2d.composite.canvas.destination-out]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-out.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-over.html]
[OffscreenCanvas test: 2d.composite.canvas.destination-over]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.destination-over.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.lighter.html]
[OffscreenCanvas test: 2d.composite.canvas.lighter]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.lighter.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-atop.html]
[OffscreenCanvas test: 2d.composite.canvas.source-atop]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-atop.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-in.html]
[OffscreenCanvas test: 2d.composite.canvas.source-in]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-in.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-out.html]
[OffscreenCanvas test: 2d.composite.canvas.source-out]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-out.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-over.html]
[OffscreenCanvas test: 2d.composite.canvas.source-over]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.source-over.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.xor.html]
[OffscreenCanvas test: 2d.composite.canvas.xor]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.canvas.xor.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.copy.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.copy.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-atop.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-atop.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-in.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-in.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-out.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-out.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-over.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.destination-over.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.lighter.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.lighter.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-atop.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-atop.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-in.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-in.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-out.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-out.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-over.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.source-over.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.xor.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.clip.xor.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvas.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvas]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvas.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvascopy.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvascopy]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvascopy.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvaspattern.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvaspattern]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.canvaspattern.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.default.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.default]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.default.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.fill.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.fill]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.fill.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.image.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.image]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.image.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.imagepattern.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.imagepattern]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.imagepattern.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.invalid.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.invalid]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.invalid.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.range.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.range]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.range.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.copy.html]
[OffscreenCanvas test: 2d.composite.image.copy]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.copy.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-atop.html]
[OffscreenCanvas test: 2d.composite.image.destination-atop]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-atop.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-in.html]
[OffscreenCanvas test: 2d.composite.image.destination-in]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-in.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-out.html]
[OffscreenCanvas test: 2d.composite.image.destination-out]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-out.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-over.html]
[OffscreenCanvas test: 2d.composite.image.destination-over]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.destination-over.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.lighter.html]
[OffscreenCanvas test: 2d.composite.image.lighter]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.lighter.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-atop.html]
[OffscreenCanvas test: 2d.composite.image.source-atop]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-atop.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-in.html]
[OffscreenCanvas test: 2d.composite.image.source-in]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-in.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-out.html]
[OffscreenCanvas test: 2d.composite.image.source-out]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-out.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-over.html]
[OffscreenCanvas test: 2d.composite.image.source-over]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.source-over.worker.html]
[2d]
expected: FAIL

View File

@ -1,4 +0,0 @@
[2d.composite.image.xor.html]
[OffscreenCanvas test: 2d.composite.image.xor]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show More