Bug 209974

Summary: [JSC] TypedArray#subarray should throw OOM error gracefully
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, aperez, ap, cgarcia, clopez, ews-watchlist, jsc32, keith_miller, mark.lam, msaboff, saam, ticaiolima, tzagallo, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=210003
https://bugs.webkit.org/show_bug.cgi?id=210507
Attachments:
Description Flags
Patch mark.lam: review+

Description Yusuke Suzuki 2020-04-03 10:28:52 PDT
[JSC] TypedArray#subarray should throw OOM error gracefully
Comment 1 Yusuke Suzuki 2020-04-03 10:31:02 PDT
Created attachment 395392 [details]
Patch
Comment 2 Yusuke Suzuki 2020-04-03 10:31:05 PDT
<rdar://problem/61253901>
Comment 3 Mark Lam 2020-04-03 10:36:36 PDT
Comment on attachment 395392 [details]
Patch

r=me
Comment 4 Yusuke Suzuki 2020-04-03 11:29:12 PDT
Committed r259478: <https://trac.webkit.org/changeset/259478>
Comment 6 Mark Lam 2020-04-04 09:16:38 PDT
I've skipped the test for armv7 and mips in r259530: <http://trac.webkit.org/r259530>, and filed https://bugs.webkit.org/show_bug.cgi?id=210003 for the root cause to be investigated.
Comment 7 Keith Miller 2020-04-04 09:47:03 PDT
(In reply to Mark Lam from comment #6)
> I've skipped the test for armv7 and mips in r259530:
> <http://trac.webkit.org/r259530>, and filed
> https://bugs.webkit.org/show_bug.cgi?id=210003 for the root cause to be
> investigated.

I think you'll just want to skip if $memoryLimited (might be a different name). These failures sometimes cause problems on iOS testing too.
Comment 8 Yusuke Suzuki 2020-04-04 10:42:38 PDT
(In reply to Keith Miller from comment #7)
> (In reply to Mark Lam from comment #6)
> > I've skipped the test for armv7 and mips in r259530:
> > <http://trac.webkit.org/r259530>, and filed
> > https://bugs.webkit.org/show_bug.cgi?id=210003 for the root cause to be
> > investigated.
> 
> I think you'll just want to skip if $memoryLimited (might be a different
> name). These failures sometimes cause problems on iOS testing too.

Yes, looks like this is timeout because these bots are slow.
Comment 9 Yusuke Suzuki 2020-04-04 11:56:27 PDT
Committed r259535: <https://trac.webkit.org/changeset/259535>