summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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