diff options
Diffstat (limited to 'testing/web-platform/meta/html/canvas/element/manual/imagebitmap')
17 files changed, 1161 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini new file mode 100644 index 0000000000..322f3f1acd --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini @@ -0,0 +1,3 @@ +[canvas-ImageBitmap-close.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-resize.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-resize.html.ini new file mode 100644 index 0000000000..0644919f19 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-resize.html.ini @@ -0,0 +1,20 @@ +[canvas-createImageBitmap-resize.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [createImageBitmap from an ImageData with resize option.] + expected: FAIL + + [createImageBitmap from a HTMLImageElement with resize option.] + expected: FAIL + + [createImageBitmap from a HTMLImageElement of svg with no specified size with resize option.] + expected: FAIL + + [createImageBitmap from a HTMLCanvasElement with resize option.] + expected: FAIL + + [createImageBitmap from an ImageBitmap with resize option.] + expected: FAIL + + [createImageBitmap from a Blob with resize option.] + expected: FAIL diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html.ini new file mode 100644 index 0000000000..ba78115df4 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html.ini @@ -0,0 +1,5 @@ +[canvas-createImageBitmap-video-resize.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [createImageBitmap(HTMLVideoElement) with resize option] + expected: FAIL diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-blob-invalidtype.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-blob-invalidtype.html.ini new file mode 100644 index 0000000000..0a9e2568b3 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-blob-invalidtype.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-blob-invalidtype.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini new file mode 100644 index 0000000000..d517fb749e --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-bounds.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini new file mode 100644 index 0000000000..7b7720296d --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini @@ -0,0 +1,4 @@ +[createImageBitmap-colorSpaceConversion.html] + expected: + if (os == "android") and swgl: [ERROR, OK] + if (os == "android") and not swgl: [ERROR, OK] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini new file mode 100644 index 0000000000..435adfb927 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-drawImage-closed.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini new file mode 100644 index 0000000000..e1229bf742 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini @@ -0,0 +1,294 @@ +[createImageBitmap-drawImage.html] + expected: + if (os == "android") and not swgl and debug: [ERROR, OK, TIMEOUT] + if (os == "android") and not swgl and not debug: [OK, TIMEOUT, ERROR] + if (os == "android") and swgl: [OK, TIMEOUT, ERROR] + [createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and not swgl and not debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and not swgl and not debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and not swgl and not debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement with negative sw/sh, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [FAIL, TIMEOUT] + if (os == "android") and not swgl and not debug: [FAIL, TIMEOUT] + if (os == "android") and swgl: [FAIL, TIMEOUT, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [FAIL, NOTRUN] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from a bitmap HTMLImageElement, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap HTMLImageElement scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap HTMLImageElement scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap HTMLImageElement resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap HTMLImageElement with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageData, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageData scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageData scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageData resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageData with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a Blob, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a Blob scaled down, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a Blob scaled up, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a Blob resized, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] + + [createImageBitmap from a Blob with negative sw/sh, and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [PASS, NOTRUN] + if (os == "android") and swgl: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini new file mode 100644 index 0000000000..c23ad4ff46 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-exif-orientation.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation_none.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation_none.html.ini new file mode 100644 index 0000000000..f574c298bb --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation_none.html.ini @@ -0,0 +1,21 @@ +[createImageBitmap-exif-orientation_none.html] + [createImageBitmap with Orientation 2] + expected: FAIL + + [createImageBitmap with Orientation 3] + expected: FAIL + + [createImageBitmap with Orientation 4] + expected: FAIL + + [createImageBitmap with Orientation 5] + expected: FAIL + + [createImageBitmap with Orientation 6] + expected: FAIL + + [createImageBitmap with Orientation 7] + expected: FAIL + + [createImageBitmap with Orientation 8] + expected: FAIL diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini new file mode 100644 index 0000000000..aae2af8bf1 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini @@ -0,0 +1,124 @@ +[createImageBitmap-flipY.html] + expected: + if (os == "android") and debug and not swgl: [TIMEOUT, OK, ERROR] + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [TIMEOUT, OK, ERROR] + [createImageBitmap from an HTMLVideoElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not debug: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [FAIL, NOTRUN] + if (os == "android") and debug and swgl: [FAIL, NOTRUN] + if (os == "android") and not debug: [FAIL, NOTRUN] + FAIL + + [createImageBitmap from an HTMLVideoElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and not debug: [FAIL, TIMEOUT] + FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [FAIL, TIMEOUT] + if (os == "android") and debug and swgl: [FAIL, TIMEOUT] + if (os == "android") and not debug: [FAIL, TIMEOUT, NOTRUN] + FAIL + + [createImageBitmap from a bitmap HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a vector HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a bitmap SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a vector SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an ImageData imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an ImageData imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from an ImageBitmap imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a Blob imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [createImageBitmap from a Blob imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-in-worker-transfer.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-in-worker-transfer.html.ini new file mode 100644 index 0000000000..afc67d1de2 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-in-worker-transfer.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-in-worker-transfer.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini new file mode 100644 index 0000000000..5308002b9a --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini @@ -0,0 +1,509 @@ +[createImageBitmap-invalid-args.html] + disabled: + if os == "android": https://bugzilla.mozilla.org/show_bug.cgi?id=1845961 + expected: + if (os == "android") and not swgl and not debug: [TIMEOUT, OK, ERROR] + if (os == "android") and not swgl and debug: [OK, ERROR, TIMEOUT] + if (os == "android") and swgl: [TIMEOUT, ERROR, OK] + [createImageBitmap with CanvasRenderingContext2D image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + FAIL + + [createImageBitmap with an HTMLVideoElement source and sw set to 0] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and sh set to 0] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and oversized (unallocatable) crop region] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and a value of 0 int resizeWidth] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and a value of 0 in resizeHeight] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and a value between 0 and 1 in resizeWidth] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement source and a value between 0 and 1 in resizeHeight] + expected: + if os == "android": FAIL + + [createImageBitmap with an HTMLVideoElement from a data URL source and sw set to 0] + expected: + if (os == "android") and not swgl and debug: [FAIL, TIMEOUT] + if (os == "android") and not swgl and not debug: [TIMEOUT, FAIL] + if (os == "android") and swgl: [TIMEOUT, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and sh set to 0] + expected: + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with an HTMLVideoElement from a data URL source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, FAIL] + if (os == "android") and not swgl and debug: [FAIL, NOTRUN] + if (os == "android") and swgl: [NOTRUN, FAIL] + + [createImageBitmap with a bitmap HTMLImageElement source and sw set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and sh set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap HTMLImageElement source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and sw set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and sh set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector HTMLImageElement source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and sw set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and sh set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a bitmap SVGImageElement source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and sw set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and sh set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and sw set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and sh set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an OffscreenCanvas source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and sw set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and sh set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageData source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and sw set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and sh set to 0] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an ImageBitmap source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and sw set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and sh set to 0] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and oversized (unallocatable) crop region] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and a value of 0 int resizeWidth] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and a value of 0 in resizeHeight] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and a value between 0 and 1 in resizeWidth] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a Blob source and a value between 0 and 1 in resizeHeight] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with undefined image source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with null image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with WebGLRenderingContext image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with Uint8Array image source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with ArrayBuffer image source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with empty image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with empty video source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an oversized canvas source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an invalid OffscreenCanvas source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an undecodable blob source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a broken image source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an available but undecodable image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an available but zero height image source.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with an available but zero width image source.] + expected: + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and swgl: [NOTRUN, PASS] + + [createImageBitmap with a closed ImageBitmap.] + expected: + if (os == "android") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not swgl and not debug: [NOTRUN, PASS] + if (os == "android") and swgl: [NOTRUN, PASS] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini new file mode 100644 index 0000000000..dd22219fb3 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini @@ -0,0 +1,48 @@ +[createImageBitmap-origin.sub.html] + expected: [OK, TIMEOUT] + [redirected to cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage] + expected: + if (processor == "x86") and debug: [PASS, FAIL, NOTRUN] + [PASS, NOTRUN] + + [redirected to cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap] + expected: + if (processor == "x86") and debug: [PASS, FAIL, TIMEOUT, NOTRUN] + [PASS, TIMEOUT, NOTRUN] + + [unclean HTMLCanvasElement: origin unclear bitmaprenderer.transferFromImageBitmap] + expected: [PASS, NOTRUN] + + [unclean HTMLCanvasElement: origin unclear getImageData] + expected: [PASS, NOTRUN] + + [cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap] + expected: [PASS, TIMEOUT] + + [redirected to same-origin HTMLVideoElement: origin unclear getImageData] + expected: [PASS, NOTRUN] + + [redirected to same-origin HTMLVideoElement: origin unclear 2dContext.drawImage] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL, NOTRUN] + [PASS, NOTRUN] + + [unclean ImageBitmap: origin unclear bitmaprenderer.transferFromImageBitmap] + expected: [PASS, NOTRUN] + + [redirected to same-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL, TIMEOUT, NOTRUN] + [PASS, TIMEOUT, NOTRUN] + + [redirected to cross-origin HTMLVideoElement: origin unclear getImageData] + expected: [PASS, NOTRUN] + + [unclean ImageBitmap: origin unclear getImageData] + expected: [PASS, NOTRUN] + + [unclean HTMLCanvasElement: origin unclear 2dContext.drawImage] + expected: [PASS, NOTRUN] + + [unclean ImageBitmap: origin unclear 2dContext.drawImage] + expected: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini new file mode 100644 index 0000000000..a7fa3d9c48 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini @@ -0,0 +1,46 @@ +[createImageBitmap-serializable.html] + expected: + if os == "android": [TIMEOUT, OK, ERROR] + [Serialize ImageBitmap created from an HTMLVideoElement] + expected: + if os == "android": [FAIL, TIMEOUT] + + [Serialize ImageBitmap created from an HTMLVideoElement from a data URL] + expected: + if os == "android": [FAIL, TIMEOUT, NOTRUN] + + [Serialize ImageBitmap created from a bitmap HTMLImageElement] + expected: + if os == "android": [PASS, NOTRUN] + + [Serialize ImageBitmap created from a vector HTMLImageElement] + expected: + if os == "android": [PASS, NOTRUN, TIMEOUT] + + [Serialize ImageBitmap created from a bitmap SVGImageElement] + expected: + if os == "android": [PASS, NOTRUN, TIMEOUT] + + [Serialize ImageBitmap created from a vector SVGImageElement] + expected: + if os == "android": [PASS, NOTRUN] + + [Serialize ImageBitmap created from an OffscreenCanvas] + expected: + if os == "android": [PASS, NOTRUN] + + [Serialize ImageBitmap created from an ImageData] + expected: + if os == "android": [PASS, NOTRUN] + + [Serialize ImageBitmap created from an ImageBitmap] + expected: + if os == "android": [PASS, NOTRUN] + + [Serialize ImageBitmap created from a Blob] + expected: + if os == "android": [PASS, NOTRUN, TIMEOUT] + + [Serializing a non-origin-clean ImageBitmap throws.] + expected: + if os == "android": [NOTRUN, PASS, TIMEOUT] diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini new file mode 100644 index 0000000000..6fe3ac692b --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini @@ -0,0 +1,3 @@ +[createImageBitmap-sizeOverflow.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT]
\ No newline at end of file diff --git a/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini new file mode 100644 index 0000000000..f2183a0ed3 --- /dev/null +++ b/testing/web-platform/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini @@ -0,0 +1,69 @@ +[createImageBitmap-transfer.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT, ERROR] + if (os == "android") and debug and not swgl: [ERROR, TIMEOUT, OK] + if (os == "android") and not debug: [OK, TIMEOUT, ERROR] + [Transfer ImageBitmap created from an HTMLVideoElement] + expected: + if os == "android": FAIL + + [Transfer ImageBitmap created from an HTMLVideoElement from a data URL] + expected: + if (os == "android") and debug and swgl: [FAIL, TIMEOUT] + if (os == "android") and debug and not swgl: [FAIL, TIMEOUT] + if (os == "android") and not debug: [FAIL, TIMEOUT] + + [Transfer ImageBitmap created from a bitmap HTMLImageElement] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from a vector HTMLImageElement] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from a bitmap SVGImageElement] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from a vector SVGImageElement] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from an OffscreenCanvas] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from an ImageData] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from an ImageBitmap] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transfer ImageBitmap created from a Blob] + expected: + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] + + [Transferring a non-origin-clean ImageBitmap throws.] + expected: + if (os == "android") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and debug and swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, NOTRUN] |