Changeset 138782 in webkit


Ignore:
Timestamp:
Jan 4, 2013 1:03:55 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION (r138222?): Assertion failure on appcache/main-resource-redirect.html
https://bugs.webkit.org/show_bug.cgi?id=105591

Reviewed by Brady Eidson.

Source/WebCore:

Fixes crash in test http/tests/appcache/main-resource-redirect.html.

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::willSendRequest): In case of loading
substitute data from application cache host due to a redirect,
make sure the substitute data identifier is initialized.

LayoutTests:

Unskip http/tests/appcache/main-resource-redirect.html.

  • platform/efl-wk2/TestExpectations:
  • platform/mac/TestExpectations:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r138778 r138782  
     12013-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION (r138222?): Assertion failure on appcache/main-resource-redirect.html
     4        https://bugs.webkit.org/show_bug.cgi?id=105591
     5
     6        Reviewed by Brady Eidson.
     7
     8        Unskip http/tests/appcache/main-resource-redirect.html.
     9
     10        * platform/efl-wk2/TestExpectations:
     11        * platform/mac/TestExpectations:
     12
    1132013-01-03  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/LayoutTests/platform/efl-wk2/TestExpectations

    r138608 r138782  
    5959webkit.org/b/102651 [ Debug ] networkinformation/add-listener-from-callback.html [ Crash ]
    6060webkit.org/b/102651 [ Debug ] networkinformation/basic-operation.html [ Crash ]
    61 
    62 # ResourceClient is passed an invalid identifier value (0).
    63 webkit.org/b/105788 [ Debug ] http/tests/appcache/main-resource-redirect.html [ Crash ]
    6461
    6562#////////////////////////////////////////////////////////////////////////////////////////
  • trunk/LayoutTests/platform/mac/TestExpectations

    r138778 r138782  
    12571257webkit.org/b/104848 fast/frames/sandboxed-iframe-parsing-space-characters.html [ Failure Pass ]
    12581258
    1259 # ap is looking into this crash.
    1260 Bug(rniwa) http/tests/appcache/main-resource-redirect.html [ Crash ]
    1261 
    12621259webkit.org/b/105601 svg/zoom/page/zoom-replaced-intrinsic-ratio-001.htm [ Crash Pass ]
    12631260
  • trunk/Source/WebCore/ChangeLog

    r138770 r138782  
     12013-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION (r138222?): Assertion failure on appcache/main-resource-redirect.html
     4        https://bugs.webkit.org/show_bug.cgi?id=105591
     5
     6        Reviewed by Brady Eidson.
     7
     8        Fixes crash in test http/tests/appcache/main-resource-redirect.html.
     9
     10        * loader/MainResourceLoader.cpp:
     11        (WebCore::MainResourceLoader::willSendRequest): In case of loading
     12        substitute data from application cache host due to a redirect,
     13        make sure the substitute data identifier is initialized.
     14
    1152013-01-03  Tony Chang  <tony@chromium.org>
    216
  • trunk/Source/WebCore/loader/MainResourceLoader.cpp

    r138285 r138782  
    270270        ASSERT(!m_substituteData.isValid());
    271271        documentLoader()->applicationCacheHost()->maybeLoadMainResourceForRedirect(newRequest, m_substituteData);
     272        if (m_substituteData.isValid())
     273            m_substituteDataLoadIdentifier = identifier();
    272274    }
    273275
Note: See TracChangeset for help on using the changeset viewer.