Summary: | Web Inspector: Move formatting support from JavaScriptSource to UISourceCode. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Vsevolod Vlasov <vsevik> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Vsevolod Vlasov <vsevik> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Vsevolod Vlasov
2012-07-26 05:54:14 PDT
This change will allow us to support CSS formatting and simplify UISourceCode code. Created attachment 154649 [details]
Patch
Comment on attachment 154649 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154649&action=review > Source/WebCore/inspector/front-end/JavaScriptSource.js:51 > uiLocationToRawLocation: function(lineNumber, columnNumber) I don't think you need this method. > Source/WebCore/inspector/front-end/Script.js:223 > + uiLocation: function() This looks like a great self-contained change. > Source/WebCore/inspector/front-end/ScriptFormatter.js:35 > +WebInspector.Formatter = function(workerURL) I don't think we should imply that the formatter is implemented using worker. > Source/WebCore/inspector/front-end/UISourceCode.js:411 > + uiLocationToRawLocation: function(lineNumber, columnNumber) You should move it back. Committed r123852: <http://trac.webkit.org/changeset/123852> |