| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a1aabb6 commit 44f08ed
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,6 +11,9 @@ prefix known_issues | |||
| 11 | 11 | # foreseeable future. The test itself is flaky and skipped. It | |
| 12 | 12 | # serves as a demonstration of the issue only. | |
| 13 | 13 | test-vm-timeout-escape-queuemicrotask: SKIP | |
| 14 | + # Skipping it because it crashes out of OOM instead of exiting. | ||
| 15 | + # https://github.com/nodejs/node/issues/47353 | ||
| 16 | + test-shadow-realm-gc: SKIP | ||
| 14 | 17 | ||
| 15 | 18 | [$system==win32] | |
| 16 | 19 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + // Flags: --experimental-shadow-realm --max-old-space-size=20 | ||
| 2 | + 'use strict'; | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * Verifying ShadowRealm instances can be correctly garbage collected. | ||
| 6 | + */ | ||
| 7 | + | ||
| 8 | + require('../common'); | ||
| 9 | + | ||
| 10 | + for (let i = 0; i < 1000; i++) { | ||
| 11 | + const realm = new ShadowRealm(); | ||
| 12 | + realm.evaluate('new TextEncoder(); 1;'); | ||
| 13 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments