blob: 9eea947895018b71d90540f6c174bc569e625994 [file] [log] [blame]
This tests that string replacement with a large replacement string causes an out-of-memory exception. See bug 102956 for more details.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS x.replace(/\d/g, y) threw exception RangeError: Out of memory.
PASS successfullyParsed is true
TEST COMPLETE