RESOLVED FIXED Bug 68767
Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
https://bugs.webkit.org/show_bug.cgi?id=68767
Summary Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
Adam Barth
Reported 2011-09-24 15:24:10 PDT
Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
Attachments
Patch (130.45 KB, patch)
2011-09-24 15:25 PDT, Adam Barth
no flags
Patch (130.29 KB, patch)
2011-09-24 15:57 PDT, Adam Barth
no flags
Patch (130.38 KB, patch)
2011-09-24 16:47 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2011-09-24 15:25:38 PDT
WebKit Review Bot
Comment 2 2011-09-24 15:52:31 PDT
Comment on attachment 108591 [details] Patch Attachment 108591 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9842415
Adam Barth
Comment 3 2011-09-24 15:57:26 PDT
Gyuyoung Kim
Comment 4 2011-09-24 16:38:05 PDT
Adam Barth
Comment 5 2011-09-24 16:47:42 PDT
Adam Barth
Comment 6 2011-09-24 23:03:50 PDT
Csaba Osztrogonác
Comment 7 2011-09-26 09:12:04 PDT
(In reply to comment #6) > Committed r95919: <http://trac.webkit.org/changeset/95919> It broke all ENABLE_SQL_DATABASE=0 build, for example Qt Linux Release minimal core builder bot: http://build.webkit.org/builders/Qt%20Linux%20Release%20minimal/builds/33061 I think after this patch we should remove ENABLE_SQL_DATABASE guards too.
Csaba Osztrogonác
Comment 8 2011-09-26 09:12:20 PDT
Comment on attachment 108594 [details] Patch landed patch
Adam Barth
Comment 9 2011-09-26 11:57:53 PDT
> I think after this patch we should remove ENABLE_SQL_DATABASE guards too. We probably should narrow the scope of that enable. It looks like we need SQLiteStatement and friends, but we still want folks to be able to turn off the SQL database web API. That's something of a dead-end API that folks might not wish to ship.
Csaba Osztrogonác
Comment 10 2011-09-26 14:06:23 PDT
Reopen until a proper fix.
Csaba Osztrogonác
Comment 11 2011-09-27 06:19:46 PDT
(In reply to comment #9) > > I think after this patch we should remove ENABLE_SQL_DATABASE guards too. > > We probably should narrow the scope of that enable. It looks like we need SQLiteStatement and friends, but we still want folks to be able to turn off the SQL database web API. That's something of a dead-end API that folks might not wish to ship. I don't understand what do you think. You made OFFLINE_WEB_APPLICATIONS always enabled. And application cache need SQL. How would you like to make OFFLINE_WEB_APPLICATIONS work without SQL?
Adam Barth
Comment 12 2011-09-27 09:28:38 PDT
> I don't understand what do you think. You made OFFLINE_WEB_APPLICATIONS always enabled. And application cache need SQL. How would you like to make OFFLINE_WEB_APPLICATIONS work without SQL? ENABLE_SQL_DATABASE isn't really about enabling the SQLite library. That's something like USE(SQLITE) or something. ENABLE_SQL_DATABASE is about enabling or disabling the WebSQLDatabase API. Your approach in Bug 68902 is great.
Ryosuke Niwa
Comment 13 2011-12-03 10:17:47 PST
It appears that ApplicationCacheStorage can't be built without sqlite; or at least it won't be useful. It's really undesirable to require sqlite in order to build WebKit.
Adam Barth
Comment 14 2011-12-03 10:19:02 PST
> It's really undesirable to require sqlite in order to build WebKit. Why? As far as I can tell, everyone builds with SQLite anyway.
Ryosuke Niwa
Comment 15 2011-12-03 10:20:12 PST
(In reply to comment #14) > > It's really undesirable to require sqlite in order to build WebKit. > > Why? As far as I can tell, everyone builds with SQLite anyway. For embedding purposes, not everyone can afford to ship with SQLite.
Adam Barth
Comment 16 2011-12-03 10:26:48 PST
I'm inclined to wait for someone who's working on an embedded browser to make that argument. At the moment, your concern sounds more theoretical than a real problem you're facing.
Ryosuke Niwa
Comment 17 2011-12-03 10:29:09 PST
(In reply to comment #16) > I'm inclined to wait for someone who's working on an embedded browser to make that argument. At the moment, your concern sounds more theoretical than a real problem you're facing. I know someone porting WebKit to a non-UNIX operating system, and he's facing this problem since SQLite hasn't been ported to his operating system yet.
Note You need to log in before you can comment on or make changes to this bug.