Index: WebCore/workers/WorkerContext.idl |
=================================================================== |
--- WebCore/workers/WorkerContext.idl (revision 55036) |
+++ WebCore/workers/WorkerContext.idl (working copy) |
@@ -49,7 +49,10 @@ |
// WorkerUtils |
[Custom] void importScripts(/*[Variadic] in DOMString urls */); |
attribute [Replaceable] WorkerNavigator navigator; |
- // Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize); |
+#if defined(ENABLE_DATABASE) && ENABLE_DATABASE |
+ [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize) |
+ raises(DOMException); |
+#endif |
// DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize); |
// Timers |