Changeset 77343 in webkit


Ignore:
Timestamp:
Feb 1, 2011 5:31:28 PM (13 years ago)
Author:
Martin Robinson
Message:

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

Reviewed by Gustavo Noronha Silva.

[GTK] Two tests crash after r76555
https://bugs.webkit.org/show_bug.cgi?id=53057

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

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

Reviewed by Gustavo Noronha Silva.

[GTK] Two tests crash after r76555
https://bugs.webkit.org/show_bug.cgi?id=53057

Instead of creating synchronous ResourceHandles manually, use the ::create factory.
This ensures that ::start() is not called when there is a scheduled failure and also
reduces code duplication.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::loadResourceSynchronously): Use the ::create factory method.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r77333 r77343  
     12011-01-25  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Gustavo Noronha Silva.
     4
     5        [GTK] Two tests crash after r76555
     6        https://bugs.webkit.org/show_bug.cgi?id=53057
     7
     8        * platform/gtk/Skipped: Unskip tests which are no longer crashing.
     9
    1102011-02-01  chris reiss  <christopher.reiss@nokia.com>
    211
  • trunk/LayoutTests/platform/gtk/Skipped

    r77134 r77343  
    50875087media/unsupported-rtsp.html
    50885088
    5089 # These two crash after r76555.
    5090 # https://bugs.webkit.org/show_bug.cgi?id=53057
    5091 http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync.html
    5092 http/tests/xmlhttprequest/simple-cross-origin-denied-events.html
    5093 http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync.html
    5094 
    50955089# This media test fails; possibly because the AAC codec is not installed on the test bots:
    50965090# https://bugs.webkit.org/show_bug.cgi?id=53125
  • trunk/Source/WebCore/ChangeLog

    r77337 r77343  
     12011-01-25  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Gustavo Noronha Silva.
     4
     5        [GTK] Two tests crash after r76555
     6        https://bugs.webkit.org/show_bug.cgi?id=53057
     7
     8        Instead of creating synchronous ResourceHandles manually, use the ::create factory.
     9        This ensures that ::start() is not called when there is a scheduled failure and also
     10        reduces code duplication.
     11
     12        * platform/network/soup/ResourceHandleSoup.cpp:
     13        (WebCore::ResourceHandle::loadResourceSynchronously): Use the ::create factory method.
     14
    1152011-02-01  Martin Robinson  <mrobinson@igalia.com>
    216
  • trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

    r77061 r77343  
    790790{
    791791    WebCoreSynchronousLoader syncLoader(error, response, data);
    792     // FIXME: we should use the ResourceHandle::create method here,
    793     // but it makes us timeout in a couple of tests. See
    794     // https://bugs.webkit.org/show_bug.cgi?id=41823
    795     RefPtr<ResourceHandle> handle = adoptRef(new ResourceHandle(request, &syncLoader, false /*defersLoading*/, false /*shouldContentSniff*/));
    796     handle->start(context);
     792    RefPtr<ResourceHandle> handle = create(context, request, &syncLoader, false /*defersLoading*/, false /*shouldContentSniff*/);
     793    if (!handle)
     794        return;
    797795
    798796    // If the request has already failed, do not run the main loop, or else we'll block indefinitely.
Note: See TracChangeset for help on using the changeset viewer.