From 6fb860ea155424b4e7940bfa853946d21cb35c30 Mon Sep 17 00:00:00 2001 From: Steven Swor Date: Sat, 23 Sep 2023 13:57:13 +1000 Subject: [PATCH] [NETBEANS-4997] use edge chromium syntax for opening URLs in Edge browser. Solution is taken from https://stackoverflow.com/a/62452956 --- .../org/netbeans/modules/extbrowser/MicrosoftEdgeBrowser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/extbrowser/src/org/netbeans/modules/extbrowser/MicrosoftEdgeBrowser.java b/ide/extbrowser/src/org/netbeans/modules/extbrowser/MicrosoftEdgeBrowser.java index f069936493d2..b28bc1ed9230 100644 --- a/ide/extbrowser/src/org/netbeans/modules/extbrowser/MicrosoftEdgeBrowser.java +++ b/ide/extbrowser/src/org/netbeans/modules/extbrowser/MicrosoftEdgeBrowser.java @@ -90,7 +90,7 @@ public HtmlBrowser.Impl createHtmlBrowserImpl() { @Override protected NbProcessDescriptor defaultBrowserExecutable () { String command = "cmd"; // NOI18N - String params = "/C start microsoft-edge:{" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + "}"; // NOI18N + String params = "/C start msedge {" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + "}"; // NOI18N if (ExtWebBrowser.getEM().isLoggable(Level.FINE)) { ExtWebBrowser.getEM().log(Level.FINE, "{0} MicrosoftEdge: defaultBrowserExecutable: {1}, {2}", new Object[] { System.currentTimeMillis(), params, command }); }