Title: [290293] trunk/Tools
Revision
290293
Author
[email protected]
Date
2022-02-22 01:24:18 -0800 (Tue, 22 Feb 2022)

Log Message

[GTK] Can't run performance tests due to a11y errors
https://bugs.webkit.org/show_bug.cgi?id=230705

Reviewed by Sergio Villar Senin.

Disable a11y in WTR since it's no longer nedded with ATSPI.

* WebKitTestRunner/gtk/main.cpp:
(main):
* WebKitTestRunner/wpe/main.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (290292 => 290293)


--- trunk/Tools/ChangeLog	2022-02-22 09:05:51 UTC (rev 290292)
+++ trunk/Tools/ChangeLog	2022-02-22 09:24:18 UTC (rev 290293)
@@ -1,3 +1,17 @@
+2022-02-22  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Can't run performance tests due to a11y errors
+        https://bugs.webkit.org/show_bug.cgi?id=230705
+
+        Reviewed by Sergio Villar Senin.
+
+        Disable a11y in WTR since it's no longer nedded with ATSPI.
+
+        * WebKitTestRunner/gtk/main.cpp:
+        (main):
+        * WebKitTestRunner/wpe/main.cpp:
+        (main):
+
 2022-02-21  Brandon Stewart  <[email protected]>
 
         Use ArgumentParser for parsing args in generate-compile-commands

Modified: trunk/Tools/WebKitTestRunner/gtk/main.cpp (290292 => 290293)


--- trunk/Tools/WebKitTestRunner/gtk/main.cpp	2022-02-22 09:05:51 UTC (rev 290292)
+++ trunk/Tools/WebKitTestRunner/gtk/main.cpp	2022-02-22 09:24:18 UTC (rev 290293)
@@ -47,8 +47,16 @@
 int main(int argc, char** argv)
 {
     g_setenv("WEBKIT_DISABLE_MEMORY_PRESSURE_MONITOR", "1", FALSE);
+#if USE(ATSPI)
     g_setenv("WEBKIT_A11Y_BUS_ADDRESS", "", FALSE);
+#if USE(GTK4)
+    g_setenv("GTK_A11Y", "none", TRUE);
+#else
+    g_setenv("NO_AT_BRIDGE", "1", TRUE);
+#endif
+#endif
 
+
     gtk_init(&argc, &argv);
 
     initializeGtkSettings();

Modified: trunk/Tools/WebKitTestRunner/wpe/main.cpp (290292 => 290293)


--- trunk/Tools/WebKitTestRunner/wpe/main.cpp	2022-02-22 09:05:51 UTC (rev 290292)
+++ trunk/Tools/WebKitTestRunner/wpe/main.cpp	2022-02-22 09:24:18 UTC (rev 290293)
@@ -31,6 +31,9 @@
 int main(int argc, char** argv)
 {
     g_setenv("WEBKIT_DISABLE_MEMORY_PRESSURE_MONITOR", "1", FALSE);
+#if USE(ATSPI)
+    g_setenv("WEBKIT_A11Y_BUS_ADDRESS", "", FALSE);
+#endif
 
     WTR::TestController controller(argc, const_cast<const char**>(argv));
     return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to