Index: Source/modules/indexeddb/IDBKeyRange.cpp |
diff --git a/Source/modules/indexeddb/IDBKeyRange.cpp b/Source/modules/indexeddb/IDBKeyRange.cpp |
index c61470e1d41c83e3fca8a76f94ade4ec70c694e1..a89ee7c4c02b0d1bffde5a5bbbe7ec6952a85222 100644 |
--- a/Source/modules/indexeddb/IDBKeyRange.cpp |
+++ b/Source/modules/indexeddb/IDBKeyRange.cpp |
@@ -35,7 +35,7 @@ namespace blink { |
IDBKeyRange* IDBKeyRange::fromScriptValue(ExecutionContext* context, const ScriptValue& value, ExceptionState& exceptionState) |
{ |
- if (value.isUndefined() || value.isNull()) |
+ if (value.isEmpty() || value.isUndefined() || value.isNull()) |
return 0; |
IDBKeyRange* range = scriptValueToIDBKeyRange(toIsolate(context), value); |