Bug 210931

Summary: stress/ensure-crash.js shouldn't spew stuff onto my screen
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: Tools / TestsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, fpizlo, ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Description Filip Pizlo 2020-04-23 12:08:13 PDT
JS tests should only spew things onto my screen if they succeed.

ensure-crash appears to succeed but spews errors onto my screen.

We should either skip it so it doesn't pollute a user's screen with errors that aren't errors or we should make it so that `crash!` or whatever makes the test not spew things unless it fails.  run-jsc-stress-tests has the ability to log output and then only spew it if there was an actual error.  We should use that.
Comment 1 Filip Pizlo 2020-04-23 12:09:05 PDT
(In reply to Filip Pizlo from comment #0)
> JS tests should only spew things onto my screen if they succeed.

I mean if they fail.

> 
> ensure-crash appears to succeed but spews errors onto my screen.
> 
> We should either skip it so it doesn't pollute a user's screen with errors
> that aren't errors or we should make it so that `crash!` or whatever makes
> the test not spew things unless it fails.  run-jsc-stress-tests has the
> ability to log output and then only spew it if there was an actual error. 
> We should use that.
Comment 2 Yusuke Suzuki 2020-04-23 20:49:08 PDT
Created attachment 397418 [details]
Patch
Comment 3 Yusuke Suzuki 2020-04-23 20:52:40 PDT
Created attachment 397419 [details]
Patch
Comment 4 EWS 2020-04-23 22:14:26 PDT
Committed r260620: <https://trac.webkit.org/changeset/260620>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 397419 [details].
Comment 5 Radar WebKit Bug Importer 2020-04-23 22:15:19 PDT
<rdar://problem/62281561>