Created attachment 8744410 [details] imagebitmap-close.html User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36 Steps to reproduce: Using the Firefox nightly build to open the attached webpage, press F12 to observe console output. Actual results: ctx.drawImage() didn't throw an error even the source ImageBitmap is closed. Expected results: There is a recently change to spec here: https://github.com/whatwg/html/commit/7c9ba543a60a150e50ce6c10877fe330aabb95cc states that drawImage() should throw an InvalidStateError when the source is closed.
Component: Activity Streams: General → Canvas: 2D
Product: Firefox → Core
Summary: canvas.drawImage() should throw an exception when ImageBitmap is closed → canvas.drawImage() should throw an exception when ImageBitmap is closed according to spec
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.