Correct delayed load event handling
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 May 2019 17:14:06 +0000 (17:14 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 May 2019 17:14:06 +0000 (17:14 +0000)
commitae99be9e9d1982bd7bfff273eace4e44b334a8c3
treeede228052acd4b4b11f2e79fdc22aa3e2990bd7f
parent30d0ad5b5b7c368439184c202d86e2645659a82d
Correct delayed load event handling
https://bugs.webkit.org/show_bug.cgi?id=197679
<rdar://problem/50423334>

Reviewed by Alex Christensen.

We need to properly account for the fact that JavaScript might run
while performing loads.

* dom/Document.cpp:
(WebCore::Document::loadEventDelayTimerFired):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp