<?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>257239</bug_id>
          
          <creation_ts>2023-05-23 16:28:07 -0700</creation_ts>
          <short_desc>[ iPhone XS + ] TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot is a constant failure</short_desc>
          <delta_ts>2023-05-24 17:10:28 -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>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>257235</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=172485</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>thorton</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>1957483</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-23 16:28:07 -0700</bug_when>
    <thetext>TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot

is a constant failure on iOS 16 Debug, when running on an iPhone XS and higher.

HISTORY:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot

The history indicates that this is constantly passing, and that&apos;s true. However, we are currently set to use an iPhone SE (3rd gen) as the set simulator for API-test. This test passes there, but it fails on iPhone XS and higher. The test will need to be updated so that it doesn&apos;t become a constant failure, because we would like to move our simulator to iPhone 12 from iPhone SE. 

STDIO TEXT FAILURE: 
    TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot
        2023-05-23 13:46:32.476 TestWebKitAPI[48887:8262975] Loading file:///Volumes/Data/Builds/iOS/SydneyE/Debug/debugbuild264422@main/TestWebKitAPI.resources/large-red-square-image.html
        No leak checking done: At least one WebView is still open.

        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:103
        Expected equality of these values:
          255
          value
            Which is: &apos;\xBD&apos; (189)


        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:104
        Expected equality of these values:
          0
          pixelBuffer[pixelIndex + 1]
            Which is: &apos;\xBD&apos; (189)


        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:105
        Expected equality of these values:
          0
          pixelBuffer[pixelIndex + 2]
            Which is: &apos;\xC2&apos; (194)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957484</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-23 16:28:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/109744653&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957485</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-23 16:29:54 -0700</bug_when>
    <thetext>This test is very easily reproducible at iOS 16 Debug ToT running the test as follows:


run-api-tests --iOS-simulator TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot

You will specifically need to boot an iPhone XS or higher simulator to reproduce the failure. After you have chosen your booted simulator it will choose to run on that simulated device, and not the one that we have set for our testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957760</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-24 17:10:28 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 257235 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>