Bug 1134559. DOMContentLoaded should not be cancelable. r=ms2ger

This commit is contained in:
Boris Zbarsky 2015-02-19 14:36:02 -05:00
parent 518bd13a20
commit 2f91ccc894
2 changed files with 1 additions and 6 deletions

View File

@ -5125,7 +5125,7 @@ nsDocument::DispatchContentLoadedEvents()
// document).
nsContentUtils::DispatchTrustedEvent(this, static_cast<nsIDocument*>(this),
NS_LITERAL_STRING("DOMContentLoaded"),
true, true);
true, false);
if (mTiming) {
mTiming->NotifyDOMContentLoadedEnd(nsIDocument::GetDocumentURI());

View File

@ -1,5 +0,0 @@
[the-end.html]
type: testharness
[DOMContentLoaded]
expected: FAIL