Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / filesystem / resources / op-restricted-unicode.js
blobd7aec519bc7c51f10c99ad50eb3aab0fcdfdc980
1 var testCases = [
3 name: 'RestrictedUnicodeChars',
4 precondition: [ ],
5 tests: [
6 function(helper) { helper.getFile('/', 'ab', {create:true}); },
8 // Embedded NULs aren't allowed; anything else in the first 32 is fair game.
9 function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, 'InvalidModificationError'); },
10 function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0); },
11 function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0); },
12 function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0); },
13 function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0); },
14 function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0); },
15 function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0); },
16 function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0); },
17 function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0); },
18 function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0); },
19 function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0); },
20 function(helper) { helper.getFile('/', 'a\u000bb', {create:true}, 0); },
21 function(helper) { helper.getFile('/', 'a\u000cb', {create:true}, 0); },
22 function(helper) { helper.getFile('/', 'a\u000db', {create:true}, 0); },
23 function(helper) { helper.getFile('/', 'a\u000eb', {create:true}, 0); },
24 function(helper) { helper.getFile('/', 'a\u000fb', {create:true}, 0); },
25 function(helper) { helper.getFile('/', 'a\u0010b', {create:true}, 0); },
26 function(helper) { helper.getFile('/', 'a\u0011b', {create:true}, 0); },
27 function(helper) { helper.getFile('/', 'a\u0012b', {create:true}, 0); },
28 function(helper) { helper.getFile('/', 'a\u0013b', {create:true}, 0); },
29 function(helper) { helper.getFile('/', 'a\u0014b', {create:true}, 0); },
30 function(helper) { helper.getFile('/', 'a\u0015b', {create:true}, 0); },
31 function(helper) { helper.getFile('/', 'a\u0016b', {create:true}, 0); },
32 function(helper) { helper.getFile('/', 'a\u0017b', {create:true}, 0); },
33 function(helper) { helper.getFile('/', 'a\u0018b', {create:true}, 0); },
34 function(helper) { helper.getFile('/', 'a\u0019b', {create:true}, 0); },
35 function(helper) { helper.getFile('/', 'a\u001ab', {create:true}, 0); },
36 function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0); },
37 function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0); },
38 function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0); },
39 function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0); }
41 postcondition: [
42 {fullPath:'/ab'},