Changeset 26101 in webkit
- Timestamp:
- Oct 7, 2007, 7:37:56 AM (17 years ago)
- Location:
- branches/feature-branch
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-branch/LayoutTests/ChangeLog
r26100 r26101 1 2007-10-07 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Maciej. 4 5 Test for Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event 6 http://bugs.webkit.org/show_bug.cgi?id=5122 7 8 * http/tests/loading/DOMContentLoaded-event-expected.txt: Added. 9 * http/tests/loading/DOMContentLoaded-event.html: Added. 10 1 11 2007-10-07 Nikolas Zimmermann <zimmermann@kde.org> 2 12 -
branches/feature-branch/WebCore/ChangeLog
r26097 r26101 1 2007-10-07 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Maciej. 4 5 Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event 6 http://bugs.webkit.org/show_bug.cgi?id=5122 7 8 This is based on a patch by Daniel Peebles (pumpkingod@gmail.com). 9 10 Test: http/tests/loading/DOMContentLoaded-event.html 11 12 * dom/Document.cpp: 13 (WebCore::Document::finishedParsing): Dispatch the DOMContentLoaded event when parsing completes. 14 * dom/EventNames.h: Add DOMContentLoaded to the list of events. 15 1 16 2007-10-07 Alexey Proskuryakov <ap@webkit.org> 2 17 -
branches/feature-branch/WebCore/dom/Document.cpp
r26094 r26101 3463 3463 { 3464 3464 setParsing(false); 3465 3466 ExceptionCode ec = 0; 3467 dispatchEvent(new Event(DOMContentLoadedEvent, true, false), ec); 3468 3465 3469 if (Frame* f = frame()) 3466 3470 f->loader()->finishedParsing(); -
branches/feature-branch/WebCore/dom/EventNames.h
r25754 r26101 85 85 macro(DOMNodeRemovedFromDocument) \ 86 86 macro(DOMSubtreeModified) \ 87 macro(DOMContentLoaded) \ 87 88 \ 88 89 macro(webkitBeforeTextInserted) \
Note:
See TracChangeset
for help on using the changeset viewer.