<?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>103446</bug_id>
          
          <creation_ts>2012-11-27 12:18:13 -0800</creation_ts>
          <short_desc>Layout Test http/tests/canvas/canvas-slow-font-loading.html is failing</short_desc>
          <delta_ts>2012-12-03 01:21:57 -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>Tools / Tests</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="Robert Kroeger">rjkroege</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>d-r</cc>
    
    <cc>noel.gordon</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>777103</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Kroeger">rjkroege</who>
    <bug_when>2012-11-27 12:18:13 -0800</bug_when>
    <thetext>The following layout test is failing on Chromium SnowLeopard / Lion

http/tests/canvas/canvas-slow-font-loading.html

Perhaps caused by http://trac.webkit.org/browser/?rev=135888</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777105</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-11-27 12:20:00 -0800</bug_when>
    <thetext>Yes, I introduced this test in http://trac.webkit.org/changeset/135888. I&apos;ll take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777115</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-11-27 12:31:31 -0800</bug_when>
    <thetext>I checked the diff from:
http://build.webkit.org/results/Chromium%20Mac%20Release%20%28Tests%29/r135890%20%2829113%29/http/tests/canvas/canvas-slow-font-loading-diffs.html

The output is a green rectangle which means that the Ahem font was fully loaded when drawing. slow-ahem-loading.cgi was supposed to delay the font loading long enough so that the fallback font is used.

There are several possible explanations:
1. The Ahem font was cached in a previous test and the font does not need loading any more when canvas-slow-font-loading.html is run (At least some ports clear the cache between tests, I don&apos;t know about chromium).
2. The delay in slow-ahem-loading.cgi is not big enough, in which case the test would likely be flaky rather than consistently failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>777118</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-11-27 12:35:16 -0800</bug_when>
    <thetext>Is the test failing if run alone? If not, that would hint that my font caching assumption is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781165</commentid>
    <comment_count>4</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-12-02 23:26:36 -0800</bug_when>
    <thetext>Fails for me locally on chrome mac DRT when run alone.  Output image is a green rectangle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781171</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-12-02 23:31:55 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Fails for me locally on chrome mac DRT when run alone.  Output image is a green rectangle.

Does increasing the sleep value in slow-ahem-loading.cgi help?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781175</commentid>
    <comment_count>6</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-12-02 23:42:32 -0800</bug_when>
    <thetext>I increased it to 3 seconds, no joy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781176</commentid>
    <comment_count>7</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-12-02 23:45:56 -0800</bug_when>
    <thetext>Test is also failing on the mac wk1 bots.

http://build.webkit.org/builders/Apple%20Lion%20Debug%20WK1%20%28Tests%29/builds/4978/steps/layout-test/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>