* 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>
<rdar://problem/23888682>
Created attachment 267320 [details] [PATCH] Proposed Fix
Comment on attachment 267320 [details] [PATCH] Proposed Fix Clearing flags on attachment: 267320 Committed r194066: <http://trac.webkit.org/changeset/194066>
All reviewed patches have been landed. Closing bug.