--- a/webengine/osswebengine/WebCore/dom/Document.cpp Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/osswebengine/WebCore/dom/Document.cpp Mon Oct 26 08:28:45 2009 +0200
@@ -3520,6 +3520,12 @@
void Document::finishedParsing()
{
setParsing(false);
+ if (this->hasListenerType(DOMCONTENTLOADED_LISTENER))
+ {
+ ExceptionCode ec = 0;
+ dispatchEvent(new MutationEvent(DOMContentLoadedEvent, false, false,
+ this, String(), String(), String(), 0), ec);
+ }
if (Frame* f = frame())
f->loader()->finishedParsing();
}