Bug 1078707 - Closing apps no longer works via DevTools

https://bugzilla.mozilla.org/show_bug.cgi?id=1076689