Bug 261529 - [NEW TEST] [ macOS ] API tests brings up a "There is no application set to open the URL callback:playing." dialogue box
Summary: [NEW TEST] [ macOS ] API tests brings up a "There is no application set to op...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-13 14:24 PDT by Robert Jenner
Modified: 2023-09-15 13:44 PDT (History)
3 users (show)

See Also:


Attachments
Screenshot of dialogue box (330.58 KB, image/png)
2023-09-13 14:24 PDT, Robert Jenner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2023-09-13 14:24:09 PDT
When the bots run-api-tests they will encounter a dialog box that indicates: "There is no application set to open the URL callback:playing."
Comment 1 Robert Jenner 2023-09-13 14:24:34 PDT
Created attachment 467677 [details]
Screenshot of dialogue box
Comment 2 Radar WebKit Bug Importer 2023-09-13 14:31:34 PDT
<rdar://problem/115450715>
Comment 3 Robert Jenner 2023-09-13 14:36:00 PDT
I wasn't able to locally reproduce this. But I have observed every macOS experiencing this issue. It does occur when we run-webkit-tests. Doing a quick search it looks like there are a few files that have reference to this:

Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/video-with-audio.html:14:            window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/video-with-paused-audio-and-playing-muted.html:25:                window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/video-with-muted-audio-and-webaudio.html:17:                window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/video-with-muted-audio.html:14:                window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/video-without-audio.html:14:            window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitLegacy/ios/audio-only.html:14:            window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/WebKitCocoa/large-video-without-audio.html:15:            window.location = 'callback:playing';
Tools/TestWebKitAPI//Tests/mac/MediaPlaybackSleepAssertion.html:20:            window.location = 'callback:playing';
Comment 4 Robert Jenner 2023-09-13 15:42:52 PDT
After digging further, I have found that:

TestWebKitAPI.WKWebViewSuspendAllMediaPlayback.PauseWhenResume

is the test that causes this behavior. Running it individually causes the dialogue box to appear.
Comment 5 Robert Jenner 2023-09-13 15:54:06 PDT
This test is a new test, and was introduced recently at:

https://commits.webkit.org/266590@main

I am going to disable this individual test because the constant error/dialogue boxes that pop up on screen could cause issues with our testing automation.
Comment 6 EWS 2023-09-13 16:06:20 PDT
Test gardening commit 267972@main (de368161de23): <https://commits.webkit.org/267972@main>

Reviewed commits have been landed. Closing PR #17753 and removing active labels.
Comment 7 Dana Estra 2023-09-14 15:01:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17786
Comment 8 EWS 2023-09-15 13:44:56 PDT
Committed 268036@main (68ac9887adc9): <https://commits.webkit.org/268036@main>

Reviewed commits have been landed. Closing PR #17786 and removing active labels.