[
https://issues.apache.org/jira/browse/NETBEANS-4997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424769#comment-17424769
]
Steven Swor commented on NETBEANS-4997:
---------------------------------------
I've just raised a [PR #3215|https://github.com/apache/netbeans/pull/3215] to
update the command for opening URLs in Edge Chromium.
> MS Edge defaultBrowserExecutable command not working with file schema in the
> url
> --------------------------------------------------------------------------------
>
> Key: NETBEANS-4997
> URL: https://issues.apache.org/jira/browse/NETBEANS-4997
> Project: NetBeans
> Issue Type: Bug
> Reporter: Niya Omerska
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When using Microsoft Edge as browser for loading help content and passing URL
> which points to a local file (i.e. of the type
> *file:///C:<path_to_html_file>*) the browser is opened but the HTML is not
> loaded.
> *Root cause*:
> * Library: org-netbeans-modules-extbrowser-RELEASE112.jar
> * Class: MicrosoftEdgeBrowser.java
> * Method: defaultBrowserExecutable
> * params is set to */C start microsoft-edge:\{URL}*. However this command
> does not work for file: scheme (for reference:
> [https://stackoverflow.com/questions/31164253/how-to-open-url-in-microsoft-edge-from-the-command-line]
> )
>
> *Workaround:*
> Params is set to: */C start
> shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge \{URL}*
> (for reference:
> [https://stackoverflow.com/questions/44155087/how-to-open-local-html-file-with-ms-edge]
> )
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists