Title: [247753] branches/safari-608.1-branch/Source
- Revision
- 247753
- Author
- [email protected]
- Date
- 2019-07-23 15:12:02 -0700 (Tue, 23 Jul 2019)
Log Message
Cherry-pick r247701. rdar://problem/53449750
Correct web audio-related crash in seed reports
https://bugs.webkit.org/show_bug.cgi?id=200009
<rdar://problem/51565203>
Reviewed by Per Arne Vollan.
Source/WebCore:
Update the 'createMix' method to do proper return value checking so that
we can clear the result of MTAudioProcessingTapCreate if the create operation
failed.
* platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
(WebCore::AudioSourceProviderAVFObjC::createMix):
Source/WebKit:
Revise the iOS sandbox to allow the WebContent process to communicate with
the 'com.apple.coremedia.audioprocessingtap.xpc' service, which is needed by
some types of WebAudio.
* WebProcess/com.apple.WebKit.WebContent.sb.in:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-608.1-branch/Source/WebCore/ChangeLog (247752 => 247753)
--- branches/safari-608.1-branch/Source/WebCore/ChangeLog 2019-07-23 22:11:59 UTC (rev 247752)
+++ branches/safari-608.1-branch/Source/WebCore/ChangeLog 2019-07-23 22:12:02 UTC (rev 247753)
@@ -1,5 +1,50 @@
2019-07-23 Kocsen Chung <[email protected]>
+ Cherry-pick r247701. rdar://problem/53449750
+
+ Correct web audio-related crash in seed reports
+ https://bugs.webkit.org/show_bug.cgi?id=200009
+ <rdar://problem/51565203>
+
+ Reviewed by Per Arne Vollan.
+
+ Source/WebCore:
+
+ Update the 'createMix' method to do proper return value checking so that
+ we can clear the result of MTAudioProcessingTapCreate if the create operation
+ failed.
+
+ * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
+ (WebCore::AudioSourceProviderAVFObjC::createMix):
+
+ Source/WebKit:
+
+ Revise the iOS sandbox to allow the WebContent process to communicate with
+ the 'com.apple.coremedia.audioprocessingtap.xpc' service, which is needed by
+ some types of WebAudio.
+
+ * WebProcess/com.apple.WebKit.WebContent.sb.in:
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-07-22 Brent Fulgham <[email protected]>
+
+ Correct web audio-related crash in seed reports
+ https://bugs.webkit.org/show_bug.cgi?id=200009
+ <rdar://problem/51565203>
+
+ Reviewed by Per Arne Vollan.
+
+ Update the 'createMix' method to do proper return value checking so that
+ we can clear the result of MTAudioProcessingTapCreate if the create operation
+ failed.
+
+ * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
+ (WebCore::AudioSourceProviderAVFObjC::createMix):
+
+2019-07-23 Kocsen Chung <[email protected]>
+
Cherry-pick r247652. rdar://problem/53449720
Add a menu item to toggle between showing and hiding link previews
Modified: branches/safari-608.1-branch/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm (247752 => 247753)
--- branches/safari-608.1-branch/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm 2019-07-23 22:11:59 UTC (rev 247752)
+++ branches/safari-608.1-branch/Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm 2019-07-23 22:12:02 UTC (rev 247753)
@@ -216,9 +216,13 @@
};
MTAudioProcessingTapRef tap = nullptr;
- MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks, 1, &tap);
+ OSStatus status = MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks, 1, &tap);
ASSERT(tap);
ASSERT(m_tap == tap);
+ if (status != noErr) {
+ m_tap = nullptr;
+ return;
+ }
RetainPtr<AVMutableAudioMixInputParameters> parameters = adoptNS([PAL::allocAVMutableAudioMixInputParametersInstance() init]);
[parameters setAudioTapProcessor:m_tap.get()];
Modified: branches/safari-608.1-branch/Source/WebKit/ChangeLog (247752 => 247753)
--- branches/safari-608.1-branch/Source/WebKit/ChangeLog 2019-07-23 22:11:59 UTC (rev 247752)
+++ branches/safari-608.1-branch/Source/WebKit/ChangeLog 2019-07-23 22:12:02 UTC (rev 247753)
@@ -1,5 +1,49 @@
2019-07-23 Kocsen Chung <[email protected]>
+ Cherry-pick r247701. rdar://problem/53449750
+
+ Correct web audio-related crash in seed reports
+ https://bugs.webkit.org/show_bug.cgi?id=200009
+ <rdar://problem/51565203>
+
+ Reviewed by Per Arne Vollan.
+
+ Source/WebCore:
+
+ Update the 'createMix' method to do proper return value checking so that
+ we can clear the result of MTAudioProcessingTapCreate if the create operation
+ failed.
+
+ * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
+ (WebCore::AudioSourceProviderAVFObjC::createMix):
+
+ Source/WebKit:
+
+ Revise the iOS sandbox to allow the WebContent process to communicate with
+ the 'com.apple.coremedia.audioprocessingtap.xpc' service, which is needed by
+ some types of WebAudio.
+
+ * WebProcess/com.apple.WebKit.WebContent.sb.in:
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-07-22 Brent Fulgham <[email protected]>
+
+ Correct web audio-related crash in seed reports
+ https://bugs.webkit.org/show_bug.cgi?id=200009
+ <rdar://problem/51565203>
+
+ Reviewed by Per Arne Vollan.
+
+ Revise the iOS sandbox to allow the WebContent process to communicate with
+ the 'com.apple.coremedia.audioprocessingtap.xpc' service, which is needed by
+ some types of WebAudio.
+
+ * WebProcess/com.apple.WebKit.WebContent.sb.in:
+
+2019-07-23 Kocsen Chung <[email protected]>
+
Cherry-pick r247700. rdar://problem/53456070
WebKit SPI fix for [ClickyOrb] Audio continues playing after dismissing a video preview in Safari
Modified: branches/safari-608.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (247752 => 247753)
--- branches/safari-608.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-07-23 22:11:59 UTC (rev 247752)
+++ branches/safari-608.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-07-23 22:12:02 UTC (rev 247753)
@@ -418,7 +418,6 @@
(global-name "com.apple.containermanagerd")
(global-name "com.apple.coremedia.assetcacheinspector")
(global-name "com.apple.coremedia.audiodeviceclock")
- (global-name "com.apple.coremedia.audioprocessingtap.xpc")
(global-name "com.apple.coremedia.endpointremotecontrolsession.xpc")
(global-name "com.apple.coremedia.sandboxserver")
(global-name "com.apple.coremedia.videocompositor")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes