IndexedDB: integer version layout tests
authordgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2012 23:27:13 +0000 (23:27 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2012 23:27:13 +0000 (23:27 +0000)
commit7a5ea1263dfde5d7c0958b63ac6c74469064afe0
tree19416d152fbf574f261ab09eaf7043782f421f85
parent7885409dba2b7d1215504828ab9c6bbbd9568dfe
IndexedDB: integer version layout tests
https://bugs.webkit.org/show_bug.cgi?id=92560

Reviewed by Nate Chapin.

Most of the integer version layout tests are here, with failures in
the expected files.  This will allow us to incrementally implement
upgradeneeded and integer versions and just make the big patch in bug
89505 smaller.

There are two added skips to TestExpectations, one test exposes a bug
in the current implementation, causing an assert to fail.  The other
times out in DRT so we will run it as a content_browsertest for the
time being.

* platform/chromium/TestExpectations:
* storage/indexeddb/intversion-abort-in-initial-upgradeneeded-expected.txt: Added.
* storage/indexeddb/intversion-abort-in-initial-upgradeneeded.html: Added.
* storage/indexeddb/intversion-and-setversion-expected.txt: Added.
* storage/indexeddb/intversion-and-setversion.html: Added.
* storage/indexeddb/intversion-blocked-expected.txt: Added.
* storage/indexeddb/intversion-blocked.html: Added.
* storage/indexeddb/intversion-close-between-events-expected.txt: Added.
* storage/indexeddb/intversion-close-between-events.html: Added.
* storage/indexeddb/intversion-close-in-oncomplete-expected.txt: Added.
* storage/indexeddb/intversion-close-in-oncomplete.html: Added.
* storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt: Added.
* storage/indexeddb/intversion-close-in-upgradeneeded.html: Added.
* storage/indexeddb/intversion-delete-in-upgradeneeded-expected.txt: Added.
* storage/indexeddb/intversion-delete-in-upgradeneeded.html: Added.
* storage/indexeddb/intversion-gated-on-delete-expected.txt: Added.
* storage/indexeddb/intversion-gated-on-delete.html: Added.
* storage/indexeddb/intversion-invalid-setversion-has-no-side-effects-expected.txt: Added.
* storage/indexeddb/intversion-invalid-setversion-has-no-side-effects.html: Added.
* storage/indexeddb/intversion-long-queue-expected.txt: Added.
* storage/indexeddb/intversion-long-queue.html: Added.
* storage/indexeddb/intversion-omit-parameter-expected.txt: Added.
* storage/indexeddb/intversion-omit-parameter.html: Added.
* storage/indexeddb/intversion-open-with-version-expected.txt: Added.
* storage/indexeddb/intversion-open-with-version.html: Added.
and their respective js files...
* storage/indexeddb/resources/shared.js:
(unexpectedVersionChangeCallback):
(setDBNameFromPath):
(preamble):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
39 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/storage/indexeddb/intversion-abort-in-initial-upgradeneeded-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-abort-in-initial-upgradeneeded.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-and-setversion-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-and-setversion.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-blocked-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-blocked.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-between-events-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-between-events.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-in-oncomplete-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-in-oncomplete.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-close-in-upgradeneeded.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-delete-in-upgradeneeded-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-delete-in-upgradeneeded.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-gated-on-delete-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-gated-on-delete.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-invalid-setversion-has-no-side-effects-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-invalid-setversion-has-no-side-effects.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-long-queue-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-long-queue.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-omit-parameter-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-omit-parameter.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-open-with-version-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/intversion-open-with-version.html [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-abort-in-initial-upgradeneeded.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-and-setversion.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-blocked.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-close-between-events.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-close-in-upgradeneeded.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-delete-in-upgradeneeded.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-gated-on-delete.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-invalid-setversion-has-no-side-effects.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-long-queue.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-omit-parameter.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/intversion-open-with-version.js [new file with mode: 0644]
LayoutTests/storage/indexeddb/resources/shared.js