Diff
Modified: trunk/LayoutTests/ChangeLog (254512 => 254513)
--- trunk/LayoutTests/ChangeLog 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/ChangeLog 2020-01-14 16:52:28 UTC (rev 254513)
@@ -1,3 +1,23 @@
+2020-01-14 Chris Lord <[email protected]>
+
+ [GTK][WPE] Failures in imported/w3c/web-platform-tests/2dcontext/imagebitmap due to missing OffscreenCanvas.copiedImage
+ https://bugs.webkit.org/show_bug.cgi?id=206221
+
+ Unreviewed test gardening.
+
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt:
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt:
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt:
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt:
+ * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt: Added.
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt:
+
2020-01-14 Antti Koivisto <[email protected]>
[LFC][Integration] Support the feature flag in DumpRenderTree
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -34,11 +34,11 @@
FAIL createImageBitmap from a vector SVGImageElement scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL createImageBitmap from a vector SVGImageElement resized, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL createImageBitmap from a vector SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
-PASS createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
FAIL createImageBitmap from an ImageData, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
FAIL createImageBitmap from an ImageData scaled down, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
FAIL createImageBitmap from an ImageData scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt (0 => 254513)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -0,0 +1,24 @@
+
+PASS createImageBitmap from an HTMLCanvasElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLCanvasElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 1
+PASS createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 1
+PASS createImageBitmap from a bitmap HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from a vector HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a vector HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+FAIL createImageBitmap from a bitmap SVGImageElement imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a bitmap SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a vector SVGImageElement imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a vector SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from an OffscreenCanvas imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an ImageData imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
+FAIL createImageBitmap from an ImageData imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
+PASS createImageBitmap from an ImageBitmap imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an ImageBitmap imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from a Blob imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a Blob imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -1,38 +1,46 @@
-CONSOLE MESSAGE: line 137: Canvas area exceeds the maximum limit (width * height > 268435456).
+CONSOLE MESSAGE: line 142: Canvas area exceeds the maximum limit (width * height > 268435456).
-PASS createImageBitmap with a an HTMLCanvasElement source and sw set to 0
-PASS createImageBitmap with a an HTMLCanvasElement source and sh set to 0
-FAIL createImageBitmap with a an HTMLCanvasElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a an HTMLVideoElement source and sw set to 0
-PASS createImageBitmap with a an HTMLVideoElement source and sh set to 0
-FAIL createImageBitmap with a an HTMLVideoElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a an HTMLVideoElement from a data URL source and sw set to 0
-PASS createImageBitmap with a an HTMLVideoElement from a data URL source and sh set to 0
-FAIL createImageBitmap with a an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a bitmap HTMLImageElement source and sw set to 0
-PASS createImageBitmap with a a bitmap HTMLImageElement source and sh set to 0
-FAIL createImageBitmap with a a bitmap HTMLImageElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a vector HTMLImageElement source and sw set to 0
-PASS createImageBitmap with a a vector HTMLImageElement source and sh set to 0
-FAIL createImageBitmap with a a vector HTMLImageElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL createImageBitmap with a a bitmap SVGImageElement source and sw set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a bitmap SVGImageElement source and sh set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a bitmap SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-FAIL createImageBitmap with a a vector SVGImageElement source and sw set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a vector SVGImageElement source and sh set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a vector SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-FAIL createImageBitmap with a an OffscreenCanvas source and sw set to 0 promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'testCtx.fillStyle = "rgb(255, 0, 0)"')"
-FAIL createImageBitmap with a an OffscreenCanvas source and sh set to 0 promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'testCtx.fillStyle = "rgb(255, 0, 0)"')"
-FAIL createImageBitmap with a an OffscreenCanvas source and oversized (unallocatable) crop region promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'testCtx.fillStyle = "rgb(255, 0, 0)"')"
-PASS createImageBitmap with a an ImageData source and sw set to 0
-PASS createImageBitmap with a an ImageData source and sh set to 0
-FAIL createImageBitmap with a an ImageData source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: createImageBitmap with ImageData is not implemented" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-PASS createImageBitmap with a an ImageBitmap source and sw set to 0
-PASS createImageBitmap with a an ImageBitmap source and sh set to 0
-FAIL createImageBitmap with a an ImageBitmap source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a Blob source and sw set to 0
-PASS createImageBitmap with a a Blob source and sh set to 0
-FAIL createImageBitmap with a a Blob source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
+PASS createImageBitmap with an HTMLCanvasElement source and sw set to 0
+PASS createImageBitmap with an HTMLCanvasElement source and sh set to 0
+FAIL createImageBitmap with an HTMLCanvasElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with an HTMLVideoElement source and sw set to 0
+PASS createImageBitmap with an HTMLVideoElement source and sh set to 0
+FAIL createImageBitmap with an HTMLVideoElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with an HTMLVideoElement from a data URL source and sw set to 0
+PASS createImageBitmap with an HTMLVideoElement from a data URL source and sh set to 0
+FAIL createImageBitmap with an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a bitmap HTMLImageElement source and sw set to 0
+PASS createImageBitmap with a bitmap HTMLImageElement source and sh set to 0
+FAIL createImageBitmap with a bitmap HTMLImageElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a vector HTMLImageElement source and sw set to 0
+PASS createImageBitmap with a vector HTMLImageElement source and sh set to 0
+FAIL createImageBitmap with a vector HTMLImageElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+FAIL createImageBitmap with a bitmap SVGImageElement source and sw set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a bitmap SVGImageElement source and sh set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a bitmap SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+FAIL createImageBitmap with a vector SVGImageElement source and sw set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a vector SVGImageElement source and sh set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a vector SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+PASS createImageBitmap with an OffscreenCanvas source and sw set to 0
+PASS createImageBitmap with an OffscreenCanvas source and sh set to 0
+PASS createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region
+PASS createImageBitmap with an ImageData source and sw set to 0
+PASS createImageBitmap with an ImageData source and sh set to 0
+FAIL createImageBitmap with an ImageData source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: createImageBitmap with ImageData is not implemented" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+PASS createImageBitmap with an ImageBitmap source and sw set to 0
+PASS createImageBitmap with an ImageBitmap source and sh set to 0
+FAIL createImageBitmap with an ImageBitmap source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a Blob source and sw set to 0
+PASS createImageBitmap with a Blob source and sh set to 0
+FAIL createImageBitmap with a Blob source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
PASS createImageBitmap with undefined image source.
PASS createImageBitmap with null image source.
PASS createImageBitmap with CanvasRenderingContext2D image source.
@@ -42,7 +50,7 @@
PASS createImageBitmap with empty image source.
PASS createImageBitmap with empty video source.
PASS createImageBitmap with an oversized canvas source.
-FAIL createImageBitmap with an invalid OffscreenCanvas source. assert_throws: function "function () { throw e }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+PASS createImageBitmap with an invalid OffscreenCanvas source.
PASS createImageBitmap with an undecodable blob source.
PASS createImageBitmap with a broken image source.
FAIL createImageBitmap with an available but undecodable image source. assert_unreached: Should have rejected: undefined Reached unreachable code
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -1,15 +1,35 @@
Blocked access to external URL http://www1.localhost:8800/images/red.png
Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
+Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
+Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
Harness Error (TIMEOUT), message = null
-FAIL cross-origin HTMLImageElement promise_test: Unhandled rejection with value: object "[object Event]"
-FAIL cross-origin SVGImageElement promise_test: Unhandled rejection with value: object "[object Event]"
-FAIL cross-origin HTMLVideoElement promise_test: Unhandled rejection with value: object "[object Event]"
-TIMEOUT redirected to cross-origin HTMLVideoElement Test timed out
-NOTRUN redirected to same-origin HTMLVideoElement
-NOTRUN unclean HTMLCanvasElement
-NOTRUN unclean ImageBitmap
+FAIL cross-origin HTMLImageElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLImageElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLImageElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+TIMEOUT redirected to cross-origin HTMLVideoElement: origin unclear getImageData Test timed out
+NOTRUN redirected to cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage
+NOTRUN redirected to cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear getImageData
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear 2dContext.drawImage
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN unclean HTMLCanvasElement: origin unclear getImageData
+NOTRUN unclean HTMLCanvasElement: origin unclear 2dContext.drawImage
+NOTRUN unclean HTMLCanvasElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN unclean ImageBitmap: origin unclear getImageData
+NOTRUN unclean ImageBitmap: origin unclear 2dContext.drawImage
+NOTRUN unclean ImageBitmap: origin unclear bitmaprenderer.transferFromImageBitmap
Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -34,11 +34,11 @@
FAIL createImageBitmap from a vector SVGImageElement scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL createImageBitmap from a vector SVGImageElement resized, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL createImageBitmap from a vector SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
-PASS createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
FAIL createImageBitmap from an ImageData, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
FAIL createImageBitmap from an ImageData scaled down, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
FAIL createImageBitmap from an ImageData scaled up, and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt (0 => 254513)
--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-flipY-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -0,0 +1,24 @@
+
+PASS createImageBitmap from an HTMLCanvasElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLCanvasElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 1
+PASS createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 1
+PASS createImageBitmap from a bitmap HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from a vector HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a vector HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+FAIL createImageBitmap from a bitmap SVGImageElement imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a bitmap SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a vector SVGImageElement imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from a vector SVGImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL createImageBitmap from an OffscreenCanvas imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered"
+FAIL createImageBitmap from an ImageData imageOrientation: "none", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
+FAIL createImageBitmap from an ImageData imageOrientation: "flipY", and drawImage on the created ImageBitmap promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented"
+PASS createImageBitmap from an ImageBitmap imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an ImageBitmap imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+PASS createImageBitmap from a Blob imageOrientation: "none", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from a Blob imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 15) expected 255 +/- 10 but got 0
+
Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -1,38 +1,46 @@
-CONSOLE MESSAGE: line 137: Canvas area exceeds the maximum limit (width * height > 268435456).
+CONSOLE MESSAGE: line 142: Canvas area exceeds the maximum limit (width * height > 268435456).
-PASS createImageBitmap with a an HTMLCanvasElement source and sw set to 0
-PASS createImageBitmap with a an HTMLCanvasElement source and sh set to 0
-FAIL createImageBitmap with a an HTMLCanvasElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a an HTMLVideoElement source and sw set to 0
-PASS createImageBitmap with a an HTMLVideoElement source and sh set to 0
-FAIL createImageBitmap with a an HTMLVideoElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a an HTMLVideoElement from a data URL source and sw set to 0
-PASS createImageBitmap with a an HTMLVideoElement from a data URL source and sh set to 0
-FAIL createImageBitmap with a an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a bitmap HTMLImageElement source and sw set to 0
-PASS createImageBitmap with a a bitmap HTMLImageElement source and sh set to 0
-FAIL createImageBitmap with a a bitmap HTMLImageElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a vector HTMLImageElement source and sw set to 0
-PASS createImageBitmap with a a vector HTMLImageElement source and sh set to 0
-FAIL createImageBitmap with a a vector HTMLImageElement source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL createImageBitmap with a a bitmap SVGImageElement source and sw set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a bitmap SVGImageElement source and sh set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a bitmap SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-FAIL createImageBitmap with a a vector SVGImageElement source and sw set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a vector SVGImageElement source and sh set to 0 assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "RangeError" ("RangeError")
-FAIL createImageBitmap with a a vector SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-PASS createImageBitmap with a an OffscreenCanvas source and sw set to 0
-PASS createImageBitmap with a an OffscreenCanvas source and sh set to 0
-FAIL createImageBitmap with a an OffscreenCanvas source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a an ImageData source and sw set to 0
-PASS createImageBitmap with a an ImageData source and sh set to 0
-FAIL createImageBitmap with a an ImageData source and oversized (unallocatable) crop region assert_throws: function "function () { throw e }" threw object "TypeError: createImageBitmap with ImageData is not implemented" ("TypeError") expected object "InvalidStateError" ("InvalidStateError")
-PASS createImageBitmap with a an ImageBitmap source and sw set to 0
-PASS createImageBitmap with a an ImageBitmap source and sh set to 0
-FAIL createImageBitmap with a an ImageBitmap source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS createImageBitmap with a a Blob source and sw set to 0
-PASS createImageBitmap with a a Blob source and sh set to 0
-FAIL createImageBitmap with a a Blob source and oversized (unallocatable) crop region assert_unreached: Should have rejected: undefined Reached unreachable code
+PASS createImageBitmap with an HTMLCanvasElement source and sw set to 0
+PASS createImageBitmap with an HTMLCanvasElement source and sh set to 0
+FAIL createImageBitmap with an HTMLCanvasElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with an HTMLVideoElement source and sw set to 0
+PASS createImageBitmap with an HTMLVideoElement source and sh set to 0
+FAIL createImageBitmap with an HTMLVideoElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with an HTMLVideoElement from a data URL source and sw set to 0
+PASS createImageBitmap with an HTMLVideoElement from a data URL source and sh set to 0
+FAIL createImageBitmap with an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a bitmap HTMLImageElement source and sw set to 0
+PASS createImageBitmap with a bitmap HTMLImageElement source and sh set to 0
+FAIL createImageBitmap with a bitmap HTMLImageElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a vector HTMLImageElement source and sw set to 0
+PASS createImageBitmap with a vector HTMLImageElement source and sh set to 0
+FAIL createImageBitmap with a vector HTMLImageElement source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+FAIL createImageBitmap with a bitmap SVGImageElement source and sw set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a bitmap SVGImageElement source and sh set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a bitmap SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+FAIL createImageBitmap with a vector SVGImageElement source and sw set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a vector SVGImageElement source and sh set to 0 promise_reject_js: function "function () { throw e }" threw object "TypeError: Type error" ("TypeError") expected instance of function "function RangeError() {
+ [native code]
+}" ("RangeError")
+FAIL createImageBitmap with a vector SVGImageElement source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+PASS createImageBitmap with an OffscreenCanvas source and sw set to 0
+PASS createImageBitmap with an OffscreenCanvas source and sh set to 0
+PASS createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region
+PASS createImageBitmap with an ImageData source and sw set to 0
+PASS createImageBitmap with an ImageData source and sh set to 0
+FAIL createImageBitmap with an ImageData source and oversized (unallocatable) crop region assert_throws: function "() => { throw e }" threw object "TypeError: createImageBitmap with ImageData is not implemented" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11
+PASS createImageBitmap with an ImageBitmap source and sw set to 0
+PASS createImageBitmap with an ImageBitmap source and sh set to 0
+FAIL createImageBitmap with an ImageBitmap source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
+PASS createImageBitmap with a Blob source and sw set to 0
+PASS createImageBitmap with a Blob source and sh set to 0
+FAIL createImageBitmap with a Blob source and oversized (unallocatable) crop region assert_equals: expected 100000000 but got 20
PASS createImageBitmap with undefined image source.
PASS createImageBitmap with null image source.
PASS createImageBitmap with CanvasRenderingContext2D image source.
Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt (254512 => 254513)
--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt 2020-01-14 16:37:10 UTC (rev 254512)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub-expected.txt 2020-01-14 16:52:28 UTC (rev 254513)
@@ -1,15 +1,35 @@
Blocked access to external URL http://www1.localhost:8800/images/red.png
Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
+Blocked access to external URL http://www1.localhost:8800/images/red.png
Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
+Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
+Blocked access to external URL http://www1.localhost:8800/media/movie_300.ogv
Harness Error (TIMEOUT), message = null
-FAIL cross-origin HTMLImageElement promise_test: Unhandled rejection with value: object "[object Event]"
-FAIL cross-origin SVGImageElement promise_test: Unhandled rejection with value: object "[object Event]"
-FAIL cross-origin HTMLVideoElement promise_test: Unhandled rejection with value: object "[object Event]"
-TIMEOUT redirected to cross-origin HTMLVideoElement Test timed out
-NOTRUN redirected to same-origin HTMLVideoElement
-NOTRUN unclean HTMLCanvasElement
-NOTRUN unclean ImageBitmap
+FAIL cross-origin HTMLImageElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLImageElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLImageElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin SVGImageElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear getImageData promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage promise_test: Unhandled rejection with value: object "[object Event]"
+FAIL cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap promise_test: Unhandled rejection with value: object "[object Event]"
+TIMEOUT redirected to cross-origin HTMLVideoElement: origin unclear getImageData Test timed out
+NOTRUN redirected to cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage
+NOTRUN redirected to cross-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear getImageData
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear 2dContext.drawImage
+NOTRUN redirected to same-origin HTMLVideoElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN unclean HTMLCanvasElement: origin unclear getImageData
+NOTRUN unclean HTMLCanvasElement: origin unclear 2dContext.drawImage
+NOTRUN unclean HTMLCanvasElement: origin unclear bitmaprenderer.transferFromImageBitmap
+NOTRUN unclean ImageBitmap: origin unclear getImageData
+NOTRUN unclean ImageBitmap: origin unclear 2dContext.drawImage
+NOTRUN unclean ImageBitmap: origin unclear bitmaprenderer.transferFromImageBitmap