Should not fire event on destroyed window
Should keep parent window when reloading iframe
DOMContentLoaded/load should reuse document event on window
Form submission should emit submit event
Browser.request/response replace lastRequest/lastResponse
Should fire DOMContentLoaded/onload only once.
Browser.fire should fire event synchronously
pushState/replaceState should not fail if called without URL
Browser should wait for blocking events
Should default form submission to page URL
Scripts should execute from right context.
Should dispatch events asynchronoulsy when possible
browser.destroy should close all open tabs
Most tests should be passing
All but a handful of tests should pass.
window.close should clean up history
History should work as expected
Browser should be able to submit forms
Should call browser.visit callback with error
IFrame should fire onload event
Should set window to inactive when closing it.
Should emit error event on script error
All windows should share event loop
History should cleanup unused window.
Should fire onload on iframe element
browser.tabs supports key enumeration.
Should fire onload when iframe loaded.
Should default referer to browser.referer
Should allow setting relative window.location.href
Browser should send referer header.
All resources should use fixed file URLs.
Tabs should reflect latest window in history.
Navigating history should update tab/iframe.
Forms and navigation use window.loadDocument
More tests should pass.