| Summary: | ASSERTION FAILED: "currentPageSize || !m_db" in fast/workers/storage/use-same-database-in-page-and-workers.html | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | WebCore Misc. | Assignee: | Mark Lam <mark.lam> |
| Status: | ASSIGNED --- | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Mark Lam
2014-04-24 14:21:05 PDT
This test was removed in below comment in 2015 - https://github.com/WebKit/WebKit/commit/1b267949c79a5f6f2ee6b1550c9673c2fb698139 Although we still have this ASSERT: https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/platform/sql/SQLiteDatabase.cpp#363 void SQLiteDatabase::setMaximumSize(int64_t size) { if (size < 0) size = 0; int currentPageSize = pageSize(); ASSERT(currentPageSize || !m_db); int64_t newMaxPageCount = currentPageSize ? size / currentPageSize : 0; Locker locker { m_authorizerLock }; enableAuthorizer(false); auto statement = prepareStatementSlow(makeString("PRAGMA max_page_count = ", newMaxPageCount)); if (!statement || statement->step() != SQLITE_ROW) LOG_ERROR("Failed to set maximum size of database to %lli bytes", static_cast<long long>(size)); enableAuthorizer(true); } |