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