Gozala/addon-sdk — comment on commit 6a24e4f37fbd8a38a4fcfa80ce92072bc89c566a
File:  line 0
By Gozala:

I have to discarded approach with a hidden window since [unregistered top windows](https://developer.mozilla.org/En/NsIAppShellService#unregisterTopLevelWindow%28%29) were holding application running unless such windows were manually closed. Adding code to track add-on unload or application quit and closing windows in those cases felt more complicated than use of iframes that did not had any of this requirements. In addition `page-worker` API used the same iframe hack which was proved to work.