Bug 989936 - fire the onsignalingstatechanged event if close was called locally. r=jesup
Bug 983489 - Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]. r=nical