OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <script src="resources/shared.js"></script> | 3 <script src="resources/shared.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 description("Verify that that cursors weakly hold script value properties"); | 6 description("Verify that that cursors weakly hold script value properties"); |
7 | 7 |
8 if (window.internals) { | 8 if (window.internals) { |
9 indexedDBTest(prepareDatabase, onOpen); | 9 indexedDBTest(prepareDatabase, onOpen); |
10 } else { | 10 } else { |
11 testFailed('This test requires access to the Internals object'); | 11 testFailed('This test requires access to the Internals object'); |
12 finishJSTest(); | 12 finishJSTest(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 gc(); | 48 gc(); |
49 | 49 |
50 shouldBeTrue("cursorObserver.wasCollected"); | 50 shouldBeTrue("cursorObserver.wasCollected"); |
51 finishJSTest(); | 51 finishJSTest(); |
52 }; | 52 }; |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 </script> | 56 </script> |
OLD | NEW |