| 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},
|
|
|