Closed
Description
Nature of issue?
- Found a bug
Details about the bug:
In Chrome 83, download from sandboxed iframes was removed. This prevents functions such as image.save()
, saveCanvas()
or saveFrames()
from working. According to the Chrome status page below, a flag on the embedded iframe is required to allow this:
chromestatus.com/feature/5706745674465280
- Web browser and version: Google Chrome | 83.0.4103.61 (Official Build) (64-bit)
- Operating System: MacOSX 10.15.4
- Steps to reproduce this bug:
- Run the following from the 'sketches' or 'full' views of the p5js web editor (example):
function setup() {
createCanvas(400, 400);
background(255, 0, 0);
saveCanvas('test', 'png');
}
- In the developer console, you should see the following message:
- Run the same code in the 'present' mode and it will work (example)