<?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>104954</bug_id>
          
          <creation_ts>2012-12-13 14:31:00 -0800</creation_ts>
          <short_desc>http/tests/canvas/canvas-slow-font-loading.html fails on Mac</short_desc>
          <delta_ts>2015-02-24 03:57:50 -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>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>cdumez</cc>
    
    <cc>kenneth</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>790936</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-12-13 14:31:00 -0800</bug_when>
    <thetext>http/tests/canvas/canvas-slow-font-loading.html is failing on the Mac bots, and probably has been failing since it was added with http://trac.webkit.org/changeset/135888

It seems to pass in-browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>790951</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-12-13 14:41:51 -0800</bug_when>
    <thetext>Skipped for now with http://trac.webkit.org/changeset/137656</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1071613</commentid>
    <comment_count>2</comment_count>
      <attachid>247219</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-02-24 03:57:50 -0800</bug_when>
    <thetext>Created attachment 247219
Fixes the test, but ...

This patch fixes the test, but I&apos;m not sure if it&apos;s correct.

- I think the test is failing because there is a built-in &quot;Ahem&quot; font that&apos;s loaded in DRT/WKTR, and I assume that built-in font will be preferred over a WebFont with the same name, so it always loads fast.  If that is correct, the test shouldn&apos;t be using &quot;Ahem&quot; for the name of the WebFont.

- If I change the name of the WebFont to &quot;AhemSlow&quot;, the test passes, but I&apos;m not sure if that&apos;s because it&apos;s doing the right thing, or whether the AhemSlow font isn&apos;t loading because the internal name of Ahem.ttf doesn&apos;t match &quot;AhemSlow&quot;.  Commenting out the &quot;sleep(1)&quot; command in the CGI script doesn&apos;t seem to change the results of the test, but maybe that&apos;s just an extra precaution.  (In other words, can you give an arbitrary name to any *.ttf file loaded as a WebFont, regardless of its PostScript name?)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>247219</attachid>
            <date>2015-02-24 03:57:50 -0800</date>
            <delta_ts>2015-02-24 03:57:50 -0800</delta_ts>
            <desc>Fixes the test, but ...</desc>
            <filename>bug-104954-possible-fix.diff</filename>
            <type>text/plain</type>
            <size>845</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL2h0dHAvdGVzdHMvY2FudmFzL2NhbnZhcy1zbG93LWZv
bnQtbG9hZGluZy5odG1sIGIvTGF5b3V0VGVzdHMvaHR0cC90ZXN0cy9jYW52YXMvY2FudmFzLXNs
b3ctZm9udC1sb2FkaW5nLmh0bWwKaW5kZXggYzUyNmMyOC4uM2NlNzE0NiAxMDA2NDQKLS0tIGEv
TGF5b3V0V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