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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: handleEvent -> invoke and other review nits Created 4 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
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)

Powered by Google App Engine
This is Rietveld 408576698