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

Function closeWindow

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

Source from the content-addressed store, hash-verified

243}
244
245function closeWindow() {
246 var message = {
247 message: commands.MG_CLOSE_WINDOW,
248 args: {}
249 };
250
251 window.chrome.webview.postMessage(message);
252}
253
254// Show active tab's URI in the address bar
255function updateURI() {

Callers 2

closeTabFunction · 0.85
messageHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected