summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-02-03 18:23:54 +0000
committerSteve Block <steveblock@google.com>2010-02-03 18:29:44 +0000
commitd7a7a76b919b1d8bdca7fe04a45594c3bccb1dde (patch)
treeba1ff7791644b7ca32a302a52c887ac9673f9a55 /WebCore
parent22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c (diff)
downloadexternal_webkit-d7a7a76b919b1d8bdca7fe04a45594c3bccb1dde.zip
external_webkit-d7a7a76b919b1d8bdca7fe04a45594c3bccb1dde.tar.gz
external_webkit-d7a7a76b919b1d8bdca7fe04a45594c3bccb1dde.tar.bz2
Enable database and appcache for V8
These have been disabled due to the new runtime feature enabler flags in the V8 bindings. See http://trac.webkit.org/changeset/49989 and http://trac.webkit.org/changeset/50534 Change-Id: I7fb78dcaa3235cd87af1aebed4d767e81dfc48e2
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/bindings/v8/RuntimeEnabledFeatures.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/WebCore/bindings/v8/RuntimeEnabledFeatures.cpp b/WebCore/bindings/v8/RuntimeEnabledFeatures.cpp
index cf97b5b..b750836 100644
--- a/WebCore/bindings/v8/RuntimeEnabledFeatures.cpp
+++ b/WebCore/bindings/v8/RuntimeEnabledFeatures.cpp
@@ -33,10 +33,16 @@
namespace WebCore {
-bool RuntimeEnabledFeatures::isDatabaseEnabled = false;
+#if PLATFORM(ANDROID)
+// This should default to true, to match the behavior with JSC
+bool RuntimeEnabledFeatures::isDatabaseEnabled = true;
+#endif
bool RuntimeEnabledFeatures::isLocalStorageEnabled = true;
bool RuntimeEnabledFeatures::isSessionStorageEnabled = true;
-bool RuntimeEnabledFeatures::isNotificationsEnabled = false;
-bool RuntimeEnabledFeatures::isApplicationCacheEnabled = false;
+#if PLATFORM(ANDROID)
+// These should default to true, to match the behavior with JSC
+bool RuntimeEnabledFeatures::isNotificationsEnabled = true;
+bool RuntimeEnabledFeatures::isApplicationCacheEnabled = true;
+#endif
} // namespace WebCore