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.
1. Create an empty HTML5 project 2. Create a html page in this project 3. Set Chrome as your browser 4. Run this page A blank page with the following URL is open in Chrome: file://localhost/var/folders/7s/z748n8391216ckv5tk6nb7_w0000gn/T/blank2427008862019412798.html
Actually this worked for the first time, but then when I tried later it did not work.
Restarting the IDE helps as a workaround.
I always load blank page to start browser and be able to set breakpoints and once that's done the real page is reloaded. Should never be visible to user - if it is it indicates some problems in communication between browser and IDE. Some bug. I will need some steps how to reproduce to fix. How often that happens to you?
How I reproduced just now: 1. Create a HTML5 application 2. Run index.html 3. Close the notification status line that NetBeans is debugging the tab, and close the browser tab 4. Switch to another browser (e.g. Safari on Mac) in the IDE options 5. Run index.html again => only blank page is open 6. Switch back to the system default browser (which is Chrome for me) 7. Run index.html again => only blank page is open
> 3. Close the notification status line that NetBeans is debugging the tab, and > close the browser tab I did notice that when whole browser is closed the debugging session is not stopped - probably we are not listening on right events. As a workaround I would suggest to close browser tab first - that should work and should kill debugging session and rest should just work.
Closing of browser is now handled properly. e939719d63dd
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e939719d63dd User: David Konecny <dkonecny@netbeans.org> Log: #212392 - Running application in Chrome just opens a blank page