Skip to content
  • vsevik@chromium.org's avatar
    Web Inspector: Add a test for Workspace add/removeMapping methods. · c956e0d2
    vsevik@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=112035
    
    Reviewed by Alexander Pavlov.
    
    Source/WebCore:
    
    Test: inspector/debugger/file-system-project-mapping.html
    
    * inspector/front-end/ScriptsPanel.js:
    (WebInspector.ScriptsPanel.prototype._mapFileSystemToNetwork.mapFileSystemToNetwork):
    (WebInspector.ScriptsPanel.prototype._mapFileSystemToNetwork):
    (WebInspector.ScriptsPanel.prototype._mapNetworkToFileSystem.mapNetworkToFileSystem):
    (WebInspector.ScriptsPanel.prototype._mapNetworkToFileSystem):
    * inspector/front-end/Workspace.js:
    (WebInspector.Project.prototype._fileAdded):
    (WebInspector.Workspace.prototype.addMapping):
    
    LayoutTests:
    
    * http/tests/inspector/isolated-filesystem-test.js: Added.
    (initialize_IsolatedFileSystemTest.InspectorTest.createIsolatedFileSystemManager):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystem):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.path):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.requestFileContent):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.setFileContent):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.requestFilesRecursive):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager.prototype.addMockFileSystem):
    (initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager.prototype.removeMockFileSystem):
    (initialize_IsolatedFileSystemTest):
    * inspector/debugger/file-system-project-mapping-expected.txt: Added.
    * inspector/debugger/file-system-project-mapping.html: Added.
    * inspector/debugger/resource-script-mapping.html:
    * inspector/file-system-project.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c956e0d2