Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassTest that transferToImageBitmap returns an ImageBitmap with correct width and height in a worker
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:132:9)
PassTest that transferToImageBitmap returns an ImageBitmap with correct color in a worker
Asserts run
Pass
assert_array_equals(object "0,255,0,255", [0, 255, 0, 255])
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:141:9)
PassTest that call transferToImageBitmap twice returns an ImageBitmap with correct color in a worker
Asserts run
Pass
assert_array_equals(object "0,0,0,0", [0, 0, 0, 0])
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:150:9)
PassTest that call transferToImageBitmap twice on a alpha-disabled context returns an ImageBitmap with correct color in a worker
Asserts run
Pass
assert_array_equals(object "0,0,0,255", [0, 0, 0, 255])
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:159:9)
PassTest that transferToImageBitmap won't change context's property in a worker
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:167:9)
PassTest that call transferToImageBitmap preserves transform in a worker
Asserts run
Pass
assert_array_equals(object "0,255,0,255", [0, 255, 0, 255])
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:176:9)
Pass
assert_array_equals(object "0,0,0,0", [0, 0, 0, 0])
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:178:9)
PassTest that call transferToImageBitmap on a detached OffscreenCanvas throws an exception in a worker
Asserts runNo asserts ran
PassTest that call transferToImageBitmap without a context throws an exception in a worker
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html:195:9)