OLD | NEW |
1 if (this.importScripts) { | 1 if (this.importScripts) { |
2 importScripts('../../../fast/js/resources/js-test-pre.js'); | 2 importScripts('../../../resources/js-test.js'); |
3 importScripts('shared.js'); | 3 importScripts('shared.js'); |
4 } | 4 } |
5 | 5 |
6 description("Test IndexedDB createObjectStore null handling"); | 6 description("Test IndexedDB createObjectStore null handling"); |
7 | 7 |
8 indexedDBTest(prepareDatabase); | 8 indexedDBTest(prepareDatabase); |
9 function prepareDatabase() | 9 function prepareDatabase() |
10 { | 10 { |
11 db = event.target.result; | 11 db = event.target.result; |
12 objectStore = evalAndLog("db.createObjectStore(null);"); | 12 objectStore = evalAndLog("db.createObjectStore(null);"); |
13 shouldBeEqualToString("objectStore.name", "null"); | 13 shouldBeEqualToString("objectStore.name", "null"); |
14 finishJSTest(); | 14 finishJSTest(); |
15 } | 15 } |
OLD | NEW |