Bug 224385 - [Browser] need to know when a URL is invalid, rather than the current inconsistent behavior (Mozilla vs IE)
Summary: [Browser] need to know when a URL is invalid, rather than the current inconsi...
Status: RESOLVED DUPLICATE of bug 112939
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 10:54 EDT by Christopher Deckers CLA
Modified: 2008-04-25 12:33 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 Christopher Deckers CLA 2008-03-27 10:54:10 EDT
Build ID: 3.4M5

Steps To Reproduce:
1. Set an invalid URL ona Browser object.
2a. IE shows a special error page.
2b. Mozilla shows a popup dialog with an error message.


More information:
We need a way to track when a location is invalid. The current scheme is problematic as there is no way to provide a proper user feedback, especially when having web based applications that hide the fact that it is in a browser.

A way to fix it would be by attaching a new type of listener that gets notified when a URL is invalid. This could be like LocationListener.changing() where the event can be vetoed (doit=false), the default being to perform the default browser action (page, dialog, etc).
When vetoed, the application could then show custom pages, or whatever other action.
Comment 1 Grant Gayed CLA 2008-04-25 12:33:46 EDT

*** This bug has been marked as a duplicate of bug 112939 ***