HTMLCanvasElement toBlob does not work in an extension background page. |
|||
Issue descriptionOriginally reported by "madprops" in #chromium. toDataURL works on an extension background page, and extensions authors reasonably expect toBlob to as well. However, the callback is never invoked. Steps to repro: 1. copy the two attached files into an empty directory 2. go to chrome://extensions 3. enable Developer Mode 4. load unpacked extension > choose the directory from step 1 5. choose "background page" from "inspect views" next to the extension Expected result: - log contains both "background page started" and a blob Actual result: - log contains only "background page started"
,
Jul 5 2016
Bisect range for fix: https://chromium.googlesource.com/chromium/src/+log/1fb00d360ecad6f5372294b5d7ca70ff65c61845..9e2dcc62f43e284cc54edf58ea46d02705022700 Likely fix was: https://chromium.googlesource.com/chromium/src/+/b1781a606269a2d8866b0d9a14ae67b4c9c33afd which is in M52 (beta); leaving further triage to canvas folk
,
Jul 14 2016
,
Jul 25 2016
This issue is outdated with 52 as stable now. |
|||
►
Sign in to add a comment |
|||
Comment 1 by jbroman@chromium.org
, Jul 5 2016Forgot to add, I tested in 51.0.2704.106 (stable). It seems fixed at tip-of-tree (refs/heads/master@{#403827}), so there might not be much to do here (except evaluate a cherry-pick).