[wpt-sync] Sync PR 24982 - [weakref] WeakRef/FinalizationRegistry, cleanupSome testing
Categories
(Core :: JavaScript Engine, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox83 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24982 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24982
Details from upstream follow.
Rick Waldron <waldron.rick@gmail.com> wrote:
[weakref] WeakRef/FinalizationRegistry, cleanupSome testing
@syg @leobalter This set of tests are built from the Test262 tests that allow for "maybe" garbage collection. Our harness utilities have been ported over, but with more obvious naming to make everything as clear as possible.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 14 tests and 1 subtests
Status Summary
Firefox
OK : 14
FAIL : 30
Chrome
OK : 14
FAIL : 30
Safari
OK : 2
FAIL : 18
ERROR: 12
Links
Details
New Tests That Don't Pass
/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.worker.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.html
Cleanup might be prevented with an unregister usage: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.worker.html
Cleanup might be prevented with an unregister usage: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.worker.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/holdings-multiple-values.optional.any.worker.html
Requires FinalizationRegistry.prototype.cleanupSome: FAIL (Chrome: FAIL, Safari: FAIL)
undefined as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
null as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
"" as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
{} as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
42 as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
true as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
false as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
Symbol(1) as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
/js/builtins/weakrefs/holdings-multiple-values.optional.any.html
Requires FinalizationRegistry.prototype.cleanupSome: FAIL (Chrome: FAIL, Safari: FAIL)
undefined as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
null as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
"" as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
{} as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
42 as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
true as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
false as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
Symbol(1) as registered holding value: FAIL (Chrome: FAIL, Safari: FAIL)
/js/builtins/weakrefs/reentrancy.optional.any.worker.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/reentrancy.optional.any.html
cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/return-undefined-with-gc.optional.any.worker.html
Return undefined regardless the result of CleanupFinalizationRegistry: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/return-undefined-with-gc.optional.any.html
Return undefined regardless the result of CleanupFinalizationRegistry: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.worker.html
Cannot unregister a cell that has been cleaned up: FAIL (Chrome: FAIL)
/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.html
Cannot unregister a cell that has been cleaned up: FAIL (Chrome: FAIL)
Updated•5 years ago
|
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2190d8f0eb36
https://hg.mozilla.org/mozilla-central/rev/c2e3694b8d0c
Description
•