Index: third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js |
index 3929c0ddde89e814721e9dd008ad67cc3a0ea132..5d0ed1ab79f1e57e526b4cf5c754b58ccea8a2b1 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js |
@@ -106,6 +106,13 @@ InspectorTest.TestFileSystem.Entry.prototype = { |
return child; |
}, |
+ setContent: function(content) |
+ { |
+ this.content = new Blob([content], {type: 'text/plain'}); |
+ var fullPath = this._fileSystem.fileSystemPath + this.fullPath; |
+ InspectorFrontendHost.events.dispatchEventToListeners(InspectorFrontendHostAPI.Events.FileSystemFilesChanged, [fullPath]); |
+ }, |
+ |
createReader: function() |
{ |
return new InspectorTest.TestFileSystem.Reader(this._children); |