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 that IndexedDB's cursor key/primaryKey/value properties preser
ve mutations."); | 6 description("Test that IndexedDB's cursor key/primaryKey/value properties preser
ve mutations."); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
11 setDBNameFromPath(); | 11 setDBNameFromPath(); |
12 | 12 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 debug("Check read-only:"); | 68 debug("Check read-only:"); |
69 evalAndLog(property + " = null"); | 69 evalAndLog(property + " = null"); |
70 shouldBeTrue("v === " + property); | 70 shouldBeTrue("v === " + property); |
71 | 71 |
72 debug("Check mutability:"); | 72 debug("Check mutability:"); |
73 evalAndLog(property + ".expando = 123"); | 73 evalAndLog(property + ".expando = 123"); |
74 shouldBe(property + ".expando", "123"); | 74 shouldBe(property + ".expando", "123"); |
75 } | 75 } |
76 | 76 |
77 test(); | 77 test(); |
OLD | NEW |