2010-08-28 Eric Carlson <eric.carlson@apple.com>
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 20 Jan 2011 18:23:39 +0000 (15:23 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 20 Jan 2011 19:55:43 +0000 (16:55 -0300)
commit7f9cf488bc305c98041a16d8316be8f06946c33e
tree604ea6ee5e0720a1688a0aa2570e936cac3e9cb1
parent4733735af523d01d0394ed0ccf040e52117caec9
2010-08-28  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        Crash reloading fast/events/tabindex-focus-blur-all.html test
        https://bugs.webkit.org/show_bug.cgi?id=44743

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::asyncEventTimerFired): If m_isWaitingToDecrementLoadEventDelayCount
        is true, call setShouldDelayLoadEvent(false) and set the timer to fire the pending events
        on the next idle.
        (WebCore::HTMLMediaElement::setShouldDelayLoadEvent): Don't clear the delay from within a
        media engine callback because document 'load' event handlers that cause the page to become
        inactive will delete the media engine.
        * html/HTMLMediaElement.h: Add m_isWaitingToDecrementLoadEventDelayCount.

2010-08-28  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        Crash reloading fast/events/tabindex-focus-blur-all.html test
        https://bugs.webkit.org/show_bug.cgi?id=44743

        * platform/mac/Skipped: Remove tabindex-focus-blur-all.html from the skip list.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66311 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

LayoutTests/platform/mac/Skipped
LayoutTests/ChangeLog
WebCore/ChangeLog
WebCore/html/HTMLMediaElement.cpp
WebCore/html/HTMLMediaElement.h