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

Issue 679054 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue v8:5671
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

TypeError: Reflect.construct is not a function

Reported by trusktr@gmail.com, Jan 6 2017

Issue description

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

Steps to reproduce the problem:
1. Run this in console:
Reflect.construct(Error, ['test'], undefined)

What is the expected behavior?
It should say something about the third argument being wrong, or it should just work the same as if there were no third argument.

What went wrong?
Instead it gives this error that isn't so helpful is tracking the problem:

  Uncaught TypeError: Reflect.construct is not a function

In contrast, Firefox's error is more helpful:

  TypeError: Reflect.construct argument 3 is not a constructor

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.12.1
Flash Version: Shockwave Flash 24.0 r0
 
Components: -Blink>JavaScript Blink>JavaScript>Runtime
Labels: OS-Windows
Status: Untriaged (was: Unconfirmed)
Cc: littledan@chromium.org adamk@chromium.org
Components: -Blink>JavaScript>Runtime Blink>JavaScript>Language
Status: Available (was: Untriaged)

Comment 3 by adamk@chromium.org, Jan 9 2017

Mergedinto: v8:5671
Status: Duplicate (was: Available)

Sign in to add a comment