| 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 ac5d00a0d2678633a1658e85a9c015ca4f89fe96..745022350f9e0f642a854f7c9c1705a8c1c51887 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
|
| @@ -107,7 +107,9 @@ InspectorTest.TestFileSystem.Entry.prototype = {
|
| this._children.splice(index, 1);
|
| delete this._childrenMap[child.name];
|
| child.parent = null;
|
| - InspectorFrontendHost.events.dispatchEventToListeners(InspectorFrontendHostAPI.Events.FileSystemFilesChanged, [fullPath]);
|
| + InspectorFrontendHost.events.dispatchEventToListeners(
|
| + InspectorFrontendHostAPI.Events.FileSystemFilesChangedAddedRemoved,
|
| + {changed: [], added: [], removed: [fullPath]});
|
| success();
|
| },
|
|
|
| @@ -128,7 +130,9 @@ InspectorTest.TestFileSystem.Entry.prototype = {
|
| child.parent = this;
|
| child.content = new Blob([content], {type: 'text/plain'});
|
| var fullPath = this._fileSystem.fileSystemPath + child.fullPath;
|
| - InspectorFrontendHost.events.dispatchEventToListeners(InspectorFrontendHostAPI.Events.FileSystemFilesChanged, [fullPath]);
|
| + InspectorFrontendHost.events.dispatchEventToListeners(
|
| + InspectorFrontendHostAPI.Events.FileSystemFilesChangedAddedRemoved,
|
| + {changed: [], added: [fullPath], removed: []});
|
| return child;
|
| },
|
|
|
| @@ -137,7 +141,9 @@ InspectorTest.TestFileSystem.Entry.prototype = {
|
| this.content = new Blob([content], {type: 'text/plain'});
|
| this._timestamp += 1000;
|
| var fullPath = this._fileSystem.fileSystemPath + this.fullPath;
|
| - InspectorFrontendHost.events.dispatchEventToListeners(InspectorFrontendHostAPI.Events.FileSystemFilesChanged, [fullPath]);
|
| + InspectorFrontendHost.events.dispatchEventToListeners(
|
| + InspectorFrontendHostAPI.Events.FileSystemFilesChangedAddedRemoved,
|
| + {changed: [fullPath], added: [], removed: []});
|
| },
|
|
|
| createReader: function()
|
|
|