<?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>100349</bug_id>
          
          <creation_ts>2012-10-25 01:24:26 -0700</creation_ts>
          <short_desc>Init timeout flag in ResourceErrorCF</short_desc>
          <delta_ts>2012-11-14 19:49:44 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>102271</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>100509</dependson>
          <blocked>98397</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominik Röttsches (drott)">d-r</reporter>
          <assigned_to name="Dominik Röttsches (drott)">d-r</assigned_to>
          <cc>ap</cc>
    
    <cc>roger_fong</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>750533</commentid>
    <comment_count>0</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 01:24:26 -0700</bug_when>
    <thetext>Similar to bug 99478, we&apos;d need to initialize the timeout flag from the CFError in order for XHR timeouts to work (Bug 74802).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750540</commentid>
    <comment_count>1</comment_count>
      <attachid>170583</attachid>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 01:27:44 -0700</bug_when>
    <thetext>Created attachment 170583
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750541</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 01:30:29 -0700</bug_when>
    <thetext>Roger, do you have an Apple Win build where you could test this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750542</commentid>
    <comment_count>3</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 01:32:04 -0700</bug_when>
    <thetext>This should fix the failures on the Apple Win 7 Release bot for the following test cases:
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-aborted.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overridesexpires.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-simple.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-twice.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-aborted.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overridesexpires.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-simple.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-synconworker.html
http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-twice.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750811</commentid>
    <comment_count>4</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 07:40:59 -0700</bug_when>
    <thetext>Alternatively, can we commit this experimentally and see whether the tests then pass on the bot?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750898</commentid>
    <comment_count>5</comment_count>
      <attachid>170583</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-25 09:09:48 -0700</bug_when>
    <thetext>Comment on attachment 170583
Patch

&gt; Alternatively, can we commit this experimentally and see whether the tests then pass on the bot?

I think that we should.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750917</commentid>
    <comment_count>6</comment_count>
      <attachid>170583</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-25 09:29:01 -0700</bug_when>
    <thetext>Comment on attachment 170583
Patch

Clearing flags on attachment: 170583

Committed r132493: &lt;http://trac.webkit.org/changeset/132493&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750918</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-25 09:29:05 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750989</commentid>
    <comment_count>8</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-25 10:37:59 -0700</bug_when>
    <thetext>Looks like it didn&apos;t quite cut it, but there&apos;s some hiccup with the buildmaster, let&apos;s have a look later again:
http://build.webkit.org/builders/Apple%20Win%207%20Release%20%28Tests%29/builds/29256</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750996</commentid>
    <comment_count>9</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-10-25 10:44:54 -0700</bug_when>
    <thetext>Ah, sorry, I do have a windows build. I&apos;ll test it out there as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751098</commentid>
    <comment_count>10</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-10-25 12:12:16 -0700</bug_when>
    <thetext>still broken, is there a feature define I need to enable?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751925</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-26 05:21:47 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 100509</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751932</commentid>
    <comment_count>12</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-26 05:26:27 -0700</bug_when>
    <thetext>Experimental fix rolled out in r132630.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751950</commentid>
    <comment_count>13</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-26 05:57:11 -0700</bug_when>
    <thetext>Skipped for Win in r132638.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751951</commentid>
    <comment_count>14</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-10-26 05:59:32 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; still broken, is there a feature define I need to enable?

There wasn&apos;t, but now there is, cmp.
http://trac.webkit.org/changeset/132513

I currently have no build to test or work on this. If you&apos;d like to take a look, the issue most like is just about checking what error code is CFNetworking is returning and then intializing the ResourceErrorBase&apos;s m_isTimeout to true, similar to the patch I tried.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>767489</commentid>
    <comment_count>15</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2012-11-14 17:02:50 -0800</bug_when>
    <thetext>See also Bug 102271.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>767638</commentid>
    <comment_count>16</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-11-14 19:49:44 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 102271 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>170583</attachid>
            <date>2012-10-25 01:27:44 -0700</date>
            <delta_ts>2012-10-25 09:29:01 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-100349-20121025112939.patch</filename>
            <type>text/plain</type>
            <size>1641</size>
            <attacher name="Dominik Röttsches (drott)">d-r</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMyNDU3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9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