This testcase calls objTest(windowRef.variable) where the windowRef is set according to the different buttons below. All output is again written to the textarea and the source of this document shows test code.
Set windowRef to current window:
Test the two objects using the objTest() function:
Set windowRef to 'testFrame':
Test the two objects:
Open a child window and let windowRef point to it:
Set windowRef to parent frameset:
Go to testcase #3 where the arguments are passed local to the window where objTest() resides.