Title: [230775] trunk/Source/WebCore
Revision
230775
Author
[email protected]
Date
2018-04-18 13:13:44 -0700 (Wed, 18 Apr 2018)

Log Message

Ignore ASSERT when setting AVAudioSessionCategory returns an error on simulator.
https://bugs.webkit.org/show_bug.cgi?id=184698

Reviewed by Eric Carlson.

* platform/audio/ios/AudioSessionIOS.mm:
* platform/audio/mac/AudioSessionMac.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (230774 => 230775)


--- trunk/Source/WebCore/ChangeLog	2018-04-18 20:09:24 UTC (rev 230774)
+++ trunk/Source/WebCore/ChangeLog	2018-04-18 20:13:44 UTC (rev 230775)
@@ -1,3 +1,13 @@
+2018-04-18  Jer Noble  <[email protected]>
+
+        Ignore ASSERT when setting AVAudioSessionCategory returns an error on simulator.
+        https://bugs.webkit.org/show_bug.cgi?id=184698
+
+        Reviewed by Eric Carlson.
+
+        * platform/audio/ios/AudioSessionIOS.mm:
+        * platform/audio/mac/AudioSessionMac.cpp:
+
 2018-04-18  Sihui Liu  <[email protected]>
 
         REGRESSION: Using the reload button while offline pushes identical pages onto the back/forward list

Modified: trunk/Source/WebCore/platform/audio/ios/AudioSessionIOS.mm (230774 => 230775)


--- trunk/Source/WebCore/platform/audio/ios/AudioSessionIOS.mm	2018-04-18 20:09:24 UTC (rev 230774)
+++ trunk/Source/WebCore/platform/audio/ios/AudioSessionIOS.mm	2018-04-18 20:13:44 UTC (rev 230775)
@@ -141,7 +141,7 @@
 
     NSError *error = nil;
     [[AVAudioSession sharedInstance] setCategory:categoryString mode:categoryMode options:options error:&error];
-#if !PLATFORM(IOS_SIMULATOR)
+#if !PLATFORM(IOS_SIMULATOR) && !ENABLE(MINIMAL_SIMULATOR)
     ASSERT(!error);
 #endif
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to