[Webkit-unassigned] [Bug 146550] New: build-webkit --no-indexed-database fails due to missing guards
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 2 09:58:50 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146550
Bug ID: 146550
Summary: build-webkit --no-indexed-database fails due to
missing guards
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P3
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emanuele.aina at collabora.com
At the moment IndexedDatabase is the only user of the DatabaseProcess, which means that the usefulness of enabling the latter without the former is very low. They are however protected by different guards, ENABLE(INDEXED_DATABASE) and ENABLE(DATABASE_PROCESS) respectively, while it is technically possible to end up in that situation it's likely that everyone either disable them both or enable them. In such a situation, inevitably the two guards grew intermingled, with different levels on consistency.
Unfortunately, turning off ENABLE(INDEXED_DATABASE) while keeping ENABLE(DATABASE_PROCESS) is exactly what WebKit ends up doing when specifying the --no-indexed-database flag on `build-webkit` invocation, leading to build failures like the one below:
$ Tools/Scripts/build-webkit --gtk --release --no-indexed-database
[...]
In file included from ../../Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp:27:0:
../../Source/WebKit2/DatabaseProcess/DatabaseProcess.h:56:70: error: âUniqueIDBDatabaseIdentifierâ does not name a type
PassRefPtr<UniqueIDBDatabase> getOrCreateUniqueIDBDatabase(const UniqueIDBDatabaseIdentifier&);
^
In file included from ../../Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp:27:0:
../../Source/WebKit2/DatabaseProcess/DatabaseProcess.h:90:98: error: âSecurityOriginDataâ was not declared in this scope
void deleteWebsiteDataForOrigins(WebCore::SessionID, uint64_t websiteDataTypes, const Vector<SecurityOriginData>& origins, uint64_t callbackID);
[...]
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150702/0fe225b3/attachment-0001.html>
More information about the webkit-unassigned
mailing list