| Summary: | REGRESSION (r275538): [ macOS ] TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion and TestWebKitAPI.SleepDisabler.Pause consistently failing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> | ||||
| Component: | New Bugs | Assignee: | Eric Carlson <eric.carlson> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Robert Jenner
2021-04-06 15:10:50 PDT
Was able to reproduce the failure at ToT using the following test: run-api-tests TestWebKitAPI.SleepDisabler.Pause --iterations 10 --child-process=1 The test also failed at r275538, but passed on the revision right before it. It appears the r275538 changeset caused the API failures: https://trac.webkit.org/changeset/275538/webkit TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion
2021-04-06 15:11:37.882 TestWebKitAPI[1488:8689736] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-04-06 15:11:37.882 TestWebKitAPI[1488:8689736] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-04-06 15:11:37.951 TestWebKitAPI[1488:8689736] *** WARNING: Method convertPointToBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications.
/Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm:179
Value of: hasAssertionType(CFSTR("PreventUserIdleDisplaySleep"))
Actual: false
Expected: true
/Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm:192
Value of: hasAssertionType(CFSTR("PreventUserIdleSystemSleep"))
Actual: true
Expected: false
TestWebKitAPI.SleepDisabler.Pause
/Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKit/SleepDisabler.mm:112
Expected equality of these values:
shouldHaveSleepDisabler
Which is: false
[webView _hasSleepDisabler]
Which is: '\x1' (1)
Created attachment 425336 [details]
Patch
Committed r275574: <https://commits.webkit.org/r275574> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425336 [details]. |