| <!DOCTYPE html> |
| <html> |
| <!-- |
| Copyright 2018 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <head> |
| <!-- Reopen a database so its backing store is available to the invoking |
| backing store. --> |
| <title>IDB test for v2schema corruption - reopen</title> |
| <script type="text/javascript" src="common.js"></script> |
| <script> |
| |
| function test() { |
| const dbname = "v2schemacorrupt_setup.html"; |
| const request = indexedDB.open(dbname); |
| request.onsuccess = () => { done(); }; |
| request.onerror = unexpectedErrorCallback; |
| request.onblocked = unexpectedBlockedCallback; |
| } |
| |
| </script> |
| </head> |
| <body onLoad="test()"> |
| <div id="status">Starting...</div> |
| </body> |
| </html> |