Web Inspector: extract source mapping logic from DebuggerPresentationModel to ScriptMappingImpl.
Created attachment 130365 [details] Patch
Comment on attachment 130365 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130365&action=review > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:-33 > - * @extends {WebInspector.ScriptMapping} Let's keep ScriptMapping interface implemented by DebuggerPresentationModel to be used by external clients (uiLocationToRawLocation(), rawLocationToUILocation() etc.). Beside that we can have a MutableScriptMapping interface with addScript() and reset() methods to be implemented by MainScriptMapping and other helper script mappings inside MainScriptMapping.
Created attachment 130574 [details] Patch
Committed r110043: <http://trac.webkit.org/changeset/110043>