Bug 1033343: Handle an uninitialized CustomEvent correctly. r=smaug
Bug 1032415: Mark nsGlobalWindow::GetContextForEventHandlers as inner only. r=smaug