summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_6/String/normalize-generateddata-part2.js
blob: 6a942b3a1cbb77291ddfe826d99d3bc80b9909e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// |reftest| skip-if(!xulRuntime.shell) -- uses shell load() function

var BUGNUMBER = 918987;
var summary = 'String.prototype.normalize - part2';

print(BUGNUMBER + ": " + summary);

function test() {
  load('ecma_6/String/normalize-generateddata-input.js');

  for (var test2 of tests_part2) {
    runNormalizeTest(test2);
  }
}

if ("normalize" in String.prototype) {
  // String.prototype.normalize is not enabled in all builds.
  test();
}

if (typeof reportCompare === "function")
  reportCompare(true, true);