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

Issue 598977 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

DevTools: screenshots broken by tainted canvas

Project Member Reported by paulir...@chromium.org, Mar 30 2016

Issue description

inspector.js:1496 SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
    at Error (native)
    at Object.screenshotCaptured (chrome-devtools://devtools/bundled/inspector.js:10806:143)

Repro:
1. Take a screenshot in responsive mode
2. change to nexus 5x, which adds device art
3. Take another screenshot

 
Screen Shot 2016-03-29 at 10.27.15 PM.png
340 KB View Download

Comment 1 by samli@chromium.org, Mar 30 2016

Labels: -OS-All OS-Mac
Odd, can't repro on Linux; tried undocking & different pages & changing zoom.

Comment 2 by samli@chromium.org, Mar 30 2016

Cc: -pfeldman@chromium.org samli@chromium.org
Owner: pfeldman@chromium.org
Oh, you're using remote debugging and that's causing cross origin errors? pfeldman@ can you take a look please?
no remote debugging. just emulation

i think the inner device art tainted the canvas.
Status: Fixed (was: Assigned)

Sign in to add a comment