Closed Bug 10047 Opened 25 years ago Closed 25 years ago

location.replace causes core in M8

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
All
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: djoham, Assigned: rickg)

Details

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>
Assignee: mccabe → rickg
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.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Sorry -- but your script is wrong. We do exactly what IE and nav do.
Oh yes, the core dump appears to be gone too.
Component: Javascript Engine → DOM Level 0
QA Contact: cbegle → desale
Status: RESOLVED → VERIFIED
Verified.
You need to log in before you can comment on or make changes to this bug.