Changeset 25126 in webkit


Ignore:
Timestamp:
Aug 17, 2007 1:48:05 PM (17 years ago)
Author:
zbujtas
Message:

2007-08-09 rathnasa <sornalatha.rathnasamy@nokia.com>

Reviewed by zbujtas
DESC: TSW Id SJUN-73XBVC document.write does not work in onload, onclick events

http://bugs.webkit.org/show_bug.cgi?id=14915

Location:
S60/branches/3.1m/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • S60/branches/3.1m/WebCore/ChangeLog

    r24909 r25126  
     12007-08-09  rathnasa  <sornalatha.rathnasamy@nokia.com>
     2
     3        Reviewed by zbujtas
     4        DESC: TSW Id SJUN-73XBVC document.write does not work in onload, onclick events
     5 http://bugs.webkit.org/show_bug.cgi?id=14915
     6
     7        WARNING: NO TEST CASES ADDED OR CHANGED
     8
     9        * khtml/xml/dom_docimpl.cpp:
     10        (DocumentImpl::DocumentImpl):
     11        (DocumentImpl::implicitClose):
     12        (DocumentImpl::write):
     13        * khtml/xml/dom_docimpl.h:
     14
    115w3liu, reviewed by <zbujtas@gmail.com>
    216 DESC: [S60] SLON-75MAFV: <<OTC>> OTC - BTT - 6.800.5620 WCSS TABLE ROW HEIGHT
  • S60/branches/3.1m/WebCore/khtml/xml/dom_docimpl.cpp

    r19405 r25126  
    387387
    388388    m_fastDisplayMode = false;
     389    m_beginWriteStream = false;
    389390
    390391    static int docID = 0;
     
    16331634        // for parsing to be false while stil waiting for scripts
    16341635        if (m_tokenizer && !m_tokenizer->isWaitingForScripts()) {
     1636            if ( m_beginWriteStream ) {
     1637                write(QString::fromLatin1("</html>"));
     1638                m_beginWriteStream = false;
     1639            }
    16351640            delete m_tokenizer;
    16361641            m_tokenizer = 0;
     
    17141719        open();
    17151720        write(QString::fromLatin1("<html>"));
     1721        m_beginWriteStream = true;
    17161722    }
    17171723
  • S60/branches/3.1m/WebCore/khtml/xml/dom_docimpl.h

    r19405 r25126  
    815815    bool m_dashboardRegionsDirty;
    816816    bool m_fastDisplayMode;
     817    bool m_beginWriteStream;
    817818
    818819    QPtrDict< QDict<HTMLInputElementImpl> > *m_selectedRadioButtons;
Note: See TracChangeset for help on using the changeset viewer.