Bug 210931 - stress/ensure-crash.js shouldn't spew stuff onto my screen
Summary: stress/ensure-crash.js shouldn't spew stuff onto my screen
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: All All
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-23 12:08 PDT by Filip Pizlo
Modified: 2020-04-23 22:15 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.35 KB, patch)
2020-04-23 20:49 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (3.96 KB, patch)
2020-04-23 20:52 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>