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

Unified Diff: LayoutTests/fast/filesystem/resources/file-writer-abort.js

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win test expectation fix (temporary) Created 7 years, 4 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: LayoutTests/fast/filesystem/resources/file-writer-abort.js
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort.js b/LayoutTests/fast/filesystem/resources/file-writer-abort.js
index 499a7df8a395340907eb1ced0a91c77f4f3778ef..b3f62dc0111dde25a3d38d16f5c7f53899a01f77 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-abort.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-abort.js
@@ -38,7 +38,7 @@ function onWrite(e) {
function onAbort(e) {
assert(writer.readyState == writer.DONE);
- assert(writer.error.code == writer.error.ABORT_ERR);
+ assert(writer.error.name == "AbortError");
assert(sawWriteStart);
assert(!sawWriteEnd);
assert(!sawAbort);
@@ -49,7 +49,7 @@ function onAbort(e) {
function onWriteEnd(e) {
assert(writer.readyState == writer.DONE);
- assert(writer.error.code == writer.error.ABORT_ERR);
+ assert(writer.error.name == "AbortError");
assert(sawWriteStart);
assert(sawAbort);
assert(!sawWriteEnd);
« no previous file with comments | « LayoutTests/fast/filesystem/resources/file-from-file-entry.js ('k') | LayoutTests/fast/filesystem/resources/op-copy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698