Bug 222544 - Each process should have a way to identify if tests are being run
Summary: Each process should have a way to identify if tests are being run
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks: webglgpup
  Show dependency treegraph
 
Reported: 2021-03-01 04:52 PST by Kimmo Kinnunen
Modified: 2021-03-08 04:53 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-03-01 04:52:05 PST
Each process should have a way to identify if tests are being run

Process separation targets resilience for errors.
After implementing the resilience, it should be tested.
The test likely involves invoking the error.
The error should be likely only invokable from testing.

This means there should be a flag for question "are tests being run?" that each process can access.

Example: WebGL needs to test cases for GPU process hang and GPU process crash. These error conditions should be invocable from the tests, but not otherwise.
Comment 1 Radar WebKit Bug Importer 2021-03-08 04:53:14 PST
<rdar://problem/75166219>