[jbosstools-issues] [JBoss JIRA] (JBIDE-14446) When Firefox is chosen as browser BrowserSim is opened

Konstantin Marmalyukov (JIRA) jira-events at lists.jboss.org
Fri May 17 09:11:06 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775046#comment-12775046 ] 

Konstantin Marmalyukov commented on JBIDE-14446:
------------------------------------------------

setting "." helps eclipse not to use browserSim when it doesn't needed. When eclipse opens in web browser, it goes through browser list. Firstly it checks browser availability and compares path using startsWith. Before fix browsersim path was empty string, and startWith returns true to every available browser. So <FFpath>.startsWith("") returns true and that's why browserSim was used against FF.
                
> When Firefox is chosen as browser BrowserSim is opened
> ------------------------------------------------------
>
>                 Key: JBIDE-14446
>                 URL: https://issues.jboss.org/browse/JBIDE-14446
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: browsersim
>            Reporter: Max Rydahl Andersen
>            Assignee: Konstantin Marmalyukov
>            Priority: Blocker
>             Fix For: 4.1.0.Beta1
>
>
> Choose Firefox as your browser to open.
> Right click on a a .html file, Open With > Web Browser and it opens BrowserSim instead of Firefox.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list