[Webkit-unassigned] [Bug 158792] OOM Assertion failure when Function constructor cannot create source string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 10:52:27 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=158792

--- Comment #2 from Alexey Proskuryakov <ap at webkit.org> ---
At least on macOS, I'm now seeing an OOM exception, which seems like correct behavior.

>>> var p = "a".repeat(0x7ffffff)
undefined
>>> var r = Function(
...   p, p, p, p, p,
...   p, p, p, p, p,
...   p, p, p, p, p,
...   p, p, p, p, p
... );
Exception: RangeError: Out of memory

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241015/ea2560ae/attachment.htm>


More information about the webkit-unassigned mailing list