Skip to content
Permalink
Browse files
[Cocoa] TestWebKitAPI.MediaLoading.CaptivePortalHLS times out
https://bugs.webkit.org/show_bug.cgi?id=241476
rdar://93270049

Reviewed by Jer Noble.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaLoading.mm:
(TestWebKitAPI::TEST): Return early if the SPI used for captive portal mode is not
implemented.

Canonical link: https://commits.webkit.org/251446@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
eric-carlson committed Jun 9, 2022
1 parent 63ef77d commit f07f77933d61d3fc28f09b6289203143b409a760
Showing 1 changed file with 5 additions and 0 deletions.
@@ -31,6 +31,8 @@
#import "TestWKWebView.h"
#import <wtf/text/StringConcatenateNumbers.h>

#import <pal/cocoa/AVFoundationSoftLink.h>

#if ENABLE(VIDEO) && USE(AVFOUNDATION)

namespace TestWebKitAPI {
@@ -187,6 +189,9 @@ HTTPServer server([&](Connection connection) {

TEST(MediaLoading, CaptivePortalHLS)
{
if (!PAL::canLoad_AVFoundation_AVURLAssetAllowableTypeCategoriesKey())
return;

constexpr auto hlsPlayTestHTML = "<script>"
"function createVideoElement() {"
"let video = document.createElement('video');"

0 comments on commit f07f779

Please sign in to comment.