Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: LayoutTests/http/tests/inspector/isolated-filesystem-test.js

Issue 432753003: DevTools: Fix url assignment when renaming files in workspace (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test and fixed correctly Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/isolated-filesystem-test.js
diff --git a/LayoutTests/http/tests/inspector/isolated-filesystem-test.js b/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
index 36ec9f33490aeb69057fad0e626769c1c2da4d33..cf8cebf73da513f8536087cbe979226fe97da768 100644
--- a/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
+++ b/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)
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698