<?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>261041</bug_id>
          
          <creation_ts>2023-09-01 11:46:05 -0700</creation_ts>
          <short_desc>REGRESSION(267516@main): [ macOS wk2 ] accessibility/mac/basic-embed-pdf-accessibility.html is a constant failure.</short_desc>
          <delta_ts>2023-09-22 11:46:33 -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>Accessibility</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=259373</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=261048</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=261052</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=261054</see_also>
          <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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>Morningstar</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>1975047</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-09-01 11:46:05 -0700</bug_when>
    <thetext>accessibility/mac/basic-embed-pdf-accessibility.html

This test is a constant failure on all versions of macOS, wk2.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=accessibility%2Fmac%2Fbasic-embed-pdf-accessibility.html

TEXT DIFF:

 This test ensures PDFs loaded in embed tags are exposed in the accessibility tree.
 
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+PASS: pdfEmbedElement.domIdentifier === &apos;pdfEmbed&apos;
+PASS: pdfEmbedElement.role === &apos;AXRole: AXGroup&apos;
+PASS: pdfEmbedElement.subrole === &apos;AXSubrole: &apos;
+PASS: pdfEmbedElement.childrenCount === 1
+PASS: pdfAxObject.stringAttributeValue(&apos;AXSubrole&apos;) === &apos;AXPDFPluginSubrole&apos;
+PASS: pdfAxObject.childrenCount === 1
+PASS: pdfAxObject.parentElement().domIdentifier === &apos;pdfEmbed&apos;
+PASS: pdfLayerController.stringAttributeValue(&apos;AXRole&apos;) === &apos;AXGroup&apos;
+PASS: pdfLayerController.stringAttributeValue(&apos;AXDescription&apos;) === &apos;document&apos;
+PASS: pdfTextNode.stringAttributeValue(&apos;AXRole&apos;) === &apos;AXStaticText&apos;
+PASS: pdfTextNode.stringAttributeValue(&apos;AXValue&apos;).trimEnd() === &apos;Welcome to the website for the WebKit Open Source Project!&apos;
+PASS: hitTestResult.stringAttributeValue(&apos;AXRole&apos;) === &apos;AXGroup&apos;
+PASS: hitTestResult.stringAttributeValue(&apos;AXDescription&apos;) === &apos;document&apos;
+PASS: pdfTextNode.stringAttributeValue(&apos;AXRole&apos;) === &apos;AXStaticText&apos;
+PASS: pdfTextNode.stringAttributeValue(&apos;AXValue&apos;).trimEnd() === &apos;Welcome to the website for the WebKit Open Source Project!&apos;
+PASS: searchResultElement.stringAttributeValue(&apos;AXSubrole&apos;) === &apos;AXPDFPluginSubrole&apos;
 
-
-PASS pdfEmbedElement.domIdentifier is &apos;pdfEmbed&apos;
-PASS pdfEmbedElement.role is &apos;AXRole: AXGroup&apos;
-PASS pdfEmbedElement.subrole is &apos;AXSubrole: &apos;
-PASS pdfEmbedElement.childrenCount is 1
-PASS pdfAxObject.stringAttributeValue(&apos;AXSubrole&apos;) is &apos;AXPDFPluginSubrole&apos;
-PASS pdfAxObject.childrenCount is 1
-PASS pdfAxObject.parentElement().domIdentifier is &apos;pdfEmbed&apos;
-PASS pdfLayerController.stringAttributeValue(&apos;AXRole&apos;) is &apos;AXGroup&apos;
-PASS pdfLayerController.stringAttributeValue(&apos;AXDescription&apos;) is &apos;document&apos;
-PASS pdfTextNode.stringAttributeValue(&apos;AXRole&apos;) is &apos;AXStaticText&apos;
-FAIL pdfTextNode.stringAttributeValue(&apos;AXValue&apos;) should be Welcome to the website for the WebKit Open Source Project!. Was Welcome to the website for the WebKit Open Source Project!
-.
-PASS hitTestResult.stringAttributeValue(&apos;AXRole&apos;) is &apos;AXGroup&apos;
-PASS hitTestResult.stringAttributeValue(&apos;AXDescription&apos;) is &apos;document&apos;
-PASS pdfTextNode.stringAttributeValue(&apos;AXRole&apos;) is &apos;AXStaticText&apos;
-FAIL pdfTextNode.stringAttributeValue(&apos;AXValue&apos;) should be Welcome to the website for the WebKit Open Source Project!. Was Welcome to the website for the WebKit Open Source Project!
-.
-PASS searchResultElement.stringAttributeValue(&apos;AXSubrole&apos;) is &apos;AXPDFPluginSubrole&apos;
 PASS successfullyParsed is true
-Some tests failed.
 
 TEST COMPLETE

DIFF URL:

https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK2-Tests/267553%40main%20(4741)/accessibility/mac/basic-embed-pdf-accessibility-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this bug on macOS Ventura (13.5, 22G74/arm64) ToT using the following command:

run-webkit-tests --clobber-old-results --verbose accessibility/mac/basic-embed-pdf-accessibility.html

REGRESSION:

I was able to identify a clear regression point at 267516@main, as the issue did not reproduce at 267515@main and the test was constantly passing before this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975048</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-01 11:46:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/114831888&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975050</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-01 11:55:25 -0700</bug_when>
    <thetext>Test gardening commit 267561@main (6c8b6f1dbf9a): &lt;https://commits.webkit.org/267561@main&gt;

Reviewed commits have been landed. Closing PR #17352 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979405</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-22 11:46:33 -0700</bug_when>
    <thetext>Test gardening commit 268327@main (4f51800d1fbf): &lt;https://commits.webkit.org/268327@main&gt;

Reviewed commits have been landed. Closing PR #18093 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>