You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by mb...@apache.org on 2023/09/23 05:18:19 UTC
[netbeans] branch master updated: [NETBEANS-4997] use edge chromium syntax for opening URLs in Edge browser.
This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 6fb860ea15 [NETBEANS-4997] use edge chromium syntax for opening URLs in Edge browser.
new b386c4ec5b Merge pull request #3215 from sworisbreathing/NETBEANS-4997-fix-open-url-in-edge
6fb860ea15 is described below
commit 6fb860ea155424b4e7940bfa853946d21cb35c30
Author: Steven Swor <sw...@apache.org>
AuthorDate: Sat Sep 23 13:57:13 2023 +1000
[NETBEANS-4997] use edge chromium syntax for opening URLs in Edge browser.
Solution is taken from https://stackoverflow.com/a/62452956
---
.../src/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 f069936493..b28bc1ed92 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 class MicrosoftEdgeBrowser extends ExtWebBrowser {
@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 });
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists