⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 202913 in webkit


Ignore:
Timestamp:
Jul 7, 2016, 10:19:56 AM (10 years ago)
Author:
pvollan@apple.com
Message:

[Win] The test http/tests/loading/main-resource-delegates-on-back-navigation.html is failing.
https://bugs.webkit.org/show_bug.cgi?id=159509

Reviewed by Alex Christensen.

We should always insert the url in the url map when identifierForInitialRequest
is called. Otherwise we can end up with identifiers not having an entry in the
url map when urls are written to the test output file.

  • DumpRenderTree/win/ResourceLoadDelegate.cpp:

(ResourceLoadDelegate::identifierForInitialRequest):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r202889 r202913  
     12016-07-07  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] The test http/tests/loading/main-resource-delegates-on-back-navigation.html is failing.
     4        https://bugs.webkit.org/show_bug.cgi?id=159509
     5
     6        Reviewed by Alex Christensen.
     7
     8        We should always insert the url in the url map when identifierForInitialRequest
     9        is called. Otherwise we can end up with identifiers not having an entry in the
     10        url map when urls are written to the test output file.
     11
     12        * DumpRenderTree/win/ResourceLoadDelegate.cpp:
     13        (ResourceLoadDelegate::identifierForInitialRequest):
     14
    1152016-07-06  Tim Horton  <timothy_horton@apple.com>
    216
  • trunk/Tools/DumpRenderTree/win/ResourceLoadDelegate.cpp

    r188709 r202913  
    200200    _In_opt_ IWebDataSource* dataSource, unsigned long identifier)
    201201{
    202     if (!done && gTestRunner->dumpResourceLoadCallbacks()) {
    203         _bstr_t urlStr;
    204         if (FAILED(request->URL(&urlStr.GetBSTR())))
    205             return E_FAIL;
    206 
    207         ASSERT(!urlMap().contains(identifier));
    208         urlMap().set(identifier, wstringFromBSTR(urlStr));
    209     }
     202    _bstr_t urlStr;
     203    if (FAILED(request->URL(&urlStr.GetBSTR())))
     204        return E_FAIL;
     205
     206    ASSERT(!urlMap().contains(identifier));
     207    urlMap().set(identifier, wstringFromBSTR(urlStr));
    210208
    211209    return S_OK;
Note: See TracChangeset for help on using the changeset viewer.