Reviewed by Dave Hyatt.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Oct 2004 00:23:55 +0000 (00:23 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Oct 2004 00:23:55 +0000 (00:23 +0000)
commit8939524234d0b701e1fe030fd1e187c3204f0d4a
tree4e1ae4246abd516442bd75731220aad9ac7fd6e7
parent214652a1504465fc76436a89e3b4c5a382683ae4
    Reviewed by Dave Hyatt.

        - fixed <rdar://problem/3807234> REGRESSION (152-153): can't get element by ID that was just written with document.write in separate JS file (lacoccinelle.net)

        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::scriptHandler): Use !isEmpty instead of count != 0, since it's cheaper.
        (khtml::HTMLTokenizer::write): Roll back to the old version of the check here. The fix is that
        we only want to look at loadingExtScript if m_executingScript is 0.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/htmltokenizer.cpp