diff options
Diffstat (limited to 'packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts')
-rw-r--r-- | packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts b/packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts index 92e78a685..5716a7ae5 100644 --- a/packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts +++ b/packages/idb-bridge/src/idb-wpt-ported/wptsupport.ts @@ -5,7 +5,9 @@ import { MemoryBackend } from "../MemoryBackend"; import { compareKeys } from "../util/cmp"; BridgeIDBFactory.enableTracing = true; -const idbFactory = new BridgeIDBFactory(new MemoryBackend()); +const backend = new MemoryBackend(); +backend.enableTracing = true; +const idbFactory = new BridgeIDBFactory(backend); const self = { indexedDB: idbFactory, |