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

Unified Diff: LayoutTests/fast/filesystem/resources/op-remove.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/op-remove.js
diff --git a/LayoutTests/fast/filesystem/resources/op-remove.js b/LayoutTests/fast/filesystem/resources/op-remove.js
index bd168d664239fbf06ba8b1c6554fa70351ec6efa..396d74b06b4c4762f16ae00eebbbd9d58824903d 100644
--- a/LayoutTests/fast/filesystem/resources/op-remove.js
+++ b/LayoutTests/fast/filesystem/resources/op-remove.js
@@ -8,7 +8,7 @@ var testCases = [
tests: [
function(helper) { helper.remove('/a'); },
function(helper) { helper.remove('/b'); },
- function(helper) { helper.remove('/', FileError.INVALID_MODIFICATION_ERR); }
+ function(helper) { helper.remove('/', 'InvalidModificationError'); }
],
postcondition: [
{fullPath:'/a', nonexistent:true},
@@ -23,7 +23,7 @@ var testCases = [
{fullPath:'/a/c',}
],
tests: [
- function(helper) { helper.remove('/a', FileError.INVALID_MODIFICATION_ERR); }
+ function(helper) { helper.remove('/a', 'InvalidModificationError'); }
],
postcondition: [
{fullPath:'/a', isDirectory:true},
@@ -52,7 +52,7 @@ var testCases = [
],
tests: [
function(helper) { helper.removeRecursively('/a'); },
- function(helper) { helper.removeRecursively('/', FileError.INVALID_MODIFICATION_ERR); }
+ function(helper) { helper.removeRecursively('/', 'InvalidModificationError'); }
],
postcondition: [
{fullPath:'/a', nonexistent:true},
« no previous file with comments | « LayoutTests/fast/filesystem/resources/op-move.js ('k') | LayoutTests/fast/filesystem/resources/op-restricted-chars.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698