blob: 242bb7454173001d51b5e0ac9189305644e29941 [file] [log] [blame]
Tests that the internals.observeGC hook works.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS observationA.wasCollected is false
PASS observationB.wasCollected is true
PASS observationC.wasCollected is true
PASS internals.observeGC(undefined) threw exception TypeError: value to observe is null or undefined.
PASS internals.observeGC(null) threw exception TypeError: value to observe is null or undefined.
PASS did not crash
PASS successfullyParsed is true
TEST COMPLETE