summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp b/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp
index 2e20e82..5ef50a6 100644
--- a/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp
@@ -36,6 +36,8 @@
#include "SerializedScriptValue.h"
#include "V8IDBDatabaseRequest.h"
+#include "V8IDBIndexRequest.h"
+#include "V8IDBObjectStoreRequest.h"
#include "V8IndexedDatabaseRequest.h"
namespace WebCore {
@@ -48,8 +50,14 @@ v8::Handle<v8::Value> toV8(IDBAny* impl)
switch (impl->type()) {
case IDBAny::UndefinedType:
return v8::Undefined();
+ case IDBAny::NullType:
+ return v8::Null();
case IDBAny::IDBDatabaseRequestType:
return toV8(impl->idbDatabaseRequest());
+ case IDBAny::IDBIndexRequestType:
+ return toV8(impl->idbIndexRequest());
+ case IDBAny::IDBObjectStoreRequestType:
+ return toV8(impl->idbObjectStoreRequest());
case IDBAny::IndexedDatabaseRequestType:
return toV8(impl->indexedDatabaseRequest());
case IDBAny::SerializedScriptValueType: