RESOLVED FIXED 67205
Web Inspector: implement source map v3 consumer.
https://bugs.webkit.org/show_bug.cgi?id=67205
Summary Web Inspector: implement source map v3 consumer.
Pavel Podivilov
Reported 2011-08-30 09:23:21 PDT
Web Inspector: implement source map v3 consumer.
Attachments
Patch (14.74 KB, patch)
2011-08-30 09:24 PDT, Pavel Podivilov
no flags
Patch (14.85 KB, patch)
2011-09-05 10:38 PDT, Pavel Podivilov
yurys: review+
Pavel Podivilov
Comment 1 2011-08-30 09:24:56 PDT
Yury Semikhatsky
Comment 3 2011-09-05 02:37:35 PDT
Comment on attachment 105640 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=105640&action=review > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:49 > + get sources() This should be a function since it may be overridden. > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:59 > +WebInspector.ClosureCompilerSourceMapping = function(payload) Is there a document describing the mapping format? If so, please add a link to the document here, otherwise provide a description of the format. > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:101 > + count -= step; Can we replace count with step in the loop and get rid of these "count =" assignments?
Pavel Podivilov
Comment 4 2011-09-05 10:38:40 PDT
Pavel Podivilov
Comment 5 2011-09-05 10:40:50 PDT
(In reply to comment #3) > (From update of attachment 105640 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=105640&action=review > > > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:49 > > + get sources() > > This should be a function since it may be overridden. I think getters/setters can also be overridden just like regular functions. > > > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:59 > > +WebInspector.ClosureCompilerSourceMapping = function(payload) > > Is there a document describing the mapping format? If so, please add a link to the document here, otherwise provide a description of the format. Done. > > > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:101 > > + count -= step; > > Can we replace count with step in the loop and get rid of these "count =" assignments? I don't think so, both count and step are required here since count could be odd.
Yury Semikhatsky
Comment 6 2011-09-05 23:40:59 PDT
Comment on attachment 106346 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=106346&action=review > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:61 > + // This class implements Source Map V3 consumer. Source Map V3 format is described The comment should go into the constructor description, not in its body.
Pavel Podivilov
Comment 7 2011-09-06 10:35:45 PDT
Note You need to log in before you can comment on or make changes to this bug.