Skip to content

Bug: Print() creates Dialogt to PRint File to Printer and Alpha.editor issue #474

Description

@lmccart

From @Xrispy7 on November 13, 2017 2:4

I found a bug with Print(); on both Google Chrome Local and Google Chrome > p5.js Alpha Editor
When I try to use Print() in the Alpha Editor i get the following error:

//begin example
var x = 10;
print(x);
//end example
Ignored call to 'print()'. The document is sandboxed, and the 'allow-modals' keyword is not set.

when I use Print(); Locally Google Chrome opens a Print Dialog window, as if I want to Print my File to a Printer.

Macbook Pro 2011 MACOSX 10.8.5 Laptop, Google Chrome version 49.0.2623.112 (64-bit)
/*! p5.js v0.5.16 October 11, 2017 */

Copied from original issue: processing/p5.js#2360

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions