File webkit2gtk3-boo1088932-a11y-state-set.patch of Package webkit2gtk3.10996

diff -urp webkitgtk-2.22.6.orig/Source/WebCore/accessibility/AccessibilityObject.cpp webkitgtk-2.22.6/Source/WebCore/accessibility/AccessibilityObject.cpp
--- webkitgtk-2.22.6.orig/Source/WebCore/accessibility/AccessibilityObject.cpp	2019-02-12 16:58:51.735109641 -0600
+++ webkitgtk-2.22.6/Source/WebCore/accessibility/AccessibilityObject.cpp	2019-02-12 17:00:53.987806344 -0600
@@ -1780,6 +1780,9 @@ void AccessibilityObject::updateBackingS
     if (!axObjectCache())
         return;
     
+    if (WidgetHierarchyUpdatesSuspensionScope::isSuspended())
+        return;
+
     // Updating the layout may delete this object.
     RefPtr<AccessibilityObject> protectedThis(this);
     if (auto* document = this->document()) {
openSUSE Build Service is sponsored by