The following failure is seen on the 32-bit JSC test bot: Running stress/regexp-exec-effect-after-exception.js.default stress/regexp-compile-oom.js.default: Got the following failures: stress/regexp-compile-oom.js.default: Running () => { deepRE.exec("x"); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { deepRE.test("x"); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { "x".match(deepRE); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { "x".match(deepGlobalRE); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { "x".replace(deepGlobalRE, ""); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { "x".replace(deepGlobalRE, "X"); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Running () => { "x".replace(deepGlobalRE, () => { return "X" }); }, expected: "Error: Out of memory: Invalid regular expression: too many nested disjunctions" but got "RangeError: Maximum call stack size exceeded." stress/regexp-compile-oom.js.default: Running () => { "x".search(deepRE); }, expected OOM exception, but didn't get one stress/regexp-compile-oom.js.default: Exception: Got failures stress/regexp-compile-oom.js.default: ERROR: Unexpected exit code: 3 FAIL: stress/regexp-compile-oom.js.default https://build.webkit.org/builders/Apple%20High%20Sierra%2032-bit%20JSC%20%28BuildAndTest%29/builds/2854
Updating title. It is stress/regexp-compile-oom.js.default that is failing.
<rdar://problem/45952167>
Created attachment 355657 [details] Patch
Comment on attachment 355657 [details] Patch rs=me
Comment on attachment 355657 [details] Patch Clearing flags on attachment: 355657 Committed r238508: <https://trac.webkit.org/changeset/238508>
All reviewed patches have been landed. Closing bug.