Bug 149035 - Launch a page which cannot be found; doesn't terminate launch
Summary: Launch a page which cannot be found; doesn't terminate launch
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ATF (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jacek Pospychala CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 12:20 EDT by Adam Peller CLA
Modified: 2020-05-07 10:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Peller CLA 2006-06-28 12:20:37 EDT
Start a debug session using the Debug... new configuration... etc.

Choose the URL radio button and enter in a URL which cannot be found, like file:///foo/bar.html

The launcher will pop up a modal dialog telling you that the file was not found.

Hit OK.

At this point, you should be done, but the launcher continues by launching an empty browser and leaves you in the debug perspective with an empty, running debugtarget.  

I don't think you should ever see a browser.  The debug target should either be terminated or never have been added to the debug model (probably the latter)  Perhaps this is just some erroneous exception handling?
Comment 1 Adam Peller CLA 2006-06-29 11:46:06 EDT
Don, wasn't sure if you were still active in this area
Comment 2 Jacek Pospychala CLA 2009-08-10 06:50:37 EDT
To clarify, the pop up is fired by embedded xulrunner browser.
I'm checking whether this is something we can control via swt.browser API or do we need to xpcom to catch it.

There are few different scenarios:
1. 404: - don't stop session
http://www.eclipse.org/atf/notexisting
2. nonexistent host: - stop session
http://www.somenonexistingurl.com

However, it might happen that user works on an open session and accidentally enters an invalid URL - should it terminate the debugging session?
Comment 3 Jacek Pospychala CLA 2009-08-10 07:00:56 EDT
Not possible via swt.browser API.
Also noticed that popup is fired only when using plain xulrunner.
When using Firefox, there's no popup and instead firefox branded "Page not found" page is shown.

Would be nice to have similar custom experiance as in Firefox.