Index: LayoutTests/fast/filesystem/resources/op-restricted-unicode.js |
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js b/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js |
index 5c1f1bf54582277ae83cf827c2edb2b130022363..d7aec519bc7c51f10c99ad50eb3aab0fcdfdc980 100644 |
--- a/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js |
+++ b/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js |
@@ -6,7 +6,7 @@ var testCases = [ |
function(helper) { helper.getFile('/', 'ab', {create:true}); }, |
// Embedded NULs aren't allowed; anything else in the first 32 is fair game. |
- function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, FileError.INVALID_MODIFICATION_ERR); }, |
+ function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, 'InvalidModificationError'); }, |
function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0); }, |
function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0); }, |
function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0); }, |