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 1ac85af1550ea3641e1598ce6b38769a732436ef..3929c0ddde89e814721e9dd008ad67cc3a0ea132 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 |
@@ -142,7 +142,7 @@ InspectorTest.TestFileSystem.Entry.prototype = { |
var entry = this; |
for (var token of path.split("/")) |
entry = entry._childrenMap[token]; |
- entry ? callback(entry) : errorCallback({ code: FileError.NOT_FOUND_ERR}); |
+ entry ? callback(entry) : errorCallback(new DOMException('Path not found: ' + path, 'NotFoundError')); |
}, |
getMetadata: function(success, failure) |