blob: ea5bedf79a6dca62e22e5bef7061c0aec83275d3 [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.
PASS wasCollectedPrematurely is false
PASS wasCalled is true
PASS successfullyParsed is true
TEST COMPLETE