Bug 181251 - [GTK] API test /webkit2/WebKitWebsiteData/databases is failing, database data not cleared successfully
Summary: [GTK] API test /webkit2/WebKitWebsiteData/databases is failing, database data...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 10:19 PST by Michael Catanzaro
Modified: 2018-07-27 12:15 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2018-01-03 10:19:46 PST
API test /webkit2/WebKitWebsiteData/databases is broken:

ERROR:/home/slave/webkitgtk/gtk-linux-64-release/build/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:469:void testWebsiteDataDatabases(WebsiteDataTest*, gconstpointer): assertion failed: (!dataList)

The test deletes all website data of type WEBKIT_WEBSITE_DATA_WEBSQL_DATABASES or WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES, then verifies that no website data of those types can be fetched. The delete operation is either failing, or not completing synchronously before the fetch operation.

If you fix this, please unskip the test.
Comment 1 Michael Catanzaro 2018-01-03 10:21:10 PST
Committed r226365: <https://trac.webkit.org/changeset/226365>
Comment 2 Michael Catanzaro 2018-01-03 10:21:21 PST
Reopening.
Comment 3 Michael Catanzaro 2018-07-27 12:15:29 PDT
This has been passing recently.