Changeset 76555 in webkit


Ignore:
Timestamp:
Jan 24, 2011 4:47:18 PM (13 years ago)
Author:
Martin Robinson
Message:

2011-01-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] Many DOM XHTML tests time out
https://bugs.webkit.org/show_bug.cgi?id=52553

  • platform/gtk/Skipped: Unskip tests which are no longer timing out.

2011-01-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] Many DOM XHTML tests time out
https://bugs.webkit.org/show_bug.cgi?id=52553

Properly handle the situation where a synchronous load fails before the inner
event loop has started. In this case, we simply do not run the inner event loop,
or else it will block indefinitely (since no GIO or libsoup callbacks will fire).

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::loadResourceSynchronously): Bail out of a synchronous load if it fails up front.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r76552 r76555  
     12011-01-24  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [GTK] Many DOM XHTML tests time out
     6        https://bugs.webkit.org/show_bug.cgi?id=52553
     7
     8        * platform/gtk/Skipped: Unskip tests which are no longer timing out.
     9
    1102011-01-24  Ryosuke Niwa  <rniwa@webkit.org>
    211
  • trunk/LayoutTests/platform/gtk/Skipped

    r76490 r76555  
    3131# The group of tests below are timing out. As we go through them
    3232# and get more detailed information, we should attach bugs to them.
    33 dom/xhtml/level3/core/entitygetinputencoding03.xhtml
    34 dom/xhtml/level3/core/entitygetinputencoding04.xhtml
    35 dom/xhtml/level3/core/entitygetxmlencoding02.xhtml
    36 dom/xhtml/level3/core/entitygetxmlencoding03.xhtml
    37 dom/xhtml/level3/core/entitygetxmlencoding04.xhtml
    38 dom/xhtml/level3/core/entitygetxmlversion03.xhtml
    39 dom/xhtml/level3/core/entitygetxmlversion04.xhtml
    40 dom/xhtml/level3/core/nodegetbaseuri16.xhtml
    41 dom/xhtml/level3/core/nodegetbaseuri19.xhtml
    42 dom/xhtml/level3/core/nodegetbaseuri20.xhtml
    43 http/tests/xmlhttprequest/XMLHttpRequestException.html
    44 http/tests/xmlhttprequest/connection-error-sync.html
    4533fast/xmlhttprequest/null-document-xmlhttprequest-open.html
    46 http/tests/misc/favicon-as-image.html
    47 media/unsupported-rtsp.html
    48 security/autocomplete-cleared-on-back.html
    49 http/tests/security/frameNavigation/cross-origin-opener.html
    5034
    5135# Intermittently timing out on Gtk Debug Bot:
  • trunk/Source/WebCore/ChangeLog

    r76549 r76555  
     12011-01-24  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [GTK] Many DOM XHTML tests time out
     6        https://bugs.webkit.org/show_bug.cgi?id=52553
     7
     8        Properly handle the situation where a synchronous load fails before the inner
     9        event loop has started. In this case, we simply do not run the inner event loop,
     10        or else it will block indefinitely (since no GIO or libsoup callbacks will fire).
     11
     12        * platform/network/soup/ResourceHandleSoup.cpp:
     13        (WebCore::ResourceHandle::loadResourceSynchronously): Bail out of a synchronous
     14        load if it fails up front.
     15
    1162011-01-24  Zhenyao Mo  <zmo@google.com>
    217
  • trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

    r76498 r76555  
    802802    handle->start(context);
    803803
     804    // If the request has already failed, do not run the main loop, or else we'll block indefinitely.
     805    if (handle->d->m_scheduledFailureType != NoFailure)
     806        return;
     807
    804808    syncLoader.run();
    805809}
Note: See TracChangeset for help on using the changeset viewer.