* SUMMARY ProfileView source links are off by 1 line, worse in pretty printed code. * TEST <script> function runFor(ms) { var until = Date.now() + ms; while (Date.now() < until); } function doWork() { runFor(200); } setTimeout(() => { doWork() }, 0); </script> * STEPS TO REPRODUCE 1. Inspect test page 2. Timeline record it doing work 3. Show Profile View 4. Jump to "runFor" => off by 1, it highlights the line with `until` and not `runFor` * NOTES - Protocol produces 1-based line numbers, but SourceCodeLocation expects 0-based.
<rdar://problem/25612513>
Created attachment 275946 [details] [PATCH] Proposed Fix
Comment on attachment 275946 [details] [PATCH] Proposed Fix Clearing flags on attachment: 275946 Committed r199201: <http://trac.webkit.org/changeset/199201>
All reviewed patches have been landed. Closing bug.