Changeset 280573 in webkit
- Timestamp:
- Aug 2, 2021, 5:49:37 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/mac/TestExpectations (modified) (1 diff)
-
LayoutTests/webaudio/decode-audio-data-webm-vorbis-expected.txt (added)
-
LayoutTests/webaudio/decode-audio-data-webm-vorbis.html (added)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r280563 r280573 1 2021-08-02 Jean-Yves Avenard <jya@apple.com> 2 3 [WebAudio] Add webm/vorbis container support 4 https://bugs.webkit.org/show_bug.cgi?id=228139 5 rdar://80883073 6 7 Reviewed by Jer Noble. 8 9 * platform/mac/TestExpectations: 10 * webaudio/decode-audio-data-webm-vorbis-expected.txt: Added. 11 * webaudio/decode-audio-data-webm-vorbis.html: Added. 12 1 13 2021-08-02 Eric Hutchison <ehutchison@apple.com> 2 14 -
trunk/LayoutTests/platform/mac/TestExpectations
r280547 r280573 1717 1717 [ Catalina Mojave BigSur ] media/media-source/media-webm-opus-partial-abort.html [ Skip ] 1718 1718 [ Catalina Mojave BigSur ] webaudio/decode-audio-data-webm-opus.html [ Skip ] 1719 [ Catalina Mojave BigSur ] webaudio/decode-audio-data-webm-vorbis.html [ Skip ] 1719 1720 1720 1721 webkit.org/b/214422 imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/suspend-after-construct.html [ Pass Failure ] -
trunk/Source/WebKit/ChangeLog
r280568 r280573 1 2021-08-02 Jean-Yves Avenard <jya@apple.com> 2 3 [WebAudio] Add webm/vorbis container support 4 https://bugs.webkit.org/show_bug.cgi?id=228139 5 rdar://80883073 6 7 Reviewed by Jer Noble. 8 9 Access to the com.apple.audio.AudioComponentRegistrar is denied by the sandbox which 10 prevents registering the Vorbis Audio Component. So we instantiate the decoder right before 11 setting up the sandbox. 12 This is a workaround for rdar://81137953. 13 Test: webaudio/decode-audio-data-webm-vorbis.html 14 15 * WebProcess/cocoa/WebProcessCocoa.mm: 16 (WebKit::WebProcess::initializeSandbox): 17 1 18 2021-08-02 Jean-Yves Avenard <jya@apple.com> 2 19 -
trunk/Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
r280542 r280573 82 82 #import <WebCore/UTIUtilities.h> 83 83 #import <WebCore/VersionChecks.h> 84 #import <WebCore/WebMAudioUtilitiesCocoa.h> 84 85 #import <algorithm> 85 86 #import <dispatch/dispatch.h> … … 745 746 auto webKitBundle = [NSBundle bundleWithIdentifier:@"com.apple.WebKit"]; 746 747 748 // We need to initialize the Vorbis decoder before the sandbox gets setup; this is a one off action. 749 WebCore::registerVorbisDecoderIfNeeded(); 750 747 751 sandboxParameters.setOverrideSandboxProfilePath(makeString(String([webKitBundle resourcePath]), "/com.apple.WebProcess.sb")); 748 752
Note:
See TracChangeset
for help on using the changeset viewer.