Bug 202828

Summary: Modify JSTests/stress/string-overflow-createError-*.js tests to allow an OOME result.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
propose patch. ysuzuki: review+

Mark Lam
Reported 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.
Attachments
propose patch. (2.01 KB, patch)
2019-10-10 15:13 PDT, Mark Lam
ysuzuki: review+
Mark Lam
Comment 1 2019-10-10 15:13:48 PDT
Created attachment 380692 [details] propose patch.
Yusuke Suzuki
Comment 2 2019-10-10 15:22:24 PDT
Comment on attachment 380692 [details] propose patch. r=me
Mark Lam
Comment 3 2019-10-10 16:44:38 PDT
Thanks for the review. Landed in r250995: <http://trac.webkit.org/r250995>.
Radar WebKit Bug Importer
Comment 4 2019-10-10 16:45:18 PDT
Note You need to log in before you can comment on or make changes to this bug.