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

Issue 705149 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

new Function() returns undefined on dev tools when debugging

Reported by ecarr...@gmail.com, Mar 24 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36

Steps to reproduce the problem:
1. open the console
2. type: function bug() {debugger;}
3. then: bug(). The code breaks on 'debugger' instruction
5. on the console, type: new Function()

What is the expected behavior?
an object must be created

What went wrong?
the console returns: undefined

Did this work before? Yes Chrome 54 or 53

Chrome version: 57.0.2987.110  Channel: stable
OS Version: OS X 10.12.3
Flash Version: 

I have tested with an 'eval' instruction to check if it could be related to a CSP issue. But 'eval' instruction works well in that context.
 
Labels: Needs-Triage-M57
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
This issue occurs on Mac, Linux, and Windows (just tested on each of them with Chrome 58).
Status: Fixed (was: Assigned)
Fixed in ToT.
thanks kozyatin!

Sign in to add a comment