-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=109691 Reviewed by Pavel Feldman. Source/WebCore: Separate project of certain type is now created for each domain. UISourceCode path represents a path in the project now. UISourceCode uri is now calculated based on project id and path. It is also possible to calculate path based on projectId and URI, which is used for uiSourceCodeForURI() methods. * inspector/front-end/FileSystemProjectDelegate.js: (WebInspector.FileSystemProjectDelegate.prototype._filePathForPath): (WebInspector.FileSystemProjectDelegate.prototype.setFileContent): (WebInspector.FileSystemProjectDelegate.prototype._populate.filesLoaded): (WebInspector.FileSystemProjectDelegate.prototype._populate): (WebInspector.FileSystemProjectDelegate.prototype._removeFile): * inspector/front-end/ScriptSnippetModel.js: (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet): * inspector/front-end/SimpleWorkspaceProvider.js: (WebInspector.SimpleProjectDelegate): (WebInspector.SimpleProjectDelegate.projectId): (WebInspector.SimpleProjectDelegate.prototype.id): (WebInspector.SimpleProjectDelegate.prototype.displayName): (WebInspector.SimpleProjectDelegate.prototype.addFile): (WebInspector.SimpleWorkspaceProvider): (WebInspector.SimpleWorkspaceProvider.splitURL): (WebInspector.SimpleWorkspaceProvider._pathForSplittedURL): (WebInspector.SimpleWorkspaceProvider.uriForURL): (WebInspector.SimpleWorkspaceProvider.prototype._projectDelegate): (WebInspector.SimpleWorkspaceProvider.prototype._innerAddFileForURL): (WebInspector.SimpleWorkspaceProvider.prototype.addFileByName): (WebInspector.SimpleWorkspaceProvider.prototype._innerAddFile): (WebInspector.SimpleWorkspaceProvider.prototype.removeFileByName): (WebInspector.SimpleWorkspaceProvider.prototype.reset): * inspector/front-end/UISourceCode.js: (WebInspector.UISourceCode.uri): (WebInspector.UISourceCode.path): (WebInspector.UISourceCode.prototype.uri): * inspector/front-end/Workspace.js: (WebInspector.Project.prototype._fileAdded): (WebInspector.Project.prototype._fileRemoved): (WebInspector.Project.prototype.uiSourceCodeForURI): LayoutTests: * inspector/debugger/live-edit-breakpoints-expected.txt: * inspector/debugger/live-edit-breakpoints.html: * inspector/uisourcecode-revisions.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21f81aea