Changeset 110064 in webkit


Ignore:
Timestamp:
Mar 7, 2012 9:27:15 AM (12 years ago)
Author:
Philippe Normand
Message:

[GTK] media/audio-garbage-collect.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=72698

Reviewed by Xan Lopez.

Source/WebCore:

Call ::hasPendingActivity() instead of ::paused() when checking if
the audio element is still active. This is similar to what the
image element (another ActiveDOMObject implementation) does just
above. This contributes to fixing the audio-garbage-collect.html
test.

  • bindings/js/JSNodeCustom.cpp:

(WebCore::isReachableFromDOM):

LayoutTests:

  • platform/gtk/test_expectations.txt: test is no longer flaky.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r110053 r110064  
     12012-03-07  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] media/audio-garbage-collect.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=72698
     5
     6        Reviewed by Xan Lopez.
     7
     8        * platform/gtk/test_expectations.txt: test is no longer flaky.
     9
    1102012-03-07  Stephen White  <senorblanco@chromium.org>
    211
  • trunk/LayoutTests/platform/gtk/test_expectations.txt

    r110027 r110064  
    6969BUGWK80129 : fast/frames/flattening/frameset-flattening-subframesets.html = PASS TEXT
    7070
    71 BUGWK72698 : media/audio-garbage-collect.html = PASS TEXT
    7271BUGWK79760 : media/video-poster-blocked-by-willsendrequest.html = PASS TEXT
    7372
  • trunk/Source/WebCore/ChangeLog

    r110063 r110064  
     12012-03-07  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] media/audio-garbage-collect.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=72698
     5
     6        Reviewed by Xan Lopez.
     7
     8        Call ::hasPendingActivity() instead of ::paused() when checking if
     9        the audio element is still active. This is similar to what the
     10        image element (another ActiveDOMObject implementation) does just
     11        above. This contributes to fixing the audio-garbage-collect.html
     12        test.
     13
     14        * bindings/js/JSNodeCustom.cpp:
     15        (WebCore::isReachableFromDOM):
     16
    1172012-03-07  Adele Peterson  <adele@apple.com>
    218
  • trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp

    r107700 r110064  
    117117    #if ENABLE(VIDEO)
    118118        else if (node->hasTagName(audioTag)) {
    119             if (!static_cast<HTMLAudioElement*>(node)->paused())
     119            if (!static_cast<HTMLAudioElement*>(node)->hasPendingActivity())
    120120                return true;
    121121        }
Note: See TracChangeset for help on using the changeset viewer.