Bug 1395868 - Fix the failure of idbcursor-continuePrimaryKey.htm. r=baku

This commit is contained in:
Bevis Tseng 2017-09-01 16:45:58 +08:00
Родитель 01f833d455
Коммит 439bada5bc
2 изменённых файлов: 20 добавлений и 17 удалений

Просмотреть файл

@ -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