If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

location.replace causes core in M8

VERIFIED WONTFIX

Status

()

Core
DOM: Core & HTML
P3
normal
VERIFIED WONTFIX
19 years ago
18 years ago

People

(Reporter: djoham, Assigned: rickg)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
I have the following HTML page: when Mozilla tries to parse the page, it core
dumps. I've tried this on both Windows NT and RH 6.0. I'm using Mozilla M8,
build 1999071416

<html>
	<body>
testing
</body>
</html>

<script language=javascript>

location.replace('test2.html');

</script>

Updated

19 years ago
Assignee: mccabe → rickg

Comment 1

19 years ago
djoham - thanks for finding this!

Here's a bug sleuthing trail, if you'd like to try some of these tools when
filing future bugs -

an lxr (http://lxr.mozilla.org) search for 'Replace' finds likely candidate
nsLocation.cpp; and cvs blame (linked off the lxr page for nsLocation.cpp) shows
the last person to modify LocationImpl::Replace as rickg.

Reassigning to rickg@netscape.com.
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WONTFIX
(Assignee)

Comment 2

19 years ago
Sorry -- but your script is wrong. We do exactly what IE and nav do.
(Assignee)

Comment 3

19 years ago
Oh yes, the core dump appears to be gone too.

Updated

18 years ago
Component: Javascript Engine → DOM Level 0
QA Contact: cbegle → desale

Updated

18 years ago
Status: RESOLVED → VERIFIED

Comment 4

18 years ago
Verified.
You need to log in before you can comment on or make changes to this bug.