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.

Bug 212392 - Running application in Chrome just opens a blank page
Summary: Running application in Chrome just opens a blank page
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 14:36 UTC by Petr Jiricka
Modified: 2012-09-03 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-05-11 14:36:05 UTC
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
Comment 1 Petr Jiricka 2012-05-11 14:36:42 UTC
Actually this worked for the first time, but then when I tried later it did not work.
Comment 2 Petr Jiricka 2012-05-11 14:49:02 UTC
Restarting the IDE helps as a workaround.
Comment 3 David Konecny 2012-05-11 20:22:03 UTC
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?
Comment 4 Petr Jiricka 2012-05-13 21:33:57 UTC
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
Comment 5 David Konecny 2012-05-13 23:31:30 UTC
> 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.
Comment 6 David Konecny 2012-05-14 01:59:49 UTC
Closing of browser is now handled properly.
e939719d63dd
Comment 7 Quality Engineering 2012-09-03 13:00:24 UTC
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