mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 12:04:57 +01:00
Translate quirks
This commit is contained in:
parent
2cb8944a78
commit
f9fa7cdb49
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user