RESOLVED FIXED 60263
Web Inspector: fix source mapping for formatted scripts.
https://bugs.webkit.org/show_bug.cgi?id=60263
Summary Web Inspector: fix source mapping for formatted scripts.
Pavel Podivilov
Reported 2011-05-05 05:08:33 PDT
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.
Attachments
Patch. (13.49 KB, patch)
2011-05-05 05:09 PDT, Pavel Podivilov
yurys: review+
Pavel Podivilov
Comment 1 2011-05-05 05:09:29 PDT
Yury Semikhatsky
Comment 2 2011-05-13 04:40:58 PDT
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?
Pavel Podivilov
Comment 3 2011-05-13 10:24:46 PDT
(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?
Pavel Podivilov
Comment 4 2011-05-13 10:27:41 PDT
Note You need to log in before you can comment on or make changes to this bug.