Closed Bug 82964 Opened 20 years ago Closed 3 years ago

Make location bar history case-sensitive for javascript: URLs

Categories

(Core Graveyard :: History: Global, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: WeirdAl, Unassigned)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505
BuildID:    Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505

The location bar in Mozilla0.9 is currently not case-sensitive for javascript:
URLs.  Normally, for URLs, this is perfectly acceptable -- the WWW does not care
about uppercase or lowercase.  However, for JavaScript, uppercase and lowercase
make a big difference.

Reproducible: Always
Steps to Reproduce:
1.  Type javascript:alert(typeof(document)) into your location bar and press
Enter.  Clear the alert.
2.  Type javascript:alert(typeof(Document)) into your location bar and press
Enter.  Clear the alert.
3.  Click on the dropdown arrow for previous history entries.

Actual Results:  A listing for javascript:alert(typeof(Document)).  No listing
for javascript:alert(typeof(document)).

Expected Results:  A listing for javascript:alert(typeof(Document)) and a
separate listing for javascript:alert(typeof(document)).
This belongs to the browser group
Assignee: radha → vishy
Component: History: Session → Browser-General
ccing hewitt.
Status: UNCONFIRMED → NEW
Ever confirmed: true
->hewitt
Assignee: vishy → hewitt
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Reassigning to History: Global.
Assignee: hewitt → blaker
Status: ASSIGNED → NEW
Component: Browser-General → History: Global
QA Contact: claudius → cpetersen0953
Assignee: bross2 → nobody
QA Contact: chrispetersen → history.global
This bug is impossible to reproduce, for now "javascript:..." URIs are not listed in location bar's history, unless such a URI is that of an existing tab. And if both
 javascript:alert(typeof(Document))
and
 javascript:alert(typeof(document))
are typed in different tabs, both are listed. This is WFM or INVALID.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.