Debian Codegraph @

js/src/jit-test/tests/auto-regress/bug1798883.js

raw
1 // String with an initial part which doesn't need to be normalised and a tail
2 // which gets normalised to "\u05E9\u05BC\u05C1".
3 var s = "a".repeat(32) + String.fromCharCode(0xFB2C);
4
5 oomTest(function() {
6 // |normalize()| needs to be called at least twice to trigger the bug.
7 s.normalize();
8 s.normalize();
9 });