Changeset 152410 in webkit


Ignore:
Timestamp:
Jul 5, 2013 1:41:34 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

TestWebKitFaviconDatabase/clear-database is not testing things properly
https://bugs.webkit.org/show_bug.cgi?id=118404

Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-07-05
Reviewed by Carlos Garcia Campos.

  • UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp:

(testClearDatabase): Check for an existing icon that can make the
test fail if clear database is not working.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r152407 r152410  
     12013-07-05  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        TestWebKitFaviconDatabase/clear-database is not testing things properly
     4        https://bugs.webkit.org/show_bug.cgi?id=118404
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp:
     9        (testClearDatabase): Check for an existing icon that can make the
     10        test fail if clear database is not working.
     11
    1122013-07-04  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp

    r144652 r152410  
    154154    webkit_favicon_database_clear(database);
    155155
    156     GOwnPtr<char> iconURI(webkit_favicon_database_get_favicon_uri(database, kServer->getURIForPath("/").data()));
     156    GOwnPtr<char> iconURI(webkit_favicon_database_get_favicon_uri(database, kServer->getURIForPath("/foo").data()));
    157157    g_assert(!iconURI);
    158158}
Note: See TracChangeset for help on using the changeset viewer.