Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macOS Debug] Layout Test imported/w3c/web-platform-tests/IndexedDB/o…
…pen-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
- Loading branch information
Showing
20 changed files
with
78 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
LayoutTests/imported/w3c/web-platform-tests/IndexedDB/open-request-queue-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT Opens and deletes are processed in order Test timed out | ||
PASS Opens and deletes are processed in order | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
LayoutTests/storage/indexeddb/modern/deletedatabase-2-private.html
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
LayoutTests/storage/indexeddb/modern/deletedatabase-2.html
This file was deleted.
Oops, something went wrong.
147 changes: 0 additions & 147 deletions
147
LayoutTests/storage/indexeddb/modern/resources/deletedatabase-2.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.