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 3// found in the LICENSE file. 4 5function test() 6{ 7 var n = 25; 8 for (var i = 0; i < n; i++) { 9 indexedDB.open("bug_84933_" + i.toString()).onsuccess = function() { 10 window.close(); 11 }; 12 } 13} 14