blob: cc0a24fde832948970d5c740c663473f1564e161 [file] [log] [blame]
Tests that a script processor node is not prematurely GCed
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing with explicitly keeping a reference to the script processor node alive.
PASS wasCollectedPrematurely is false
PASS wasCalled is true
Testing without explicitly keeping a reference to the script processor node alive.
FAIL wasCollectedPrematurely should be false. Was true.
FAIL wasCalled should be true. Was false.
PASS successfullyParsed is true
TEST COMPLETE