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

Unified Diff: LayoutTests/fast/filesystem/resources/op-restricted-chars.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-restricted-chars.js
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-chars.js b/LayoutTests/fast/filesystem/resources/op-restricted-chars.js
index bb7b974f1f0741bc13189c8b4fd6132cc3e7d62b..d55ebe4547d11356595426f7028d5636d4993438 100644
--- a/LayoutTests/fast/filesystem/resources/op-restricted-chars.js
+++ b/LayoutTests/fast/filesystem/resources/op-restricted-chars.js
@@ -29,7 +29,7 @@ var testCases = [
function(helper) { helper.getFile('/', 'ab|', {create:true}, 0); },
// Only '\\' is disallowed.
- function(helper) { helper.getFile('/', 'a\\b', {create:true}, FileError.INVALID_MODIFICATION_ERR); },
+ function(helper) { helper.getFile('/', 'a\\b', {create:true}, 'InvalidModificationError'); },
// Test for difficult characters in 'name' parameters.
function(helper) { helper.copy('/ab', '/', ' a<b', 0); },
@@ -40,8 +40,8 @@ var testCases = [
function(helper) { helper.copy('/ab', '/', ' a|b', 0); },
// 'Name' parameter cannot contain '/' or '\\'.
- function(helper) { helper.copy('/ab', '/', 'a/b', FileError.INVALID_MODIFICATION_ERR); },
- function(helper) { helper.copy('/ab', '/', 'a\\b', FileError.INVALID_MODIFICATION_ERR); },
+ function(helper) { helper.copy('/ab', '/', 'a/b', 'InvalidModificationError'); },
+ function(helper) { helper.copy('/ab', '/', 'a\\b', 'InvalidModificationError'); },
],
postcondition: [
{fullPath:'/ab', isDirectory:true},
« no previous file with comments | « LayoutTests/fast/filesystem/resources/op-remove.js ('k') | LayoutTests/fast/filesystem/resources/op-restricted-names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698