Bug 202828 - Modify JSTests/stress/string-overflow-createError-*.js tests to allow an OOME result.
Summary: Modify JSTests/stress/string-overflow-createError-*.js tests to allow an OOME...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-10-10 15:06 PDT by Mark Lam
Modified: 2019-10-10 16:45 PDT (History)
2 users (show)

See Also:


Attachments
propose patch. (2.01 KB, patch)
2019-10-10 15:13 PDT, Mark Lam
ysuzuki: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2019-10-10 15:06:58 PDT
The tests intentionally allocate a very large string.  Hence, for some memory limited configurations, it is perfectly reasonable for the test to throw an Out Of Memory error.
Comment 1 Mark Lam 2019-10-10 15:13:48 PDT
Created attachment 380692 [details]
propose patch.
Comment 2 Yusuke Suzuki 2019-10-10 15:22:24 PDT
Comment on attachment 380692 [details]
propose patch.

r=me
Comment 3 Mark Lam 2019-10-10 16:44:38 PDT
Thanks for the review.  Landed in r250995: <http://trac.webkit.org/r250995>.
Comment 4 Radar WebKit Bug Importer 2019-10-10 16:45:18 PDT
<rdar://problem/56174573>