blob: 6927e522f4b7ec13d82b3b49fc2b5921c58586fe [file] [log] [blame]
Test various operation on an NPObject whose plug-in (that lives in a subframe) has been destroyed
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testObject.gettingProperty threw exception ReferenceError: Trying to access object from destroyed plug-in..
PASS testObject.settingProperty = 10 threw exception ReferenceError: Trying to access object from destroyed plug-in..
PASS testObject() threw exception TypeError: testObject is not a function. (In 'testObject()', 'testObject' is an instance of ProxyRuntimeObject).
PASS new testObject(); threw exception TypeError: ProxyRuntimeObject is not a constructor (evaluating 'new testObject()').