Open Bug 1589714 Opened 5 months ago Updated 5 months ago

Add web platform tests for weak references

Categories

(Core :: JavaScript: GC, task, P2)

task

Tracking

()

REOPENED

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

Functionality is covered by test262 but we need to add some tests to validate browser integration with the JS engine.

Thinking about this more, jstests (which includes the test262 tests) are run in the browser so we shouldn't need WPT tests for this. Anything FF specific can be added as a jstest outside the test262 suite.

Status: NEW → RESOLVED
Closed: 5 months ago
Priority: -- → P2
Resolution: --- → INVALID

There are some host specific hooks whose behavior should probably be tested and cannot be part of test262. In particular, the handling/reporting of exceptions thrown in the cleanup callback when the callback is invoked through the HostCleanupFinalizationGroup job is currently a source of issues in Chrome/v8.

(In reply to Mathieu Hofman from comment #2)
Thanks, that's a good point. We should be able to add a test that those exceptions get reported at least.

Status: RESOLVED → REOPENED
Resolution: INVALID → ---
You need to log in before you can comment on or make changes to this bug.