Changeset 254399 in webkit
- Timestamp:
- Jan 11, 2020, 9:31:59 AM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r254398 r254399 1 2020-01-11 Cathie Chen <cathiechen@igalia.com> 2 3 Import WPT test cases for 2dcontext/imagebitmap 4 https://bugs.webkit.org/show_bug.cgi?id=205908 5 6 Reviewed by Manuel Rego Casasnovas 7 8 Update the expected files. 9 10 * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: 11 * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: 12 * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: 13 * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: 14 1 15 2020-01-11 Antti Koivisto <antti@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/ChangeLog
r254291 r254399 1 2020-01-11 Cathie Chen <cathiechen@igalia.com> 2 3 Import WPT test cases for 2dcontext/imagebitmap 4 https://bugs.webkit.org/show_bug.cgi?id=205908 5 6 Reviewed by Manuel Rego Casasnovas 7 8 * web-platform-tests/2dcontext/imagebitmap/canvas-createImageBitmap-video-resize-expected.txt: 9 * web-platform-tests/2dcontext/imagebitmap/canvas-createImageBitmap-video-resize.html: 10 * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: 11 * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable.html: 12 * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: 13 * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer.html: 14 * web-platform-tests/2dcontext/imagebitmap/no-coop-coep.https.window.html: Removed. 15 * web-platform-tests/2dcontext/imagebitmap/no-coop-coep.https.window.js: Removed. 16 * web-platform-tests/2dcontext/imagebitmap/w3c-import.log: 17 1 18 2020-01-09 Chris Lord <clord@igalia.com> 2 19 -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/canvas-createImageBitmap-video-resize-expected.txt
r250714 r254399 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS createImageBitmap(HTMLVideoElement) with resize option 3 3 4 NOTRUN createImageBitmap(HTMLVideoElement) with resize option5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/canvas-createImageBitmap-video-resize.html
r253638 r254399 56 56 return generateTest(); 57 57 }); 58 video.src = "/media/video.ogv";58 video.src = '/media/counting.' + (video.canPlayType('video/ogg') ? 'ogv' : 'mp4'); 59 59 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt
r251630 r254399 1 CONSOLE MESSAGE: line 2: TypeError: Type error 1 2 2 3 PASS Serialize ImageBitmap created from an HTMLCanvasElement … … 11 12 PASS Serialize ImageBitmap created from an ImageBitmap 12 13 PASS Serialize ImageBitmap created from a Blob 14 FAIL Serializing a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap)" did not throw 13 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable.html
r253638 r254399 7 7 <script src="/common/media.js"></script> 8 8 <script src="common.sub.js"></script> 9 <script src="/common/get-host-info.sub.js"></script> 9 10 <div id=log></div> 10 11 <script> … … 41 42 }, `Serialize ImageBitmap created from ${name}`); 42 43 } 44 45 promise_test(async (t) => { 46 const url = get_host_info().REMOTE_ORIGIN + '/images/pattern.png'; 47 const image = await makeMakeHTMLImage(url)(); 48 const bitmap = await createImageBitmap(image); 49 50 assert_throws('DataCloneError', () => worker.postMessage(bitmap)); 51 }, 'Serializing a non-origin-clean ImageBitmap throws.'); 43 52 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt
r251630 r254399 1 CONSOLE MESSAGE: line 2: TypeError: Type error 1 2 2 3 PASS Transfer ImageBitmap created from an HTMLCanvasElement … … 11 12 PASS Transfer ImageBitmap created from an ImageBitmap 12 13 PASS Transfer ImageBitmap created from a Blob 14 FAIL Transferring a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap, [bitmap])" did not throw 13 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer.html
r253638 r254399 6 6 <script src="/common/media.js"></script> 7 7 <script src="common.sub.js"></script> 8 <script src="/common/get-host-info.sub.js"></script> 8 9 <div id=log></div> 9 10 <script> … … 40 41 }, `Transfer ImageBitmap created from ${name}`); 41 42 } 43 44 promise_test(async (t) => { 45 const url = get_host_info().REMOTE_ORIGIN + '/images/pattern.png'; 46 const image = await makeMakeHTMLImage(url)(); 47 const bitmap = await createImageBitmap(image); 48 49 assert_throws('DataCloneError', 50 () => worker.postMessage(bitmap, [bitmap])); 51 }, 'Transferring a non-origin-clean ImageBitmap throws.'); 52 42 53 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/w3c-import.log
r253638 r254399 28 28 /LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-sizeOverflow.html 29 29 /LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer.html 30 /LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/no-coop-coep.https.window.js31 30 /LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/transfer-worker.js -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt
r253031 r254399 7 7 FAIL Serialize ImageBitmap created from a bitmap SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 FAIL Serialize ImageBitmap created from a vector SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 9 PASS Serialize ImageBitmap created from an OffscreenCanvas 9 FAIL Serialize ImageBitmap created from an OffscreenCanvas promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered" 10 10 FAIL Serialize ImageBitmap created from an ImageData promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented" 11 11 PASS Serialize ImageBitmap created from an ImageBitmap 12 12 PASS Serialize ImageBitmap created from a Blob 13 FAIL Serializing a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap)" did not throw 13 14 -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt
r253031 r254399 7 7 FAIL Transfer ImageBitmap created from a bitmap SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 FAIL Transfer ImageBitmap created from a vector SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 9 PASS Transfer ImageBitmap created from an OffscreenCanvas 9 FAIL Transfer ImageBitmap created from an OffscreenCanvas promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered" 10 10 FAIL Transfer ImageBitmap created from an ImageData promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented" 11 11 PASS Transfer ImageBitmap created from an ImageBitmap 12 12 PASS Transfer ImageBitmap created from a Blob 13 FAIL Transferring a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap, [bitmap])" did not throw 13 14 -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt
r253031 r254399 7 7 FAIL Serialize ImageBitmap created from a bitmap SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 FAIL Serialize ImageBitmap created from a vector SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 9 PASS Serialize ImageBitmap created from an OffscreenCanvas 9 FAIL Serialize ImageBitmap created from an OffscreenCanvas promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered" 10 10 FAIL Serialize ImageBitmap created from an ImageData promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented" 11 11 PASS Serialize ImageBitmap created from an ImageBitmap 12 12 PASS Serialize ImageBitmap created from a Blob 13 FAIL Serializing a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap)" did not throw 13 14 -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt
r253031 r254399 7 7 FAIL Transfer ImageBitmap created from a bitmap SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 FAIL Transfer ImageBitmap created from a vector SVGImageElement promise_test: Unhandled rejection with value: object "TypeError: Type error" 9 PASS Transfer ImageBitmap created from an OffscreenCanvas 9 FAIL Transfer ImageBitmap created from an OffscreenCanvas promise_test: Unhandled rejection with value: object "InvalidStateError: Cannot create ImageBitmap from canvas that can't be rendered" 10 10 FAIL Transfer ImageBitmap created from an ImageData promise_test: Unhandled rejection with value: object "TypeError: createImageBitmap with ImageData is not implemented" 11 11 PASS Transfer ImageBitmap created from an ImageBitmap 12 12 PASS Transfer ImageBitmap created from a Blob 13 FAIL Transferring a non-origin-clean ImageBitmap throws. assert_throws: function "() => worker.postMessage(bitmap, [bitmap])" did not throw 13 14
Note:
See TracChangeset
for help on using the changeset viewer.