Changeset 132493 in webkit


Ignore:
Timestamp:
Oct 25, 2012 9:28:48 AM (12 years ago)
Author:
dominik.rottsches@intel.com
Message:

Init timeout flag in ResourceErrorCF
https://bugs.webkit.org/show_bug.cgi?id=100349

Reviewed by Alexey Proskuryakov.

Initialize the timeout property to true if the network error was a timeout error.
This is a speculative fix for the XHR timeout test cases failing on Apple Win -
I can't verify this on a local machine.

No new tests, covered by
LayoutTests/http/tests/xmlhttprequest/timeout/*

  • platform/network/cf/ResourceErrorCF.cpp:

(WebCore::ResourceError::ResourceError): Init m_timeout from error code.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r132490 r132493  
     12012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
     2
     3        Init timeout flag in ResourceErrorCF
     4        https://bugs.webkit.org/show_bug.cgi?id=100349
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Initialize the timeout property to true if the network error was a timeout error.
     9        This is a speculative fix for the XHR timeout test cases failing on Apple Win -
     10        I can't verify this on a local machine.
     11
     12        No new tests, covered by
     13        LayoutTests/http/tests/xmlhttprequest/timeout/*
     14
     15        * platform/network/cf/ResourceErrorCF.cpp:
     16        (WebCore::ResourceError::ResourceError): Init m_timeout from error code.
     17
    1182012-10-25  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    219
  • trunk/Source/WebCore/platform/network/cf/ResourceErrorCF.cpp

    r131168 r132493  
    4646{
    4747    m_isNull = !cfError;
     48    if (!m_isNull)
     49        m_isTimeout = CFErrorGetCode(m_platformError.get()) == kCFURLErrorTimedOut;
    4850}
    4951
Note: See TracChangeset for help on using the changeset viewer.