Closed Bug 1266808 Opened 5 years ago Closed 4 months ago

canvas.drawImage() should throw an exception when ImageBitmap is closed according to spec

Categories

(Core :: Canvas: 2D, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: xidachen, Assigned: angus.sawyer, NeedInfo)

Details

(Whiteboard: [gfx-noted])

Attachments

(2 files)

Attached file 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
Whiteboard: [gfx-noted]
Attachment #9064710 - Flags: checkin+
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f2530502f6c4
throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Backout by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dc80991796e0
Backed out changeset f2530502f6c4 for test_imagebitmap_close.html&/test_imagebitmap_cropping.html failures

Backed out changeset f2530502f6c4 (Bug 1266808) for test_imagebitmap_close.html&/test_imagebitmap_cropping.html failures

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&fromchange=f2530502f6c4790ba778f1ceab633fcf161fc2f6&searchStr=mochitest-e10s&tochange=dc80991796e0d65a3a92db25139ac332fbc0e219&selectedJob=268740642

Backout link: https://hg.mozilla.org/integration/autoland/rev/dc80991796e0d65a3a92db25139ac332fbc0e219

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=268740644&repo=autoland&lineNumber=6644

[task 2019-09-27T08:49:05.226Z] 08:49:05 INFO - TEST-START | dom/canvas/test/test_imagebitmap_close.html
[task 2019-09-27T08:49:05.242Z] 08:49:05 INFO - GECKO(2374) | [Parent 2374, Main Thread] WARNING: Cannot set transparency mode on non-popup windows.: file /builds/worker/workspace/build/src/widget/gtk/nsWindow.cpp, line 4514
[task 2019-09-27T08:49:05.278Z] 08:49:05 INFO - GECKO(2374) | [Parent 2374, Main Thread] WARNING: Cannot set transparency mode on non-popup windows.: file /builds/worker/workspace/build/src/widget/gtk/nsWindow.cpp, line 4514
[task 2019-09-27T08:49:05.314Z] 08:49:05 INFO - GECKO(2374) | ++DOMWINDOW == 31 (0x7f5d8776fc00) [pid = 2468] [serial = 216] [outer = 0x7f5d88687100]
[task 2019-09-27T08:49:05.395Z] 08:49:05 INFO - GECKO(2374) | [Child 2468, Main Thread] WARNING: NS_ENSURE_TRUE(nsContentUtils::IsJavascriptMIMEType(type)) failed: file /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp, line 1553
[task 2019-09-27T08:49:05.417Z] 08:49:05 INFO - GECKO(2374) | --DOMWINDOW == 30 (0x7f5d87dbf5c0) [pid = 2468] [serial = 202] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:05.419Z] 08:49:05 INFO - GECKO(2374) | --DOMWINDOW == 29 (0x7f5d875fa2e0) [pid = 2468] [serial = 196] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:05.420Z] 08:49:05 INFO - GECKO(2374) | --DOMWINDOW == 28 (0x7f5d87dbf3e0) [pid = 2468] [serial = 200] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:05.442Z] 08:49:05 INFO - GECKO(2374) | JavaScript error: http://mochi.test:8888/tests/dom/canvas/test/test_imagebitmap_close.html, line 59: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-09-27T08:49:05.502Z] 08:49:05 INFO - GECKO(2374) | [Parent 2374, Main Thread] WARNING: Cannot set transparency mode on non-popup windows.: file /builds/worker/workspace/build/src/widget/gtk/nsWindow.cpp, line 4514
[task 2019-09-27T08:49:07.186Z] 08:49:07 INFO - GECKO(2374) | --DOCSHELL 0x7efdd1d6b000 == 9 [pid = 2374] [id = {11bb6cd5-2579-4b72-8ef4-cbd7f5923ee2}] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.187Z] 08:49:07 INFO - GECKO(2374) | --DOCSHELL 0x7efdd2d4a800 == 8 [pid = 2374] [id = {ae423d08-9751-436c-a24b-ef04ab12acdd}] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.188Z] 08:49:07 INFO - GECKO(2374) | --DOCSHELL 0x7efdd1d6b800 == 7 [pid = 2374] [id = {25765678-2fe3-4f1e-9ce4-191970d234ca}] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.189Z] 08:49:07 INFO - GECKO(2374) | --DOCSHELL 0x7efdd1e1a000 == 6 [pid = 2374] [id = {fb7068bf-ccfa-4a3c-8f31-b47eefc6a431}] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.190Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 45 (0x7efde153fc00) [pid = 2374] [serial = 42] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.191Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 44 (0x7efde0b07c00) [pid = 2374] [serial = 31] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.192Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 43 (0x7efddfb40400) [pid = 2374] [serial = 30] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 42 (0x7efddfb41800) [pid = 2374] [serial = 27] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 41 (0x7efdd4016c00) [pid = 2374] [serial = 26] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 40 (0x7efdd4019400) [pid = 2374] [serial = 23] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 39 (0x7efdd3b8cc00) [pid = 2374] [serial = 22] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 38 (0x7efdd2e74400) [pid = 2374] [serial = 38] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.193Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 37 (0x7efdd3b8f800) [pid = 2374] [serial = 20] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.194Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 36 (0x7efdd3b8d000) [pid = 2374] [serial = 19] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.194Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 35 (0x7efdd1d51c00) [pid = 2374] [serial = 18] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.194Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 34 (0x7efdd2e76000) [pid = 2374] [serial = 34] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.194Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 33 (0x7efdd2e77400) [pid = 2374] [serial = 16] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.194Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 32 (0x7efdd1d52000) [pid = 2374] [serial = 15] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.195Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 31 (0x7efdd1d45400) [pid = 2374] [serial = 14] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.196Z] 08:49:07 INFO - GECKO(2374) | --DOCSHELL 0x7efdd3f0d000 == 5 [pid = 2374] [id = {8dce419c-633d-458e-b0d8-1bdebef1e17d}] [url = chrome://browser/content/browser.xhtml]
[task 2019-09-27T08:49:07.626Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 30 (0x7efde0b43100) [pid = 2374] [serial = 48] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.627Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 29 (0x7efde0b42f20) [pid = 2374] [serial = 47] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:07.627Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 28 (0x7efde0b42d40) [pid = 2374] [serial = 45] [outer = (nil)] [url = chrome://browser/content/browser.xhtml]
[task 2019-09-27T08:49:07.628Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 27 (0x7efde41972e0) [pid = 2374] [serial = 25] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.628Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 26 (0x7efde4197100) [pid = 2374] [serial = 21] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.628Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 25 (0x7efde0b42020) [pid = 2374] [serial = 29] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.629Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 24 (0x7efde0b423e0) [pid = 2374] [serial = 37] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.629Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 23 (0x7efde0b42200) [pid = 2374] [serial = 33] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:07.630Z] 08:49:07 INFO - GECKO(2374) | --DOMWINDOW == 22 (0x7efde0b425c0) [pid = 2374] [serial = 41] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOCSHELL 0x7f5d850c5800 == 4 [pid = 2468] [id = {d147f2c1-eddf-4f98-9da4-50c24cd1b70c}] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOCSHELL 0x7f5d85057000 == 3 [pid = 2468] [id = {6b108dc2-73c1-4ee5-af65-754f85ff6382}] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 27 (0x7f5d850ac000) [pid = 2468] [serial = 205] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 26 (0x7f5d850afc00) [pid = 2468] [serial = 206] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_filter.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 25 (0x7f5d8756b000) [pid = 2468] [serial = 207] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 24 (0x7f5d8c235800) [pid = 2468] [serial = 201] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 23 (0x7f5d8b7df000) [pid = 2468] [serial = 198] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:08.732Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 22 (0x7f5d886e4c00) [pid = 2468] [serial = 195] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_drawSnapshot.html]
[task 2019-09-27T08:49:08.733Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 21 (0x7f5d87905800) [pid = 2468] [serial = 187] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_drawImageIncomplete.html]
[task 2019-09-27T08:49:08.734Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 20 (0x7f5d87941c00) [pid = 2468] [serial = 189] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_drawImage_document_domain.html]
[task 2019-09-27T08:49:08.735Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 19 (0x7f5d8799d400) [pid = 2468] [serial = 193] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_drawImage_edge_cases.html]
[task 2019-09-27T08:49:08.736Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 18 (0x7f5d879ba400) [pid = 2468] [serial = 185] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_capture.html]
[task 2019-09-27T08:49:08.736Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 17 (0x7f5d8b7dbc00) [pid = 2468] [serial = 197] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/file_drawWindow_source.html]
[task 2019-09-27T08:49:08.737Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 16 (0x7f5d8b7d6400) [pid = 2468] [serial = 199] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_drawWindow.html]
[task 2019-09-27T08:49:08.737Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 15 (0x7f5d879a0400) [pid = 2468] [serial = 183] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_canvas_strokeStyle_getter.html]
[task 2019-09-27T08:49:08.739Z] 08:49:08 INFO - GECKO(2374) | --DOMWINDOW == 14 (0x7f5d850a2400) [pid = 2468] [serial = 204] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:08.844Z] 08:49:08 INFO - GECKO(2374) | [Child 2468, Main Thread] WARNING: Wrong inner/outer window combination!: file /builds/worker/workspace/build/src/dom/base/Document.cpp, line 6943
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 21 (0x7efdcd9f3c00) [pid = 2374] [serial = 49] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 20 (0x7efdd482dc00) [pid = 2374] [serial = 50] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 19 (0x7efde0b07800) [pid = 2374] [serial = 35] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 18 (0x7efde91b0400) [pid = 2374] [serial = 39] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 17 (0x7efde14eb400) [pid = 2374] [serial = 43] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 16 (0x7efde14ed000) [pid = 2374] [serial = 44] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 15 (0x7efde9125800) [pid = 2374] [serial = 36] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 14 (0x7efdd401b800) [pid = 2374] [serial = 24] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 13 (0x7efde153f400) [pid = 2374] [serial = 32] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 12 (0x7efddfb49000) [pid = 2374] [serial = 28] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.444Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 11 (0x7efde91b2800) [pid = 2374] [serial = 40] [outer = (nil)] [url = chrome://global/content/win.xul]
[task 2019-09-27T08:49:11.447Z] 08:49:11 INFO - GECKO(2374) | --DOMWINDOW == 10 (0x7efde14f7c00) [pid = 2374] [serial = 46] [outer = (nil)] [url = about:blank]
[task 2019-09-27T08:49:12.829Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 13 (0x7f5d8776cc00) [pid = 2468] [serial = 215] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:12.829Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 12 (0x7f5d87576800) [pid = 2468] [serial = 212] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_hitregion_event.html]
[task 2019-09-27T08:49:12.829Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 11 (0x7f5d850a4000) [pid = 2468] [serial = 214] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_imagebitmap.html]
[task 2019-09-27T08:49:12.830Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 10 (0x7f5d87939c00) [pid = 2468] [serial = 213] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:12.830Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 9 (0x7f5d8756f800) [pid = 2468] [serial = 210] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_hitregion_canvas.html]
[task 2019-09-27T08:49:12.831Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 8 (0x7f5d8756fc00) [pid = 2468] [serial = 209] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:49:12.831Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 7 (0x7f5d8756a000) [pid = 2468] [serial = 208] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/canvas/test/test_filter_tainted.html]
[task 2019-09-27T08:49:12.831Z] 08:49:12 INFO - GECKO(2374) | --DOMWINDOW == 6 (0x7f5d87908000) [pid = 2468] [serial = 211] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-09-27T08:54:24.998Z] 08:54:24 INFO - TEST-INFO | started process screentopng
[task 2019-09-27T08:54:25.237Z] 08:54:25 INFO - TEST-INFO | screentopng: exit 0
[task 2019-09-27T08:54:25.237Z] 08:54:25 INFO - Buffered messages logged at 08:49:05
[task 2019-09-27T08:54:25.238Z] 08:54:25 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_close.html | toDataURL should return same result.
[task 2019-09-27T08:54:25.238Z] 08:54:25 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_close.html | After close(), width and height should return 0
[task 2019-09-27T08:54:25.239Z] 08:54:25 INFO - Buffered messages finished
[task 2019-09-27T08:54:25.239Z] 08:54:25 INFO - TEST-UNEXPECTED-FAIL | dom/canvas/test/test_imagebitmap_close.html | Test timed out.
[task 2019-09-27T08:54:25.239Z] 08:54:25 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:277:18
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - reportError@SimpleTest/TestRunner.js:121:22
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:18
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.240Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.241Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.242Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.242Z] 08:54:25 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.242Z] 08:54:25 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:170:15
[task 2019-09-27T08:54:25.243Z] 08:54:25 INFO - TestRunner.runTests/<@SimpleTest/TestRunner.js:388:20
[task 2019-09-27T08:54:25.243Z] 08:54:25 INFO - promise callback
TestRunner.runTests@SimpleTest/TestRunner.js:375:50
[task 2019-09-27T08:54:25.243Z] 08:54:25 INFO - RunSet.runtests@SimpleTest/setup.js:201:14
[task 2019-09-27T08:54:25.243Z] 08:54:25 INFO - RunSet.runall@SimpleTest/setup.js:180:12
[task 2019-09-27T08:54:25.244Z] 08:54:25 INFO - hookupTests@SimpleTest/setup.js:273:12
[task 2019-09-27T08:54:25.244Z] 08:54:25 INFO - parseTestManifest@http://mochi.test:8888/manifestLibrary.js:48:13
[task 2019-09-27T08:54:25.244Z] 08:54:25 INFO - getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:61:28
[task 2019-09-27T08:54:25.244Z] 08:54:25 INFO - EventHandlerNonNullgetTestManifest@http://mochi.test:8888/manifestLibrary.js:57:3
[task 2019-09-27T08:54:25.245Z] 08:54:25 INFO - hookup@SimpleTest/setup.js:253:20
[task 2019-09-27T08:54:25.245Z] 08:54:25 INFO - EventHandlerNonNull
@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&manifestFile=tests.json&dumpOutputDirectory=%2Ftmp&cleanupCrashes=true:11:1
[task 2019-09-27T08:54:26.003Z] 08:54:26 INFO - GECKO(2374) | MEMORY STAT | vsize 2687MB | residentFast 188MB | heapAllocated 21MB
[task 2019-09-27T08:54:26.007Z] 08:54:26 INFO - TEST-OK | dom/canvas/test/test_imagebitmap_close.html | took 320779ms
...
...
[task 2019-09-27T08:54:26.135Z] 08:54:26 INFO - TEST-START | dom/canvas/test/test_imagebitmap_cropping.html
[task 2019-09-27T08:54:26.218Z] 08:54:26 INFO - GECKO(2374) | [Parent 2374, Main Thread] WARNING: Cannot set transparency mode on non-popup windows.: file /builds/worker/workspace/build/src/widget/gtk/nsWindow.cpp, line 4514
[task 2019-09-27T08:54:26.334Z] 08:54:26 INFO - GECKO(2374) | ++DOMWINDOW == 8 (0x7f5d850a4c00) [pid = 2468] [serial = 218] [outer = 0x7f5d88687100]
[task 2019-09-27T08:54:26.548Z] 08:54:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-27T08:54:26.549Z] 08:54:26 INFO - Buffered messages logged at 08:54:26
[task 2019-09-27T08:54:26.549Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gVideo is ok.
[task 2019-09-27T08:54:26.550Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gCanvas is ok.
[task 2019-09-27T08:54:26.550Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gCtx is ok.
[task 2019-09-27T08:54:26.550Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gImageData is ok.
[task 2019-09-27T08:54:26.551Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gImageBitmap is ok.
[task 2019-09-27T08:54:26.551Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gPNGBlob is ok.
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | [Prepare Sources] gJPEGBlob is ok.
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 50,0 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.552Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,120 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 200,140 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,100 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,100 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,100 of is 255,0,0,255; expected 255,0,0,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,100 of is 255,0,255,255; expected 255,0,255,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 0,0,255,255; expected 0,0,255,255 +/- 5
[task 2019-09-27T08:54:26.555Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.556Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 200,0 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.557Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 250,10 of is 0,255,0,255; expected 0,255,0,255 +/- 5
[task 2019-09-27T08:54:26.557Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.557Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,0 of is 0,60,135,255; expected 0,60,136,255 +/- 5
[task 2019-09-27T08:54:26.558Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 180,10 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.559Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,60,135,255; expected 0,60,136,255 +/- 5
[task 2019-09-27T08:54:26.559Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,20 of is 107,0,209,255; expected 107,0,210,255 +/- 5
[task 2019-09-27T08:54:26.559Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 80,150 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.559Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,255,0,255; expected 0,255,0,255 +/- 5
[task 2019-09-27T08:54:26.559Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 120,20 of is 0,0,255,255; expected 0,0,255,255 +/- 5
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 299,299 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - Buffered messages finished
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - TEST-UNEXPECTED-FAIL | dom/canvas/test/test_imagebitmap_cropping.html | Promise failure: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:277:18
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - failed@dom/canvas/test/test_imagebitmap_cropping.html:124:5
[task 2019-09-27T08:54:26.561Z] 08:54:26 INFO - runTests/<@dom/canvas/test/test_imagebitmap_cropping.html:268:50
[task 2019-09-27T08:54:26.566Z] 08:54:26 INFO - GECKO(2374) | MEMORY STAT | vsize 2689MB | residentFast 195MB | heapAllocated 29MB
[task 2019-09-27T08:54:26.587Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.587Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 50,0 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.591Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.592Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.593Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.594Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.602Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.602Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,120 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.603Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 200,140 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.608Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.609Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.609Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,100 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.609Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.614Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,100 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.615Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,100 of is 255,0,0,255; expected 255,0,0,255 +/- 5
[task 2019-09-27T08:54:26.617Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.617Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,100 of is 255,0,255,255; expected 255,0,255,255 +/- 5
[task 2019-09-27T08:54:26.618Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 0,0,255,255; expected 0,0,255,255 +/- 5
[task 2019-09-27T08:54:26.621Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.622Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 200,0 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.622Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 250,10 of is 0,255,0,255; expected 0,255,0,255 +/- 5
[task 2019-09-27T08:54:26.626Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.626Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,0 of is 0,60,135,255; expected 0,60,136,255 +/- 5
[task 2019-09-27T08:54:26.626Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 180,10 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.626Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,60,135,255; expected 0,60,136,255 +/- 5
[task 2019-09-27T08:54:26.627Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,20 of is 107,0,209,255; expected 107,0,210,255 +/- 5
[task 2019-09-27T08:54:26.627Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 80,150 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.630Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,255,0,255; expected 0,255,0,255 +/- 5
[task 2019-09-27T08:54:26.631Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 120,20 of is 0,0,255,255; expected 0,0,255,255 +/- 5
[task 2019-09-27T08:54:26.634Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 299,299 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.639Z] 08:54:26 INFO - GECKO(2374) | [GPU 2408, Compositor] WARNING: Shmem was deallocated: file /builds/worker/workspace/build/src/ipc/glue/Shmem.cpp, line 343
[task 2019-09-27T08:54:26.640Z] 08:54:26 INFO - GECKO(2374) | ###!!! [Parent][DispatchAsyncMessage] Error: SHMEM_CREATED_MESSAGE Payload error: message could not be deserialized
[task 2019-09-27T08:54:26.641Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.641Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 50,0 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 519,439 of is 0,0,0,0; expected 0,0,0,0 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 100,100 of is 255,255,255,255; expected 255,255,255,255 +/- 5
[task 2019-09-27T08:54:26.651Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 150,120 of is 255,255,0,255; expected 255,255,0,255 +/- 5
[task 2019-09-27T08:54:26.652Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 200,140 of is 0,255,255,255; expected 0,255,255,255 +/- 5
[task 2019-09-27T08:54:26.656Z] 08:54:26 INFO - TEST-PASS | dom/canvas/test/test_imagebitmap_cropping.html | pixel 0,0 of is 0,0,0,0; expected 0,0,0,0 +/- 5

Flags: needinfo?(angus.sawyer)
Attachment #9064710 - Attachment description: Bug 1266808 - throw exception when canvas.drawImage passed closed ImageBitmap r=aosmond → Bug 1266808 - throw exception when canvas.drawImage passed closed ImageBitmap r=baku

Fixed test breakage. ImageBitmaps cropped outside the image area triggered the exception incorrectly.

Flags: needinfo?(angus.sawyer)

Angus, can you please take a look since the reland failed due to:

"Reason:
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

applying /tmp/tmpm5xwJL
dom/canvas/CanvasRenderingContext2D.cpp
Hunk #1 FAILED at 4375.
1 out of 1 hunk FAILED -- saving rejects to file dom/canvas/CanvasRenderingContext2D.cpp.rej
abort: patch command failed: exited with status 256"

Flags: needinfo?(angus.sawyer)

rebased diff, should merge ok

Flags: needinfo?(angus.sawyer)
Assignee: nobody → angus.sawyer
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cc8cb964c8c0
throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Flags: needinfo?(angus.sawyer)
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c69d97dae74d
throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.