Bug 226459 - MediaSessionCoordinator API test is failing,
Summary: MediaSessionCoordinator API test is failing,
Status: RESOLVED DUPLICATE of bug 226460
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Regression
Depends on: 226328
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-31 01:24 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-06-01 04:36 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2021-05-31 01:24:36 PDT
The test TestWebKitAPI.MediaSessionCoordinatorTest.StateChanges fails with the error:
```
       /Users/jyavenard/Work/webkit/OpenSource/Tools/TestWebKitAPI/Tests/WebKit/MediaSessionCoordinatorTest.mm:468
        Expected equality of these values:
          "coordinatorStateChanged"
          lastStateChange.utf8().data()
            Which is: ""
        
```

This is a regression from bug 225822.

the test expects that there will be a callback to coordinatorStateChange when MediaSessionCoordinatorPrivate::leave() is called which is no longer the case.
Comment 1 youenn fablet 2021-06-01 04:36:02 PDT

*** This bug has been marked as a duplicate of bug 226460 ***