Changeset 264975 in webkit


Ignore:
Timestamp:
Jul 28, 2020 5:18:06 AM (4 years ago)
Author:
calvaris@igalia.com
Message:

[GStreamer] media/vp9.html failing since check-in in r263894
https://bugs.webkit.org/show_bug.cgi?id=213947

Reviewed by Philippe Normand.

Source/WebCore:

Test: media/vp9.html.

  • testing/Internals.cpp:

(WebCore::Internals::usingGStreamer const): Added.

  • testing/Internals.h:
  • testing/Internals.idl:

LayoutTests:

  • media/vp9.html: Used usingGStreamer() to adjust expectation of

the first test and to enable the second. Both are passing now for
GStreamer ports.

  • platform/glib/TestExpectations: Removed media/vp9.html failure

from expectations.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r264974 r264975  
     12020-07-28  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [GStreamer] media/vp9.html failing since check-in in r263894
     4        https://bugs.webkit.org/show_bug.cgi?id=213947
     5
     6        Reviewed by Philippe Normand.
     7
     8        * media/vp9.html: Used usingGStreamer() to adjust expectation of
     9        the first test and to enable the second. Both are passing now for
     10        GStreamer ports.
     11        * platform/glib/TestExpectations: Removed media/vp9.html failure
     12        from expectations.
     13
    1142020-07-28  Diego Pino Garcia  <dpino@igalia.com>
    215
  • trunk/LayoutTests/media/vp9.html

    r264734 r264975  
    88
    99test(() => {
    10     assert_equals(video.canPlayType("video/mp4; codecs=vp9"), "", "canPlayType");
     10    let expectedVP9Support = ""
     11    if (window.internals && window.internals.usingGStreamer())
     12        expectedVP9Support = "probably"
     13    assert_equals(video.canPlayType("video/mp4; codecs=vp9"), expectedVP9Support, "canPlayType");
    1114}, "HTMLMediaElement.canPlay VP9");
    1215
    1316promise_test(async() => {
    14     if (window.internals && !window.internals.usingAppleInternalSDK())
     17    if (window.internals && !window.internals.usingGStreamer() && !window.internals.usingAppleInternalSDK())
    1518        return;
    1619    await video.play();
  • trunk/LayoutTests/platform/glib/TestExpectations

    r264974 r264975  
    223223
    224224webkit.org/b/211995 fast/images/animated-image-mp4.html [ Failure ]
    225 webkit.org/b/213947 media/vp9.html [ Failure ]
    226225
    227226webkit.org/b/214038 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-cues-cuechange.html [ Missing Failure ]
  • trunk/Source/WebCore/ChangeLog

    r264968 r264975  
     12020-07-28  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [GStreamer] media/vp9.html failing since check-in in r263894
     4        https://bugs.webkit.org/show_bug.cgi?id=213947
     5
     6        Reviewed by Philippe Normand.
     7
     8        Test: media/vp9.html.
     9
     10        * testing/Internals.cpp:
     11        (WebCore::Internals::usingGStreamer const): Added.
     12        * testing/Internals.h:
     13        * testing/Internals.idl:
     14
    1152020-07-27  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebCore/testing/Internals.cpp

    r264856 r264975  
    55425542}
    55435543
     5544bool Internals::usingGStreamer() const
     5545{
     5546#if USE(GSTREAMER)
     5547    return true;
     5548#else
     5549    return false;
     5550#endif
     5551}
     5552
    55445553void Internals::setCaptureExtraNetworkLoadMetricsEnabled(bool value)
    55455554{
  • trunk/Source/WebCore/testing/Internals.h

    r264856 r264975  
    840840
    841841    bool usingAppleInternalSDK() const;
     842    bool usingGStreamer() const;
    842843
    843844    struct NowPlayingState {
  • trunk/Source/WebCore/testing/Internals.idl

    r264856 r264975  
    861861
    862862    boolean usingAppleInternalSDK();
     863    boolean usingGStreamer();
    863864
    864865    void postTask(VoidCallback callback);
Note: See TracChangeset for help on using the changeset viewer.