Set getUserMedia permission to true by default on WTR
[WebKit-https.git] / Tools / WebKitTestRunner / InjectedBundle / InjectedBundle.h
index 2edd5e7..0576314 100644 (file)
@@ -103,6 +103,7 @@ public:
 
     // MediaStream.
     void setUserMediaPermission(bool);
+    void resetUserMediaPermission();
     void setUserMediaPersistentPermissionForOrigin(bool permission, WKStringRef origin, WKStringRef parentOrigin);
     unsigned userMediaPermissionRequestCountForOrigin(WKStringRef origin, WKStringRef parentOrigin) const;
     void resetUserMediaPermissionRequestCountForOrigin(WKStringRef origin, WKStringRef parentOrigin);