Web Inspector: fix source mapping for formatted scripts. Source mapping is broken for script chunks that are already formatted at the beginning and at the end of the script.
Created attachment 92404 [details] Patch.
Comment on attachment 92404 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=92404&action=review > LayoutTests/inspector/debugger/script-formatter.html:69 > + testMapping("function"); Can we just dump formatted source to see the correct result?
(In reply to comment #2) > (From update of attachment 92404 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=92404&action=review > > > LayoutTests/inspector/debugger/script-formatter.html:69 > > + testMapping("function"); > > Can we just dump formatted source to see the correct result? This is a test for source mapping. How would dumping formatted source help us to test the mapping?
Committed r86443: <http://trac.webkit.org/changeset/86443>