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

Function updateURI

wvbrowser_ui/controls_ui/default.js:255–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253
254// Show active tab's URI in the address bar
255function updateURI() {
256 if (activeTabId == INVALID_TAB_ID) {
257 return;
258 }
259
260 let activeTab = tabs.get(activeTabId);
261 document.getElementById('address-field').value = activeTab.uriToShow || activeTab.uri;
262}
263
264// Show active tab's favicon in the address bar
265function updateFavicon() {

Callers 2

updateNavigationUIFunction · 0.85
addControlsListenersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected