haikuwebkit/LayoutTests/storage/indexeddb/modern/resources
Sihui Liu f40bc11923 [macOS Debug] Layout Test imported/w3c/web-platform-tests/IndexedDB/open-request-queue.html is a flaky timeout.
https://bugs.webkit.org/show_bug.cgi?id=172044

Reviewed by Chris Dumez.

LayoutTests/imported/w3c:

* web-platform-tests/IndexedDB/open-request-queue-expected.txt:

Source/WebCore:

We used to start handling delete request when there is still open request in flight. We should start a request
after previous requests are done, to match spec (https://www.w3.org/TR/IndexedDB/#delete-a-database) and other
browsers' behavior.

Updated and rebaselined existing tests.

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::handleDatabaseOperations):
(WebCore::IDBServer::UniqueIDBDatabase::startVersionChangeTransaction):

LayoutTests:

* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/TestExpectations:
* storage/indexeddb/delete-in-upgradeneeded-close-in-open-success-expected.txt:
* storage/indexeddb/delete-in-upgradeneeded-close-in-open-success-private-expected.txt:
* storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange-expected.txt:
* storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange-private-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-private-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt:
* storage/indexeddb/intversion-long-queue-expected.txt:
* storage/indexeddb/intversion-long-queue-private-expected.txt:
* storage/indexeddb/modern/deletedatabase-2-private.html: Removed. This test checks if a delete request is
started when there are ongoing open requests. We are removing this behavior to match spec so we don't need to
keep the test.
* storage/indexeddb/modern/deletedatabase-2.html: Removed. Ditto.
* storage/indexeddb/modern/resources/deletedatabase-2.js: Removed. Ditto.
* storage/indexeddb/resources/delete-in-upgradeneeded-close-in-open-success.js:
(versionChangeCallback):
(deleteBlockedCallback):
* storage/indexeddb/resources/delete-in-upgradeneeded-close-in-versionchange.js:
(initiallyDeleted):
* storage/indexeddb/resources/deletedatabase-delayed-by-open-and-versionchange.js:
(onOpenSuccess):


Canonical link: https://commits.webkit.org/239871@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-22 16:49:58 +00:00
..
256-open-databases.js
abort-index-info.js
abort-objectstore-info.js
abort-requests-cancelled.js
aborted-put.js
autoincrement-abort.js
basic-add.js
basic-put.js
binary-keys-1.js
blob-cursor.js
blob-cursor1.html
blob-cursor2.html
blob-simple-workers.js
blob-simple.js
blob-svg-image.js
blob-svg-image1.html
blob-svg-image2.html
blocked-open-db-requests.js
create-index-failures.js
createobjectstore-basic.js
createobjectstore-failures.js
cursor-1.js
cursor-2.js
cursor-3.js
cursor-4.js
cursor-5.js
cursor-6.js
cursor-7.js
cursor-8.js
date-basic.js
deletedatabase-1.js
deletedatabase-null-name-exception.js
deletedatabase-request-event.js
deletedatabase-request.js
deleteindex-1.js
deleteindex-2.js
deleteindex-3.js
deleteindex-4.js
deleteobjectstore-1.js
double-abort.js
double-open.js
exceed-open-file-limit.js
gc-closes-database.js
get-index-failures.js
get-keyrange.js
handle-user-delete.js
idbcursor-continue-primary-key-1.js
idbdatabase-deleteobjectstore-failures.js
idbdatabase-transaction-failures.js
idbindex-getall-1.js
idbindex-getallkeys-1.js
idbindex-properties-basic.js
idbkey-array-equality.js
idbobjectstore-clear-1.js
idbobjectstore-clear-2.js
idbobjectstore-count-1.js
idbobjectstore-count-failures.js
idbobjectstore-delete-1.js
idbobjectstore-delete-2.js
idbobjectstore-delete-failures.js
idbobjectstore-get-failures.js
idbobjectstore-getall-1.js
idbobjectstore-getallkeys-1.js
idbobjectstore-getkey-1.js
idbobjectstore-put-and-clear-failures.js
idbtransaction-objectstore-failures.js
idbtransaction-objectstores-1.js
index-1.js
index-2.js
index-3.js
index-4.js
index-5.js
index-cursor-1.js
index-cursor-2.js
index-cursor-3.js
index-get-count-basic.js
index-get-count-failures.js
index-rename-1.js
keypath-basic.js
leak-1.js
memory-index-not-deleted-with-objectstore.js
multiple-objectstore-index-cursor-collision.js
new-database-after-user-delete.js
objectstore-attributes.js
objectstore-autoincrement-types.js
objectstore-cursor-advance-failures.js
objectstore-cursor-continue-failures.js
objectstore-rename-1.js
opencursor-failures.js
opendatabase-request-event.js
opendatabase-request.js
opendatabase-success-after-versionchange.js
opendatabase-versions.js
request-readystate.js
single-entry-index-invalid-key-crash.js
transaction-scheduler-1.js
transaction-scheduler-2.js
transaction-scheduler-3.js
transaction-scheduler-4.js
transaction-scheduler-5.js
transaction-scheduler-6.js
transactions-stop-on-navigation-2.html
transactions-stop-on-navigation.js
versionchange-abort-then-reopen.js
versionchange-event.js
worker-getall.js
worker-transaction-open-after-worker-stop.js
workers-enable.js