X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fhttp%2Ftests%2Finspector%2Fisolated-filesystem-test.js;h=cf8cebf73da513f8536087cbe979226fe97da768;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=e3fa76bfc25642d6a246ef7bc4ad6b069485be52;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js b/src/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js index e3fa76b..cf8cebf 100644 --- a/src/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js +++ b/src/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js @@ -57,6 +57,11 @@ MockIsolatedFileSystem.prototype = { this._innerRequestFilesRecursive(); }, + renameFile: function(filePath, newName, callback) + { + callback(true, newName); + }, + _innerRequestFilesRecursive: function() { if (!this._callback) @@ -129,7 +134,7 @@ MockIsolatedFileSystemManager.prototype = { InspectorTest.addMockFileSystem = function(path) { var fileSystem = { fileSystemName: "", rootURL: "", fileSystemPath: path }; - WebInspector.isolatedFileSystemDispatcher.fileSystemAdded("", fileSystem); + WebInspector.isolatedFileSystemManager._onFileSystemAdded({data: {fileSystem: fileSystem}}); return MockIsolatedFileSystem._isolatedFileSystemMocks[path]; }