Title: [265236] trunk/Source/WebCore/PAL
- Revision
- 265236
- Author
- [email protected]
- Date
- 2020-08-03 18:16:13 -0700 (Mon, 03 Aug 2020)
Log Message
Check for the presence of libAccessibility before trying to load the _AXSIsolatedTreeMode function.
https://bugs.webkit.org/show_bug.cgi?id=215107
<rdar://problem/66192260>
Reviewed by Chris Fleizach.
* pal/spi/cocoa/AccessibilitySupportSoftLink.h:
Trying to load _AXSIsolatedTreeMode when the library is not present
triggers an assert.
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (265235 => 265236)
--- trunk/Source/WebCore/PAL/ChangeLog 2020-08-04 01:05:08 UTC (rev 265235)
+++ trunk/Source/WebCore/PAL/ChangeLog 2020-08-04 01:16:13 UTC (rev 265236)
@@ -1,3 +1,15 @@
+2020-08-03 Andres Gonzalez <[email protected]>
+
+ Check for the presence of libAccessibility before trying to load the _AXSIsolatedTreeMode function.
+ https://bugs.webkit.org/show_bug.cgi?id=215107
+ <rdar://problem/66192260>
+
+ Reviewed by Chris Fleizach.
+
+ * pal/spi/cocoa/AccessibilitySupportSoftLink.h:
+ Trying to load _AXSIsolatedTreeMode when the library is not present
+ triggers an assert.
+
2020-08-03 Wenson Hsieh <[email protected]>
Remove the ENABLE_DATA_INTERACTION feature flag
Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSoftLink.h (265235 => 265236)
--- trunk/Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSoftLink.h 2020-08-04 01:05:08 UTC (rev 265235)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSoftLink.h 2020-08-04 01:16:13 UTC (rev 265236)
@@ -35,7 +35,7 @@
SOFT_LINK_LIBRARY_FOR_HEADER(PAL, libAccessibility)
SOFT_LINK_FUNCTION_MAY_FAIL_FOR_HEADER(PAL, libAccessibility, _AXSIsolatedTreeMode, AXSIsolatedTreeMode, (void), ())
#define _AXSIsolatedTreeMode_Soft PAL::softLink_libAccessibility__AXSIsolatedTreeMode
-#define _AXSIsolatedTreeModeFunctionIsAvailable PAL::canLoad_libAccessibility__AXSIsolatedTreeMode
+#define _AXSIsolatedTreeModeFunctionIsAvailable PAL::islibAccessibilityLibaryAvailable() && PAL::canLoad_libAccessibility__AXSIsolatedTreeMode
#endif // ENABLE(ACCESSIBILITY_ISOLATED_TREE)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes