summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/IDBBindingUtilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/IDBBindingUtilities.cpp')
-rw-r--r--WebCore/bindings/v8/IDBBindingUtilities.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/IDBBindingUtilities.cpp b/WebCore/bindings/v8/IDBBindingUtilities.cpp
index 123b15c..644e2d2 100644
--- a/WebCore/bindings/v8/IDBBindingUtilities.cpp
+++ b/WebCore/bindings/v8/IDBBindingUtilities.cpp
@@ -45,7 +45,8 @@ PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value> value)
return IDBKey::create(value->Int32Value());
if (value->IsString())
return IDBKey::create(v8ValueToWebCoreString(value));
- // FIXME: Implement dates.
+ if (value->IsDate())
+ return 0; // Signals type error. FIXME: Implement dates.
return 0; // Signals type error.
}