| Index: Source/modules/indexeddb/IDBObjectStore.cpp
|
| diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
|
| index 729becd6b56dba21e288e94b09522f49d628a803..00ffdbf043a6941116ec863014847a6d68ea0763 100644
|
| --- a/Source/modules/indexeddb/IDBObjectStore.cpp
|
| +++ b/Source/modules/indexeddb/IDBObjectStore.cpp
|
| @@ -604,10 +604,7 @@ IDBRequest* IDBObjectStore::openCursor(ScriptState* scriptState, const ScriptVal
|
| return nullptr;
|
| }
|
|
|
| - WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString, exceptionState);
|
| - if (exceptionState.hadException())
|
| - return nullptr;
|
| -
|
| + WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString);
|
| IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
|
| if (exceptionState.hadException())
|
| return nullptr;
|
| @@ -645,10 +642,7 @@ IDBRequest* IDBObjectStore::openKeyCursor(ScriptState* scriptState, const Script
|
| return nullptr;
|
| }
|
|
|
| - WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString, exceptionState);
|
| - if (exceptionState.hadException())
|
| - return nullptr;
|
| -
|
| + WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString);
|
| IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
|
| if (exceptionState.hadException())
|
| return nullptr;
|
|
|