Name Description Size Coverage
data_cache.ts Utilities to improve the performance of the CTS, by caching data that is expensive to build using a two-level cache (in-memory, pre-computed file). 6370 -
fixture.ts The fully-general type for params passed to a test function invocation. 14232 -
metadata.ts Metadata about tests (that can't be derived at runtime). 945 -
on_shutdown.ts Register a callback to be run during program shutdown (triggered, e.g., by the 'beforeunload' event when the webpage is being closed). Note such tasks should be synchronous functions; otherwise, they probably won't complete. 575 -
params_builder.ts Provides doc comments for the methods of CaseParamsBuilder and SubcaseParamsBuilder. (Also enforces rough interface match between them.) 13708 -
resources.ts Base path for resources. The default value is correct for non-worker WPT, but standalone and workers must access resources using a different base path, so this is overridden in `test_worker-worker.ts` and `standalone.ts`. 3433 -
test_config.ts Enable debug-level logs (normally logged via `Fixture.debug()`). 3270 -
test_group.ts 59 -