RESOLVED FIXED 152270
Web Inspector: Copy message from console with a stack trace does not include source code locations
https://bugs.webkit.org/show_bug.cgi?id=152270
Summary Web Inspector: Copy message from console with a stack trace does not include ...
Joseph Pecoraro
Reported 2015-12-14 14:05:29 PST
* SUMMARY Copy message from console with a stack trace does not include source code locations. * STEPS TO REPRODUCE 1. Load test case 2. Select both console messages 3. Copy 4. Paste somewhere => Missing source code locations for frames * ACTUAL RESULTS > [Log] console.trace() > bar > foo > (anonymous function) > [Error] TypeError: undefined is not an object (evaluating '({}).x.x') > bar2 > foo2 > (anonymous function) * EXPECTED RESULTS > [Log] console.trace() > bar (trace.html:7) > foo (trace.html:3) > (anonymous function) (trace.html:11) > [Error] TypeError: undefined is not an object (evaluating '({}).x.x') > bar2 (trace.html:18) > foo2 (trace.html:14) > (anonymous function) (trace.html:22) * TEST <script> function foo() { bar(); } function bar() { console.trace(); } // Trace foo(); function foo2() { bar2(); } function bar2() { ({}).x.x; } // Exception foo2(); </script>
Attachments
[PATCH] Proposed Fix (1.90 KB, patch)
2015-12-14 14:10 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-12-14 14:06:00 PST
Joseph Pecoraro
Comment 2 2015-12-14 14:10:25 PST
Created attachment 267320 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 2015-12-14 15:10:47 PST
Comment on attachment 267320 [details] [PATCH] Proposed Fix Clearing flags on attachment: 267320 Committed r194066: <http://trac.webkit.org/changeset/194066>
WebKit Commit Bot
Comment 4 2015-12-14 15:10:50 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.