<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>245761</bug_id>
          
          <creation_ts>2022-09-27 17:18:04 -0700</creation_ts>
          <short_desc>REGRESSION (254905@main): [ macOS Debug ] ASSERTION FAILED: document().settings().ariaReflectionForElementReferencesEnabled()</short_desc>
          <delta_ts>2022-09-28 10:37:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>rego</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1901651</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-27 17:18:04 -0700</bug_when>
    <thetext>Description:
accessibility/svg-remote-element.html is a consistent crash

The first failure I saw on the dashboard was on &lt;date&gt; at 254905@main which adds Source/WebCore/dom/Element.cpp:(WebCore::Element::isElementReflectionAttribute)

Reproduction steps:
I can reproduce this on 254905@main but cannot reproduce it on 254904@main or earlier.

Command: 
run-webkit-tests  --iterations 50 --debug-rwt-logging --no-retry --force --no-build -f --debug  accessibility/svg-remote-element.html

Result: 
Unexpected flakiness: crashes (1)
  accessibility/svg-remote-element.html [ Timeout Crash ]

History:
https://results.webkit.org/?suite=layout-tests&amp;test=accessibility%2Fsvg-remote-element.html&amp;platform=mac&amp;style=debug

Crash Log:
No crash log found on bot.

stderr:
ASSERTION FAILED: document().settings().ariaReflectionForElementReferencesEnabled()
dom/Element.cpp(2099) : std::optional&lt;Vector&lt;RefPtr&lt;Element&gt;&gt;&gt; WebCore::Element::getElementsArrayAttribute(const WebCore::QualifiedName &amp;) const
1   0x7ff7bdec8bb0 (null)
2   0x7382d44e5 (null)
3   0x1f35c99c65 (null)
4   0x7ff7bdec8bb0 (null)
5   0x7ff7bdec8b68 (null)
6   0x7ff7bdec8b80 (null)
7   0x735c99dff WTFPrintBacktrace
8   0x7ff7bdec8b80 (null)
9   0x738cb17a0 vtable for CrashLogPrintStream
10  0x1fbdec8b9c (null)
11  0x7ff7bdec8bb0 (null)
12  0x7ff7bdec8cb0 (null)
13  0x735c99d9f WTFReportBacktrace
14  0x7ff7bdec8bb0 (null)
15  0x21ca1300c6 (null)
16  0x735d7d56f WTFGetBacktrace
17  0x735c99d86 WTFReportBacktrace
18  0x735c99e89 WTFCrash
19  0x6e31de30b WTFCrashWithInfo(int, char const*, char const*, int)
20  0x6e6bcc3dd WebCore::Element::getElementsArrayAttribute(WebCore::QualifiedName const&amp;) const
21  0x6e60a7b2a WebCore::AccessibilityObject::elementsFromAttribute(WebCore::QualifiedName const&amp;) const
22  0x6e60a5473 WebCore::AccessibilityNodeObject::ariaLabeledByElements() const
23  0x6e60a7dbc WebCore::AccessibilityNodeObject::ariaLabeledByAttribute() const
24  0x6e60a2940 WebCore::AccessibilityNodeObject::ariaAccessibilityDescription() const
25  0x6e60ce7bc WebCore::AccessibilitySVGElement::accessibilityDescription() const
26  0x6e60ce6d1 WebCore::AccessibilitySVGElement::accessibilityText(WTF::Vector&lt;WebCore::AccessibilityText, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;) const
27  0x6e3b2292e WebCore::AccessibilityObject::descriptionAttributeValue() const
28  0x6e91fd661 -[WebAccessibilityObjectWrapper accessibilityAttributeValue:]
29  0x6e0e2da03 WTR::attributeValue(objc_object*, NSString*)
30  0x6e0e2d7c3 WTR::AccessibilityUIElement::attributeValue(NSString*) const::$_2::operator()() const
31  0x6e0e2d749 WTF::Detail::CallableWrapper&lt;WTR::AccessibilityUIElement::attributeValue(NSString*) const::$_2, void&gt;::call()
com.apple.WebKit.WebContent.Development terminated (pid 85185) for reason: crash
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901652</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-27 17:18:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/100483677&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901658</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-27 17:29:33 -0700</bug_when>
    <thetext>revert patch https://webkit.org/b/245762</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901682</commentid>
    <comment_count>3</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2022-09-27 22:24:47 -0700</bug_when>
    <thetext>This will be fixed by https://github.com/WebKit/WebKit/pull/4784.

*** This bug has been marked as a duplicate of bug 244972 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901759</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-28 06:00:26 -0700</bug_when>
    <thetext>Committed 254937@main (995fb2200fc8): &lt;https://commits.webkit.org/254937@main&gt;

Confirmed after reverting at 254937@main the test began consistently passing again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901825</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-09-28 10:37:50 -0700</bug_when>
    <thetext>Changing resolution to FIXED. Thank you, Karl!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>