diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2023-08-05 23:34:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 23:34:14 +0200 |
commit | a1280c36c245daf1552651559d3c3c6c6e8ed71b (patch) | |
tree | 420c087e280ab9d4c723f3056d6d107caa2b0c97 | |
parent | 6b0f75d1f50bf7afa47ba6ae369bca967754cf21 (diff) |
chore(wpt): expose gc (#20060)
This PR exposes garbage collector for WPT
see:
https://github.com/web-platform-tests/wpt/blob/3d80f7e87928e2d0da25d1c60a13dab001332139/common/gc.js#L34-L36
```
/streams/readable-streams/garbage-collection.any.html
test stderr:
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
file result: ok. 4 passed; 0 failed; 0 expected failure; total 4 (255ms)
----------------------------------------
/streams/readable-streams/garbage-collection.any.worker.html
test stderr:
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
Tests are running without the ability to do manual garbage collection. They will still work, but coverage will be suboptimal.
file result: ok. 4 passed; 0 failed; 0 expected failure; total 4 (277ms)
```
This PR removes that warning and improves coverage.
-rw-r--r-- | tools/wpt/runner.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 90898ae6f..fb39ddfa4 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -101,6 +101,7 @@ export async function runSingleTest( "run", "-A", "--unstable", + "--v8-flags=--expose-gc", ]; if (inspectBrk) { |