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

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

Issue 17761003: Remove FileException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 7 years, 6 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-depth.js
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js b/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
index 97b120ad0fd394f12c8a270c87e56e01508f18da..fd490191cb1b0a498bb866ab4df556187da11934 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
@@ -31,7 +31,7 @@ function onAbort(e) {
try {
method();
} catch (ex) {
- assert(ex.code == 2); // Security error
+ assert(ex.name == 'SecurityError');
testPassed("Saw security error");
}
}

Powered by Google App Engine
This is Rietveld 408576698