Title: [187122] trunk/Source/WebKit2
Revision
187122
Author
commit-qu...@webkit.org
Date
2015-07-21 14:23:12 -0700 (Tue, 21 Jul 2015)

Log Message

Make sure to invalidate requests for user media after webpage reset
https://bugs.webkit.org/show_bug.cgi?id=147155
<rdar://problem/21924174>

Patch by Matthew Daiter <mdai...@apple.com> on 2015-07-21
Reviewed by Brent Fulgham.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::resetState): Added user media reset

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (187121 => 187122)


--- trunk/Source/WebKit2/ChangeLog	2015-07-21 21:19:20 UTC (rev 187121)
+++ trunk/Source/WebKit2/ChangeLog	2015-07-21 21:23:12 UTC (rev 187122)
@@ -1,3 +1,14 @@
+2015-07-21  Matthew Daiter  <mdai...@apple.com>
+
+        Make sure to invalidate requests for user media after webpage reset
+        https://bugs.webkit.org/show_bug.cgi?id=147155
+        <rdar://problem/21924174>
+
+        Reviewed by Brent Fulgham.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::resetState): Added user media reset
+
 2015-07-21  Tim Horton  <timothy_hor...@apple.com>
 
         [iOS] Avoid using a TextIndicator if there are non-text things to indicate

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (187121 => 187122)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2015-07-21 21:19:20 UTC (rev 187121)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2015-07-21 21:23:12 UTC (rev 187122)
@@ -5018,6 +5018,9 @@
 #if ENABLE(GEOLOCATION)
     m_geolocationPermissionRequestManager.invalidateRequests();
 #endif
+#if ENABLE(MEDIA_STREAM)
+    m_userMediaPermissionRequestManager.invalidateRequests();
+#endif
 
     m_notificationPermissionRequestManager.invalidateRequests();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to