2007-10-07 Mark Rowe <mrowe@apple.com>
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 15:27:57 +0000 (15:27 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 15:27:57 +0000 (15:27 +0000)
commitba06bfbf0dd18457b7d8c3936510369a4013075b
treeadb63f94ec334a3302e13e0736751da521dabc68
parent23075f8fa6ec0f18bfdbfff17a883a883a486ca7
2007-10-07  Mark Rowe  <mrowe@apple.com>

        Reviewed by Maciej.

        Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event
        http://bugs.webkit.org/show_bug.cgi?id=5122

        This is based on a patch by Daniel Peebles (pumpkingod@gmail.com).

        Test: http/tests/loading/DOMContentLoaded-event.html

        * dom/Document.cpp:
        (WebCore::Document::finishedParsing): Dispatch the DOMContentLoaded event when parsing completes.
        * dom/EventNames.h:  Add DOMContentLoaded to the list of events.

2007-10-07  Mark Rowe  <mrowe@apple.com>

        Reviewed by Maciej.

        Test for Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event
        http://bugs.webkit.org/show_bug.cgi?id=5122

        * http/tests/loading/DOMContentLoaded-event-expected.txt: Added.
        * http/tests/loading/DOMContentLoaded-event.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/loading/DOMContentLoaded-event-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/loading/DOMContentLoaded-event.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.cpp
WebCore/dom/EventNames.h