<rdar://problem/
3805311> REGRESSION (159-163): onload in dynamically written document not called (causes blank search page at Japanese EPP site, many others)
* khtml/khtml_part.cpp:
(KHTMLPart::begin): call setParsing on document here after opening
- from now on we'll only set parsing to true for a document open
caused by page loading, not a programmatic one.
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::open): don't setParsing to true here any more.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8092
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-11-30 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by John.
+
+ <rdar://problem/3805311> REGRESSION (159-163): onload in dynamically written document not called (causes blank search page at Japanese EPP site, many others)
+
+ * khtml/khtml_part.cpp:
+ (KHTMLPart::begin): call setParsing on document here after opening
+ - from now on we'll only set parsing to true for a document open
+ caused by page loading, not a programmatic one.
+ * khtml/xml/dom_docimpl.cpp:
+ (DocumentImpl::open): don't setParsing to true here any more.
+
2004-11-30 Maciej Stachowiak <mjs@apple.com>
Reviewed by John.
#endif
d->m_doc->open();
+ d->m_doc->setParsing(true);
// clear widget
if (d->m_view)
d->m_view->resizeContents( 0, 0 );
clear();
m_tokenizer = createTokenizer();
- setParsing(true);
connect(m_tokenizer,SIGNAL(finishedParsing()),this,SIGNAL(finishedParsing()));
if (m_view && m_view->part()->jScript()) {