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

Issue 765249 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Drawing of image created from Blob URL after it is revoked taints the canvas

Reported by alvol1...@gmail.com, Sep 14 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce the problem:
 Open an attached file locally (via file:// protocol)

What this code does:
1. Creates image file blob
2. Creates image from blob URL
3. Revokes blob URL
4. Draws this image on canvas (bug here: canvas becomes tainted by cross origin data when using file:// protocol)
5. Any way to get image data (toBlob, toDataUrl, getImageData) fails

What is the expected behavior?
Word "success" on the page.

What went wrong?
Exception: "Failed to execute 'toBlob' on 'HTMLCanvasElement': Tainted canvases may not be exported."

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 60.0.3112.113  Channel: stable
OS Version: 10.0
Flash Version:
 
test.html
591 bytes View Download
Labels: Needs-Triage-M60
Cc: divya.pa...@techmahindra.com
Labels: Triaged-ET Needs-Feedback
@alvol1994: Able to reproduce issue on reported version 60.0.3112.113 and issue does not exist on stable 61.0.3163.91 and latest Canary 63.0.3216.0.

Could you please upgrade to the Latest market available version 61.0.3163.91 by using below link and share your observation
https://www.chromium.org/getting-involved/dev-channel

Comment 3 by alvol1...@gmail.com, Sep 15 2017

 Yes, this test.html and my application are working in 61.0.3163.91 without this problem.
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 15 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "divya.padigela@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
Marking 'WontFix' per c#3.

Sign in to add a comment