Title: [259634] trunk/Tools
Revision
259634
Author
[email protected]
Date
2020-04-07 07:16:53 -0700 (Tue, 07 Apr 2020)

Log Message

Reset mock capture devices between layout tests
https://bugs.webkit.org/show_bug.cgi?id=210098

Reviewed by Eric Carlson.

This fixes fast/mediastream/anonymize-device-name.html
failure since https://trac.webkit.org/changeset/259477/webkit.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (259633 => 259634)


--- trunk/Tools/ChangeLog	2020-04-07 11:52:25 UTC (rev 259633)
+++ trunk/Tools/ChangeLog	2020-04-07 14:16:53 UTC (rev 259634)
@@ -1,3 +1,16 @@
+2020-04-07  Youenn Fablet  <[email protected]>
+
+        Reset mock capture devices between layout tests
+        https://bugs.webkit.org/show_bug.cgi?id=210098
+
+        Reviewed by Eric Carlson.
+
+        This fixes fast/mediastream/anonymize-device-name.html
+        failure since https://trac.webkit.org/changeset/259477/webkit.
+
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetStateToConsistentValues):
+
 2020-04-06  Peng Liu  <[email protected]>
 
         REGRESSION (r259531?): [iOS] TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia is timing out

Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (259633 => 259634)


--- trunk/Tools/WebKitTestRunner/TestController.cpp	2020-04-07 11:52:25 UTC (rev 259633)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp	2020-04-07 14:16:53 UTC (rev 259634)
@@ -1042,6 +1042,7 @@
     WKContextSetUseSeparateServiceWorkerProcess(TestController::singleton().context(), false);
 
     WKPageSetMockCameraOrientation(m_mainWebView->page(), 0);
+    resetMockMediaDevices();
 
     // FIXME: This function should also ensure that there is only one page open.
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to