Translate quirks

This commit is contained in:
Danila Fedorin 2021-08-13 10:12:33 -07:00
parent 2cb8944a78
commit f9fa7cdb49

View File

@ -18,7 +18,7 @@ limitations under the License.
import {openDatabase, txnAsPromise, reqAsPromise} from "./utils"; import {openDatabase, txnAsPromise, reqAsPromise} from "./utils";
// filed as https://bugs.webkit.org/show_bug.cgi?id=222746 // filed as https://bugs.webkit.org/show_bug.cgi?id=222746
export async function detectWebkitEarlyCloseTxnBug(idbFactory) { export async function detectWebkitEarlyCloseTxnBug(idbFactory: IDBFactory): Promise<boolean> {
const dbName = "hydrogen_webkit_test_inactive_txn_bug"; const dbName = "hydrogen_webkit_test_inactive_txn_bug";
try { try {
const db = await openDatabase(dbName, db => { const db = await openDatabase(dbName, db => {