chromium/third_party/blink/web_tests/fast/filesystem/resources/op-restricted-unicode.js

var testCases = [
    {
        name: 'RestrictedUnicodeChars',
        precondition: [ ],
        tests: [
            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}, '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); },
            function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000bb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000cb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000db', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000eb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u000fb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0010b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0011b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0012b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0013b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0014b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0015b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0016b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0017b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0018b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u0019b', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u001ab', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0); },
            function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0); }
        ],
        postcondition: [
            {fullPath:'/ab'},
        ],
    },
];