⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179892 in webkit


Ignore:
Timestamp:
Feb 10, 2015, 3:45:53 PM (12 years ago)
Author:
bshafiei@apple.com
Message:

Merged r178426. rdar://problem/19564743

Location:
branches/safari-600.1.4.15-branch
Files:
3 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/safari-600.1.4.15-branch/LayoutTests/ChangeLog

    r179735 r179892  
     12015-02-10  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge r178426.
     4
     5    2015-01-14  Jer Noble  <jer.noble@apple.com>
     6
     7            Null-deref crash when seeking immediately before looping.
     8            https://bugs.webkit.org/show_bug.cgi?id=140394
     9
     10            Reviewed by Eric Carlson.
     11
     12            * media/video-ended-seek-crash-expected.txt: Added.
     13            * media/video-ended-seek-crash.html: Added.
     14
    1152015-02-05  Lucas Forschler  <lforschler@apple.com>
    216
  • branches/safari-600.1.4.15-branch/Source/WebCore/ChangeLog

    r179891 r179892  
     12015-02-10  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge r178426.
     4
     5    2015-01-14  Jer Noble  <jer.noble@apple.com>
     6
     7            Null-deref crash when seeking immediately before looping.
     8            https://bugs.webkit.org/show_bug.cgi?id=140394
     9
     10            Reviewed by Eric Carlson.
     11
     12            It is possible for finishSeek() to be called when a seek() has caused a pending seek task
     13            to be scheduled, but before that pending seek task is run. In this case, if a seek request
     14            is issued, the existing pending seek task will not be cancelled, which will cause a crash
     15            when the pending seek task is run.
     16
     17            When checking whether an existing seek task needs to be cancelled, check the actual timer,
     18            rather than the m_seeking boolean, so that this case is covered.
     19
     20            Test: media/video-ended-seek-crash.html
     21
     22            * html/HTMLMediaElement.cpp:
     23            (WebCore::HTMLMediaElement::seekWithTolerance):
     24
    1252015-02-10  Babak Shafiei  <bshafiei@apple.com>
    226
  • branches/safari-600.1.4.15-branch/Source/WebCore/html/HTMLMediaElement.cpp

    r179219 r179892  
    23722372    // already running. Abort that other instance of the algorithm without waiting for the step that
    23732373    // it is running to complete.
    2374     if (m_seeking) {
     2374    if (m_seekTimer.isActive()) {
    23752375        m_seekTimer.stop();
    23762376        m_pendingSeek = nullptr;
Note: See TracChangeset for help on using the changeset viewer.