This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
To reproduce: 1) create a new "HTML5 Application" project with all default values 2) switch the browser to Firefox 3) do "Run File" of index.html 4) if Firefox is not yet started, the "Firefox Safe Mode" dialog pops-up Notes: * this is a general problem, it also happens with e.g. "PHP Application" projects * if Firefox is already started, it works as expected Version info: Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b45 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-lambda-nightly-h109-20130902-b106-b00 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
I have most likely found the cause of this: when starting Firefox while holding the shift key, it pops-up this dialog (cfr. this Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=644175 ). And since the default NetBeans shortcut for "Run File" is Shift+F6, there's virtually no time for the user to release the Shift key before Firefox launches & detects it. I haven't tested this yet, but this would mean doing "Run File" by using the context menu (or changing the shortcut key to not work with Shift) would work as expected.
Thank you for the link. I tried it and yes, running file from context menu does not trigger Firefox safe mode while using Shift+F6 does.
This is an unfortunate feature of Firefox (as it has been mentioned by the reporter). We cannot do much in this case. We would just be able to change the Run File shortcut to something else, but this is a well-known frequently used shortcut. So, this Firefox problem doesn't justify its modification. On the other hand, anyone can modify this shortcut if needed in his/her own environment through Tools > Options > Keymap > Run File.