New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 625901 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

HTMLCanvasElement toBlob does not work in an extension background page.

Project Member Reported by jbroman@chromium.org, Jul 5 2016

Issue description

Originally 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"
 
manifest.json
123 bytes View Download
background.js
108 bytes View Download
Forgot 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).
Status: Assigned (was: Untriaged)
Status: WontFix (was: Assigned)
This issue is outdated with 52 as stable now.

Sign in to add a comment