Closed Bug 312680 Opened 19 years ago Closed 12 years ago

unknown protocol error produces dialog instead of error page

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jdarpinian, Assigned: torisugari)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051016 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051016 Firefox/1.4.1

Visiting a URL with an unknown protocol specified results in an annoying dialog
box instead of a nice error page.  The dialog is in the style of old Firefox 1.0
errors, from before error pages were switched on by deafult.

Reproducible: Always

Steps to Reproduce:
This is an intentional workaround for a more serious bug, which won't be fixable
in the 1.5 timeframe.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Bug 307027 is the more serious bug.
That doesn't make this bug invalid, just not fixable for 1.5.

Btw, the other bug was fixed for 1.5.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
This hits me during automated testing.
Assignee: nobody → adamlock
Status: UNCONFIRMED → NEW
Component: General → Embedding: Docshell
Depends on: 291876
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → adamlock
Version: unspecified → Trunk
Assignee: adamlock → cbiesinger
Keywords: helpwanted
OS: Windows XP → All
Hardware: PC → All
A related but easier request has been made in bug 325622.
*** Bug 325839 has been marked as a duplicate of this bug. ***
QA Contact: adamlock → docshell
I believe the original problem here was https://bugzilla.mozilla.org/show_bug.cgi?id=306409, which is now fixed. Is this fixable now?
Attached patch Patch v1Splinter Review
Let's backout the patch by bug 307027 (attachment 198362 [details] [diff] [review]).
Attachment #538230 - Flags: review?(cbiesinger)
Comment on attachment 538230 [details] [diff] [review]
Patch v1

Seems the original problem was bug 307027 comment 8. Do you have an indication that that one is fixed now? Or have you tested that that bug doesn't occur anymore with this patch?
Comment on attachment 538230 [details] [diff] [review]
Patch v1

I'm going to mark this r- pending a reply to my last comment
Attachment #538230 - Flags: review?(cbiesinger) → review-
(In reply to Christian :Biesinger (don't email me, ping me on IRC) from comment #10)
> Comment on attachment 538230 [details] [diff] [review] [diff] [details] [review]
> Patch v1
> 
> Seems the original problem was bug 307027 comment 8. Do you have an
> indication that that one is fixed now? Or have you tested that that bug
> doesn't occur anymore with this patch?

Comment 8 basically appears to be bug 311007, which is fixed now.
I was not in the CC list for some reason. I'm sorry.

(In reply to Christian :Biesinger (don't email me, ping me on IRC) from comment #10)
> Seems the original problem was bug 307027 comment 8. Do you have an
> indication that that one is fixed now?

On trunk, yes. Even if bug 307027 happened to regress, now we can detect it easily;
http://mxr.mozilla.org/mozilla-central/source/docshell/test/chrome/bug311007_window.xul
Attachment #538230 - Flags: review- → review?(cbiesinger)
Comment on attachment 538230 [details] [diff] [review]
Patch v1

ok, sounds good. if we run into problems again, we can always revert this.

my apologies for the delay.
Attachment #538230 - Flags: review?(cbiesinger) → review+
Assignee: cbiesinger → torisugari
Thanks.

Requesting checkin;

"Bug 312680 - Back out bug 307027, for bug 311007 is fixed, r=cbiesinger"
Blocks: 382702
https://hg.mozilla.org/mozilla-central/rev/e8d87ff90d0f
Status: NEW → RESOLVED
Closed: 19 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: