MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / queryDB

Function queryDB

wvbrowser_ui/controls_ui/storage.js:31–44  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

29}
30
31function queryDB(query) {
32 let request = window.indexedDB.open('WVBrowser');
33
34 request.onerror = function(event) {
35 console.log('Failed to open database');
36 };
37
38 request.onsuccess = function(event) {
39 let db = event.target.result;
40 query(db);
41 };
42
43 request.onupgradeneeded = handleUpgradeEvent;
44}

Callers 9

addHistoryItemFunction · 0.85
updateHistoryItemFunction · 0.85
getHistoryItemsFunction · 0.85
removeHistoryItemFunction · 0.85
clearHistoryFunction · 0.85
isFavoriteFunction · 0.85
addFavoriteFunction · 0.85
removeFavoriteFunction · 0.85
getFavoritesAsJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected