Bug 855086: Timeouts and empty tests aren't logged correctly.
Bug 847840 - TEST-UNEXPECTED-FAIL | tests/test-selection.test Selection Listener on frame | Test output exceeded timeout (60s).

Tried to wait the `document-shown` notification before resolve the window, and also move the shutdown functions (`close`, `loader.unload`, `done`) for the test that sometimes is failing.
Merge pull request #902 from Mossop/bug855086

Bug 855086: Timeouts and empty tests aren't logged correctly. r=gozala
Revert "Merge pull request #902 from Mossop/bug855086"

This reverts commit 993dc9b7b4ce89cbc11336d2b1166622fc3ed5f3, reversing
changes made to 2354c294ac8db2a9efd6fec6479be47778baa345.
branched off 1.15, master is now destined to become firefox-22
Update Firefox min/max versions
Ignore removed listeners during dispatch.
Add `off` method to event/target for compatibility with devtools.
Added pageshow and load events to tabs for bfcache/non-DOM content
Merge pull request #907 from jsantell/tabs-onready-for-non-html-671305

Fix Bug 671305: Tabs fire events when loading from cache or non-DOM content r+=@gozala
Foundation for browser & tab event handling.
Revert "Merge pull request #907 from jsantell/tabs-onready-for-non-html-671305"

This reverts commit 75f92ec7940f4012abd5d33c727b56cebe9ecf9e, reversing
changes made to bb071f7ac300d9a3d8227148153c892efc94f0b7.
Merge pull request #903 from Gozala/bug/tab-detraitifaction@854980

Bug 854980 - Implementing simple utils for observing window / tab events r=@Mossop
Fix bug 856403 - Upstream the indexed-db changes from 854323 to the SDK repository
Merge pull request #912 from KWierso/fixindexeddb

Fix bug 856403 - Upstream the indexed-db changes from 854323 to the SDK repo vidyo-r=mossop
Added pageshow and load events to tabs for bfcache/non-DOM content
Merge pull request #913 from jsantell/tabs-onready-for-non-html-671305

Fix bug 671305, Added pageshow and load events to tabs for bfcache/non-DOM content (resubmitting with non-timer dependent tests)
Revert "Merge pull request #913 from jsantell/tabs-onready-for-non-html-671305"

This reverts commit d5bc78c7aac210af764a08451e33215b11559c3e, reversing
changes made to ede336ee55ff8597d22e0ab101653fdb133ffc0a.
firefox-22 is now riding the trains, master is now destined to become firefox-23
 Added pageshow and load events to tabs for bfcache/non-DOM content, delay tests to work on all CI platforms