DOMException in onunhandledrejection handler has no stacktrace
Reported by
ben.gour...@bugsnag.com,
Jan 16 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Steps to reproduce the problem: 1. tar -xvf chrome-bug-reduced-test-case.tar.gz 2. serve the chrome-bug-reduced-test-case directory on localhost with a webserver 3. load page in chrome and compare the console output from clicking on the three buttons What is the expected behavior? DOMExceptions should have a "stack" property What went wrong? Uncaught exceptions caused by a DOMException (caught and handled via window.onerror) have a .stack property. Unhandled promise rejections caused by a DOMException (caught and handled via window.onunhandledrejection) do not have a .stack property. See attachment annotated screenshot for example output from the reduced test case. The other attachment (not annotated) shows the async stacktrace where Chrome knows the original callsite of the promise that was eventually rejected. Did this work before? No Does this work in other browsers? N/A Chrome version: 63.0.3239.132 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Jan 17 2018
Looks like this is on propagating errors from service workers. Over to that team to determine if this is an issue or working as intended.
,
Jan 19 2018
falken@ Could you please look at this issue?
,
Jan 9
Freeing this up as I haven't looked in a year. |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Jan 16 2018