Niya Omerska created NETBEANS-4997:
--------------------------------------

             Summary: 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


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

Reply via email to