Bug 223060 - [MacOS] Reenable Audio Capture in GPUProcess by default
Summary: [MacOS] Reenable Audio Capture in GPUProcess by default
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-11 00:14 PST by youenn fablet
Modified: 2021-03-12 10:31 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.29 KB, patch)
2021-03-11 00:15 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2021-03-11 00:14:25 PST
[MacOS] Reenable Audio Capture in GPUProcess by default
Comment 1 youenn fablet 2021-03-11 00:15:52 PST
Created attachment 422909 [details]
Patch
Comment 2 EWS 2021-03-11 08:29:25 PST
commit-queue failed to commit attachment 422909 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 3 EWS 2021-03-12 07:08:40 PST
Committed r274356: <https://commits.webkit.org/r274356>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422909 [details].
Comment 4 Radar WebKit Bug Importer 2021-03-12 07:09:13 PST
<rdar://problem/75360894>
Comment 5 Truitt Savell 2021-03-12 10:31:08 PST
It looks like the changes in https://trac.webkit.org/changeset/274356/webkit

broke two API tests 

Failed
    TestWebKitAPI.WebKit2.GetUserMediaRepromptAfterAudioVideoBeingDenied
        
        /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm:119
        Value of: [webView haveStream:YES]
          Actual: false
        Expected: true
        
Timeout
    TestWebKitAPI.WebKit2.GetUserMediaReprompt
        2021-03-12 09:30:58.722 TestWebKitAPI[48089:69154089] Encountered error: Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=22, WKJavaScriptExceptionMessage=TypeError: null is not an object (evaluating 'stream.getTracks'), WKJavaScriptExceptionColumnNumber=23, WKJavaScriptExceptionSourceURL=file:///Volumes/Data/worker/bigsur-release-tests-wk2/build/WebKitBuild/Release/TestWebKitAPI.resources/getUserMedia.html, NSLocalizedDescription=A JavaScript exception occurred} while evaluating script: stop()
        2021-03-12 09:30:58.727 TestWebKitAPI[48089:69154089] Encountered error: Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=22, WKJavaScriptExceptionMessage=TypeError: null is not an object (evaluating 'stream.getTracks'), WKJavaScriptExceptionColumnNumber=23, WKJavaScriptExceptionSourceURL=file:///Volumes/Data/worker/bigsur-release-tests-wk2/build/WebKitBuild/Release/TestWebKitAPI.resources/getUserMedia.html, NSLocalizedDescription=A JavaScript exception occurred} while evaluating script: stop()


history:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebKit2.GetUserMediaReprompt&test=TestWebKitAPI.WebKit2.GetUserMediaRepromptAfterAudioVideoBeingDenied