Closed Bug 131143 Opened 23 years ago Closed 23 years ago

Misleading error "c is not a registered protocol" when accessing chome://

Categories

(Core :: DOM: Navigation, defect)

x86
Windows NT
defect
Not set
trivial

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: matthew, Assigned: adamlock)

References

Details

(Whiteboard: [adt3])

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031104 After mis-typing a URL so that it began with "chome://" instead of "chrome://", the error message reported was "c is not a registered protocol"; i.e. only the first character of the incorrect protocol was reported. Reproducible: Always Steps to Reproduce: Type 'chome://' in the URL bar (or any non-registered protocol). Actual Results: The error message shows only the first character of the incorrect protocol. Expected Results: The full protocol name should be displayed.
-> docshell
Assignee: new-network-bugs → adamlock
Component: Networking → Embedding: Docshell
QA Contact: benc → adamlock
*** Bug 131285 has been marked as a duplicate of this bug. ***
qa to me. Sigh. I really wanted error messages to be robust for mozilla 1.0, but there are so many of these getting through... I've seen this as well in 0.9.9.
Keywords: mozilla1.0, nsbeta1
QA Contact: adamlock → benc
appstrings.properties appears to be using a lower-case %s throughout when - at least for this instance - it should be using uppercase %S. Most of the other strings are processed in nsWebShell which calls snprintf for itself, but in this instance docshell is calling nsIStringBundle::FormatStringFromName which expects only unichar strings. Patch follows.
Attached patch Patch uses %SSplinter Review
Reviews please.
We're in localization lockdown, but it might be possible to sneak this into 1.0, so I'll mark it as such for the time being.
Target Milestone: --- → mozilla1.0
Attachment #76772 - Flags: review+
Comment on attachment 76772 [details] [diff] [review] Patch uses %S r=chak
Lining this up to go in 1.0 if possible. Waiting on the sr but pushing it through as quickly as possible for consideration. Summary - very low risk, visible impact
Attachment #76772 - Flags: superreview+
Comment on attachment 76772 [details] [diff] [review] Patch uses %S a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #76772 - Flags: approval+
Lori, can you add your approval as far as localization is concerned? Nominate for adt1.0.0+. Low risk, big impact.
Keywords: adt1.0.0
a=UI adding impact status. This bug prevents users from figuring out what to do when they make a typo in the URL field. cc'ing mcarlson for localization approval
Whiteboard: [adt2]
adt1.0.0+ (on ADT's behalf) approval for checkin to 1.0, pending L10N approval. Changing ADT3
Keywords: adt1.0.0adt1.0.0-
Whiteboard: [adt2] → [adt3]
meant "+" ... mia culpa.
Keywords: adt1.0.0-adt1.0.0+
Can you please check in this change today. l10n approved for check in today. thanks
1.0 is branching at this moment. I have asked for re-approval and assuming it is given the checkin should go in when the tree has reopened (which will be tomorrow for me)
Fix checked into trunk, still waiting for branch approval
Fix checked into branch
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
adding fixed1.0.0 keyword (branch resolution). This bug has comments saying it was fixed on the 1.0 branch and a bonsai checkin comment that agrees. To verify the bug has been fixed on the 1.0 branch please replace the fixed1.0.0 keyword with verified1.0.0.
Keywords: fixed1.0.0
*** Bug 155257 has been marked as a duplicate of this bug. ***
VERIFIED/branch - Netscape 7.0 VERIFIED/trunk - via Mozilla 1.1 allplats
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: