Changeset 63346 in webkit


Ignore:
Timestamp:
Jul 14, 2010 12:45:06 PM (14 years ago)
Author:
Adam Roben
Message:

Make urlSuitableForTestResult work for http: URLs, too

Fixes <http://webkit.org/b/42276>
http/tests/loading/preload-slow-loading.php and
http/tests/mime/uppercase-mime-type.html fail on Windows.

Reviewed by Darin Adler.

  • DumpRenderTree/win/DumpRenderTree.cpp:

(urlSuitableForTestResult): Don't bail if the URL starts with http://.
We want this function to work for those URLs, too!

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r63276 r63346  
     12010-07-14  Adam Roben  <aroben@apple.com>
     2
     3        Make urlSuitableForTestResult work for http: URLs, too
     4
     5        Fixes <http://webkit.org/b/42276>
     6        http/tests/loading/preload-slow-loading.php and
     7        http/tests/mime/uppercase-mime-type.html fail on Windows.
     8
     9        Reviewed by Darin Adler.
     10
     11        * DumpRenderTree/win/DumpRenderTree.cpp:
     12        (urlSuitableForTestResult): Don't bail if the URL starts with http://.
     13        We want this function to work for those URLs, too!
     14
    1152010-07-13  Maciej Stachowiak  <mjs@apple.com>
    216
  • trunk/WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp

    r61324 r63346  
    135135wstring urlSuitableForTestResult(const wstring& url)
    136136{
    137     if (!url.c_str() || url.find(L"file://") == wstring::npos)
     137    if (!url.c_str() || (url.find(L"file://") == wstring::npos && url.find(L"http://") == wstring::npos))
    138138        return url;
    139139
Note: See TracChangeset for help on using the changeset viewer.