Title: [252737] trunk
- Revision
- 252737
- Author
- [email protected]
- Date
- 2019-11-21 09:07:49 -0800 (Thu, 21 Nov 2019)
Log Message
Regression (r252660): Layout Test platform/ios/mediastream/audio-muted-in-background-tab.html is failing
https://bugs.webkit.org/show_bug.cgi?id=204408
<rdar://problem/57364353>
Reviewed by Eric Carlson.
Source/WebCore:
Covered by no longer failing test.
* platform/mediastream/mac/CoreAudioCaptureSource.h:
* platform/mock/MockRealtimeMediaSourceCenter.cpp:
Now that we are using CoreAudioCaptureSource, we need to use its factory to interrupt/uninterrupt the active source.
LayoutTests:
* platform/ios/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (252736 => 252737)
--- trunk/LayoutTests/ChangeLog 2019-11-21 16:50:14 UTC (rev 252736)
+++ trunk/LayoutTests/ChangeLog 2019-11-21 17:07:49 UTC (rev 252737)
@@ -1,3 +1,13 @@
+2019-11-21 Youenn Fablet <[email protected]>
+
+ Regression (r252660): Layout Test platform/ios/mediastream/audio-muted-in-background-tab.html is failing
+ https://bugs.webkit.org/show_bug.cgi?id=204408
+ <rdar://problem/57364353>
+
+ Reviewed by Eric Carlson.
+
+ * platform/ios/TestExpectations:
+
2019-11-20 Per Arne Vollan <[email protected]>
Update test expectations for flaky tests
Modified: trunk/LayoutTests/platform/ios/TestExpectations (252736 => 252737)
--- trunk/LayoutTests/platform/ios/TestExpectations 2019-11-21 16:50:14 UTC (rev 252736)
+++ trunk/LayoutTests/platform/ios/TestExpectations 2019-11-21 17:07:49 UTC (rev 252737)
@@ -3460,5 +3460,3 @@
webkit.org/b/203356 [ Debug ] imported/w3c/web-platform-tests/css/css-transitions/properties-value-003.html [ Pass Failure ]
webkit.org/b/203416 imported/w3c/web-platform-tests/css/css-transitions/before-load-001.html [ Pass Failure ]
webkit.org/b/203416 imported/w3c/web-platform-tests/css/css-transitions/properties-value-auto-001.html [ Pass Failure ]
-
-webkit.org/b/204408 platform/ios/mediastream/audio-muted-in-background-tab.html [ Failure ]
Modified: trunk/Source/WebCore/ChangeLog (252736 => 252737)
--- trunk/Source/WebCore/ChangeLog 2019-11-21 16:50:14 UTC (rev 252736)
+++ trunk/Source/WebCore/ChangeLog 2019-11-21 17:07:49 UTC (rev 252737)
@@ -1,3 +1,17 @@
+2019-11-21 Youenn Fablet <[email protected]>
+
+ Regression (r252660): Layout Test platform/ios/mediastream/audio-muted-in-background-tab.html is failing
+ https://bugs.webkit.org/show_bug.cgi?id=204408
+ <rdar://problem/57364353>
+
+ Reviewed by Eric Carlson.
+
+ Covered by no longer failing test.
+
+ * platform/mediastream/mac/CoreAudioCaptureSource.h:
+ * platform/mock/MockRealtimeMediaSourceCenter.cpp:
+ Now that we are using CoreAudioCaptureSource, we need to use its factory to interrupt/uninterrupt the active source.
+
2019-11-21 Antti Koivisto <[email protected]>
MediaQueryEvaluator shouldn't know about style resolver
Modified: trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h (252736 => 252737)
--- trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h 2019-11-21 16:50:14 UTC (rev 252736)
+++ trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h 2019-11-21 17:07:49 UTC (rev 252737)
@@ -131,6 +131,8 @@
void setCoreAudioActiveSource(CoreAudioCaptureSource& source) { setActiveSource(source); }
void unsetCoreAudioActiveSource(CoreAudioCaptureSource& source) { unsetActiveSource(source); }
CoreAudioCaptureSource* coreAudioActiveSource() { return static_cast<CoreAudioCaptureSource*>(activeSource()); }
+
+ void setAudioCapturePageState(bool interrupted, bool pageMuted) final;
#else
CoreAudioCaptureSource* coreAudioActiveSource() { return nullptr; }
#endif
@@ -142,9 +144,6 @@
}
CaptureDeviceManager& audioCaptureDeviceManager() final;
-#if PLATFORM(IOS_FAMILY)
- void setAudioCapturePageState(bool interrupted, bool pageMuted) final;
-#endif
};
} // namespace WebCore
Modified: trunk/Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp (252736 => 252737)
--- trunk/Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp 2019-11-21 16:50:14 UTC (rev 252736)
+++ trunk/Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp 2019-11-21 17:07:49 UTC (rev 252737)
@@ -41,6 +41,10 @@
#include <wtf/NeverDestroyed.h>
#include <wtf/text/StringView.h>
+#if PLATFORM(COCOA)
+#include "CoreAudioCaptureSource.h"
+#endif
+
namespace WebCore {
static inline Vector<MockMediaDevice> defaultDevices()
@@ -143,11 +147,7 @@
}
private:
#if PLATFORM(IOS_FAMILY)
- void setAudioCapturePageState(bool interrupted, bool pageMuted) final
- {
- if (activeSource())
- activeSource()->setInterrupted(interrupted, pageMuted);
- }
+ void setAudioCapturePageState(bool interrupted, bool pageMuted) final { CoreAudioCaptureSourceFactory::singleton().setAudioCapturePageState(interrupted, pageMuted); }
#endif
CaptureDeviceManager& audioCaptureDeviceManager() final { return MockRealtimeMediaSourceCenter::singleton().audioCaptureDeviceManager(); }
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes