REGRESSION (r257739): two fast/events/autoscroll test have started to fail
authorandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Mar 2020 11:47:32 +0000 (11:47 +0000)
committerandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Mar 2020 11:47:32 +0000 (11:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=208520
<rdar://problem/60000214>

Reviewed by Chris Fleizach.

Calling InjectedBundle::singleton().page()->page() in the constructor
of the AccessibilityController is having this side effect on iOS.
So #if to MAC where it's actually being used.

* WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
(WTR::AccessibilityController::AccessibilityController):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@257838 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp

index 72d3564..9b6ff98 100644 (file)
@@ -1,3 +1,18 @@
+2020-03-04  Andres Gonzalez  <andresg_22@apple.com>
+
+        REGRESSION (r257739): two fast/events/autoscroll test have started to fail
+        https://bugs.webkit.org/show_bug.cgi?id=208520
+        <rdar://problem/60000214>
+
+        Reviewed by Chris Fleizach.
+
+        Calling InjectedBundle::singleton().page()->page() in the constructor
+        of the AccessibilityController is having this side effect on iOS.
+        So #if to MAC where it's actually being used.
+
+        * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
+        (WTR::AccessibilityController::AccessibilityController):
+
 2020-03-03  Alex Christensen  <achristensen@webkit.org>
 
         Add SPI _WKResourceLoadInfo.loadedFromCache
index a30300f..68d9958 100644 (file)
@@ -46,7 +46,7 @@ Ref<AccessibilityController> AccessibilityController::create()
 
 AccessibilityController::AccessibilityController()
 {
-#if PLATFORM(COCOA)
+#if PLATFORM(MAC)
     m_useAXThread = WKAccessibilityCanUseSecondaryAXThread(InjectedBundle::singleton().page()->page());
 #endif
 }