Open
Bug 1316420
Opened 8 years ago
Updated 2 years ago
ImageBitmapRenderingContext tests failure
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Core
Graphics: Canvas2D
Tracking
()
UNCONFIRMED
People
(Reporter: xidachen, Unassigned)
Details
(Whiteboard: [gfx-noted])
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36 Steps to reproduce: When up-streaming some ImageBitmapRenderingContext tests to web-platform-tests, I found that two test cases failed on Firefox. 1. Calling transferFromImageBitmap(null); 2. Suppose we have a canvas and we got its ImageBitmapRenderingContext "ctx", calling ctx.canvas should give the original canvas. Github pull request here: https://github.com/w3c/web-platform-tests/pull/4167 Actual results: 1. Calling transferFromImageBitmap(null) gives this error: Argument 1 of ImageBitmapRenderingContext.transferFromImageBitmap is not an object. 2. Calling ctx.canvas gives undefined. Expected results: Already described in the above.
Another test case failure, which is in the bitmaprenderer-as-imagesource.html in the above pull request, suppose we have a canvas with size 20*20, we get its bitmap rendering context ctx, and call ctx.transferFromImageBitmap(image) and the image is 10*10, when we do createImageBitmap(canvas), the resulting ImageBitmap should be 10*10.
Priority: -- → P3
Whiteboard: [gfx-noted]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•