Set getUserMedia permission to true by default on WTR
[WebKit-https.git] / Tools / ChangeLog
index 6dd95d4..582b180 100644 (file)
@@ -1,3 +1,90 @@
+2017-06-23  Youenn Fablet  <youenn@apple.com>
+
+        Set getUserMedia permission to true by default on WTR
+        https://bugs.webkit.org/show_bug.cgi?id=173610
+
+        Reviewed by Alex Christensen.
+
+        Adding a way to reset the getUserMedia permission to pending.
+
+        * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
+        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
+        (WTR::InjectedBundle::setUserMediaPermissionAsUnset):
+        * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
+        * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
+        (WTR::TestRunner::setUserMediaPermissionAsUnset):
+        * WebKitTestRunner/InjectedBundle/TestRunner.h:
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetStateToConsistentValues):
+        (WTR::TestController::setUserMediaPermissionAsUnset):
+        * WebKitTestRunner/TestController.h:
+        * WebKitTestRunner/TestInvocation.cpp:
+        (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
+
+2017-06-23  Alex Christensen  <achristensen@webkit.org>
+
+        Add SPI to WKURLSchemeTask for redirection
+        https://bugs.webkit.org/show_bug.cgi?id=173730
+
+        Reviewed by Brady Eidson.
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
+        (-[SchemeHandler webView:startURLSchemeTask:]):
+        (-[SchemeHandler webView:stopURLSchemeTask:]):
+        (TEST):
+        (-[RedirectSchemeHandler webView:startURLSchemeTask:]):
+        (-[RedirectSchemeHandler webView:stopURLSchemeTask:]):
+        (-[RedirectSchemeHandler webView:didReceiveServerRedirectForProvisionalNavigation:]):
+        (-[RedirectSchemeHandler webView:decidePolicyForNavigationResponse:decisionHandler:]):
+        (-[RedirectSchemeHandler userContentController:didReceiveScriptMessage:]):
+
+2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [WPE] Use JSC API to send script messages from web extension in tests
+        https://bugs.webkit.org/show_bug.cgi?id=173757
+
+        Reviewed by Žan Doberšek.
+
+        The GTK+ uses DOM bindings to send the messages. We can just build the message string and use JSEvaluateScript
+        to run postMessage().
+
+        Fixes: /wpe/WebKitSecurityManager/file-xhr
+               /wpe/WebKitConsoleMessage/console-api
+               /wpe/WebKitConsoleMessage/js-exception
+               /wpe/WebKitConsoleMessage/network-error
+               /wpe/WebKitConsoleMessage/security-error
+
+        * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
+        (testWebKitConsoleMessageSecurityError): Remove ifdefs.
+        (beforeAll): Ditto.
+        * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:
+        (testWebContextSecurityFileXHR): Ditto.
+        (beforeAll): Ditto.
+        * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
+        (consoleMessageSentCallback): Use JSEvaluateScript in WPE. We need to escape the '"' in the message string.
+        (pageCreatedCallback): Remove ifdefs.
+
+2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Fix WPE /wpe/WebKitWebView/javascript-dialogs and /wpe/WebKitWebView/window-properties
+
+        Skip onbeforeunload dialog tests for now in WPE since we don't have a implemention for
+        simulateUserInteraction(). And do not expect changes in "geometry" property of WebKitWindowProperties that
+        doesn't exist yet in WPE.
+
+        * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
+        (testWebViewJavaScriptDialogs):
+        (testWebViewWindowProperties):
+
+2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Upgrade pixman and cairo in jhbuild
+        https://bugs.webkit.org/show_bug.cgi?id=173710
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        * gtk/jhbuild.modules:
+
 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         REGRESSION(r218686): [GTK] Several unit tests are failing after r218686 in the bots