Chrome Version: 70.0.3538.77
OS: Linux
What steps will reproduce the problem?
(0) mkdir repro && cd repro && npm init -y
(1) npm install puppeteer
(2) run following script:
const puppeteer = require('puppeteer');
(async function() {
const b = await puppeteer.launch();
const p = await b.newPage();
p.evaluate(String.fromCharCode(65535))
})()
What is the expected result?
JavaScript exception, the same as if we call eval(String.fromCharCode(65535)) in console.
What happens instead?
Browser crashes.
Chrome Version: 70.0.3538.77
OS: Linux
What steps will reproduce the problem?
(0) mkdir repro && cd repro && npm init -y
(1) npm install puppeteer
(2) run following script:
const puppeteer = require('puppeteer');
(async function() {
const b = await puppeteer.launch();
const p = await b.newPage();
p.evaluate(String.fromCharCode(65535))
})()
What is the expected result?
JavaScript exception, the same as if we call eval(String.fromCharCode(65535)) in console.
What happens instead?
Browser crashes.
You actually can use any unicode from the ranges:
64976 - 65007, 65534, 65535
Comment 1 by kozy@chromium.org
, Nov 15