<?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>252922</bug_id>
          
          <creation_ts>2023-02-24 11:18:48 -0800</creation_ts>
          <short_desc>REGRESSION (260447@main): [Monterey+] TestWebKitAPI.FontManagerTests.ChangeFontWithPanel is consistently failing</short_desc>
          <delta_ts>2023-02-25 13:06:54 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247987</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Wenson Hsieh">wenson_hsieh</assigned_to>
          <cc>gfunni234</cc>
    
    <cc>mmaxfield</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>1936602</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-02-24 11:18:48 -0800</bug_when>
    <thetext>TestWebKitAPI.FontManagerTests.ChangeFontWithPanel has been consistently failing on macOS after https://commits.webkit.org/260447@main landed. The test is passing on Big Sur, but failing on Monterey and Ventura.

TestWebKitAPI.FontManagerTests.ChangeFontWithPanel
        2023-02-17 09:16:43.579 TestWebKitAPI[1400:24471392] Expected &quot;Helvetica 20.00 pt. P [] (0x7fd520527290) fobj=0x7fd520168410, spc=5.56&quot; to have the same attributes as &quot;Helvetica 20.00 pt. P [] (0x7fd4d7732090) fobj=0x7fd4d7732090, spc=5.56&quot;
        2023-02-17 09:16:43.648 TestWebKitAPI[1400:24471392] Expected &quot;TimesNewRomanPS-BoldMT 10.00 pt. P [] (0x7fd520527290) fobj=0x7fd520527290, spc=2.50&quot; to have the same attributes as &quot;TimesNewRomanPS-BoldMT 10.00 pt. P [] (0x7fd4d775e7b0) fobj=0x7fd4d775e7b0, spc=2.50&quot;
        2023-02-17 09:16:43.713 TestWebKitAPI[1400:24471392] Expected &quot;Arial-BoldItalicMT 14.00 pt. P [] (0x7fd517705190) fobj=0x7fd520338540, spc=3.89&quot; to have the same attributes as &quot;Arial-BoldItalicMT 14.00 pt. P [] (0x7fd51770eea0) fobj=0x7fd51770eea0, spc=3.89&quot;
        
        /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm:204
        Value of: attributesAreEqual
          Actual: false
        Expected: true
        
        
        /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm:204
        Value of: attributesAreEqual
          Actual: false
        Expected: true
        
        
        /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm:204
        Value of: attributesAreEqual
          Actual: false
        Expected: true


https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.FontManagerTests.ChangeFontWithPanel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936603</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-24 11:19:04 -0800</bug_when>
    <thetext>&lt;rdar://problem/105893191&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936702</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2023-02-24 17:32:33 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10674</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936710</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-24 18:46:04 -0800</bug_when>
    <thetext>Test gardening commit 260826@main (7f06b13867ff): &lt;https://commits.webkit.org/260826@main&gt;

Reviewed commits have been landed. Closing PR #10674 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936711</commentid>
    <comment_count>4</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2023-02-24 18:56:51 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10676</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936754</commentid>
    <comment_count>5</comment_count>
    <who name="Seija K.">gfunni234</who>
    <bug_when>2023-02-25 07:45:33 -0800</bug_when>
    <thetext>FYI: this happened because the original committer erroneously removed these lines:         
        [fontAttributes1 removeObjectForKey:NSFontVariationAttribute];
        [fontAttributes2 removeObjectForKey:NSFontVariationAttribute];</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936787</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-25 13:06:52 -0800</bug_when>
    <thetext>Committed 260841@main (6d701f331859): &lt;https://commits.webkit.org/260841@main&gt;

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

    </bug>

</bugzilla>