mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Previously, when closing a platform window using the browser close button, the represented `CPWindow` was not correctly closed. This patch ensure `-(void)close` is called correctly by using the DOM `unload` event. Also, delegate method `- (void)windowWillClose:` is correctly called.
Requires objj be installed, as well as ojunit, located at http://github.com/cappuccino/ojunit
Run individual tests using a command similar to the following:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j