Now after clicking on the hyperlink and getting the popup window, when i close it (popup but not the background window) and do some refresh action on my harness, i get blank white screen with message "No Stream to Display". In the logs PRRuntime error is shown.
// Loop through the array and try to identify the window in question
for(i=0; i<newWindowsArray.length; i++)
if (!newWindowsArray[i].winObject.closed) newWindowsArray[i].winObject.close();
newWindowsArray.length = 0;
// Close EFS window named "OHFS_App_Window"
var winFeatures = "width=512,height=384,left=3000,top=3000,scrollbars=yes,location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes";
var efsWindow = window.open("", "OHFS_App_Window", winFeatures);
// function to call in parent document when closing a window
// Pass in the name of the window you want to close as the
// input parameter.
// doesn't work due to different domain for EFS windows
if (tceWindow && !tceWindow.closed)
Code of the main popup window: [HTML custom control]