History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-370
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

PI/Firefox: Window closing message doesn't always get sent

Created: 19/Oct/07 05:01 PM   Updated: 12/Aug/08 05:37 PM
Component/s: Launcher - Firefox, Proxy Injection
Affects Version/s: 0.9.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Run TestSelectWindow under pifirefox a few dozen times. Eventually the test will hang. Looking through the logs, this happens when a pop-up window is closing but fails to send back the onUnload "Window closing" message that PI requires to know whether the window has closed.

Specifically, since the code never receives the "closed" message, we incorrectly send new messages to closed windows. They never respond and the test locks up.

 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 19/Oct/07 05:06 PM
I think this is probably related to SRC-169. Attempting to update the JS vars asynchronously is probably failing for much the same reason: the window is closing and so the extra XHRs aren't necessarily getting sent.

Dan Fabulich - 27/Nov/07 02:14 PM
We might be able to resolve this by doing the "Window closing" message in SJAX (XHR with async=false)... Worth a try.