This example is an HTML app demonstrating how to receive events after Firefox has crashed and recovered. In order to simulate crash:
- Open Firefox and browse to 3 web sites (in 3 different tabs, one tab in focus is “selected”)
- End the firefox.exe process from the Task Manager.
- Re-open Firefox
- Wait until Firefox restores all the tabs that were previously open
Now you should get 3 events, one for each restored tab, with the URL of the web sites browsed, and the URL of the tab that was selected (same URL in all 3 messages).