RESOLVED FIXED 92265
Web Inspector: SASS source mapping straw man (behind experiment)
https://bugs.webkit.org/show_bug.cgi?id=92265
Summary Web Inspector: SASS source mapping straw man (behind experiment)
Pavel Feldman
Reported 2012-07-25 10:14:25 PDT
This change introduces SASS mapping support (behind the experiment).
Attachments
Patch (24.40 KB, patch)
2012-07-25 10:17 PDT, Pavel Feldman
vsevik: review+
Pavel Feldman
Comment 1 2012-07-25 10:17:05 PDT
Alexander Pavlov (apavlov)
Comment 2 2012-07-25 13:18:25 PDT
Comment on attachment 154382 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154382&action=review > Source/WebCore/inspector/front-end/SASSSourceMapping.js:51 > + function populateFrame(frame) We seem to have a few similar hand-written traversals - might warrant a visitor... > Source/WebCore/inspector/front-end/SASSSourceMapping.js:83 > + var regex = /@media\s\-sass\-debug\-info{filename{font-family:([^}]+)}line{font-family:\\[0]+([^}]*)}}/i; "[0]" does not need the square brackets around '0' (if I'm reading it correctly as a single-character class). > Source/WebCore/inspector/front-end/ScriptsPanel.js:-472 > - seems like a stray change
Vsevolod Vlasov
Comment 3 2012-07-26 09:13:25 PDT
Comment on attachment 154382 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154382&action=review > Source/WebCore/inspector/front-end/SASSSourceMapping.js:98 > + var rawLocation = resource.url + ":" + (lineNumber + 1); Please use another name (e.g. rawLocationString or rawLocationId) for this variable as it is not a RawLocation. > Source/WebCore/inspector/front-end/SASSSourceMapping.js:128 > + return new WebInspector.CSSLocation(uiSourceCode.contentURL() || "", lineNumber); Please add a FIXME: comment saying this is a stub implementation
Pavel Feldman
Comment 4 2012-07-26 10:25:26 PDT
Note You need to log in before you can comment on or make changes to this bug.