зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1395868 - Fix the failure of idbcursor-continuePrimaryKey.htm. r=baku
This commit is contained in:
Родитель
01f833d455
Коммит
439bada5bc
|
@ -28458,9 +28458,11 @@ OpenOp::DoIndexDatabaseWork(DatabaseConnection* aConnection)
|
|||
openLimit;
|
||||
mCursor->mContinuePrimaryKeyQuery =
|
||||
queryStart +
|
||||
NS_LITERAL_CSTRING(" AND sort_column >= :current_key "
|
||||
"AND index_table.object_data_key >= :object_key "
|
||||
) +
|
||||
NS_LITERAL_CSTRING(" AND ("
|
||||
"(sort_column == :current_key AND "
|
||||
"index_table.object_data_key >= :object_key) OR "
|
||||
"sort_column > :current_key"
|
||||
")") +
|
||||
directionClause +
|
||||
openLimit;
|
||||
break;
|
||||
|
@ -28510,9 +28512,11 @@ OpenOp::DoIndexDatabaseWork(DatabaseConnection* aConnection)
|
|||
openLimit;
|
||||
mCursor->mContinuePrimaryKeyQuery =
|
||||
queryStart +
|
||||
NS_LITERAL_CSTRING(" AND sort_column <= :current_key "
|
||||
"AND index_table.object_data_key <= :object_key "
|
||||
) +
|
||||
NS_LITERAL_CSTRING(" AND ("
|
||||
"(sort_column == :current_key AND "
|
||||
"index_table.object_data_key <= :object_key) OR "
|
||||
"sort_column < :current_key"
|
||||
")") +
|
||||
directionClause +
|
||||
openLimit;
|
||||
break;
|
||||
|
@ -28692,9 +28696,11 @@ OpenOp::DoIndexKeyDatabaseWork(DatabaseConnection* aConnection)
|
|||
openLimit;
|
||||
mCursor->mContinuePrimaryKeyQuery =
|
||||
queryStart +
|
||||
NS_LITERAL_CSTRING(" AND sort_column >= :current_key "
|
||||
"AND object_data_key >= :object_key "
|
||||
) +
|
||||
NS_LITERAL_CSTRING(" AND ("
|
||||
"(sort_column == :current_key AND "
|
||||
"object_data_key >= :object_key) OR "
|
||||
"sort_column > :current_key"
|
||||
")") +
|
||||
directionClause +
|
||||
openLimit;
|
||||
break;
|
||||
|
@ -28744,9 +28750,11 @@ OpenOp::DoIndexKeyDatabaseWork(DatabaseConnection* aConnection)
|
|||
openLimit;
|
||||
mCursor->mContinuePrimaryKeyQuery =
|
||||
queryStart +
|
||||
NS_LITERAL_CSTRING(" AND sort_column <= :current_key "
|
||||
"AND object_data_key <= :object_key "
|
||||
) +
|
||||
NS_LITERAL_CSTRING(" AND ("
|
||||
"(sort_column == :current_key AND "
|
||||
"object_data_key <= :object_key) OR "
|
||||
"sort_column < :current_key"
|
||||
")") +
|
||||
directionClause +
|
||||
openLimit;
|
||||
break;
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[idbcursor-continuePrimaryKey.htm]
|
||||
type: testharness
|
||||
[IndexedDB: IDBCursor method continuePrimaryKey()]
|
||||
expected: FAIL
|
||||
|
Загрузка…
Ссылка в новой задаче