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

Side by Side Diff: LayoutTests/fast/filesystem/resources/op-restricted-unicode.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 var testCases = [ 1 var testCases = [
2 { 2 {
3 name: 'RestrictedUnicodeChars', 3 name: 'RestrictedUnicodeChars',
4 precondition: [ ], 4 precondition: [ ],
5 tests: [ 5 tests: [
6 function(helper) { helper.getFile('/', 'ab', {create:true}); }, 6 function(helper) { helper.getFile('/', 'ab', {create:true}); },
7 7
8 // Embedded NULs aren't allowed; anything else in the first 32 is fa ir game. 8 // Embedded NULs aren't allowed; anything else in the first 32 is fa ir game.
9 function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, Fi leError.INVALID_MODIFICATION_ERR); }, 9 function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, 'I nvalidModificationError'); },
10 function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0) ; }, 10 function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0) ; },
11 function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0) ; }, 11 function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0) ; },
12 function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0) ; }, 12 function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0) ; },
13 function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0) ; }, 13 function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0) ; },
14 function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0) ; }, 14 function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0) ; },
15 function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0) ; }, 15 function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0) ; },
16 function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0) ; }, 16 function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0) ; },
17 function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0) ; }, 17 function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0) ; },
18 function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0) ; }, 18 function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0) ; },
19 function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0) ; }, 19 function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0) ; },
(...skipping 16 matching lines...) Expand all
36 function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0) ; }, 36 function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0) ; },
37 function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0) ; }, 37 function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0) ; },
38 function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0) ; }, 38 function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0) ; },
39 function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0) ; } 39 function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0) ; }
40 ], 40 ],
41 postcondition: [ 41 postcondition: [
42 {fullPath:'/ab'}, 42 {fullPath:'/ab'},
43 ], 43 ],
44 }, 44 },
45 ]; 45 ];
OLDNEW
« no previous file with comments | « LayoutTests/fast/filesystem/resources/op-restricted-names.js ('k') | LayoutTests/fast/filesystem/resources/op-tests-helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698