mirror of
https://github.com/tc39/test262.git
synced 2025-05-04 15:00:42 +02:00
* [javascriptcore-test262-automation] changes from git@github.com:WebKit/webkit.git at sha 949e26452cfa153a7f4afe593da97e2fe9e1b706 on Tue Jul 03 2018 14:35:15 GMT-0400 (Eastern Daylight Time)
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
//@ skip if $hostOS == "windows" or $memoryLimited
|
|
// FIXME: unskip this test when https://bugs.webkit.org/show_bug.cgi?id=179298 is fixed.
|
|
|
|
var exception;
|
|
try {
|
|
var str0 = new String('@hBg');
|
|
var collat3 = new Intl.Collator();
|
|
str10 = str0.padEnd(0x7FFFFFFC, 1);
|
|
Object.defineProperty(collat3, Symbol.toStringTag, { value: str10 });
|
|
collat3.toLocaleString();
|
|
} catch (e) {
|
|
exception = e;
|
|
}
|
|
|
|
if (exception != "Error: Out of memory")
|
|
throw "FAILED";
|