Debian Codegraph @

js/src/tests/non262/String/normalize-generateddata-part3.js

raw
1 // |reftest| skip-if(!xulRuntime.shell) -- uses shell load() function
2
3 var BUGNUMBER = 918987;
4 var summary = 'String.prototype.normalize - part3';
5
6 print(BUGNUMBER + ": " + summary);
7
8 function test() {
9 loadRelativeToScript('normalize-generateddata-input.js');
10
11 for (var test3 of tests_part3) {
12 runNormalizeTest(test3);
13 }
14 }
15
16 if ("normalize" in String.prototype) {
17 // String.prototype.normalize is not enabled in all builds.
18 test();
19 }
20
21 if (typeof reportCompare === "function")
22 reportCompare(true, true);