new Proxy(new Error, ...) never contains stacktrace

UNCONFIRMED
Unassigned

Status

()

Core
JavaScript Engine
P3
normal
UNCONFIRMED
2 years ago
4 months ago

People

(Reporter: michalwadas, Unassigned)

Tracking

({triage-deferred})

47 Branch
triage-deferred
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160604131506

Steps to reproduce:

try { 
   throw new Error;
} catch(e) {
    console.log(e.stack)
}
try {
    throw new Proxy(new Error, {}); 
} catch(e) {
    console.log(e.stack)
}

Related Chrome issue: https://bugs.chromium.org/p/chromium/issues/detail?id=634340


Actual results:

"@debugger eval code:2:10"
""


Expected results:

"@debugger eval code:2:10"
""@debugger eval code:7:10"

Updated

2 years ago
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Keywords: triage-deferred
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.