| Index: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbtransaction_objectStoreNames.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbtransaction_objectStoreNames.html b/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbtransaction_objectStoreNames.html
|
| index b964248a692b2a1eec9a53e434762f41f9f927d3..7f6aa3518f02767121a4c77571a6467ebc9d82b3 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbtransaction_objectStoreNames.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbtransaction_objectStoreNames.html
|
| @@ -2,27 +2,9 @@
|
| <title>IndexedDB: IDBTransaction.objectStoreNames attribute</title>
|
| <script src="/resources/testharness.js"></script>
|
| <script src="/resources/testharnessreport.js"></script>
|
| +<script src="support.js"></script>
|
| <script>
|
|
|
| -function indexeddb_test(upgrade_func, open_func, description) {
|
| - async_test(function(t) {
|
| - var dbname = document.location + '-' + t.name;
|
| - var del = indexedDB.deleteDatabase(dbname);
|
| - del.onerror = t.unreached_func('deleteDatabase should succeed');
|
| - var open = indexedDB.open(dbname, 1);
|
| - open.onerror = t.unreached_func('open should succeed');
|
| - open.onupgradeneeded = t.step_func(function() {
|
| - var db = open.result;
|
| - var tx = open.transaction;
|
| - upgrade_func(t, db, tx);
|
| - });
|
| - open.onsuccess = t.step_func(function() {
|
| - var db = open.result;
|
| - open_func(t, db);
|
| - });
|
| - }, description);
|
| -}
|
| -
|
| function with_stores_test(store_names, open_func, description) {
|
| indexeddb_test(function(t, db, tx) {
|
| store_names.forEach(function(name) {
|
|
|