uc-001-n.js (791B)
1 /* -*- tab-width: 8; indent-tabs-mode: nil; js-indent-level: 4 -*- 2 * This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 var BUGNUMBER = 23612; 7 8 test(); 9 10 function test() 11 { 12 printStatus ("Unicode Characters 1C-1F negative test."); 13 printBugNumber (BUGNUMBER); 14 15 reportCompare ("error", eval ("'no'\u001C+' error'"), 16 "Unicode whitespace test (1C.)"); 17 reportCompare ("error", eval ("'no'\u001D+' error'"), 18 "Unicode whitespace test (1D.)"); 19 reportCompare ("error", eval ("'no'\u001E+' error'"), 20 "Unicode whitespace test (1E.)"); 21 reportCompare ("error", eval ("'no'\u001F+' error'"), 22 "Unicode whitespace test (1F.)"); 23 }