Title: [229439] trunk/Tools
- Revision
- 229439
- Author
- [email protected]
- Date
- 2018-03-08 15:27:45 -0800 (Thu, 08 Mar 2018)
Log Message
WebKitTestRunner: Don't use accessibility controller when !HAVE(ACCESSIBILITY)
https://bugs.webkit.org/show_bug.cgi?id=183475
Patch by Stephan Szabo <[email protected]> on 2018-03-08
Reviewed by Youenn Fablet.
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::done):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::didClearWindowForFrame):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (229438 => 229439)
--- trunk/Tools/ChangeLog 2018-03-08 23:20:30 UTC (rev 229438)
+++ trunk/Tools/ChangeLog 2018-03-08 23:27:45 UTC (rev 229439)
@@ -1,3 +1,15 @@
+2018-03-08 Stephan Szabo <[email protected]>
+
+ WebKitTestRunner: Don't use accessibility controller when !HAVE(ACCESSIBILITY)
+ https://bugs.webkit.org/show_bug.cgi?id=183475
+
+ Reviewed by Youenn Fablet.
+
+ * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
+ (WTR::InjectedBundle::done):
+ * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+ (WTR::InjectedBundlePage::didClearWindowForFrame):
+
2018-03-08 Ms2ger <[email protected]>
[WPE] Update expectations for API tests
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp (229438 => 229439)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2018-03-08 23:20:30 UTC (rev 229438)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2018-03-08 23:27:45 UTC (rev 229439)
@@ -419,7 +419,9 @@
m_testRunner->invalidateWaitToDumpWatchdogTimer();
+#if HAVE(ACCESSIBILITY)
m_accessibilityController->resetToConsistentState();
+#endif
WKRetainPtr<WKStringRef> doneMessageName(AdoptWK, WKStringCreateWithUTF8CString("Done"));
WKRetainPtr<WKMutableDictionaryRef> doneMessageBody(AdoptWK, WKMutableDictionaryCreate());
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (229438 => 229439)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2018-03-08 23:20:30 UTC (rev 229438)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2018-03-08 23:27:45 UTC (rev 229439)
@@ -995,7 +995,9 @@
injectedBundle.gcController()->makeWindowObject(context, window, &exception);
injectedBundle.eventSendingController()->makeWindowObject(context, window, &exception);
injectedBundle.textInputController()->makeWindowObject(context, window, &exception);
+#if HAVE(ACCESSIBILITY)
injectedBundle.accessibilityController()->makeWindowObject(context, window, &exception);
+#endif
WebCoreTestSupport::injectInternalsObject(context);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes