IndexedDB: setVersion test conversion batch 6
authordgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2012 21:34:44 +0000 (21:34 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2012 21:34:44 +0000 (21:34 +0000)
commit0939f92b88cb1c5b9a426dfff65708f00e01a864
tree8664f8ce3206c061b4a06b30b1417ebc34025995
parent292e7607ff1eebf378987d893c97bae252e40883
IndexedDB: setVersion test conversion batch 6
https://bugs.webkit.org/show_bug.cgi?id=102318

Reviewed by Tony Chang.

Salvaged the useful parts of intversion-and-setversion as
intversion-upgrades.

* storage/indexeddb/intversion-and-setversion-expected.txt: Removed.
* storage/indexeddb/intversion-upgrades-expected.txt: Added.
* storage/indexeddb/intversion-upgrades.html: Renamed from LayoutTests/storage/indexeddb/intversion-and-setversion.html.
* storage/indexeddb/resources/intversion-and-setversion.js: Removed.
* storage/indexeddb/resources/intversion-upgrades.js: Added.
(test):
(deleteSuccess):
(initialUpgradeNeeded):
(openSuccess):
(connection1VersionChangeCallback):
(connection2BlockedCallback):
(connection2UpgradeNeeded):
(transactionCompleted):
(connection2Success):
(connection3Success):
(errorWhenTryingLowVersion):
(connection4UpgradeNeeded):
(connection4Success):
(connection5Success):
* storage/indexeddb/resources/shared.js:
(unexpectedVersionChangeCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/intversion-and-setversion-expected.txt [deleted file]
LayoutTests/storage/indexeddb/intversion-upgrades-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-upgrades.html [moved from LayoutTests/storage/indexeddb/intversion-and-setversion.html with 77% similarity]
LayoutTests/storage/indexeddb/resources/intversion-and-setversion.js [deleted file]
LayoutTests/storage/indexeddb/resources/intversion-upgrades.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/shared.js