OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function test() | 5 function test() |
6 { | 6 { |
7 var n = 25; | 7 var n = 25; |
8 for (var i = 0; i < n; i++) { | 8 for (var i = 0; i < n; i++) { |
9 webkitIndexedDB.open("bug_84933_" + i.toString()).onsuccess = function() { | 9 indexedDB.open("bug_84933_" + i.toString()).onsuccess = function() { |
10 window.close(); | 10 window.close(); |
11 } | 11 }; |
12 } | 12 } |
13 } | 13 } |
OLD | NEW |