Bug 263098 - REGRESSION(261180@main?): [ Sonoma ] TestWebKitAPI.GetDisplayMediaTest.SystemCanPrompt is constantly failing.
Summary: REGRESSION(261180@main?): [ Sonoma ] TestWebKitAPI.GetDisplayMediaTest.System...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-12 18:05 PDT by Ben Schwartz
Modified: 2023-10-25 17:33 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2023-10-12 18:05:29 PDT
TestWebKitAPI.GetDisplayMediaTest.SystemCanPrompt

This API test is constantly failing on macOS Sonoma.

HISTORY:

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.GetDisplayMediaTest.SystemCanPrompt

ERROR LOG:

    /Volumes/Data/worker/Apple-Sonoma-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:146
    Value of: wasPrompted
      Actual: true
    Expected: false
     with contraint { audio: true, video: true }


    /Volumes/Data/worker/Apple-Sonoma-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:146
    Value of: wasPrompted
      Actual: true
    Expected: false
     with contraint { audio: false, video: true }

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Sonoma (14.0, 23A344/arm64) ToT using the following command:

run-api-tests --debug --verbose TestWebKitAPI.GetDisplayMediaTest.SystemCanPrompt

REGRESSION:

While I cannot concretely pinpoint a regression (as this issue began with the bring-up of Sonoma testers), the last edit at the failing point is at 261180@main.
Comment 1 Radar WebKit Bug Importer 2023-10-12 18:05:47 PDT
<rdar://problem/116893261>
Comment 2 Eric Carlson 2023-10-25 12:41:00 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19558
Comment 3 EWS 2023-10-25 17:33:39 PDT
Committed 269789@main (c4121dd7d23a): <https://commits.webkit.org/269789@main>

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